/* ============================================================
   The Nation of Light — v7. Paper and gold, lit by the visitor's own sun.
   Light and bright everywhere: the only dark on the page is inside the paintings.
   ============================================================ */

@font-face {
  font-family: "Cormorant";
  src: url("fonts/cormorant.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cormorant";
  src: url("fonts/cormorant-italic.woff2") format("woff2");
  font-weight: 500; font-style: italic; font-display: swap;
}

:root {
  --paper: #FBF7EE;
  --paper-2: #F4EDDC;
  --white: #FFFFFF;
  --ink: #1F1A2B;
  --ink-soft: #4E4560;
  --ink-mute: #7A6D85;
  --gold: #C8A24A;
  --gold-deep: #9A7B2C;
  --gold-light: #E8CF90;
  --sun: #FFCE3D;
  --sky: #5FB1DD;
  --sky-soft: #BFE2F4;
  --rose: #F3B9A0;

  /* set per hour of the visitor's day (see html[data-hour]) */
  --glow-a: rgba(191, 226, 244, .75);
  --glow-b: rgba(255, 206, 61, .35);
  --hour-name: "day";

  --display: "Cormorant", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --radius: 26px;
  --shadow: 0 1px 2px rgba(31, 26, 43, .06), 0 14px 40px rgba(120, 90, 30, .12);
  --outline: linear-gradient(145deg, var(--gold-light), var(--gold) 32%, #fff 58%, var(--gold-light));
  --topbar-h: 64px;
}

html[data-hour="dawn"]   { --glow-a: rgba(243, 185, 160, .70); --glow-b: rgba(255, 206, 61, .45); }
html[data-hour="day"]    { --glow-a: rgba(191, 226, 244, .75); --glow-b: rgba(255, 206, 61, .35); }
html[data-hour="golden"] { --glow-a: rgba(255, 190, 110, .55); --glow-b: rgba(255, 206, 61, .55); }
html[data-hour="night"]  { --glow-a: rgba(140, 160, 210, .45); --glow-b: rgba(255, 206, 61, .40); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink-soft); background: var(--paper);
  font: 17px/1.55 var(--sans); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-deep); }
button { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hp { position: absolute; left: -9999px; }

/* ---------- Gradient outline on every surface (the house rule) ---------- */
.g, .tile, .card, .checks button, .beat figure, .plan, .join-card, .people-words, .sheet-card,
.btn-ghost, .phone-frame, .filings, .film, .opts button, .points li {
  position: relative;
}
.g::before, .tile::before, .card::before, .checks button::before, .beat figure::before, .plan::before,
.join-card::before, .people-words::before, .sheet-card::before, .btn-ghost::before, .phone-frame::before,
.filings::before, .film::before, .opts button::before, .points li::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
  background: var(--tile-outline, var(--outline));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude; pointer-events: none; z-index: 2;
}

