/* suryanamaskar.ai — site styles
   Palette is lifted from the logo: sun yellow → saffron → peach → mauve pink.
   The Chandra Namaskar theme (light blue → blue → mauve purple) is already tokenised:
   set <html data-theme="chandra"> and every gradient and accent follows.
   Fonts: Cormorant Garamond for headings, Mukta for text, Tiro Devanagari Hindi only for Devanagari. */

:root {
  --gold: #FFD54F;
  --saffron: #F7A72B;
  --amber: #E98A1F;
  --peach: #F6C9A5;
  --rose: #EBBBB6;
  --mauve: #D9A6BA;
  --plum: #5B2C4A;
  --ink: #1B1511;
  --text: #3B2A22;
  --muted: #7A5C4E;
  --cream: #FFF8EE;
  --card: #FFFDF8;
  --line: #EBD9C4;
  --sun-core: #FFFDF5;
  --sun-mid: #FFE98A;
  --sun-edge: #FFC83D;
  --hero: linear-gradient(180deg, #FFD83A 0%, #F8B52F 22%, #F5BE7A 46%, #F2C7A8 66%, #E8BDBD 84%, #DDAFC2 100%);
  --radius: 18px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Mukta", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --deva: "Tiro Devanagari Hindi", "Noto Serif Devanagari", "Nirmala UI", serif;
}

:root[data-theme="chandra"] {
  --gold: #DCEBFF;
  --saffron: #8FB8F2;
  --amber: #5B8DEF;
  --peach: #C9D8F5;
  --rose: #C2B6E6;
  --mauve: #9B7BB8;
  --plum: #2E2550;
  --sun-core: #F7FBFF;
  --sun-mid: #DCEBFF;
  --sun-edge: #B9D4FA;
  --hero: linear-gradient(180deg, #EAF3FF 0%, #B9D4FA 25%, #9DB8F0 50%, #A79BD8 75%, #8E73B5 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--plum); }
h1, h2, h3 { font-family: var(--serif); color: var(--plum); line-height: 1.1; margin: 0 0 14px; font-weight: 600; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 14px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.lede { font-size: 1.2rem; max-width: 62ch; }
.muted { color: var(--muted); }
.eyebrow { font-family: var(--deva); font-size: 1.1rem; color: var(--plum); opacity: .85; margin-bottom: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:target { scroll-margin-top: 76px; }

/* wordmark */
.wordmark {
  font-family: var(--deva);
  font-size: 1.6rem;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
}
.wordmark span { font-family: var(--serif); font-weight: 600; }
.tagline { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--plum); margin: 0; }

/* sticky top bar, every page: wordmark, three links, See SuryaCapture™; a menu button on phones.
   The request button is not here: each page carries its own, lower down. */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 250, 242, .8);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(27, 21, 17, .08);
}
.nav .wrap { display: flex; align-items: center; gap: 18px; min-height: 62px; }
.nav .wordmark { font-size: 1.45rem; margin-right: auto; }
.nav nav { display: flex; }
.nav nav a { font-family: var(--serif); font-weight: 600; font-size: 1.12rem; color: var(--ink); text-decoration: none; padding: 6px 14px; line-height: 1.3; white-space: nowrap; }
.nav nav a + a { border-left: 1px solid rgba(27, 21, 17, .25); }
.nav nav a:hover, .nav nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.nav .cta { padding: 9px 18px; font-size: .95rem; white-space: nowrap; }
.nav .cta.see { padding: 8px 16px; }  /* See SuryaCapture™; on phones the menu has the link */
.menu-toggle { display: none; }
.nav .burger { display: none; }
@media (max-width: 700px) {
  .nav .wrap { gap: 8px; min-height: 56px; position: relative; }
  .nav .wordmark { font-size: 1.25rem; }
  .nav .cta { padding: 8px 12px; font-size: .86rem; order: 2; }
  .nav .cta.see { display: none; }
  .nav .burger { display: grid; place-items: center; width: 42px; height: 42px; order: 3; cursor: pointer; border-radius: 10px; margin-right: -8px; }
  .nav .burger span, .nav .burger span::before, .nav .burger span::after { content: ""; display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s, background .2s; }
  .nav .burger span::before { position: absolute; top: -7px; }
  .nav .burger span::after { position: absolute; top: 7px; }
  .nav nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 14px 24px rgba(27, 21, 17, .1); padding: 6px 0 10px; }
  .nav nav a { padding: 12px 20px; font-size: 1.15rem; border-left: 0; }
  .menu-toggle:checked ~ nav { display: flex; }
  .menu-toggle:checked ~ .burger span { background: transparent; }
  .menu-toggle:checked ~ .burger span::before { transform: translateY(7px) rotate(45deg); }
  .menu-toggle:checked ~ .burger span::after { transform: translateY(-7px) rotate(-45deg); }
}

/* inner-page title band */
.band { background: var(--hero); color: var(--ink); }
.page-hero { padding: 40px 0 44px; }
.page-hero h1 { color: var(--ink); }
.page-hero .lede { color: var(--ink); }
.page-hero .eyebrow { color: var(--ink); }

/* the sun */
.sun {
  display: block;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  position: relative;
  background: radial-gradient(circle at 50% 46%, var(--sun-core) 0 36%, var(--sun-mid) 54%, var(--sun-edge) 70%, rgba(255, 200, 61, 0) 72%);
  box-shadow: 0 0 70px 26px rgba(255, 240, 180, .55);
  text-decoration: none;
}
.sun::before {
  content: "";
  position: absolute;
  inset: -52px;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, .55) 0 3deg, rgba(255, 255, 255, 0) 3deg 15deg);
  -webkit-mask: radial-gradient(circle, transparent 34%, #000 40%, #000 58%, transparent 70%);
  mask: radial-gradient(circle, transparent 34%, #000 40%, #000 58%, transparent 70%);
  animation: spin 160s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .sun::before { animation: none; } }

/* content blocks */
.block { padding: 56px 0; }
.block + .block { border-top: 1px solid var(--line); }
.two { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: start; }
@media (max-width: 760px) { .two { grid-template-columns: 1fr; } }
.section-head { text-align: center; max-width: 720px; margin: 0 auto; }
.section-head .lede { margin-left: auto; margin-right: auto; }

.poses { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-top: 22px; }
.pose { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px 14px; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; }
.pose .n { font-family: var(--serif); font-size: 2.1rem; line-height: 1; color: var(--saffron); font-weight: 600; grid-row: span 3; padding-top: 2px; }
.pose .sk { font-weight: 600; color: var(--plum); font-size: 1.08rem; line-height: 1.3; }
.pose .en { color: var(--muted); font-size: .95rem; }
.pose .mantra { font-family: var(--deva); font-size: 1.05rem; color: var(--text); margin-top: 6px; }
/* phones: these rules must come AFTER the base .pose rules above, or the base wins */
@media (max-width: 700px) {
  /* minmax(0, 1fr): a long posture name must not push its column wider than the screen */
  .poses { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  /* the number sits at the start of the name's first line, so the name has the card's full width */
  .pose { display: block; padding: 10px 10px 9px; }
  .pose .n { float: left; font-size: 1.25rem; line-height: 1.1rem; margin: 1px 7px 0 0; padding-top: 0; }
  .pose .sk { font-size: .9rem; line-height: 1.35; overflow-wrap: anywhere; }
  .pose .en { font-size: .8rem; clear: left; }
  .pose .mantra { font-size: .9rem; }
}

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 22px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 18px; }
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin: 0; }
.card .num { font-family: var(--serif); font-size: 2rem; color: var(--saffron); line-height: 1; margin-bottom: 8px; font-weight: 600; }
.card .go { display: inline-block; margin-top: 4px; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid rgba(91, 44, 74, .35); }
.card .go:hover { border-bottom-color: var(--plum); }

