/* The Gele Center — link in bio */

:root {
  --ivory: #FBF7EF;
  --cream: #F4ECDD;
  --sand: #E8DABF;
  --ink: #1A1410;
  --ink-2: #3B3027;
  --muted: #74644F;
  --gold: #B8892B;
  --gold-hi: #E2C068;
  --gold-deep: #8A6115;
  --line: rgba(184, 137, 43, .32);
  --gold-grad: linear-gradient(120deg, #8A6115 0%, #C99A3A 22%, #F1D88A 42%, #C99A3A 60%, #8A6115 82%, #C99A3A 100%);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Pinyon Script", "Snell Roundhand", cursive;

  --gutter: 16px;
  --max: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font: 400 1rem/1.65 var(--sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* paper grain */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 100;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- type ---------- */
.script {
  font: 400 clamp(2rem, 7vw, 3.2rem)/1 var(--script);
  color: var(--gold);
  margin: 0 0 .1em;
}
.h2 {
  font: 600 clamp(2.4rem, 8vw, 4.4rem)/1.02 var(--serif);
  letter-spacing: -.01em;
  margin: 0;
}
.h2 em, .hero__lede em { font-style: italic; font-weight: 500; }
.h2 em {
  background: var(--gold-grad); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 8s linear infinite;
}
.h3 {
  font: 600 clamp(2rem, 6vw, 3.1rem)/1.05 var(--serif);
  margin: 0 0 .45em;
  position: relative;
}
@keyframes sheen { to { background-position: -200% 0; } }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: max(28px, env(safe-area-inset-top)) var(--gutter) 64px;
  background:
    radial-gradient(120% 60% at 50% 0%, #fff 0%, rgba(255,255,255,0) 60%),
    radial-gradient(80% 50% at 100% 30%, rgba(226,192,104,.16), transparent 70%),
    var(--ivory);
  overflow: hidden;
}
.hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  justify-items: center;
}
.hero__brand { text-align: center; max-width: 520px; }
.crest {
  width: min(250px, 66vw);
  margin: 0 auto 6px;
  filter: drop-shadow(0 6px 18px rgba(138, 97, 21, .18));
  animation: crest-in 1.4s var(--ease) both;
}
@keyframes crest-in { from { opacity: 0; transform: translateY(10px) scale(.96); filter: blur(6px); } }
.hero__lede {
  font: 500 clamp(1.25rem, 4.6vw, 1.55rem)/1.3 var(--serif);
  color: var(--ink-2);
  margin: 0 auto 14px;
  max-width: 30ch;
}
.chips {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 8px;
}
.chips li {
  display: inline-flex; align-items: center; gap: 6px;
  font: 400 .78rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted);
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.55);
}
.chips svg { color: var(--gold); font-size: 14px; }

/* ---------- link stack ---------- */
.links { width: 100%; max-width: 520px; display: grid; gap: 10px; }
.link {
  --i: 0;
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 14px;
  padding: 11px 16px 11px 11px;
  text-decoration: none;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 8px 22px -14px rgba(90, 62, 12, .35);
  overflow: hidden;
  isolation: isolate;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.link::after { /* silk sheen */
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(241,216,138,.45) 48%, transparent 66%);
  transform: translateX(-110%);
  transition: transform .9s var(--ease);
}
.link:hover, .link:focus-visible {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 16px 30px -16px rgba(90, 62, 12, .5);
}
.link:hover::after, .link:focus-visible::after { transform: translateX(110%); }
.link:active { transform: scale(.985); }
.link__icon {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  background: radial-gradient(circle at 30% 25%, #fff, var(--cream));
  color: var(--gold-deep);
  font-size: 20px;
}
.link__text { min-width: 0; }
.link__text b {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font: 600 1.22rem/1.15 var(--serif);
  color: var(--ink);
}
.link__text small {
  display: block;
  font: 300 .84rem/1.35 var(--sans);
  color: var(--muted);
  margin-top: 2px;
}
.link__arrow { color: var(--gold); font-size: 18px; transition: transform .35s var(--ease); }
.link:hover .link__arrow { transform: translateX(4px); }
.tag {
  font: 500 .62rem/1 var(--sans); font-style: normal; letter-spacing: .14em; text-transform: uppercase;
  padding: 5px 7px 4px; border-radius: 999px;
  color: #fff; background: var(--gold-grad); background-size: 200% 100%;
  animation: sheen 5s linear infinite;
}

.link--feature {
  background: radial-gradient(120% 140% at 0% 0%, #2B2119 0%, var(--ink) 60%);
  border-color: rgba(226,192,104,.5);
  box-shadow: 0 18px 34px -18px rgba(26, 20, 16, .8);
}
.link--feature .link__icon { background: var(--gold-grad); border: 0; color: var(--ink); }
.link--feature .link__text b {
  background: var(--gold-grad); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 6s linear infinite;
}
.link--feature .link__text small { color: rgba(251,247,239,.7); }
.link--feature .link__arrow { color: var(--gold-hi); }
.link--feature::after { background: linear-gradient(105deg, transparent 30%, rgba(241,216,138,.18) 48%, transparent 66%); }

.quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 4px; }
.quick__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 12px 6px;
  font: 500 .8rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; color: var(--ink-2);
  border: 1px solid var(--line); border-radius: 14px;
  background: rgba(255,255,255,.45);
  transition: background .3s, color .3s, border-color .3s;
}
.quick__btn svg { color: var(--gold); font-size: 16px; }
.quick__btn:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }

