/* Matt's Websites · Concept 1 · Hello, I'm Matt */

@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/instrument-serif.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --paper: #F4EFE6;
  --paper-2: #EDE6DA;
  --ink: #1C1A17;
  --ink-soft: #5E5850;
  --rule: #D9D1C4;
  --accent: #E0532D;          /* signature tomato, large type and graphics */
  --accent-strong: #C9441F;   /* same family, for surfaces carrying small white text (AA) */
  --accent-ink: #FFFFFF;
  --night: #191816;
  --night-rule: #3A3733;
  --night-text: #F4EFE6;
  --night-soft: #A79F92;
  --sms-grey: #E6E0D6;
  --chip-bg: #F8F5EF;
  --grain-op: .055;

  --sans: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --ease: cubic-bezier(.2, .7, .1, 1);
  --gutter: clamp(16px, 5vw, 80px);
  --max: 1320px;
  --section: clamp(64px, 9vw, 140px);
  --head-h: 64px;
}
@media (min-width: 1024px) { :root { --head-h: 96px; } }

/* Dark variant: paper and ink swap, the tomato accent stays */
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1C1A17;
    --paper-2: #23211D;
    --ink: #F1EBE1;
    --ink-soft: #B3AA9C;
    --rule: #3A3631;
    --sms-grey: #2E2B27;
    --chip-bg: #24221E;
    --night: #121110;
    --grain-op: .09;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (min-width: 768px) { html { scroll-padding-top: 24px; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--sans);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
@media (min-width: 768px) { body { font-size: 18px; } }

/* paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: var(--grain-op);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.11 0 0 0 0 0.10 0 0 0 0 0.09 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em.serif, .serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
em.serif { color: var(--accent); }
.mono { font-family: var(--mono); font-weight: 500; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; line-height: 1.5; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.i { width: 1.1em; height: 1.1em; flex: none; }

:focus-visible { outline: 2.5px solid var(--accent-strong); outline-offset: 3px; border-radius: 4px; }
.foot :focus-visible { outline-color: var(--night-text); }

.skip { position: absolute; left: 16px; top: -80px; z-index: 300; background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding-inline: var(--gutter); }
.grid12 { display: grid; grid-template-columns: 1fr; }
@media (min-width: 1024px) {
  .grid12 { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 28px; }
}

.section { padding-block: var(--section); position: relative; }

.label {
  font-family: var(--mono); font-weight: 500; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-soft); display: flex; align-items: center; gap: .6em; margin-bottom: clamp(22px, 3vw, 40px);
}
.label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.label span { color: var(--ink); font-variant-numeric: tabular-nums; }

.statement { font-size: clamp(30px, 4vw, 52px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 500; text-wrap: balance; }
.statement-xl { font-size: clamp(34px, 5vw, 76px); line-height: 1.02; letter-spacing: -0.035em; }
.statement em.serif { font-size: 1.08em; line-height: .9; }

.tag {
  display: inline-flex; align-items: center; font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase; padding: 5px 9px; border: 1px solid currentColor; border-radius: 999px; line-height: 1; white-space: nowrap;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .6em; min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 600 17px/1 var(--sans); letter-spacing: -0.01em; text-decoration: none; white-space: nowrap;
  transition: transform .5s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}
.btn .i { transition: transform .5s var(--ease); }
.btn:hover .i { transform: translateX(4px); }
.btn-accent { background: var(--accent-strong); color: var(--accent-ink); }
.btn-accent:hover { background: var(--ink); }
.btn-lg { min-height: 60px; padding: 0 30px; font-size: 18px; }
.btn-outline { border: 1.5px solid var(--ink); color: var(--ink); white-space: normal; text-align: left; line-height: 1.2; padding-block: 12px; }
.btn-outline:hover { background: var(--ink); color: var(--paper); }

.link-under {
  display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 9px) / 100% 1.5px no-repeat;
  transition: background-size .5s var(--ease);
}
.link-under:hover { background-size: 0% 1.5px; background-position: 100% calc(100% - 9px); }

/* Circles */
.circle {
  --size: 160px;
  position: relative; display: inline-grid; place-items: center; width: var(--size); height: var(--size); border-radius: 50%;
  text-decoration: none; text-align: center; font: 600 17px/1.15 var(--sans); letter-spacing: -0.01em; flex: none;
  transition: translate .9s var(--ease), transform .9s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}
.circle-label { display: block; padding: 0 22px; transition: translate .9s var(--ease); pointer-events: none; }
.circle-accent { background: var(--accent-strong); color: var(--accent-ink); }
.circle-accent:hover { background: var(--ink); }
.circle-ink { background: var(--ink); color: var(--paper); }
.circle-ink:hover { background: var(--accent-strong); }
.circle-xl { --size: 180px; font-size: 19px; }
.foot .circle-accent:hover { background: var(--night-text); color: var(--night); }
.magnetic.is-moving, .magnetic.is-moving .circle-label { transition-duration: .2s; transition-timing-function: linear; }
@media (max-width: 767px) {
  .circle { --size: 116px; font-size: 15px; }
  .circle-label { padding: 0 14px; }
  .circle-xl { --size: 132px; font-size: 16px; }
}

/* ---------------- Header ---------------- */
.top { display: flex; align-items: center; justify-content: space-between; height: var(--head-h); position: relative; z-index: 20; }
/* Phones: the header itself stays put (paper background) instead of a floating circle over the content */
@media (max-width: 767px) {
  .top { position: sticky; top: 0; z-index: 50; background: var(--paper); transition: box-shadow .4s var(--ease); }
  .top.is-stuck { box-shadow: 0 1px 0 var(--rule); }
}
.wordmark { font: 600 18px/1 var(--sans); letter-spacing: -0.02em; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.wordmark .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-left: 4px; transform: translateY(4px); }
.top-nav { display: none; gap: clamp(20px, 2.6vw, 40px); }
.top-nav a {
  font: 500 13px/1 var(--sans); text-transform: uppercase; letter-spacing: .07em; text-decoration: none; min-height: 44px;
  display: inline-flex; align-items: center; position: relative;
}
.top-nav a::after { content: ""; position: absolute; left: 50%; bottom: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); transform: translateX(-50%) scale(0); transition: transform .4s var(--ease); }
.top-nav a:hover::after { transform: translateX(-50%) scale(1); }
.menu-pill {
  appearance: none; border: 1.5px solid var(--ink); color: var(--ink); border-radius: 999px;
  min-height: 44px; padding: 0 20px; font: 500 12.5px/1 var(--mono); background: var(--paper); letter-spacing: .08em; text-transform: uppercase; cursor: pointer;
}
@media (hover: hover) { .menu-pill:hover { background: var(--ink); color: var(--paper); } }
@media (min-width: 900px) {
  .top-nav { display: flex; }
  .top .menu-pill { display: none; }
}

