/* === FOUNDATION — refined, microinteractions, scroll reveals === */

.fs-root {
  background: var(--sand);
  color: var(--teal-ink);
  font-family: var(--sans);
  min-height: 100%;
  overflow-x: hidden;
}

/* Reveal animation primitive */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms cubic-bezier(.2,.7,.2,1), transform 700ms cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }

/* Scroll progress (top of page) */
.fs-scroll-bar {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  background: var(--clay);
  z-index: 60;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 80ms linear;
}

/* === TYPE === */
.fs-h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 6.6vw, 96px);
  line-height: 1;
  letter-spacing: -0.028em;
  margin: 16px 0 28px;
  color: var(--teal-ink);
}
.fs-h1-line {
  display: block;
  overflow: hidden;
}
.fs-h1 em {
  font-style: italic;
  color: var(--teal);
  position: relative;
}
.fs-h1 em::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0.04em;
  height: 0.06em;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: left;
  animation: fs-underline 1200ms cubic-bezier(.2,.7,.2,1) 700ms forwards;
}
@keyframes fs-underline { to { transform: scaleX(0.18); } }

.fs-h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 3.8vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.024em;
  margin: 12px 0 0;
  color: var(--teal-ink);
}
.fs-h2 em { font-style: italic; color: var(--teal); }

.fs-lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--teal-ink);
  max-width: 540px;
  margin: 0 0 36px;
  opacity: 0.85;
  text-wrap: pretty;
}

.fs-section-sub {
  font-size: 17px;
  line-height: 1.55;
  color: var(--teal-ink);
  opacity: 0.75;
  max-width: 560px;
  margin: 16px 0 0;
}

/* === BUTTONS === */
.fs-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--clay);
  color: var(--sand);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 28px;
  border-radius: 999px;
  border: none;
  position: relative;
  overflow: hidden;
  transition: background 220ms ease, transform 220ms ease, box-shadow 220ms ease;
  box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset, 0 8px 24px -12px rgba(199,90,42,0.55);
}
.fs-btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.18) 50%, transparent 70%);
  transform: translateX(-110%);
  transition: transform 600ms cubic-bezier(.2,.7,.2,1);
}
.fs-btn-primary:hover:not(:disabled) {
  background: var(--clay-deep);
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset, 0 12px 28px -10px rgba(199,90,42,0.65);
}
.fs-btn-primary:hover:not(:disabled)::before { transform: translateX(110%); }
.fs-btn-primary:active:not(:disabled) { transform: translateY(0); }
.fs-btn-primary:disabled { opacity: 0.4; cursor: not-allowed; }
.fs-btn-primary svg { transition: transform 220ms ease; }
.fs-btn-primary:hover:not(:disabled) svg { transform: translateX(2px); }
.fs-btn-lg { padding: 20px 36px; font-size: 14px; }

.fs-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--teal);
  border: 1px solid var(--teal);
  border-radius: 8px;
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 500;
  transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}
.fs-btn-secondary:hover {
  background: var(--teal);
  color: var(--sand);
  transform: translateY(-1px);
}
.fs-btn-secondary svg { transition: transform 220ms ease; }
.fs-btn-secondary:hover svg { transform: translate(2px, -2px); }

.fs-btn-pill-sm {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-ink);
  color: var(--sand);
  border-radius: 999px;
  padding: 9px 16px 9px 18px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  transition: background 220ms ease, transform 220ms ease;
}
.fs-btn-pill-sm:hover { background: var(--teal-deep); transform: translateY(-1px); }
.fs-btn-pill-sm svg { transition: transform 220ms ease; }
.fs-btn-pill-sm:hover svg { transform: translateX(2px); }

/* === BRAND MARK === */
.fs-mark {
  display: inline-block;
  text-decoration: none;
  line-height: 0;
}
.fs-mark-img {
  display: block;
  height: 44px;
  width: auto;
  transition: opacity 200ms ease;
}
.fs-mark:hover .fs-mark-img { opacity: 0.82; }

/* === NAV === */
.fs-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--sand);
  border-bottom: 1px solid transparent;
  transition: backdrop-filter 220ms ease, background 220ms ease, border-color 220ms ease;
}
.fs-nav.is-scrolled {
  background: rgba(236, 224, 204, 0.85);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--sand-muted);
}
.fs-nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 18px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.fs-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.fs-nav-links > a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--teal-ink);
  opacity: 0.78;
  transition: opacity 200ms ease;
  text-decoration: none;
  padding: 4px 0;
}
.fs-nav-links > a:hover { opacity: 1; }
.fs-nav-underline {
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 320ms cubic-bezier(.2,.7,.2,1);
}
.fs-nav-links > a:hover .fs-nav-underline {
  transform: scaleX(1);
  transform-origin: left;
}

/* === HERO === */
.fs-hero {
  max-width: 1320px;
  margin: 0 auto;
  padding: 96px 48px 0;
  position: relative;
}
.fs-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-bottom: 80px;
}
.fs-hero-eye {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.fs-eye-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--clay);
  position: relative;
}
.fs-eye-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--clay);
  animation: fs-pulse 2s ease-out infinite;
}
@keyframes fs-pulse {
  0% { opacity: 0.6; transform: scale(0.6); }
  100% { opacity: 0; transform: scale(1.6); }
}

.fs-hero-cta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