/* what you get (home): one scored round plays inside a phone, beside the three cards */
.getgrid { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; margin-top: 26px; }
.getgrid .cards { grid-template-columns: 1fr; margin-top: 0; }
.phone { margin: 0; width: 100%; max-width: 300px; justify-self: center; }
.phone-shell { position: relative; border-radius: 34px; padding: 9px; background: var(--ink); box-shadow: 0 18px 40px rgba(70, 30, 40, .28); }
.phone-shell video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 26px; background: #000; }
.phone .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 78px; height: 78px; border-radius: 50%; border: 0; background: rgba(255, 253, 248, .94); cursor: pointer; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); display: grid; place-items: center; transition: background .15s, transform .15s; }
.phone .play::before { content: ""; width: 0; height: 0; border-style: solid; border-width: 15px 0 15px 26px; border-color: transparent transparent transparent var(--plum); margin-left: 6px; }
.phone .play:hover { background: var(--gold); transform: translate(-50%, -50%) scale(1.06); }
.phone.playing .play { display: none; }
.phone figcaption { text-align: center; font-size: .92rem; color: var(--muted); margin-top: 12px; line-height: 1.45; }
.phone figcaption b { color: var(--plum); font-weight: 600; }
@media (max-width: 760px) { .getgrid { grid-template-columns: 1fr; gap: 22px; } .phone { max-width: 320px; } }

