/* ==========================================================================
   Mission Eye Clinic — design system
   Palette derives from the clinic's own logo green (#008001) with the
   existing site's orange (#f77a1e) retained as the accent.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Self-hosted fonts. Inter and Outfit are both SIL Open Font License 1.1,
   which permits redistribution. Self-hosting removes the third-party request
   to Google and keeps the site fast on the clinic's own hosting.
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit'; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url('../fonts/outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit'; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url('../fonts/outfit-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Brand */
  --green-950: #06240d;
  --green-900: #0a3a15;
  --green-800: #0c4d1a;
  --green-700: #0a6417;
  --green-600: #008001;   /* logo green */
  --green-500: #1f9c33;
  --green-100: #dcefdd;
  --green-050: #f0f7f0;

  --accent:      #f77a1e; /* existing site accent, kept */
  --accent-deep: #b34c07; /* accessible on white and on the tint for text */

  /* Neutrals */
  --ink:      #12201a;
  --body:     #47544c;
  --muted:    #647268;
  --line:     #e2e9e3;
  --surface:  #ffffff;
  --surface-2:#f7faf7;

  /* Type */
  --font-display: 'Outfit', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* Space & shape */
  --container: 1180px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(6, 36, 13, .06), 0 2px 8px rgba(6, 36, 13, .05);
  --shadow-md: 0 8px 24px rgba(6, 36, 13, .08), 0 2px 6px rgba(6, 36, 13, .05);
  --shadow-lg: 0 18px 50px rgba(6, 36, 13, .13);
  --header-h: 84px;
  --ease: cubic-bezier(.22, .8, .3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.68;
  color: var(--body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--accent-deep); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.14;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  font-weight: 600;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section--tint { background: var(--surface-2); }
.section--deep {
  background: linear-gradient(180deg, var(--green-900) 0%, var(--green-950) 100%);
  color: #cfe0d4;
}
.section--deep h2, .section--deep h3 { color: #fff; }
.grid { display: grid; gap: clamp(24px, 3vw, 44px); }
.grid > *, .split > *, .doctor > *, .stats > *, .logos > *, .vidgrid > * { min-width: 0; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* ---------- Section headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-display);
  font-size: .78rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); }