.fs-hero-figure-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.fs-hero-figure {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  background: transparent;
  border: none;
  box-shadow: none;
}
.fs-hero-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fs-hero-map svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
/* Hide decorative water/wave marks */
.fs-hero-map svg path[fill="#78CCFB"],
.fs-hero-map svg path[fill="#ACBFCD"],
.fs-hero-map svg path[fill="#CAD9E4"],
.fs-hero-map svg path[fill="#93B7CB"],
.fs-hero-map svg path[fill="#CCCACF"] {
  display: none;
}
.fs-hero-figure-tag {
  position: absolute;
  left: 0;
  bottom: -4px;
  z-index: 2;
  background: var(--sand);
  border: 1px solid var(--sand-muted);
  padding: 6px 11px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--teal-deep);
  pointer-events: none;
  border-radius: 999px;
}
.fs-hero-figure-tag .mono { font-family: var(--mono); color: var(--clay); letter-spacing: 0.06em; }
.fs-hero-figure-corners span {
  position: absolute;
  width: 14px; height: 14px;
  border: 1px solid var(--clay);
}
.fs-hero-figure-corners span:nth-child(1) { top: 8px; left: 8px; border-right: none; border-bottom: none; }
.fs-hero-figure-corners span:nth-child(2) { top: 8px; right: 8px; border-left: none; border-bottom: none; }
.fs-hero-figure-corners span:nth-child(3) { bottom: 8px; left: 8px; border-right: none; border-top: none; }
.fs-hero-figure-corners span:nth-child(4) { bottom: 8px; right: 8px; border-left: none; border-top: none; }

/* Hero marquee */
.fs-hero-marquee {
  border-top: 1px solid var(--sand-muted);
  border-bottom: 1px solid var(--sand-muted);
  padding: 18px 0;
  overflow: hidden;
  background: var(--sand-soft);
  margin: 0 -48px;
}
.fs-marquee-track {
  display: flex;
  gap: 32px;
  animation: fs-marquee 40s linear infinite;
  width: max-content;
}
.fs-marquee-row {
  display: flex;
  gap: 32px;
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  color: var(--teal-deep);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.fs-marquee-row > span:nth-child(2n) { color: var(--clay); font-style: normal; }
@keyframes fs-marquee { to { transform: translateX(-50%); } }

/* === STATS === */
.fs-stats-strip {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--sand-muted);
}
.fs-stat {
  padding: 36px 28px;
  border-right: 1px solid var(--sand-muted);
  position: relative;
}
.fs-stat:first-child { border-left: 1px solid var(--sand-muted); }
.fs-stat::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 1px;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 600ms cubic-bezier(.2,.7,.2,1);
}
.fs-stat:hover::before { transform: scaleX(1); }
.fs-stat-num {
  font-family: var(--serif);
  font-size: 60px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.028em;
  color: var(--teal-deep);
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.fs-stat-suffix {
  font-size: 36px;
  color: var(--clay);
}

/* === SLAB === */
.fs-slab {
  background: var(--teal);
  color: var(--cream-90);
  padding: 140px 48px;
  position: relative;
  overflow: hidden;
}
.fs-slab-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(700px 500px at 90% 20%, rgba(31,53,54,0.25), transparent 60%),
    radial-gradient(600px 600px at 0% 100%, rgba(31,53,54,0.4), transparent 60%);
}
.fs-slab-inner { max-width: 1320px; margin: 0 auto; position: relative; }
.fs-slab-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: center;
}
.eyebrow.on-teal { color: var(--cream-70); }
.fs-slab-text {
  font-family: var(--serif);
  font-size: clamp(32px, 3.6vw, 56px);
  line-height: 1.16;
  letter-spacing: -0.022em;
  margin: 24px 0 48px;
  color: var(--cream-90);
  font-weight: 400;
  text-wrap: pretty;
}
.fs-slab-text em {
  font-style: italic;
  color: var(--clay);
  position: relative;
}
.fs-slab-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--cream-20);
  font-size: 14px;
  color: var(--cream-70);
  flex-wrap: wrap;
  gap: 16px;
}
.fs-slab-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sand);
  text-decoration: none;
  transition: color 200ms ease;
}
.fs-slab-link:hover { color: var(--clay); }
.fs-slab-link .fs-arrow { transition: transform 220ms ease; }
.fs-slab-link:hover .fs-arrow { transform: translateX(4px); }
.fs-slab-figure {
  position: relative;
  aspect-ratio: 1 / 1;
  background: transparent;
  border: none;
  box-shadow: none;
}
.fs-slab-figure image-slot { width: 100%; height: 100%; display: block; }
.fs-slab-figure-overlay {
  position: absolute;
  inset: 0;
  background: none;
  pointer-events: none;
}

/* === SECTION HEAD === */
.fs-section-head { margin-bottom: 56px; }

