/* FONTS START — self-hosted Lexend (SIL Open Font License, see fonts/OFL.txt) */
@font-face {
  font-family: "Lexend"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/fonts/lexend-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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Lexend Giga"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/fonts/lexend-giga-latin-500.woff2") format("woff2");
}
@font-face {
  font-family: "Lexend Giga"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/fonts/lexend-giga-latin-600.woff2") format("woff2");
}
/* FONTS END */

/* =====================================================================
   HARSHA PATEL — PERSONAL NFC LANDING PAGE · v1.0
   Layout concept: a stack of short colour bands, each anchored by one
   original geometric composition; mobile-first single column that opens
   into two columns on wider screens.

   EDITING TIPS
   - All copy lives in the HTML below, section by section (search "SECTION").
   - To add the portrait: replace the .portrait-placeholder block with
     <img src="portrait.webp" alt="..." width="600" height="750">
   - Colours are tokens below. Contrast ratios (checked against cream
     #FAF5EB unless noted):
       brown text ............ 13.23:1  (all text)
       olive-ink text ......... 6.48:1  (all text)
       coral-ink text ......... 5.67:1  (all text)
       olive #64794A .......... 4.42:1  (large text / UI only — not body)
       coral #D47B61 .......... 2.84:1  (illustration only)
       gold #F2C45A ........... 1.51:1  (illustration / fills only)
       cream on brown ........ 13.23:1;  gold on brown 8.77:1
       brown on gold .......... 8.77:1;  brown on tints 11.0–12.2:1
       cream on pill olive #5F7247 ... 4.85:1
       brown on tapped cream #EFDDB8 . 10.75:1
   This page deliberately commits to a single warm-light look (the brand
   background is cream), so there is no dark theme.
   ===================================================================== */
:root {
  /* Brand palette */
  --cream: #FAF5EB;
  --brown: #421F2A;
  --olive: #64794A;
  --coral: #D47B61;
  --gold:  #F2C45A;
  /* Darker companions for text and UI on cream */
  --olive-ink: #4E5E39;
  --coral-ink: #9C4930;
  /* Soft tints for section backgrounds (brown text sits on these) */
  --olive-tint: #E3E8D6;
  --coral-tint: #F4DCD2;
  --gold-tint:  #FBEBC2;
  --cream-soft: #E8D9CC;   /* secondary text on brown: 10.42:1 */
  --olive-pill: #5F7247;   /* olive deep enough for cream text: 4.85:1 */
  --cream-pressed: #EFDDB8;
  --white: #FFFFFF;

  /* Type */
  --font: "Lexend", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-wide: "Lexend Giga", "Lexend", "Segoe UI", system-ui, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.45rem, 1.2rem + 1.2vw, 1.85rem);
  --step-3: clamp(2rem, 1.5rem + 2.6vw, 3.1rem);
  --step-4: clamp(2.6rem, 1.6rem + 5vw, 5.2rem);

  --radius: 1.25rem;
  --focus: var(--brown);
  --focus-halo: var(--cream);
  --measure: 38rem;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-bottom: 5rem; } /* keeps focused items clear of the To top button (WCAG 2.4.11) */
body {
  margin: 0;
  background: var(--cream);
  color: var(--brown);
  font-family: var(--font);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  overflow-wrap: break-word;
}
h1, h2, h3 { margin: 0; line-height: 1.12; text-wrap: balance; font-weight: 800; letter-spacing: -0.02em; }
p { margin: 0; max-width: var(--measure); }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }

/* Focus: thick, two-tone ring that reads on every band */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  box-shadow: 0 0 0 7px var(--focus-halo);
  border-radius: 0.5rem;
}
.band--dark { --focus: var(--gold); --focus-halo: var(--brown); }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 10;
  background: var(--brown); color: var(--cream);
  padding: 0.75rem 1rem; border-radius: 0.5rem; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: calc(1rem + env(safe-area-inset-top, 0px)); }

