/* Matt's Websites, Concept 3: Five Hundred Flat */

:root {
  --paper: #F4F1EA;
  --card: #FFFFFF;
  --ink: #121212;
  --muted: #6B655C;
  --hair: #D8D1C4;
  --tomato: #FF5B2E;
  --butter: #FFD84D;
  --mint: #9FE3C4;
  --lilac: #C8B8FF;
  --blush: #F7DCD2;
  --rose: #B4563F;

  --f-display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --gut: 16px;
  --sec: 64px;
  --radius: 18px;
  --shadow: 6px 6px 0 var(--ink);
}
@media (min-width: 900px) {
  :root { --gut: 40px; --sec: 96px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
@media (min-width: 900px) { body { font-size: 18px; } }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
[id] { scroll-margin-top: 16px; }

/* Two-tone focus ring: ink ring (high contrast on paper) inside a tomato halo */
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 4px; box-shadow: 0 0 0 8px var(--tomato); }
/* Elements that carry their own hard shadow keep it; the ink ring sits clear of it */
.btn:focus-visible, .sq-btn:focus-visible, .sticky-cta:focus-visible, .cel-card:focus-visible { outline-offset: 3px; box-shadow: 4px 4px 0 var(--bs, var(--ink)); }
.sq-btn:focus-visible, .sticky-cta:focus-visible { box-shadow: 4px 4px 0 var(--tomato); }
.cel-card:focus-visible { box-shadow: var(--shadow); }
.on-tomato :focus-visible:not(.btn), .ribbon :focus-visible { box-shadow: none; }
.faq summary:focus-visible { box-shadow: none; outline-offset: 0; }

.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: var(--paper); padding: 12px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { width: min(1200px, 100% - (var(--gut) * 2)); margin-inline: auto; }

/* Framing hairlines (desktop) */
@media (min-width: 900px) {
  body::before, body::after {
    content: ""; position: fixed; top: 0; bottom: 0; width: 1px; background: var(--hair); z-index: -1; pointer-events: none;
  }
  body::before { left: calc(50% - min(600px, 50% - 40px) - 20px); }
  body::after { right: calc(50% - min(600px, 50% - 40px) - 20px); }
}

/* Type */
.h1 {
  font-family: var(--f-display);
  font-weight: 800;
  font-variation-settings: "opsz" 96;
  font-size: clamp(48px, 12.5vw, 132px);
  line-height: .92;
  letter-spacing: -.035em;
}
.h1 .line { display: block; }
.h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-variation-settings: "opsz" 96;
  font-size: clamp(36px, 7vw, 76px);
  line-height: .98;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.it {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.04em;
  letter-spacing: -.005em;
  line-height: 0;
  padding-right: .04em;
}
.it-rose { color: var(--rose); }
.eyebrow, .tag {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 10px; height: 10px; background: var(--tomato); border: 2px solid var(--ink); border-radius: 50%; flex: none; }
.lede { font-size: 1em; max-width: 60ch; color: var(--ink); margin-top: 20px; }
.micro { font-size: 14px; color: var(--muted); margin-top: 14px; }
.micro.center { text-align: center; margin-top: 28px; }
.num { font-family: var(--f-display); font-weight: 800; font-variant-numeric: tabular-nums; font-variation-settings: "opsz" 96; letter-spacing: -.04em; }

/* Buttons */
.btn {
  --bs: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px;
  border: 2px solid var(--ink); border-radius: 12px;
  box-shadow: 4px 4px 0 var(--bs);
  font: 700 17px/1.1 var(--f-body);
  text-decoration: none; text-align: center;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--bs); }
.btn-ink { background: var(--ink); color: var(--paper); --bs: var(--tomato); }
.on-tomato .btn-ink { --bs: var(--butter); }
.btn-white { background: var(--card); color: var(--ink); }
.btn-paper { background: var(--paper); color: var(--ink); --bs: var(--tomato); border-color: var(--paper); }
.btn-lg { min-height: 58px; padding: 0 26px; font-size: 18px; }
.arr { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) {
  .btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--bs); }
  .btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--bs); }
}
.tlink {
  display: inline-flex; align-items: center; min-height: 48px;
  font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px;
}
.tlink:hover { text-decoration-color: var(--tomato); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 28px; }

/* Card base */
.card { background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); }

/* Sticker */
.sticker {
  display: inline-block;
  font-family: var(--f-mono); font-weight: 500; font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  background: var(--ink); color: var(--paper);
  padding: 6px 9px; border-radius: 6px;
  line-height: 1.2;
}