.menu-float {
  position: fixed; top: 16px; right: 16px; z-index: 60; width: 64px; height: 64px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--ink); color: var(--paper); font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  display: grid; place-items: center; opacity: 0; transform: scale(.6); pointer-events: none;
  transition: opacity .4s var(--ease), transform .6s var(--ease), background-color .3s;
  box-shadow: 0 8px 24px rgba(28, 26, 23, .18);
}
.menu-float:hover { background: var(--accent-strong); }
.menu-float.on-dark { background: var(--night-text); color: var(--night); }
.menu-float.is-on { opacity: 1; transform: scale(1); pointer-events: auto; }
@media (max-width: 767px) { .menu-float { display: none; } }

.menu {
  position: fixed; inset: 0; z-index: 200; background: var(--paper); overflow-y: auto; -webkit-overflow-scrolling: touch;
  opacity: 0; transition: opacity .35s var(--ease);
}
.menu.is-open { opacity: 1; }
.menu[hidden] { display: none; }
.menu-inner { min-height: 100%; display: flex; flex-direction: column; padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
.menu-head { height: var(--head-h); display: flex; align-items: center; justify-content: space-between; }
.menu-links { display: flex; flex-direction: column; margin-top: clamp(24px, 6vh, 64px); }
.menu-links a {
  font-size: clamp(44px, 11vw, 112px); line-height: 1; letter-spacing: -0.045em; font-weight: 500; text-decoration: none;
  padding: .08em 0; border-bottom: 1px solid var(--rule); transform: translateY(20px); opacity: 0;
  transition: transform .7s var(--ease), opacity .7s var(--ease), color .3s;
}
.menu-links a:hover { color: var(--accent-strong); }
.menu.is-open .menu-links a { transform: none; opacity: 1; }
.menu.is-open .menu-links a:nth-child(2) { transition-delay: .04s; }
.menu.is-open .menu-links a:nth-child(3) { transition-delay: .08s; }
.menu.is-open .menu-links a:nth-child(4) { transition-delay: .12s; }
.menu.is-open .menu-links a:nth-child(5) { transition-delay: .16s; }
.menu.is-open .menu-links a:nth-child(6) { transition-delay: .2s; }
.menu-foot { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.menu-note { color: var(--ink-soft); font-size: 16px; }

/* ---------------- Hero ---------------- */
.hero { min-height: calc(100svh - var(--head-h) + 26px); display: flex; flex-direction: column; position: relative; }
@media (min-width: 1024px) { .hero { min-height: calc(100svh - var(--head-h)); } }
.hero-inner {
  display: grid; grid-template-columns: 1fr; gap: 14px; padding-top: clamp(8px, 2.4vh, 40px); padding-bottom: 22px;
  grid-template-areas: "title" "chip" "sms" "ctas";
}
.hero-side { display: contents; }
.hero-title { grid-area: title; font-weight: 500; letter-spacing: -0.04em; }
.hero-l1 { display: block; font-size: clamp(52px, 10.5vw, 168px); line-height: .92; margin-left: -0.04em; }
.hero-l1 em.serif { font-size: 1.1em; letter-spacing: -0.02em; padding-right: .04em; }
.hero-l2 { display: block; font-size: clamp(28px, 4.3vw, 66px); line-height: 1.02; letter-spacing: -0.035em; margin-top: .3em; max-width: 19ch; text-wrap: balance; }
.price-mark { position: relative; display: inline-block; color: var(--accent); white-space: nowrap; }
.scribble { position: absolute; left: -4%; bottom: -.16em; width: 108%; height: .32em; overflow: visible; }
.scribble path { fill: none; stroke: var(--accent); stroke-width: 3.2; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw .9s var(--ease) .5s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.chip-celeb {
  grid-area: chip; justify-self: start; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px 0 16px;
  border: 1.5px solid var(--ink); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 17px; letter-spacing: -0.01em;
  background: var(--chip-bg); transition: background-color .3s var(--ease), color .3s var(--ease), transform .6s var(--ease);
}
.chip-celeb:hover { background: var(--ink); color: var(--paper); }
.chip-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); position: relative; }
.chip-dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; animation: ping 2.4s var(--ease) 1.6s infinite; }
@keyframes ping { 0% { transform: scale(.5); opacity: .9; } 70%, 100% { transform: scale(1.6); opacity: 0; } }