/* === PROGRAMS === */
.fs-programs {
  max-width: 1320px;
  margin: 0 auto;
  padding: 70px 48px 140px;
}
.fs-programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.fs-program-card {
  background: var(--sand-soft);
  border: 1px solid var(--sand-muted);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 320ms ease, transform 320ms cubic-bezier(.2,.7,.2,1), box-shadow 320ms ease;
  position: relative;
}
.fs-program-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  pointer-events: none;
  box-shadow: 0 0 0 0 rgba(199,90,42,0);
  transition: box-shadow 320ms ease;
}
.fs-program-card:hover, .fs-program-card.is-active {
  border-color: var(--teal-deep);
  transform: translateY(-4px);
  box-shadow: 0 24px 60px -32px rgba(31,53,54,0.4);
}
.fs-program-img {
  position: relative;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid var(--sand-muted);
  background: var(--sand);
  overflow: hidden;
}
.fs-program-photo {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 600ms cubic-bezier(.2,.7,.2,1);
}
.fs-program-card:hover .fs-program-photo { transform: scale(1.04); }
.fs-program-num-overlay {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  color: var(--sand);
  background: var(--teal-ink);
  padding: 5px 10px;
  border-radius: 999px;
  z-index: 2;
}
.fs-program-inner { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.fs-program-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.18;
  letter-spacing: -0.018em;
  margin: 0 0 14px;
  color: var(--teal-ink);
}
.fs-program-body {
  font-size: 15px;
  line-height: 1.55;
  color: var(--teal-ink);
  opacity: 0.78;
  margin: 0 0 24px;
  flex: 1;
}
.fs-program-stat {
  padding-top: 20px;
  border-top: 1px solid var(--sand-muted);
  margin-bottom: 16px;
}
.fs-program-stat-inner {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.fs-program-num-big {
  font-family: var(--serif);
  font-size: 36px;
  line-height: 1;
  color: var(--teal-deep);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.fs-program-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--clay);
  letter-spacing: 0.02em;
  text-decoration: none;
  align-self: flex-start;
  transition: gap 220ms ease;
}
.fs-program-link:hover { gap: 10px; }

.fs-arrow { display: inline-block; transition: transform 220ms ease; }

/* === ARTICLES === */
.fs-articles {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 48px 140px;
}
.fs-articles-head {
  display: flex !important;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 24px;
}
.fs-articles-tabs {
  display: flex;
  gap: 4px;
  background: var(--sand-soft);
  border: 1px solid var(--sand-muted);
  border-radius: 999px;
  padding: 4px;
  position: relative;
}
.fs-art-tab {
  position: relative;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--teal-deep);
  border-radius: 999px;
  background: transparent;
  border: none;
  text-transform: capitalize;
  transition: color 220ms ease;
  z-index: 1;
}
.fs-art-tab:hover { color: var(--teal-ink); }
.fs-art-tab.is-on {
  color: var(--sand);
  background: var(--teal-ink);
}

.fs-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  animation: fs-fade-up 600ms cubic-bezier(.2,.7,.2,1);
}
@keyframes fs-fade-up {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.fs-article {
  background: var(--sand-soft);
  border: 1px solid var(--sand-muted);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 280ms ease, transform 280ms cubic-bezier(.2,.7,.2,1), box-shadow 280ms ease;
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.fs-article:hover {
  border-color: var(--teal-deep);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -24px rgba(31,53,54,0.28);
}

/* Uniform card image — all articles */
.fs-article-img {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--sand);
  border-bottom: 1px solid var(--sand-muted);
  overflow: hidden;
  flex-shrink: 0;
}
.fs-article-img .fs-article-thumb {
  width: 100%; height: 100%; display: block;
  object-fit: cover;
  object-position: center center;
  transition: transform 700ms cubic-bezier(.2,.7,.2,1);
}
.fs-article:hover .fs-article-img .fs-article-thumb { transform: scale(1.04); }
.fs-article-img.fs-article-img--no-thumb { background: linear-gradient(140deg, #2a6265 0%, #1d4a4c 55%, #3F8487 100%); }
.fs-article-tag {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--clay);
  color: var(--sand);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  z-index: 2;
}
.fs-tag-fld { background: var(--teal-deep); }
.fs-tag-gov { background: var(--teal-ink); }
.fs-tag-res { background: var(--clay); }
.fs-tag-blk { background: #1a1a2e; }
.fs-tag-ai  { background: #2d5a3d; }

.fs-article-feat .fs-article-img.fs-article-img--no-thumb { background: linear-gradient(140deg, #2a6265 0%, #1d4a4c 55%, #3F8487 100%); }
.fs-article-img-placeholder {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
}
.fs-article-img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 70%, rgba(199,90,42,0.25) 0%, transparent 65%);
}
.fs-article-img-initial {
  font-family: var(--serif);
  font-size: clamp(100px, 16vw, 180px);
  font-weight: 700;
  color: rgba(255,255,255,0.12);
  line-height: 1;
  user-select: none;
  position: relative;
}

.fs-article-body { padding: 32px; }
.fs-article-meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--teal-deep);
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.fs-article-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
  color: var(--teal-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fs-article-excerpt {
  font-size: 14px;
  line-height: 1.5;
  color: var(--teal-ink);
  opacity: 0.78;
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fs-article-author {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--sand-muted);
}
.fs-article-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--teal-deep);
  flex-shrink: 0;
}
.fs-article-avatar image-slot { width: 100%; height: 100%; display: block; }
.fs-article-author-name { font-size: 13px; font-weight: 500; color: var(--teal-ink); }
.fs-article-author-role { font-size: 12px; color: var(--teal-deep); margin-top: 2px; }
.fs-article-cta {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--clay);
  text-decoration: none;
  transition: gap 220ms ease;
}
.fs-article-cta:hover { gap: 10px; }

.fs-article-side {
  display: flex;
  flex-direction: column;
}
.fs-article-side-img {
  position: relative;
  background: var(--sand);
  border-bottom: 1px solid var(--sand-muted);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
}
.fs-article-side-img image-slot,
.fs-article-side-img .fs-article-thumb {
  width: 100%; height: 100%; display: block;
  transition: transform 600ms cubic-bezier(.2,.7,.2,1);
}
.fs-article-side-img .fs-article-thumb { object-fit: cover; object-position: left top; }
.fs-article-side-img.fs-article-side-img--no-thumb { background: linear-gradient(160deg, #2a6265 0%, #1d4a4c 100%); }
.fs-article-side-placeholder {
  width: 100%; height: 100%;
  display: grid; place-items: center;
}
.fs-article-side-placeholder span {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 700;
  color: rgba(255,255,255,0.2);
  line-height: 1;
}
.fs-article-side:hover .fs-article-side-img image-slot,
.fs-article-side:hover .fs-article-side-img .fs-article-thumb { transform: scale(1.06); }
.fs-article-side-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.fs-article-side-body .fs-article-tag {
  position: static;
  align-self: flex-start;
}
.fs-article-side-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--teal-ink);
}
.fs-articles-foot {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.fs-pagination {
  display: flex;
  gap: 8px;
  align-items: center;
}
.fs-page-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--sand-muted);
  background: var(--sand-soft);
  color: var(--teal-deep);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease, transform 200ms ease;
  cursor: pointer;
}
.fs-page-btn:hover {
  border-color: var(--teal);
  color: var(--teal-ink);
  transform: translateY(-1px);
}
.fs-page-btn.is-on {
  background: var(--teal-ink);
  border-color: var(--teal-ink);
  color: var(--sand);
}
.fs-page-btn.fs-page-arrow.is-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}
.fs-page-btn.fs-page-arrow.is-disabled:hover {
  border-color: var(--sand-muted);
  color: var(--teal-deep);
  transform: none;
}

