/* ecoconnect: The Living Catalogue. Tokens and rules in DESIGN.md */
:root {
  --paper: #F2F5EE;
  --paper-2: #E5EBDF;
  --ink: #13221A;
  --ink-soft: #4B5B51;
  --line: rgba(19, 34, 26, .14);
  --green: #2C8A3E;
  --green-deep: #1E6B2E;
  --forest: #0F2A1D;
  --leaf: #8BD17A;
  --white: #FBFCF9;
  --r: 24px;
  --r-sm: 14px;
  --gut: clamp(16px, 4vw, 48px);
  --sec: clamp(56px, 8vw, 116px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --body: "Manrope", "Avenir Next", system-ui, sans-serif;
  --latin: "Newsreader", Georgia, serif;
  --hdr-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased;
}
main { overflow-x: clip; display: block; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 500; letter-spacing: -.03em; line-height: 1.02; }
p { margin: 0; }
em { font-style: italic; }
figure { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10001; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.wrap { width: min(1320px, 100%); margin: 0 auto; padding: 0 var(--gut); }
.section { padding: var(--sec) 0; }
.hl { color: var(--green); }
.h2 { font-size: clamp(34px, 4.4vw, 64px); max-width: 18ch; }
.lead { font-size: clamp(17px, 1.35vw, 20px); color: var(--ink-soft); max-width: 58ch; }

/* Buttons: pill, colour swap only, never move */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 15.5px/1 var(--body); letter-spacing: -.005em; text-decoration: none; white-space: nowrap;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--green); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--green); border-color: var(--green); color: var(--white); }
.btn-light { background: var(--white); color: var(--green-deep); }
.btn-light:hover { background: var(--ink); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 9999;
  transform: translate3d(0, 0, 0); will-change: transform;
}
.site-header.is-fixed { position: fixed; background: var(--paper); transform: translate3d(0, calc(-100% - 24px), 0); opacity: 0; pointer-events: none; }
.site-header.is-fixed.is-anim { transition: transform .6s var(--ease), opacity .6s var(--ease); }
.site-header.is-fixed.is-shown { transform: translate3d(0, 0, 0); opacity: 1; pointer-events: auto; }
.hdr {
  position: relative; height: var(--hdr-h); display: flex; align-items: center; justify-content: space-between;
  width: min(1320px, 100%); margin: 0 auto; padding: 0 var(--gut);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; position: relative; z-index: 2; }
