/* ==========================================================================
   Ksheer — holding site
   Mobile-first. Warm walnut-black, saffron, copper, cream, a touch of lapis.
   ========================================================================== */

@font-face { font-family: "Gloock"; src: url("../fonts/gloock-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("../fonts/alegreya-sans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("../fonts/alegreya-sans-400i.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("../fonts/alegreya-sans-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Alegreya Sans SC"; src: url("../fonts/alegreya-sans-sc-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --night: #120d0a;
  --walnut: #1a1310;
  --walnut-2: #2a2019;
  --cream: #f3e9d8;
  --cream-2: #cdbca4;
  --saffron: #e8a33d;
  --saffron-hi: #f2bb5e;
  --terracotta: #b5532f;
  --copper: #b87333;
  --lapis: #2f5f93;
  --paper: #efe3cc;
  --ink: #1d1611;
  --ink-2: #5b4a3c;

  --serif: "Gloock", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Alegreya Sans", "Gill Sans", "Segoe UI", sans-serif;
  --sc: "Alegreya Sans SC", "Alegreya Sans", sans-serif;

  --gutter: clamp(1rem, 4.5vw, 3rem);
  --max: 74rem;
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Pointed (ogee) arch, used as a mask. Stretches to whatever box it fills. */
  --arch-tall: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 90 160' preserveAspectRatio='none'%3E%3Cpath d='M0 160V45C0 20 30 8 45 0c15 8 45 20 45 45v115z'/%3E%3C/svg%3E");
  --arch-wide: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 120' preserveAspectRatio='none'%3E%3Cpath d='M0 120V40C0 18 50 4 80 0c30 4 80 18 80 40v80z'/%3E%3C/svg%3E");

  /* Khatamband: the interlocking geometric walnut ceilings of Kashmiri houses. */
  --khatamband: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' stroke='%23b87333' stroke-opacity='.13'%3E%3Cpath d='M16 16h28v28H16zM30 10l20 20-20 20-20-20zM30 0v10M60 30H50M30 60V50M0 30h10M0 0l16 16M60 0 44 16M60 60 44 44M0 60l16-16'/%3E%3C/g%3E%3C/svg%3E");

  /* Pinjrakari: carved lattice band. */
  --lattice: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='18' viewBox='0 0 40 18'%3E%3Cg fill='none' stroke='%23b87333' stroke-opacity='.55'%3E%3Cpath d='M0 .5h40M0 17.5h40M0 9l10-6 10 6-10 6zM20 9l10-6 10 6-10 6z'/%3E%3Ccircle cx='10' cy='9' r='1.4' fill='%23e8a33d' fill-opacity='.7' stroke='none'/%3E%3Ccircle cx='30' cy='9' r='1.4' fill='%23e8a33d' fill-opacity='.7' stroke='none'/%3E%3C/g%3E%3C/svg%3E");

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 .9  0 0 0 0 .8  0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 1rem;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(60rem 40rem at 85% 8%, rgba(232, 163, 61, .09), transparent 60%),
    radial-gradient(50rem 40rem at 0% 60%, rgba(47, 95, 147, .07), transparent 60%),
    var(--night);
  color: var(--cream);
  font-family: var(--sans);
  font-size: clamp(1.0625rem, .35vw + 1rem, 1.1875rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Film grain over everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: var(--grain);
  opacity: .07;
  pointer-events: none;
  z-index: 50;
}

img, video, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ol, ul, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--saffron); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--saffron-hi); }
em { font-style: italic; color: var(--cream); }

:focus-visible {
  outline: 2px solid var(--saffron);
  outline-offset: 3px;
  border-radius: 2px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 100;
  padding: .6rem 1rem;
  background: var(--saffron);
  color: var(--night);
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
}
.skip:focus { top: 1rem; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  font-family: var(--sc);
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: .14em;
  color: var(--saffron);
  margin-bottom: 1rem;
}

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 6.5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -.01em;
  text-wrap: balance;
}

/* ---------- Top bar ---------- */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max);
  margin-inline: auto;
  padding: 1rem var(--gutter);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--cream);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.65rem;
  line-height: 1;
}
.wordmark:hover { color: var(--cream); }
.wordmark__mark { width: 2rem; height: 2rem; color: var(--copper); }

.topnav { display: none; }

