/* ==========================================================================
   ST. FRANCIS DE SALES PRE-UNIVERSITY COLLEGE
   Hebbagodi · Electronic City · Bengaluru
   --------------------------------------------------------------------------
   sfs.css — design system + homepage composition
   Author note: every class is scoped with the `sfs-` prefix so this file can
   grow into the full site without collisions.
   ========================================================================== */

/* --------------------------------------------------------------------------
   01. DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Brand identity — #0D306C is the dominant colour of the institution */
  --sfs-blue:        #0D306C;
  --sfs-blue-600:    #14417F;
  --sfs-blue-300:    #3F63A8;
  --sfs-navy:        #071D43;
  --sfs-navy-deep:   #04142F;

  /* Warm accent — energy, youth, movement */
  --sfs-amber:       #F4A51C;
  --sfs-amber-600:   #DC8F0C;
  /* Text-safe amber for small copy on light surfaces. The bright amber above
     only reaches 2.6:1 on white, so it is used for rules, fills and icons —
     never for small text. */
  --sfs-amber-ink:   #8A5206;
  --sfs-gold:        #FFC857;
  --sfs-gold-soft:   #FFE2A6;

  /* Neutrals — no pure black anywhere */
  --sfs-ink:         #0B1220;
  --sfs-ink-70:      #3A4356;
  --sfs-ink-50:      #616A7D;
  --sfs-ink-30:      #A4ABBA;
  --sfs-line:        #E2E6ED;
  --sfs-line-soft:   #EDF0F5;
  --sfs-paper:       #F7F8FA;
  --sfs-paper-warm:  #FAF7F2;
  --sfs-white:       #FFFFFF;

  /* Typography */
  --sfs-display: "Bricolage Grotesque", "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --sfs-body:    "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --sfs-t-eyebrow: 0.875rem;
  --sfs-t-body:    1.0625rem;
  --sfs-t-lead:    1.1875rem;

  /* Rhythm */
  --sfs-gutter: 24px;
  /* Fluid, not fixed — on the common laptop/desktop range (roughly up to
     1750px of window width) the shell tracks the viewport almost edge to
     edge; past that it settles at a comfortable reading width instead of
     stretching paragraphs across an ultra-wide monitor. */
  --sfs-shell:  min(96vw, 1680px);
  --sfs-bleed:  clamp(20px, 4vw, 56px);
  --sfs-band:   clamp(72px, 9vw, 136px);

  /* Motion */
  --sfs-ease:      cubic-bezier(.22, .61, .36, 1);
  --sfs-ease-out:  cubic-bezier(.16, 1, .3, 1);

  /* Elevation — used sparingly, never as a "floating card" crutch */
  --sfs-lift: 0 24px 60px -32px rgba(7, 29, 67, .45);

  /* --------------------------------------------------------------------
     Custom institutional patterns.
     Drawn as inline SVG so they stay crisp, weigh nothing and can be
     recoloured per surface. Used in nav, dark bands, stats, CTA, footer.
     -------------------------------------------------------------------- */
  --pat-grid-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cpath d='M56 0H0v56' fill='none' stroke='%230D306C' stroke-opacity='.08' stroke-width='1'/%3E%3C/svg%3E");
  --pat-grid-dark:  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cpath d='M56 0H0v56' fill='none' stroke='%23FFFFFF' stroke-opacity='.07' stroke-width='1'/%3E%3C/svg%3E");

  --pat-dots-dark:  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Ccircle cx='1.5' cy='1.5' r='1.5' fill='%23FFFFFF' fill-opacity='.10'/%3E%3C/svg%3E");
  --pat-dots-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Ccircle cx='1.5' cy='1.5' r='1.5' fill='%230D306C' fill-opacity='.13'/%3E%3C/svg%3E");

  --pat-hatch-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14'%3E%3Cpath d='M-2 2 L2 -2 M0 14 L14 0 M12 16 L16 12' stroke='%23FFFFFF' stroke-opacity='.09' stroke-width='1.4'/%3E%3C/svg%3E");
  --pat-hatch-amber: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14'%3E%3Cpath d='M-2 2 L2 -2 M0 14 L14 0 M12 16 L16 12' stroke='%23071D43' stroke-opacity='.16' stroke-width='1.4'/%3E%3C/svg%3E");

  /* small academic "plus" marks — mathematical/scientific register */
  --pat-cross-amber: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44'%3E%3Cpath d='M22 17v10M17 22h10' stroke='%23F4A51C' stroke-opacity='.38' stroke-width='1.3'/%3E%3C/svg%3E");
  --pat-cross-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44'%3E%3Cpath d='M22 17v10M17 22h10' stroke='%230D306C' stroke-opacity='.16' stroke-width='1.3'/%3E%3C/svg%3E");

  /* concentric arcs — the institutional crest motif, abstracted */
  --pat-arc: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cg fill='none' stroke='%23FFFFFF' stroke-opacity='.06'%3E%3Ccircle cx='300' cy='300' r='110'/%3E%3Ccircle cx='300' cy='300' r='180'/%3E%3Ccircle cx='300' cy='300' r='250'/%3E%3Ccircle cx='300' cy='300' r='320'/%3E%3C/g%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   02. BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 118px;
}

body {
  margin: 0;
  background: var(--sfs-white);
  color: var(--sfs-ink);
  font-family: var(--sfs-body);
  font-size: var(--sfs-t-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--sfs-display); font-weight: 700; letter-spacing: -.035em; line-height: .98; }
/* figure, blockquote, dl and dd all carry UA margins — clear them so the
   grid columns are the only thing deciding width. */
p, figure, blockquote, dl, dd { margin: 0; }
/* appearance: none strips the browser's native button chrome (its own grey
   background/border/corner radius) so buttons only ever look like whatever
   background/border a component's own class gives them — without it, that
   native chrome can show through as a stray box around text-only buttons
   like the nav's dropdown triggers. */
button {
  appearance: none; -webkit-appearance: none;
  font: inherit; color: inherit;
  background: none; border: 0; border-radius: 0; box-shadow: none;
}

::selection { background: var(--sfs-amber); color: var(--sfs-navy); }

/* Keyboard focus — visible on every interactive surface */
:focus-visible {
  outline: 3px solid var(--sfs-amber);
  outline-offset: 3px;
  border-radius: 2px;
}

.sfs-skip {
  position: absolute; left: 12px; top: -80px; z-index: 200;
  background: var(--sfs-amber); color: var(--sfs-navy);
  padding: 12px 20px; font-weight: 700; font-size: .85rem;
  letter-spacing: .06em; text-transform: uppercase;
  transition: top .2s var(--sfs-ease);
}
.sfs-skip:focus { top: 12px; }

.sfs-visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   03. LAYOUT PRIMITIVES
   -------------------------------------------------------------------------- */
.sfs-shell {
  width: 100%;
  max-width: var(--sfs-shell);
  margin-inline: auto;
  padding-inline: var(--sfs-bleed);
}

.sfs-shell--wide { max-width: min(97vw, 1800px); }

.sfs-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--sfs-gutter);
}

.sfs-band { padding-block: var(--sfs-band); }

/* --------------------------------------------------------------------------
   04. TYPE SCALE & EDITORIAL ELEMENTS
   -------------------------------------------------------------------------- */
.sfs-display-xl { font-size: clamp(2.85rem, 6.4vw, 5.9rem); }
/* Section headings. Sections whose heading sits in a narrow column override
   this locally — a 72px line needs roughly 700px of measure to break well. */
.sfs-display-l  { font-size: clamp(2.2rem, 4.35vw, 3.9rem); }
.sfs-display-m  { font-size: clamp(1.85rem, 3.2vw, 2.9rem); letter-spacing: -.028em; }

/* headings that get the full width of the shell can run larger */
.sfs-paths__head h2,
.sfs-campus__head h2,
.sfs-news__head h2,
.sfs-cta h2 { font-size: clamp(2.35rem, 5vw, 4.4rem); }

.sfs-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: var(--sfs-t-eyebrow);
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sfs-amber-ink);
  margin: 0 0 22px;
}
.sfs-eyebrow::before {
  content: "";
  width: 34px; height: 2px;
  background: var(--sfs-amber);
  flex: none;
}
.sfs-eyebrow--onDark { color: var(--sfs-gold); }
.sfs-eyebrow--plain::before { display: none; }

.sfs-lead {
  font-size: var(--sfs-t-lead);
  line-height: 1.62;
  color: var(--sfs-ink-70);
  max-width: 56ch;
}
.sfs-lead--onDark { color: rgba(255, 255, 255, .78); }

/* A hairline rule used to separate editorial rows */
.sfs-rule { height: 1px; background: var(--sfs-line); border: 0; margin: 0; }
.sfs-rule--onDark { background: rgba(255, 255, 255, .16); }

/* Section heading with an index number, e.g. "04 — Campus" */
.sfs-index {
  font-family: var(--sfs-display);
  font-size: .925rem; font-weight: 700;
  letter-spacing: .18em;
  color: var(--sfs-ink-30);
}

