/* Warpgate, warpgate.ca
   One stylesheet for the homepage and the plain prose pages (/privacy).

   The look: a printed spec sheet more than a software launch. A sturdy
   Scandinavian grotesk (Familjen Grotesk) for headings and anything you click,
   a warm text serif (Newsreader) for reading, square-cornered controls, flat
   colour, hairline rules. One green that means "this works now".
   The sample sites inside the device frames keep their own palettes and type
   on purpose, because each one is a different business. */

/* ---------------------------------------------------------------- tokens */
:root {
  color-scheme: light dark;

  --paper:    #f4f4f0;
  --paper-2:  #e9eae4;
  --surface:  #fbfbf8;
  --ink:      #141714;
  --ink-2:    #484f4a;
  --ink-3:    #69716b;
  --line:     #d8dbd3;
  --line-2:   #b9bfb6;

  --go:       #0f6a45;   /* the one accent. 6.4:1 on paper */
  --go-hi:    #0a5235;
  --go-ink:   #f6f8f3;
  --go-soft:  #dcebe1;

  --shadow:   20 32 25;  /* rgb triplet; shadows are tinted, never black */

  --f-display: "Familjen Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-text:    "Newsreader", Georgia, "Times New Roman", serif;
  --f-mono:    ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --wide:   1200px;
  --gutter: clamp(16px, 5vw, 56px);
  --band:   clamp(4.5rem, 10vw, 8.5rem);

  /* One radius rule: everything you click or read in is near-square (3px),
     panels 6px. Device bodies keep their real-world shape. */
  --r-s: 3px;
  --r-l: 6px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  /* z-index scale: content 0, sticky nav 10, skip link 20 */
  --z-nav: 10;
  --z-skip: 20;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper:   #0f1210;
    --paper-2: #151a17;
    --surface: #181d1a;
    --ink:     #ecefea;
    --ink-2:   #b0b8b2;
    --ink-3:   #8a938c;
    --line:    #262d29;
    --line-2:  #3a443e;
    --go:      #5cc993;
    --go-hi:   #7dd9ab;
    --go-ink:  #08130d;
    --go-soft: #17291f;
    --shadow:  0 0 0;
  }
}

