:root {
  --usf-green: #006747;
  --evergreen: #005432;
  --deep-green: #003f2d;
  --gold: #cfc493;
  --sand: #edebd1;
  --teal: #009374;
  --ink: #12342b;
  --muted: #55635e;
  --white: #fff;
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --display: Bahnschrift, "Arial Narrow", "Franklin Gothic Medium", Arial, sans-serif;
  --body: Aptos, "Segoe UI", Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 0;
  color: var(--ink);
  background: #fbfbf7;
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: .75rem; left: .75rem; padding: .75rem 1rem; color: white; background: var(--deep-green); border-radius: .5rem; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 10; color: white; background: var(--evergreen); border-top: 6px solid var(--gold); }
.header-inner { width: min(100% - (2 * var(--gutter)), 1440px); min-height: 78px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: grid; gap: .1rem; text-decoration: none; }
.brand-university { font-family: var(--display); font-size: 1.15rem; font-weight: 800; letter-spacing: .035em; text-transform: uppercase; }
.brand-program { font-size: 1rem; letter-spacing: .01em; }
.header-nav { display: flex; align-items: center; justify-content: flex-end; gap: .65rem; }
.header-link { display: inline-flex; min-height: 44px; align-items: center; gap: .4rem; padding: .62rem 1rem; border: 1px solid rgba(255, 255, 255, .4); border-radius: 999px; font-size: .92rem; font-weight: 750; text-decoration: none; transition: color 250ms ease, background 250ms ease, border-color 250ms ease, transform 250ms var(--ease); }
.header-link:hover, .header-link:focus-visible { color: var(--evergreen); background: white; border-color: white; transform: translateY(-2px); }
.header-link-accent { color: var(--evergreen); background: var(--gold); border-color: var(--gold); }
.header-link-accent:hover, .header-link-accent:focus-visible { background: #f6e7a7; border-color: #f6e7a7; }
.header-link svg { width: 1.05rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 250ms var(--ease); }
.header-link:hover svg, .header-link:focus-visible svg { transform: translate(2px, -2px); }

.hero { position: relative; overflow: hidden; background: linear-gradient(105deg, var(--sand) 0%, #f8f7ed 55%, #fff 100%); border-bottom: 1px solid rgba(0, 84, 50, .16); }
.hero-inner { position: relative; width: min(100% - (2 * var(--gutter)), 1440px); min-height: 270px; margin-inline: auto; display: grid; grid-template-columns: minmax(0, .95fr) minmax(340px, .75fr); align-items: center; }
.hero-copy { position: relative; z-index: 2; padding: 1.55rem 0 1.8rem; }
.eyebrow { margin: 0 0 .75rem; color: var(--usf-green); font-family: var(--display); font-size: .82rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero h1 { max-width: 850px; margin: 0; color: var(--evergreen); font-family: var(--display); font-size: clamp(3.2rem, 5vw, 5.2rem); font-weight: 800; line-height: .88; letter-spacing: -.055em; }
.hero-summary { max-width: 46rem; margin: 1.45rem 0 1.65rem; color: #384b45; font-size: clamp(1.1rem, 1.55vw, 1.4rem); line-height: 1.45; }
.hero-action { display: inline-flex; min-width: 19rem; min-height: 66px; align-items: center; justify-content: space-between; gap: 3.5rem; padding: .95rem 1.3rem .95rem 1.8rem; color: white; background: var(--usf-green); border-radius: 999px; box-shadow: 0 14px 28px rgba(0, 84, 50, .2); font-size: 1.08rem; font-weight: 800; text-decoration: none; transition: transform 300ms var(--ease), box-shadow 300ms var(--ease), background 300ms ease; }
.hero-action svg { width: 1.4rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 300ms var(--ease); }
.hero-action:hover, .hero-action:focus-visible { background: var(--evergreen); box-shadow: 0 18px 34px rgba(0, 84, 50, .22); transform: translateY(-3px); }
.hero-action:hover svg, .hero-action:focus-visible svg { transform: translateX(4px); }
.hero-action:focus-visible, .program-card:focus-visible, .header-link:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

.hero-art { position: absolute; top: -28%; right: -9%; width: 62%; height: 165%; opacity: .78; transform: rotate(-5deg); background: repeating-linear-gradient(135deg, transparent 0 25px, rgba(0, 103, 71, .2) 26px 27px, transparent 28px 44px); mask-image: linear-gradient(to left, #000 32%, transparent 100%); }
.hero-art::before, .hero-art::after { content: ""; position: absolute; left: 14%; width: 110%; height: 5px; background: linear-gradient(90deg, transparent, var(--gold) 22%, var(--gold) 75%, transparent); transform: rotate(-42deg); }
.hero-art::before { top: 36%; }
.hero-art::after { top: 65%; background: linear-gradient(90deg, transparent, var(--usf-green) 20%, var(--usf-green) 70%, transparent); }
.orbit { position: absolute; display: block; border: 3px solid var(--evergreen); border-radius: 50%; background: rgba(255,255,255,.42); }
.orbit::after { content: ""; position: absolute; inset: 31%; border: 1px solid var(--gold); border-radius: inherit; }
.orbit-large { width: 110px; height: 110px; right: 14%; bottom: 24%; }
.orbit-small { width: 44px; height: 44px; right: 46%; top: 24%; border-color: var(--gold); }
.rise-arrow { position: absolute; right: 31%; top: 39%; width: 140px; height: 140px; border-top: 7px solid var(--evergreen); border-right: 7px solid var(--evergreen); transform: rotate(-45deg); }

.programs { width: min(100% - (2 * var(--gutter)), 1440px); margin-inline: auto; padding: 2.25rem 0 4.6rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 1.9rem; }
.section-heading h2 { max-width: 820px; margin: 0; color: var(--evergreen); font-family: var(--display); font-size: clamp(2rem, 3.7vw, 3.5rem); font-weight: 800; line-height: .98; letter-spacing: -.04em; }
.interaction-note { flex: 0 0 auto; margin: 0 0 .3rem; color: var(--muted); font-size: .88rem; }
.interaction-note span { color: var(--usf-green); font-size: 1.2rem; }

.program-deck { display: flex; align-items: stretch; gap: clamp(.65rem, 1vw, 1rem); min-height: 440px; }
.card-slot { flex: 1 1 0; min-width: 0; transform: translateY(0); transition: flex 560ms var(--ease), transform 560ms var(--ease), opacity 350ms ease; }
.program-deck[data-active] .card-slot { flex-grow: .92; opacity: .88; }
.program-deck .card-slot.is-active { z-index: 2; flex-grow: 1.42; opacity: 1; transform: translateY(-1.3rem); }
.program-card { position: relative; display: grid; grid-template-rows: 48% 1fr; height: 100%; min-height: 420px; overflow: hidden; color: var(--ink); background: white; border: 1px solid rgba(0, 84, 50, .15); border-radius: 1.15rem; box-shadow: 0 12px 25px rgba(0, 63, 45, .09); text-decoration: none; transition: box-shadow 450ms var(--ease), background 450ms ease, color 450ms ease, transform 450ms var(--ease); }
.program-card::after { content: ""; position: absolute; inset: auto 0 0; height: 5px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 450ms var(--ease); }
.card-slot.is-active .program-card { color: white; background: linear-gradient(145deg, var(--usf-green), var(--evergreen)); box-shadow: 0 28px 48px rgba(0, 63, 45, .22); }
.card-slot.is-active .program-card::after { transform: scaleX(1); }
.card-image { overflow: hidden; background: #dbe2de; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease), filter 450ms ease; }
.card-image-online img { object-position: center 45%; }
.card-slot.is-active .card-image img { transform: scale(1.045); filter: saturate(1.06) contrast(1.02); }
.card-body { display: flex; flex-direction: column; padding: 1rem clamp(.85rem, 1.2vw, 1.2rem) 1.2rem; }
.card-topline { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.card-number { color: var(--usf-green); font-family: var(--display); font-size: 1.9rem; font-weight: 800; line-height: 1; }
.card-slot.is-active .card-number { color: var(--gold); }
.card-arrow { display: grid; width: 2.65rem; height: 2.65rem; place-items: center; color: var(--evergreen); background: var(--sand); border: 1px solid rgba(0, 84, 50, .22); border-radius: 50%; font-size: 1.35rem; font-weight: 700; transition: transform 350ms var(--ease), background 350ms ease; }
.card-slot.is-active .card-arrow { color: var(--evergreen); background: var(--gold); border-color: white; }
.program-card h3 { margin: .8rem 0 0; font-family: var(--display); font-size: clamp(1.32rem, 1.7vw, 1.75rem); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; }
.card-meta { margin: .55rem 0 0; color: var(--usf-green); font-size: clamp(.76rem, .9vw, .92rem); line-height: 1.3; }
.card-slot.is-active .card-meta { color: #f0df92; }
.card-description { max-height: 0; margin: 0; overflow: hidden; opacity: 0; font-size: clamp(.8rem, .9vw, .94rem); line-height: 1.4; transform: translateY(8px); transition: max-height 500ms var(--ease), opacity 350ms ease, transform 500ms var(--ease), margin 500ms var(--ease); }
.card-slot.is-active .card-description { max-height: 5rem; margin-top: .85rem; opacity: 1; transform: translateY(0); }
.card-slot.is-active .card-arrow { transform: translate(3px, -3px) rotate(3deg); }

.site-footer { min-height: 72px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .65rem 1.5rem; padding: 1rem var(--gutter); color: white; background: var(--evergreen); border-bottom: 6px solid var(--gold); text-align: center; font-size: .9rem; }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.25rem; }
.site-footer a { min-height: 44px; display: inline-flex; align-items: center; font-size: .78rem; text-underline-offset: .2rem; }

@media (max-width: 900px) {
  .program-deck { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 0; }
  .card-slot, .program-deck[data-active] .card-slot, .program-deck .card-slot.is-active { opacity: 1; transform: none; }
  .card-slot:last-child { grid-column: 1 / -1; width: calc(50% - .5rem); justify-self: center; }
  .program-card { min-height: 410px; }
  .card-description, .card-slot.is-active .card-description { max-height: 5rem; margin-top: .75rem; opacity: 1; transform: none; }
  .program-card:hover, .program-card:focus-visible { box-shadow: 0 24px 42px rgba(0, 63, 45, .16); transform: translateY(-.45rem); }
}

@media (max-width: 720px) {
  :root { --gutter: 1.1rem; }
  .header-inner { min-height: 68px; }
  .brand-university { font-size: .9rem; }
  .brand-program { font-size: .88rem; }
  .header-nav { gap: .4rem; }
  .header-link { padding-inline: .75rem; font-size: .82rem; }
  .hero-inner { min-height: 0; display: block; }
  .hero-copy { padding: .9rem 0 1rem; }
  .eyebrow { margin-bottom: .35rem; font-size: .67rem; }
  .hero h1 { max-width: 24rem; font-size: clamp(2.05rem, 9vw, 2.75rem); line-height: .94; letter-spacing: -.045em; }
  .hero-summary { max-width: 22rem; margin: .65rem 0 .75rem; font-size: .92rem; line-height: 1.35; }
  .hero-art { top: -10%; right: -62%; width: 125%; height: 130%; opacity: .3; }
  .hero-action { width: min(100%, 18rem); min-width: 0; min-height: 50px; gap: 1.5rem; padding: .65rem 1rem .65rem 1.3rem; font-size: .95rem; justify-content: space-between; }
  .hero-action svg { width: 1.15rem; }
  .programs { padding: .85rem 0 1.25rem; }
  .section-heading { display: block; margin-bottom: .65rem; }
  .section-kicker { margin-bottom: .25rem; font-size: .67rem; }
  .section-heading h2 { max-width: 23rem; font-size: clamp(1.45rem, 6.4vw, 1.85rem); line-height: 1.02; }
  .interaction-note { display: none; }
  .program-deck { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
  .card-slot:last-child { width: auto; grid-column: 1 / -1; }
  .program-card { grid-template-columns: 54px minmax(0, 1fr); grid-template-rows: 1fr; min-height: 74px; border-radius: .8rem; }
  .card-image { min-height: 74px; }
  .card-body { justify-content: center; padding: .45rem .55rem; }
  .card-topline { gap: .25rem; }
  .card-number { font-size: 1rem; }
  .card-arrow { width: 1.75rem; height: 1.75rem; font-size: .82rem; }
  .program-card h3 { margin-top: .2rem; font-size: clamp(.82rem, 3.6vw, 1rem); line-height: 1.02; }
  .card-meta, .card-description, .card-slot.is-active .card-description { display: none; }
  .card-slot.is-active .program-card { color: var(--ink); background: white; box-shadow: 0 12px 25px rgba(0, 63, 45, .09); }
  .card-slot.is-active .card-number, .card-slot.is-active .card-meta { color: var(--usf-green); }
  .card-slot.is-active .card-arrow { color: white; background: var(--usf-green); border-color: var(--usf-green); }
  .card-slot.is-active .program-card::after { transform: scaleX(0); }
  .card-slot.is-active .card-image img { transform: none; filter: none; }
}

@media (max-width: 560px) {
  .header-inner { flex-wrap: wrap; padding: .65rem 0 .75rem; }
  .header-nav { width: 100%; justify-content: flex-start; }
  .brand-university { font-size: .78rem; }
  .brand-program { font-size: .8rem; }
  .header-link { flex: 1 1 auto; justify-content: center; }
  .header-link svg { display: none; }
}

@media (max-width: 720px) and (max-height: 680px) {
  .header-inner { padding-block: .45rem .55rem; }
  .brand-program { display: none; }
  .header-link { min-height: 42px; padding-block: .5rem; }
  .hero-copy { padding: .55rem 0 .65rem; }
  .eyebrow { margin-bottom: .2rem; }
  .hero h1 { font-size: clamp(1.75rem, 8.5vw, 2.2rem); }
  .hero-summary { display: none; }
  .hero-action { min-height: 46px; margin-top: .55rem; padding-block: .55rem; }
  .programs { padding: .55rem 0 .8rem; }
  .section-heading { margin-bottom: .4rem; }
  .section-heading h2 { font-size: clamp(1.25rem, 5.8vw, 1.55rem); }
  .program-card { grid-template-columns: 44px minmax(0, 1fr); min-height: 62px; }
  .card-image { min-height: 62px; }
  .card-body { padding: .3rem .45rem; }
  .card-number { font-size: .86rem; }
  .card-arrow { width: 1.55rem; height: 1.55rem; font-size: .72rem; }
  .program-card h3 { margin-top: .1rem; font-size: clamp(.74rem, 3.3vw, .9rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