/* --------------------------------------------------------------------------
   05. BUTTONS & LINKS
   -------------------------------------------------------------------------- */
.sfs-btn {
  --btn-bg: var(--sfs-blue);
  --btn-fg: var(--sfs-white);
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 17px 30px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: .8125rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  border: 0; cursor: pointer;
  overflow: hidden;
  transition: transform .4s var(--sfs-ease-out), background-color .3s var(--sfs-ease);
}
.sfs-btn svg { flex: none; transition: transform .4s var(--sfs-ease-out); }
.sfs-btn:hover { transform: translateY(-3px); }
.sfs-btn:hover svg { transform: translateX(5px); }

.sfs-btn--amber  { --btn-bg: var(--sfs-amber); --btn-fg: var(--sfs-navy); }
.sfs-btn--amber:hover { background: var(--sfs-gold); }
.sfs-btn--ghost  {
  --btn-bg: transparent; --btn-fg: var(--sfs-white);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .42);
}
.sfs-btn--ghost:hover { background: rgba(255, 255, 255, .1); }
.sfs-btn--outline {
  --btn-bg: transparent; --btn-fg: var(--sfs-blue);
  box-shadow: inset 0 0 0 1.5px rgba(13, 48, 108, .28);
}
.sfs-btn--outline:hover { background: rgba(13, 48, 108, .06); }

/* Editorial text link with an animated rule */
.sfs-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.945rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--sfs-blue);
  padding-bottom: 6px;
  position: relative;
}
.sfs-link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; background: var(--sfs-amber);
  transform: scaleX(.34); transform-origin: left;
  transition: transform .5s var(--sfs-ease-out);
}
.sfs-link:hover::after { transform: scaleX(1); }
.sfs-link svg { transition: transform .4s var(--sfs-ease-out); }
.sfs-link:hover svg { transform: translateX(5px); }
.sfs-link--onDark { color: var(--sfs-white); }

/* --------------------------------------------------------------------------
   06. MOTION — scroll reveal
   -------------------------------------------------------------------------- */
/* The hidden start state is scoped to .sfs-js, a class set by a tiny inline
   script in <head>. If scripting is unavailable or fails, no element is ever
   hidden — the page simply renders without the entrance animation. */
.sfs-js [data-reveal] {
  opacity: 0;
  transform: translateY(56px) scale(.96);
  filter: blur(6px);
  transition: opacity 1.05s var(--sfs-ease-out), transform 1.05s var(--sfs-ease-out), filter 1.05s var(--sfs-ease-out);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform, filter;
}
.sfs-js [data-reveal].is-in { opacity: 1; transform: none; filter: blur(0); }

/* Image clip-reveal — the photograph wipes upward into frame, with a slow
   settle-down in scale so the motion reads as more than a simple fade */
.sfs-js [data-reveal="image"] {
  opacity: 1; transform: scale(1.1);
  clip-path: inset(100% 0 0 0);
  transition: clip-path .9s var(--sfs-ease-out), transform 1.4s var(--sfs-ease-out);
  transition-delay: var(--d, 0ms);
  will-change: clip-path, transform;
}
.sfs-js [data-reveal="image"].is-in { clip-path: inset(0 0 0 0); transform: scale(1); }

/* --------------------------------------------------------------------------
   06b. MOTION — ambient (idle) animation, active whether or not the page
   is scrolling: a slow glowing pulse on primary buttons and a soft shimmer
   travelling along every eyebrow/kicker's little accent dash, so the site
   never reads as fully static even when the visitor stops scrolling.
   -------------------------------------------------------------------------- */
@keyframes sfs-glow-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(244, 165, 28, .45); }
  50%      { box-shadow: 0 0 0 8px rgba(244, 165, 28, 0); }
}
.sfs-btn:not(.sfs-btn--outline):not(.sfs-btn--ghost) { animation: sfs-glow-pulse 2.6s ease-in-out infinite; }
.sfs-btn:hover { animation-play-state: paused; }

@keyframes sfs-dash-shimmer {
  0%, 100% { opacity: 1; transform: scaleX(1); }
  50%      { opacity: .45; transform: scaleX(1.4); }
}
.sfs-eyebrow::before,
.sfs-gal-kicker::before,
.sfs-nw-kicker::before,
.sfs-as-kicker::before {
  transform-origin: left center;
  animation: sfs-dash-shimmer 2.4s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .sfs-js [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

/* Shared figure treatment — photography is a first-class element here */
.sfs-figure { position: relative; overflow: hidden; background: var(--sfs-line-soft); }
.sfs-figure img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--sfs-ease-out);
}
.sfs-figure--zoom:hover img { transform: scale(1.055); }

/* ==========================================================================
   07. UTILITY BAR
   ========================================================================== */
.sfs-utility {
  background: var(--sfs-navy);
  background-image: var(--pat-hatch-dark);
  color: rgba(255, 255, 255, .8);
  font-size: 0.905rem;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.sfs-utility__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 42px;
}
.sfs-utility__note {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; letter-spacing: .01em;
}
.sfs-utility__pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--sfs-amber);
  box-shadow: 0 0 0 0 rgba(244, 165, 28, .7);
  animation: sfs-pulse 2.4s infinite;
  flex: none;
}
@keyframes sfs-pulse {
  70%  { box-shadow: 0 0 0 9px rgba(244, 165, 28, 0); }
  100% { box-shadow: 0 0 0 0 rgba(244, 165, 28, 0); }
}
.sfs-utility__links { display: flex; align-items: center; gap: 26px; }
.sfs-utility__links a { transition: color .25s var(--sfs-ease); }
.sfs-utility__links a:hover { color: var(--sfs-gold); }
.sfs-utility__sep { width: 1px; height: 14px; background: rgba(255, 255, 255, .2); }

@media (max-width: 860px) {
  .sfs-utility__links { display: none; }
  .sfs-utility__inner { justify-content: center; }
}

/* ==========================================================================
   08. NAVIGATION
   ========================================================================== */
.sfs-nav {
  position: sticky; top: 0; z-index: 90;
  background: var(--sfs-white);
  border-bottom: 1px solid var(--sfs-line);
  transition: box-shadow .35s var(--sfs-ease);
}
.sfs-nav.is-stuck { box-shadow: 0 10px 34px -22px rgba(7, 29, 67, .5); }

/* the pattern detail lives in a thin blue rail above the bar */
.sfs-nav__rail {
  height: 4px;
  background: var(--sfs-blue);
  background-image: var(--pat-cross-amber);
  background-size: auto, 22px 22px;
}

.sfs-nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; min-height: 84px;
}

.sfs-brand { display: flex; align-items: center; gap: 14px; flex: none; }
.sfs-brand__crest {
  width: 75px; height: 75px; flex: none;
  object-fit: contain;
}
.sfs-brand__text { display: flex; flex-direction: column; line-height: 1.12; }
.sfs-brand__name {
  font-family: var(--sfs-display);
  font-size: .96rem; font-weight: 800;
  letter-spacing: -.012em; color: var(--sfs-blue);
  text-transform: uppercase;
}
.sfs-brand__sub {
  font-size: .75rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--sfs-ink-50); margin-top: 3px;
}

.sfs-menu { display: flex; align-items: center; gap: 4px; }
.sfs-menu__item { position: relative; }
.sfs-menu__link {
  display: inline-flex; text-transform: uppercase; align-items: center; gap: 6px;
  padding: 30px 14px;
  font-size: 0.945rem; font-weight: 700;
  letter-spacing: .015em; color: var(--sfs-ink);
  position: relative;
  transition: color .25s var(--sfs-ease);
}
.sfs-menu__link::after {
  content: ""; position: absolute;
  left: 14px; right: 14px; bottom: 26px; height: 2px;
  background: var(--sfs-amber);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--sfs-ease-out);
}
.sfs-menu__item:hover .sfs-menu__link,
.sfs-menu__link:focus-visible { color: var(--sfs-blue); }
.sfs-menu__item:hover .sfs-menu__link::after { transform: scaleX(1); }
.sfs-menu__chev { transition: transform .3s var(--sfs-ease); }
.sfs-menu__item:hover .sfs-menu__chev { transform: rotate(180deg); }

