/* City Rose Academy */

:root {
  --green-950: #062a18;
  --green-900: #0a3d24;
  --green-800: #0b4a2b;
  --green-700: #0b5a34;
  --green-600: #137a44;
  --teal-700: #0c6a6e;
  --gold-500: #fbb829;
  --gold-400: #fcc84f;
  --mint: #e3ede3;
  --cream: #f8f6ef;
  --sand: #efebe0;
  --white: #ffffff;
  --ink: #232420;
  --ink-2: #4a4c45;
  --ink-3: #74766d;
  --hair: rgb(35 36 32 / 0.1);

  --serif: "Besley", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --t-base: 1rem;
  --t-md: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --t-lg: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --t-xl: clamp(1.6rem, 1.3rem + 1.3vw, 2.25rem);
  --t-2xl: clamp(2rem, 1.5rem + 2.2vw, 3.1rem);
  --t-3xl: clamp(2.5rem, 1.7rem + 3.6vw, 4.4rem);

  --gutter: clamp(1.25rem, 0.6rem + 3vw, 3.75rem);
  --space: clamp(4.5rem, 3rem + 6vw, 9rem);
  --max: 82rem;
  --r: 0.875rem;
  --r-lg: 1.25rem;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  font-family: var(--sans);
  font-size: var(--t-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--green-700); text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { color: var(--green-900); }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold-400); color: var(--green-950); }
table { border-collapse: collapse; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--green-700);
  text-wrap: balance;
}
h1 { font-size: var(--t-3xl); line-height: 1.08; }
h2 { font-size: var(--t-2xl); }
h3 { font-size: var(--t-lg); line-height: 1.25; }
p { text-wrap: pretty; }
p + p { margin-top: 1em; }
strong { font-weight: 600; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0;
}
.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 200; background: var(--gold-500); color: var(--green-950); padding: 0.7rem 1.1rem; border-radius: 999px; font-weight: 600; }
.skip-link:focus { top: 0.75rem; }