/* ===== 0. Ribbon ===== */
.ribbon {
  position: relative;
  background: var(--butter);
  border-bottom: 2px solid var(--ink);
  min-height: 40px;
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0 10px;
  padding: 0 10px;
  font-size: 13px; font-weight: 500; line-height: 1.3;
  text-align: center;
}
@media (min-width: 400px) { .ribbon { font-size: 14px; } }
.ribbon-link { display: inline-flex; align-items: center; min-height: 48px; padding-inline: 4px; }
.ribbon-link { font-weight: 700; text-underline-offset: 3px; }
@media (min-width: 900px) {
  .ribbon { font-family: var(--f-mono); font-size: 13px; letter-spacing: .01em; padding-block: 4px; }
  .ribbon-link { position: absolute; right: var(--gut); top: 50%; transform: translateY(-50%); font-family: var(--f-body); font-size: 14px; }
}

/* ===== 1. Header ===== */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; padding-block: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 48px; }
.mark {
  width: 28px; height: 28px; flex: none;
  background: var(--ink); border-radius: 6px;
  transform: rotate(-6deg);
  display: grid; place-items: center;
  transition: transform .3s var(--spring);
}
.mark span { color: var(--tomato); font: 800 19px/1 var(--f-display); transform: rotate(6deg) translateY(-1px); }
.brand:hover .mark { transform: rotate(6deg); }
.brand-name { font-family: var(--f-display); font-weight: 800; font-size: 22px; letter-spacing: -.03em; line-height: 1; }
.nav { display: none; }
.btn-head { min-height: 48px; padding: 0 18px; font-size: 16px; }
.btn-head .lg { display: none; }
@media (min-width: 900px) {
  .site-header { min-height: 92px; }
  .nav { display: flex; gap: 6px; }
  .nav a { text-decoration: none; font-weight: 500; font-size: 16px; padding: 10px 14px; border-radius: 10px; border: 2px solid transparent; }
  .nav a:hover { border-color: var(--ink); background: var(--card); }
  .btn-head { min-height: 52px; padding: 0 22px; }
  .btn-head .lg { display: inline; }
  .btn-head .sm { display: none; }
}

/* ===== 2. Hero ===== */
.hero { display: grid; gap: 30px; padding: 18px 0 var(--sec); }
.hero .eyebrow { margin-bottom: 16px; }
.hl { position: relative; z-index: 0; white-space: nowrap; }
.hl::before {
  content: ""; position: absolute; z-index: -1;
  left: -.06em; right: -.04em; bottom: .04em; height: .4em;
  background: var(--butter);
  border-radius: 3px;
  transform: rotate(-1.5deg) skewX(-10deg);
  transform-origin: left center;
  animation: swipe .7s .25s cubic-bezier(.65, 0, .35, 1) both;
}
@keyframes swipe { from { transform: rotate(-1.5deg) skewX(-10deg) scaleX(0); } to { transform: rotate(-1.5deg) skewX(-10deg) scaleX(1); } }
.hero-sub { font-size: 18px; color: var(--muted); max-width: 34ch; margin-top: 20px; line-height: 1.45; }
.hero .cta-row { margin-top: 24px; }
.hero .micro { margin-top: 10px; }

.hero-ticket { padding: 4px 4px 10px 0; }
@media (min-width: 600px) and (max-width: 899px) { .hero-ticket { max-width: 460px; } }

/* Ticket: outer ink shape + inner tomato shape, both notched with masks */
.ticket {
  --stub: 132px; --r: 15px; --r2: 17px;
  position: relative;
  transform: rotate(-1.5deg);
  transition: transform .3s var(--spring);
}
/* Hard shadow as its own layer. Its notches are cut at the ticket's notch centres
   (offset back by the 6px shadow shift), so each side reads as one clean bite. */