/* === SOCIAL WALL === */
.fs-wall {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 48px 140px;
}
.fs-wall-head {
  display: flex !important;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 24px;
}
.fs-wall-handles { display: flex; gap: 20px; flex-wrap: wrap; }
.fs-handle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--teal-deep);
  letter-spacing: 0.04em;
  cursor: pointer;
  text-decoration: none;
  transition: color 220ms ease;
}
.fs-handle:hover { color: var(--clay); }
.fs-handle-ico {
  width: 24px; height: 24px;
  display: grid; place-items: center;
  background: var(--teal-ink);
  color: var(--sand);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 13px;
  transition: transform 300ms cubic-bezier(.34,1.56,.64,1);
}
.fs-handle:hover .fs-handle-ico { transform: scale(1.15) rotate(-8deg); }
.fs-handle-ig { background: transparent; }
.fs-handle-fc { background: var(--teal); }
.fs-handle-yt { background: transparent; }
.fs-handle-li { background: transparent; }

.fs-wall-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.fs-wall-card {
  border: 1px solid var(--sand-muted);
  border-radius: 14px;
  overflow: hidden;
  background: var(--sand-soft);
  display: flex;
  flex-direction: column;
  transition: transform 280ms cubic-bezier(.2,.7,.2,1), border-color 280ms ease, box-shadow 280ms ease;
}
.fs-wall-card:hover {
  transform: translateY(-3px);
  border-color: var(--teal-deep);
  box-shadow: 0 16px 40px -24px rgba(31,53,54,0.28);
}
.fs-wall-card.wide { grid-column: span 2; }

.fs-wall-photo .fs-wall-img {
  flex: 1;
  min-height: 280px;
  background: var(--sand);
  overflow: hidden;
}
.fs-wall-photo .fs-wall-img image-slot {
  width: 100%; height: 100%; display: block;
  transition: transform 700ms cubic-bezier(.2,.7,.2,1);
}
.fs-wall-photo:hover .fs-wall-img image-slot { transform: scale(1.04); }
.fs-wall-photo-meta {
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--sand);
  border-top: 1px solid var(--sand-muted);
  font-size: 13px;
  color: var(--teal-ink);
}
.fs-wall-photo-meta .mono {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--clay);
  letter-spacing: 0.06em;
}

.fs-wall-post { padding: 0; background: var(--sand); }
.fs-post-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px 12px;
}
.fs-post-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--teal-deep);
  display: grid; place-items: center;
  color: var(--sand);
  font-family: var(--serif);
  font-size: 18px;
}
.fs-post-avatar image-slot { width: 100%; height: 100%; display: block; }
.fs-avatar-ig { background: var(--clay); }
.fs-avatar-nl { background: var(--teal-ink); }
.fs-post-id { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.fs-post-name { font-size: 14px; font-weight: 600; color: var(--teal-ink); }
.fs-post-handle { font-size: 12px; color: var(--teal-deep); opacity: 0.8; }
.fs-post-source {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--teal-deep);
  opacity: 0.7;
}
.fs-post-body {
  padding: 0 18px 16px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--teal-ink);
  margin: 0;
  flex: 1;
}
.fs-post-foot {
  padding: 12px 18px;
  display: flex;
  gap: 18px;
  border-top: 1px solid var(--sand-muted);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--teal-deep);
  letter-spacing: 0.04em;
}
.fs-post-foot span { transition: color 200ms; cursor: pointer; }
.fs-post-foot span:hover { color: var(--clay); }