.sms { grid-area: sms; max-width: 330px; padding-left: 7px; }
.sms-time { color: var(--ink-soft); font-size: 12px; margin: 0 0 6px 12px; }
.sms-stage { display: grid; }
/* Message bubble: small bottom-left corner + a curved tail that grows out of the body */
.sms-bubble {
  grid-area: 1 / 1; justify-self: start; align-self: end; position: relative; background: var(--accent-strong); color: var(--accent-ink);
  border-radius: 22px 22px 22px 6px; padding: 12px 17px 13px; font-size: 17px; line-height: 1.35; letter-spacing: -0.005em;
  transform-origin: 10px 100%;
}
.sms-bubble::after {
  content: ""; position: absolute; left: -7px; bottom: 0; width: 22px; height: 20px; background: inherit;
  clip-path: path("M7 0 C7 11 4.5 17 0 20 C7 20.6 13.5 18.6 17.5 14.5 L22 0 Z");
}
.sms-typing { display: inline-flex; gap: 5px; padding: 15px 17px; opacity: 0; transform: scale(.9); animation: pop .55s cubic-bezier(.3, 1.6, .5, 1) .6s forwards, out .2s linear 1.3s forwards; }
.sms-typing i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .5; animation: blink 1s infinite; }
.sms-typing i:nth-child(2) { animation-delay: .15s; }
.sms-typing i:nth-child(3) { animation-delay: .3s; }
.sms-msg { opacity: 0; transform: scale(.9); animation: pop .6s cubic-bezier(.3, 1.6, .5, 1) 1.3s forwards; }
@keyframes pop { to { opacity: 1; transform: scale(1); } }
@keyframes out { to { opacity: 0; transform: scale(.9); } }
@keyframes blink { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

.hero-ctas { grid-area: ctas; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; margin-top: 2px; }

/* Location pill: desktop only (phones keep the bottom-left clear for the concept bar) */
.loc { display: none; }
.loc-glyph { width: 52px; height: 52px; border-radius: 50%; background: var(--paper); color: var(--ink); display: grid; place-items: center; flex: none; }
.loc-glyph svg { width: 24px; height: 24px; animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.marquee { margin-top: auto; overflow: hidden; width: 100%; padding-bottom: .1em; }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-group {
  display: inline-flex; align-items: center; white-space: nowrap; flex: none;
  font-size: clamp(56px, 16.5vw, 120px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 500; padding-bottom: .06em;
}
.mstar { width: .42em; height: .42em; color: var(--accent); margin: 0 .3em; flex: none; }
.marquee-static { display: none; }

@media (min-width: 768px) {
  .marquee-group { font-size: clamp(96px, 15vw, 240px); line-height: .98; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .hero-inner { margin-block: auto; }
}

@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 28px; row-gap: 40px;
    grid-template-areas: none; padding-top: clamp(16px, 4vh, 56px); padding-bottom: 32px;
  }
  .hero-title { grid-column: 2 / 9; grid-row: 1; }
  .hero-ctas { grid-column: 2 / 9; grid-row: 2; align-self: end; }
  /* Right column reads as one personal stack: chip, message, location */
  .hero-side {
    display: flex; flex-direction: column; align-items: flex-start; gap: 34px;
    grid-column: 9 / 13; grid-row: 1 / 3; padding-top: 22px;
  }
  .chip-celeb { align-self: flex-end; min-height: 56px; padding: 0 24px 0 18px; font-size: 18px; transform: rotate(3deg); }
  .chip-celeb:hover { transform: rotate(0deg); }
  .sms { max-width: 340px; }
  .loc {
    --bleed: calc(var(--gutter) + max(0px, (100vw - var(--max) - var(--gutter) * 2) / 2));
    display: inline-flex; align-items: center; gap: 18px; align-self: flex-end; margin: 4px calc(-1 * var(--bleed)) 0 0;
    background: var(--ink); color: var(--paper); border-radius: 999px 0 0 999px; padding: 10px var(--bleed) 10px 10px;
    font-size: 14px; line-height: 1.3; font-weight: 500;
  }
}
@media (min-width: 1024px) and (max-height: 820px) {
  .hero-l1 { font-size: clamp(52px, 9vw, 140px); }
}

/* ---------------- Celebrants ---------------- */
.celeb { overflow-x: clip; }
/* Phones: label and heading first, then the collage, then the explanation and actions */
.celeb-grid { display: flex; flex-direction: column; }
.celeb-copy { display: contents; }
.celeb-label { order: 1; scroll-margin-top: 12px; }
.celeb-copy .statement { order: 2; }
.celeb-visual { order: 3; position: relative; width: min(78%, 400px); margin: 48px auto 40px; }
.celeb-copy .body { order: 4; }
.celeb-copy .note { order: 5; }
.celeb-actions { order: 6; }
.celeb-card {
  --rz: -2deg; --rx: 0deg; --ry: 0deg; --sc: 1;
  position: relative; z-index: 2; display: block; border-radius: 14px; overflow: visible; text-decoration: none;
  transform: perspective(1100px) rotate(var(--rz)) rotateX(var(--rx)) rotateY(var(--ry)) scale(var(--sc));
  transition: transform .9s var(--ease);
}
.celeb-card img { border-radius: 14px; box-shadow: 0 1px 0 rgba(28,26,23,.05), 0 28px 60px -20px rgba(28, 26, 23, .35); aspect-ratio: 600 / 705; width: 100%; object-fit: cover; background: var(--sms-grey); }
.celeb-card:hover { --rz: 0deg; --sc: 1.015; }
.tag-stuck {
  position: absolute; left: -10px; top: 26px; background: var(--paper); color: var(--ink); border: 1.5px solid var(--ink);
  padding: 8px 12px; font-size: 12px; transform: rotate(-4deg); box-shadow: 0 6px 14px rgba(28,26,23,.15);
}
.celeb-photo { position: absolute; z-index: 1; border-radius: 10px; box-shadow: 0 20px 40px -18px rgba(28, 26, 23, .35); object-fit: cover; translate: var(--px, 0px) var(--py, 0px); transition: translate 1.1s var(--ease); }
.celeb-photo-a { width: 52%; aspect-ratio: 4 / 5; right: -12%; top: -6%; rotate: 7deg; }
.celeb-photo-b { width: 74%; aspect-ratio: 5 / 2; left: -14%; bottom: -5%; rotate: -6deg; z-index: 3; }
.celeb-copy .body { margin-top: 0; max-width: 34em; }
.note { margin-top: 18px; color: var(--ink-soft); font-size: 12px; max-width: 40em; }
.celeb-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: 32px; }
@media (min-width: 900px) {
  .celeb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(56px, 8vw, 96px); align-items: center; }
  .celeb-copy { display: block; max-width: 620px; }
  .celeb-label { scroll-margin-top: 150px; }
  .celeb-visual { width: min(100%, 460px); margin: 0 0 0 8%; }
  .celeb-copy .body { margin-top: 24px; }
  .celeb-actions { margin-top: 40px; }
}
@media (min-width: 1200px) { .celeb-grid { grid-template-columns: 5fr 6fr; } }