/* Dropdown — a flat editorial panel, not a floating glass card */
.sfs-drop {
  position: absolute; top: 100%; left: 0;
  min-width: 258px;
  background: var(--sfs-navy);
  background-image: var(--pat-grid-dark);
  border-top: 3px solid var(--sfs-amber);
  padding: 14px 0;
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s var(--sfs-ease), transform .3s var(--sfs-ease-out), visibility .3s;
  box-shadow: var(--sfs-lift);
}
.sfs-menu__item:hover .sfs-drop,
.sfs-menu__item:focus-within .sfs-drop {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.sfs-drop a {
  display: block; padding: 11px 26px;
  font-size: .96rem; font-weight: 600;
  color: rgba(255, 255, 255, .8);
  transition: color .22s var(--sfs-ease), padding-left .28s var(--sfs-ease-out), background-color .22s;
}
.sfs-drop a:hover { color: var(--sfs-white); padding-left: 32px; background: rgba(255, 255, 255, .05); }

.sfs-nav__cta { display: flex; align-items: center; gap: 14px; flex: none; }
.sfs-nav__cta .sfs-btn { padding: 15px 26px; }

/* Burger */
.sfs-burger {
  display: none; width: 46px; height: 46px;
  background: var(--sfs-blue); border: 0; cursor: pointer;
  position: relative;
}
.sfs-burger span {
  position: absolute; left: 13px; width: 20px; height: 2px;
  background: var(--sfs-white);
  transition: transform .35s var(--sfs-ease-out), opacity .2s;
}
.sfs-burger span:nth-child(1) { top: 17px; }
.sfs-burger span:nth-child(2) { top: 23px; }
.sfs-burger span:nth-child(3) { top: 29px; }
.sfs-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.sfs-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.sfs-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.sfs-drawer {
  position: fixed; inset: 0; z-index: 95;
  background: var(--sfs-navy);
  background-image: var(--pat-grid-dark);
  padding: 96px var(--sfs-bleed) 48px;
  overflow-y: auto;
  transform: translateY(-100%);
  transition: transform .55s var(--sfs-ease-out);
  visibility: hidden;
}
.sfs-drawer.is-open { transform: translateY(0); visibility: visible; }
.sfs-drawer__close {
  appearance: none; -webkit-appearance: none;
  position: absolute; top: 24px; right: var(--sfs-bleed);
  width: 46px; height: 46px; background: rgba(255,255,255,.1);
  border: 0; border-radius: 0; box-shadow: none; color: #fff; font-size: 1.4rem; cursor: pointer;
}
.sfs-drawer__group { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.sfs-drawer__head {
  appearance: none; -webkit-appearance: none;
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; background: none; border: 0; border-radius: 0; box-shadow: none; cursor: pointer;
  font-family: var(--sfs-display); font-size: 1.32rem; font-weight: 700;
  color: var(--sfs-white); text-align: left; letter-spacing: -.02em;
}
.sfs-drawer__head svg { transition: transform .3s var(--sfs-ease); color: var(--sfs-amber); }
.sfs-drawer__head[aria-expanded="true"] svg { transform: rotate(45deg); }
.sfs-drawer__panel { display: none; padding-bottom: 18px; }
.sfs-drawer__panel.is-open { display: block; }
.sfs-drawer__panel a {
  display: block; padding: 9px 0;
  color: rgba(255, 255, 255, .72); font-size: 1.07rem; font-weight: 500;
}
.sfs-drawer__panel a:hover { color: var(--sfs-gold); }
.sfs-drawer__foot { margin-top: 34px; display: grid; gap: 12px; }
.sfs-drawer__foot .sfs-btn { justify-content: center; }
.sfs-drawer__meta {
  margin-top: 30px; color: rgba(255,255,255,.6);
  font-size: .85rem; line-height: 1.8;
}

@media (max-width: 1140px) {
  .sfs-menu, .sfs-nav__cta .sfs-btn { display: none; }
  .sfs-burger { display: block; }
  .sfs-nav__inner { min-height: 72px; }
}

/* ==========================================================================
   09. HERO — full-bleed photo with a navy/black scrim, copy anchored
   bottom-left (banner style, matching the site's inner-page hero pattern)
   ========================================================================== */
.sfs-hero {
  position: relative; overflow: hidden;
  background: var(--sfs-navy);
  color: var(--sfs-white);
  min-height: clamp(560px, 86vh, 820px);
  display: flex; align-items: center;
}
.sfs-hero__media { position: absolute; inset: 0; }
.sfs-hero__media img, .sfs-hero__media video {
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
}
/* flat, solid-colour wash at a single uniform opacity across the whole
   banner, so the photograph stays evenly visible underneath */
.sfs-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(2, 10, 26, .72);
}

.sfs-hero__inner {
  position: relative; z-index: 2; width: 100%;
  padding-block: clamp(64px, 10vw, 120px) clamp(56px, 7vw, 96px);
  display: flex; justify-content: center;
}
.sfs-hero__copy { max-width: 780px; text-align: center; }

.sfs-hero__title {
  margin-top: 18px;
  font-size: clamp(3.4rem, 8vw, 6.6rem);
  text-shadow: 0 2px 28px rgba(0, 0, 0, .55), 0 1px 2px rgba(0, 0, 0, .4);
}
.sfs-hero__title em { font-style: normal; color: var(--sfs-gold); }

.sfs-hero__sub { margin-top: 26px; max-width: 56ch; margin-inline: auto; color: rgba(255, 255, 255, .88); }
.sfs-hero__actions { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

.sfs-hero__place {
  margin-top: 40px;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  font-size: 0.865rem; font-weight: 700;
  letter-spacing: .17em; text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
}
.sfs-hero__place svg { color: var(--sfs-gold); flex: none; }

@media (max-width: 620px) {
  .sfs-hero { min-height: clamp(520px, 92vh, 720px); }
  .sfs-hero__media img, .sfs-hero__media video { object-position: center 24%; }
}

/* Hero landing entrance — plays once on page load, not tied to scroll or
   the [data-reveal] observer at all (the hero is already on screen at
   load, so there is nothing to "scroll into"). Pure CSS animation with a
   per-element delay via --ld, so it can never be left stuck the way a
   JS-driven reveal could. prefers-reduced-motion already collapses every
   animation-duration to ~0 globally, so this needs no separate guard. */
@keyframes sfs-land {
  from { opacity: 0; transform: translateY(22px); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
[data-land] {
  animation: sfs-land .9s var(--sfs-ease-out) both;
  animation-delay: var(--ld, 0ms);
}
/* the featured photo gets its own settle-in: a slow scale down rather than
   the text's rise, so the two entrances read as distinct, not repetitive */
@keyframes sfs-land-media {
  from { opacity: 0; transform: scale(1.06); }
  to   { opacity: 1; transform: none; }
}
[data-land="media"] {
  animation-name: sfs-land-media;
  animation-duration: 1.3s;
}

/* ==========================================================================
   10. ADMISSIONS STRIP
   ========================================================================== */
.sfs-adm {
  background: var(--sfs-blue);
  background-image: var(--pat-hatch-dark);
  color: var(--sfs-white);
  position: relative;
  overflow: hidden;
}
/* an amber wedge gives the band diagonal movement */
.sfs-adm::before {
  content: ""; position: absolute; right: -6%; top: -60%;
  width: 34vw; height: 260%;
  background: var(--sfs-amber);
  opacity: .1;
  transform: rotate(14deg);
  pointer-events: none;
}
.sfs-adm__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; padding-block: 38px; position: relative; z-index: 1;
}
.sfs-adm__label {
  font-size: 0.845rem; font-weight: 800; letter-spacing: .22em;
  text-transform: uppercase; color: var(--sfs-gold);
}
.sfs-adm__title {
  font-family: var(--sfs-display);
  font-size: clamp(1.55rem, 2.7vw, 2.4rem);
  font-weight: 700; letter-spacing: -.028em; line-height: 1.06;
  margin-top: 10px;
}
.sfs-adm__streams { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.sfs-adm__stream {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 20px;
  border: 1px solid rgba(255, 255, 255, .26);
  font-size: 0.905rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  transition: background-color .3s var(--sfs-ease), border-color .3s var(--sfs-ease);
}
.sfs-adm__stream:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255,255,255,.5); }
.sfs-adm__stream b { color: var(--sfs-gold); font-weight: 800; }

@media (max-width: 980px) {
  .sfs-adm__inner { flex-direction: column; align-items: flex-start; gap: 26px; }
}

/* ==========================================================================
   11. ABOUT
   ========================================================================== */
.sfs-about { background: var(--sfs-white); position: relative; }
.sfs-about__grid { align-items: center; row-gap: 56px; }

/* z-index:0 establishes a stacking context so the decorative shapes behind
   the photograph sit above the section background rather than under it.
   --shape-offset is the single source of truth for how far the blob bleeds
   past the photo — used on both axes so the bleed reads as symmetric
   instead of accidentally larger on one side. */
.sfs-about__media {
  grid-column: 1 / span 5; position: relative; z-index: 0;
  --shape-offset: 32px;
  padding: var(--shape-offset) 40px 44px var(--shape-offset);
}
/* narrow measure — the heading is sized to break exactly where the markup says */
.sfs-about__copy h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); }

.sfs-about__main {
  aspect-ratio: 4 / 3.55;
  border-radius: 28px;
  box-shadow: 0 30px 70px -36px rgba(7, 29, 67, .38);
}
.sfs-about__main img { border-radius: inherit; }

/* Quarter-round shape anchoring the top-left, bled exactly --shape-offset
   past the photo's own top and left edges on both axes. Filled with the
   same dot pattern used on the hero tile and principal block, rather than
   a flat rectangle. */