.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.cta { display: inline-block; padding: 12px 24px; border-radius: 999px; background: var(--amber); color: #fff; font-weight: 600; text-decoration: none; border: 1.5px solid var(--amber); }
.cta:hover { filter: brightness(1.06); }
.cta.ghost { background: transparent; color: var(--plum); border-color: var(--plum); }
.note { font-size: .95rem; color: var(--muted); }
.tag { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; background: var(--peach); color: var(--plum); padding: 3px 10px; border-radius: 999px; vertical-align: middle; }

/* the twelve-posture strip (home): the judged frames of one scored round, bordered in the palette */
.seq .facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 26px 0 22px; }
.seq .fact { text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 10px 12px; }
.seq .fact b { display: block; font-family: var(--serif); font-size: 2.1rem; color: var(--saffron); line-height: 1; font-weight: 600; }
.seq .fact span { font-size: .92rem; color: var(--muted); line-height: 1.3; display: block; margin-top: 4px; }
.strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 8px 8px 12px; text-align: center; }
.step .shot { padding: 4px; border-radius: 12px; background: linear-gradient(160deg, var(--gold), var(--saffron) 45%, var(--mauve)); margin-bottom: 9px; box-shadow: 0 4px 10px rgba(70, 30, 40, .12); }
.step .shot img { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 9px; display: block; }
.step .n { font-family: var(--serif); font-weight: 600; color: var(--saffron); font-size: 1.15rem; line-height: 1; }
.step .sk { font-weight: 600; color: var(--plum); font-size: .95rem; line-height: 1.25; margin-top: 3px; }
.step .br { font-size: .82rem; color: var(--muted); margin-top: 2px; }
.seq .more-link { text-align: center; margin: 26px 0 0; }
.seq .more-link a { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; text-decoration: none; border-bottom: 1.5px solid rgba(91, 44, 74, .35); }
.seq .more-link a:hover { border-bottom-color: var(--plum); }
@media (max-width: 700px) {
  .seq .facts { grid-template-columns: 1fr 1fr; gap: 10px; }
  /* no swipe row on phones: the whole round reads top to bottom, three across, two on narrow phones */
  .strip { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .step { padding: 6px 6px 10px; }
  .step .sk { font-size: .88rem; }
  .step .br { font-size: .78rem; }
}
@media (max-width: 480px) {
  .strip { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .step .sk { font-size: .95rem; }
  .step .br { font-size: .82rem; }
}

/* testimonials */
.voices { background: #FBF1E3; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 56px 0; }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 26px; }
.quote { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 18px; position: relative; }
.quote::before { content: "\201C"; font-family: var(--serif); font-size: 3.6rem; line-height: 1; color: var(--saffron); position: absolute; top: 8px; left: 16px; opacity: .85; }
.quote blockquote { margin: 0 0 12px; padding-top: 22px; font-family: var(--serif); font-size: 1.2rem; line-height: 1.4; color: var(--plum); }
.quote figcaption { font-size: .92rem; color: var(--muted); }
.quote.placeholder { border-style: dashed; background: transparent; }
.quote.placeholder blockquote, .quote.placeholder figcaption { color: var(--muted); font-style: italic; }

/* closing band */
.closing { background: var(--hero); color: var(--ink); text-align: center; padding: 64px 16px 72px; }
.closing .eyebrow { color: var(--ink); }
.closing h2 { color: var(--ink); margin-bottom: 10px; }
.closing p { max-width: 56ch; margin: 0 auto 22px; font-size: 1.1rem; }
.closing .actions { justify-content: center; margin-top: 0; }
.closing .cta.ghost { color: var(--ink); border-color: rgba(27, 21, 17, .55); }
.closing + footer { margin-top: 0; }
.closing .follow { margin: 18px auto 0; font-size: 1rem; }
.closing .follow a { color: var(--ink); font-weight: 600; }

/* phone-only bottom bar, shown once the hero has scrolled away */
.stickycta { display: none; }
@media (max-width: 700px) {
  .stickycta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 250, 242, .95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .25s; }
  .stickycta.show { transform: translateY(0); }
  .stickycta span { font-family: var(--serif); font-weight: 600; font-size: 1.02rem; color: var(--plum); line-height: 1.2; }
  .stickycta .cta { padding: 10px 16px; font-size: .95rem; white-space: nowrap; }
  body.cta-below footer { padding-bottom: 100px; }
}

/* early-access request form: the one way to reach us; Send request posts to the request Worker */
.form { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin-top: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 22px; }
.form .full { grid-column: 1 / -1; }
.form label, .form .label { display: block; font-weight: 600; color: var(--plum); font-size: .98rem; margin-bottom: 5px; }
.form label .opt { font-weight: 400; color: var(--muted); font-size: .9rem; }
.form input, .form textarea, .form select { width: 100%; font: inherit; color: var(--text); background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.form textarea { min-height: 120px; resize: vertical; }
.form select { appearance: auto; }
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid var(--saffron); outline-offset: 1px; border-color: var(--saffron); }
.form input:user-invalid, .form textarea:user-invalid { border-color: #C0392B; }
.form .hint { font-size: .88rem; color: var(--muted); margin: 5px 0 0; }
.form .choices { display: flex; gap: 18px; flex-wrap: wrap; padding: 8px 0 0; }
.form .choices label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--text); margin: 0; font-size: 1rem; }
.form .choices input { width: auto; accent-color: var(--amber); }
.form .actions { margin-top: 4px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form .actions .reply { margin: 0; color: var(--muted); font-size: .95rem; }
/* Detailed steps on the Surya Namaskar page: one row per step, Hindi beside English */
.dsteps { display: grid; gap: 14px; margin-top: 22px; }
.dstep { display: grid; grid-template-columns: 52px 1fr 1fr; gap: 0 26px; align-items: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }
.dstep .n { font-family: var(--serif); font-size: 2rem; color: var(--saffron); line-height: 1; font-weight: 600; }
.dstep h3 { font-size: 1.15rem; margin: 0 0 6px; }
.dstep .hi { font-family: var(--deva); line-height: 1.75; }
.dstep .hi h3 { font-family: var(--deva); font-weight: 600; }
.dstep p { margin: 0; }
@media (max-width: 700px) {
  .dstep { grid-template-columns: 36px 1fr; gap: 0 14px; padding: 16px; }
  .dstep .en { grid-column: 2; margin-top: 12px; }
}
.form[hidden] { display: none; }
.form .hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form .cta { font: inherit; font-weight: 600; cursor: pointer; }
.form .privacy { font-size: .88rem; color: var(--muted); margin: 0; }
.sent { display: none; margin-top: 18px; background: #FBF1E3; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px 20px; }
.sent.show { display: block; }
.sent textarea { width: 100%; min-height: 220px; font: 15px/1.5 ui-monospace, Consolas, monospace; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: #fff; color: var(--text); }
.sent .actions { margin-top: 12px; }
.sent .cta { font: inherit; font-weight: 600; cursor: pointer; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; padding: 20px 16px 18px; } }

/* team */
.people { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 22px; }
.person { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: 210px 1fr; }
.person img, .person .noimg { width: 100%; height: 100%; min-height: 262px; object-fit: cover; object-position: top; }
.person.landscape { grid-template-columns: 340px 1fr; }
.person.landscape img { object-fit: contain; object-position: center; background: var(--hero); padding: 14px; box-sizing: border-box; }
.person .noimg { display: grid; place-items: center; background: var(--hero); position: relative; }
.person .noimg::after { content: ""; width: 34%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 46%, var(--sun-core) 0 36%, var(--sun-mid) 54%, var(--sun-edge) 70%, rgba(255, 200, 61, 0) 72%); box-shadow: 0 0 40px 14px rgba(255, 240, 180, .5); opacity: .9; }
.person .who { padding: 18px 24px 20px; }
.person .who strong { font-family: var(--serif); font-size: 1.55rem; color: var(--plum); display: block; line-height: 1.15; }
.person .who .role { color: var(--muted); font-size: .98rem; display: block; margin-top: 2px; }
.person .creds { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 10px; }
.person .creds .tag { background: #FBEBDD; }
.person .who p { margin: 6px 0 0; font-size: .97rem; }
@media (max-width: 640px) {
  .person, .person.landscape { grid-template-columns: 1fr; }
  .person img, .person .noimg { aspect-ratio: 4 / 3; min-height: 0; max-height: 300px; }
  .person.landscape img { aspect-ratio: 3 / 2; padding: 10px; }
}

/* leaderboard (page kept in the repo, not linked until the board is ready) */
table.board { width: 100%; border-collapse: collapse; margin-top: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.board th, .board td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.board th { font-family: var(--serif); font-size: 1.1rem; color: var(--plum); background: #FBF1E3; }
.board tr:last-child td { border-bottom: 0; }
.board td.score { font-weight: 600; color: var(--plum); font-variant-numeric: tabular-nums; }
.board td.rank { font-family: var(--serif); font-size: 1.3rem; color: var(--saffron); font-weight: 600; width: 3rem; }
@media (max-width: 560px) { .board .opt { display: none; } }

/* updates */
.timeline { list-style: none; padding: 0; margin: 22px 0 0; border-left: 2px solid var(--peach); }
.timeline li { position: relative; padding: 0 0 26px 24px; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 9px; width: 14px; height: 14px; border-radius: 50%; background: var(--saffron); border: 3px solid var(--cream); }
.timeline time { display: block; font-size: .9rem; color: var(--muted); letter-spacing: .02em; }
.timeline h3 { margin: 2px 0 6px; }
.timeline p { margin: 0; }
.timeline .event { margin: 16px 0 0; max-width: 820px; }
.timeline .event img { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.timeline .event figcaption { font-size: .92rem; color: var(--muted); margin-top: 8px; line-height: 1.45; }
.timeline li[id] { scroll-margin-top: 84px; }
.timeline .chant { font-family: var(--deva); font-size: 1.2rem; line-height: 1.75; color: var(--plum); margin: 6px 0 8px; }
/* a collage: one tall instant photo beside a grid of small ones, each a little askew.
   Every word and number is in the pictures' own white footers, so nothing is drawn over a photo. */
.collage { margin: 18px 0 0; max-width: 820px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: 18px; align-items: center; }
.collage img { display: block; width: 100%; height: auto; background: #fff; box-shadow: 0 6px 18px rgba(70, 30, 40, .2); }
.collage .hero { border-radius: 14px; transform: rotate(-.8deg); }
.collage .snaps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.collage .snaps img { border-radius: 8px; transform: rotate(-1.6deg); transition: transform .2s; }
.collage .snaps img:nth-child(2n) { transform: rotate(1.4deg); }
.collage .snaps img:nth-child(3n) { transform: rotate(-.5deg); }
.collage .snaps img:nth-child(5n) { transform: rotate(2deg); }
.collage .snaps img:hover { transform: rotate(0) scale(1.04); }
.collage figcaption { grid-column: 1 / -1; font-size: .92rem; color: var(--muted); line-height: 1.45; }
@media (max-width: 700px) {
  .collage { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 14px; }
  .collage .snaps { gap: 9px; }
}

/* steps */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 22px; }
.steps .card::before { counter-increment: s; content: counter(s); font-family: var(--serif); font-size: 2rem; color: var(--saffron); font-weight: 600; display: block; line-height: 1; margin-bottom: 8px; }

/* footer */
footer { background: var(--ink); color: #E9DCCB; padding: 44px 16px 36px; margin-top: 40px; }
footer .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; }
footer .wordmark { color: #FFF3DD; font-size: 1.5rem; }
footer .tagline { color: #E0C9B0; }
footer h4 { font-family: var(--serif); font-size: 1.15rem; margin: 0 0 8px; color: #FFF3DD; font-weight: 600; }
/* Footer links are underlined always, not only on hover: a phone has no hover, and they read as plain text there. */
footer a { color: #F3DFC6; text-decoration: underline; text-decoration-color: rgba(243, 223, 198, .5); text-decoration-thickness: 1px; text-underline-offset: 4px; display: block; padding: 3px 0; }
footer a:hover { color: #FFF3DD; text-decoration-color: #FFC06A; }
footer a.wordmark { text-decoration: none; }
footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 16px; font-size: .9rem; color: #BBA48C; }
footer .made { margin: 16px 0 0; color: #FFF3DD; font-size: 1.02rem; line-height: 1.5; }
footer .made b { color: #FFC06A; font-weight: 600; }
@media (max-width: 700px) { footer .wrap { grid-template-columns: 1fr; gap: 18px; } }

/* tabs (About: who it is for): the headings on one line, the chosen one's text below.
   Until the script marks the box ready, the row is hidden and every panel shows with its own heading. */
.tabs { margin-top: 18px; }
.tablist { display: none; grid-template-columns: 1fr 1fr 1.3fr; gap: 6px; padding: 5px; background: #FBEBDD; border: 1px solid var(--line); border-radius: 999px; max-width: 720px; }
.tabs.ready .tablist { display: grid; }
.tablist button { font: inherit; font-family: var(--serif); font-weight: 600; font-size: 1.2rem; line-height: 1.15; color: var(--plum); background: transparent; border: 0; border-radius: 999px; padding: 10px 12px; cursor: pointer; }
.tablist button:hover { background: rgba(255, 255, 255, .6); }
.tablist button[aria-selected="true"] { background: var(--amber); color: #fff; box-shadow: 0 2px 8px rgba(70, 30, 40, .18); }
.tablist button:focus-visible { outline: 2px solid var(--plum); outline-offset: 2px; }
.tabpanel { margin-top: 14px; }
.tabpanel + .tabpanel { margin-top: 14px; }
.tabpanel[hidden] { display: none; }
.tabs.ready .tabpanel > h3 { display: none; }
.tabs.ready .tabpanel { max-width: 720px; }

/* phones: less air between and inside the blocks, so one screen shows more */
@media (max-width: 700px) {
  h1, h2, h3 { margin-bottom: 10px; }
  p { margin-bottom: 10px; }
  .lede { font-size: 1.08rem; }
  .page-hero { padding: 20px 0 22px; }
  .block { padding: 28px 0; }
  .voices { padding: 28px 0; }
  .closing { padding: 32px 16px 36px; }
  .closing p { margin-bottom: 16px; font-size: 1.02rem; }
  .closing .follow { margin-top: 14px; }
  .actions { margin-top: 16px; }
  .cards, .steps, .poses, .people, .dsteps, .timeline, .quotes, .tabs { margin-top: 14px; }
  .cards, .steps, .quotes { gap: 10px; }
  .card, .quote { padding: 16px 16px 14px; }
  .getgrid { margin-top: 16px; gap: 16px; }
  .seq .facts { margin: 16px 0 14px; }
  .seq .fact { padding: 10px 8px 9px; }
  .seq .more-link { margin-top: 16px; }
  .people { gap: 12px; }
  .person .who { padding: 14px 16px 16px; }
  .dsteps { gap: 10px; }
  .dstep { padding: 14px; }
  .timeline li { padding-bottom: 18px; }
  .form { margin-top: 14px; gap: 12px; padding: 16px 14px; }
  .tablist { border-radius: 16px; gap: 4px; padding: 4px; }
  .tablist button { font-size: 1.05rem; padding: 9px 6px; border-radius: 12px; }
  .tabpanel { margin-top: 10px; }
  footer { padding: 28px 16px 24px; margin-top: 24px; }
  footer .wrap { gap: 14px; }
  footer .made { margin-top: 10px; }
}