/* Layout */
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.wrap-text { width: min(100% - 2 * var(--gutter), 46rem); margin-inline: auto; }
.section { padding-block: var(--space); }
.section + .section { padding-top: 0; }
.section.mint, .section.sand, .section.white,
.section + .section.mint, .section + .section.sand, .section + .section.white,
.section.mint + .section, .section.sand + .section, .section.white + .section { padding-top: var(--space); }
.mint { background: var(--mint); }
.sand { background: var(--sand); }
.white { background: var(--white); }
.lead { font-size: var(--t-md); color: var(--ink-2); }
.subhead { font-family: var(--serif); font-size: var(--t-xl); line-height: 1.25; color: var(--teal-700); font-weight: 400; }
.title-block { max-width: 48rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.title-block p { margin-top: 1.25rem; color: var(--ink-2); font-size: var(--t-md); max-width: 38rem; }
.title-block.center { text-align: center; margin-inline: auto; }
.title-block.center p { margin-inline: auto; }
.title-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem 3rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.title-row h2 { max-width: 20em; }
.cols-2 { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 6rem); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 58rem) { .cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.split { display: grid; gap: clamp(2.5rem, 2rem + 4vw, 6rem); align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 58rem) {
  .split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .split.flip > :first-child { order: 2; }
  .split.top { align-items: start; }
}
.flow > * + * { margin-top: 1.25rem; }
.flow > h2 + p, .flow > h3 + p { margin-top: 1.1rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 2.9rem; padding: 0.7rem 1.45rem;
  border-radius: 999px; border: 1px solid transparent;
  background: var(--gold-500); color: var(--green-950);
  font-weight: 500; font-size: 0.95rem; line-height: 1.2; text-decoration: none;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn:hover { background: var(--gold-400); color: var(--green-950); }
.btn-green { background: var(--green-700); color: var(--white); }
.btn-green:hover { background: var(--green-900); color: var(--white); }
.btn-line { background: transparent; border-color: rgb(35 36 32 / 0.22); color: var(--green-800); }
.btn-line:hover { background: var(--white); border-color: rgb(35 36 32 / 0.35); color: var(--green-900); }
.btn-ghost { background: transparent; border-color: rgb(255 255 255 / 0.45); color: var(--white); }
.btn-ghost:hover { background: rgb(255 255 255 / 0.1); color: var(--white); border-color: var(--white); }
.btn svg { width: 1rem; height: 1rem; }
.btns { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.more { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 500; color: var(--green-700); text-decoration: none; }
.more svg { width: 1rem; height: 1rem; transition: transform 0.2s var(--ease); }
.more:hover svg { transform: translateX(3px); }

/* Top bar + header */
.topbar { background: var(--green-950); color: rgb(255 255 255 / 0.78); font-size: 0.8rem; }
.topbar .wrap { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 0.3rem 1.75rem; padding-block: 0.5rem; }
.topbar a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem; }
.topbar a:hover { color: var(--white); }
.topbar svg { width: 0.85rem; height: 0.85rem; opacity: 0.7; }
@media (max-width: 40rem) { .topbar .hide-sm { display: none; } .topbar .wrap { justify-content: space-between; } }

.header { position: sticky; top: 0; z-index: 60; background: var(--green-900); color: var(--white); transition: box-shadow 0.3s var(--ease); }
.header.is-scrolled { box-shadow: 0 10px 30px -18px rgb(0 0 0 / 0.6); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.8rem; color: var(--white); text-decoration: none; flex: none; }
.brand:hover { color: var(--white); }
.brand img { width: 3.1rem; }
.brand span { font-family: var(--serif); font-size: 1.3rem; line-height: 1; letter-spacing: -0.01em; }

.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav > ul { display: flex; align-items: center; gap: 0.25rem; list-style: none; padding: 0; }
.nav-link {
  display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.55rem 0.85rem;
  color: var(--white); text-decoration: none; font-size: 0.97rem; background: none; border: 0; border-radius: 999px;
  transition: background-color 0.2s var(--ease);
}
.nav-link:hover { color: var(--white); background: rgb(255 255 255 / 0.08); }
.nav-link[aria-current="page"], .has-sub.is-current > .nav-link { text-decoration: underline; text-underline-offset: 0.45em; text-decoration-thickness: 1px; }
.nav-link svg { width: 0.7rem; height: 0.7rem; opacity: 0.8; transition: transform 0.2s var(--ease); }
.has-sub { position: relative; }
.sub {
  position: absolute; top: calc(100% + 0.6rem); left: 50%; translate: -50% 0; min-width: 14rem;
  list-style: none; padding: 0.5rem; background: var(--white); border-radius: var(--r);
  box-shadow: 0 24px 50px -20px rgb(6 42 24 / 0.45);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
}
.sub a { display: block; padding: 0.6rem 0.85rem; border-radius: 0.5rem; color: var(--ink); text-decoration: none; font-size: 0.95rem; }
.sub a:hover, .sub a[aria-current="page"] { background: var(--cream); color: var(--green-700); }
.has-sub.is-open .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.has-sub.is-open > .nav-link svg { transform: rotate(180deg); }
@media (hover: hover) and (min-width: 64.01rem) { .has-sub:hover .sub { opacity: 1; visibility: visible; transform: none; } }

.menu-btn {
  display: none; align-items: center; gap: 0.6rem;
  padding: 0.6rem 1.1rem; border: 0; border-radius: 999px;
  background: var(--gold-500); color: var(--green-950); font-weight: 500; font-size: 0.95rem;
}
.menu-btn .bars { display: grid; gap: 3.5px; }
.menu-btn .bars span { display: block; width: 16px; height: 1.5px; background: currentColor; transition: transform 0.2s var(--ease), opacity 0.2s; }
.menu-btn[aria-expanded="true"] .bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 64rem) {
  .menu-btn { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--nav-top, 5rem) 0 0 0; z-index: 59;
    flex-direction: column; align-items: stretch; gap: 2rem;
    padding: 1.5rem var(--gutter) 3rem; background: var(--green-900); overflow-y: auto;
    opacity: 0; visibility: hidden; transition: opacity 0.2s var(--ease), visibility 0.2s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link { width: 100%; justify-content: space-between; padding: 0.9rem 0; font-family: var(--serif); font-size: 1.6rem; border-radius: 0; }
  .nav-link:hover { background: none; }
  .nav-link svg { width: 1rem; height: 1rem; }
  .sub { position: static; translate: none; display: none; opacity: 1; visibility: visible; transform: none; background: none; box-shadow: none; padding: 0 0 0.75rem; min-width: 0; }
  .has-sub.is-open .sub { display: block; }
  .sub a { color: rgb(255 255 255 / 0.82); padding: 0.5rem 0; font-size: 1.05rem; }
  .sub a:hover, .sub a[aria-current="page"] { background: none; color: var(--gold-400); }
  .nav .btn { align-self: flex-start; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 30rem) { .header .wrap { gap: 0.75rem; min-height: 4.25rem; } .header .brand span { font-size: 1.12rem; } .header .brand img { width: 2.6rem; } .menu-btn { padding: 0.55rem 0.95rem; } }

/* Home hero */
.hero { background: var(--green-900); color: var(--white); position: relative; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: clamp(3rem, 2rem + 5vw, 7rem); background: var(--cream); }
.hero .wrap { position: relative; z-index: 1; display: grid; gap: 2.5rem; padding-top: clamp(1.5rem, 1rem + 2vw, 2.5rem); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 58rem) { .hero .wrap { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: end; gap: 3.5rem; } }
.hero-text { padding-top: clamp(1rem, 0.5rem + 3vw, 4rem); }
@media (min-width: 58rem) { .hero-text { padding-bottom: calc(clamp(3rem, 2rem + 5vw, 7rem) + 2.5rem); } }
.hero h1 { color: var(--white); font-size: clamp(2.6rem, 1.8rem + 3.4vw, 4.6rem); }
.hero p { margin-top: 1.5rem; max-width: 30rem; color: rgb(255 255 255 / 0.82); font-size: var(--t-md); }
.hero-photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.hero-photo picture { display: block; height: 100%; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 35%; }
@media (min-width: 58rem) { .hero-photo { aspect-ratio: 5 / 4; } }

/* Inner page head */
.page-head { padding-block: clamp(2rem, 1.5rem + 3vw, 4.5rem) clamp(2.5rem, 2rem + 2vw, 4rem); }
.crumbs { font-size: 0.85rem; color: var(--ink-3); margin-bottom: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; opacity: 0.5; }
.crumbs a { color: var(--green-700); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-head h1 { max-width: 17em; font-size: clamp(2.3rem, 1.6rem + 3vw, 4rem); }
.page-head .lead { margin-top: 1.5rem; max-width: 40rem; }
.page-photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 7; }
.page-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 40rem) { .page-photo { aspect-ratio: 4 / 3; } }

/* Photos */
.photo { border-radius: var(--r-lg); overflow: hidden; background: var(--sand); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.ratio-43 { aspect-ratio: 4 / 3; }
.ratio-45 { aspect-ratio: 4 / 5; }
.ratio-32 { aspect-ratio: 3 / 2; }
.ratio-11 { aspect-ratio: 1; }
.collage { display: grid; gap: 1rem; grid-template-columns: 1.4fr 1fr; align-items: start; }
.collage .photo:nth-child(2) { margin-top: 22%; }

/* Stats */
.stats { display: grid; gap: clamp(2rem, 1.5rem + 2vw, 3.5rem) clamp(2rem, 1rem + 3vw, 5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.stat .stat-num { margin: 0; max-width: none; font-family: var(--serif); font-size: clamp(3.2rem, 2.2rem + 4vw, 5.5rem); line-height: 1; color: var(--green-700); letter-spacing: -0.03em; }
.stat-num small { font-size: 0.5em; letter-spacing: 0; }
.stat p { margin-top: 0.75rem; max-width: 17rem; color: var(--ink-2); font-size: 0.95rem; }

/* Arch cards */
.arches { display: grid; gap: clamp(3rem, 2rem + 3vw, 5rem) clamp(1.5rem, 1rem + 2vw, 3rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
.arch { position: relative; }
.arch-photo { aspect-ratio: 1 / 1.02; overflow: hidden; border-radius: 999px 999px var(--r) var(--r); background: var(--sand); }
.arch:nth-child(3n+2) .arch-photo { border-radius: var(--r) 999px var(--r) var(--r); }
.arch:nth-child(3n) .arch-photo { border-radius: 999px var(--r) var(--r) var(--r); }
.arch-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.arch-card { position: relative; margin: -4.5rem 1.25rem 0; padding: 1.75rem 1.75rem 2rem; background: var(--white); border-radius: var(--r); }
.arch-card h3 { color: var(--ink); font-size: clamp(1.35rem, 1.2rem + 0.5vw, 1.6rem); }
.arch-card .kicker { display: block; font-family: var(--serif); color: var(--green-700); font-size: 1.1rem; margin-top: 0.35rem; }
.arch-card p { margin-top: 0.9rem; color: var(--ink-2); font-size: 0.95rem; }
.arch-card a { color: inherit; text-decoration: none; }
.arch-card a::after { content: ""; position: absolute; inset: 0; }
.arch:hover .arch-photo img { transform: scale(1.03); }
.arch:hover h3 { color: var(--green-700); }

/* Tiles */
.tiles { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.tile { display: block; border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: var(--white); background: var(--green-700); }
.tile:hover { color: var(--white); }
.tile-photo { aspect-ratio: 4 / 3.4; overflow: hidden; }
.tile-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.tile:hover .tile-photo img { transform: scale(1.04); }
.tile-label { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.4rem; font-family: var(--serif); font-size: 1.45rem; }
.tile-label svg { width: 1.1rem; height: 1.1rem; transition: transform 0.2s var(--ease); }
.tile:hover .tile-label svg { transform: translateX(4px); }
.tile.teal { background: var(--teal-700); }
.tile.gold { background: var(--gold-500); color: var(--green-950); }

/* Feature */
.feature { display: grid; gap: 0.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 56rem) { .feature { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.feature .photo { min-height: 20rem; }
.feature-panel { border-radius: var(--r-lg); background: var(--green-700); color: rgb(255 255 255 / 0.85); padding: clamp(2rem, 1.5rem + 3vw, 4rem); display: flex; flex-direction: column; justify-content: center; }
.feature-panel h2 { color: var(--white); font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.8rem); }
.feature-panel p { margin-top: 1.25rem; max-width: 30rem; }
.feature-panel.teal { background: var(--teal-700); }
.feature-panel.deep { background: var(--green-900); }

/* Quotes */
.quotes { display: grid; gap: clamp(2.5rem, 2rem + 2vw, 4rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.quote { display: flex; flex-direction: column; }
.quote blockquote { font-family: var(--serif); font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); line-height: 1.45; color: var(--green-800); }
.quote figcaption { display: flex; align-items: center; gap: 0.9rem; margin-top: auto; padding-top: 1.75rem; }
.quote img { width: 3.25rem; height: 3.25rem; border-radius: 50%; object-fit: cover; }
.quote figcaption span { display: grid; line-height: 1.35; font-size: 0.92rem; color: var(--ink-3); }
.quote figcaption strong { color: var(--ink); font-weight: 500; font-size: 1rem; }

/* News */
.news { display: grid; gap: clamp(2.5rem, 2rem + 2vw, 3.5rem) 1.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40rem) { .news { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .news { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.news-item { position: relative; }
.news-item .photo { aspect-ratio: 16 / 10; }
.news-item .photo img { transition: transform 0.8s var(--ease); }
.news-item:hover .photo img { transform: scale(1.03); }
.news-item h3 { margin-top: 1.25rem; font-size: 1.3rem; color: var(--ink); }
.news-item h3 a { color: inherit; text-decoration: none; }
.news-item h3 a::after { content: ""; position: absolute; inset: 0; }
.news-item:hover h3 { color: var(--green-700); }
.news-item time { display: block; margin-top: 0.5rem; font-size: 0.85rem; color: var(--ink-3); }
.news-item p { margin-top: 0.6rem; color: var(--ink-2); font-size: 0.95rem; }

/* Dates */
.dates { list-style: none; padding: 0; display: grid; gap: 1rem; }
.date { display: grid; grid-template-columns: 5rem minmax(0, 1fr); gap: 1.5rem; align-items: center; padding: 1.5rem 1.75rem; background: var(--white); border-radius: var(--r); }
.date-day { font-family: var(--serif); font-size: 2.75rem; line-height: 1; color: var(--green-700); }
.date-day small { display: block; font-family: var(--sans); font-size: 0.8rem; color: var(--ink-3); margin-top: 0.4rem; }
.date h3 { font-size: 1.3rem; color: var(--ink); }
.date p { margin-top: 0.3rem; color: var(--ink-2); font-size: 0.95rem; }
.date p.time { color: var(--ink-3); font-size: 0.88rem; margin-top: 0.15rem; }

/* Values */
.values { display: grid; gap: clamp(2.5rem, 2rem + 2vw, 3.5rem) clamp(2rem, 1rem + 3vw, 4rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.values h3 { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem); }
.values p { margin-top: 0.6rem; color: var(--ink-2); }

/* Motto */
.motto { text-align: center; width: min(100% - 2 * var(--gutter), 50rem); margin-inline: auto; }
.motto h2 { font-size: clamp(2.6rem, 1.8rem + 4vw, 5rem); }
.motto p { margin-top: 1.5rem; font-family: var(--serif); font-size: var(--t-lg); color: var(--ink-2); }
.motto cite { display: block; margin-top: 0.75rem; font-style: normal; font-size: 0.9rem; color: var(--ink-3); }

/* Team */
.team { display: grid; gap: clamp(3rem, 2rem + 2vw, 4rem) 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16.5rem), 1fr)); list-style: none; padding: 0; }
.person .photo { aspect-ratio: 4 / 5; }
.person .photo img { object-position: 50% 25%; }
.person h3 { margin-top: 1.25rem; font-size: 1.35rem; color: var(--ink); }
.person .role { display: block; margin-top: 0.2rem; font-family: var(--serif); color: var(--green-700); }
.person p { margin-top: 0.85rem; color: var(--ink-2); font-size: 0.93rem; line-height: 1.6; }

/* Fees */
.tablist { display: inline-flex; gap: 0.25rem; padding: 0.3rem; background: var(--white); border-radius: 999px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tablist::-webkit-scrollbar { display: none; }
.tab { flex: none; border: 0; background: none; padding: 0.65rem 1.2rem; border-radius: 999px; font-size: 0.93rem; color: var(--ink-2); transition: background-color 0.2s var(--ease), color 0.2s var(--ease); }
.tab:hover { color: var(--green-700); }
.tab[aria-selected="true"] { background: var(--green-700); color: var(--white); }
.tabs { display: grid; grid-template-columns: minmax(0, 1fr); }
.tabs > .tablist { justify-self: start; }
.tabpanel { margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.tabpanel[hidden] { display: none; }
.fee { display: grid; gap: 1.5rem 3rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 60rem) { .fee { grid-template-columns: 16rem minmax(0, 1fr); } }
.fee + .fee { margin-top: clamp(3rem, 2.5rem + 2vw, 4.5rem); }
.fee-intro h3 { font-size: var(--t-xl); }
.fee-intro p { margin-top: 0.6rem; color: var(--ink-3); font-size: 0.92rem; }
.fee-intro .more { margin-top: 1.25rem; font-size: 0.92rem; }
.table-scroll { overflow-x: auto; background: var(--white); border-radius: var(--r); padding: 0.5rem 1.5rem 1rem; }
.fee-table { width: 100%; min-width: 30rem; font-variant-numeric: tabular-nums; font-size: 0.96rem; }
.fee-table caption { text-align: left; }
.fee-table th, .fee-table td { padding: 0.85rem 0; text-align: right; }
.fee-table th:first-child, .fee-table td:first-child { text-align: left; padding-right: 1rem; }
.fee-table thead th { font-weight: 500; color: var(--ink-3); font-size: 0.85rem; }
.fee-table tbody th { font-weight: 400; }
.fee-table tbody tr + tr th, .fee-table tbody tr + tr td { border-top: 1px solid var(--hair); }
.fee-table tfoot th, .fee-table tfoot td { font-family: var(--serif); font-size: 1.2rem; color: var(--green-700); font-weight: 400; padding-top: 1.1rem; border-top: 1px solid rgb(35 36 32 / 0.25); }
.fee-table .na { color: var(--ink-3); }
.fee-table tr.zone th { font-family: var(--serif); font-size: 1.15rem; color: var(--green-700); padding-top: 1.75rem; border-top: 0; }
.fee-table tr.zone + tr th, .fee-table tr.zone + tr td { border-top: 0; }
.fee-table.compact { min-width: 0; }
@media (max-width: 40rem) {
  .table-scroll { padding: 0.25rem 1rem 0.75rem; }
  .fee-table { min-width: 0; font-size: 0.86rem; }
  .fee-table th, .fee-table td { padding: 0.7rem 0 0.7rem 0.5rem; }
  .fee-table tfoot th, .fee-table tfoot td { font-size: 1rem; }
}
.note { margin-top: 1rem; font-size: 0.9rem; color: var(--ink-3); max-width: 44rem; }

.facts { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.fact { background: var(--white); border-radius: var(--r); padding: 1.75rem; }
.fact .big { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--green-700); }
.fact p { margin-top: 0.75rem; color: var(--ink-2); font-size: 0.95rem; }
.fact h3 { font-size: 1.3rem; color: var(--ink); }
.fact .kind { display: block; color: var(--ink-3); font-size: 0.85rem; margin-bottom: 0.35rem; }
.fact dl { margin-top: 1rem; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.35rem 1rem; font-size: 0.93rem; }
.fact dt { color: var(--ink-3); }
.fact dd { margin: 0; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

.docs { list-style: none; padding: 0; display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.doc { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.4rem; background: var(--white); border-radius: var(--r); color: var(--ink); text-decoration: none; transition: background-color 0.2s var(--ease); }
.doc:hover { color: var(--green-700); background: var(--mint); }
.doc span { display: grid; line-height: 1.35; }
.doc small { color: var(--ink-3); font-size: 0.85rem; }
.doc svg { width: 1.1rem; height: 1.1rem; flex: none; color: var(--green-700); }

/* Newsletters */
.issues { display: grid; gap: 2.5rem 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 13.5rem), 1fr)); }
.issue { color: var(--ink); text-decoration: none; display: block; }
.issue:hover { color: var(--green-700); }
.issue .photo { aspect-ratio: 600 / 849; background: var(--white); box-shadow: 0 18px 40px -28px rgb(6 42 24 / 0.55); transition: transform 0.4s var(--ease); }
.issue .photo img { object-position: top; }
.issue:hover .photo { transform: translateY(-4px); }
.issue h3 { margin-top: 1.1rem; font-size: 1.15rem; color: inherit; }
.issue small { display: block; margin-top: 0.3rem; color: var(--ink-3); font-size: 0.85rem; }
.year + .year { margin-top: clamp(4rem, 3rem + 3vw, 6rem); }
.year > h2 { font-size: var(--t-xl); margin-bottom: 2rem; }

/* Article */
.article-head h1 { font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.6rem); }
.article-head .meta { margin-top: 1.5rem; color: var(--ink-3); font-size: 0.92rem; }
.article-photo { margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 970 / 560; }
.article-photo img { width: 100%; height: 100%; object-fit: cover; }
.prose { font-size: 1.075rem; line-height: 1.8; color: var(--ink); }
.prose > * + * { margin-top: 1.2em; }
.prose h2 { font-size: clamp(1.45rem, 1.3rem + 0.6vw, 1.8rem); margin-top: 2.2em; }
.prose h3 { font-size: 1.3rem; margin-top: 2em; }
.prose h2 + *, .prose h3 + * { margin-top: 0.7em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: 0.5em; }
.prose .lead-para { font-family: var(--serif); font-size: clamp(1.25rem, 1.15rem + 0.4vw, 1.45rem); line-height: 1.55; color: var(--green-800); }

/* Lists */
.plain { list-style: none; padding: 0; display: grid; gap: 0.6rem; }
.plain li { padding-left: 1.4rem; position: relative; color: var(--ink-2); }
.plain li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--gold-500); }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; }
.chips li { padding: 0.5rem 1rem; background: var(--white); border-radius: 999px; font-size: 0.93rem; }

/* Steps */
.steps { list-style: none; padding: 0; counter-reset: s; display: grid; gap: clamp(2rem, 1.5rem + 2vw, 3rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); display: block; font-family: var(--serif); font-size: 3.5rem; line-height: 1; color: var(--teal-700); }
.steps h3 { margin-top: 1rem; font-size: 1.35rem; }
.steps p { margin-top: 0.5rem; color: var(--ink-2); font-size: 0.95rem; }

/* Contact */
.contact-list { list-style: none; padding: 0; display: grid; gap: 2rem; }
.contact-list h3 { font-size: 1.2rem; color: var(--ink); }
.contact-list p { margin-top: 0.35rem; color: var(--ink-2); }
.contact-list p + p { margin-top: 0.1rem; }
.hours { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 0.3rem 2rem; margin-top: 0.35rem; color: var(--ink-2); }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; }
.map { border: 0; width: 100%; aspect-ratio: 16 / 9; min-height: 20rem; border-radius: var(--r-lg); background: var(--sand); }

/* Forms */
.panel { background: var(--white); border-radius: var(--r-lg); padding: clamp(1.75rem, 1.25rem + 2.5vw, 3.25rem); }
.panel h2 { font-size: var(--t-xl); }
.panel > p { margin-top: 0.75rem; color: var(--ink-2); }
.form { display: grid; gap: 1.15rem; margin-top: 2rem; }
.row { display: grid; gap: 1.15rem; }
@media (min-width: 40rem) { .row.two { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.45rem; }
.field label { font-size: 0.88rem; color: var(--ink-2); }
.input {
  width: 100%; min-height: 3.1rem; padding: 0.75rem 1rem;
  background: var(--cream); border: 1px solid transparent; border-radius: 0.6rem;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
textarea.input { min-height: 8rem; resize: vertical; }
.input:hover { background: var(--sand); }
.input:focus { outline: none; background: var(--white); border-color: var(--green-600); }
.input:user-invalid { border-color: #b42318; }
.form .btn { justify-self: start; margin-top: 0.5rem; }
.form-note { font-size: 0.85rem; color: var(--ink-3); }
.form-status { font-size: 0.93rem; padding: 0.9rem 1.1rem; border-radius: 0.6rem; background: var(--mint); color: var(--green-900); }
.form-status[hidden] { display: none; }
.subscribe { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.subscribe .input { flex: 1 1 13rem; border-radius: 999px; padding-inline: 1.25rem; }
.subscribe .form-status { flex-basis: 100%; }

/* Closing */
.closing { position: relative; isolation: isolate; color: var(--white); min-height: clamp(30rem, 24rem + 20vw, 42rem); display: flex; align-items: flex-end; overflow: hidden; }
.closing > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.closing::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(6 42 24 / 0.05) 0%, rgb(6 42 24 / 0.35) 40%, rgb(6 42 24 / 0.88) 100%); }
.closing .wrap { padding-top: 6rem; }
.closing h2 { color: var(--white); font-size: clamp(2.6rem, 1.8rem + 4vw, 5.25rem); line-height: 1.05; max-width: 12em; }
.actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); max-width: 40rem; border-radius: var(--r) var(--r) 0 0; overflow: hidden; }
.actions a { display: flex; align-items: center; gap: 0.6rem; padding: 1.25rem 1.4rem; font-family: var(--serif); font-size: clamp(1.1rem, 1rem + 0.5vw, 1.4rem); text-decoration: none; color: var(--white); background: var(--green-700); transition: filter 0.2s var(--ease); }
.actions a:nth-child(2) { background: var(--teal-700); }
.actions a:nth-child(3) { background: var(--gold-500); color: var(--green-950); }
.actions a:hover { filter: brightness(1.08); }
.actions svg { width: 1.05rem; height: 1.05rem; flex: none; }
@media (max-width: 30rem) { .actions { grid-template-columns: 1fr; } }

/* Footer */
.footer { background: var(--green-900); color: rgb(255 255 255 / 0.75); font-size: 0.93rem; }
.footer a { color: rgb(255 255 255 / 0.88); text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer-top { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem) clamp(3rem, 2rem + 3vw, 4.5rem); display: grid; gap: 3rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 46rem) { .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .footer-top { grid-template-columns: 1.3fr 0.9fr 1fr 1.3fr; gap: 3rem; } }
.footer .brand span { font-size: 1.45rem; }
.footer-intro p { margin-top: 1.5rem; max-width: 22rem; }
.footer h2 { font-size: 1.3rem; color: var(--white); margin-bottom: 1.1rem; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 0.55rem; }
.footer address { font-style: normal; display: grid; gap: 0.55rem; }
.footer .hours { color: inherit; gap: 0.35rem 1.5rem; margin: 0 0 2rem; }
.footer .subscribe .input { background: rgb(255 255 255 / 0.08); color: var(--white); }
.footer .subscribe .input::placeholder { color: rgb(255 255 255 / 0.55); }
.footer .subscribe .input:focus { border-color: var(--gold-500); background: rgb(255 255 255 / 0.12); }
.social { display: flex; gap: 0.5rem; margin-top: 1.5rem; }
.social a { width: 2.4rem; height: 2.4rem; display: grid; place-items: center; border-radius: 50%; background: rgb(255 255 255 / 0.08); }
.social a:hover { background: var(--gold-500); color: var(--green-950); text-decoration: none; }
.social svg { width: 1rem; height: 1rem; }
.footer-bottom { background: var(--green-950); color: rgb(255 255 255 / 0.55); font-size: 0.83rem; }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; padding-block: 1.25rem; }
.footer-bottom a { color: inherit; }

/* Reveal */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
main { overflow-x: clip; }

@media print {
  .topbar, .header, .footer, .footer-bottom, .closing, .btn { display: none !important; }
  .tabpanel[hidden] { display: block !important; }
}