/* ---------------- Intro ---------------- */
.intro { border-top: 1px solid var(--rule); }
.intro-label { grid-column: 1 / -1; }
.intro-statement { font-size: clamp(30px, 3.9vw, 56px); line-height: 1.06; letter-spacing: -0.03em; max-width: 22em; }
.intro-aside { margin-top: 36px; display: grid; gap: 18px; color: var(--ink); font-size: 17px; max-width: 30em; }
.intro-aside p + p { color: var(--ink-soft); }
.intro-aside .circle { margin-top: 14px; }
@media (min-width: 1024px) {
  .intro-label { grid-column: 2 / -1; }
  .intro-statement { grid-column: 2 / 9; padding-right: 2vw; }
  .intro-aside { grid-column: 9 / 13; margin-top: .5em; align-content: start; }
}

.reveal-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.reveal-words .w > span { display: inline-block; }
.js .reveal-words .w > span { transform: translateY(.4em); opacity: 0; transition: transform .9s var(--ease), opacity .9s var(--ease); transition-delay: calc(var(--i) * 30ms); }
.js .reveal-words.in .w > span { transform: none; opacity: 1; }

/* ---------------- Examples ---------------- */
.examples { padding-top: 0; }
.ex-head { display: flex; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; color: var(--ink-soft); padding-bottom: 18px; font-size: 12px; }
.ex-list { border-top: 1px solid var(--rule); }
.ex-list li { border-bottom: 1px solid var(--rule); }
.ex-row {
  display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 16px; align-items: center;
  min-height: 96px; padding: 14px 0; text-decoration: none;
}
.ex-name { grid-column: 1; grid-row: 1; font-size: clamp(32px, 9vw, 44px); line-height: .95; letter-spacing: -0.04em; font-weight: 500; transition: transform .7s var(--ease), color .4s var(--ease); }
.ex-meta { grid-column: 1; grid-row: 2; display: flex; align-items: center; gap: 10px; margin-top: 8px; color: var(--ink-soft); font-size: 14px; }
.ex-meta .tag { font-size: 12px; padding: 4px 8px; }
.ex-thumb { grid-column: 2; grid-row: 1 / 3; width: 64px; height: 75px; object-fit: cover; border-radius: 6px; background: var(--sms-grey); box-shadow: 0 6px 14px -6px rgba(28,26,23,.3); }
.ex-foot { margin-top: 48px; }
.ex-cursor { display: none; }