/* The containing block for an absolutely-positioned child is the media
   element's own box — NOT its padding edge — so left:0/top:0 here already
   sits exactly --shape-offset away from the photo (which is inset by that
   same amount via padding). No negative offset needed: that would stack a
   second --shape-offset on top of the one the padding already provides. */
.sfs-about__blob {
  position: absolute;
  left: 0; top: 0;
  width: 60%; height: 56%;
  background-color: var(--sfs-blue);
  background-image: var(--pat-dots-dark);
  border-radius: 10px 110px 10px 10px;
  z-index: -2;
}
/* A thin ring seals the corner where the shape meets the photograph,
   centred exactly on the blob's own top-right corner. */
.sfs-about__ring {
  position: absolute;
  left: calc(60% - 28px);
  top: -28px;
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1.5px solid var(--sfs-amber);
  z-index: -1;
}
.sfs-about__ring::after {
  content: ""; position: absolute; inset: 14px;
  border-radius: 50%; background: var(--sfs-amber);
}

/* the offset second photograph — overlapping composition */
.sfs-about__inset {
  position: absolute; right: 0; bottom: 0;
  width: 47%; aspect-ratio: 4 / 3;
  border: 8px solid var(--sfs-white);
  border-radius: 20px;
  box-shadow: var(--sfs-lift);
}
.sfs-about__inset img { border-radius: 12px; }

/* Established badge — icon chip + label, sitting on the photograph */
.sfs-about__est {
  position: absolute; left: 24px; top: 24px; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  background: var(--sfs-navy);
  padding: 12px 20px 12px 12px;
  border-radius: 14px;
  box-shadow: 0 16px 34px -16px rgba(4, 20, 47, .6);
}
.sfs-about__est-icon {
  display: grid; place-items: center; flex: none;
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--sfs-amber); color: var(--sfs-navy);
}
.sfs-about__est-text { display: flex; flex-direction: column; line-height: 1.15; color: var(--sfs-white); }
.sfs-about__est-text b {
  font-size: 0.765rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255, 255, 255, .68);
}
.sfs-about__est-text span {
  margin-top: 3px; font-family: var(--sfs-display);
  font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em;
  color: var(--sfs-gold);
}

.sfs-about__copy { grid-column: 7 / span 6; }
.sfs-about__body { margin-top: 26px; display: grid; gap: 18px; }
.sfs-about__body p { color: var(--sfs-ink-70); line-height: 1.72; }

/* motto card — a soft tinted panel with a large quote glyph, styled as a
   genuine pull-quote rather than a bordered strip */
.sfs-about__motto {
  margin: 32px 0 0;
  display: flex; align-items: flex-start; gap: 18px;
  padding: 26px 28px;
  background: var(--sfs-paper);
  border-radius: 18px;
}
.sfs-about__quote-mark {
  flex: none;
  font-family: var(--sfs-display);
  font-size: 2.75rem; font-weight: 800; line-height: .6;
  color: var(--sfs-blue);
  margin-top: 6px;
}
.sfs-about__quote-body { display: flex; flex-direction: column; }
.sfs-about__quote-text {
  font-family: var(--sfs-display);
  font-size: 1.16rem; font-weight: 700; letter-spacing: -.015em;
  font-style: italic; color: var(--sfs-blue); line-height: 1.3;
}
.sfs-about__quote-label {
  display: block; margin-top: 8px;
  font-family: var(--sfs-body); font-size: 0.845rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--sfs-ink-50);
}

.sfs-about__cta { margin-top: 34px; }

/* Stat strip — four icon rows on a tinted band beneath the main grid */
.sfs-about__stats {
  margin: clamp(48px, 6vw, 72px) 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--sfs-paper);
  border-radius: 20px;
}
.sfs-about__stat {
  display: flex; align-items: center; gap: 16px;
  padding: 28px clamp(16px, 2.4vw, 30px);
  border-left: 1px solid var(--sfs-line);
}
.sfs-about__stat:first-child { border-left: 0; }
.sfs-about__stat-icon {
  display: grid; place-items: center; flex: none;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--sfs-blue); color: var(--sfs-white);
}
.sfs-about__stat dt {
  font-size: 0.945rem; font-weight: 800; letter-spacing: -.01em;
  color: var(--sfs-ink); line-height: 1.3;
}
.sfs-about__stat dd {
  margin-top: 4px; font-size: 0.905rem; color: var(--sfs-ink-50); line-height: 1.35;
}

@media (max-width: 1080px) {
  .sfs-about__media { grid-column: 1 / -1; padding: var(--shape-offset) 24px 32px var(--shape-offset); }
  .sfs-about__copy  { grid-column: 1 / -1; }
  .sfs-about__inset { width: 44%; border-width: 7px; }
}
@media (max-width: 860px) {
  .sfs-about__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sfs-about__stat:nth-child(3) { border-left: 0; }
  .sfs-about__stat:nth-child(1),
  .sfs-about__stat:nth-child(2) { border-bottom: 1px solid var(--sfs-line); }
}
@media (max-width: 620px) {
  .sfs-about__media { --shape-offset: 20px; padding: 20px 0 60px 20px; }
  .sfs-about__blob { width: 70%; height: 52%; }
  .sfs-about__ring { display: none; }
  .sfs-about__inset { position: static; width: 62%; margin: -46px 0 0 auto; }
  .sfs-about__est { left: 12px; top: 12px; padding: 10px 16px 10px 10px; }
}
@media (max-width: 480px) {
  .sfs-about__stats { grid-template-columns: 1fr; }
  .sfs-about__stat { border-left: 0 !important; border-bottom: 1px solid var(--sfs-line); }
  .sfs-about__stat:last-child { border-bottom: 0; }
}

/* ==========================================================================
   12. ACADEMIC PATHWAYS — image cards that flip from portrait to landscape
   ========================================================================== */
.sfs-paths { background: var(--sfs-paper); position: relative; overflow: hidden; }
.sfs-paths__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; margin-bottom: 58px; flex-wrap: wrap;
}
.sfs-paths__note { max-width: 36ch; color: var(--sfs-ink-70); font-size: .98rem; }

/* Track height is a fixed constant — deliberately NOT reactive to hover.
   An earlier version shrank it via :has(.sfs-path:hover) so the row would
   "settle" into a shorter banner on hover, but that made every card's own
   height a function of its own hover state. Whichever card the pointer was
   over would retract its bottom edge upward as a direct consequence of
   being hovered; entering from below, the edge could retreat past the
   pointer mid-transition, dropping :hover, which grew the track back,
   re-triggering hover, and so on — a self-sustaining feedback loop the
   user saw as rapid vibrating/blinking. Height now never changes, so a
   card's own hover state can never alter the box that hover is measured
   against. The portrait-to-landscape reshape still happens via flex-grow
   (width) alone, which only ever grows the hovered card *outward* from
   wherever the pointer already is — that can't push the pointer out. */
.sfs-paths__track {
  height: 620px;
  display: flex; align-items: stretch; gap: 20px;
}

.sfs-path {
  position: relative; overflow: hidden;
  flex: 1 1 0; min-width: 0;
  border-radius: 20px;
  background: var(--sfs-navy);
  display: block;
  /* flex-grow is what actually reshapes the card: at rest every card carries
     equal weight (so equal narrow columns, tall since the track's own
     height is fixed at 620px); on hover one card's weight jumps far past
     its siblings', so it claims most of the row's width — turning tall and
     narrow into short-relative-to-width, i.e. landscape — while they're
     squeezed toward a sliver. Height itself never changes. */
  transition: flex-grow .6s var(--sfs-ease-out), border-radius .6s var(--sfs-ease);
}
.sfs-path:hover, .sfs-path:focus-visible { flex-grow: 5.4; }
/* Keep the visible focus ring the rest of the site uses, just with more
   offset so it reads clearly against a rounded, photographic card. */
.sfs-path:focus-visible { outline-offset: 4px; }

.sfs-path__bg { position: absolute; inset: 0; }
.sfs-path__bg img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--sfs-ease-out);
}
.sfs-path:hover .sfs-path__bg img,
.sfs-path:focus-visible .sfs-path__bg img { transform: scale(1.06); }

.sfs-path__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(4, 20, 47, .92) 0%, rgba(4, 20, 47, .62) 34%, rgba(7, 29, 67, .28) 62%, rgba(7, 29, 67, .38) 100%);
  transition: background .6s var(--sfs-ease);
}

/* Oversized outline numeral, echoing the same device used in Student
   Development — quiet texture, not another flat colour block. */
.sfs-path__ghost {
  position: absolute; right: 4px; top: -18px;
  font-family: var(--sfs-display);
  font-size: 9rem; font-weight: 800; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .16);
  pointer-events: none; z-index: 1;
}

/* Spine — the always-visible identity of the card. At rest it runs
   vertically up the left edge (a book-spine reading, suited to the tall
   narrow shape); on hover/focus it rotates flat and moves to the top,
   suited to the new wide shape. transform (not writing-mode) is what makes
   this animate smoothly. */