.fs-post-ig .fs-post-img {
  aspect-ratio: 1 / 1;
  background: var(--sand-soft);
  border-top: 1px solid var(--sand-muted);
  border-bottom: 1px solid var(--sand-muted);
  overflow: hidden;
}
.fs-post-ig .fs-post-img image-slot {
  width: 100%; height: 100%; display: block;
  transition: transform 700ms cubic-bezier(.2,.7,.2,1);
}
.fs-post-ig:hover .fs-post-img image-slot { transform: scale(1.04); }
.fs-post-actions {
  display: flex;
  gap: 14px;
  padding: 12px 18px 4px;
  font-size: 13px;
  color: var(--teal-deep);
}
.fs-post-caption {
  padding: 8px 18px 16px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--teal-ink);
  margin: 0;
}
.fs-post-caption b { color: var(--teal-ink); margin-right: 6px; }

.fs-post-nl .fs-post-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.015em;
  line-height: 1.18;
  margin: 0 0 10px;
  padding: 0 18px;
  color: var(--teal-ink);
}

.fs-wall-quote {
  background: var(--teal);
  color: var(--cream-90);
  border-color: var(--teal-deep);
  padding: 28px;
  position: relative;
}
.fs-wall-quote .fs-quote-mark {
  font-family: var(--serif);
  font-size: 96px;
  line-height: 0.8;
  color: var(--clay);
  position: absolute;
  top: 8px; left: 18px;
}
.fs-wall-quote blockquote {
  margin: 36px 0 0;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--cream-90);
  font-style: italic;
  flex: 1;
}
.fs-wall-quote footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--cream-20);
}
.fs-quote-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--teal-deep);
  flex-shrink: 0;
}
.fs-quote-avatar image-slot { width: 100%; height: 100%; display: block; }
.fs-quote-name { font-size: 13px; font-weight: 600; color: var(--cream-90); }
.fs-quote-role { font-size: 12px; color: var(--cream-70); margin-top: 2px; }

.fs-wall-foot {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}
.fs-wall-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--clay);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  cursor: pointer;
  border-bottom: 1px solid var(--clay);
  padding-bottom: 4px;
  transition: gap 220ms ease;
}
.fs-wall-cta:hover { gap: 14px; }

/* === PARTNERS === */
.fs-partners {
  max-width: 1320px;
  margin: 0 auto;
  padding: 100px 48px 140px;
}
.fs-partners-ticker {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--sand-muted);
  border-bottom: 1px solid var(--sand-muted);
  margin-top: 48px;
}
.fs-partners-ticker::before,
.fs-partners-ticker::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 140px;
  z-index: 2;
  pointer-events: none;
}
.fs-partners-ticker::before { left: 0; background: linear-gradient(to right, var(--sand) 0%, transparent 100%); }
.fs-partners-ticker::after  { right: 0; background: linear-gradient(to left, var(--sand) 0%, transparent 100%); }

.fs-partners-track {
  display: flex;
  width: max-content;
  animation: fs-marquee 28s linear infinite;
}
.fs-partners-track:hover { animation-play-state: paused; }

@keyframes fs-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-33.333%); }
}

.fs-partner-item {
  display: grid;
  place-items: center;
  padding: 36px 56px;
  border-right: 1px solid var(--sand-muted);
  flex-shrink: 0;
}
.fs-partner-logo {
  height: 48px;
  max-width: 160px;
  width: auto;
  object-fit: contain;
  filter: saturate(0) brightness(0.3);
  transition: filter 300ms ease;
}
.fs-partner-item:hover .fs-partner-logo { filter: saturate(1) brightness(1); }

/* === TWEETS GRID === */
.fs-tweets-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.fs-tweet-wrap {
  display: flex;
  justify-content: center;
}
.fs-tweet-wrap .twitter-tweet {
  margin: 0 auto !important;
  width: 100% !important;
}

/* === COURSES === */
.fs-courses {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 48px 140px;
}
.fs-courses-head {
  display: flex !important;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
}
.fs-courses-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}

/* Featured playlist */
.fs-course-feat-wrap { display: flex; }
.fs-course-feat {
  display: flex;
  flex-direction: column;
  background: var(--sand-soft);
  border: 1px solid var(--sand-muted);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  flex: 1;
  transition: border-color 280ms ease, transform 280ms cubic-bezier(.2,.7,.2,1), box-shadow 280ms ease;
}
.fs-course-feat:hover {
  border-color: var(--teal-deep);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -24px rgba(31,53,54,0.28);
}
.fs-course-feat-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--teal-deep);
  border-bottom: 1px solid var(--sand-muted);
}
.fs-course-feat-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(.2,.7,.2,1);
}
.fs-course-feat:hover .fs-course-feat-img img { transform: scale(1.04); }
.fs-course-feat-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--teal-ink);
  color: var(--sand);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  z-index: 2;
}
.fs-course-play-btn {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,0.25);
  color: #fff;
  opacity: 0;
  transition: opacity 260ms ease;
}
.fs-course-feat:hover .fs-course-play-btn { opacity: 1; }
.fs-course-feat-body {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}
.fs-course-feat-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--teal-ink);
  margin: 0;
}
.fs-course-feat-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--clay);
  letter-spacing: 0.02em;
  margin-top: auto;
  transition: gap 220ms ease;
}
.fs-course-feat:hover .fs-course-feat-cta { gap: 10px; }