.pill {
  font-family: var(--sc);
  font-weight: 500;
  letter-spacing: .1em;
  font-size: .9rem;
  color: var(--saffron);
  text-decoration: none;
  padding: .5rem 1rem .55rem;
  border: 1px solid rgba(232, 163, 61, .5);
  border-radius: 999px;
  transition: background-color .25s, color .25s, border-color .25s;
}
.pill:hover { background: var(--saffron); color: var(--night); border-color: var(--saffron); }

/* ---------- Arch frames ---------- */

.arch { position: relative; }
.arch__clip {
  position: absolute;
  inset: 0;
  -webkit-mask: var(--arch-tall) center / 100% 100% no-repeat;
          mask: var(--arch-tall) center / 100% 100% no-repeat;
  background: var(--walnut);
  overflow: hidden;
}
.arch--wide .arch__clip {
  -webkit-mask-image: var(--arch-wide);
          mask-image: var(--arch-wide);
}
.arch__clip video,
.arch__clip img,
.arch__clip picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Copper outline, offset outside the image like a carved window surround */
.arch__frame {
  position: absolute;
  inset: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  max-width: none;
  pointer-events: none;
  overflow: visible;
}
.arch__frame path {
  fill: none;
  stroke: var(--copper);
  stroke-width: 1.25;
  vector-effect: non-scaling-stroke;
  opacity: .8;
}

/* ---------- Hero ---------- */

.hero {
  display: grid;
  grid-template-areas: "copy" "media" "signup";
  gap: 2.25rem;
  max-width: var(--max);
  margin-inline: auto;
  padding: 1.25rem var(--gutter) 4rem;
  overflow-x: clip; /* keep the arch glow from widening the page on phones */
}

.hero__copy { grid-area: copy; }

.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 10.5vw, 6.4rem);
  line-height: .98;
  letter-spacing: -.015em;
  margin-bottom: 1.25rem;
}
.hero__title > span { display: block; }
.fire {
  color: var(--saffron);
  text-shadow: 0 0 .35em rgba(232, 120, 40, .35);
}

.hero__lede {
  max-width: 34rem;
  color: var(--cream-2);
  font-size: 1.1em;
}

.hero__media {
  grid-area: media;
  justify-self: center;
  position: relative;
}
/* Warm glow behind the arch, as if lit by the flame */
.hero__media::before {
  content: "";
  position: absolute;
  inset: 10% -25% 0;
  background: radial-gradient(closest-side, rgba(232, 140, 50, .22), transparent);
  filter: blur(10px);
  z-index: -1;
}
.arch--tall {
  aspect-ratio: 9 / 16;
  width: min(calc(100vw - 2 * var(--gutter) - 20px), 26rem, calc(76svh * .5625));
}

.hero__media figcaption { text-align: center; margin-top: 1.1rem; }
.hero__note {
  font-family: var(--sc);
  font-size: .78rem;
  letter-spacing: .14em;
  color: rgba(205, 188, 164, .6);
}

.video-toggle {
  position: absolute;
  right: .9rem;
  bottom: .9rem;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(243, 233, 216, .35);
  background: rgba(18, 13, 10, .55);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  color: var(--cream);
  cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.video-toggle:hover { background: rgba(18, 13, 10, .8); border-color: var(--saffron); }
.video-toggle svg { width: 1.1rem; height: 1.1rem; fill: currentColor; }
.video-toggle .i-play { display: none; }
.video-toggle[aria-pressed="true"] .i-play { display: block; }
.video-toggle[aria-pressed="true"] .i-pause { display: none; }

/* ---------- Sign-up ---------- */

.signup {
  grid-area: signup;
  max-width: 34rem;
  scroll-margin-top: 1.5rem;
}
.signup__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 5vw, 2.1rem);
  line-height: 1.1;
  margin-bottom: .4rem;
}
.signup__text { color: var(--cream-2); margin-bottom: 1.25rem; }

.field label {
  display: block;
  font-family: var(--sc);
  font-weight: 500;
  letter-spacing: .12em;
  font-size: .85rem;
  color: var(--cream-2);
  margin-bottom: .45rem;
}
.field__row { display: flex; flex-direction: column; gap: .65rem; }