/* Bands: full-bleed colour, padded inner wrapper */
.band { position: relative; overflow: hidden; }
.wrap > *, .stack > * { min-width: 0; }
.wrap {
  max-width: 68rem; margin-inline: auto;
  padding-left: max(1.25rem, env(safe-area-inset-left, 0px));
  padding-right: max(1.25rem, env(safe-area-inset-right, 0px));
  padding-block: clamp(3.5rem, 8vw, 6rem);
}
.band--dark  { background: var(--brown); color: var(--cream); }
.band--gold  { background: var(--gold-tint); }
.band--olive { background: var(--olive-tint); }
.band--coral { background: var(--coral-tint); }

.eyebrow {
  font-family: var(--font-wide);
  font-size: 0.875rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--coral-ink);
  display: inline-flex; align-items: center; gap: 0.6rem;
}
.eyebrow::before {
  content: ""; width: 0.7rem; height: 0.7rem; border-radius: 50%;
  background: currentColor; flex: none;
}
.band--dark .eyebrow { color: var(--gold); }
.band--olive .eyebrow { color: var(--olive-ink); }
.h2 { font-size: var(--step-3); }
.lede { font-size: var(--step-1); font-weight: 500; line-height: 1.45; }
.stack { display: flex; flex-direction: column; gap: 1.25rem; }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3rem; padding: 0.7rem 1.4rem;
  font: inherit; font-weight: 600; font-size: var(--step-0);
  border-radius: 999px; border: 2px solid var(--brown);
  text-decoration: none; cursor: pointer; max-width: 100%; text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn--primary { background: var(--brown); color: var(--cream); box-shadow: 4px 4px 0 var(--gold); }