/* ---------- Type ---------- */
h1, h2, h3, .display { font-family: var(--display); color: var(--ink); margin: 0; font-weight: 600; }
h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); line-height: 1; letter-spacing: -.015em; }
h2.display { font-size: clamp(2.1rem, 4.6vw, 3.7rem); line-height: 1.02; letter-spacing: -.012em; }
h3 { font-size: 1.45rem; line-height: 1.15; }
h1 em, h2 em, .display em { font-style: italic; font-weight: 500; color: var(--gold-deep); }
p { margin: 0 0 1em; }
.kicker {
  font: 700 .72rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-deep);
  display: flex; align-items: center; gap: 12px; margin: 0 0 18px;
}
.kicker::before { content: ""; width: 28px; height: 1.5px; background: var(--gold); }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 42em; }
.small { font-size: .95rem; color: var(--ink-mute); }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.wrap.narrow { max-width: 760px; }
.wrap.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.paper { padding: clamp(72px, 10vw, 130px) 0; }
.paper + .paper { padding-top: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 26px; border-radius: 999px; border: 0; text-decoration: none; cursor: pointer;
  font: 600 1rem/1 var(--sans); color: var(--ink); background: var(--white);
  transition: transform .5s var(--spring), box-shadow .3s;
}
.btn:hover { transform: translateY(-2px) scale(1.02); }
.btn:active { transform: scale(.98); }
.btn-gold {
  color: #2b2208; background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-deep));
  box-shadow: 0 8px 24px rgba(200, 162, 74, .35), inset 0 1px 0 rgba(255,255,255,.55);
}
.btn-ghost { background: rgba(255,255,255,.85); }
.btn-small { padding: 10px 18px; font-size: .9rem; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.link-btn { background: none; border: 0; color: var(--gold-deep); text-decoration: underline; cursor: pointer; padding: 0; }

/* ---------- Top bar ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--topbar-h);
  display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(16px, 3vw, 36px);
  transition: background .4s, box-shadow .4s, backdrop-filter .4s;
}
.topbar.solid { background: rgba(251, 247, 238, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(200,162,74,.25); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 600 1.15rem var(--display); }
.brand img { width: 34px; height: 34px; border-radius: 50%; }
.topnav { display: flex; align-items: center; gap: 22px; }
.topnav a:not(.btn) { color: var(--ink-soft); text-decoration: none; font-size: .95rem; }
.topnav a:not(.btn):hover { color: var(--gold-deep); }
@media (max-width: 760px) { .topnav a:not(.btn) { display: none; } .brand span { font-size: 1.05rem; } }

/* ---------- 1 · The hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; grid-template-columns: 46fr 54fr;
  background: var(--paper); overflow: hidden;
}
.hero-art { position: relative; overflow: hidden; order: 2; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; animation: burns 36s var(--ease) infinite alternate; }
.hero-art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to right, var(--paper) 0, rgba(251,247,238,.55) 10%, transparent 38%);
}
.rays {
  position: absolute; inset: -30%; pointer-events: none; mix-blend-mode: screen; opacity: .55;
  background: repeating-conic-gradient(from 0deg at 62% 18%, rgba(255,255,255,0) 0deg, rgba(255,246,214,.55) 2.5deg, rgba(255,255,255,0) 6deg);
  -webkit-mask: radial-gradient(closest-side at 62% 18%, #000 0, rgba(0,0,0,.6) 40%, transparent 78%);
  mask: radial-gradient(closest-side at 62% 18%, #000 0, rgba(0,0,0,.6) 40%, transparent 78%);
  animation: rays 90s linear infinite;
}
@keyframes rays { to { transform: rotate(12deg); } }
@keyframes burns { from { transform: scale(1) translate(0,0); } to { transform: scale(1.09) translate(-1.5%, 1%); } }
.hero-paper {
  position: relative; z-index: 1; order: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--topbar-h) + 40px) clamp(20px, 5vw, 72px) 80px;
  background:
    radial-gradient(900px 520px at -10% -10%, var(--glow-a), transparent 60%),
    radial-gradient(700px 480px at 90% 110%, var(--glow-b), transparent 60%),
    var(--paper);
}
.hero .eyebrow { font: 600 .8rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 22px; }
.hero h1 { margin-bottom: 22px; }
.deck { font-size: clamp(1.05rem, 1.4vw, 1.25rem); max-width: 30em; color: var(--ink-soft); }
.sunline { display: flex; align-items: center; gap: 10px; margin: 34px 0 0; font-size: .9rem; color: var(--ink-mute); }
.sun-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(255,206,61,.25), 0 0 18px rgba(255,206,61,.8); animation: pulse 3s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(255,206,61,.15), 0 0 24px rgba(255,206,61,.9); } }
.scroll-cue { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid var(--gold); border-radius: 14px; z-index: 3; }
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 50% { transform: translateY(14px); opacity: .3; } }

@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-rows: 58svh auto; min-height: 0; }
  .hero-art { order: 1; }
  .hero-art::after { inset: 0 0 -2px 0; background: linear-gradient(to bottom, transparent 52%, var(--paper) 95%); }
  .hero-paper { order: 2; margin-top: -60px; padding-top: 20px; padding-bottom: 64px; text-align: center; align-items: center; background: transparent; }
  .hero .eyebrow { margin-bottom: 14px; }
  .btns { justify-content: center; }
  .scroll-cue { display: none; }
}

/* ---------- 2 · In short ---------- */
.points { list-style: none; margin: 46px auto 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.points li { background: var(--white); border-radius: var(--radius); padding: 28px 24px 24px; box-shadow: var(--shadow); }
.points .num { font: 500 3rem/1 var(--display); color: var(--gold); display: block; margin-bottom: 12px; }
.points h3 { font-size: 1.35rem; margin-bottom: 10px; }
.points p { margin: 0; font-size: .98rem; }
@media (max-width: 960px) { .points { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .points { grid-template-columns: 1fr; } }

/* ---------- 3 · A day here ---------- */
.day { padding: clamp(72px, 10vw, 130px) 0 40px; background: linear-gradient(180deg, var(--paper-2), var(--paper) 40%, var(--paper-2)); }
.day-head { margin-bottom: 20px; }
.sky { position: sticky; top: var(--topbar-h); z-index: 5; height: 92px; width: 100%; padding: 0 20px; pointer-events: none;
  background: linear-gradient(180deg, var(--paper) 0, rgba(251,247,238,.85) 45%, transparent 100%); }
.sky svg, .sky-time { max-width: 1180px; margin: 0 auto; }
.sky svg { width: 100%; height: 100%; overflow: visible; }
.sky-time { position: absolute; right: 20px; top: 50px; font: 500 1.05rem var(--display); color: var(--gold-deep); background: rgba(251,247,238,.8); padding: 2px 10px; border-radius: 999px; }
.beat { width: min(1180px, calc(100% - 40px)); margin: 30px auto 70px; display: grid; grid-template-columns: 3fr 2fr; gap: clamp(22px, 4vw, 56px); align-items: center; }
.beat:nth-child(odd) figure { order: 2; }
.beat figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 3 / 2; background: var(--paper-2); }
.beat figure img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 14s var(--ease); }
.beat.in figure img { transform: scale(1.1); }
.beat-words { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.beat.in .beat-words { opacity: 1; transform: none; }
.beat .time { font: 500 2.2rem/1 var(--display); color: var(--gold); margin: 0 0 14px; }
.beat-words p:not(.time) { font-size: clamp(1.15rem, 1.7vw, 1.45rem); line-height: 1.4; color: var(--ink); font-family: var(--display); font-weight: 500; margin: 0; }
@media (max-width: 760px) {
  .beat { grid-template-columns: 1fr; gap: 16px; margin-bottom: 54px; }
  .beat:nth-child(odd) figure { order: 0; }
  .sky { height: 70px; }
  .sky-time { top: 36px; }
}

/* ---------- 4 · Is this you ---------- */
.checks { list-style: none; padding: 0; margin: 36px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checks button {
  width: 100%; text-align: left; display: flex; align-items: center; gap: 16px; padding: 20px 22px;
  background: var(--white); border: 0; border-radius: 20px; color: var(--ink); cursor: pointer; box-shadow: var(--shadow);
  font-size: 1.05rem; line-height: 1.35; transition: transform .5s var(--spring);
}
.checks button:hover { transform: translateY(-2px); }
.box {
  flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--gold);
  position: relative; transition: background .3s, transform .5s var(--spring);
}
.box::after {
  content: ""; position: absolute; left: 9px; top: 4px; width: 8px; height: 14px;
  border: solid #2b2208; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0); transition: transform .45s var(--spring);
}
.checks button.on .box { background: linear-gradient(135deg, var(--gold-light), var(--gold)); transform: scale(1.12); }
.checks button.on .box::after { transform: rotate(45deg) scale(1); }
.checks-verdict { margin: 26px auto 0; text-align: center; font: 500 1.35rem var(--display); color: var(--ink); }
@media (max-width: 700px) { .checks { grid-template-columns: 1fr; } }

/* ---------- 5 · What is a nation ---------- */
.nation { padding: clamp(72px, 10vw, 130px) 0; background: var(--paper-2); }
.filings { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #efe9dc; --f: 0; }
.filings img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.filings .f-aligned { position: absolute; inset: 0; opacity: var(--f); }
.f-slider {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 3; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center;
  background: rgba(251,247,238,.9); border-radius: 999px; padding: 10px 16px; font-size: .82rem; color: var(--ink-soft);
}
.f-slider input { width: 100%; accent-color: var(--gold-deep); }
.nation-words p { font-size: 1.08rem; }
.film-wrap { margin-top: 56px; max-width: 900px; }
.film { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); background: #000; aspect-ratio: 16 / 9; }
.film-note { text-align: center; margin-top: 12px; font-size: .9rem; color: var(--ink-mute); }
@media (max-width: 860px) { .wrap.two { grid-template-columns: 1fr; } .nation-words { margin-top: 26px; } }

/* ---------- 6 · What we hold ---------- */
.hold { padding: clamp(72px, 10vw, 130px) 0; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; width: min(1180px, calc(100% - 40px)); margin: 40px auto 0; }
.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); cursor: pointer;
  transition: transform .6s var(--spring); outline: none;
}
.card:hover, .card:focus-visible { transform: translateY(-4px); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: aspect-ratio .4s; }
.card-body { padding: 20px 20px 22px; }
.card h3 { font-size: 1.35rem; margin-bottom: 8px; }
.card .one { color: var(--ink); font-family: var(--display); font-size: 1.15rem; margin: 0; }
.card .more { margin: 12px 0 0; font-size: .95rem; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .6s var(--ease), opacity .5s; }
.card.open .more { max-height: 320px; opacity: 1; }
.card.open img { aspect-ratio: 16 / 9; }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding: 6px 20px 24px; width: 100%; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .cards::-webkit-scrollbar { display: none; }
  .card { flex: 0 0 82vw; scroll-snap-align: center; }
}