@media (min-width: 900px) {
  /* names inset one column, the type column clears the floating menu circle */
  .ex-row {
    grid-template-columns: 1fr minmax(240px, 30%); grid-template-rows: auto; min-height: 168px; padding: 20px 0;
    padding-left: calc((100% + 28px) / 12); padding-right: max(0px, calc(100px - var(--gutter)));
  }
  .ex-name { font-size: clamp(40px, 6.6vw, 100px); line-height: .92; grid-row: 1; font-weight: 450; letter-spacing: -0.035em; }
  .ex-meta { grid-column: 2; grid-row: 1; margin: 0; justify-content: space-between; font-size: 17px; color: var(--ink); }
  .ex-head { padding-left: calc((100% + 28px) / 12); padding-right: max(0px, calc(100px - var(--gutter))); }
  .ex-thumb { display: none; }
}
@media (hover: hover) and (pointer: fine) and (min-width: 900px) {
  .ex-row:hover .ex-name { transform: translateX(12px); color: var(--ink-soft); }
  .ex-list:hover .ex-row:not(:hover) .ex-meta { opacity: .45; }
  .ex-meta { transition: opacity .4s var(--ease); }
  .ex-cursor {
    display: block; position: fixed; left: 0; top: 0; z-index: 40; width: 300px; height: 352px; pointer-events: none;
    border-radius: 12px; overflow: hidden; background: var(--sms-grey);
    box-shadow: 0 30px 60px -24px rgba(28, 26, 23, .45);
    opacity: 0; scale: .7; transition: opacity .35s var(--ease), scale .5s var(--ease);
  }
  .ex-cursor.is-on { opacity: 1; scale: 1; }
  .ex-cursor img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
  .ex-cursor-view {
    position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%;
    background: var(--accent-strong); color: #fff; display: grid; place-items: center; font: 600 16px/1 var(--sans);
  }
}

