:root { color-scheme: light; font-family: system-ui, sans-serif; color: #14263c; background: #f5f7fb; scroll-behavior: smooth; }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 2px solid #087d70; outline-offset: 4px; }
.skip { position: absolute; left: 1rem; top: 1rem; background: #fff; padding: .5rem; transform: translateY(-250%); }
.skip:focus { transform: none; }
.wrap { width: min(1160px, 91%); margin-inline: auto; }
.header, .footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.25rem; }
.header nav { display: flex; align-items: center; flex-wrap: wrap; gap: 1.4rem; font-size: .95rem; }
.header .atlas-nav { padding: .55rem .75rem; border-radius: .45rem; background: #126c61; color: #fff; font-weight: 700; text-decoration: none; }
.header .atlas-nav:hover { text-decoration: underline; }
.brand { text-decoration: none; font-size: 1.4rem; font-weight: 750; letter-spacing: -.05em; }
.brand em { color: #126c61; font: italic 1.1em Georgia, serif; }
#workspace-trigger { touch-action: manipulation; }
.hero { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: center; gap: clamp(1.5rem, 6vw, 5rem); padding: clamp(1.65rem, 6vw, 5rem); border-radius: 1.35rem; color: #fff; background: radial-gradient(ellipse at 95% 0%, #205d5a, transparent 65%), #14263c; }
.hero.detail { grid-template-columns: 1fr; }
.hero.detail h1 { max-width: 18ch; font-size: clamp(2.2rem, 5.5vw, 4.7rem); }
h1 { font-size: clamp(2.55rem, 6vw, 5.7rem); line-height: .99; letter-spacing: -.065em; margin: .65rem 0 1rem; }
h1 em { color: #9ce0cc; font-weight: 400; font-family: Georgia, serif; }
p { line-height: 1.6; }
.hero p:not(.label) { max-width: 49ch; color: #e2edf0; }
.label { font-size: .875rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.hero .label { color: #9ce0cc; }
.button { display: inline-block; margin-top: .6rem; padding: .75rem 1rem; border-radius: .45rem; background: #a4ead3; color: #122e2d; font-weight: 700; text-decoration: none; }
.hero aside nav { display: grid; gap: .5rem; }
.hero aside a { padding: .7rem .9rem; border: 1px solid #ffffff4d; border-radius: .45rem; text-decoration: none; background: #14263c6e; }
.hero aside a:hover, .button:hover { text-decoration: underline; }
.hero a:focus-visible { outline-color: #a4ead3; }
.directory { padding-block: 2.5rem 3rem; }
h2 { margin-top: 0; font-size: clamp(1.65rem, 4vw, 2.55rem); letter-spacing: -.045em; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1rem; }
.card { padding: 1.35rem; border: 1px solid #d7e0eb; border-radius: .85rem; background: #fff; }
.card .label { margin-top: 0; color: #126c61; }
.card h3 { font-size: 1.23rem; margin: 0 0 .55rem; }
.card p:not(.label) { color: #42566e; }
.card p:last-child { margin-bottom: 0; }
.linkedin-link { display: inline-block; margin-top: .35rem; font-weight: 650; color: #126c61; text-underline-offset: .2em; }
.hero .linkedin-link { color: #9ce0cc; }
.footer { border-top: 1px solid #d7e0eb; font-size: .9rem; color: #42566e; }
@media (max-width: 680px) { .hero { grid-template-columns: minmax(0, 1fr); } .header nav { gap: .8rem; } }
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } }

.community-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.community-services { display: grid; gap: 1rem; align-content: start; }
@media (max-width: 900px) {
  .community-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 580px) {
  .community-grid { grid-template-columns: 1fr; }
}

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; }
.hero-actions .button { margin-top: 0; }

/* Shared public-page colors and interaction states */
:root {
  background: linear-gradient(180deg, #eef5f8 0, #f8fafc 42rem);
}
.header nav a, .hero-actions > a { text-underline-offset: .22em; }
.header .atlas-nav, .button { border-radius: .65rem; }
.button:hover { background: #c0f5e4; }
.header .atlas-nav:hover { background: #0b594f; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(ellipse at 98% 0%, #236864, transparent 68%), linear-gradient(125deg, #101d34, #17334a);
  box-shadow: 0 16px 40px #15294024;
}
.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image: radial-gradient(circle, #d0fff33b 1px, transparent 1.5px);
  background-size: 20px 20px;
  mask-image: linear-gradient(110deg, transparent 26%, #000 100%);
}
.hero aside a {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: 2.9rem;
  background: #102b41b8;
  border-color: #c6ece655;
}
.hero aside a::before {
  content: "";
  width: .5rem;
  height: .5rem;
  flex: 0 0 .5rem;
  transform: rotate(45deg);
  border-radius: 2px;
  background: var(--pathway-highlight);
}
.hero aside a:hover, .hero aside a:focus-visible { background: #20465c; }

[data-pathway="scholarships"] { --pathway: #135c9c; --pathway-highlight: #88c4ff; }
[data-pathway="sport"] { --pathway: #22703d; --pathway-highlight: #91e1a3; }
[data-pathway="cybersecurity"] { --pathway: #5d42a0; --pathway-highlight: #c5aeff; }
[data-pathway="opportunities"] { --pathway: #126c61; --pathway-highlight: #a4ead3; }
[data-pathway="ai"] { --pathway: #8a4c0a; --pathway-highlight: #ffd18c; }
.card[data-pathway] { border-top: 3px solid var(--pathway); }
.card[data-pathway] .label { color: var(--pathway); }
.card h3 a { text-decoration: none; }
.card h3 a:hover { text-decoration: underline; text-underline-offset: .18em; }
.card {
  overflow-wrap: anywhere;
  box-shadow: 0 3px 14px #16334b0b;
}
.community-services .card { background: #edf5f5; }

@media (prefers-reduced-motion: no-preference) {
  .hero > div, .hero > aside { animation: hero-enter 450ms ease-out both; }
  .hero > aside { animation-delay: 90ms; }
  .button, .header .atlas-nav, .hero aside a { transition: background-color 180ms ease; }
  .card[data-pathway] { transition: transform 180ms ease, box-shadow 180ms ease; }
  .card[data-pathway]:focus-within {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px #16334b1a;
  }
  @media (hover: hover) {
    .card[data-pathway]:hover {
      transform: translateY(-3px);
      box-shadow: 0 10px 24px #16334b1a;
    }
  }
}
@keyframes hero-enter {
  from { opacity: 0; transform: translateY(9px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero aside a strong, .hero aside a small { display: block; }
.hero aside a small { margin-top: .2rem; color: #dcedf3; font-size: .875rem; line-height: 1.4; }
.pathway-topics { padding-inline-start: 1.2rem; line-height: 1.55; }
.pathway-topics li + li { margin-top: .25rem; }
.hero .pathway-topics { color: #e2edf0; }

/* Public navigation and photo-led pathway directory */
.masthead { position: relative; z-index: 2; background: #fff; border-bottom: 1px solid #d7e0eb; }
.masthead .header { min-height: 4.5rem; padding-block: .85rem; }
.header nav > a:not(.atlas-nav), .footer nav a { text-decoration: none; font-weight: 650; }
.header nav > a:hover, .footer nav a:hover { text-decoration: underline; }
.pathway-menu { position: relative; }
.pathway-menu summary { cursor: pointer; font-weight: 700; }
.pathway-menu-links {
  position: absolute; top: calc(100% + .65rem); left: 0; width: min(20rem, 85vw);
  display: grid; gap: .2rem; background: #fff; border: 1px solid #d7e0eb;
  padding: .55rem; border-radius: .65rem; box-shadow: 0 .7rem 2.5rem #14263c25;
}
.pathway-menu-links a { text-decoration: none; padding: .6rem .7rem; border-radius: .35rem; }
.pathway-menu-links a:hover, .pathway-menu-links a:focus-visible { background: #e6f4f0; }
.home-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(11rem, 15rem);
  align-items: center;
  gap: clamp(1.4rem, 4vw, 3.5rem);
  margin-block: .8rem 1rem;
  padding: clamp(1.2rem, 4vw, 3rem);
  border-radius: 1rem;
  background: linear-gradient(135deg, #101e36, #16374b);
  color: #fff;
}
.home-intro h1 { font-size: clamp(2rem, 4.5vw, 4.15rem); margin: 0; line-height: 1.06; text-wrap: balance; }
.home-intro h1 em { color: #a4ead3; }
.home-intro p { max-width: 60ch; margin: .7rem 0 0; color: #e2edf0; }
.home-intro .opportunity-atlas-logo { box-shadow: 0 0 0 .3rem #a4ead32a, 0 .55rem 1.5rem #0b172780; }
.home-intro :is(a, input, button):focus-visible { outline: 2px solid #a4ead3; outline-offset: 3px; }
.pathway-showcase {
  display: grid; grid-template-columns: 1.25fr 1fr 1fr;
  grid-template-rows: repeat(2, minmax(12.5rem, auto)); gap: .9rem;
}
.pathway-tile {
  position: relative; isolation: isolate; display: flex; align-items: end;
  min-width: 0; padding: clamp(1rem, 2vw, 1.65rem); overflow: hidden;
  border-radius: .85rem; color: #fff; text-decoration: none; background: #152d43;
}
.pathway-tile:first-child { grid-row: span 2; }
.pathway-tile img, .pathway-tile::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.pathway-tile img { object-fit: cover; transition: transform .3s ease; }
.pathway-tile::after { content: ""; background: linear-gradient(180deg, #08182500 8%, #08182538 37%, #081825ed 100%); }
.pathway-tile:hover img, .pathway-tile:focus-visible img { transform: scale(1.04); }
.pathway-tile:hover h2 { text-decoration: underline; text-underline-offset: .16em; }
.tile-copy h2 { margin: 0; font-size: clamp(1.25rem, 2.2vw, 1.85rem); line-height: 1.12; letter-spacing: -.035em; }
.pathway-tile:first-child h2 { max-width: 15ch; font-size: clamp(1.8rem, 3.5vw, 3rem); }
.tile-copy p { margin: .4rem 0 0; color: #f1f8fa; line-height: 1.35; }
.home-support { padding-top: 1.5rem; }
.footer p { margin: .35rem 0 0; }
.footer nav { display: flex; flex-wrap: wrap; gap: .65rem 1.25rem; }
@media (max-width: 850px) {
  .pathway-showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(12rem, auto); }
  .pathway-tile:first-child { grid-column: 1 / -1; grid-row: auto; min-height: 19rem; }
}
@media (max-width: 480px) {
  .masthead .header { align-items: flex-start; gap: .65rem; }
  .header nav { gap: .55rem .85rem; font-size: .875rem; }
  .pathway-showcase { grid-template-columns: 1fr; }
  .pathway-tile:first-child { min-height: 16rem; }
}
@media (prefers-reduced-motion: reduce) {
  .pathway-tile img { transition: none; }
}

.atlas-home-preview {
  margin-block: clamp(1.5rem, 3vw, 2.5rem);
  padding: clamp(1.25rem, 5vw, 3.75rem);
  border-radius: 1.1rem;
  background: linear-gradient(115deg, #5426a8 0%, #2452b8 50%, #00777a 100%);
  color: #fff;
}
.atlas-home-preview h2 { margin-bottom: .75rem; line-height: 1.12; }
.atlas-home-preview p { max-width: 54ch; margin: 0; color: #f4f6ff; }
.atlas-home-preview ul, .atlas-home-preview nav { display: flex; flex-wrap: wrap; gap: .6rem; }
.atlas-home-preview ul { margin: 1.25rem 0 1.5rem; padding: 0; list-style: none; }
.atlas-home-preview a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: .45rem .8rem;
  border: 1px solid #bed7ff;
  border-radius: .55rem;
  background: #233a88;
  color: #fff;
  text-underline-offset: .2em;
}
.atlas-home-preview a:hover { background: #304ba3; }
.atlas-home-preview a:focus-visible { outline-color: #b9f5df; }
.atlas-home-preview .button { margin-top: 0; border-color: transparent; background: #b9f5df; color: #163636; }
.atlas-home-preview .button:hover { background: #dcfff1; }
@media (max-width: 600px) {
  .atlas-home-preview {
    background-image: linear-gradient(155deg, #5426a8 0%, #2452b8 52%, #00777a 100%);
  }
}

.opportunity-atlas-brand {
  display: grid;
  justify-items: center;
  justify-self: center;
  align-content: center;
  gap: .7rem;
  max-width: 17rem;
  margin: 0;
  text-align: center;
}
.opportunity-atlas-brand figcaption {
  color: #e2edf0;
  font-size: .9375rem;
  line-height: 1.5;
  text-wrap: balance;
}
.opportunity-atlas-brand strong {
  display: block;
  margin-bottom: .15rem;
  color: #a4ead3;
}
.opportunity-atlas-logo {
  display: block;
  width: min(100%, 8.5rem);
  height: auto;
  border-radius: 50%;
}
.hero.detail.opportunity-atlas-hero {
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 48rem) {
  .hero.detail.opportunity-atlas-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 17rem);
  }
  .opportunity-atlas-hero .opportunity-atlas-brand {
    grid-area: 1 / 2;
  }
  .opportunity-atlas-hero > div {
    grid-area: 1 / 1;
  }
}

/* Raised navigation controls */
.masthead .header nav { gap: .7rem; }

.header nav > a:not(.atlas-nav),
.header .atlas-nav,
.pathway-menu summary,
.opportunity-atlas-hero .atlas-sections > a,
.atlas-home-preview nav > a {
  --nav-face: linear-gradient(#fff, #eaf0f8);
  --nav-border: #afc1d5;
  --nav-edge: #9aafc6;
  --nav-ink: #14263c;
  min-height: 2.75rem;
  padding: .65rem .9rem;
  border: 1px solid var(--nav-border);
  border-radius: .65rem;
  background: var(--nav-face);
  box-shadow: inset 0 1px #ffffff75, 0 3px var(--nav-edge), 0 5px 9px #14263c25;
  color: var(--nav-ink);
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.header .atlas-nav,
.header nav > a[aria-current="page"]:not(.atlas-nav),
.pathway-menu summary.is-current,
.pathway-menu[open] summary {
  --nav-face: linear-gradient(#18796e, #0e5a51);
  --nav-border: #0e5a51;
  --nav-edge: #083d36;
  --nav-ink: #fff;
}

.header .atlas-nav[aria-current="page"] {
  --nav-face: linear-gradient(#284d70, #14263c);
  --nav-border: #14263c;
  --nav-edge: #0b1829;
}

.opportunity-atlas-hero .atlas-sections > a,
.atlas-home-preview nav > a {
  --nav-face: linear-gradient(#34627b, #193c55);
  --nav-border: #7ea0b4;
  --nav-edge: #0c2538;
  --nav-ink: #fff;
  display: inline-flex;
  align-items: center;
  margin: 0;
}

.opportunity-atlas-hero .atlas-sections > a:first-child,
.atlas-home-preview nav > a.button {
  --nav-face: linear-gradient(#dbfff1, #9ce0cc);
  --nav-border: #b9f5df;
  --nav-edge: #428779;
  --nav-ink: #123b35;
  border-color: var(--nav-border);
  background: var(--nav-face);
  color: var(--nav-ink);
}

.pathway-menu-links a[aria-current="page"] { background: #e6f4f0; color: #0d5b51; font-weight: 700; }
.pathway-menu summary:focus-visible { outline: 2px solid #087d70; outline-offset: 4px; }
.atlas-sections { margin-top: .25rem; }

@media (hover: hover) {
  .pathway-menu summary:hover,
  .atlas-home-preview nav > a:hover { text-decoration: underline; text-underline-offset: .2em; }
}

@media (prefers-reduced-motion: no-preference) {
  :is(.header nav > a, .pathway-menu summary, .atlas-sections > a, .atlas-home-preview nav > a) {
    transition: transform 150ms ease, box-shadow 150ms ease;
  }
  :is(.header nav > a, .pathway-menu summary, .atlas-sections > a, .atlas-home-preview nav > a):active {
    transform: translateY(2px);
    box-shadow: inset 0 1px #ffffff75, 0 1px var(--nav-edge);
  }
}

@media (max-width: 42rem) {
  .masthead .header nav { width: 100%; }
  .pathway-menu-links { max-width: min(20rem, 90vw); }
}

.home-opportunity-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .45rem .65rem;
  max-width: 45rem;
  margin-top: 1.25rem;
  padding: .85rem;
  border: 1px solid #638795;
  border-radius: .8rem;
  background: #203c50;
}
.home-opportunity-search label { grid-column: 1 / -1; font-size: 1.12rem; font-weight: 700; }
.home-opportunity-search input {
  width: 100%;
  padding: .65rem .75rem;
  border: 1px solid #8193a7;
  border-radius: .55rem;
  color: #14263c;
  background: #fff;
  font: inherit;
}
.home-opportunity-search .button { margin: 0; border: 0; cursor: pointer; font-size: 1rem; }
.home-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: .8rem;
}
.home-quick-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: .45rem .75rem;
  border: 1px solid #638795;
  border-radius: .55rem;
  background: #203c50;
  color: #e5faf5;
  font-weight: 650;
  font-size: .875rem;
  text-align: center;
  text-decoration: none;
}
.home-quick-links a:hover { background: #2e5665; text-decoration: underline; }
@media (max-width: 47rem) {
  .home-intro { grid-template-columns: minmax(0, 1fr); }
  .home-intro .opportunity-atlas-brand {
    justify-self: start;
    grid-template-columns: 3rem minmax(0, 1fr);
    align-items: center;
    max-width: 25rem;
    text-align: left;
  }
  .home-intro .opportunity-atlas-brand figcaption { text-wrap: wrap; }
}
@media (max-width: 36rem) {
  .home-opportunity-search { grid-template-columns: minmax(0, 1fr); }
  .home-quick-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.toolkit-hero {
  margin-block: 1rem;
  padding: clamp(1.25rem, 5vw, 3rem);
  border-radius: 1rem;
  background: linear-gradient(135deg, #101e36, #16374b);
  color: #fff;
}
.toolkit-hero h1 { margin: .35rem 0; font-size: clamp(2rem, 5vw, 3.8rem); line-height: 1.12; }
.toolkit-hero p { max-width: 65ch; margin-bottom: 0; color: #e2edf0; }
.toolkit-hero a { color: #a4ead3; }
.toolkit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1rem; }
.toolkit-card, .toolkit-note, .toolkit-example > div {
  padding: 1rem;
  border: 1px solid #c7d8df;
  border-radius: .75rem;
  background: #f4f8fa;
}
.toolkit-card h2 { font-size: 1.2rem; margin: 0; }
.toolkit-card p { margin: .5rem 0 0; }
.toolkit-page { max-width: 52rem; padding-bottom: 2rem; }
.toolkit-guide-nav { display: flex; flex-wrap: wrap; gap: .55rem; margin-block: 1.2rem; }
.toolkit-guide-nav a { padding: .5rem .7rem; border: 1px solid #9bb9b9; border-radius: .45rem; }
.toolkit-guide-nav a[aria-current="page"] { background: #d9f0e8; font-weight: 700; }
.toolkit-page section { margin-block: 1.65rem; }
.toolkit-page li + li { margin-top: .5rem; }
.toolkit-example { display: grid; gap: .65rem; }
.toolkit-example dt { font-weight: 700; }
.toolkit-example dd { margin: 0; }
.toolkit-example blockquote { margin: .35rem 0; }
.toolkit-example p { margin: .35rem 0 0; color: #40576a; }
.toolkit-template {
  width: 100%;
  padding: .85rem;
  border: 1px solid #8193a7;
  border-radius: .55rem;
  background: #f4f8fa;
  color: #14263c;
  font: inherit;
  resize: vertical;
}
.toolkit-page a, .toolkit-card a { color: #125b53; text-underline-offset: .2em; }

.atlas-translation .pathway-menu-links {
  min-width: min(17rem, calc(100vw - 2rem));
}
.atlas-translation form {
  display: grid;
  gap: .55rem;
  padding: .6rem;
}
.atlas-translation select,
.atlas-translation button {
  max-width: 100%;
  font: inherit;
}
.atlas-translation small {
  display: block;
  padding: .6rem;
}

.atlas-chat {
  position: fixed;
  inset: auto 1rem 1rem auto;
  z-index: 20;
  min-width: 10rem;
  max-width: calc(100vw - 2rem);
  border: 1px solid #346877;
  border-radius: 1rem;
  background: #f4fbfc;
  color: #122e39;
  box-shadow: 0 .5rem 1.8rem #102b4540;
}
.atlas-chat summary { cursor: pointer; padding: .8rem 1rem; font-weight: 700; }
.atlas-chat section { width: min(23rem, calc(100vw - 2.2rem)); padding: 0 1rem 1rem; box-sizing: border-box; }
.atlas-chat form { display: grid; gap: .45rem; margin: .6rem 0; }
.atlas-chat input, .atlas-chat button { font: inherit; padding: .45rem .55rem; }
.atlas-chat a { color: #135870; }
.atlas-chat small { display: block; }
#atlas-chat-replies { max-height: min(40vh, 19rem); overflow: auto; overflow-wrap: anywhere; }
#atlas-chat-replies p { margin: .5rem 0; }