/* ---------- 7 · Light School ---------- */
.school { background: linear-gradient(180deg, var(--paper), var(--paper-2)); }
.facts { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.facts li { display: flex; align-items: baseline; gap: 14px; font-size: 1rem; }
.facts strong { font: 500 2rem/1 var(--display); color: var(--gold-deep); min-width: 2.2em; }
.phone { display: flex; justify-content: center; }
.phone-frame {
  width: min(300px, 70vw); aspect-ratio: 585 / 996; border-radius: 44px; overflow: hidden; background: var(--white);
  box-shadow: 0 30px 70px rgba(120, 90, 30, .28), 0 2px 6px rgba(0,0,0,.08); padding: 8px;
}
.phone-frame img { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); object-fit: cover; border-radius: 36px; animation: swap 10s ease-in-out infinite; }
.phone-frame img:nth-child(2) { animation-delay: -5s; }
@keyframes swap { 0%, 40% { opacity: 1; } 50%, 90% { opacity: 0; } 100% { opacity: 1; } }
@media (max-width: 860px) { .phone { margin-top: 34px; } }

/* ---------- 8 · The apps ---------- */
.apps { padding: clamp(72px, 10vw, 130px) 0; background: var(--paper-2); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; margin-top: 40px; }
.tile {
  --tile-outline: linear-gradient(145deg, var(--c), #fff 55%, var(--c));
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 20px; text-decoration: none; color: var(--ink);
  background: var(--white); border-radius: 22px; box-shadow: var(--shadow); transition: transform .6s var(--spring);
}
.tile:hover { transform: translateY(-4px) scale(1.01); }
.tile img { width: 68px; height: 68px; border-radius: 18px; margin-bottom: 8px; box-shadow: 0 6px 16px rgba(0,0,0,.12); }
.tile b { font: 600 1.15rem var(--display); }
.tile span { font-size: .9rem; color: var(--ink-mute); line-height: 1.35; }

/* ---------- 9 · The people ---------- */
.people { position: relative; padding: clamp(90px, 12vw, 160px) 0; overflow: hidden; }
.people-art, .join-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.people::before, .join::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, var(--paper) 0, rgba(251,247,238,.08) 26%, rgba(251,247,238,.08) 74%, var(--paper) 100%);
}
.people-words, .join-card {
  position: relative; z-index: 2; background: rgba(255,255,255,.94); border-radius: var(--radius); padding: clamp(28px, 4vw, 52px); box-shadow: var(--shadow);
  max-width: 760px; margin-left: auto; margin-right: auto;
}
.lamps { list-style: none; padding: 0; margin: 28px 0 22px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 24px; }
.lamps li { display: grid; grid-template-columns: 22px 1fr; column-gap: 12px; }
.lamps b { font: 600 1.15rem var(--display); color: var(--ink); }
.lamps li > span:last-child { grid-column: 2; font-size: .95rem; color: var(--ink-mute); }
.lamp { grid-row: span 2; width: 14px; height: 14px; margin-top: 6px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(255,206,61,.22), 0 0 16px rgba(255,206,61,.85); animation: pulse 3.2s ease-in-out infinite; }
.lamps li:nth-child(2) .lamp { animation-delay: .8s; } .lamps li:nth-child(3) .lamp { animation-delay: 1.6s; } .lamps li:nth-child(4) .lamp { animation-delay: 2.4s; }
@media (max-width: 560px) { .lamps { grid-template-columns: 1fr; } }