.sfs-path__spine {
  position: absolute; left: 36px; bottom: 30px;
  display: flex; align-items: baseline; gap: 14px;
  transform-origin: left bottom;
  /* transform: rotate(-90deg) translate(0, 0); */
  white-space: nowrap;
  z-index: 2;
  transition: transform .6s var(--sfs-ease-out), left .6s var(--sfs-ease-out), bottom .6s var(--sfs-ease-out);
}
.sfs-path:hover .sfs-path__spine,
.sfs-path:focus-visible .sfs-path__spine {
  transform: rotate(0deg);
  left: 40px; bottom: auto;
  top: 26px;
}
.sfs-path__no {
  font-family: var(--sfs-display);
  font-size: 0.945rem; font-weight: 800; letter-spacing: .1em;
  color: var(--sfs-gold);
}
.sfs-path__name {
  font-family: var(--sfs-display);
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  font-weight: 700; letter-spacing: -.03em; line-height: 1;
  color: var(--sfs-white);
}

/* Panel — everything else (description, verified combinations, CTA). Closed
   at rest (clipped and faded), unfurls once the card has widened enough to
   hold it without crowding the spine. */
.sfs-path__panel {
  position: absolute; left: 40px; right: 30px; bottom: 26px;
  z-index: 2;
  display: flex; flex-direction: column; gap: 14px;
  opacity: 0; transform: translateY(14px);
  transition: opacity .45s var(--sfs-ease), transform .5s var(--sfs-ease-out);
  transition-delay: 0s;
}
.sfs-path:hover .sfs-path__panel,
.sfs-path:focus-visible .sfs-path__panel {
  opacity: 1; transform: translateY(0);
  transition-delay: .18s;
}
.sfs-path__desc {
  display: block; max-width: 62ch;
  color: rgba(255, 255, 255, .84); font-size: .92rem; line-height: 1.55;
}

/* Combinations as a wrapped chip row — compact enough to fit the shorter,
   wider card without pushing the description or CTA out of view. */
.sfs-path__combos { display: flex; flex-wrap: wrap; gap: 8px; }
.sfs-path__combo {
  display: inline-flex; align-items: baseline; gap: 7px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  font-size: 0.905rem; color: rgba(255, 255, 255, .82); line-height: 1.3;
}
/* No text-transform — the combination codes are published as written
   (HESPsy is mixed case) and must not be altered by styling. */
.sfs-path__combo b {
  font-family: var(--sfs-display); font-weight: 800;
  letter-spacing: .04em; color: var(--sfs-gold);
}

.sfs-path__cta {
  display: inline-flex; align-items: center; gap: 10px; width: fit-content;
  font-size: 0.885rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--sfs-white);
  padding-bottom: 3px; border-bottom: 1.5px solid var(--sfs-amber);
}
.sfs-path__cta svg { transition: transform .4s var(--sfs-ease-out); }
.sfs-path:hover .sfs-path__cta svg,
.sfs-path:focus-visible .sfs-path__cta svg { transform: translateX(5px); }

/* --------------------------------------------------------------------
   Below 1080px — and on any device that can't hover — the shape-shift
   interaction is dropped entirely. Every card opens to a fixed height,
   full width, single column, with its panel already visible: nothing a
   touch user could only ever see by hovering.

   any-hover (not hover) is deliberate: `hover: none` matches whenever the
   *primary* pointer can't hover, which is true on many real "bigger
   screen" setups — touch-enabled external monitors, hybrid touch+mouse
   displays — even though a perfectly good mouse is also available there.
   That was collapsing the 3-card hover layout to one column with no
   hover on exactly those big screens. any-hover: none only matches when
   NO available input can hover at all, i.e. genuinely touch-only.
   -------------------------------------------------------------------- */
@media (max-width: 1080px), (any-hover: none) {
  .sfs-paths__track { height: auto; flex-direction: column; }
  /* flex: 0 0 auto — NOT flex-grow:0 alone. The base rule's flex-basis:0
     applies to whichever axis is the flex main axis; in this column layout
     that's height, so a bare flex-basis:0 would force every card to exactly
     min-height and — combined with overflow:hidden — silently clip the
     spine/panel content beneath it, since the automatic content-based
     minimum size that would normally rescue this is suppressed whenever
     overflow isn't visible. flex-basis:auto lets height follow content. */
  .sfs-path { flex: 0 0 auto !important; min-height: 340px; border-radius: 18px; }
  .sfs-path__ghost { font-size: 6rem; }
  /* position: relative — NOT static. z-index only has an effect on a
     positioned element, so a plain "static" here would have silently
     dropped these out of their raised stacking order, letting the
     absolutely-positioned photo behind them paint on top and hide the text
     entirely, even though both still take up normal-flow space either way. */
  .sfs-path__spine {
    /* left/bottom must also be reset — under position:relative (unlike the
       absolute positioning this overrides) those desktop values act as an
       offset shift on top of normal flow, not a placement, and were
       pushing this 36px past the card's own edge, clipped by its
       overflow:hidden. The panel rule below already resets these; this one
       was missing the same reset. */
    position: relative; left: auto; bottom: auto;
    transform: none; display: flex; gap: 12px; align-items: baseline;
    padding: 24px 24px 0 34px;
  }
  .sfs-path__panel {
    position: relative; opacity: 1; transform: none;
    padding: 16px 24px 24px 34px; left: auto; right: auto; bottom: auto;
  }
  .sfs-path__desc { max-width: none; }
}
@media (max-width: 1080px) {
  .sfs-paths__track { gap: 24px; }
}

/* ==========================================================================
   13. ACADEMIC EXPERIENCE — sticky heading + numbered list
   ========================================================================== */
.sfs-exp { background: var(--sfs-white); }
.sfs-exp__grid { row-gap: 48px; }
.sfs-exp__aside { grid-column: 1 / span 5; }
@media (min-width: 1081px) {
  .sfs-exp__aside { position: sticky; top: 140px; align-self: start; }
}
.sfs-exp__figure { margin-top: 38px; aspect-ratio: 4 / 3; }
/* sticky sidebar heading — deliberately quieter than the full-width headings */
.sfs-exp__aside h2 { font-size: clamp(1.9rem, 3.1vw, 2.75rem); }
.sfs-exp__aside .sfs-lead { margin-top: 22px; }

.sfs-exp__list { grid-column: 7 / span 6; }
.sfs-exp__item {
  display: grid; grid-template-columns: 62px 1fr; gap: 22px;
  padding: 30px 0;
  border-top: 1px solid var(--sfs-line);
}
.sfs-exp__item:last-child { border-bottom: 1px solid var(--sfs-line); }
.sfs-exp__num {
  font-family: var(--sfs-display);
  font-size: 1.05rem; font-weight: 800;
  color: var(--sfs-amber-ink); letter-spacing: .02em;
  padding-top: 4px;
}
.sfs-exp__item h3 {
  font-size: 1.32rem; font-weight: 700; letter-spacing: -.025em;
  color: var(--sfs-ink); margin-bottom: 9px;
}
.sfs-exp__item p { color: var(--sfs-ink-70); font-size: .96rem; line-height: 1.68; }

@media (max-width: 1080px) {
  .sfs-exp__aside, .sfs-exp__list { grid-column: 1 / -1; }
}

/* ==========================================================================
   14. CAMPUS & FACILITIES — horizontal scroll band
   ========================================================================== */
.sfs-campus { background: var(--sfs-navy); background-image: var(--pat-grid-dark); color: var(--sfs-white); overflow: hidden; }
.sfs-campus__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 36px; flex-wrap: wrap; margin-bottom: 52px;
}
.sfs-campus__hint {
  font-size: 0.845rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(255, 255, 255, .5);
  display: inline-flex; align-items: center; gap: 10px;
}

.sfs-campus__viewport { position: relative; }
.sfs-campus__track {
  display: flex; gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.sfs-campus__track::-webkit-scrollbar { display: none; }

/* Prev/next + dots — same interaction pattern as the testimonials
   carousel, recoloured for this section's dark navy background. The
   track underneath is still a native scroll-snapping element (and still
   drag-to-scroll via sfs.js), so these buttons just drive that same
   scroll position; nothing about keyboard/touch scrolling changes. */
.sfs-campus__nav {
  position: absolute; top: 44%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
  color: var(--sfs-white); display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .25s var(--sfs-ease);
  backdrop-filter: blur(2px);
}
.sfs-campus__nav:hover { background: var(--sfs-amber); color: var(--sfs-navy); border-color: var(--sfs-amber); }
.sfs-campus__nav--prev { left: -8px; }
.sfs-campus__nav--next { right: -8px; }
.sfs-campus__dots { display: flex; justify-content: center; gap: 8px; margin-top: 26px; }
.sfs-campus__dot {
  width: 9px; height: 9px; border-radius: 50%; padding: 0;
  background: rgba(255, 255, 255, .25); border: 0; cursor: pointer;
  transition: background .25s var(--sfs-ease), transform .25s var(--sfs-ease);
}
.sfs-campus__dot.is-active { background: var(--sfs-amber); transform: scale(1.2); }

@media (max-width: 860px) {
  .sfs-campus__nav { display: none; }
}

.sfs-facility {
  flex: 0 0 clamp(250px, 30vw, 372px);
  scroll-snap-align: start;
  position: relative;
}
.sfs-facility__shot { aspect-ratio: 4 / 3.15; }
.sfs-facility__shot::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7, 29, 67, 0) 34%, rgba(4, 20, 47, .8) 100%);
  pointer-events: none;
}
.sfs-facility__cap {
  position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2;
}
.sfs-facility__cap h3 {
  font-size: 1.16rem; font-weight: 700; letter-spacing: -.02em;
}
.sfs-facility__cap p {
  margin-top: 6px; font-size: .925rem; color: rgba(255, 255, 255, .68); line-height: 1.5;
}
.sfs-facility__idx {
  position: absolute; top: 16px; left: 18px; z-index: 2;
  font-family: var(--sfs-display); font-size: 0.865rem; font-weight: 800;
  letter-spacing: .14em; color: var(--sfs-gold);
}