.ticket::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink); border-radius: 20px;
  transform: translate(6px, 6px);
  -webkit-mask:
    radial-gradient(circle calc(var(--r) + 1px) at -6px calc(100% - var(--stub) - 6px), #0000 var(--r), #000 calc(var(--r) + .5px)) left / 51% 100% no-repeat,
    radial-gradient(circle calc(var(--r) + 1px) at calc(100% - 6px) calc(100% - var(--stub) - 6px), #0000 var(--r), #000 calc(var(--r) + .5px)) right / 51% 100% no-repeat;
          mask:
    radial-gradient(circle calc(var(--r) + 1px) at -6px calc(100% - var(--stub) - 6px), #0000 var(--r), #000 calc(var(--r) + .5px)) left / 51% 100% no-repeat,
    radial-gradient(circle calc(var(--r) + 1px) at calc(100% - 6px) calc(100% - var(--stub) - 6px), #0000 var(--r), #000 calc(var(--r) + .5px)) right / 51% 100% no-repeat;
}
.ticket::before {
  content: ""; position: absolute; inset: 0;
  background: var(--ink); border-radius: 20px;
  -webkit-mask:
    radial-gradient(circle var(--r) at 0 calc(100% - var(--stub)), #0000 calc(var(--r) - .5px), #000 var(--r)) left / 51% 100% no-repeat,
    radial-gradient(circle var(--r) at 100% calc(100% - var(--stub)), #0000 calc(var(--r) - .5px), #000 var(--r)) right / 51% 100% no-repeat;
          mask:
    radial-gradient(circle var(--r) at 0 calc(100% - var(--stub)), #0000 calc(var(--r) - .5px), #000 var(--r)) left / 51% 100% no-repeat,
    radial-gradient(circle var(--r) at 100% calc(100% - var(--stub)), #0000 calc(var(--r) - .5px), #000 var(--r)) right / 51% 100% no-repeat;
}
.ticket-body {
  position: relative; margin: 2px;
  background: var(--tomato); border-radius: 18px;
  -webkit-mask:
    radial-gradient(circle var(--r2) at -2px calc(100% - var(--stub) + 2px), #0000 calc(var(--r2) - .5px), #000 var(--r2)) left / 51% 100% no-repeat,
    radial-gradient(circle var(--r2) at calc(100% + 2px) calc(100% - var(--stub) + 2px), #0000 calc(var(--r2) - .5px), #000 var(--r2)) right / 51% 100% no-repeat;
          mask:
    radial-gradient(circle var(--r2) at -2px calc(100% - var(--stub) + 2px), #0000 calc(var(--r2) - .5px), #000 var(--r2)) left / 51% 100% no-repeat,
    radial-gradient(circle var(--r2) at calc(100% + 2px) calc(100% - var(--stub) + 2px), #0000 calc(var(--r2) - .5px), #000 var(--r2)) right / 51% 100% no-repeat;
}
.ticket:hover, .ticket:focus-within { transform: rotate(0deg); }
.ticket-main { padding: 20px 22px 18px; }
.tag-ink { display: inline-block; background: var(--ink); color: var(--tomato); padding: 6px 10px; border-radius: 6px; }
.ticket-price { display: flex; align-items: flex-start; gap: 6px; margin: 8px 0 12px; }
.ticket-price .num { font-size: clamp(96px, 26vw, 150px); line-height: .82; letter-spacing: -.05em; }
.ticket-price .aud { font-family: var(--f-mono); font-weight: 500; font-size: 13px; letter-spacing: .08em; border: 2px solid var(--ink); border-radius: 6px; padding: 3px 6px; margin-top: 6px; }
.ticks { display: grid; gap: 6px; font-weight: 700; font-size: 16px; }
.ticks li { display: flex; align-items: center; gap: 10px; }
.tick { width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--mint); border: 2px solid var(--ink); display: grid; place-items: center; }
.tick svg, .yes svg { width: 12px; height: 12px; fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ticket-stub {
  position: relative;
  height: calc(var(--stub) - 2px);
  display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 12px;
  padding: 0 22px;
}
.ticket-stub::before {
  content: ""; position: absolute; top: -1px; left: calc(var(--r) + 6px); right: calc(var(--r) + 6px);
  border-top: 2px dashed var(--ink);
}
.stub-text { font-size: 15px; font-weight: 500; text-align: center; }
.stub-text strong { font-family: var(--f-display); font-weight: 800; font-variant-numeric: tabular-nums; font-size: 1.1em; }
.ticket-stub .btn { width: 100%; }

@media (min-width: 900px) {
  .hero { grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center; padding-top: 40px; }
  .hero-copy { grid-column: 1 / span 7; }
  .hero-ticket { grid-column: 8 / span 5; padding: 0 8px 10px 12px; }
  .ticket { --stub: 150px; --r: 17px; --r2: 19px; transform: rotate(-3deg); }
  .ticket:hover, .ticket:focus-within { transform: rotate(0deg); }
  .ticket-main { padding: 28px 30px 26px; }
  .ticket-stub { padding: 0 30px; }
  .ticket-price .num { font-size: clamp(96px, 9.5vw, 148px); }
  .ticks { font-size: 17px; gap: 10px; }
  .hero-sub { font-size: 20px; max-width: 30ch; }
  .h1 { font-size: clamp(48px, 8.4vw, 124px); }
}
@media (min-width: 1300px) { .h1 { font-size: 132px; } }

/* ===== 3. Celebrant ===== */
.celebrant {
  background: var(--blush);
  border-block: 2px solid var(--ink);
  padding: var(--sec) 0;
  overflow: hidden;
}
.cel-grid { display: grid; gap: 28px; }
.cel-head .eyebrow { margin-bottom: 14px; }
.cel-visual { position: relative; }
.cel-card {
  display: block; position: relative;
  width: min(66%, 280px); margin-inline: auto;
  background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 8px;
  transform: rotate(2deg);
  transition: transform .3s var(--spring), box-shadow .2s ease;
}
.cel-card img { border-radius: 11px; border: 2px solid var(--ink); width: 100%; }
.cel-card:hover, .cel-card:focus-visible { transform: rotate(0deg); }
.sticker-pin { position: absolute; top: -14px; left: -10px; transform: rotate(-5deg); padding: 8px 11px; box-shadow: 3px 3px 0 var(--tomato); }
.chips { display: grid; grid-template-columns: repeat(3, 24vw); justify-content: center; gap: 12px; margin-top: 22px; }
.chip {
  background: var(--card); border: 2px solid var(--ink); border-radius: 8px;
  padding: 5px 5px 0; box-shadow: 3px 3px 0 var(--ink);
}
.chip img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: 4px; }
.chip-crop { display: block; overflow: hidden; border-radius: 4px; }
.chip-couple img { transform: scale(1.9); transform-origin: 52% 18%; }
.chip span { display: block; font-family: var(--f-mono); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); text-align: center; padding: 5px 0 6px; }
.chip-1 { transform: rotate(-4deg); }
.chip-2 { transform: rotate(3deg) translateY(6px); }
.chip-3 { transform: rotate(-2deg); }
.cel-copy .lede { margin-top: 0; }
.cel-copy .cta-row { margin-top: 22px; }
@media (min-width: 900px) {
  .cel-grid { grid-template-columns: repeat(12, 1fr); grid-template-rows: auto auto; gap: 0 24px; }
  .cel-head { grid-column: 1 / span 6; grid-row: 1; align-self: end; }
  .cel-copy { grid-column: 1 / span 6; grid-row: 2; align-self: start; padding-top: 22px; }
  .cel-visual { grid-column: 7 / span 6; grid-row: 1 / span 2; min-height: 560px; display: grid; place-items: center; }
  .cel-card { width: 360px; }
  .sticker-pin { top: -16px; left: auto; right: -20px; transform: rotate(4deg); }
  .chips { display: block; margin: 0; position: absolute; inset: 0; pointer-events: none; }
  .chip { position: absolute; width: 136px; pointer-events: auto; }
  .chip span { font-size: 10px; }
  .chip-1 { top: 64px; left: 0; transform: rotate(-8deg); }
  .chip-2 { bottom: 40px; left: 10px; transform: rotate(5deg); }
  .chip-3 { bottom: 6px; right: 0; transform: rotate(7deg); }
}

/* ===== Sections ===== */
.section { padding-block: var(--sec); }
.section + .section { padding-top: 8px; }
@media (min-width: 900px) { .section + .section { padding-top: 24px; } }
.sec-head { margin-bottom: 36px; max-width: 820px; }
@media (min-width: 900px) { .sec-head { margin-bottom: 52px; } }

/* ===== 4. Bento ===== */
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; grid-auto-flow: dense; }
.tile.t-wide { min-height: 150px; }
.tile-art { display: none !important; }
@media (min-width: 900px) { .tile-art { display: flex !important; } }
.tile {
  position: relative;
  border: 2px solid var(--ink); border-radius: var(--radius);
  box-shadow: 4px 4px 0 var(--ink);
  padding: 16px;
  min-height: 150px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.tile h3 { font-family: var(--f-display); font-weight: 800; font-size: 19px; line-height: 1.05; letter-spacing: -.02em; }
.tile p { font-size: 15px; line-height: 1.4; }
.ico { width: 36px; height: 36px; fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: auto; padding-bottom: 10px; box-sizing: content-box; }
.t-card { background: var(--card); }
.t-butter { background: var(--butter); }
.t-mint { background: var(--mint); }
.t-lilac { background: var(--lilac); }
.t-wide { grid-column: span 2; }
.tile-art { position: absolute; top: 16px; right: 16px; display: flex; align-items: center; gap: 6px; }
.spec { font-family: var(--f-serif); font-style: italic; font-size: 44px; line-height: 1; margin-right: 6px; }
.sw { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--ink); }
.sw-t { background: var(--tomato); } .sw-b { background: var(--butter); } .sw-m { background: var(--mint); } .sw-l { background: var(--lilac); }
.files { flex-direction: column; align-items: flex-start; gap: 1px; font-family: var(--f-mono); font-size: 11px; line-height: 1.35; background: var(--paper); border: 2px solid var(--ink); border-radius: 10px; padding: 8px 12px; }
.file { padding-left: 14px; position: relative; }
.file::before { content: ""; position: absolute; left: 2px; top: 50%; width: 6px; height: 2px; background: var(--ink); }
.file.dir { padding-left: 0; font-weight: 500; }
.file.dir::before { display: none; }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(5, 1fr); gap: 18px; grid-auto-flow: dense; }
  .tile { min-height: 250px; padding: 24px; gap: 8px; justify-content: flex-start; }
  .tile .ico { margin-bottom: 0; padding-bottom: 22px; }
  .tile h3 { font-size: 24px; min-height: 2.1em; }
  .tile p { font-size: 16px; }
  .ico { width: 44px; height: 44px; }
  .t1 { grid-column: 1 / span 2; }
  .t5 { grid-column: 4 / span 2; grid-row: 2; }
  .tile-art { top: 24px; right: 24px; }
  .spec { font-size: 64px; }
  .sw { width: 28px; height: 28px; }
  .files { font-size: 13px; padding: 10px 16px; }
}
@media (hover: hover) and (min-width: 900px) {
  .tile:hover, .step:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
}

/* ===== 5. Marquee ===== */
.marquee {
  background: var(--ink); color: var(--paper);
  border-block: 2px solid var(--ink);
  overflow: hidden;
  padding: 18px 0;
}
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--f-display); font-weight: 800; font-size: clamp(26px, 4.4vw, 52px); letter-spacing: -.02em; white-space: nowrap; line-height: 1; padding-right: .3em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== 6. Steps ===== */
.steps { display: grid; gap: 16px; position: relative; padding-left: 30px; }
.steps::before { content: ""; position: absolute; left: 8px; top: 12px; bottom: 12px; width: 2px; background: var(--ink); }
.step {
  position: relative;
  border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: 4px 4px 0 var(--ink);
  padding: 20px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.step::before { content: ""; position: absolute; left: -30px; top: 26px; width: 14px; height: 14px; background: var(--paper); border: 2px solid var(--ink); border-radius: 50%; transform: translateX(1px); }
.s-butter { --bg: var(--butter); } .s-tomato { --bg: var(--tomato); } .s-mint { --bg: var(--mint); } .s-lilac { --bg: var(--lilac); }
.step { background: var(--bg); }
.step-num {
  display: block;
  font-family: var(--f-display); font-weight: 800; font-variation-settings: "opsz" 96;
  font-size: 72px; line-height: .85; letter-spacing: -.04em;
  color: var(--bg);
  margin-bottom: 14px;
}
/* Outlined numerals: a 4px ink text-stroke layer sits under a ground-coloured copy of the
   same glyphs, so only a clean 2px outer outline shows and the variable font's
   overlapping contours stay hidden. */
.step-num, .final-num { position: relative; isolation: isolate; }
.step-num::before, .final-num::before {
  content: attr(data-n); position: absolute; left: 0; top: 0; z-index: -1;
  color: var(--ink); -webkit-text-stroke: 4px var(--ink);
}
.final-num::before { -webkit-text-stroke-width: 6px; }
.step h3 { font-family: var(--f-display); font-weight: 800; font-size: 24px; line-height: 1.05; letter-spacing: -.02em; margin-bottom: 8px; }
.step p { font-size: 16px; line-height: 1.45; }
.timeline { display: none; }
.timeline-cap { margin-top: 24px; font-weight: 500; max-width: 60ch; padding-left: 30px; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 20px; padding-left: 0; }
  .steps::before, .step::before { display: none; }
  .step { padding: 26px; min-height: 340px; display: flex; flex-direction: column; }
  .step-num { font-size: 112px; margin-bottom: 0; padding-bottom: 40px; }
  .step h3 { font-size: 26px; min-height: 2.1em; }
  .timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; margin-top: 36px; height: 16px; }
  .timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--ink); }
  .timeline span { position: relative; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); margin-left: 26px; }
  .timeline span:last-child { background: var(--tomato); }
  .timeline-cap { padding-left: 0; margin-top: 18px; }
}

/* ===== 7. Comparison ===== */
.cmp { overflow: hidden; position: relative; box-shadow: none; }
.cmp table { width: 100%; border-collapse: collapse; }
.cmp thead { display: none; }
.cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; }
.cmp tr { padding: 12px 16px 14px; border-top: 1px solid var(--hair); }
.cmp tbody tr:first-child { border-top: 0; }
.cmp tbody th { font-family: var(--f-mono); font-weight: 500; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; text-align: left; margin-bottom: 6px; color: var(--muted); }
.cmp td { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 16px; line-height: 1.35; }
.cmp td + td { margin-top: 4px; }
.cmp td.me span:last-child::before { content: "This way: "; font-weight: 700; }
.cmp td.them span:last-child::before { content: "Usual way: "; font-weight: 700; color: var(--ink); }
@media (max-width: 759px) {
  .cmp td .yes, .cmp td .dash { width: 22px; height: 22px; }
  .cmp td .yes svg { width: 11px; height: 11px; }
}
.cmp td.me { font-weight: 500; }
.cmp td.them { color: var(--muted); }
.yes { width: 26px; height: 26px; border-radius: 50%; background: var(--mint); border: 2px solid var(--ink); display: grid; place-items: center; margin-top: -2px; }
.yes svg { width: 13px; height: 13px; }
.dash { width: 26px; height: 26px; display: grid; place-items: center; position: relative; }
.dash::before { content: ""; width: 12px; height: 2.5px; border-radius: 2px; background: #A39C90; }
@media (min-width: 760px) {
  .cmp thead { display: table-header-group; }
  .cmp tbody { display: table-row-group; }
  .cmp tr { display: table-row; padding: 0; border-top: 1px solid var(--hair); }
  .cmp th, .cmp td { display: table-cell; vertical-align: middle; padding: 20px 24px; }
  .cmp thead th { font-family: var(--f-display); font-weight: 800; font-size: 20px; letter-spacing: -.02em; text-align: left; border-bottom: 2px solid var(--ink); line-height: 1.15; }
  .cmp thead .c-label { width: 18%; background: var(--card); }
  .cmp thead .c-me { background: var(--butter); width: 37%; border-inline: 2px solid var(--ink); }
  .cmp thead .c-them { background: var(--card); color: var(--muted); }
  .cmp tbody th { margin: 0; color: var(--muted); }
  .cmp td.me { border-inline: 2px solid var(--ink); }
  .cmp td > span:last-child { display: block; }
  .cmp td { font-size: 17px; }
  .cmp td.me span:last-child::before, .cmp td.them span:last-child::before { content: none; }
  .cmp td .yes, .cmp td .dash { float: left; margin: -1px 12px 0 0; }
  .cmp td > span:last-child { overflow: hidden; }
}

/* ===== 8. Examples ===== */
.examples { overflow: hidden; }
.ex-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.ex-head .sec-head { margin-bottom: 28px; }
.rail-btns { display: none; gap: 12px; margin-bottom: 36px; flex: none; }
.sq-btn {
  width: 52px; height: 52px; display: grid; place-items: center;
  background: var(--ink); color: var(--paper);
  border: 2px solid var(--ink); border-radius: 12px; box-shadow: 4px 4px 0 var(--tomato);
  cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, opacity .2s;
}
.sq-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.sq-btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--tomato); }
.sq-btn:disabled { opacity: .35; cursor: default; }
.swipe-hint { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.swipe-hint svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(5px); } }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 78vw; gap: 16px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut);
  margin-inline: calc(var(--gut) * -1); padding: 4px var(--gut) 14px;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail:focus-visible { outline-offset: -3px; }