input[type="email"] {
  width: 100%;
  min-height: 3.25rem;
  padding: .75rem 1rem;
  font: inherit;
  color: var(--cream);
  background: rgba(42, 32, 25, .75);
  border: 1px solid rgba(184, 115, 51, .55);
  border-radius: 6px;
  transition: border-color .2s, background-color .2s;
}
input[type="email"]::placeholder { color: rgba(205, 188, 164, .45); }
input[type="email"]:focus { border-color: var(--saffron); background: var(--walnut-2); outline: none; box-shadow: 0 0 0 3px rgba(232, 163, 61, .25); }
input[aria-invalid="true"] { border-color: #e0795a; }

.btn {
  min-height: 3.25rem;
  padding: .75rem 1.5rem;
  font: 700 1.05rem/1 var(--sans);
  letter-spacing: .02em;
  color: var(--night);
  background: linear-gradient(180deg, var(--saffron-hi), var(--saffron));
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 10px 30px -12px rgba(232, 140, 50, .7);
  transition: transform .2s var(--ease), box-shadow .2s, filter .2s;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); box-shadow: 0 14px 34px -12px rgba(232, 140, 50, .85); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

.consent {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  margin-top: 1rem;
  font-size: .92rem;
  line-height: 1.5;
  color: var(--cream-2);
  cursor: pointer;
}
.consent input {
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
  margin: .18rem 0 0;
  accent-color: var(--saffron);
  cursor: pointer;
}

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.signup__status { min-height: 1.5em; margin-top: .9rem; font-size: .95rem; }
.signup__status[data-tone="ok"] { color: var(--saffron-hi); }
.signup__status[data-tone="error"] { color: #f0a08a; }

.signup.is-done .signup__form .field,
.signup.is-done .signup__form .consent { display: none; }
.signup.is-done .signup__status {
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.3;
}

/* ---------- Lattice divider ---------- */

.lattice {
  height: 18px;
  background: var(--lattice) center / 40px 18px repeat-x;
  opacity: .75;
}

/* ---------- Story ---------- */

.story {
  padding-block: clamp(4rem, 10vw, 8rem);
  background:
    linear-gradient(180deg, var(--night), transparent 25%, transparent 75%, var(--night)),
    var(--khatamband) center / 72px 72px,
    var(--walnut);
}
.story__grid { display: grid; gap: 2rem; }
.story__body { display: grid; gap: 1.25rem; color: var(--cream-2); max-width: 38rem; }
.story__body p:first-child::first-letter {
  font-family: var(--serif);
  float: left;
  font-size: 3.4em;
  line-height: .85;
  padding: .08em .12em 0 0;
  color: var(--saffron);
}

/* ---------- Harissa + ritual ---------- */

.harissa { padding-block: clamp(4rem, 10vw, 7.5rem); }
.harissa__grid { display: grid; gap: 3rem; align-items: center; }
.harissa__media { padding: 10px; }
.arch--wide { aspect-ratio: 4 / 3; width: 100%; }
.harissa__copy { display: grid; gap: 1.1rem; max-width: 34rem; }
.harissa__copy .eyebrow { margin-bottom: 0; }
.harissa__copy p:not(.eyebrow) { color: var(--cream-2); }

.ritual { margin-top: clamp(4rem, 9vw, 6.5rem); }
.ritual__title {
  font-family: var(--sc);
  font-weight: 500;
  letter-spacing: .14em;
  font-size: .95rem;
  color: var(--saffron);
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.ritual__title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(184, 115, 51, .6), transparent);
}
.ritual__steps { display: grid; gap: 2.25rem; counter-reset: none; }
.ritual__steps li {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  column-gap: 1rem;
  align-items: start;
  align-content: start;
}
.ritual__num {
  grid-row: span 2;
  font-family: var(--serif);
  line-height: 1;
  color: var(--saffron);
  width: 3.25rem;
  height: 3.25rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(184, 115, 51, .55);
  border-radius: 50% 50% 4px 4px / 60% 60% 4px 4px;
  padding-top: .15em;
  font-size: 1.6rem;
}
.ritual__steps h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.45rem;
  line-height: 1.2;
  margin-bottom: .35rem;
}
.ritual__steps p { color: var(--cream-2); }

/* ---------- Menu card ---------- */

.menu { padding-block: clamp(3rem, 8vw, 6rem) clamp(4rem, 10vw, 8rem); }

.menu-card {
  position: relative;
  max-width: 54rem;
  margin-inline: auto;
  padding: 3.25rem clamp(1.4rem, 5vw, 4rem) 2.5rem;
  color: var(--ink);
  background:
    radial-gradient(120% 90% at 50% 0%, transparent 55%, rgba(120, 80, 40, .14)),
    var(--paper);
  border-radius: 4px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .75), 0 2px 0 rgba(255, 255, 255, .25) inset;
}
/* Double ruled border, like a printed menu */
.menu-card::before,
.menu-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 2px;
}
.menu-card::before { inset: 10px; border: 1px solid rgba(184, 115, 51, .7); }
.menu-card::after  { inset: 15px; border: 1px solid rgba(181, 83, 47, .3); }