.btn--primary:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--gold); }
.btn--outline { background: transparent; color: var(--brown); border-color: var(--brown); }
.btn--outline:hover { background: var(--gold-tint); }
.btn--gold { background: var(--gold); color: var(--brown); border-color: var(--gold); box-shadow: 4px 4px 0 var(--coral); }
.btn--gold:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--coral); }
.btn--ghost { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn--ghost:hover { background: rgba(250,245,235,.12); }

/* ---------------- Top bar (not sticky: keeps the phone screen clear) */
.topbar .wrap {
  padding-block: 1rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem;
}
.mark { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 700; font-size: var(--step-0); }
.mark svg { width: 2rem; height: 2rem; }
.mark-name { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 0.45rem; line-height: 1.2; }
.mark-name .post { font-weight: 400; font-size: 0.875rem; white-space: nowrap; }
@media (max-width: 51.99rem) { .mark-name { flex-direction: column; row-gap: 0.1rem; } }
.jump {
  display: inline-flex; align-items: center; gap: 0.4rem;
  min-height: 2.75rem; padding: 0.4rem 0.9rem;
  font-weight: 600; font-size: var(--step--1);
  border: 2px solid var(--brown); border-radius: 999px; text-decoration: none;
}
.jump:hover { background: var(--brown); color: var(--cream); }

/* ---------------- SECTION 1 hero */
.hero .wrap { padding-top: 1rem; display: grid; gap: 1.75rem; align-items: center; }
.hero h1 { font-size: var(--step-4); font-weight: 900; letter-spacing: -0.035em; }
.hero h1 .name { color: var(--olive-ink); position: relative; }
.hero h1 .name::after {
  content: ""; position: absolute; left: 0; right: 0.12em; bottom: 0.04em; height: 0.16em;
  background: var(--gold); z-index: -1; border-radius: 0.1em;
}
.hero h1 { position: relative; z-index: 0; isolation: isolate; }
.hero .copy { display: flex; flex-direction: column; gap: 1.25rem; min-width: 0; }
.hero .lede { color: var(--brown); }
.hero .spark { font-weight: 600; }
.hero .cta-row { padding-top: 0.5rem; display: flex; flex-wrap: wrap; gap: 0.9rem 1rem; }

.portrait-stage { position: relative; width: min(100%, 17rem); margin-inline: auto; aspect-ratio: 400 / 430; order: -1; }
.portrait-stage .deco { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 1; pointer-events: none; }
.portrait-frame {
  position: absolute; left: 9%; right: 9%; top: 9%; bottom: 0;
  border-radius: 30% / 26%;
  overflow: hidden; background: var(--olive-tint);
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.portrait-placeholder {
  width: 100%; height: 100%;
  display: grid; place-items: center; text-align: center;
  padding: 1.5rem; font-size: var(--step--1); font-weight: 500; color: var(--olive-ink);
  border: 2px dashed var(--olive-ink); border-radius: inherit;
}

@media (min-width: 52rem) {
  .hero .wrap { grid-template-columns: 1.15fr 0.85fr; gap: 3rem; padding-bottom: 6rem; }
  .portrait-stage { order: 0; width: min(100%, 26rem); }
}

/* ---------------- SECTION 2 right now */
.now .wrap { display: grid; gap: 2.5rem; }
.now .h2 { color: var(--cream); }
.brandline {
  font-size: var(--step-2); font-weight: 300; color: var(--gold); letter-spacing: -0.01em;
}
.brandline strong { font-weight: 800; }
.now p { color: var(--cream); }
.status {
  display: flex; gap: 0.9rem; align-items: flex-start;
  padding: 1rem 1.2rem; border-radius: 1rem;
  background: rgba(250,245,235,.07); border: 2px solid var(--cream-soft);
  max-width: var(--measure);
}
.status .pulse { flex: none; width: 0.85rem; height: 0.85rem; margin-top: 0.45rem; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(242,196,90,.25); }
.status b { color: var(--gold); font-weight: 700; }
.soon { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; font-weight: 600; }
.tag {
  font-size: 0.875rem; font-weight: 600; line-height: 1.3;
  padding: 0.3rem 0.75rem; border-radius: 999px; border: 2px solid currentColor;
}
.now-art { width: min(100%, 22rem); margin-inline: auto; }
@media (min-width: 52rem) {
  .now .wrap { grid-template-columns: 1.3fr 0.7fr; align-items: center; gap: 4rem; }
  .now-art { order: 2; }
}

/* ---------------- SECTION 3 explore cards */
.explore .head { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2.5rem; }
.instruction { display: inline-flex; align-items: flex-start; gap: 0.6rem; font-weight: 500; color: var(--olive-ink); }
.instruction svg { width: 1.5rem; height: 1.5rem; flex: none; margin-top: 0.05em; }
.made .instruction { max-width: 48rem; }
/* The dot glows like an indicator light, three soft pulses, the first time
   it comes into view (3.6s in all, slow and small, so no flashing risk) */
.instruction svg { border-radius: 50%; }
@keyframes dot-glow {
  0%   { transform: scale(1);    box-shadow: 0 0 0 0 rgba(242,196,90,.75); }
  35%  { transform: scale(1.12); box-shadow: 0 0 0 4px rgba(242,196,90,.45); }
  100% { transform: scale(1);    box-shadow: 0 0 0 10px rgba(242,196,90,0); }
}
.instruction.is-nudging svg { animation: dot-glow 1.2s ease-out .3s 3 both; }
.ideas { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; align-items: start; }
@media (min-width: 46rem) {
  .ideas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* Same height for every closed card, even when a title wraps to two lines */
  .ideas .idea-label { min-height: 5.5rem; padding: 1rem; gap: 0.75rem; }
  .ideas .idea h3 { font-size: clamp(1rem, 0.35rem + 1.3vw, 1.25rem); }
  .ideas .idea .toggle-icon { width: 2rem; height: 2rem; }
}

.idea {
  background: var(--white); border: 2px solid var(--brown); border-radius: var(--radius);
  overflow: hidden; transition: transform .2s ease, box-shadow .2s ease;
}
@media (hover: hover) { .idea:hover { transform: translateY(-3px); } }
.idea.is-open { box-shadow: 0 6px 0 var(--brown); }
.idea h3 { font-size: var(--step-1); font-weight: 700; }
.idea-btn {
  all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; width: 100%;
}
.idea-btn:focus-visible { outline: 3px solid var(--brown); outline-offset: -6px; box-shadow: none; border-radius: var(--radius); }
.idea-art { aspect-ratio: 16 / 10; width: 100%; border-bottom: 2px solid var(--brown); }
.idea-art--coral { background: var(--coral-tint); }
.idea-art--olive { background: var(--olive-tint); }
.idea-art--gold  { background: var(--gold-tint); }
.idea-art svg { width: 100%; height: 100%; }
.idea-label { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.25rem; min-height: 3.5rem; }
.idea-cue { font-size: var(--step--1); font-weight: 600; color: var(--olive-ink); display: inline-flex; align-items: center; gap: 0.4rem; white-space: nowrap; }
/* Phones held upright: compact rows (small illustration, title, plus).
   Wider screens keep the large cards side by side. */
@media (max-width: 45.99rem) {
  .ideas { gap: 0.75rem; }
  .idea-btn { flex-direction: row; align-items: stretch; }
  .idea-art { width: 7.5rem; flex: none; aspect-ratio: auto; overflow: hidden; position: relative;
              border-bottom: 0; border-right: 2px solid var(--brown); }
  /* fill the square by height and trim the empty edges of the drawing */
  .idea-art svg { position: absolute; top: 0; left: 50%; height: 100%; width: auto; max-width: none;
                  aspect-ratio: 16 / 10; transform: translateX(-50%); }
  .idea-label { flex: 1; min-width: 0; min-height: 6.5rem; padding: 0.9rem 1rem; gap: 0.6rem; }
  .ideas .idea h3 { font-size: 1.05rem; }
  .ideas .idea .toggle-icon { width: 2rem; height: 2rem; }
}
@media (max-width: 22rem) {
  .idea-art { width: 5.5rem; }
  .idea-label { padding: 0.8rem; }
}

/* Shared expand/collapse icon: plus turns into minus (not colour alone) */
.toggle-icon {
  flex: none; width: 2.25rem; height: 2.25rem; border-radius: 50%;
  border: 2px solid var(--brown); display: grid; place-items: center; background: var(--cream);
}
.toggle-icon svg { width: 1rem; height: 1rem; transition: transform .25s ease; }
.toggle-icon .v { transition: opacity .2s ease; }
[aria-expanded="true"] .toggle-icon { background: var(--gold); }
[aria-expanded="true"] .toggle-icon svg { transform: rotate(180deg); }
[aria-expanded="true"] .toggle-icon .v { opacity: 0; }

/* Reveal panels. Without JS (.js absent) everything simply shows. */
.js .reveal { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .3s ease, visibility 0s linear .3s; }
.js .is-open > .reveal { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .3s ease; }
.reveal > div { overflow: hidden; min-height: 0; }
.js .no-anim .reveal { transition: none !important; }
.idea .reveal-inner { padding: 0 1.25rem 1.4rem; }
.idea .reveal-inner p { border-top: 2px dashed var(--olive); padding-top: 1rem; }

/* ---------------- SECTION 4 Doing Social */
.roots .wrap { display: grid; gap: 2.5rem; align-items: center; }
.roots h3 {
  font-size: var(--step-2); font-weight: 300; color: var(--olive-ink); letter-spacing: -0.01em;
}
.roots-art { width: min(100%, 20rem); margin-inline: auto; }
.roots-name { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.9rem; }
.roots-name .tag { color: var(--olive-ink); max-width: none; }
@media (min-width: 52rem) { .roots .wrap { grid-template-columns: 0.75fr 1.25fr; gap: 4rem; } }

/* ---------------- SECTION 5 achievements */
.made .head { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2.25rem; }
.feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
@media (min-width: 52rem) { .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
.feat {
  background: var(--white); border: 2px solid var(--brown); border-radius: var(--radius);
  transition: box-shadow .2s ease, transform .2s ease;
}
@media (hover: hover) { .feat:hover { transform: translateY(-2px); } }
.feat.is-open { box-shadow: 5px 5px 0 var(--brown); }
.feat h3 { font-size: inherit; font-weight: inherit; letter-spacing: 0; }
.feat-btn {
  all: unset; box-sizing: border-box; cursor: pointer; width: 100%;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0.5rem 1rem; align-items: center;
  padding: 1rem 1.1rem; min-height: 4.5rem; border-radius: var(--radius);
}
/* glyph spans both rows; the theme tags run under the title and may use the
   space beneath the plus, so two short tags fit on one line */
.feat-btn .feat-glyph { grid-row: 1; }
.feat-btn .feat-title { grid-column: 2; grid-row: 1; }
.feat-btn .toggle-icon { grid-column: 3; grid-row: 1; }
.feat-tags { grid-column: 1 / -1; grid-row: 2; display: flex; flex-wrap: wrap; gap: 0.3rem; }
.chip { font-size: 0.875rem; font-weight: 500; line-height: 1.4; color: var(--coral-ink);
        background: var(--coral-tint); padding: 0.15rem 0.5rem; border-radius: 999px; max-width: 100%; }
.nowrap { display: inline-block; max-width: 100%; } /* keeps "week-long" together unless the text is very large */
@media (max-width: 23rem) { .feat-btn { padding-inline: 0.9rem; } }
.feat-btn:focus-visible { outline: 3px solid var(--brown); outline-offset: 3px; box-shadow: 0 0 0 7px var(--cream); }
.feat-glyph { width: 3rem; height: 3rem; flex: none; }
.feat-title { display: block; font-size: var(--step-0); font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.feat .reveal-inner { padding: 0 1.25rem 1.3rem calc(1.1rem + 3rem + 1rem); }
@media (max-width: 26rem) { .feat .reveal-inner { padding-left: 1.1rem; } }

/* ---------------- SECTION 6 beyond work */
.beyond .wrap { display: grid; gap: 2rem; align-items: center; }
.beyond .sub { font-family: var(--font-wide); font-size: 0.875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--coral-ink); }
.beyond .lede { font-size: var(--step-2); font-weight: 400; line-height: 1.4; max-width: 34rem; }
.beyond .lede em { font-style: normal; font-weight: 700; background: linear-gradient(transparent 62%, var(--gold) 62%); }
.beyond-art { width: min(100%, 22rem); margin-inline: auto; }
@media (min-width: 52rem) { .beyond .wrap { grid-template-columns: 1.2fr 0.8fr; gap: 4rem; } }

/* ---------------- SECTION 7 connect */
.connect .h2 { color: var(--cream); font-size: var(--step-4); font-weight: 900; }
.connect .intro { color: var(--cream); font-size: var(--step-1); }
/* Pills size to the longest label and all match it */
.channels { list-style: none; padding: 0; margin: 2.25rem 0 0; display: grid; gap: 1.1rem; grid-template-columns: minmax(0, 1fr); width: max-content; max-width: 100%; }
@media (min-width: 52rem) { .channels { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 1fr; } }
.channel { display: flex; }
/* Three equal contact pills, one palette colour each, all with the coral shadow */
.pill { width: 100%; min-height: 3.25rem; padding-inline: 1.15rem; border-width: 2px; box-shadow: 4px 4px 0 var(--coral); }
.pill:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--coral); }
.pill:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--coral); }
.pill--gold  { background: var(--gold); color: var(--brown); border-color: var(--gold); }
.pill--olive { background: var(--olive-pill); color: var(--cream); border-color: var(--olive-pill); }
.pill--cream { background: var(--cream); color: var(--brown); border-color: var(--cream); }
.pill--cream.is-soon { background: var(--cream-pressed); border-color: var(--cream-pressed); }
.pill-text { overflow-wrap: anywhere; }
.connect-art { position: absolute; right: -4rem; bottom: -4rem; width: 18rem; pointer-events: none; z-index: 1; } /* sits in front of the footer line */
@media (max-width: 40rem) {
  .connect-art { width: 11rem; right: -3rem; bottom: -3rem; }
  /* room under the pills so the floating To top button never sits on them */
  .connect .wrap { padding-bottom: 7.5rem; }
}
.connect .wrap { position: relative; z-index: 1; }
footer { border-top: 2px solid rgba(232,217,204,.35); }
footer .wrap { padding-block: 1.5rem; font-size: var(--step--1); color: var(--cream-soft); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.5rem; }
@media (max-width: 40rem) { .footer-row { flex-direction: column; align-items: flex-start; gap: 0.25rem; } }
.footer-link { color: var(--cream); font-weight: 600; text-underline-offset: 0.2em; display: inline-flex; align-items: center; min-height: 2.75rem; }
.footer-link:hover { color: var(--gold); }