.ex { position: relative; scroll-snap-align: start; }
.ex-frame {
  position: relative; background: var(--card);
  border: 2px solid var(--ink); border-radius: 14px; padding: 6px;
  box-shadow: 4px 4px 0 var(--ink);
}
.ex-frame img { border-radius: 8px; width: 100%; aspect-ratio: 600 / 705; object-fit: cover; }
.ex-frame .sticker { position: absolute; left: 14px; top: 14px; }
.ex h3 { font-family: var(--f-display); font-weight: 800; font-size: 22px; letter-spacing: -.02em; line-height: 1.1; margin-top: 16px; }
.ex-type { color: var(--muted); font-size: 15px; }
.ex-links { display: flex; flex-wrap: wrap; gap: 0 8px; margin: 2px 0 0 -6px; }
.ex-links a { min-height: 48px; padding-inline: 6px; display: inline-flex; align-items: center; font-weight: 700; font-size: 15px; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.ex-links a:hover { text-decoration-color: var(--tomato); }
@media (min-width: 900px) {
  /* Rail bleeds to the viewport edges so the next card peeks; snapping stays on the container edge */
  .rail { --bleed: max(var(--gut), calc((100vw - 1200px) / 2)); grid-auto-columns: 280px; gap: 24px; margin-inline: calc(var(--bleed) * -1); padding-inline: var(--bleed); scroll-padding-inline: var(--bleed); }
  .rail-btns { display: flex; }
  .swipe-hint { display: none; }
}

/* ===== 9. Pricing ===== */
.price-grid { display: grid; gap: 28px; align-items: center; position: relative; }
.sticker-wrap { display: grid; place-items: center; }
@media (max-width: 899px) {
  .price-grid { padding-top: 56px; }
  .sticker-wrap { position: absolute; top: 0; right: -8px; z-index: 2; pointer-events: none; }
  .burst { width: 38vw !important; max-width: 170px; }
  .b-num { font-size: clamp(34px, 9.6vw, 44px) !important; }
  .b-flat { font-size: 11px !important; letter-spacing: .24em; margin-top: 2px; }
  .pc-head h3 { padding-right: calc(38vw - 44px); }
}
.burst {
  --spin: 0deg;
  position: relative; width: 60vw; max-width: 300px; aspect-ratio: 1;
  transform: rotate(calc(-8deg + var(--spin)));
  transition: transform .2s linear;
}
.burst svg { width: 100%; height: 100%; overflow: visible; }
.burst-shadow { fill: var(--ink); }
.burst-fill { fill: var(--tomato); stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.burst-ring { fill: none; stroke: var(--ink); stroke-width: 2; stroke-dasharray: 5 6; }
.burst-text { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.b-num { font-family: var(--f-display); font-weight: 800; font-variant-numeric: tabular-nums; font-variation-settings: "opsz" 96; font-size: clamp(48px, 15vw, 76px); line-height: .9; letter-spacing: -.05em; }
.b-flat { font-family: var(--f-mono); font-weight: 500; text-transform: uppercase; letter-spacing: .3em; font-size: clamp(13px, 3.6vw, 17px); margin-top: 4px; padding-left: .3em; }
.price-card {
  background: var(--ink); color: var(--paper);
  border: 2px solid var(--ink); border-radius: 22px;
  box-shadow: 6px 6px 0 var(--tomato);
  padding: 24px 20px;
}
.pc-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.pc-head h3 { font-family: var(--f-display); font-weight: 800; font-size: 26px; letter-spacing: -.02em; line-height: 1.1; }
.tag-line { border: 1.5px solid rgba(244, 241, 234, .5); border-radius: 6px; padding: 5px 8px; color: var(--paper); font-size: 11px; }
.pc-price { margin: 14px 0 8px; }
.pc-price .num { font-size: clamp(80px, 24vw, 96px); line-height: .9; color: var(--paper); }
.pc-rule { border: 0; border-top: 2px dashed rgba(244, 241, 234, .4); margin: 18px 0; }
.pc-list { display: grid; grid-template-columns: 1fr; gap: 10px; font-size: 16px; }
.pc-list li { display: flex; align-items: flex-start; gap: 10px; }
.pc-list li::before { content: ""; flex: none; width: 10px; height: 6px; margin-top: 7px; border-left: 2.5px solid var(--mint); border-bottom: 2.5px solid var(--mint); transform: rotate(-45deg); }
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  margin-top: 24px;
  border: 2px solid var(--paper); border-radius: 12px; overflow: hidden;
  color: var(--ink);
}
.split > div { display: flex; flex-direction: column; justify-content: center; padding: 12px 14px; min-height: 76px; }
.split-a { background: var(--butter); border-right: 2px solid var(--ink); }
.split-b { background: var(--mint); }
.s-num { font-family: var(--f-display); font-weight: 800; font-variant-numeric: tabular-nums; font-size: 26px; line-height: 1; letter-spacing: -.03em; }
.s-lbl { font-size: 14px; font-weight: 500; line-height: 1.25; margin-top: 4px; }
.pc-cta { margin-top: 24px; display: grid; gap: 12px; }
.pc-cta .btn { width: 100%; }
.pc-email { font-size: 14px; color: rgba(244, 241, 234, .78); overflow-wrap: anywhere; }
.pc-email a { color: var(--paper); font-weight: 700; text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: 48px; }
.price-card :focus-visible { outline-color: var(--butter); }
.reassure { display: grid; gap: 14px; margin-top: 32px; }
.rcard { border: 2px dashed var(--hair); border-radius: var(--radius); padding: 20px 22px; background: transparent; transition: transform .2s ease, box-shadow .2s ease; }
.rcard h3 { font-family: var(--f-display); font-weight: 800; font-size: 21px; letter-spacing: -.02em; margin-bottom: 4px; }
.rcard p { color: var(--muted); font-size: 16px; }
@media (hover: hover) and (min-width: 900px) { .rcard:hover { box-shadow: none; transform: none; border-color: var(--ink); } }
@media (min-width: 900px) {
  .price-grid { grid-template-columns: repeat(12, 1fr); gap: 24px; }
  .sticker-wrap { grid-column: 1 / span 5; }
  .burst { width: 100%; max-width: 380px; }
  .b-num { font-size: 96px; }
  .b-flat { font-size: 20px; }
  .price-card { grid-column: 6 / span 7; padding: 36px 38px; }
  .pc-head h3 { font-size: 32px; }
  .pc-price .num { font-size: 96px; }
  .pc-list { grid-template-columns: 1fr 1fr; gap: 12px 24px; font-size: 17px; }
  .split > div { padding: 14px 20px; min-height: 84px; }
  .s-num { font-size: 32px; }
  .s-lbl { font-size: 15px; }
  .pc-cta { grid-template-columns: auto 1fr; align-items: center; gap: 24px; }
  .pc-cta .btn { width: auto; }
  .reassure { grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
}

/* ===== 10. FAQ ===== */
.faq-grid { display: grid; gap: 40px; }
.faq { margin-top: 32px; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 2px solid var(--ink); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 56px; padding: 12px 0;
  font-weight: 700; font-size: 18px; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px;
  border: 2px solid var(--ink); border-radius: 8px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 2.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2.5px 12px no-repeat,
    var(--card);
  transition: transform .3s var(--spring), background-color .2s;
}
.faq details[open] summary::after { transform: rotate(135deg); background-color: var(--butter); }
.faq summary:hover { color: #000; }
.ans { padding: 0 44px 20px 0; color: var(--muted); max-width: 60ch; }
.ans p { font-size: 17px; }
.talk-card {
  background: var(--butter); border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: 4px 4px 0 var(--ink);
  padding: 24px;
}
.talk-top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.mono-m {
  width: 64px; height: 64px; flex: none; background: var(--ink); border-radius: 14px;
  display: grid; place-items: center; transform: rotate(-6deg);
}
.mono-m span { font: 800 40px/1 var(--f-display); color: var(--butter); transform: rotate(6deg) translateY(-2px); letter-spacing: -.04em; }
.talk-card h3 { font-family: var(--f-display); font-weight: 800; font-size: 28px; line-height: 1.05; letter-spacing: -.025em; }
.talk-card p:not(.tag) { margin-top: 12px; font-size: 16px; }
.talk-btns { display: grid; gap: 12px; margin-top: 22px; }
@media (min-width: 900px) {
  .faq-grid { grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; }
  .faq-main { grid-column: 1 / span 7; }
  .talk { grid-column: 9 / span 4; position: sticky; top: 24px; margin-top: 120px; }
  .talk-card { padding: 30px; }
  .mono-m { width: 84px; height: 84px; border-radius: 18px; }
  .mono-m span { font-size: 54px; }
  .talk-card h3 { font-size: 32px; }
}


/* ===== 11. Final CTA ===== */
.final { background: var(--tomato); border-block: 2px solid var(--ink); padding: calc(var(--sec) * .9) 0 var(--sec); overflow: hidden; }
.final-inner { text-align: left; }
.final-num {
  font-family: var(--f-display); font-weight: 800; font-variant-numeric: tabular-nums; font-variation-settings: "opsz" 96;
  font-size: clamp(120px, 33vw, 280px); line-height: .82; letter-spacing: -.055em;
  color: var(--tomato);
  transition: color .6s ease;
  margin-left: -.04em;
}
.final-num.is-filled { color: var(--ink); }
.final-line { font-family: var(--f-display); font-weight: 800; font-size: clamp(30px, 4.4vw, 52px); line-height: 1.02; letter-spacing: -.025em; margin-top: 18px; }
.final-line > span { display: block; }
.final .cta-row { margin-top: 28px; }
@media (min-width: 900px) {
  .final-inner { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: end; }
  .final-num { grid-column: 1 / span 7; }
  .final-copy { grid-column: 8 / span 5; padding-bottom: 14px; }
  .final-line { margin-top: 0; }
}

/* ===== 12. Footer ===== */
.footer { border-top: 2px solid var(--ink); padding: 48px 0 104px; }
.foot-grid { display: grid; gap: 28px; }
.foot-brand p { margin-top: 10px; color: var(--muted); font-size: 16px; max-width: 38ch; }
.foot-col { display: flex; flex-direction: column; align-items: flex-start; }
.foot-col .tag { margin-bottom: 6px; color: var(--muted); }
.foot-col a { min-height: 48px; display: inline-flex; align-items: center; font-weight: 500; text-underline-offset: 3px; overflow-wrap: anywhere; }
.foot-fine { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--hair); }
.foot-fine p { font-size: 14px; color: var(--muted); }
@media (min-width: 900px) {
  .footer { padding: 64px 0 80px; }
  .foot-grid { grid-template-columns: 6fr 3fr 3fr; gap: 24px; }
}

/* ===== Sticky mobile CTA ===== */
.sticky-cta {
  position: fixed; right: 16px; bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 50;
  max-width: calc(100vw - 186px);
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 20px;
  background: var(--ink); color: var(--paper);
  border: 2px solid var(--ink); border-radius: 999px;
  box-shadow: 4px 4px 0 var(--tomato);
  font: 700 16px/1 var(--f-body); white-space: nowrap; text-decoration: none;
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity .25s ease, transform .3s var(--spring), visibility 0s linear .3s;
}
.sticky-cta.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .3s var(--spring), visibility 0s; }
.sticky-cta:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--tomato); }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* ===== Reveal ===== */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .tile[data-reveal].is-in, .js .step[data-reveal].is-in { transition: opacity .6s ease var(--d, 0ms), transform .6s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms), box-shadow .2s ease; }
.js .tile[data-reveal].is-in.done, .js .step[data-reveal].is-in.done { transition: transform .2s ease, box-shadow .2s ease; }

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee-track { transform: none; }
  .final-num { color: var(--ink); }
  .burst { transform: rotate(-8deg) !important; }
}