.menu-card__star {
  width: 2.25rem;
  height: 2.25rem;
  margin: 0 auto .9rem;
  fill: none;
  stroke: var(--terracotta);
  stroke-width: 1.3;
}
.menu-card__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 7vw, 3.1rem);
  line-height: 1;
  text-align: center;
}
.menu-card__note {
  text-align: center;
  color: var(--ink-2);
  font-style: italic;
  margin: .6rem 0 2.25rem;
}
.menu-card__cols { display: grid; gap: 2.25rem; }
.menu-card__group {
  font-family: var(--sc);
  font-weight: 500;
  letter-spacing: .16em;
  font-size: .9rem;
  color: var(--terracotta);
  padding-bottom: .5rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid rgba(181, 83, 47, .35);
}
.menu-list { display: grid; gap: 1.15rem; }
.menu-list__head {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.25;
}
.leader {
  flex: 1;
  min-width: 1.5rem;
  border-bottom: 2px dotted rgba(29, 22, 17, .3);
  transform: translateY(-.3em);
}
.price { font-family: var(--sans); font-weight: 700; font-size: 1.05rem; white-space: nowrap; }
.menu-list p { color: var(--ink-2); font-size: .98rem; margin-top: .15rem; }
.menu-card__foot {
  text-align: center;
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(181, 83, 47, .25);
  color: var(--ink-2);
  font-size: .98rem;
}

/* ---------- Values ---------- */

.values { padding-block: clamp(3rem, 8vw, 6rem) clamp(4rem, 10vw, 7rem); }
.values__grid { display: grid; gap: 2.5rem; }
.values__list { display: grid; gap: 1.6rem; }
.values__list li {
  position: relative;
  padding-left: 2rem;
}
/* Eight-point star bullet */
.values__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .4rem;
  width: .95rem;
  height: .95rem;
  background: var(--saffron);
  clip-path: polygon(50% 0, 61% 26%, 85% 15%, 74% 39%, 100% 50%, 74% 61%, 85% 85%, 61% 74%, 50% 100%, 39% 74%, 15% 85%, 26% 61%, 0 50%, 26% 39%, 15% 15%, 39% 26%);
}
.values__list h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.35rem;
  line-height: 1.2;
  margin-bottom: .2rem;
}
.values__list p { color: var(--cream-2); }

/* ---------- Find us ---------- */

.find {
  padding-block: clamp(5rem, 13vw, 9rem);
  text-align: center;
  background:
    radial-gradient(40rem 22rem at 50% 50%, rgba(47, 95, 147, .16), transparent 70%),
    var(--khatamband) center / 72px 72px;
}
.find__inner { display: grid; justify-items: center; }
.find__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 11vw, 6.5rem);
  line-height: 1;
  letter-spacing: -.015em;
  margin-bottom: 1.5rem;
}
.find__title span { color: var(--saffron); }
.find__text { max-width: 36rem; color: var(--cream-2); margin-bottom: 1.75rem; }

.link-arrow {
  font-family: var(--sc);
  font-weight: 500;
  letter-spacing: .12em;
  text-decoration: none;
  padding-bottom: .2rem;
  border-bottom: 1px solid rgba(232, 163, 61, .5);
}
.link-arrow span { display: inline-block; transition: transform .25s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- Contact ---------- */

.contact { padding-block: clamp(3.5rem, 9vw, 6rem); border-top: 1px solid rgba(184, 115, 51, .2); }
.contact__inner { display: grid; justify-items: center; text-align: center; }
.contact__lede { color: var(--cream-2); margin-bottom: .6rem; }
.contact__email {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 7vw, 3.4rem);
  line-height: 1.15;
  color: var(--cream);
  text-decoration: none;
  background: linear-gradient(var(--saffron), var(--saffron)) 0 100% / 0 2px no-repeat;
  transition: background-size .4s var(--ease), color .25s;
  overflow-wrap: anywhere;
}
.contact__email:hover { color: var(--saffron-hi); background-size: 100% 2px; }

/* ---------- Footer ---------- */