/* Side playlist stack */
.fs-course-side-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.fs-course-side {
  display: grid;
  grid-template-columns: 140px 1fr;
  background: var(--sand-soft);
  border: 1px solid var(--sand-muted);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 280ms ease, transform 280ms cubic-bezier(.2,.7,.2,1), box-shadow 280ms ease;
}
.fs-course-side:hover {
  border-color: var(--teal-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -16px rgba(31,53,54,0.25);
}
.fs-course-side-img {
  overflow: hidden;
  background: var(--teal-deep);
  border-right: 1px solid var(--sand-muted);
}
.fs-course-side-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(.2,.7,.2,1);
}
.fs-course-side:hover .fs-course-side-img img { transform: scale(1.06); }
.fs-course-side-body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}
.fs-course-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}
.fs-course-side-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--teal-ink);
}

/* === CTA === */
.fs-cta {
  max-width: 1100px;
  margin: 0 auto;
  padding: 140px 48px 160px;
  text-align: center;
  position: relative;
}
.fs-cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}
.fs-cta-bg span {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--sand-muted);
}
.fs-cta-bg span:nth-child(1) { width: 480px; height: 480px; top: 60px; left: 50%; transform: translateX(-50%); }
.fs-cta-bg span:nth-child(2) { width: 320px; height: 320px; top: 140px; left: 50%; transform: translateX(-50%); }
.fs-cta-bg span:nth-child(3) { width: 180px; height: 180px; top: 210px; left: 50%; transform: translateX(-50%); border-color: var(--clay); opacity: 0.4; }

.fs-cta-h {
  font-size: clamp(48px, 6.4vw, 92px) !important;
  margin-bottom: 24px !important;
}
.fs-cta-sub {
  font-size: 17px;
  color: var(--teal-ink);
  opacity: 0.78;
  margin: 0 0 40px;
}

/* === FOOTER === */
.fs-footer {
  background: var(--sand-soft);
  border-top: 1px solid var(--sand-muted);
  padding: 64px 48px 32px;
}
.fs-footer-grid {
  max-width: 1320px;
  margin: 0 auto 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px;
}
.fs-footer-brand p {
  margin: 16px 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--teal-ink);
  opacity: 0.7;
  max-width: 320px;
}
.fs-footer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--teal-deep);
  letter-spacing: 0.04em;
}
.fs-status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--clay);
  position: relative;
}
.fs-status-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid var(--clay);
  animation: fs-pulse 2.4s ease-out infinite;
}
.fs-footer ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fs-footer ul a {
  font-size: 14px;
  color: var(--teal-ink);
  opacity: 0.75;
  text-decoration: none;
  transition: opacity 200ms ease, color 200ms ease;
}
.fs-footer ul a:hover { opacity: 1; color: var(--teal-deep); }
.fs-footer-base {
  max-width: 1320px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--sand-muted);
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--teal-deep);
  letter-spacing: 0.05em;
}

/* === MODAL === */
.fs-modal-bg {
  position: fixed;
  inset: 0;
  background: rgba(31, 53, 54, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  z-index: 100;
  animation: fs-fade-bg 240ms ease;
  padding: 24px;
}
@keyframes fs-fade-bg { from { opacity: 0; } to { opacity: 1; } }

.fs-modal {
  background: var(--sand);
  border-radius: 16px;
  padding: 0;
  width: 480px;
  max-width: 100%;
  position: relative;
  border: 1px solid var(--sand-muted);
  box-shadow: 0 40px 80px -20px rgba(31,53,54,0.4);
  animation: fs-modal-in 380ms cubic-bezier(.2,.7,.2,1);
  overflow: hidden;
}
@keyframes fs-modal-in {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
.fs-modal-progress {
  height: 2px;
  background: var(--sand-muted);
  position: relative;
}
.fs-modal-progress-fill {
  position: absolute;
  inset: 0;
  background: var(--clay);
  transform-origin: left;
  transition: width 400ms cubic-bezier(.2,.7,.2,1);
}
.fs-modal-step {
  padding: 36px 36px 32px;
  animation: fs-step 320ms cubic-bezier(.2,.7,.2,1);
}
@keyframes fs-step { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }

.fs-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  color: var(--teal-deep);
  border: none;
  background: transparent;
  z-index: 2;
  transition: background 200ms ease, color 200ms ease, transform 200ms ease;
}
.fs-modal-close:hover { background: var(--sand-muted); color: var(--teal-ink); transform: rotate(90deg); }

.fs-modal-h {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 36px;
  letter-spacing: -0.022em;
  margin: 12px 0 12px;
  color: var(--teal-ink);
  line-height: 1.1;
}
.fs-modal-lede {
  font-size: 15px;
  line-height: 1.5;
  color: var(--teal-ink);
  opacity: 0.78;
  margin: 0 0 24px;
}
.fs-field {
  display: block;
  margin-bottom: 14px;
}
.fs-field span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 6px;
}
.fs-field input,
.fs-field select {
  width: 100%;
  background: var(--sand-soft);
  border: 1px solid var(--sand-muted);
  border-radius: 8px;
  padding: 13px 14px;
  font-size: 15px;
  font-family: var(--sans);
  color: var(--teal-ink);
  transition: border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
}
.fs-field input:focus,
.fs-field select:focus {
  outline: none;
  border-color: var(--teal);
  background: var(--sand);
  box-shadow: 0 0 0 4px rgba(63,132,135,0.12);
}
.fs-modal-btn { width: 100%; margin-top: 12px; justify-content: center; }
.fs-radio {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--sand-muted);
  border-radius: 10px;
  background: var(--sand-soft);
  margin-bottom: 8px;
  cursor: pointer;
  transition: border-color 220ms ease, background 220ms ease, transform 220ms ease;
}
.fs-radio:hover { border-color: var(--teal-deep); transform: translateX(2px); }
.fs-radio.is-on {
  border-color: var(--teal);
  background: var(--sand);
}
.fs-radio input { display: none; }
.fs-radio-title { font-size: 15px; font-weight: 500; color: var(--teal-ink); }
.fs-radio-sub { font-size: 13px; color: var(--teal-deep); margin-top: 2px; }
.fs-radio-check {
  margin-left: auto;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid var(--sand-muted);
  display: grid;
  place-items: center;
  color: transparent;
  background: transparent;
  transition: all 220ms cubic-bezier(.34,1.56,.64,1);
}
.fs-radio.is-on .fs-radio-check {
  background: var(--clay);
  color: var(--sand);
  border-color: var(--clay);
}
.fs-radio > div { flex: 1; }