.socials { list-style: none; padding: 0; margin: 10px 0 0; display: flex; justify-content: center; gap: 10px; }
.socials a {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--gold-deep); font-size: 19px;
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), background .3s, color .3s;
}
.socials a:hover { transform: translateY(-3px) rotate(-6deg); background: var(--ink); color: var(--gold-hi); }

/* ---------- halo portrait ---------- */
.halo {
  position: relative;
  width: min(340px, 82vw);
  aspect-ratio: 1;
  margin: 18px 0 0;
}
.halo__rings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.halo__rings .r { fill: none; stroke: url(#gold); transform-origin: 200px 200px; }
.r1 { stroke-width: 1.4; stroke-dasharray: 520 90 300 60; animation: spin 40s linear infinite; }
.r2 { stroke-width: 4; stroke-dasharray: 380 140 240 80; animation: spin 60s linear infinite reverse; }
.r3 { stroke-width: .8; opacity: .6; }
.halo__text {
  font: 500 11.5px/1 var(--sans); letter-spacing: .2em;
  fill: var(--gold-deep);
  transform-origin: 200px 200px;
  animation: spin 70s linear infinite;
}
.halo__photo {
  position: absolute; inset: 21%;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 6px var(--ivory), 0 0 0 7px var(--line), 0 30px 60px -20px rgba(26,20,16,.55);
}
.halo__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transform: scale(1.06); }
@keyframes spin { to { transform: rotate(360deg); } }

.scroll-cue {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  margin: 26px auto 0; width: max-content;
  font: 500 .7rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
}
.scroll-cue i { width: 1px; height: 38px; background: linear-gradient(var(--gold), transparent); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: -2px; top: -6px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { to { transform: translateY(46px); opacity: 0; } }

/* ---------- ribbon ---------- */
.ribbon {
  background: var(--ink);
  color: var(--ivory);
  padding: 18px var(--gutter);
  position: relative;
  border-block: 1px solid rgba(226,192,104,.35);
}
.ribbon__track {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px;
}
.ribbon p { margin: 0; text-align: center; font: 600 1.6rem/1 var(--serif); color: var(--gold-hi); }
.ribbon b { font-weight: 600; }
.ribbon span {
  display: block; margin-top: 6px;
  font: 300 .72rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: rgba(251,247,239,.72);
}

/* ---------- STORY ---------- */
.story {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px var(--gutter) 0;
}
.trail { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; display: none; z-index: 0; }
.trail__line { stroke: var(--gold); stroke-width: 2.4; stroke-dasharray: 0 9; stroke-linecap: round; opacity: .85; }
.trail__stops circle { fill: var(--ivory); stroke: var(--gold); stroke-width: 1.5; }
.trail__stops circle.dot { fill: #9B2C2C; stroke: none; }
.trail__bead { fill: var(--gold); filter: drop-shadow(0 0 6px rgba(226,192,104,.9)); opacity: 0; transition: opacity .3s; }
.trail-anchor { position: absolute; width: 1px; height: 1px; pointer-events: none; }

.story__head { text-align: center; position: relative; max-width: 640px; margin: 0 auto; }
.story__head .trail-anchor { left: 50%; bottom: -40px; }
.story__sub { color: var(--muted); max-width: 44ch; margin: 14px auto 0; font-size: 1.02rem; }

.chapter {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin-top: 56px;
}
.chapter__media { position: relative; z-index: 1; margin-inline: calc(var(--gutter) * -1); }
.chapter__media img { width: 100%; will-change: transform; }
.chapter__body { position: relative; z-index: 2; margin-top: -40px; padding: 0 4px; }
.chapter__num {
  font: 600 clamp(4.5rem, 20vw, 7.5rem)/.8 var(--serif);
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
  margin: 0;
  opacity: .9;
}
.script--over {
  font-size: clamp(2.6rem, 11vw, 4.6rem);
  color: rgba(184,137,43,.3);
  margin: -.05em 0 -.62em .5em;
  transform: rotate(-4deg);
  transform-origin: left center;
  position: relative; z-index: -1;
  white-space: nowrap;
}
.chapter__body > p:not([class]) { color: var(--ink-2); max-width: 46ch; margin: 0 0 22px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 22px;
  font: 500 .82rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  transition: transform .35s var(--ease), box-shadow .35s, background .3s;
}
.btn svg { font-size: 16px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--ink { background: var(--ink); color: var(--ivory); box-shadow: 0 12px 24px -14px rgba(26,20,16,.7); }
.btn--ink:hover { transform: translateY(-2px); background: #000; box-shadow: 0 0 0 1px var(--gold), 0 16px 30px -14px rgba(26,20,16,.8); }
.btn--ink svg { color: var(--gold-hi); }
.btn-link {
  font: 500 .8rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-deep); text-decoration: none;
  padding: 6px 0;
  background: linear-gradient(var(--gold), var(--gold)) 0 100% / 100% 1px no-repeat;
  transition: background-size .4s var(--ease);
}
.btn-link:hover { background-size: 30% 1px; }

.badge {
  display: inline-flex; align-items: center; gap: 9px;
  font: 500 .74rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: #7A3B12;
  background: rgba(226,192,104,.22);
  border: 1px solid var(--line);
  padding: 8px 12px; border-radius: 999px;
  margin: 0 0 14px;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #C0392B; position: relative; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 1.8s ease-out infinite; }
@keyframes ping { to { transform: scale(3); opacity: 0; } }

/* ---------- reel ---------- */
.reel {
  position: relative;
  margin: 80px calc(var(--gutter) * -1) 0;
  padding: 90px var(--gutter) 84px;
  color: var(--ivory);
  text-align: center;
  isolation: isolate;
  overflow: hidden;
}
.reel__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(70% 60% at 50% 55%, rgba(26,20,16,.35), rgba(26,20,16,.92) 75%),
    url("img/red-band.webp") center 30% / cover no-repeat,
    var(--ink);
  border-block: 1px solid rgba(226,192,104,.45);
}
.reel__inner { max-width: 560px; margin: 0 auto; position: relative; }
.chapter__num--light { -webkit-text-stroke-color: var(--gold-hi); font-size: clamp(3.5rem, 14vw, 5rem); }
.script--light { color: var(--gold-hi); }
.h3--light { color: var(--ivory); }
.play {
  position: relative;
  display: grid; place-items: center;
  width: 108px; height: 108px; margin: 18px auto 22px;
  border-radius: 50%;
  background: var(--gold-grad); background-size: 200% 100%;
  color: var(--ink);
  animation: sheen 6s linear infinite;
  box-shadow: 0 20px 50px -10px rgba(226,192,104,.5);
  transition: transform .4s var(--ease);
}
.play:hover { transform: scale(1.06); }
.play svg { width: 38px; height: 38px; fill: currentColor; stroke: none; margin-left: 5px; }
.play .trail-anchor { left: 50%; top: 50%; }
.play__ring { position: absolute; inset: -12px; border-radius: 50%; border: 1px solid rgba(226,192,104,.6); animation: halo 2.8s ease-out infinite; }
.play__ring--2 { animation-delay: 1.4s; }
@keyframes halo { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.reel__note { color: rgba(251,247,239,.78); max-width: 36ch; margin: 0 auto; }

/* ---------- press + feedback ---------- */
.duo {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px var(--gutter) 0;
  display: grid; gap: 16px;
}
.card {
  position: relative;
  display: block;
  padding: 30px 26px 28px;
  border-radius: 26px;
  text-decoration: none;
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.card:hover { transform: translateY(-4px); }
.card p { margin: 0; }
.card__kicker { font: 500 .72rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.card__line { color: var(--ink-2); margin: 14px 0 20px !important; max-width: 40ch; }
.card--press {
  background: var(--cream);
  border: 1px solid var(--line);
}
.card__mast { font: 700 3.4rem/1 var(--serif); letter-spacing: -.02em; margin-top: 12px !important; color: var(--ink); }
.card__mast span { font-weight: 500; font-style: italic; color: var(--gold-deep); font-size: .55em; margin-left: 4px; }
.card--feedback {
  background: var(--ink);
  color: var(--ivory);
  box-shadow: 0 24px 50px -28px rgba(26,20,16,.9);
}
.card--feedback::before { /* concentric pleats */
  content: "";
  position: absolute; right: -120px; top: -120px; width: 320px; height: 320px; border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 9px, rgba(226,192,104,.16) 9px 10px);
  pointer-events: none;
}
.card--feedback .card__kicker { color: var(--gold-hi); }
.card__title { font: 600 2.4rem/1.05 var(--serif); margin-top: 12px !important; }
.card--feedback .card__line { color: rgba(251,247,239,.78); }
.card--feedback .btn-link { color: var(--gold-hi); background-image: linear-gradient(var(--gold-hi), var(--gold-hi)); }
.stars { display: flex; gap: 4px; margin-top: 12px !important; color: var(--gold-hi); }
.stars svg { font-size: 20px; fill: var(--gold-hi); stroke: none; }
.card--feedback:hover .stars svg { animation: twinkle .6s var(--ease) both; }
.card--feedback:hover .stars svg:nth-child(2) { animation-delay: .06s; }
.card--feedback:hover .stars svg:nth-child(3) { animation-delay: .12s; }
.card--feedback:hover .stars svg:nth-child(4) { animation-delay: .18s; }
.card--feedback:hover .stars svg:nth-child(5) { animation-delay: .24s; }
@keyframes twinkle { 50% { transform: scale(1.35) rotate(18deg); } }

/* ---------- contact ---------- */
.contact { max-width: var(--max); margin: 0 auto; padding: 88px var(--gutter) 40px; }
.contact__head { text-align: center; margin-bottom: 30px; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.tile {
  display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 14px; align-items: center;
  padding: 18px 20px;
  border-top: 1px solid var(--line);
  text-decoration: none;
  transition: background .3s, padding .35s var(--ease);
}
.tile:last-child { border-bottom: 1px solid var(--line); }
.tile svg { grid-row: span 2; font-size: 24px; color: var(--gold); }
.tile__k { font: 500 .72rem/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.tile__v { font: 600 1.35rem/1.25 var(--serif); overflow-wrap: anywhere; }
.tile:hover { background: rgba(226,192,104,.12); padding-left: 26px; }

/* ---------- footer ---------- */
.foot {
  text-align: center;
  padding: 30px var(--gutter) calc(110px + env(safe-area-inset-bottom));
}
.foot__crest { width: 120px; margin: 0 auto 10px; opacity: .95; }
.socials--foot { margin-bottom: 18px; }
.foot__copy { font-size: .85rem; color: var(--muted); margin: 0 0 18px; }
.foot__powered {
  display: inline-block;
  font: 400 .72rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted);
  margin: 0;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.foot__powered a { color: var(--ink); font-weight: 500; text-decoration: none; }
.foot__powered a:hover { color: var(--gold-deep); }

/* ---------- mobile dock ---------- */
.dock {
  position: fixed; z-index: 50;
  left: 50%; bottom: max(12px, env(safe-area-inset-bottom));
  transform: translate(-50%, 140%);
  display: flex; gap: 4px; padding: 5px;
  background: rgba(26,20,16,.92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(226,192,104,.35);
  border-radius: 999px;
  box-shadow: 0 18px 40px -12px rgba(26,20,16,.6);
  transition: transform .5s var(--ease);
  width: max-content; max-width: calc(100vw - 24px);
}
.dock.is-on { transform: translate(-50%, 0); }
.dock a {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 12px 14px;
  border-radius: 999px;
  font: 500 .76rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  color: var(--ivory); text-decoration: none; white-space: nowrap;
}
.dock svg { font-size: 16px; color: var(--gold-hi); }
.dock__main { background: var(--gold-grad); background-size: 200% 100%; color: var(--ink) !important; animation: sheen 6s linear infinite; }
.dock__main svg { color: var(--ink); }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .chapter__media.reveal { transform: translateY(40px) scale(.97); }
.js .chapter__media.reveal.is-in { transform: none; }
.js .links .link { opacity: 0; transform: translateY(14px); animation: rise .8s var(--ease) forwards; animation-delay: calc(.35s + var(--i) * .08s); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ================= TABLET ================= */
@media (min-width: 640px) {
  :root { --gutter: 28px; }
  .ribbon__track { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .duo { grid-template-columns: 1fr 1fr; }
  .contact__grid { grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .tile:nth-last-child(2) { border-bottom: 1px solid var(--line); }
}

@media (min-width: 860px) {
  .trail { display: block; }
  .story { padding-top: 110px; }
  .chapter {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    gap: 48px;
    margin-top: 40px;
  }
  .chapter__body { margin-top: 0; padding: 40px 0 40px 56px; }
  .chapter--right .chapter__media { order: 2; }
  .chapter--right .chapter__body { padding: 40px 56px 40px 0; text-align: right; justify-self: end; }
  .chapter--right .chapter__body > p:not([class]) { margin-left: auto; }
  .chapter--right .actions { justify-content: flex-end; }
  .chapter--left .chapter__media { margin: 0 0 0 calc(var(--gutter) * -1 - max(0px, (100vw - var(--max)) / 2 - 40px)); }
  .chapter--right .chapter__media { margin: 0 calc(var(--gutter) * -1 - max(0px, (100vw - var(--max)) / 2 - 40px)) 0 0; }
  .chapter--left .trail-anchor { left: 18px; top: 136px; }
  .chapter--right .trail-anchor { left: -30px; top: 136px; }
  .chapter--right .script--over { margin-right: .5em; transform-origin: right center; }
  .reel { margin-inline: calc(var(--gutter) * -1 - max(0px, (100vw - var(--max)) / 2)); padding-block: 130px 120px; }
}

/* ================= DESKTOP ================= */
@media (min-width: 1024px) {
  .hero { padding-top: 48px; padding-bottom: 72px; }
  .hero__inner {
    grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
    grid-template-areas: "brand halo" "links halo";
    column-gap: 72px;
    row-gap: 26px;
    justify-items: stretch;
    align-items: start;
  }
  .hero__brand { grid-area: brand; text-align: left; }
  .crest { margin: 0 0 8px -8px; width: 280px; }
  .hero__lede { margin-left: 0; }
  .chips { justify-content: flex-start; }
  .links { grid-area: links; }
  .links .socials { justify-content: flex-start; }
  .halo {
    grid-area: halo;
    width: min(520px, 100%);
    justify-self: center;
    align-self: center;
    position: sticky; top: 60px;
    margin: 0;
  }
  .scroll-cue { margin-top: 40px; }
  .dock { display: none; }
  .foot { padding-bottom: 44px; }
}

@media (hover: none) {
  .link:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
  .js .reveal, .js .links .link { opacity: 1; transform: none; }
}

/* Online Chale credits and class registration */
.oc-top { display:flex; align-items:center; justify-content:center; gap:7px; width:max-content; margin:0 auto 22px; text-decoration:none; color:#28374d; font:400 10px/1.2 var(--sans); }
.oc-mark { width:24px; height:22px; stroke:none; fill:currentColor; }
.oc-mark circle { fill:#fff; }
.oc-name { font:500 17px/1 var(--sans); letter-spacing:-.035em; }
.oc-name b { font-weight:700; margin-left:2px; }
.oc-top .oc-mark { width:15px; height:14px; }
.oc-top .oc-name { font-size:12px; }
.oc-footer { display:inline-grid; grid-template-columns:1fr auto; gap:7px 24px; text-align:left; padding:17px 23px; border:1px solid #cbd0d8; border-radius:14px; background:#f0f2f5; color:#28374d; text-decoration:none; box-shadow:0 5px 16px rgba(40,55,77,.06); transition:transform .2s, box-shadow .2s; }
.oc-caption { font:400 10px/1 var(--sans); letter-spacing:.12em; text-transform:uppercase; color:#586477; }
.oc-lockup { display:flex; align-items:center; gap:9px; grid-column:1; }
.oc-footer .oc-name { font-size:22px; }
.oc-arrow { grid-column:2; grid-row:1 / 3; align-self:center; font-size:22px; }
.oc-footer:hover { transform:translateY(-2px); box-shadow:0 8px 22px rgba(40,55,77,.12); }
.badge { gap:8px; padding:8px 12px; border-radius:6px; background:#edf2e8; border-color:#c7d4bd; color:#3d5834; font:500 .8rem/1.3 var(--sans); letter-spacing:.015em; text-transform:none; }
.registration-icon { display:grid; place-items:center; width:17px; height:17px; border-radius:50%; background:#3d5834; color:white; font-size:11px; }

@media (prefers-reduced-motion:reduce) { .halo__text { animation:none; } }



/* Registration badge in the site palette */
.badge { gap:8px; padding:7px 11px; border-radius:999px; background:rgba(226,192,104,.12); border:1px solid var(--line); color:var(--gold-deep); font:400 .73rem/1.4 var(--sans); letter-spacing:.035em; text-transform:none; }
.registration-icon { width:6px; height:6px; background:var(--gold); color:transparent; font-size:0; flex:none; }