/* ----------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  background: var(--paper);
  color: var(--ink);
  font: 400 1.1875rem/1.55 var(--f-text);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
a { color: var(--go); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--go-hi); }
:focus-visible { outline: 2px solid var(--go); outline-offset: 3px; }
::selection { background: var(--go-soft); color: var(--ink); }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.04; text-wrap: balance; }
p { text-wrap: pretty; }
.wrap { width: 100%; max-width: calc(var(--wide) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.num { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: var(--z-skip);
  background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: var(--r-s);
  font: 600 1rem/1 var(--f-display); text-decoration: none; transition: top 0.2s var(--ease);
}
.skip:focus { top: 12px; color: var(--paper); }

/* ---------------------------------------------------------------- buttons */
/* Square, flat, solid. The arrow is the only flourish, and it moves on hover. */
.btn {
  display: inline-flex; align-items: center; gap: 0.75em;
  min-height: 50px; padding: 0 1.3em;
  border-radius: var(--r-s);
  background: var(--go); color: var(--go-ink);
  font: 600 1.0625rem/1 var(--f-display); letter-spacing: 0; white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.2s var(--ease), transform 0.15s var(--ease);
}
.btn:hover { background: var(--go-hi); color: var(--go-ink); }
.btn:active { transform: translateY(1px); }
.btn .arrow { display: inline-block; transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-s { min-height: 40px; padding: 0 0.95em; font-size: 0.95rem; }

.text-link {
  display: inline-flex; align-items: center; min-height: 50px;
  color: var(--ink); font: 600 1.0625rem/1 var(--f-display); text-decoration: none;
}
.text-link span { padding-bottom: 3px; background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 100% 1px; transition: background-size 0.3s var(--ease); }
.text-link:hover { color: var(--ink); }
.text-link:hover span { background-size: 0% 1px; background-position: 100% 100%; }

/* ------------------------------------------------------------ top notice */
.notice { background: var(--ink); color: var(--paper); font: 500 0.92rem/1.3 var(--f-display); }
.notice p { padding-block: 0.65rem; text-align: center; }
.notice strong { font-weight: 700; }
@media (max-width: 480px) { .notice .more { display: none; } }

/* -------------------------------------------------------------------- nav */
.nav {
  position: sticky; top: 0; z-index: var(--z-nav);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.nav.is-stuck { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--ink); text-decoration: none; font: 700 1.3rem/1 var(--f-display); letter-spacing: -0.02em; }
.brand:hover { color: var(--ink); }
.brand svg { width: 30px; height: 30px; flex: none; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a:not(.btn) { color: var(--ink-2); text-decoration: none; font: 500 1rem/1 var(--f-display); transition: color 0.2s var(--ease); }
.nav-links a:not(.btn):hover { color: var(--ink); }
@media (max-width: 860px) { .nav-links a:not(.btn) { display: none; } }

/* ------------------------------------------------------------------- hero */
.hero { padding-top: clamp(2rem, 4.5vw, 3.75rem); padding-bottom: var(--band); }
.hero h1 { font-size: clamp(2.6rem, 1.2rem + 4.6vw, 5rem); max-width: 22ch; letter-spacing: -0.035em; line-height: 0.98; }
.hero h1 em { font-style: normal; color: var(--go); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4.5rem); margin-top: clamp(1.75rem, 3vw, 2.75rem); align-items: start; }
.hero-copy { padding-top: 0.25rem; }
.lede { font-size: clamp(1.2rem, 1.05rem + 0.45vw, 1.45rem); line-height: 1.45; color: var(--ink-2); max-width: 28ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.6rem; margin-top: 2rem; }
.hero-visual { position: relative; padding-bottom: 3.5rem; }
.hero-visual figcaption { margin-top: 1rem; font: 400 0.95rem/1.4 var(--f-text); font-style: italic; color: var(--ink-3); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .lede { max-width: 32ch; }
  .hero-visual { margin-right: calc(var(--gutter) * -0.5); padding-bottom: 2.5rem; }
  .hero-visual figcaption { max-width: 58%; }
}

/* ------------------------------------------------------- device frames */
.browser {
  container-type: inline-size;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  box-shadow: 0 1px 2px rgb(var(--shadow) / 0.06), 0 28px 50px -30px rgb(var(--shadow) / 0.35);
  overflow: hidden;
}
.browser-bar { display: flex; align-items: center; gap: 0.5rem; height: 34px; padding: 0 12px; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); flex: none; }
.browser-bar b { flex: 1; max-width: 46%; margin-inline: auto; padding: 4px 10px; border-radius: 4px; background: var(--surface); color: var(--ink-3); font: 500 11px/1.2 var(--f-mono); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser-bar::after { content: ""; width: 45px; flex: none; }

.phone {
  container-type: inline-size;
  width: 100%;
  aspect-ratio: 9 / 17.6;
  border-radius: 34px;
  padding: 9px;
  background: #1b1f1d;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.06) inset, 0 30px 50px -30px rgb(var(--shadow) / 0.6);
}
.phone-screen { position: relative; height: 100%; border-radius: 26px; overflow: hidden; }
.phone-screen::before { content: ""; position: absolute; top: 7px; left: 50%; width: 30%; height: 5.2%; max-height: 22px; translate: -50% 0; border-radius: 99px; background: #1b1f1d; z-index: 2; }

.hero-visual .phone { position: absolute; width: clamp(122px, 25%, 196px); right: -3%; bottom: 0.5rem; }
@media (max-width: 860px) { .hero-visual .phone { right: 3%; } }

/* Hover on the sample cards: the device lifts a little, like picking it up. */
.sample .browser, .sample .phone { transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
@media (hover: hover) {
  .sample:hover .browser, .sample:hover .phone { transform: translateY(-6px); }
  .sample:hover .browser { box-shadow: 0 1px 2px rgb(var(--shadow) / 0.06), 0 40px 60px -32px rgb(var(--shadow) / 0.45); }
}

/* The sample sites. Everything is sized in em off a base tied to the frame
   width (cqw), so each mock scales like a screenshot would. They are pictures:
   role="img" with a text alternative, nothing inside is focusable. */
.mock { position: relative; font-family: "Helvetica Neue", Arial, sans-serif; color: var(--m-ink); background: var(--m-bg); height: 100%; overflow: hidden; line-height: 1.35; letter-spacing: 0; }
.browser .mock { font-size: 1.55cqw; }
.browser .mock.pan { aspect-ratio: 16 / 10.4; }
.phone .mock { font-size: 4.9cqw; }
.phone .mock > .pan-inner, .phone .mock.plain { padding-top: 4em; }
.mock h3, .mock h4 { margin: 0; text-wrap: balance; }
.mock p { margin: 0; }
.m-btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.75em 1.2em; border-radius: var(--m-r, 0.3em); background: var(--m-accent); color: var(--m-accent-ink); font-weight: 600; white-space: nowrap; }
.m-btn.ghost { background: transparent; color: var(--m-ink); box-shadow: 0 0 0 1px var(--m-line) inset; }

/* Painter: Heron & Pine Painting */
.m-paint, .m-quote { --m-bg: #fbfbf9; --m-ink: #193241; --m-ink-2: #546773; --m-accent: #d9623f; --m-accent-ink: #fff; --m-line: #d6dde1; --m-r: 0.3em; }
.m-paint { font-family: var(--f-display); }
.m-paint .m-nav { display: flex; align-items: center; justify-content: space-between; padding: 1.6em 3.2em; }
.m-paint .m-logo { font-weight: 700; font-size: 1.35em; letter-spacing: -0.02em; display: flex; align-items: center; gap: 0.45em; }
.m-paint .m-logo i { width: 1.1em; height: 1.1em; border-radius: 50% 50% 50% 0; background: var(--m-accent); }
.m-paint .m-links { display: flex; gap: 2.2em; align-items: center; color: var(--m-ink-2); font-weight: 500; }
.m-paint .m-links .m-btn { padding: 0.6em 1.1em; }
.m-paint .m-hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2.4em; padding: 2.2em 3.2em 0; align-items: center; }
.m-paint .m-kicker { font-weight: 600; color: var(--m-accent); font-size: 1.05em; margin-bottom: 0.8em; }
.m-paint h3 { font-weight: 700; font-size: 3.5em; line-height: 1; letter-spacing: -0.035em; }
.m-paint .m-sub { margin-top: 1em; color: var(--m-ink-2); font: 400 1.35em/1.4 var(--f-text); max-width: 24em; }
.m-paint .m-cta { display: flex; gap: 0.8em; margin-top: 1.8em; font-size: 1.1em; }
.m-chips { position: relative; height: 21em; margin-right: 6em; }
.m-chip { position: absolute; bottom: 0; left: 50%; width: 6.6em; height: 17em; border-radius: 0.4em; background: #fff; box-shadow: 0 1em 2em -1em rgb(25 50 65 / 0.35), 0 0 0 1px rgb(25 50 65 / 0.06); transform-origin: 50% 165%; padding: 0.6em; display: flex; flex-direction: column; translate: -50% 0; }
.m-chip span { flex: 1; border-radius: 0.2em; background: var(--c); }
.m-chip b { display: block; margin-top: 0.55em; font-size: 0.85em; font-weight: 600; color: var(--m-ink); white-space: nowrap; }
.m-chip small { display: block; font-size: 0.75em; color: var(--m-ink-2); font-family: var(--f-mono); }
.m-chip:nth-child(1) { rotate: -27deg; }
.m-chip:nth-child(2) { rotate: -9deg; }
.m-chip:nth-child(3) { rotate: 9deg; }
.m-chip:nth-child(4) { rotate: 27deg; }
.m-paint .m-strip { display: flex; gap: 2.4em; padding: 1.6em 3.2em 2.2em; margin-top: 1.8em; border-top: 1px solid var(--m-line); color: var(--m-ink-2); font-weight: 500; }
.m-paint .m-strip b { color: var(--m-ink); }

/* Painter, phone: the quote request that fills itself in */
.m-quote { padding-inline: 1.3em; font-family: var(--f-display); }
.m-quote h4 { font-weight: 700; font-size: 1.75em; line-height: 1.05; letter-spacing: -0.03em; }
.mock .m-sm { color: var(--m-ink-2); font-size: 0.95em; margin-top: 0.45em; }
.mock .m-label { font-weight: 600; font-size: 0.9em; margin: 1.1em 0 0.5em; }
.m-pills { display: flex; flex-wrap: wrap; gap: 0.4em; }
.m-pills span { padding: 0.45em 0.75em; border-radius: 0.3em; box-shadow: 0 0 0 1px var(--m-line) inset; font-size: 0.88em; font-weight: 500; transition: background-color 0.25s, color 0.25s, box-shadow 0.25s; }
.m-pills .on { background: var(--m-ink); color: #fff; box-shadow: none; }
.m-drop { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4em; }
.m-drop span { aspect-ratio: 1; border-radius: 0.3em; box-shadow: 0 0 0 1px var(--m-line) inset; background: repeating-linear-gradient(45deg, transparent 0 0.4em, rgb(25 50 65 / 0.04) 0.4em 0.8em); display: grid; place-items: center; color: var(--m-ink-2); font-size: 1.4em; }
.m-drop .ph { position: relative; overflow: hidden; }
.m-drop .ph::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--img); transition: transform 0.45s var(--ease), opacity 0.3s; }
.m-drop .ph:not(.filled)::after { transform: scale(0.4); opacity: 0; }
.m-field { min-height: 2.6em; padding: 0.75em 0.9em; border-radius: 0.3em; box-shadow: 0 0 0 1px var(--m-line) inset; color: var(--m-ink); font-size: 0.9em; background: #fff; white-space: nowrap; overflow: hidden; }
.m-field .caret { display: inline-block; width: 1px; height: 1.05em; margin-left: 1px; vertical-align: -0.15em; background: var(--m-ink); opacity: 0; }
.typing .m-field .caret { opacity: 1; animation: caret 0.9s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.m-slots { display: flex; gap: 0.4em; }
.m-slots span { flex: 1; text-align: center; padding: 0.55em 0; border-radius: 0.3em; box-shadow: 0 0 0 1px var(--m-line) inset; font-size: 0.82em; font-weight: 500; transition: background-color 0.25s, color 0.25s; }
.m-slots .on { background: var(--m-ink); color: var(--m-bg); box-shadow: none; }
.m-quote .m-send { position: relative; display: flex; margin-top: 1.3em; font-size: 1em; transition: transform 0.15s, background-color 0.3s; }
.m-send .done { display: none; }
.m-quote.sent .m-send { background: #2f7a54; }
.m-quote.sent .m-send .go { display: none; }
.m-quote.sent .m-send .done { display: inline; }
.m-quote .m-send.press { transform: scale(0.96); }
.m-quote .m-fine { text-align: center; color: var(--m-ink-2); font-size: 0.8em; margin-top: 0.7em; }
.m-tap { position: absolute; left: 0; top: 0; width: 2.2em; height: 2.2em; margin: -1.1em 0 0 -1.1em; border-radius: 50%; background: rgb(25 50 65 / 0.22); box-shadow: 0 0 0 1px rgb(255 255 255 / 0.7) inset; opacity: 0; pointer-events: none; z-index: 1; transition: transform 0.55s var(--ease-io), opacity 0.3s; }
.m-tap.show { opacity: 1; }
.m-tap.hit { animation: tap 0.35s var(--ease); }
@keyframes tap { 50% { scale: 0.7; background: rgb(217 98 63 / 0.35); } }
.m-quote .m-form { transition: opacity 0.4s; }
.m-quote.fade .m-form { opacity: 0; }

/* Salon, phone: booking */
.m-salon { --m-bg: #f3e9e5; --m-ink: #231a1c; --m-ink-2: #6e5f61; --m-accent: #231a1c; --m-accent-ink: #f3e9e5; --m-line: #dccbc6; --m-r: 0.15em; }
.m-salon .pan-inner, .m-bake .pan-inner { padding-inline: 1.3em; padding-bottom: 1.5em; }
.m-salon .m-top { display: flex; justify-content: space-between; align-items: baseline; }
.m-salon .m-name { font: italic 400 1.35em/1 Georgia, "Times New Roman", serif; letter-spacing: 0.01em; }
.m-salon .m-name + span { font-size: 0.8em; color: var(--m-ink-2); }
.m-salon h4 { font: 400 2.1em/1.02 Georgia, "Times New Roman", serif; letter-spacing: -0.02em; margin-top: 1.1em; }
.m-svc { margin-top: 1.1em; padding: 0.85em 0.95em; background: #fbf6f4; border-radius: 0.15em; display: flex; justify-content: space-between; font-size: 0.92em; }
.m-svc b { font-weight: 600; }
.m-svc span { color: var(--m-ink-2); }
.m-svc + .m-svc { margin-top: 0.35em; }
.m-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.35em; margin-top: 1.1em; text-align: center; }
.m-days span { padding: 0.5em 0; border-radius: 0.15em; font-size: 0.8em; color: var(--m-ink-2); line-height: 1.25; }
.m-days b { display: block; font-size: 1.35em; color: var(--m-ink); font-weight: 600; }
.m-days .on { background: var(--m-ink); color: #cdbab6; }
.m-days .on b { color: #f3e9e5; }
.m-times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4em; margin-top: 1em; }
.m-times span { padding: 0.6em 0; text-align: center; font-size: 0.88em; box-shadow: 0 0 0 1px var(--m-line) inset; border-radius: 0.15em; }
.m-times .on { background: #b4524a; color: #fff; box-shadow: none; }
.m-times .off { color: #b6a6a3; text-decoration: line-through; }
.m-salon .m-btn { display: flex; margin-top: 1.3em; }
.m-note { margin-top: 1.1em; padding-top: 1em; border-top: 1px solid var(--m-line); font-size: 0.82em; color: var(--m-ink-2); display: grid; gap: 0.5em; }
.m-note b { color: var(--m-ink); font-weight: 600; }
.m-salon h5, .m-bake h5 { margin: 1.6em 0 0.6em; font: 400 1.25em/1.1 Georgia, "Times New Roman", serif; }
.m-bake h5 { font: 700 1.1em/1.1 var(--f-display); }
.m-row { display: flex; justify-content: space-between; padding: 0.55em 0; border-bottom: 1px solid var(--m-line); font-size: 0.85em; }
.m-row span:last-child { color: var(--m-ink-2); font-variant-numeric: tabular-nums; }

/* Auto shop, browser: Copperhill Auto */
.m-auto { --m-bg: #141618; --m-ink: #f1f0ea; --m-ink-2: #a3a5a6; --m-accent: #f0c22e; --m-accent-ink: #141618; --m-line: #2c3034; --m-r: 0.15em; font-family: var(--f-display); }
.m-auto .m-nav { display: flex; align-items: center; justify-content: space-between; padding: 1.5em 3em; border-bottom: 1px solid var(--m-line); }
.m-auto .m-logo { font-weight: 700; font-size: 1.4em; letter-spacing: 0.04em; text-transform: uppercase; display: flex; gap: 0.4em; align-items: center; }
.m-auto .m-logo i { width: 0.9em; height: 0.9em; background: var(--m-accent); clip-path: polygon(0 100%, 50% 0, 100% 100%); }
.m-auto .m-open { display: flex; align-items: center; gap: 0.6em; font-size: 1.05em; color: var(--m-ink-2); }
.m-auto .m-open b { color: #7ed99a; font-weight: 600; }
.m-auto .m-hero { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 2.4em; padding: 2.8em 3em 2em; }
.m-auto h3 { font-weight: 700; font-size: 3.5em; line-height: 0.95; text-transform: uppercase; letter-spacing: -0.03em; }
.m-auto h3 span { color: var(--m-accent); white-space: nowrap; }
.m-auto .m-sub { margin-top: 1.1em; color: var(--m-ink-2); font-size: 1.3em; max-width: 24em; }
.m-auto .m-cta { display: flex; gap: 0.8em; margin-top: 1.7em; font-size: 1.15em; }
.m-hours { align-self: start; padding: 1.4em 1.5em; border-radius: 0.2em; background: #1d2023; box-shadow: 0 0 0 1px var(--m-line) inset; font-size: 1.05em; }
.m-hours h4 { font: 700 0.85em/1 var(--f-mono); color: var(--m-ink-2); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1em; }
.m-hours p { display: flex; justify-content: space-between; gap: 1em; padding: 0.42em 0; color: var(--m-ink-2); font-variant-numeric: tabular-nums; }
.m-hours p b { color: var(--m-ink); font-weight: 500; }
.m-hours p.today, .m-hours p.today b { color: var(--m-accent); }
.m-auto .m-svcs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 0.4em; background: var(--m-line); border-block: 1px solid var(--m-line); }
.m-auto .m-svcs span { background: var(--m-bg); padding: 1.3em 1.4em; font-weight: 600; font-size: 1.1em; }
.m-auto .m-svcs span:first-child { padding-left: 3em; }
.m-auto .m-svcs small { display: block; font-weight: 400; color: var(--m-ink-2); font-size: 0.85em; margin-top: 0.2em; }
.m-auto .m-book { display: grid; grid-template-columns: 1fr 1fr; gap: 3em; padding: 3em; }
.m-auto .m-book h4 { font-size: 2.2em; line-height: 1; text-transform: uppercase; letter-spacing: -0.02em; }
.m-auto .m-book p { color: var(--m-ink-2); margin-top: 0.8em; font-size: 1.15em; }
.m-auto .m-fields { display: grid; gap: 0.7em; font-size: 1.05em; }
.m-auto .m-fields span { padding: 0.9em 1em; border-radius: 0.2em; box-shadow: 0 0 0 1px var(--m-line) inset; color: var(--m-ink-2); }
.m-auto .m-fields .m-btn { color: var(--m-accent-ink); box-shadow: none; }
.m-auto .m-find { display: flex; justify-content: space-between; padding: 1.6em 3em 2.4em; border-top: 1px solid var(--m-line); color: var(--m-ink-2); font-size: 1.05em; }
.m-auto .m-find b { color: var(--m-ink); }

/* Bakery, phone: pickup orders */
.m-bake { --m-bg: #fbf7ee; --m-ink: #253423; --m-ink-2: #66705f; --m-accent: #3d5a36; --m-accent-ink: #fbf7ee; --m-line: #e3dccb; --m-r: 0.3em; font-family: var(--f-display); }
.m-bake .m-name { font-weight: 700; font-size: 1.25em; letter-spacing: -0.02em; }
.m-bake h4 { font-weight: 700; font-size: 1.9em; line-height: 1.02; letter-spacing: -0.035em; margin-top: 0.9em; }
.m-items { margin-top: 1em; display: grid; gap: 0.55em; margin-bottom: 0.4em; }
.m-item { display: grid; grid-template-columns: 2.9em 1fr auto; gap: 0.75em; align-items: center; }
.m-item i { aspect-ratio: 1; border-radius: 0.3em; background: var(--g); }
.m-item b { display: block; font-weight: 600; font-size: 0.95em; }
.m-item small { color: var(--m-ink-2); font-size: 0.8em; }
.m-item em { font-style: normal; font-variant-numeric: tabular-nums; font-weight: 600; font-size: 0.9em; }
.m-qty { display: inline-flex; align-items: center; justify-content: center; width: 1.8em; height: 1.8em; border-radius: 0.3em; background: var(--m-accent); color: var(--m-accent-ink); font-size: 0.8em; font-weight: 700; }
.m-cart { position: absolute; left: 0.9em; right: 0.9em; bottom: 1em; padding: 0.9em 1em; border-radius: 0.4em; background: var(--m-accent); color: var(--m-accent-ink); display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 0.95em; z-index: 1; }
.m-cart small { display: block; font-weight: 400; opacity: 0.8; font-size: 0.82em; }

/* Gentle scroll inside the sample frames. JS measures how far each page
   can travel (--pan); without JS or with reduced motion they sit at the top. */
.pan-inner { will-change: transform; }
@media (prefers-reduced-motion: no-preference) {
  .js .pan-inner { animation: pan 15s var(--ease-io) infinite; animation-play-state: paused; animation-delay: var(--pan-delay, 0s); }
  .js .playing .pan-inner { animation-play-state: running; }
  @keyframes pan {
    0%, 20% { transform: translateY(0); }
    48%, 70% { transform: translateY(var(--pan, 0px)); }
    100% { transform: translateY(0); }
  }
}

/* --------------------------------------------------------------- sections */
.section { padding-block: var(--band); }
.section-head { max-width: 42rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section h2 { font-size: clamp(2.1rem, 1.3rem + 3vw, 3.6rem); letter-spacing: -0.03em; }
.section-head p { margin-top: 1.1rem; color: var(--ink-2); font-size: 1.25rem; max-width: 52ch; }
.rule-top { border-top: 1px solid var(--line); }

/* What I fix: the problem gets struck out, then the fix appears under it. */
.fixes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2.25rem, 4vw, 3rem) clamp(2rem, 6vw, 5.5rem); }
.fix { padding-left: 1.25rem; border-left: 2px solid var(--go); }
.fix .was { font-size: 1.05rem; color: var(--ink-3); font-style: italic; }
.fix .was span { background: linear-gradient(var(--ink-3), var(--ink-3)) no-repeat 0 58% / 100% 1px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.fix .now { margin-top: 0.35rem; font: 600 1.35rem/1.25 var(--f-display); letter-spacing: -0.015em; }
@media (max-width: 720px) { .fixes { grid-template-columns: 1fr; } }

/* Samples: one wide browser, two phones */
.samples { background: var(--paper-2); }
.samples-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.samples-phones { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 2rem); margin-top: clamp(0rem, 6vw, 5rem); }
.sample figcaption { margin-top: 1.1rem; font-size: 1.05rem; color: var(--ink-2); max-width: 40ch; }
.sample figcaption b { display: block; color: var(--ink); font: 600 1.05rem/1.4 var(--f-display); }
.samples-note { margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.5rem; border-top: 1px solid var(--line-2); color: var(--ink-2); font-size: 1.05rem; font-style: italic; max-width: 62ch; }
@media (max-width: 960px) {
  .samples-grid { grid-template-columns: 1fr; }
  .samples-phones { margin-top: 1rem; max-width: 520px; }
}

/* How it works: a three-stop line that draws itself */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; position: relative; }
.seg { position: absolute; top: 13px; left: 14px; width: calc(100% + 2rem); height: 2px; background: var(--line-2); transform-origin: 0 50%; }
.seg.done { background: var(--go); }
.step { position: relative; padding-top: 3.1rem; }
.step::before { content: ""; position: absolute; top: 0; left: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--paper); border: 2px solid var(--go); box-shadow: 0 0 0 6px var(--paper); z-index: 1; }
.step::after { content: ""; position: absolute; top: 8px; left: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--go); z-index: 1; }
.step .when { font: 600 1rem/1 var(--f-display); color: var(--go); }
.step h3 { font-size: 1.65rem; margin-top: 0.55rem; }
.step p:not(.when) { margin-top: 0.7rem; color: var(--ink-2); max-width: 32ch; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 2.25rem; }
  .seg { top: 14px; left: 13px; width: 2px; height: calc(100% + 2.25rem); transform-origin: 50% 0; }
  .step { padding-top: 0.1rem; padding-left: 3.25rem; }
}

/* Pricing: one panel, the numbers do the talking */
.price-panel { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line-2); overflow: hidden; }
.price-main { padding: clamp(1.75rem, 4vw, 3.25rem); }
.price-line + .price-line { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.price-line h3 { font: 600 1.1rem/1.3 var(--f-display); letter-spacing: 0; color: var(--ink-2); }
.price { margin-top: 0.5rem; display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 0.5rem; font-family: var(--f-display); font-variant-numeric: tabular-nums; }
.price .amt { font-size: clamp(2.7rem, 1.8rem + 3vw, 4.2rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.price .amt sup { font-size: 0.4em; vertical-align: 1em; margin-right: 0.1em; letter-spacing: 0; font-weight: 600; }
.price .per { color: var(--ink-2); font: 500 1.1rem/1 var(--f-display); }
.price-line .small-print { margin-top: 0.6rem; color: var(--ink-3); font-size: 1.05rem; }
.price-side { padding: clamp(1.75rem, 4vw, 3.25rem); background: var(--go-soft); border-left: 1px solid var(--line-2); }
.price-side h3 { font-size: 1.4rem; letter-spacing: -0.02em; }
.included { margin-top: 1rem; }
.included li { padding: 0.8rem 0; border-bottom: 1px solid color-mix(in srgb, var(--go) 22%, transparent); font-size: 1.1rem; }
.included li:last-child { border-bottom: 0; }
.price-side .small-print { margin-top: 1.25rem; color: var(--ink-2); font-size: 1rem; font-style: italic; }
@media (max-width: 820px) { .price-panel { grid-template-columns: 1fr; } .price-side { border-left: 0; border-top: 1px solid var(--line-2); } }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(2.5rem, 7vw, 6rem); align-items: start; }
.about-copy p { font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.45rem); line-height: 1.5; color: var(--ink-2); max-width: 36ch; }
.about-copy p + p { margin-top: 1.1rem; }
.about-copy p strong { color: var(--ink); font-weight: 600; }
.about-copy h2 { margin-bottom: 1.6rem; }
.card-id { border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line-2); padding: 1.75rem; }
.card-id .who { display: flex; align-items: center; gap: 1rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.monogram { width: 56px; height: 56px; border-radius: var(--r-l); background: var(--ink); color: var(--paper); display: grid; place-items: center; font: 700 1.35rem/1 var(--f-display); letter-spacing: -0.02em; flex: none; }
.portrait { width: 108px; height: 135px; object-fit: cover; border-radius: var(--r-l); flex: none; box-shadow: 0 10px 24px -14px rgb(var(--shadow) / 0.55); }
.card-id .who b { display: block; font: 700 1.25rem/1.2 var(--f-display); letter-spacing: -0.015em; }
.card-id .who .role { display: block; color: var(--ink-3); font-size: 1rem; }
.card-id dl { display: grid; gap: 1.05rem; margin-top: 1.4rem; }
.card-id dt { font: 500 0.9rem/1.3 var(--f-display); color: var(--ink-3); }
.card-id dd { font-size: 1.1rem; }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } }

/* Questions: side-by-side, no accordion, nothing hidden */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3rem) clamp(2rem, 6vw, 5rem); }
.faq h3 { font-size: 1.35rem; letter-spacing: -0.015em; line-height: 1.2; }
.faq p { margin-top: 0.55rem; color: var(--ink-2); max-width: 46ch; }
@media (max-width: 720px) { .faq { grid-template-columns: 1fr; } }

/* Closing */
.closing { padding-block: var(--band) calc(var(--band) * 1.1); }
.closing-box {
  border-radius: var(--r-l);
  padding: clamp(2.5rem, 7vw, 5.5rem) clamp(1.5rem, 6vw, 5rem);
  background: var(--ink); color: var(--paper);
}
.closing-box h2 { font-size: clamp(2.2rem, 1.2rem + 3.8vw, 4.4rem); letter-spacing: -0.035em; max-width: 17ch; }
.closing-box p { margin-top: 1.25rem; font-size: 1.3rem; color: color-mix(in srgb, var(--paper) 76%, var(--ink)); max-width: 44ch; }
.closing-box .hero-actions { margin-top: 2.25rem; }
.closing-box .btn { background: var(--paper); color: var(--ink); }
.closing-box .btn:hover { background: var(--go-soft); color: var(--ink); }
.closing-box .mail { color: var(--paper); font: 500 1.05rem/1 var(--f-display); text-decoration: none; padding-bottom: 3px; background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 100% 1px; }
.closing-box .mail:hover { color: var(--paper); }
@media (prefers-color-scheme: dark) {
  .closing-box { background: var(--surface); color: var(--ink); border: 1px solid var(--line-2); }
  .closing-box p { color: var(--ink-2); }
  .closing-box .btn { background: var(--go); color: var(--go-ink); }
  .closing-box .mail, .closing-box .mail:hover { color: var(--ink); }
}

/* Footer */
.foot { padding-block: 2.5rem 3rem; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 1rem; }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.foot .brand { font-size: 1.1rem; }
.foot .brand svg { width: 24px; height: 24px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-family: var(--f-display); font-size: 0.95rem; }
.foot a:not(.brand) { color: var(--ink-2); text-decoration: none; }
.foot a:not(.brand):hover { color: var(--ink); text-decoration: underline; }

/* ------------------------------------------------------------------ motion
   Everything here is opt-in: it needs JS (the .js class) and no request for
   reduced motion. Without either, the page shows its finished state. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
  .js .reveal.in { opacity: 1; transform: none; }

  /* Hero: the sample site assembles itself on load, then the phone arrives. */
  .hero-visual .browser { animation: rise 0.9s var(--ease) both 0.1s; }
  .hero-visual .phone { animation: rise 0.9s var(--ease) both 1.1s; }
  .m-paint .m-nav { animation: fade 0.6s var(--ease) both 0.35s; }
  .m-paint .m-hero > div:first-child > * { animation: rise 0.7s var(--ease) both; }
  .m-paint .m-kicker { animation-delay: 0.45s !important; }
  .m-paint h3 { animation-delay: 0.55s !important; }
  .m-paint .m-sub { animation-delay: 0.65s !important; }
  .m-paint .m-cta { animation-delay: 0.75s !important; }
  .m-chip { animation: fan 1.1s var(--ease) both 0.7s; }
  .m-paint .m-strip { animation: fade 0.6s var(--ease) both 0.95s; }
  @keyframes rise { from { opacity: 0; transform: translateY(22px); } }
  @keyframes fade { from { opacity: 0; } }
  @keyframes fan { from { rotate: 0deg; opacity: 0; } 30% { opacity: 1; } }

  /* Fixes: strike the problem through, then bring the fix in. */
  .js .fix { border-left-color: var(--line-2); transition: border-color 0.5s var(--ease) 0.9s; }
  .js .fix .was span { background-size: 0% 1px; transition: background-size 0.6s var(--ease-io) 0.25s; }
  .js .fix .now { opacity: 0; transform: translateY(8px); transition: opacity 0.6s var(--ease) 0.75s, transform 0.6s var(--ease) 0.75s; }
  .js .fix.in { border-left-color: var(--go); }
  .js .fix.in .was span { background-size: 100% 1px; }
  .js .fix.in .now { opacity: 1; transform: none; }

  /* How it works: the green line draws to the second stop, the stops light up in turn. */
  .js .seg.done { transform: scaleX(0); transition: transform 1.2s var(--ease-io) 0.35s; }
  .js .steps.in .seg.done { transform: none; }
  .js .step::after { transform: scale(0); transition: transform 0.4s var(--ease); }
  .js .steps.in .step:nth-child(1)::after { transform: scale(1); transition-delay: 0.15s; }
  .js .steps.in .step:nth-child(2)::after { transform: scale(1); transition-delay: 1.45s; }
  @media (max-width: 760px) { .js .seg.done { transform: scaleY(0); } }
}
/* The third stop is still to come: hollow and grey. */
.step:nth-child(3)::after { display: none; }
.step:nth-child(3)::before { border-color: var(--line-2); }

/* ------------------------------------------------------------- prose pages */
.prose { padding-block: clamp(3rem, 8vw, 6rem) var(--band); }
.prose .wrap { max-width: calc(44rem + var(--gutter) * 2); }
.prose h1 { font-size: clamp(2.3rem, 1.5rem + 3vw, 3.6rem); letter-spacing: -0.035em; }
.prose .updated { margin-top: 0.9rem; color: var(--ink-3); font-style: italic; }
.prose h2 { font-size: 1.5rem; letter-spacing: -0.02em; margin-top: 2.6rem; }
.prose p, .prose ul { margin-top: 0.9rem; color: var(--ink-2); max-width: 64ch; }
.prose ul { list-style: disc; padding-left: 1.3em; }
.prose li + li { margin-top: 0.4rem; }
.prose strong { color: var(--ink); font-weight: 600; }
.back { display: inline-flex; margin-top: 3rem; font: 600 1.05rem/1 var(--f-display); }

/* ---------- free-preview form (dialog on the homepage, page at /start) ---------- */
.ask-dlg { border: 0; padding: 0; background: transparent; max-width: min(620px, calc(100vw - 24px)); width: 100%; max-height: calc(100dvh - 24px); overflow: visible; color: var(--ink); }
.ask-dlg::backdrop { background: rgb(12 16 13 / 0); backdrop-filter: blur(0); transition: background 0.22s var(--ease), backdrop-filter 0.22s var(--ease); }
.ask-dlg.open::backdrop { background: rgb(12 16 13 / 0.55); backdrop-filter: blur(3px); }
.ask-dlg .ask-card { opacity: 0; transform: translateY(18px) scale(0.985); transition: opacity 0.22s var(--ease), transform 0.32s var(--ease); max-height: calc(100dvh - 24px); overflow-y: auto; }
.ask-dlg.open .ask-card { opacity: 1; transform: none; }
.ask-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(22px, 4vw, 40px); box-shadow: 0 30px 80px -30px rgb(var(--shadow) / 0.45); }
.ask-card h2, .ask-card h1 { font-family: var(--f-display); font-size: clamp(1.7rem, 4vw, 2.3rem); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 0.35em; }
.ask-sub { color: var(--ink-2, inherit); opacity: 0.85; margin: 0 0 1.4em; font-size: 1.05rem; }
.ask-x { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; border: 0; background: none; color: inherit; font-size: 1.8rem; line-height: 1; cursor: pointer; border-radius: var(--r-s); }
.ask-x:hover { background: var(--go-soft); }
.ask { display: grid; gap: 1.1rem; }
.ask fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.ask legend { font-family: var(--f-display); font-weight: 600; margin-bottom: 0.7rem; padding: 0; }
.ask legend span, .field i { font-family: var(--f-text); font-weight: 400; font-style: italic; opacity: 0.65; margin-left: 0.35em; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 0.45em; min-height: 42px; padding: 0 0.95em; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--paper); font-family: var(--f-display); font-weight: 500; font-size: 0.97rem; transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.18s var(--ease); }
.chip span::before { content: ""; width: 0.8em; height: 0.8em; border: 1.5px solid currentColor; border-radius: 2px; opacity: 0.5; transition: all 0.18s var(--ease); }
.chip:hover span { border-color: var(--go); }
.chip input:checked + span { background: var(--go); border-color: var(--go); color: var(--go-ink); }
.chip input:checked + span::before { opacity: 1; background: currentColor; box-shadow: inset 0 0 0 2px var(--go); transform: scale(1.05); }
.chip input:active + span { transform: translateY(1px); }
.chip input:focus-visible + span { outline: 2px solid var(--go); outline-offset: 3px; }
.field { display: grid; gap: 0.4rem; }
.field > span { font-family: var(--f-display); font-weight: 600; }
.field b { font-family: var(--f-text); font-weight: 400; opacity: 0.65; margin-left: 0.35em; font-style: italic; }
.field input, .field textarea { font: inherit; font-size: 1rem; color: inherit; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-s); padding: 0.7em 0.8em; min-height: 46px; width: 100%; transition: border-color 0.18s, box-shadow 0.18s; }
.field textarea { resize: vertical; min-height: 4.2em; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--go); box-shadow: 0 0 0 3px var(--go-soft); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ask-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.2rem; margin-top: 0.3rem; }
.ask-foot p { margin: 0; font-size: 0.92rem; opacity: 0.7; }
.ask .btn.busy { opacity: 0.7; pointer-events: none; }
.ask-err { margin: 0; color: #b3401e; font-weight: 500; }
.ask-done { outline: none; animation: ask-in 0.45s var(--ease) both; }
.ask-done h3 { font-family: var(--f-display); font-size: 1.6rem; margin: 0 0 0.4em; color: var(--go); }
@keyframes ask-in { from { opacity: 0; transform: translateY(10px); } }
.start { padding: clamp(2rem, 6vw, 5rem) 0 var(--band); }
.ask-page { max-width: 640px; margin: 0 auto; }
@media (prefers-reduced-motion: reduce) { .ask-dlg .ask-card, .ask-dlg::backdrop, .ask-done { transition: none; animation: none; } }

.price-side .also { margin-top: 1.6rem; }