/* ---------- 10 · Your first week ---------- */
.guide-body { margin-top: 30px; max-width: 760px; }
.q { margin-bottom: 26px; }
.q-label { font: 500 1.3rem var(--display); color: var(--ink); margin: 0 0 12px; }
.opts { display: flex; flex-wrap: wrap; gap: 10px; }
.opts button {
  padding: 12px 18px; border-radius: 999px; border: 0; background: var(--white); color: var(--ink); cursor: pointer;
  box-shadow: var(--shadow); transition: transform .5s var(--spring), background .3s, color .3s;
}
.opts button:hover { transform: translateY(-2px); }
.opts button.on { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: #2b2208; --tile-outline: linear-gradient(145deg, var(--gold-deep), #fff 60%, var(--gold-deep)); }
.plan { margin-top: 34px; background: var(--white); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); animation: rise .7s var(--spring); }
@keyframes rise { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.plan ol { margin: 0; padding-left: 1.3em; display: grid; gap: 10px; }
.plan li { color: var(--ink); font-size: 1.05rem; }
.plan li b { font-family: var(--display); font-size: 1.2rem; }
.plan .btns { margin-top: 22px; }

/* ---------- 11 · The invitation ---------- */
.join { position: relative; padding: clamp(90px, 12vw, 160px) 0; overflow: hidden; }
.join-form { display: grid; gap: 12px; margin-top: 22px; }
.join-form input {
  width: 100%; padding: 15px 18px; border-radius: 14px; border: 1.5px solid rgba(200,162,74,.45); background: var(--paper);
  font: inherit; color: var(--ink); outline: none; transition: border-color .3s, box-shadow .3s;
}
.join-form input:focus { border-color: var(--gold-deep); box-shadow: 0 0 0 4px rgba(200,162,74,.18); }
.join-form .btn { justify-self: start; }
.join-msg { margin: 0; font-size: .95rem; min-height: 1.4em; }
.join-msg.bad { color: #a33d2b; }
.joined { font-size: 1.8rem; }
.money { margin: 22px 0 0; font-size: .9rem; color: var(--ink-mute); }
@media (min-width: 700px) {
  .join-form { grid-template-columns: 1fr 1fr; }
  .join-form input[name="email"] { grid-column: span 2; }
  .join-form .btn, .join-msg { grid-column: span 2; }
}

/* ---------- Footer & sheet ---------- */
footer { text-align: center; padding: 56px 20px 100px; color: var(--ink-mute); font-size: .95rem; }
footer img { margin: 0 auto 12px; border-radius: 50%; }
.sheet[hidden] { display: none; }
.sheet { position: fixed; inset: 0; z-index: 60; background: rgba(31,26,43,.35); display: grid; place-items: center; padding: 20px; }
.sheet-card { background: var(--white); border-radius: var(--radius); padding: 30px; max-width: 440px; width: 100%; box-shadow: var(--shadow); }
.sheet-card .btns { margin-top: 10px; }
.addr { font: 500 1.4rem var(--display); }
.version { position: fixed; right: 10px; bottom: 8px; font-size: .7rem; color: var(--ink-mute); opacity: .6; z-index: 40; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .beat-words { opacity: 1; transform: none; }
}

/* ---------- v8: the letter ---------- */
.deck.strong { color: var(--ink); font-family: var(--display); font-weight: 600; font-size: clamp(1.25rem, 1.8vw, 1.5rem); }
.letter .l { font-family: var(--display); font-weight: 500; font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.35; color: var(--ink); margin-bottom: 1.1em; }
.letter .l.strong { font-weight: 600; color: var(--gold-deep); }
.checks-lead { margin-top: 30px; }
.big { font-family: var(--display); font-weight: 600; font-size: 1.5rem; color: var(--ink); line-height: 1.2; }
.h3 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin-bottom: 8px; }

/* Reject the poison, choose the better */
.swap { padding: clamp(72px, 10vw, 130px) 0; background: var(--paper-2); }
.swap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.swap-card { position: relative; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.swap-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: var(--outline);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; pointer-events: none; z-index: 2; }
.swap-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.swap-body { padding: 20px 22px 24px; }
.swap-body .kicker { margin-bottom: 12px; }
.was { color: var(--ink-mute); text-decoration: line-through; text-decoration-color: rgba(200,162,74,.7); text-decoration-thickness: 1.5px; margin-bottom: 10px; font-size: .98rem; }
.now { color: var(--ink); font-family: var(--display); font-weight: 500; font-size: 1.2rem; line-height: 1.3; margin: 0; }
@media (max-width: 860px) { .swap-grid { grid-template-columns: 1fr; } }

/* One problem at a time */
.apps.paper { background: var(--paper); }
.feature { margin-top: 46px; padding: clamp(24px, 4vw, 48px); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); position: relative; }
.feature::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: var(--outline);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; pointer-events: none; z-index: 2; }
.steps { list-style: none; padding: 0; margin: 18px auto 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.steps .tile { height: 100%; }
.shelf { margin-top: 30px; text-align: center; }
.ps { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid rgba(200,162,74,.35); color: var(--ink); font-family: var(--display); font-size: 1.15rem; line-height: 1.4; }
.ps b { color: var(--gold-deep); }

/* ---------- v9: choose greatness ---------- */
.mid { margin-top: 26px; margin-bottom: 8px; }
.letter .points { margin-top: 34px; }

/* The path */
.path { padding: clamp(72px, 10vw, 130px) 0; background: linear-gradient(180deg, var(--paper-2), var(--paper) 30%, var(--paper-2)); }
.steps-path { list-style: none; padding: 0; margin: 40px auto 0; position: relative; }
.steps-path::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1.5px; background: linear-gradient(var(--gold-light), var(--gold), var(--gold-light)); opacity: .7; }
.step { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding: 34px 0; position: relative; }
.step:nth-child(even) .step-art { order: 2; }
.step::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px var(--paper), 0 0 0 5.5px var(--gold); }
.step-art { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative; aspect-ratio: 4 / 3; }
.step-art::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: var(--outline);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; pointer-events: none; z-index: 2; }
.step-art img { width: 100%; height: 100%; object-fit: cover; }
.step-n { font: 700 .72rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 10px; }
.step-words h3 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); margin-bottom: 10px; }
.step-words .big { font-size: 1.3rem; margin-bottom: 12px; }
.step-apps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 18px; }
.step-apps .tile { padding: 14px; gap: 4px; }
.step-apps .tile img { width: 48px; height: 48px; border-radius: 13px; margin-bottom: 4px; }
.step-apps .tile b { font-size: 1.05rem; }
.step-apps .tile span { font-size: .84rem; }
.step-apps div.tile { cursor: default; }
@media (max-width: 860px) {
  .steps-path::before, .step::after { display: none; }
  .step { grid-template-columns: 1fr; gap: 18px; padding: 24px 0; }
  .step:nth-child(even) .step-art { order: 0; }
}
@media (max-width: 420px) { .step-apps { grid-template-columns: 1fr; } }