/* ---------------- Price ---------------- */
.price { background: var(--paper-2); }
.price-head { grid-column: 1 / -1; margin-bottom: clamp(40px, 5vw, 72px); }
.leaders { grid-column: 1 / -1; border-top: 1.5px solid var(--ink); }
.leaders li {
  display: flex; align-items: flex-end; gap: 10px; padding: 18px 0 14px; border-bottom: 1px solid var(--rule);
  font-size: 18px; line-height: 1.3;
}
.ld-label { flex: 0 1 auto; max-width: 62%; }
.ld-dots { flex: 1 1 18px; min-width: 18px; height: 1px; border-bottom: 2px dotted color-mix(in srgb, var(--ink) 40%, transparent); margin-bottom: .32em; }
.ld-val { flex: 0 1 auto; font-weight: 600; text-align: right; max-width: 58%; }
/* Phones: the label gets its own line, then the leader runs to the value, right-aligned on the last line */
@media (max-width: 639px) {
  .leaders li { flex-wrap: wrap; row-gap: 6px; column-gap: 8px; padding: 16px 0 13px; }
  .ld-label { max-width: none; flex: 1 1 100%; }
  .ld-dots { flex: 1 1 24px; min-width: 24px; }
  .ld-val { max-width: none; flex: 0 1 auto; text-wrap: balance; }
  .ld-big { font-size: 1.5em; }
}
.ld-big { font-size: 1.6em; line-height: 1; letter-spacing: -0.03em; color: var(--accent-strong); }
.price-small { grid-column: 1 / -1; margin-top: 28px; color: var(--ink-soft); }
@media (min-width: 768px) {
  .leaders li { font-size: 20px; padding: 22px 0 16px; gap: 14px; }
}
@media (min-width: 1024px) {
  .price-head { grid-column: 2 / 12; }
  .leaders, .price-small { grid-column: 2 / 12; }
  .ld-label { max-width: 55%; }
}

/* ---------------- Process ---------------- */
.steps { border-top: 1px solid var(--rule); }
.step { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 28px 0 34px; border-bottom: 1px solid var(--rule); }
.step-num { color: var(--accent); font-size: clamp(72px, 20vw, 112px); line-height: .85; letter-spacing: -0.03em; }
.step-copy h3 { font-size: clamp(26px, 3.4vw, 46px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 500; text-wrap: balance; }
.step-copy p { margin-top: 14px; color: var(--ink-soft); max-width: 32em; }
.process-note { margin-top: 36px; font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.02em; color: var(--ink); max-width: 30em; }
.process-note::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); margin-right: 12px; vertical-align: .12em; }
@media (min-width: 900px) {
  .step { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 28px; padding: 40px 0; align-items: center; }
  .step-num { grid-column: 2 / 5; font-size: clamp(110px, 10.5vw, 168px); }
  .step-copy { grid-column: 6 / 12; }
  .process-note { margin-left: calc((100% + 28px) / 12 * 5); }
}

/* ---------------- FAQ ---------------- */
.faq { border-top: 1px solid var(--rule); }
.faq-head { grid-column: 1 / -1; margin-bottom: 36px; }
.faq-list { grid-column: 1 / -1; border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  min-height: 64px; padding: 16px 0; font-size: clamp(19px, 1.8vw, 24px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--ink);
  background: linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 12px no-repeat;
  transition: transform .5s var(--ease), background-color .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--accent); border-color: var(--accent); }