/* labs sub-list */
.sfs-campus__labs {
  margin-top: 46px; padding-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
}
.sfs-campus__labs dt {
  font-size: 0.845rem; font-weight: 800; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(255,255,255,.52); margin-right: 8px;
}
.sfs-campus__labs dd {
  margin: 0; padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, .22);
  font-size: 0.905rem; font-weight: 600;
}

/* ==========================================================================
   15. LIFE BEYOND THE CLASSROOM
   Editorial two-tier layout: intro + featured photo on top, then two more
   photographs alongside a compact "highlights" sidebar. Restructured to
   follow a supplied reference composition; content/images unchanged.
   ========================================================================== */
.sfs-life { background: var(--sfs-white); position: relative; overflow: hidden; }

/* small bracket marks bookending the section — quiet, not a literal frame */
.sfs-life__corner {
  position: absolute; width: 14px; height: 14px;
  background: var(--sfs-amber); z-index: 1;
}
.sfs-life__corner--tr { top: clamp(28px, 4vw, 48px); right: var(--sfs-bleed); }
.sfs-life__corner--bl { bottom: clamp(28px, 4vw, 48px); left: var(--sfs-bleed); }

/* ---- top row: intro copy + featured photograph ------------------------ */
.sfs-life__top { align-items: center; row-gap: 44px; margin-bottom: 64px; }

.sfs-life__intro { grid-column: 1 / span 5; }
.sfs-life__heading {
  font-family: var(--sfs-display);
  font-size: clamp(2.3rem, 4vw, 3.55rem);
  font-weight: 700; letter-spacing: -.03em; line-height: 1.06;
  color: var(--sfs-ink);
}
.sfs-life__heading em {
  font-style: italic; font-weight: 700; color: var(--sfs-amber-ink);
}
.sfs-life__intro .sfs-lead { margin-top: 22px; }
.sfs-life__cta { margin-top: 30px; }

.sfs-life__feature { grid-column: 6 / span 7; position: relative; }
.sfs-life__feature .sfs-figure { aspect-ratio: 16 / 10; border-radius: 4px; }

/* the caption card overlaps the photo's bottom-left corner, like a pull-tab */
.sfs-life__overlap {
  position: absolute; left: -34px; bottom: -34px; z-index: 2;
  max-width: 320px;
  background: var(--sfs-white);
  padding: 20px 26px;
  border-left: 3px solid var(--sfs-amber);
  box-shadow: 0 24px 50px -30px rgba(7, 29, 67, .35);
}
.sfs-life__overlap b {
  display: block; font-family: var(--sfs-display);
  font-size: 1.15rem; font-weight: 700; font-style: italic;
  letter-spacing: -.015em; color: var(--sfs-ink);
}
.sfs-life__overlap span {
  display: block; margin-top: 6px;
  font-size: .86rem; line-height: 1.5; color: var(--sfs-ink-50);
}

/* ---- gallery row: two photographs + highlights sidebar ----------------- */
.sfs-life__gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(220px, 260px);
  gap: 28px; align-items: start;
}
.sfs-life__shot .sfs-figure { aspect-ratio: 4 / 3; border-radius: 4px; }
.sfs-life__shot figcaption {
  margin-top: 16px; padding-left: 14px;
  border-left: 2px solid var(--sfs-amber);
}
.sfs-life__shot figcaption b {
  display: block; font-family: var(--sfs-display);
  font-size: 1rem; font-weight: 700; font-style: italic;
  letter-spacing: -.01em; color: var(--sfs-ink);
}
.sfs-life__shot figcaption span {
  display: block; margin-top: 4px;
  font-size: 0.945rem; color: var(--sfs-ink-50);
}

.sfs-life__side { padding-top: 4px; }
.sfs-life__side-label {
  font-size: 0.845rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--sfs-ink); padding-bottom: 12px;
  border-bottom: 2px solid var(--sfs-amber);
}
.sfs-life__side-list { margin-top: 18px; display: grid; gap: 13px; }
.sfs-life__side-list li {
  display: flex; align-items: center; gap: 11px;
  color: var(--sfs-blue);
}
.sfs-life__side-list svg { flex: none; }
.sfs-life__side-list span {
  font-size: 0.945rem; font-weight: 600; line-height: 1.3; color: var(--sfs-ink-70);
}
.sfs-life__note {
  margin: 26px 0 0 4px;
  font-family: var(--sfs-display);
  font-size: 1.3rem; font-weight: 700; font-style: italic; line-height: 1.15;
  letter-spacing: -.01em; color: var(--sfs-amber-ink);
  transform: rotate(-2deg);
}

@media (max-width: 1080px) {
  .sfs-life__intro, .sfs-life__feature { grid-column: 1 / -1; }
  .sfs-life__feature { margin-top: 8px; }
  .sfs-life__overlap { left: 0; max-width: 78%; }
  .sfs-life__gallery { grid-template-columns: 1fr 1fr; }
  .sfs-life__side { grid-column: 1 / -1; margin-top: 8px; }
  .sfs-life__side-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
  .sfs-life__note { grid-column: 1 / -1; margin-top: 18px; }
}
@media (max-width: 620px) {
  .sfs-life__gallery { grid-template-columns: 1fr; }
  .sfs-life__overlap {
    position: static; max-width: none; margin-top: 14px;
    box-shadow: none; padding: 0; border-left: none;
  }
  .sfs-life__side-list { grid-template-columns: 1fr; }
  .sfs-life__corner { display: none; }
}

/* ==========================================================================
   16. STUDENT DEVELOPMENT — oversized numerals
   ========================================================================== */
.sfs-growth {
  background: var(--sfs-blue);
  background-image: var(--pat-arc), var(--pat-dots-dark);
  background-position: 88% -30%, 0 0;
  background-repeat: no-repeat, repeat;
  color: var(--sfs-white);
  position: relative; overflow: hidden;
}
.sfs-growth__head { max-width: 40ch; margin-bottom: 62px; }
.sfs-growth__list { border-top: 1px solid rgba(255, 255, 255, .18); }
.sfs-growth__item {
  display: grid;
  grid-template-columns: minmax(96px, 148px) minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 34px; align-items: baseline;
  padding: 38px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  transition: padding-left .5s var(--sfs-ease-out);
}
.sfs-growth__item:hover { padding-left: 14px; }
.sfs-growth__no {
  font-family: var(--sfs-display);
  font-size: clamp(3rem, 6.2vw, 5.4rem);
  font-weight: 800; line-height: .82; letter-spacing: -.05em;
  color: transparent;
  -webkit-text-stroke: 1.6px rgba(255, 255, 255, .58);
  transition: color .5s var(--sfs-ease), -webkit-text-stroke-color .5s var(--sfs-ease);
}
.sfs-growth__item:hover .sfs-growth__no {
  color: var(--sfs-amber);
  -webkit-text-stroke-color: var(--sfs-amber);
}
.sfs-growth__item h3 {
  font-size: clamp(1.3rem, 2.1vw, 1.72rem);
  font-weight: 700; letter-spacing: -.026em;
}
.sfs-growth__item p { color: rgba(255, 255, 255, .74); font-size: .96rem; line-height: 1.68; }
.sfs-growth__item p b { color: var(--sfs-gold); font-weight: 700; }

@media (max-width: 860px) {
  .sfs-growth__item { grid-template-columns: 78px 1fr; row-gap: 12px; }
  .sfs-growth__item p { grid-column: 2; }
}

/* ==========================================================================
   16b. TESTIMONIALS
   ========================================================================== */