/* Then something happens */
.turn { position: relative; padding: clamp(90px, 12vw, 160px) 0; overflow: hidden; }
.turn-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.turn::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, var(--paper-2) 0, rgba(251,247,238,.08) 26%, rgba(251,247,238,.08) 74%, var(--paper) 100%); }
.turn-card { position: relative; z-index: 2; background: rgba(255,255,255,.95); border-radius: var(--radius); padding: clamp(28px, 4vw, 52px); box-shadow: var(--shadow); max-width: 860px; margin-left: auto; margin-right: auto; }
.turn-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: var(--outline);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; pointer-events: none; z-index: 2; }
.turn-card h2 { margin-bottom: 22px; font-size: clamp(1.8rem, 3.6vw, 2.9rem); }
.turn-card .l { font-family: var(--display); font-weight: 500; font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.38; color: var(--ink); margin-bottom: 1em; }
.turn-card .l.strong { font-weight: 600; color: var(--gold-deep); }
.turn-card .q { margin: 26px 0 12px; font-size: clamp(2rem, 4vw, 3rem); }
.turn-card .checks { grid-template-columns: 1fr; margin-top: 26px; width: auto; }
.turn-card .checks button { padding: 15px 18px; font-size: .98rem; }
.turn-card .checks-verdict { text-align: left; font-size: 1.15rem; margin: 16px 0 0; }
.gains { list-style: none; padding: 0; margin: 30px 0 18px; display: grid; gap: 12px; }
.gains li { padding-left: 22px; position: relative; color: var(--ink-soft); }
.gains li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 3px rgba(255,206,61,.25); }
.gains b { color: var(--ink); font-family: var(--display); font-size: 1.15rem; }
.turn-card .film { margin-top: 14px; }