/* Extreme text-size resilience (200% text on 320px screens) */
.channels > li, .channel > *, .idea-label > *, .status > * { min-width: 0; max-width: 100%; }
.status { overflow-wrap: anywhere; }
.idea-label { overflow-wrap: break-word; hyphens: manual; }


/* ---------------- Back to top
   Dark cherry pill with cream text (13.23:1) and a cream edge so it stays
   visible over the dark sections too. It rises above the circles at the
   bottom right (see --btt-lift, set in the script) so it never sits on them. */
.btt {
  position: fixed; z-index: 20;
  right: calc(max(1rem, env(safe-area-inset-right, 0px) + 0.75rem));
  bottom: calc(max(1rem, env(safe-area-inset-bottom, 0px) + 0.75rem) + var(--btt-lift, 0px));
  display: inline-flex; align-items: center; gap: 0.45rem;
  min-height: 3rem; padding: 0.5rem 1.1rem 0.5rem 0.9rem;
  font: inherit; font-size: var(--step--1); font-weight: 600; line-height: 1;
  color: var(--cream); background: var(--brown);
  border: 2px solid var(--cream); border-radius: 999px;
  box-shadow: 0 6px 18px rgba(66, 31, 42, .28);
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  opacity: 0; visibility: hidden; transform: translateY(0.75rem);
  transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s, background-color .15s ease, color .15s ease;
}
.btt svg { width: 1.15rem; height: 1.15rem; flex: none; }
.btt.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .25s ease, background-color .15s ease, color .15s ease; }
/* Focus: brown ring with gold halo either side, readable on cream and on dark */
.btt:focus-visible { outline: 3px solid var(--brown); outline-offset: 3px; box-shadow: 0 0 0 9px var(--gold); border-radius: 999px; }
@media (hover: hover) {
  .btt:hover { background: var(--gold); color: var(--brown); border-color: var(--brown); }
}
.btt.is-visible:active { transform: scale(0.94); }
@media (forced-colors: active) { .btt { border-color: ButtonText; } }