.sfs-testi { background: var(--sfs-paper); }
.sfs-testi__head { max-width: 46ch; margin-bottom: 48px; }
.sfs-testi__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.sfs-testi__card {
  position: relative;
  background: var(--sfs-white); border: 1px solid var(--sfs-line);
  border-radius: 16px; padding: 32px 28px 28px;
  display: flex; flex-direction: column; gap: 20px;
}
.sfs-testi__mark {
  font-family: var(--sfs-display); font-size: 2.6rem; font-weight: 800;
  line-height: 1; color: var(--sfs-amber);
}
.sfs-testi__quote {
  margin: 0; color: var(--sfs-ink); font-size: 1rem; line-height: 1.6;
  font-style: italic;
}
.sfs-testi__person { display: flex; align-items: center; gap: 12px; }
.sfs-testi__avatar {
  width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none;
}
.sfs-testi__avatar--placeholder {
  display: flex; align-items: center; justify-content: center;
  background: var(--sfs-navy); color: var(--sfs-gold);
  font-family: var(--sfs-display); font-weight: 800; font-size: 1.1rem;
}
.sfs-testi__person > span { display: flex; flex-direction: column; gap: 2px; }
.sfs-testi__name { font-family: var(--sfs-display); font-size: .96rem; color: var(--sfs-navy); }
.sfs-testi__role { font-size: .84rem; color: var(--sfs-ink-70); }

@media (max-width: 980px) {
  .sfs-testi__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .sfs-testi__grid { grid-template-columns: 1fr; }
}

/* Carousel variant — only used once there are more than 3 testimonials
   (see the $testiCarousel check in the Blade template). Cards keep the
   exact same size/shape as the static grid; only how they're laid out
   and moved between changes. Native horizontal scroll + scroll-snap does
   the sliding, so it's keyboard- and touch-scrollable for free — the
   prev/next buttons and dots are just a nicer way to drive that scroll. */
.sfs-testi__viewport--carousel { position: relative; padding: 0 56px; }
.sfs-testi__viewport--carousel .sfs-testi__grid {
  display: flex; grid-template-columns: none;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  cursor: grab; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.sfs-testi__viewport--carousel .sfs-testi__grid::-webkit-scrollbar { display: none; }
.sfs-testi__viewport--carousel .sfs-testi__card {
  flex: 0 0 calc((100% - 48px) / 3); scroll-snap-align: start;
}
.sfs-testi__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--sfs-white); border: 1px solid var(--sfs-line);
  color: var(--sfs-navy); display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .25s var(--sfs-ease), color .25s var(--sfs-ease);
}
.sfs-testi__nav:hover { background: var(--sfs-navy); color: var(--sfs-white); }
.sfs-testi__nav--prev { left: 0; }
.sfs-testi__nav--next { right: 0; }
.sfs-testi__dots { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.sfs-testi__dot {
  width: 9px; height: 9px; border-radius: 50%; padding: 0;
  background: var(--sfs-line); border: 0; cursor: pointer;
  transition: background .25s var(--sfs-ease), transform .25s var(--sfs-ease);
}
.sfs-testi__dot.is-active { background: var(--sfs-amber); transform: scale(1.2); }

@media (max-width: 980px) {
  .sfs-testi__viewport--carousel .sfs-testi__card { flex-basis: calc((100% - 24px) / 2); }
}
@media (max-width: 620px) {
  .sfs-testi__viewport--carousel { padding: 0 44px; }
  .sfs-testi__viewport--carousel .sfs-testi__card { flex-basis: 100%; }
  .sfs-testi__nav { width: 38px; height: 38px; }
}

/* ==========================================================================
   17. LEGACY TIMELINE + VERIFIED FACTS
   ========================================================================== */
.sfs-legacy { background: var(--sfs-white); }
.sfs-legacy__head { margin-bottom: 64px; max-width: 46ch; }

.sfs-legacy__track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  position: relative;
}
.sfs-legacy__track::before {
  content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 1px;
  background: repeating-linear-gradient(90deg, var(--sfs-line) 0 8px, transparent 8px 16px);
}
.sfs-moment { position: relative; padding-top: 46px; }
.sfs-moment::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 13px; height: 13px;
  background: var(--sfs-white);
  border: 2.5px solid var(--sfs-blue);
  border-radius: 50%;
}
.sfs-moment--now::before { background: var(--sfs-amber); border-color: var(--sfs-amber); }
.sfs-moment__year {
  font-family: var(--sfs-display);
  font-size: clamp(1.9rem, 3.1vw, 2.65rem);
  font-weight: 800; letter-spacing: -.04em; line-height: 1;
  color: var(--sfs-blue);
}
.sfs-moment--now .sfs-moment__year { color: var(--sfs-amber-ink); }
.sfs-moment p {
  margin-top: 14px; font-size: .93rem; line-height: 1.66; color: var(--sfs-ink-70);
  max-width: 30ch;
}

/* verified facts row — qualitative where numbers are not published */
.sfs-facts {
  margin-top: 84px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--sfs-line);
}
.sfs-fact {
  padding: 34px 28px;
  border-right: 1px solid var(--sfs-line);
  position: relative; overflow: hidden;
}
.sfs-fact:last-child { border-right: 0; }
.sfs-fact::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px;
  background: var(--sfs-amber);
  transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--sfs-ease-out);
}
.sfs-fact:hover::after { transform: scaleX(1); }
.sfs-fact dt {
  font-size: 0.805rem; font-weight: 800; letter-spacing: .18em;
  text-transform: uppercase; color: var(--sfs-ink-50); margin-bottom: 14px;
}
.sfs-fact dd {
  margin: 0; font-family: var(--sfs-display);
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  font-weight: 800; letter-spacing: -.035em; line-height: 1.02;
  color: var(--sfs-blue);
}
/* tabular-nums keeps digit width constant while the count-up below is
   animating, so the number doesn't jitter sideways as it changes */
.sfs-fact__num { font-variant-numeric: tabular-nums; }
.sfs-fact dd small {
  display: block; margin-top: 9px;
  font-family: var(--sfs-body); font-size: 0.945rem; font-weight: 500;
  letter-spacing: 0; color: var(--sfs-ink-70); line-height: 1.5;
}

@media (max-width: 980px) {
  .sfs-legacy__track { grid-template-columns: repeat(2, 1fr); row-gap: 42px; }
  .sfs-legacy__track::before { display: none; }
  .sfs-facts { grid-template-columns: repeat(2, 1fr); }
  .sfs-fact:nth-child(2n) { border-right: 0; }
  .sfs-fact:nth-child(-n+2) { border-bottom: 1px solid var(--sfs-line); }
}
@media (max-width: 560px) {
  .sfs-legacy__track { grid-template-columns: 1fr; }
  .sfs-facts { grid-template-columns: 1fr; }
  .sfs-fact { border-right: 0; border-bottom: 1px solid var(--sfs-line); }
  .sfs-fact:last-child { border-bottom: 0; }
}

/* ==========================================================================
   18. PRINCIPAL'S MESSAGE
   ========================================================================== */
.sfs-principal {
  background: var(--sfs-paper-warm);
  position: relative; overflow: hidden;
}
.sfs-principal__grid { align-items: center; row-gap: 48px; }

.sfs-principal__portrait { grid-column: 1 / span 4; position: relative; z-index: 0; }
.sfs-principal__portrait .sfs-figure { aspect-ratio: 3 / 3.6; }
/* solid brand block behind the portrait instead of a drop shadow */
.sfs-principal__block {
  position: absolute; left: -22px; bottom: -22px;
  width: 78%; height: 62%;
  background: var(--sfs-blue);
  background-image: var(--pat-dots-dark);
  z-index: -1;
}

.sfs-principal__copy { grid-column: 6 / span 7; }
.sfs-principal__quote {
  font-family: var(--sfs-display);
  font-size: clamp(1.45rem, 2.5vw, 2.15rem);
  font-weight: 600; line-height: 1.22; letter-spacing: -.03em;
  color: var(--sfs-ink);
  margin-top: 8px;
}
.sfs-principal__quote span { color: var(--sfs-blue); }
.sfs-principal__body { margin-top: 26px; display: grid; gap: 16px; }
.sfs-principal__body p { color: var(--sfs-ink-70); font-size: 1rem; line-height: 1.74; }

.sfs-principal__sign {
  margin-top: 34px; padding-top: 24px;
  border-top: 1px solid var(--sfs-line);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.sfs-principal__name {
  font-family: var(--sfs-display);
  font-size: 1.1rem; font-weight: 800; letter-spacing: -.02em; color: var(--sfs-ink);
}
.sfs-principal__role {
  font-size: 0.855rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--sfs-ink-50); margin-top: 5px;
}

@media (max-width: 1080px) {
  .sfs-principal__portrait { grid-column: 1 / span 6; }
  .sfs-principal__copy { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .sfs-principal__portrait { grid-column: 1 / -1; }
}

/* ==========================================================================
   19. NEWS & EVENTS
   ========================================================================== */
.sfs-news { background: var(--sfs-white); }
.sfs-news__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 36px; flex-wrap: wrap; margin-bottom: 54px;
}
.sfs-news__grid { row-gap: 42px; }