/* Heaven */
.heaven-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.heaven-grid figure { margin: 0; border-radius: 22px; overflow: hidden; background: var(--white); box-shadow: var(--shadow); position: relative; }
.heaven-grid figure::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: var(--outline);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; pointer-events: none; z-index: 2; }
.heaven-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.heaven-grid figcaption { padding: 12px 16px 16px; font-family: var(--display); font-weight: 500; color: var(--ink); font-size: 1.05rem; line-height: 1.25; }
@media (max-width: 900px) { .heaven-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- v10: the greatness argument ---------- */
.two-people { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 34px auto; max-width: 900px; }
.person { position: relative; background: var(--white); border-radius: var(--radius); padding: 26px 26px 22px; box-shadow: var(--shadow); color: var(--ink-soft); }
.person::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: var(--outline);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; pointer-events: none; z-index: 2; }
.person svg { width: 56px; height: 56px; color: var(--gold-deep); margin-bottom: 10px; }
.person .who { font: 700 .72rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 10px; }
.person p:last-child { margin: 0; font-family: var(--display); font-weight: 500; font-size: 1.25rem; line-height: 1.35; color: var(--ink); }
@media (max-width: 700px) { .two-people { grid-template-columns: 1fr; } }

.six { list-style: none; padding: 0; margin: 40px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.six li { position: relative; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.six li::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: var(--outline);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; pointer-events: none; z-index: 2; }
.six img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.six li > div { padding: 18px 22px 24px; }
.six .num { font: 500 2.4rem/1 var(--display); color: var(--gold); display: block; margin-bottom: 8px; }
.six h3 { font-size: 1.3rem; margin-bottom: 8px; }
.six p { margin: 0; font-size: .95rem; }
@media (max-width: 960px) { .six { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .six { grid-template-columns: 1fr; } }
footer .flag { width: 120px; height: auto; border-radius: 14px; box-shadow: var(--shadow); margin: 0 auto 16px; }

/* The island test */
.island { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; margin: 44px auto; }
.island figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative; aspect-ratio: 14 / 9; background: var(--paper-2); }
.island figure::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: var(--outline);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; pointer-events: none; z-index: 2; }
.island figure img { width: 100%; height: 100%; object-fit: cover; }
.island .l { font-size: clamp(1.15rem, 1.6vw, 1.4rem); }
@media (max-width: 860px) { .island { grid-template-columns: 1fr; } }
.person figure { margin: -26px -26px 16px; aspect-ratio: 14 / 9; overflow: hidden; background: var(--paper-2); }
.person figure img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   v12 — me first: pre-headline, two paths, five years in dots, one question
   ============================================================ */