.brand-mark { height: 38px; width: auto; aspect-ratio: 405/580; }
.brand-word { height: 26px; width: auto; aspect-ratio: 1650/202; }
.nav {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; gap: clamp(18px, 2.2vw, 34px);
}
.nav a { font: 500 16px/1 var(--display); letter-spacing: -.01em; text-decoration: none; color: var(--ink); padding: 8px 0; position: relative; transition: color .3s var(--ease); }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: var(--green); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover { color: var(--green); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.hdr-cta { min-height: 46px; padding: 0 22px; }
.menu-toggle { display: none; }

/* ---------- Mobile menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 9998; background: var(--green); color: var(--white);
  padding: calc(var(--hdr-h) + 28px) var(--gut) 36px; display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .7s var(--ease), visibility 0s linear .7s;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .7s var(--ease), visibility 0s; }
.menu-links { display: flex; flex-direction: column; gap: 6px; }
.menu-links a, .menu-foot {
  opacity: 0; transform: translateY(26px);
  transition: opacity .5s var(--ease), transform .6s var(--ease);
  transition-delay: calc((5 - var(--i)) * 40ms);
}
.menu-links a { font: 500 clamp(38px, 10vw, 56px)/1.08 var(--display); letter-spacing: -.03em; color: var(--white); text-decoration: none; }
.menu.is-open .menu-links a, .menu.is-open .menu-foot { opacity: 1; transform: none; transition-delay: calc(180ms + var(--i) * 60ms); }
.menu-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.menu-foot > a:last-child { color: var(--white); font-weight: 600; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; padding-top: calc(var(--hdr-h) + clamp(12px, 3svh, 40px)); padding-bottom: clamp(56px, 9svh, 110px); display: flex; flex-direction: column; }
.hero-top { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); align-items: end; }
.hero-title { font-size: clamp(44px, min(5.7vw, 10svh), 92px); line-height: 1; letter-spacing: -.04em; font-weight: 500; }
.hero-title .ln { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero-title .ln > span { display: block; }
.hero-title em { font-style: normal; }
.hero-side { padding-bottom: .6em; }
.hero-sub { font-size: clamp(17px, 1.3vw, 19px); color: var(--ink-soft); max-width: 40ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-stage { position: relative; flex: 1; display: flex; margin-top: clamp(28px, 5svh, 60px); }
.plate {
  position: relative; width: 100%; min-height: clamp(260px, 42svh, 560px); flex: 1;
  border-radius: var(--r); overflow: hidden; background: #cfe3e4; isolation: isolate;
}
.plate-img { position: absolute; inset: -12% 0 -12% 0; width: 100%; height: 124%; object-fit: cover; object-position: 50% 62%; }
.specimens { position: absolute; inset: 0 var(--gut); pointer-events: none; }
.thread { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.thread-line { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-dasharray: 1.5 7; stroke-linecap: round; opacity: .55; }
.thread-reveal { fill: none; stroke: #fff; stroke-width: 6; }
.spec { position: absolute; }
.spec img { width: 100%; filter: drop-shadow(0 18px 22px rgba(19, 34, 26, .22)); }
.spec figcaption {
  position: absolute; white-space: nowrap; font: italic 400 clamp(14px, 1.1vw, 17px)/1 var(--latin); color: var(--ink);
  background: var(--paper); padding: 6px 10px 7px; border-radius: 8px; box-shadow: 0 6px 18px rgba(19, 34, 26, .1);
}
.spec-bfly { width: clamp(84px, 8.5vw, 140px); left: 4%; top: -10%; transform: rotate(-12deg); }
.spec-moth { width: clamp(120px, 12vw, 200px); right: 2%; top: -8%; transform: rotate(9deg); }
.spec-moth figcaption { right: 70%; top: 92%; }
.spec-skipper { width: clamp(96px, 9vw, 150px); left: 30%; top: 8%; transform: rotate(-6deg); }
.spec-skipper figcaption { left: 70%; top: 86%; }
.spec-gecko { width: clamp(150px, 15vw, 250px); right: 9%; bottom: -15%; }
.spec-gecko figcaption { right: 92%; top: 30%; }
.spec-ant { width: clamp(110px, 10vw, 170px); left: 12%; bottom: -9%; transform: rotate(4deg); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: clamp(18px, 2.4vw, 30px) 0; border-block: 1px solid var(--line); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee-row { display: flex; flex-shrink: 0; }
.marquee-row span { display: inline-flex; align-items: center; gap: clamp(22px, 3vw, 44px); padding-right: clamp(22px, 3vw, 44px); white-space: nowrap; }
.marquee em { font: italic 400 clamp(26px, 3vw, 44px)/1.15 var(--latin); }
.marquee svg { height: clamp(22px, 2.4vw, 34px); width: auto; aspect-ratio: 405/580; color: var(--green); }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 110px); align-items: center; }
.about-copy .lead { margin-top: 26px; }
.defs { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 4px; }
.defs li { font: 500 clamp(22px, 2.2vw, 32px)/1.25 var(--display); letter-spacing: -.02em; padding: 12px 0; border-top: 1px solid var(--line); }
.defs li:last-child { border-bottom: 1px solid var(--line); }
.defs li span { color: var(--ink-soft); font-weight: 400; }
.about-photo { position: relative; }
.frame-arch { border-radius: 999px 999px var(--r) var(--r); overflow: hidden; aspect-ratio: 4/5; background: var(--paper-2); }
.frame-arch img { width: 100%; height: 100%; object-fit: cover; }
.about-float { position: absolute; width: 46%; left: -18%; bottom: 10%; filter: drop-shadow(0 18px 24px rgba(19, 34, 26, .25)); }
.about-photo figcaption { margin-top: 16px; font: italic 400 19px/1.35 var(--latin); color: var(--ink-soft); max-width: 30ch; }

/* ---------- Stats ---------- */
.stats { position: relative; overflow-x: clip; }
.stats-title { max-width: 16ch; }
.stats-float { position: absolute; pointer-events: none; filter: drop-shadow(0 14px 20px rgba(19, 34, 26, .2)); }
.stats-float-a { width: clamp(70px, 8vw, 130px); right: 5%; top: 8%; transform: rotate(18deg); }
.stats-float-b { width: clamp(80px, 9vw, 150px); left: 46%; top: 14%; transform: rotate(-14deg); }
.drawer { margin-top: clamp(32px, 4vw, 56px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(170px, auto); gap: 14px; }
.cell { background: var(--paper-2); border-radius: var(--r); padding: clamp(20px, 2.2vw, 30px); display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.cell-big { grid-column: span 2; grid-row: span 2; background: var(--green); color: var(--white); }
.cell-big .num { font-size: clamp(90px, 13vw, 210px); }
.cell-big .cap { color: rgba(251, 252, 249, .86); font-size: 19px; }
.cell-warn { background: var(--ink); color: var(--white); }
.cell-warn .cap { color: rgba(251, 252, 249, .75); }
.cell-photo { padding: 0; overflow: hidden; gap: 0; justify-content: flex-start; }
.cell-photo img { width: 100%; flex: 1; min-height: 0; height: 100%; object-fit: cover; }
.cell-photo .cap { padding: 16px 20px 20px; font-size: 14px; }
.num { font: 500 clamp(56px, 6vw, 92px)/.9 var(--display); letter-spacing: -.05em; }
.cap { font-size: 15.5px; color: var(--ink-soft); line-height: 1.45; }
.source { margin-top: 18px; font-size: 13px; color: var(--ink-soft); }

/* ---------- Ways (pinned horizontal) ---------- */
.ways { position: relative; z-index: 1; background: var(--forest); color: var(--white); }
.ways-pin { height: 100svh; min-height: 520px; display: grid; grid-template-columns: minmax(0, 40vw) minmax(0, 1fr); align-items: center; overflow: hidden; }
.ways-head { padding: 0 clamp(20px, 3vw, 48px) 0 max(var(--gut), calc((100vw - 1320px) / 2 + var(--gut))); }
.ways-head .hl { color: var(--leaf); }
.ways-head p { margin-top: 20px; color: var(--white); max-width: 34ch; }
.ways-viewport { overflow: hidden; height: 100%; display: flex; align-items: center; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 72px); mask-image: linear-gradient(to right, transparent 0, #000 72px); }
.ways-track { list-style: none; margin: 0; padding: 18px 8vw 18px 0; display: flex; gap: clamp(16px, 1.8vw, 28px); width: max-content; }
.tag {
  position: relative; width: clamp(260px, min(26vw, 44svh), 380px); background: var(--paper); color: var(--ink);
  border-radius: var(--r); padding: 38px 12px 22px; display: flex; flex-direction: column;
}
.tag::before { /* eyelet */
  content: ""; position: absolute; top: 13px; left: 50%; width: 13px; height: 13px; margin-left: -6.5px; border-radius: 50%;
  background: var(--forest); box-shadow: 0 0 0 4px var(--paper-2); z-index: 2;
}
.tag::after { /* string */
  content: ""; position: absolute; bottom: calc(100% - 19px); left: 50%; width: 1.5px; height: 40px; background: rgba(139, 209, 122, .7); transform-origin: bottom; transform: rotate(14deg);
}
.tag-img { border-radius: 16px; overflow: hidden; aspect-ratio: 4/3.3; height: clamp(150px, 30svh, 270px); width: 100%; }
.tag-img img { width: 100%; height: 100%; object-fit: cover; }
.tag-body { padding: 18px 10px 0; }
.tag-price { display: inline-block; font: 600 13px/1 var(--body); letter-spacing: .02em; color: var(--green-deep); background: rgba(44, 138, 62, .12); padding: 7px 11px; border-radius: 999px; }
.tag h3 { font-size: clamp(22px, min(2vw, 3.6svh), 28px); margin-top: 12px; }
.tag-body p:last-child { margin-top: 8px; font-size: clamp(14.5px, 1.9svh, 16px); color: var(--ink-soft); line-height: 1.5; }

/* ---------- Stories ---------- */
.labels { margin-top: clamp(36px, 5vw, 70px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.label { background: var(--white); border-radius: var(--r); padding: clamp(24px, 2.6vw, 38px); border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(19, 34, 26, .35); position: relative; }
.label::before { content: ""; position: absolute; top: 18px; right: 22px; width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(44, 138, 62, .15); }
.label-a { grid-column: 1 / span 6; transform: rotate(-1.2deg); }
.label-b { grid-column: 7 / span 6; margin-top: 70px; transform: rotate(1deg); }
.label-c { grid-column: 2 / span 6; margin-top: -10px; transform: rotate(-.6deg); align-self: start; }
.wren { grid-column: 9 / span 3; margin-top: -40px; transform: rotate(2.5deg); background: var(--white); padding: 10px 10px 14px; border-radius: var(--r-sm); box-shadow: 0 30px 60px -40px rgba(19, 34, 26, .4); align-self: start; }
.wren img { border-radius: 8px; width: 100%; }
.wren figcaption { margin-top: 10px; font: italic 400 16px/1.3 var(--latin); color: var(--ink-soft); }
.label-species { font-size: 14.5px; color: var(--ink-soft); padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.label-species em { font: italic 400 22px/1 var(--latin); color: var(--ink); margin-right: 6px; }
.label blockquote { margin: 18px 0 0; font: 500 clamp(22px, 2.1vw, 30px)/1.22 var(--display); letter-spacing: -.02em; }
.label figcaption { margin-top: 18px; font-size: 15px; color: var(--ink-soft); }
.label figcaption strong { color: var(--ink); }

/* ---------- Founder ---------- */
.founder { background: var(--paper-2); }
.founder-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 100px); align-items: center; }
.idcard { background: var(--white); border-radius: var(--r); padding: 14px 14px 22px; box-shadow: 0 40px 70px -40px rgba(19, 34, 26, .4); transform: rotate(-2deg); max-width: 520px; }
.idcard-photo { border-radius: 14px; overflow: hidden; aspect-ratio: 5/4; }
.idcard-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 30%; }
.idcard-meta { display: grid; gap: 4px; padding: 18px 8px 0; font-size: 14.5px; color: var(--ink-soft); }
.idcard-name { font: 500 26px/1.1 var(--display); color: var(--ink); letter-spacing: -.02em; }
.idcard-sp { margin-top: 8px; padding-top: 12px; border-top: 1px dashed var(--line); }
.idcard-sp em { font: italic 400 19px/1 var(--latin); color: var(--green-deep); }
.founder-copy .h2 { max-width: 15ch; }
.founder-copy p { margin-top: 20px; color: var(--ink-soft); max-width: 60ch; }
.pull { margin: 30px 0 0; padding-left: 22px; border-left: 3px solid var(--green); font: 500 clamp(21px, 1.8vw, 26px)/1.3 var(--display); letter-spacing: -.015em; max-width: 34ch; }
.pull cite { display: block; margin-top: 12px; font: 500 14.5px/1 var(--body); font-style: normal; color: var(--ink-soft); letter-spacing: 0; }

/* ---------- Research bento ---------- */
.research .lead { margin-top: 20px; }
.bento { margin-top: clamp(32px, 4vw, 56px); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: clamp(200px, 19vw, 280px); gap: 14px; }
.b { position: relative; border-radius: var(--r); overflow: hidden; background: var(--paper-2); }
.b > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.b-txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; color: var(--white); background: linear-gradient(to top, rgba(10, 24, 16, .85), rgba(10, 24, 16, 0)); }
.b-txt h3 { font-size: clamp(20px, 1.7vw, 26px); }
.b-txt p { margin-top: 6px; font-size: 14.5px; line-height: 1.45; color: rgba(251, 252, 249, .85); max-width: 46ch; }
.b-1 { grid-column: span 4; grid-row: span 2; }
.b-2 { grid-column: span 2; }
.b-3 { grid-column: span 2; }
.b-4 { grid-column: span 3; background: var(--white); border: 1px solid var(--line); }
.b-4 .b-txt { color: var(--ink); background: none; }
.b-4 .b-txt p { color: var(--ink-soft); }
.b-specimens { position: absolute; inset: 14px 14px 40% 14px; display: flex; align-items: center; justify-content: center; gap: 6%; }
.b-specimens img { width: 34%; filter: drop-shadow(0 10px 14px rgba(19, 34, 26, .2)); }
.b-specimens img:first-child { transform: rotate(-8deg); }
.b-specimens img:last-child { transform: rotate(7deg); }
.b-5 { grid-column: span 3; }

/* ---------- Gift CTA ---------- */
.gift { padding-top: 0; }
.gift-card { position: relative; }
.gift-card > * { position: relative; }
.gift-card::before { content: ""; position: absolute; inset: 0 var(--gut); border-radius: calc(var(--r) * 1.4); background: var(--green); }
.gift-card { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); align-items: center; gap: 24px; color: var(--white); }
.gift-copy { padding: clamp(36px, 5vw, 76px) 0 clamp(36px, 5vw, 76px) clamp(28px, 5vw, 76px); }
.gift-copy .h2 { max-width: 16ch; }
.gift-copy .hl { color: var(--ink); }
.gift-copy p { margin-top: 20px; color: rgba(251, 252, 249, .9); max-width: 46ch; }
.gift-copy .btn { margin-top: 28px; }
.gift .btn-primary:hover { background: var(--white); color: var(--green-deep); }
.gift-frog { padding: 30px clamp(28px, 4vw, 60px) 30px 0; text-align: center; }
.gift-frog img { width: min(100%, 330px); margin: 0 auto; filter: drop-shadow(0 24px 30px rgba(10, 30, 15, .35)); }
.gift-frog figcaption { margin-top: 10px; font: italic 400 20px/1.2 var(--latin); color: var(--white); }

/* ---------- Visit ---------- */
.visit-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: stretch; }
.hours { margin: 30px 0 0; display: grid; gap: 0; }
.hours > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.hours > div:last-child { border-bottom: 1px solid var(--line); }
.hours dt { font: 500 16px/1.5 var(--display); color: var(--green-deep); }
.hours dd { margin: 0; }
.hours a { text-decoration-color: rgba(44, 138, 62, .45); text-underline-offset: 3px; }
.hours a:hover { color: var(--green); }
.note { margin-top: 18px; font-size: 15px; color: var(--ink-soft); max-width: 46ch; }
.visit-copy .btn { margin-top: 24px; }
.map { position: relative; min-height: 420px; border-radius: var(--r) 180px var(--r) var(--r); overflow: hidden; background: var(--paper-2); border: 10px solid var(--white); box-shadow: 0 30px 60px -40px rgba(19, 34, 26, .4); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; }
.map.is-active iframe { pointer-events: auto; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq .h2 { max-width: 11ch; }
.faq-list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa h3 { font-size: inherit; letter-spacing: 0; }
.qa button {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0;
  background: none; border: 0; text-align: left; cursor: pointer; color: var(--ink);
  font: 500 clamp(19px, 1.6vw, 23px)/1.25 var(--display); letter-spacing: -.015em; transition: color .3s var(--ease);
}
.qa button:hover { color: var(--green); }
.qa button i { position: relative; flex: 0 0 34px; height: 34px; border-radius: 50%; border: 1.5px solid currentColor; }
.qa button i::before, .qa button i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; transition: transform .5s var(--ease); }
.qa button i::after { transform: rotate(90deg); }
.qa.is-open button i::after { transform: rotate(0); }
.qa-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.qa-a > div { overflow: hidden; }
.qa-a p { padding: 0 0 26px; color: var(--ink-soft); max-width: 62ch; opacity: 0; transform: translateY(-6px); transition: opacity .4s var(--ease), transform .5s var(--ease); }
.qa.is-open .qa-a { grid-template-rows: 1fr; }
.qa.is-open .qa-a p { opacity: 1; transform: none; transition-delay: .08s; }
.qa-a a { color: var(--green-deep); }

/* ---------- Footer ---------- */
.footer { background: var(--forest); color: rgba(251, 252, 249, .78); padding: clamp(56px, 7vw, 100px) 0 28px; }
.foot-top { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: end; padding-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid rgba(251, 252, 249, .14); }
.foot-logo { color: var(--white); display: block; }
.foot-logo svg { width: clamp(170px, 16vw, 230px); height: auto; aspect-ratio: 1650/1142; display: block; }
.foot-line { font: 500 clamp(28px, 3.4vw, 50px)/1.05 var(--display); letter-spacing: -.03em; color: var(--white); max-width: 18ch; justify-self: end; text-align: right; }
.foot-line .hl { color: var(--leaf); }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding: clamp(36px, 4vw, 56px) 0; }
.foot-h { font: 500 22px/1.1 var(--display); color: var(--leaf); letter-spacing: -.015em; margin-bottom: 16px; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 15px; }
.foot-cols a { text-decoration: none; transition: color .3s var(--ease); }
.foot-cols a:hover { color: var(--leaf); }
.muted { color: rgba(251, 252, 249, .5); }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid rgba(251, 252, 249, .14); font-size: 14px; }
.foot-base a { text-decoration: none; }
.foot-base p a { color: var(--leaf); font-weight: 600; }
.to-top:hover { color: var(--leaf); }