.section--deep .eyebrow { color: var(--accent); }
.section-head { max-width: 660px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.lede { font-size: 1.15rem; color: var(--muted); }
.section--deep .lede { color: #a9c2b0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font-family: var(--font-display); font-weight: 600; font-size: .98rem;
  padding: .92em 1.7em; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .22s var(--ease), box-shadow .22s var(--ease), background-color .22s, color .22s, border-color .22s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--green-700); color: #fff; box-shadow: 0 6px 18px rgba(10, 100, 23, .28); }
.btn--primary:hover { background: var(--green-800); color: #fff; box-shadow: 0 10px 26px rgba(10, 100, 23, .34); }
.btn--accent { background: var(--accent); color: var(--green-950); box-shadow: 0 6px 18px rgba(247, 122, 30, .3); }
.btn--accent:hover { background: var(--accent-deep); color: #fff; }
.hero .eyebrow { color: var(--accent); }
.cta-band .eyebrow { color: #ff9b4d; }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--green-600); color: var(--green-700); background: var(--green-050); }
.btn--light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.4); backdrop-filter: blur(6px); }
.btn--light:hover { background: #fff; color: var(--green-900); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.8rem; }

/* ---------- Top bar ---------- */
.topbar {
  background: linear-gradient(180deg, var(--green-900) 0%, var(--green-950) 100%);
  color: #bcd4c2;
  font-size: .86rem; letter-spacing: .01em;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 40px; }
.topbar a { color: #eaf4ec; font-weight: 500; }
.topbar a:hover { color: var(--accent); }
.topbar-list { display: flex; gap: 26px; align-items: center; }
.topbar svg { width: 15px; height: 15px; flex: none; vertical-align: -2px; margin-right: .45em; opacity: .8; }
@media (max-width: 760px) { .topbar-hours { display: none; } .topbar .container { justify-content: center; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease);
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); border-bottom-color: var(--line); background: rgba(255,255,255,.95); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 24px; }
.brand img { width: clamp(210px, 24vw, 280px); transition: width .3s var(--ease); }
.site-header.is-stuck .brand img { width: clamp(180px, 20vw, 232px); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  position: relative; padding: 10px 15px; border-radius: 8px;
  font-family: var(--font-display); font-weight: 500; font-size: .97rem;
  color: var(--ink);
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 2px;
  background: var(--accent); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease);
}
.nav a:not(.btn):hover { color: var(--green-700); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a:not(.btn)[aria-current="page"] { color: var(--green-700); font-weight: 600; }
.header-cta { margin-left: 10px; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line);
  border-radius: 12px; background: #fff; cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after  { transform: translateY(4px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: rotate(-45deg) translateY(-1px); }

@media (max-width: 940px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 24px 22px; box-shadow: var(--shadow-md);
    clip-path: inset(0 0 100% 0); opacity: 0; pointer-events: none;
    transition: clip-path .38s var(--ease), opacity .25s;
  }
  .nav.is-open { clip-path: inset(0 0 0 0); opacity: 1; pointer-events: auto; }
  .nav a { padding: 14px 8px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a:not(.btn)::after { display: none; }
  .header-cta { margin: 14px 8px 0; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(88vh, 760px); display: grid; align-items: center; overflow: hidden; color: #fff; }
.hero--compact { min-height: min(46vh, 420px); }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.5s ease-in-out;
  will-change: opacity, transform;
}
.hero-slide.is-active { opacity: 1; animation: kenburns 12s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.13); } }
.hero-veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, rgba(6,36,13,.93) 0%, rgba(10,58,21,.82) 42%, rgba(10,58,21,.35) 78%, rgba(10,58,21,.2) 100%),
    linear-gradient(to top, rgba(6,36,13,.55), transparent 45%);
}
.hero .container { position: relative; z-index: 2; padding-block: clamp(72px, 10vw, 120px); }
.hero-inner { max-width: 660px; }
.hero h1 { color: #fff; letter-spacing: -.03em; }
.hero h1 .hl { color: var(--accent); }
.hero p { font-size: clamp(1.05rem, 1.7vw, 1.24rem); color: #d3e4d8; max-width: 52ch; }
.hero .eyebrow { color: #fff; opacity: .95; }
.hero .eyebrow::before { background: var(--accent); }

.hero-dots { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 10px; }
.hero-dots button {
  width: 34px; height: 4px; border: 0; padding: 0; border-radius: 4px; cursor: pointer;
  background: rgba(255,255,255,.38); transition: background .3s var(--ease), width .3s var(--ease);
}
.hero-dots button[aria-selected="true"] { background: var(--accent); width: 52px; }

/* Page banner for interior pages */
.pagehead { position: relative; background: var(--green-950); color: #fff; overflow: hidden; }
.pagehead::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg,
      var(--green-800) 0%,
      var(--green-900) 46%,
      var(--green-950) 100%);
}
.pagehead .container { position: relative; z-index: 1; padding-block: clamp(56px, 8vw, 92px); }
.pagehead h1 { color: #fff; margin-bottom: .35em; }
.pagehead p { color: #b9d0bf; max-width: 62ch; font-size: 1.1rem; }
.crumb { font-size: .85rem; color: #c2dbc7; margin-bottom: 1.1rem; letter-spacing: .04em; }
.crumb a { color: #cfe3d4; }
.crumb a:hover { color: var(--accent); }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  color: var(--body);
  padding: clamp(26px, 3vw, 36px);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--green-100); }
.card h3 { margin-bottom: .5em; color: var(--ink); }
a.card:hover h3 { color: var(--green-800); }

/* EYE stat cards -- the three letters spell EYE across the row */
.statcard { position: relative; overflow: hidden; }
.statcard .glyph {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: 3.4rem; line-height: 1; letter-spacing: -.04em;
  color: var(--accent-deep); margin-bottom: 1rem;
  transition: transform .3s var(--ease);
}
.statcard::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--accent) 0 34%, var(--green-100) 34% 100%);
  transform: translateX(-100%); transition: transform .45s var(--ease);
}
.statcard:hover::before { transform: none; }
.statcard:hover .glyph { transform: translateY(-2px); }
.statcard p { font-size: 1.02rem; color: var(--body); }

/* Service cards with circular media */
.svc { text-align: center; }
.svc .media {
  width: 168px; height: 168px; margin: 0 auto 1.5rem; border-radius: 50%;
  overflow: hidden; box-shadow: 0 10px 30px rgba(6,36,13,.14);
  border: 5px solid #fff; outline: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.svc .media img { width: 100%; height: 100%; object-fit: cover; }
.card:hover .media { transform: scale(1.05) translateY(-2px); box-shadow: 0 16px 38px rgba(6,36,13,.2); }
.svc p { text-align: left; }

/* Pull quote */
.pullquote {
  margin: 26px 0 0; padding: 24px 28px;
  border-left: 4px solid var(--accent); background: var(--green-050);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.4; color: var(--green-900);
}

/* Figure / image frames */
.frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.frame img { width: 100%; }
.frame--soft { box-shadow: var(--shadow-md); border: 1px solid var(--line); }

/* Feature list */
.ticks { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: .8rem; }
.ticks li { position: relative; padding-left: 2rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--green-050) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a6417' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/11px no-repeat;
}

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 28px; }
.stat { text-align: center; }
.stat .num { font-family: var(--font-display); font-size: clamp(2.3rem, 4vw, 3.1rem); font-weight: 700; color: #fff; line-height: 1; letter-spacing: -.03em; }
.stat .num span { color: var(--accent); }
.stat .lbl { margin-top: .6rem; font-size: .92rem; color: #a9c2b0; letter-spacing: .03em; }

/* ---------- Doctor profile ---------- */
.doctor { display: grid; grid-template-columns: 340px 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .doctor { grid-template-columns: 1fr; } .doctor .portrait { max-width: 300px; } }
.portrait { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.portrait img { width: 100%; }
.portrait::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 38%;
  background: linear-gradient(to top, rgba(6,36,13,.55), transparent);
}
.creds { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 0; }
.creds li { display: grid; grid-template-columns: 96px 1fr; gap: 18px; padding: 14px 0; border-top: 1px solid var(--line); align-items: baseline; }
.creds li:last-child { border-bottom: 1px solid var(--line); }
.creds .yr { font-family: var(--font-display); font-weight: 600; color: var(--accent-deep); font-size: .92rem; letter-spacing: .02em; }
.creds .what { color: var(--ink); font-weight: 500; }
.creds .where { display: block; color: var(--muted); font-size: .93rem; font-weight: 400; }
@media (max-width: 520px) { .creds li { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Video gallery ---------- */
.vidgroup { margin-bottom: clamp(44px, 6vw, 68px); }
.vidgroup > h3 {
  display: flex; align-items: center; gap: 16px;
  font-size: 1.05rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--green-800); margin-bottom: 1.6rem;
}
.vidgroup > h3::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.vidgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.vid { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.vid:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.vid .ratio { position: relative; padding-top: 56.25%; background: var(--green-950); }
.vid .ratio iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid .meta { padding: 14px 18px 16px; }
.vid .meta strong { display: block; font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: .98rem; line-height: 1.35; }
.vid .meta span { display: block; margin-top: 3px; font-size: .83rem; color: var(--muted); }

/* ---------- Affiliations ---------- */
.logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* .logo-static is an affiliation whose website no longer exists: same card,
   no anchor, and none of the hover affordances that would imply a click. */
.logos a, .logos .logo-static {
  display: grid; place-items: center; padding: 24px 26px; min-height: 150px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.logos img { max-height: 90px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .35s var(--ease), opacity .35s var(--ease); }
.logos a:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--green-100); }
.logos a:hover img { filter: grayscale(0); opacity: 1; }

/* ---------- Contact ---------- */
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.info-list li { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.info-list li:first-child { padding-top: 0; }
.icon {
  flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--green-050); color: var(--green-700);
}
.icon svg { width: 20px; height: 20px; }
.info-list .k { display: block; font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: .84rem; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 3px; }
.info-list .v { display: block; color: var(--body); font-size: 1.05rem; }
.info-list .v a { font-weight: 500; }

.notice {
  border-left: 4px solid var(--accent); background: #fff7f0;
  padding: 20px 24px; border-radius: 0 var(--radius) var(--radius) 0; margin: 0 0 1.6rem;
}
.notice strong { color: var(--accent-deep); }
.hours-table { width: 100%; table-layout: fixed; border-collapse: collapse; margin-top: .4rem; }
.hours-table th, .hours-table td { text-align: left; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
.hours-table th { font-weight: 500; color: var(--ink); }
.hours-table td { text-align: right; color: var(--body); font-variant-numeric: tabular-nums; }
.hours-table tr.closed td, .hours-table tr.closed th { color: var(--muted); }

.doclist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.doclist a {
  display: flex; align-items: center; gap: 16px; padding: 18px 22px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink);
  font-family: var(--font-display); font-weight: 500;
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.doclist a:hover { transform: translateX(4px); border-color: var(--green-600); box-shadow: var(--shadow-sm); color: var(--green-800); }
.doclist svg { width: 22px; height: 22px; color: var(--accent); flex: none; }
.doclist .arrow { margin-left: auto; color: var(--muted); transition: transform .25s var(--ease); }
.doclist a:hover .arrow { transform: translateX(4px); color: var(--green-700); }

.map-card { display: block; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); position: relative; border: 1px solid var(--line); }
.map-card img { width: 100%; transition: transform .5s var(--ease); }
.map-card:hover img { transform: scale(1.04); }
.map-card .pill {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  background: rgba(255,255,255,.95); backdrop-filter: blur(6px);
  padding: .7em 1.3em; border-radius: 999px; font-family: var(--font-display); font-weight: 600;
  font-size: .92rem; color: var(--green-800); box-shadow: var(--shadow-md); white-space: nowrap;
}

.sticky-side { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 820px) { .sticky-side { position: static; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--green-900); color: #fff; }
.cta-band::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--green-800) 0%, var(--green-900) 100%);
}
.cta-band .container { position: relative; z-index: 1; text-align: center; padding-block: clamp(56px, 7vw, 88px); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #b9d0bf; max-width: 56ch; margin-inline: auto; font-size: 1.1rem; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: linear-gradient(180deg, var(--green-900) 0%, var(--green-950) 62%); color: #9db3a4; padding: clamp(56px, 7vw, 82px) 0 0; font-size: .97rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: clamp(30px, 5vw, 60px); }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .wordmark { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: #fff; letter-spacing: -.02em; line-height: 1.2; }
.footer-brand .wordmark span { display: block; font-size: .82rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: #7fc98c; margin-top: .4rem; }
.footer-brand p { margin-top: 1.2rem; max-width: 34ch; }
.site-footer h4 { font-family: var(--font-display); color: #fff; font-size: .84rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 1.2rem; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.site-footer a { color: #cfe0d4; }
.site-footer a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: clamp(40px, 5vw, 60px); padding: 24px 0; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .88rem; color: #8fa697;
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--green-700); color: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease), background-color .2s;
}
.to-top.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--accent); }
.to-top svg { width: 19px; height: 19px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }

/* ---------- Utilities ---------- */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--green-800); color: #fff; padding: .7em 1.2em; border-radius: 0 0 10px 10px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-slide.is-active { animation: none; }
}