.fs-receipt {
  background: var(--sand-soft);
  border: 1px solid var(--sand-muted);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 16px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fs-receipt > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 14px;
}

.fs-modal-success { text-align: center; }
.fs-modal-check {
  width: 64px; height: 64px;
  margin: 8px auto 16px;
  color: var(--teal);
  display: grid;
  place-items: center;
}
.fs-check-c {
  stroke-dasharray: 138;
  stroke-dashoffset: 138;
  animation: fs-draw 700ms cubic-bezier(.2,.7,.2,1) forwards;
}
.fs-check-p {
  stroke-dasharray: 36;
  stroke-dashoffset: 36;
  animation: fs-draw 400ms cubic-bezier(.2,.7,.2,1) 500ms forwards;
}
@keyframes fs-draw { to { stroke-dashoffset: 0; } }
.fs-modal-success .fs-modal-h { margin-top: 0; }
.fs-modal-success .fs-receipt { text-align: left; }


/* === BURGER === */
.fs-nav-burger {
  display: none;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--sand-muted);
  border-radius: 8px;
  position: relative;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: border-color 200ms ease;
}
.fs-nav-burger:hover { border-color: var(--teal); }
.fs-nav-burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--teal-ink);
  border-radius: 2px;
  transition: transform 280ms cubic-bezier(.2,.7,.2,1), opacity 200ms ease;
  transform-origin: center;
}
.fs-nav-burger.is-open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.fs-nav-burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.fs-nav-burger.is-open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.fs-nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 380ms cubic-bezier(.2,.7,.2,1), padding 280ms ease;
  background: var(--sand);
  border-bottom: 1px solid transparent;
}
.fs-nav-mobile.is-open {
  max-height: 480px;
  padding: 12px 24px 28px;
  border-bottom-color: var(--sand-muted);
}
.fs-nav-mobile a {
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--teal-ink);
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid var(--sand-muted);
  transition: color 200ms ease, padding-left 220ms ease;
}
.fs-nav-mobile a:hover { color: var(--clay); padding-left: 4px; }
.fs-nav-mobile .fs-btn-primary {
  margin-top: 16px;
  justify-content: center;
}

/* === RESPONSIVE === */

/* Tablet (≤960px) */
@media (max-width: 960px) {
  .fs-nav-inner { padding: 14px 24px; }
  .fs-nav-links { display: none; }
  .fs-nav-burger { display: flex; }
  .fs-nav-mobile { display: flex; }

  .fs-hero {
    padding: 48px 24px 0;
  }
  .fs-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 56px;
  }
  .fs-hero-figure-wrap { max-width: 480px; margin: 0 auto; width: 100%; }
  .fs-hero-marquee { margin: 0 -24px; }
  .fs-marquee-row { font-size: 18px; gap: 24px; }

  .fs-stats-strip {
    padding: 0 24px;
    grid-template-columns: 1fr 1fr;
  }
  .fs-stat { padding: 28px 20px; }
  .fs-stat:nth-child(1), .fs-stat:nth-child(2) { border-bottom: 1px solid var(--sand-muted); }
  .fs-stat:nth-child(2) { border-right: 1px solid var(--sand-muted); }
  .fs-stat-num { font-size: 44px; }
  .fs-stat-suffix { font-size: 26px; }

  .fs-slab { padding: 88px 24px; }
  .fs-slab-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .fs-slab-figure { max-width: 480px; }

  .fs-programs { padding: 48px 24px 88px; }
  .fs-programs-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .fs-articles { padding: 0 24px 88px; }
  .fs-articles-head { align-items: flex-start; }
  .fs-articles-grid { grid-template-columns: 1fr; }
  .fs-article-feat { grid-row: auto; }
  .fs-article-body { padding: 24px; }
  .fs-article-title { font-size: 24px; }

  .fs-wall { padding: 0 24px 88px; }
  .fs-wall-head { align-items: flex-start; }
  .fs-wall-handles { gap: 14px; }
  .fs-wall-grid {
    grid-template-columns: 1fr 1fr;
  }
  .fs-wall-card.wide { grid-column: span 2; }

  .fs-partners { padding: 72px 0 88px; }
  .fs-courses { padding: 0 24px 88px; }
  .fs-courses-grid { grid-template-columns: 1fr; }
  .fs-course-side { grid-template-columns: 120px 1fr; }
  .fs-tweets-grid { grid-template-columns: 1fr; gap: 16px; }

  .fs-cta { padding: 88px 24px 100px; }
  .fs-cta-bg span:nth-child(1) { width: 360px; height: 360px; }
  .fs-cta-bg span:nth-child(2) { width: 240px; height: 240px; }
  .fs-cta-bg span:nth-child(3) { width: 140px; height: 140px; }

  .fs-footer { padding: 48px 24px 24px; }
  .fs-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .fs-footer-brand { grid-column: span 2; }
  .fs-footer-base {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .fs-section-head { margin-bottom: 36px; }
}