.sfs-news__feature { grid-column: 1 / span 7; }
.sfs-news__feature .sfs-figure { aspect-ratio: 16 / 9.4; }
.sfs-news__meta {
  display: flex; align-items: center; gap: 14px;
  margin-top: 26px;
  font-size: 0.835rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase;
}
.sfs-news__cat { color: var(--sfs-amber-ink); }
.sfs-news__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--sfs-ink-30); }
.sfs-news__date { color: var(--sfs-ink-50); }
.sfs-news__feature h3 {
  margin-top: 16px;
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  letter-spacing: -.032em; line-height: 1.08;
}
.sfs-news__feature p { margin-top: 16px; color: var(--sfs-ink-70); max-width: 52ch; }
.sfs-news__feature .sfs-link { margin-top: 24px; }

.sfs-news__list { grid-column: 9 / span 4; }
.sfs-story {
  display: block; padding: 24px 0;
  border-top: 1px solid var(--sfs-line);
  transition: padding-left .45s var(--sfs-ease-out);
}
.sfs-story:last-child { border-bottom: 1px solid var(--sfs-line); }
.sfs-story:hover { padding-left: 10px; }
.sfs-story h4 {
  font-family: var(--sfs-display);
  font-size: 1.08rem; font-weight: 700; letter-spacing: -.024em; line-height: 1.24;
  margin-top: 10px;
  transition: color .3s var(--sfs-ease);
}
.sfs-story:hover h4 { color: var(--sfs-blue); }
.sfs-story p { margin-top: 9px; font-size: .88rem; color: var(--sfs-ink-50); line-height: 1.6; }

@media (max-width: 1080px) {
  .sfs-news__feature, .sfs-news__list { grid-column: 1 / -1; }
}

/* ==========================================================================
   20. FINAL CTA
   ========================================================================== */
/* Modern circular pattern: the same concentric-ring motif (--pat-arc)
   already used elsewhere on the site, made prominent here instead of
   barely-visible, plus two large soft circular glows anchored to
   opposite corners. Pure background/decoration — no change to the
   section's markup, so every page that already uses .sfs-cta (Home,
   About, Contact, Faculty, Science, Commerce, Humanities, Courses)
   picks this up automatically without touching their own content. */
.sfs-cta {
  background: var(--sfs-navy);
  background-image: var(--pat-arc);
  background-position: 50% 120%;
  background-repeat: no-repeat;
  background-size: 900px 900px;
  color: var(--sfs-white);
  position: relative; overflow: hidden;
  text-align: center;
}
.sfs-cta::before {
  content: ""; position: absolute; left: -12%; top: -22%;
  width: 46vw; height: 46vw; max-width: 560px; max-height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(244, 165, 28, .22), transparent 68%);
  pointer-events: none;
}
.sfs-cta::after {
  content: ""; position: absolute; right: -14%; bottom: -26%;
  width: 52vw; height: 52vw; max-width: 620px; max-height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, .08), transparent 70%);
  pointer-events: none;
}
.sfs-cta__inner { position: relative; z-index: 1; display: grid; justify-items: center; }
.sfs-cta h2 { max-width: 16ch; }
.sfs-cta p { margin-top: 26px; max-width: 54ch; }
.sfs-cta__actions { margin-top: 42px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.sfs-cta__contact {
  margin-top: 52px; padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: center;
  font-size: .86rem; color: rgba(255, 255, 255, .72);
  width: 100%;
}
.sfs-cta__contact a { display: inline-flex; align-items: center; gap: 10px; transition: color .25s; }
.sfs-cta__contact a:hover { color: var(--sfs-gold); }
.sfs-cta__contact svg { color: var(--sfs-amber); flex: none; }

/* ==========================================================================
   21. FOOTER
   ========================================================================== */
.sfs-footer {
  background: var(--sfs-navy-deep);
  background-image: var(--pat-grid-dark);
  color: rgba(255, 255, 255, .68);
  font-size: .89rem;
}
.sfs-footer__top { padding-block: clamp(56px, 7vw, 92px); }
.sfs-footer__grid { row-gap: 46px; }

/* 3 + 2 + 2 + 2 + 3 = 12 — the whole footer sits on one row at desktop */
.sfs-footer__brand { grid-column: span 3; }
.sfs-footer__lockup { display: flex; align-items: center; gap: 14px; }
.sfs-footer__lockup img { width: 52px; height: 52px; object-fit: contain; flex: none; }
.sfs-footer__name {
  font-family: var(--sfs-display);
  font-size: 1.02rem; font-weight: 800; letter-spacing: -.02em;
  color: var(--sfs-white); text-transform: uppercase; line-height: 1.2;
}
.sfs-footer__motto {
  margin-top: 22px; font-size: 0.845rem; font-weight: 800;
  letter-spacing: .2em; text-transform: uppercase; color: var(--sfs-gold);
}
.sfs-footer__addr { margin-top: 20px; line-height: 1.85; font-style: normal; }
.sfs-footer__addr a:hover { color: var(--sfs-gold); }

.sfs-footer__col { grid-column: span 2; }
.sfs-footer__col--wide { grid-column: span 3; }
.sfs-footer__h {
  font-size: 0.835rem; font-weight: 800; letter-spacing: .18em;
  text-transform: uppercase; color: var(--sfs-white); margin-bottom: 20px;
}
.sfs-footer__col li { margin-bottom: 11px; }
.sfs-footer__col a { transition: color .25s var(--sfs-ease), padding-left .3s var(--sfs-ease-out); display: inline-block; }
.sfs-footer__col a:hover { color: var(--sfs-gold); padding-left: 5px; }

.sfs-footer__bar {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-block: 26px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  font-size: .925rem; color: rgba(255, 255, 255, .5);
}
.sfs-footer__bar a:hover { color: var(--sfs-gold); }

@media (max-width: 1080px) {
  .sfs-footer__brand { grid-column: 1 / -1; }
  .sfs-footer__col { grid-column: span 4; }
  .sfs-footer__col--wide { grid-column: span 4; }
}
@media (max-width: 620px) {
  .sfs-footer__col, .sfs-footer__col--wide { grid-column: 1 / -1; }
  .sfs-footer__bar { justify-content: flex-start; }
}

/* Back-to-top */
.sfs-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  width: 48px; height: 48px;
  background: var(--sfs-blue); color: #fff;
  border: 0; cursor: pointer;
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .35s var(--sfs-ease), transform .35s var(--sfs-ease-out), visibility .35s, background-color .3s;
}
.sfs-top.is-on { opacity: 1; visibility: visible; transform: none; }
.sfs-top:hover { background: var(--sfs-amber); color: var(--sfs-navy); }

/* ==========================================================================
   ADMISSIONS TICKER (home) — slim scrolling bar, replaces the admissions band
   ========================================================================== */
.sfs-tick { background: #0D306C; color: var(--sfs-white); overflow: hidden; display: flex; align-items: stretch; }
.sfs-tick__tag { flex: none; display: flex; align-items: center; padding: 0 clamp(16px, 2.4vw, 34px); background: var(--sfs-amber); color: var(--sfs-navy-deep); font-size: .86rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.sfs-tick__view { flex: 1 1 auto; min-width: 0; overflow: hidden; display: flex; }
.sfs-tick__track { flex: none; display: flex; width: max-content; animation: sfs-tick 80s linear infinite; }
.sfs-tick__group { flex: none; display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.sfs-tick__group li { display: inline-flex; align-items: center; gap: clamp(14px, 2vw, 26px); padding-block: 13px; padding-right: clamp(14px, 2vw, 26px); font-size: clamp(.86rem, 1.05vw, 1rem); font-weight: 600; letter-spacing: .02em; white-space: nowrap; }
.sfs-tick__group li::after { content: ""; flex: none; width: 8px; height: 8px; background: var(--sfs-gold); transform: rotate(45deg); }
.sfs-tick__group b { color: var(--sfs-gold); font-weight: 800; }

@keyframes sfs-tick { to { transform: translateX(-50%); } }
@media (max-width: 720px) {
  .sfs-tick__tag { font-size: 0.865rem; letter-spacing: .1em; }
  .sfs-tick__group li { padding-block: 11px; }
  .sfs-tick__track { animation-duration: 64s; }
}
@media (prefers-reduced-motion: reduce) {
  .sfs-tick__view { overflow-x: auto; }
  .sfs-tick__track { animation: none; }
  .sfs-tick__group[aria-hidden="true"] { display: none; }
}

/* ---- top-level nav items that only open a dropdown (About, Academics,
   Toppers) -- a <button>, not a link, styled identically to .sfs-menu__link ---- */
.sfs-menu__link--group {
  appearance: none; -webkit-appearance: none;
  background: none; border: 0; border-radius: 0; box-shadow: none;
  font-family: inherit; text-transform: uppercase; cursor: pointer;
}
/* click/tap fallback for pointers that do not hover -- see nav-dropdown.js,
   which toggles this class on the group buttons click */
.sfs-menu__item.is-open .sfs-drop {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.sfs-menu__item.is-open .sfs-menu__chev { transform: rotate(180deg); }