.faq summary:hover::after { background-color: var(--sms-grey); }
.faq details[open] summary:hover::after { background-color: var(--accent); }
.faq details p { padding: 0 52px 24px 0; color: var(--ink-soft); max-width: 40em; }
@media (min-width: 768px) { .faq summary { padding-right: max(0px, calc(100px - var(--gutter))); } }
@media (min-width: 1024px) {
  .faq-head { grid-column: 2 / 6; position: sticky; top: 120px; align-self: start; padding-right: 24px; }
  .faq-list { grid-column: 6 / 13; }
}

/* ---------------- Footer ---------------- */
.foot { position: relative; background: var(--night); color: var(--night-text); margin-top: 60px; }
.foot-arc { position: absolute; left: 0; bottom: 100%; width: 100%; height: 60px; display: block; fill: var(--night); margin-bottom: -1px; }
.foot-inner { padding-top: clamp(64px, 9vw, 120px); padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
.foot-title { font-size: clamp(56px, 10vw, 150px); line-height: .92; letter-spacing: -0.045em; font-weight: 500; }
.foot-title > span { display: block; }
.foot-title em.serif { font-size: 1.1em; }
.avatar {
  display: inline-grid; place-items: center; width: clamp(52px, 6.4vw, 96px); height: clamp(52px, 6.4vw, 96px);
  border-radius: 50%; background: var(--accent); color: var(--night); font-style: italic; font-size: clamp(34px, 4.4vw, 66px); line-height: 1;
  vertical-align: .08em; margin-right: .18em; letter-spacing: 0; padding-top: .04em;
}
.foot-rule { position: relative; border-top: 1px solid var(--night-rule); margin-top: clamp(80px, 10vw, 140px); height: 1px; }
.foot-rule .circle { position: absolute; right: 8%; top: 0; transform: translateY(-50%); }
.foot-pills { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 28px 40px; margin-top: clamp(100px, 12vw, 140px); }
.pill-dark {
  display: inline-flex; align-items: center; min-height: 56px; padding: 0 26px; border-radius: 999px; font-size: 16px; font-weight: 500;
  border: 1px solid var(--night-rule); text-decoration: none; transition: background-color .3s var(--ease), color .3s; word-break: break-all;
}
.pill-dark:hover { background: var(--night-text); color: var(--night); }
.foot-msg { padding-left: 7px; max-width: 320px; }
.foot-msg .sms-time { color: var(--night-soft); }
.foot-bubble { font-size: 16px; font-weight: 400; display: inline-block; }
.foot-bar {
  display: flex; flex-wrap: wrap; gap: 10px 32px; justify-content: space-between; margin-top: clamp(56px, 8vw, 100px);
  padding-top: 22px; border-top: 1px solid var(--night-rule); color: var(--night-soft); font-size: 12px;
}
.fb-k { color: var(--night-soft); }
.clock { color: var(--night-text); text-transform: none; letter-spacing: .02em; }
@media (max-width: 767px) {
  .foot-rule .circle { right: 0; }
  .foot-bar { flex-direction: column; }
}

/* ---------------- Floating start pill (mobile) ---------------- */
.start-float {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 55; min-height: 48px; padding: 0 22px;
  display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; background: var(--accent-strong); color: #fff;
  font-weight: 600; font-size: 16px; text-decoration: none; box-shadow: 0 10px 28px -8px rgba(28, 26, 23, .45);
  opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .4s var(--ease), transform .6s var(--ease);
}
.start-float.is-on { opacity: 1; transform: none; pointer-events: auto; }
@media (min-width: 768px) { .start-float { display: none; } }

.sentinel-hero { height: 1px; }

/* ---------------- Reduced motion ---------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .sms-typing { display: none; }
  .loc-glyph svg { animation: none; }
  .marquee-track { display: none; }
  .marquee-static {
    display: block; text-align: center; text-wrap: balance; font-size: clamp(21px, 2.3vw, 34px); line-height: 1.2; letter-spacing: -0.03em;
    font-weight: 500; padding: 28px var(--gutter) 36px; border-top: 1px solid var(--rule); margin: 0;
  }
  .marquee-static .nw { white-space: nowrap; }
  .marquee-static .mstar { display: inline-block; vertical-align: -.02em; width: .6em; height: .6em; margin: 0 .25em 0 .1em; }
  .js .reveal-words .w > span { transform: none; opacity: 1; }
  .chip-dot::after { display: none; }
}

@media print {
  body::before, .menu-float, .start-float, .marquee, .ex-cursor { display: none; }
}