/* ---------- Reveal (JS adds .js) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform 1s var(--ease); }
.js .hero-title .ln > span { transform: translateY(105%); }
.js .hero-side, .js .plate { opacity: 0; }
.js .spec { opacity: 0; }

/* ---------- Tablet / mobile ---------- */
@media (max-width: 1100px) {
  .brand-mark { height: 32px; }
  .brand-word { height: 21px; }
  .nav { gap: 18px; }
  .nav a { font-size: 15px; }
}
@media (max-width: 899px) {
  :root { --hdr-h: 68px; }
  .nav, .hdr-cta { display: none; }
  .brand-mark { height: 32px; }
  .brand-word { height: 21px; }
  .menu-toggle {
    display: grid; place-content: center; gap: 7px; width: 48px; height: 48px; margin-right: -8px; border: 0; background: none; cursor: pointer; position: relative; z-index: 2; color: var(--ink);
  }
  .menu-toggle i { display: block; width: 26px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .6s var(--ease); }
  .is-menu .menu-toggle i:nth-of-type(1) { transform: translateY(4.5px) rotate(45deg); }
  .is-menu .menu-toggle i:nth-of-type(2) { transform: translateY(-4.5px) rotate(-45deg); }
  .is-menu .site-header { background: transparent; }
  .is-menu .brand, .is-menu .menu-toggle { color: var(--white); }
  html.is-locked { overflow: hidden; }

  h1, .h2, .lead, .hero-sub, .stats-title, .founder-copy .h2, .gift-copy .h2, .faq .h2, .foot-line, .ways-head .h2 { max-width: none; text-wrap: pretty; }
  .hero-top { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .hero-title { font-size: clamp(40px, 11.4vw, 64px); }
  .hero-side { padding-bottom: 0; }
  .hero-stage { margin-top: 64px; }
  .plate { min-height: clamp(280px, 46svh, 520px); }
  .spec-bfly { left: 2%; top: -16%; }
  .spec-moth { right: 2%; top: -18%; width: 116px; }
  .spec-moth figcaption { right: 60%; }
  .spec-skipper { display: none; }
  .spec-gecko { right: 4%; bottom: -12%; width: 150px; }
  .spec-ant { left: 6%; bottom: -8%; width: 104px; }

  .about-grid, .founder-grid, .visit-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .about-photo { width: min(88%, 420px); margin-left: auto; }
  .drawer { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(150px, auto); }
  .cell-big { grid-column: span 2; grid-row: auto; min-height: 260px; }
  .cell-warn { grid-column: span 2; }
  .cell-photo { grid-column: span 2; }
  .cell-photo img { aspect-ratio: 16/9; flex: none; height: auto; }
  .ways-viewport { -webkit-mask-image: none; mask-image: none; }
  .stats-float-b { left: auto; right: 5%; top: -40px; width: 92px; }
  .stats-float-a { display: none; }

  .ways-pin { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); align-items: start; align-content: start; height: 100svh; padding-top: clamp(64px, 11svh, 104px); }
  .ways-head { padding: 0 var(--gut) 50px; }
  .ways-head p { max-width: none; }
  .ways-viewport { height: auto; }
  .ways-track { padding: 30px var(--gut) 18px; }
  .tag { width: min(76vw, 320px); }
  .tag-img { height: clamp(120px, 21svh, 200px); }

  .labels { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .label-a, .label-b, .label-c { grid-column: auto; margin-top: 0; }
  .wren { grid-column: auto; margin: 10px 0 0; width: 100%; transform: rotate(1deg); }
  .idcard { margin: 0 auto 0 0; }
  .bento { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 260px; }
  .b-1, .b-2, .b-3, .b-4, .b-5 { grid-column: auto; grid-row: auto; }
  .gift-card { grid-template-columns: minmax(0, 1fr); }
  .gift-copy { padding: 40px 28px 0; }
  .gift-frog { padding: 0 28px 34px; }
  .gift-frog img { width: 220px; }
  .map { min-height: 340px; }
  .foot-top { grid-template-columns: minmax(0, 1fr); }
  .foot-line { justify-self: start; text-align: left; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) and (max-height: 760px) {
  .ways-pin { padding-top: 48px; }
  .ways-head p { margin-top: 12px; font-size: 15px; line-height: 1.5; }
  .ways-track { padding-top: 22px; }
  .tag-img { height: 16svh; }
  .tag-body { padding-top: 12px; }
  .tag h3 { font-size: 21px; margin-top: 10px; }
  .tag-body p:last-child { font-size: 14px; }
}
@media (max-width: 520px) {
  .hero-ctas .btn { flex: 1 1 100%; }
  .foot-cols { grid-template-columns: minmax(0, 1fr); }
  .hours > div { grid-template-columns: 86px minmax(0, 1fr); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .js .reveal, .js .hero-side, .js .plate, .js .spec { opacity: 1; transform: none; }
  .js .hero-title .ln > span { transform: none; }
  .spec-bfly { transform: rotate(-12deg); }
  .ways-pin { height: auto; padding: var(--sec) 0; grid-template-columns: minmax(0, 1fr); }
  .ways-head { padding: 0 var(--gut) 40px; }
  .ways-viewport { overflow-x: auto; scroll-snap-type: x mandatory; }
  .ways-track { padding: 30px var(--gut) 24px; }
  .tag { scroll-snap-align: start; }
  * { transition-duration: .01ms !important; }
}