/* Mobile (≤640px) */
@media (max-width: 640px) {
  .fs-nav-inner { padding: 12px 18px; }
  .fs-mark-img { height: 36px; }

  .fs-hero { padding: 36px 18px 0; }
  .fs-hero-grid { gap: 32px; padding-bottom: 40px; }
  .fs-hero-eye { margin-bottom: 12px; }
  .fs-h1 { margin: 12px 0 22px; }
  .fs-lede { font-size: 16.5px; margin-bottom: 28px; }
  .fs-hero-cta { flex-direction: column; align-items: stretch; gap: 12px; }
  .fs-hero-cta .fs-btn-primary,
  .fs-hero-cta .fs-btn-secondary { justify-content: center; width: 100%; }
  .fs-hero-figure { transform: none !important; }
  .fs-hero-figure-tag { font-size: 10px; padding: 5px 9px; }
  .fs-hero-marquee { padding: 14px 0; margin: 0 -18px; }
  .fs-marquee-row { font-size: 16px; gap: 20px; }

  .fs-stats-strip { padding: 0 18px; grid-template-columns: 1fr; }
  .fs-stat {
    padding: 24px 4px;
    border-right: none !important;
    border-left: none !important;
    border-bottom: 1px solid var(--sand-muted) !important;
  }
  .fs-stat:first-child { border-top: 1px solid var(--sand-muted); }
  .fs-stat:last-child { border-bottom: none !important; }
  .fs-stat-num { font-size: 40px; margin-bottom: 8px; }

  .fs-slab { padding: 64px 18px; }
  .fs-slab-text { margin: 18px 0 32px; }
  .fs-slab-meta { flex-direction: column; align-items: flex-start; gap: 12px; }

  .fs-programs { padding: 36px 18px 64px; }
  .fs-program-inner { padding: 22px; }
  .fs-program-title { font-size: 22px; }
  .fs-program-num-big { font-size: 30px; }

  .fs-articles { padding: 0 18px 64px; }
  .fs-articles-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    max-width: 100%;
    scrollbar-width: none;
  }
  .fs-articles-tabs::-webkit-scrollbar { display: none; }
  .fs-art-tab { white-space: nowrap; padding: 7px 14px; font-size: 11.5px; }
  .fs-articles-grid { gap: 16px; }
  .fs-article-body { padding: 22px; }
  .fs-article-title { font-size: 22px; }
  .fs-article-excerpt { font-size: 14.5px; margin-bottom: 20px; }
  .fs-article-side { grid-template-columns: 110px 1fr; }
  .fs-article-side-body { padding: 14px 16px; gap: 8px; }
  .fs-article-side-title { font-size: 15px; }
  .fs-article-author { flex-wrap: wrap; gap: 10px; }
  .fs-article-cta { margin-left: 0; }

  .fs-wall { padding: 0 18px 64px; }
  .fs-tweets-grid { grid-template-columns: 1fr; gap: 16px; }

  .fs-partners { padding: 56px 18px 64px; }
  .fs-courses { padding: 0 18px 64px; }
  .fs-courses-grid { grid-template-columns: 1fr; }
  .fs-course-side { grid-template-columns: 100px 1fr; }
  .fs-course-side-body { padding: 12px 14px; }
  .fs-partner-item { padding: 28px 36px; }

  .fs-cta { padding: 64px 18px 80px; }
  .fs-cta-bg span:nth-child(1) { width: 280px; height: 280px; top: 40px; }
  .fs-cta-bg span:nth-child(2) { width: 180px; height: 180px; top: 90px; }
  .fs-cta-bg span:nth-child(3) { width: 100px; height: 100px; top: 130px; }
  .fs-cta-sub { font-size: 15.5px; margin-bottom: 32px; }
  .fs-btn-lg { padding: 18px 28px; font-size: 13px; width: 100%; justify-content: center; }

  .fs-footer { padding: 40px 18px 24px; }
  .fs-footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .fs-footer-brand { grid-column: span 1; }

  /* Modal */
  .fs-modal-bg { padding: 16px; align-items: flex-end; }
  .fs-modal {
    width: 100%;
    border-radius: 16px;
    animation: fs-modal-in-mobile 380ms cubic-bezier(.2,.7,.2,1);
  }
  @keyframes fs-modal-in-mobile {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: none; }
  }
  .fs-modal-step { padding: 28px 22px 24px; }
  .fs-modal-h { font-size: 28px; }
}