.hero .pre { font: 500 clamp(1.1rem, 1.6vw, 1.35rem)/1.3 var(--display); font-style: italic; color: var(--ink-soft); max-width: 24em; margin: 0 0 14px; }
.hero h1 { font-size: clamp(3.4rem, 8vw, 6.4rem); margin-bottom: 20px; }
.hero-skills { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; max-width: 34em; }
.hero-skills li {
  position: relative; padding: 8px 14px; border-radius: 999px; background: var(--white);
  font: 600 .92rem/1 var(--sans); color: var(--ink); box-shadow: 0 4px 14px rgba(120, 90, 30, .10);
}
.hero-skills li::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: var(--outline);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; pointer-events: none; }
.hero .deck { font-weight: 600; color: var(--ink); }
@media (max-width: 860px) { .hero-skills { justify-content: center; } .hero .pre { margin-left: auto; margin-right: auto; } }

/* Two paths — old way / new way, row by row */
.ways h2, .years h2, .greater h2 { text-align: left; }
.ways-table { max-width: 900px; margin-top: 34px; display: grid; gap: 10px; }
.ways-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ways-row p { margin: 0; padding: 16px 18px 16px 50px; border-radius: 18px; position: relative; font-size: 1rem; line-height: 1.4; }
.ways-head p { padding: 4px 18px; font: 700 .78rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute); }
.ways-head p:last-child { color: var(--gold-deep); }
.ways-row .old { background: #EFEAE2; color: var(--ink-mute); }
.ways-row .new { background: var(--white); color: var(--ink); font-weight: 600; box-shadow: var(--shadow); }
.ways-row .new::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: var(--outline);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; pointer-events: none; }
.ways-row .old::before, .ways-row .new::before {
  position: absolute; left: 14px; top: 15px; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; font: 700 .85rem/1 var(--sans);
}
.ways-row .old::before { content: "✕"; background: #DDD5C8; color: #8A7F74; }
.ways-row .new::before { content: "✓"; background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: #2b2208; }
.ways-row:last-child p { font-size: 1.1rem; }
@media (max-width: 600px) {
  .ways-row { gap: 6px; }
  .ways-row p { padding: 38px 10px 12px; font-size: .88rem; }
  .ways-row .old::before, .ways-row .new::before { left: 10px; top: 10px; width: 22px; height: 22px; }
  .ways-head p { padding: 4px 6px; font-size: .66rem; letter-spacing: .14em; }
  .ways-row:last-child p { font-size: .98rem; }
}

/* Five years in sixty dots */
.years { padding-top: 0; }
.years-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 900px; margin-top: 30px; }
.dots-card { margin: 0; padding: 22px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); position: relative; }
.dots-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: var(--outline);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; pointer-events: none; }
.dots { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; }
.dots i { aspect-ratio: 1; border-radius: 50%; background: #ECE5D8; transform: scale(.7); transition: background .4s, transform .6s var(--spring); }
.reveal.in .dots i.on { transform: scale(1); }
.reveal.in .same .dots i.on { background: #B9AE9F; }
.reveal.in .grow .dots i.on { background: radial-gradient(circle at 35% 30%, #FFE9A8, var(--gold) 60%, var(--gold-deep)); }
.dots-card figcaption { margin-top: 16px; color: var(--ink-mute); font-size: .95rem; }
.dots-card figcaption b { display: block; font: 600 1.35rem/1.1 var(--display); color: var(--ink); margin-bottom: 2px; }
.grow figcaption b { color: var(--gold-deep); }
.punch { font: 600 clamp(1.5rem, 3vw, 2.2rem)/1.2 var(--display); color: var(--ink); margin: 34px 0 0; }
.punch em { font-style: italic; color: var(--gold-deep); font-weight: 500; }
@media (max-width: 600px) { .years-grid { gap: 10px; } .dots-card { padding: 14px; } .dots { gap: 3px; } .dots-card figcaption { font-size: .82rem; } .dots-card figcaption b { font-size: 1.1rem; } }

/* One question: the two lives side by side, then the film */
.greater { padding-top: 0; }
.diptych { display: grid; grid-template-columns: 1fr 1fr; gap: 0; max-width: 1000px; margin-top: 30px; margin-bottom: 26px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.diptych::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: var(--outline); z-index: 2;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; pointer-events: none; }
.diptych > div { position: relative; }
.diptych > div + div { border-left: 3px solid var(--paper); }
.diptych img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.diptych span { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.92); font: 600 clamp(.85rem, 1.5vw, 1.1rem)/1.25 var(--display); color: var(--ink); }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.greater .film { margin-top: 10px; }
.turn-card .heaven-grid { margin: 24px 0 28px; gap: 12px; }
@media (max-width: 900px) { .turn-card .heaven-grid { grid-template-columns: repeat(2, 1fr); } }
.hero-art img { object-position: 48% 55%; }

/* v13 — one next step: the ten minutes */
.ten { list-style: none; padding: 0; margin: 22px 0 24px; display: grid; gap: 10px; }
.ten li { display: flex; align-items: center; gap: 16px; padding: 12px 18px; border-radius: 18px; background: var(--paper); }
.ten b { font: 600 2.6rem/1 var(--display); color: var(--gold-deep); min-width: 1.4em; text-align: center; }
.ten span { font-size: 1.08rem; color: var(--ink); font-weight: 600; }
.join-card .l { font-family: var(--display); font-weight: 500; font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.38; color: var(--ink); }
.btn-big { padding: 20px 34px; font-size: 1.15rem; width: 100%; max-width: 420px; }
.free { margin-top: 12px; }

/* v14 — one goal: the ten minutes, repeated */
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1.02; }
.hero .deck { font-weight: 500; }
.band {
  width: min(900px, calc(100% - 32px)); margin: 0 auto clamp(56px, 8vw, 96px); padding: 22px 26px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  background: linear-gradient(135deg, #FFF8E4, #FFFFFF 60%, #FFF3D6); box-shadow: var(--shadow); position: relative;
}
.band::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; background: var(--outline);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; pointer-events: none; }
.band p { margin: 0; font: 600 clamp(1.3rem, 2.4vw, 1.7rem)/1.2 var(--display); color: var(--ink); }
@media (max-width: 600px) { .band { flex-direction: column; text-align: center; } .band .btn { width: 100%; } }
.ways { padding-top: 0; }

.diptych.tall { max-width: 760px; }
.diptych.tall img { aspect-ratio: 2 / 3; }
.greater .l { font-family: var(--display); font-weight: 500; font-size: clamp(1.2rem, 1.8vw, 1.45rem); line-height: 1.38; color: var(--ink); margin-top: 26px; }

.franklin .who { font: 700 .72rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 8px; }
.franklin li > div p:last-child { font-size: 1rem; color: var(--ink); margin: 0; }

.imagine { padding-top: 0; }
.do-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 30px; }
.do-grid figure { margin: 0; border-radius: 22px; overflow: hidden; background: var(--white); box-shadow: var(--shadow); position: relative; }
.do-grid figure::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: var(--outline); z-index: 2;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; pointer-events: none; }
.do-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.do-grid figcaption { padding: 10px 14px 14px; font: 600 1.08rem/1.22 var(--display); color: var(--ink); }
@media (max-width: 900px) { .do-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .do-grid figcaption { font-size: .98rem; padding: 8px 10px 12px; } }
.topbar .btn-small { white-space: nowrap; }
@media (max-width: 560px) {
  .six.franklin { grid-template-columns: 1fr 1fr; gap: 10px; }
  .franklin li > div { padding: 10px 12px 14px; }
  .franklin li > div p:last-child { font-size: .86rem; line-height: 1.35; }
  .franklin .who { font-size: .62rem; letter-spacing: .16em; }
}