/* Small screens: tighten a little */
@media (max-width: 22rem) {
  .btn { padding-inline: 1.1rem; }
  .hero h1 .name { white-space: normal; }
}

/* ---------------- Motion
   Each illustration plays once when it scrolls into view (or, for the
   Together card, when it's opened), finishes within 5 seconds (WCAG 2.2.2)
   and rests in its normal, fully visible position. Everything is switched
   off when "reduce motion" is on (see the prefers-reduced-motion rule). */

/* Teacup: steam rises and fades, the star twirls */
@keyframes steam-rise {
  0%   { transform: translateY(0) scaleX(1);       opacity: 1; }
  40%  { transform: translateY(-14px) scaleX(1.12); opacity: 0; }
  41%  { transform: translateY(10px) scaleX(0.92);  opacity: 0; }
  100% { transform: translateY(0) scaleX(1);       opacity: 1; }
}
@keyframes star-twirl {
  0%, 100% { transform: rotate(0) scale(1); }
  45% { transform: rotate(72deg) scale(1.08); }
}
.steam path { transform-box: fill-box; transform-origin: 50% 100%; }
.spark-star { transform-box: fill-box; transform-origin: center; }
.beyond-art.is-playing .steam path { animation: steam-rise 2.1s ease-in-out 2 both; }
.beyond-art.is-playing .steam path:nth-child(2) { animation-delay: .35s; }
.beyond-art.is-playing .steam path:nth-child(3) { animation-delay: .7s; }
.beyond-art.is-playing .spark-star { animation: star-twirl 1.4s ease-in-out .4s both; }