.footer {
  padding-block: 2.5rem 3rem;
  background: var(--walnut);
  border-top: 1px solid rgba(184, 115, 51, .25);
  font-size: .95rem;
  color: var(--cream-2);
}
.footer__inner { display: grid; gap: 1.5rem; }
.footer__brand { display: grid; gap: .2rem; }
.footer__name { font-family: var(--serif); font-size: 1.6rem; color: var(--cream); }

.privacy summary {
  cursor: pointer;
  font-family: var(--sc);
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--saffron);
  width: fit-content;
}
.privacy[open] summary { margin-bottom: 1rem; }
.privacy__body {
  display: grid;
  gap: .8rem;
  max-width: 44rem;
  padding: 1.25rem 1.25rem 1.4rem;
  border: 1px solid rgba(184, 115, 51, .3);
  border-radius: 6px;
  background: rgba(18, 13, 10, .5);
}
.privacy__body strong { color: var(--cream); }
.privacy__updated { font-style: italic; font-size: .9rem; }
.footer__small { font-size: .85rem; color: rgba(205, 188, 164, .7); }

/* ==========================================================================
   Larger screens
   ========================================================================== */

@media (min-width: 40rem) {
  .field__row { flex-direction: row; }
  .field__row input { flex: 1; }
  .menu-card__cols { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .ritual__steps { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; }
}

@media (min-width: 52rem) {
  .topnav {
    display: flex;
    gap: 1.75rem;
    margin-left: auto;
    margin-right: 1.25rem;
  }
  .topnav a {
    color: var(--cream-2);
    text-decoration: none;
    font-size: 1rem;
    transition: color .2s;
  }
  .topnav a:hover { color: var(--saffron); }

  .story__grid { grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: start; }
  .harissa__grid { grid-template-columns: 1.1fr 1fr; gap: 4.5rem; }
  .values__grid { grid-template-columns: 1fr 1.3fr; gap: 4rem; align-items: start; }
  .values__list { grid-template-columns: 1fr 1fr; gap: 2rem 2.5rem; }
  .footer__inner { grid-template-columns: 1fr auto; align-items: start; }
  .footer__small { grid-column: 1 / -1; }
}

@media (min-width: 64rem) {
  .hero {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
    grid-template-areas:
      "copy   media"
      "signup media";
    grid-template-rows: auto 1fr;
    column-gap: 4.5rem;
    row-gap: 2.75rem;
    padding-top: 3rem;
    padding-bottom: 5.5rem;
    align-items: start;
  }
  .hero__copy { align-self: end; padding-top: 4vh; }
  .hero__title { font-size: clamp(3.25rem, 5vw, 4.8rem); }
  .hero__media { align-self: center; }
  /* Size from height so the figure (a shrink-to-fit grid item) gets a definite width */
  .arch--tall { width: auto; height: min(80svh, 46rem); }
  .ritual__steps { grid-template-columns: repeat(4, 1fr); column-gap: 2rem; }
  .ritual__steps li { grid-template-columns: 1fr; row-gap: 1rem; }
  .ritual__num { grid-row: auto; }
}

/* ==========================================================================
   Motion (only when the visitor hasn't asked for less)
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
  .js .load {
    opacity: 0;
    animation: rise 1s var(--ease) forwards;
    animation-delay: calc(var(--d, 0) * 120ms + 100ms);
  }
  .js .hero__media .arch {
    animation: unveil 1.6s var(--ease) 250ms both;
  }
  .js .signup {
    opacity: 0;
    animation: rise 1s var(--ease) 750ms forwards;
  }
  .fire { animation: ember 4.5s ease-in-out infinite; }

  .js [data-reveal] {
    opacity: 0;
    transform: translateY(1.5rem);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
    transition-delay: calc(var(--i, 0) * 90ms);
  }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(1.25rem); }
  to   { opacity: 1; transform: none; }
}
@keyframes unveil {
  from { clip-path: inset(100% -24px -24px -24px); opacity: .2; }
  to   { clip-path: inset(-24px -24px -24px -24px); opacity: 1; }
}
@keyframes ember {
  0%, 100% { text-shadow: 0 0 .35em rgba(232, 120, 40, .30); }
  30%      { text-shadow: 0 0 .5em  rgba(240, 140, 50, .45); }
  55%      { text-shadow: 0 0 .3em  rgba(232, 120, 40, .25); }
  75%      { text-shadow: 0 0 .55em rgba(245, 150, 60, .5); }
}