/* Right now: the two halves meet in the middle (needs + possibilities),
   then lines reach out to both sides at once */
@keyframes draw-line { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes from-left  { from { transform: translateX(-18px); } to { transform: none; } }
@keyframes from-right { from { transform: translateX(18px); }  to { transform: none; } }
.now-art .links path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.now-art.is-playing .hub-left  { animation: from-left .8s cubic-bezier(.2,.7,.2,1) both; }
.now-art.is-playing .hub-right { animation: from-right .8s cubic-bezier(.2,.7,.2,1) both; }
.now-art.is-playing .links path { animation: draw-line .7s ease-out .75s both; }

/* Together card: the two circles move in until they overlap, and the
   shared gold space appears. Plays when the card is opened. */
@keyframes slide-from-left  { from { transform: translateX(-40px); } to { transform: none; } }
@keyframes slide-from-right { from { transform: translateX(40px); }  to { transform: none; } }
@keyframes shared-in { 0% { opacity: 0; transform: scale(.6); } 70% { opacity: 1; transform: scale(1.06); } 100% { opacity: 1; transform: none; } }
.t-shared, .t-dot { transform-box: fill-box; transform-origin: center; }
.idea.is-open .t-left  { animation: slide-from-left .9s cubic-bezier(.2,.7,.2,1) both; }
.idea.is-open .t-right { animation: slide-from-right .9s cubic-bezier(.2,.7,.2,1) both; }
.idea.is-open .t-shared { animation: shared-in .6s ease-out .75s both; }
.idea.is-open .t-dot { animation: shared-in .5s ease-out 1.15s both; }

/* What brought me here: the stones stay still; the dotted path travels
   from the smallest to the tallest, then the spark arrives */
@keyframes shape-arrive { 0% { opacity: 0; transform: scale(.4); } 70% { opacity: 1; transform: scale(1.1); } 100% { opacity: 1; transform: none; } }
.journey-reveal { stroke-dasharray: 1; stroke-dashoffset: 0; }
.new-shape { transform-box: fill-box; transform-origin: center; }
.roots-art.is-playing .journey-reveal { animation: draw-line 1.4s ease-in-out .2s both; }
.roots-art.is-playing .new-shape { animation: shape-arrive .7s ease-out 1.5s both; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .btn, .idea, .feat, .toggle-icon, .status { border-color: CanvasText; }
}
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------------- Accessibility statement page */
.mark--link { text-decoration: none; min-height: 2.75rem; }
.mark--link:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.statement .wrap { display: flex; flex-direction: column; gap: 1.1rem; padding-top: 1.5rem; }
.statement .wrap > * { max-width: 40rem; }
.statement h1 { font-size: var(--step-3); font-weight: 900; letter-spacing: -0.03em; }
.statement h2 { font-size: var(--step-1); font-weight: 700; margin-top: 1.25rem; letter-spacing: -0.01em; }
.statement ul { margin: 0; padding-left: 1.25rem; display: flex; flex-direction: column; gap: 0.4rem; }
.statement li::marker { color: var(--coral-ink); }
.statement a:not(.btn) { color: var(--coral-ink); font-weight: 600; text-underline-offset: 0.2em; }
.statement .reviewed { font-size: var(--step--1); color: var(--olive-ink); margin-top: 1rem; }

/* ---------------- Portrait: a circle cut straight from the photo */
.portrait-stage { width: 62%; aspect-ratio: 1; }
@media (min-width: 52rem) { .portrait-stage { width: min(100%, 21rem); } }
@media (max-width: 51.99rem) { .portrait-stage { margin-top: 1.5rem; } }
.portrait-frame { inset: 0; border-radius: 50%; background: none; }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; }
