/* ==========================================================================
   CloakInk Technologies — shared styles
   Identity: cool paper, violet-black ink, and the logo's violet-to-blue
   spot inks. Print type (Bodoni Moda, Schibsted Grotesk) with an editor's
   pen (Nanum Pen Script) marking it up. The page ends soaked in ink.
   ========================================================================== */

:root {
  --paper: #f3f2f7;
  --paper-hi: #fbfbfd;
  --paper-2: #e7e5ee;
  --ink: #15111f;
  --ink-2: #3b3548;
  --ink-3: #5d5770;
  --pencil: #8a8699;            /* large text and decoration only */
  --rule: rgba(21, 17, 31, .14);
  --violet: #6a35e0;
  --blue: #2f6cf0;
  --violet-soft: #b9a2ff;
  --blue-soft: #8fb4ff;
  --deep: #110d1e;
  --deep-2: #1d1733;
  --ink-grad: linear-gradient(100deg, var(--violet), var(--blue));
  --ink-grad-soft: linear-gradient(100deg, var(--violet-soft), var(--blue-soft));

  --f-display: 'Bodoni Moda', 'Bodoni 72', Didot, 'Times New Roman', serif;
  --f-body: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-pen: 'Nanum Pen Script', 'Segoe Print', 'Bradley Hand', cursive;
  --f-mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;

  --gutter: clamp(16px, 4.5vw, 56px);
  --max: 1280px;
  --section: clamp(88px, 12vw, 176px);
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-ink: cubic-bezier(.65, 0, .25, 1);

  /* paper grain, tiled once */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .09 0 0 0 0 .07 0 0 0 0 .16 0 0 0 .11 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  interpolate-size: allow-keywords;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--paper) var(--grain);
  color: var(--ink);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
p { margin: 0 0 1em; }
a { color: inherit; }
h1, h2, h3 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.015em;
  text-wrap: balance;
}
h2 { font-size: clamp(38px, 5.4vw, 80px); }
em { font-style: italic; }
::selection { background: var(--violet); color: var(--paper-hi); }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 2px; }

.sr-only {
  position: absolute !important; 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: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 6px;
  font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* the editor's pen: every handwritten label is the human hand on the page */
.pen-label {
  display: inline-block;
  font-family: var(--f-pen);
  font-size: clamp(26px, 2.3vw, 32px);
  line-height: 1;
  color: var(--violet);
  transform: rotate(-2.5deg);
  transform-origin: left center;
  margin: 0 0 .55em;
}

/* printer's crop marks around a box */
.crop { position: relative; }
.crop::before {
  content: "";
  position: absolute;
  inset: -18px;
  pointer-events: none;
  --m: var(--pencil);
  background:
    linear-gradient(var(--m), var(--m)) left 0 top 18px / 11px 1px,
    linear-gradient(var(--m), var(--m)) left 18px top 0 / 1px 11px,
    linear-gradient(var(--m), var(--m)) right 0 top 18px / 11px 1px,
    linear-gradient(var(--m), var(--m)) right 18px top 0 / 1px 11px,
    linear-gradient(var(--m), var(--m)) left 0 bottom 18px / 11px 1px,
    linear-gradient(var(--m), var(--m)) left 18px bottom 0 / 1px 11px,
    linear-gradient(var(--m), var(--m)) right 0 bottom 18px / 11px 1px,
    linear-gradient(var(--m), var(--m)) right 18px bottom 0 / 1px 11px;
  background-repeat: no-repeat;
}

.reg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; }

/* ---------- buttons and links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding: 16px 22px;
  background: var(--ink);
  color: var(--paper-hi);
  font: 600 16px/1 var(--f-body);
  text-decoration: none;
  border-radius: 6px;
  box-shadow: 4px 4px 0 var(--violet);
  transition: transform .14s var(--ease-out), box-shadow .14s var(--ease-out), background-color .2s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease-out); }
.btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--violet); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--violet); }
.btn--small { padding: 11px 15px; font-size: 14.5px; box-shadow: 3px 3px 0 var(--violet); }
.btn--small:hover { box-shadow: 1px 1px 0 var(--violet); }

.link-pen {
  --pen: var(--violet);
  font-weight: 600;
  text-decoration: none;
  padding-bottom: 7px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 8' preserveAspectRatio='none'%3E%3Cpath d='M2 5.5C40 2.5 90 6.5 130 3.8S180 3 198 4.6' fill='none' stroke='%236a35e0' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") left bottom / 100% 8px no-repeat;
  transition: color .2s;
}
.link-pen:hover { color: var(--violet); animation: redraw .5s var(--ease-out); }
.link-pen--light {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 8' preserveAspectRatio='none'%3E%3Cpath d='M2 5.5C40 2.5 90 6.5 130 3.8S180 3 198 4.6' fill='none' stroke='%23b9a2ff' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
}
.link-pen--light:hover { color: var(--violet-soft); }
@keyframes redraw { from { background-size: 0% 8px; } }

/* ---------- masthead ---------- */
.masthead { position: relative; z-index: 5; }
.masthead__inner { display: flex; align-items: center; gap: 28px; height: 84px; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; text-decoration: none; }
.brand__mark { width: 46px; height: auto; }
.brand__word { font-family: var(--f-display); font-size: 25px; font-weight: 600; letter-spacing: -.02em; line-height: 1; }
.brand__word em {
  font-weight: 500;
  background: var(--ink-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: .08em;
}
.nav { display: none; gap: 26px; }
.nav a { font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink-2); padding-block: 6px; background: linear-gradient(var(--violet), var(--violet)) left bottom / 0 2px no-repeat; transition: background-size .25s var(--ease-out), color .2s; }
.nav a:hover { color: var(--ink); background-size: 100% 2px; }
@media (min-width: 900px) { .nav { display: flex; } }
@media (max-width: 380px) { .brand__mark { width: 38px; } .brand__word { font-size: 22px; } .masthead__inner { gap: 12px; } }

/* ---------- hero ---------- */
.hero {
  position: relative;
  display: flex;
  min-height: calc(100svh - 84px);
  padding-block: clamp(24px, 5vh, 64px) clamp(40px, 7vh, 88px);
  overflow: hidden;
}
.hero__ink { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(32px, 6vh, 72px);
}
.kicker {
  display: flex; flex-wrap: wrap; align-items: center; gap: .3em .7em;
  margin: 0;
  font: 500 12.5px/1.4 var(--f-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.kicker span { color: var(--pencil); }
.kicker .reg { color: var(--violet); margin-right: .2em; }

.hero__title {
  font-size: clamp(48px, min(12.4vw, 16.5svh), 152px);
  line-height: .95;
  letter-spacing: -.028em;
  font-weight: 500;
  text-wrap: initial;
}
.proof__line { display: block; }
.proof__line--edit { white-space: nowrap; }

.strike {
  position: relative;
  display: inline-block;
  font-style: italic;
  color: var(--pencil);
  animation: struck .6s 1.05s ease both;
}
.strike svg {
  position: absolute;
  left: -3%;
  top: 56%;
  width: 106%;
  height: .3em;
  overflow: visible;
  transform: translateY(-50%);
}
.strike path, .caret path {
  fill: none;
  stroke: var(--violet);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.strike path { stroke-width: 5.5; animation: draw .55s .55s var(--ease-ink) both; }
.insert { position: relative; display: inline-block; margin-left: .18em; }
.caret {
  position: absolute;
  left: -.24em;
  bottom: -.12em;
  width: .3em;
  height: .28em;
  overflow: visible;
}
.caret path { stroke-width: 2.6; animation: draw .3s 1.05s var(--ease-ink) both; }
.hand {
  display: inline-block;
  font-family: var(--f-pen);
  font-weight: 400;
  font-size: 1.22em;
  line-height: 1;
  letter-spacing: 0;
  color: var(--violet);
  transform: rotate(-7deg) translateY(-.1em);
  animation: write .85s 1.3s steps(9, end) both;
}
@keyframes draw { from { stroke-dashoffset: 1; } }
@keyframes struck { from { color: var(--ink); } }
@keyframes write { from { clip-path: inset(-30% 100% -30% 0); } to { clip-path: inset(-30% -30% -30% 0); } }

.hero__foot { display: grid; gap: 28px; align-items: end; }
.lede { margin: 0; max-width: 40ch; font-size: clamp(18px, 1.55vw, 21px); line-height: 1.55; color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 30px; }
@media (min-width: 900px) {
  .hero__foot { grid-template-columns: minmax(0, 1fr) auto; }
}

.hero__hint {
  display: none;
  margin: 0;
  max-width: 19em;
  font-family: var(--f-pen);
  font-size: 24px;
  line-height: 1.1;
  color: var(--violet);
  transform: rotate(-2deg);
}
.ink-ready .hero__hint { display: block; animation: fade-in .6s 2.2s both; }
.hint-touch { display: none; }
@media (hover: none) { .hint-hover { display: none; } .hint-touch { display: inline; } }
@media (min-width: 1100px) {
  .hero__hint { position: absolute; right: var(--gutter); top: 4px; text-align: right; transform: rotate(3deg); }
}
@keyframes fade-in { from { opacity: 0; transform: translateY(6px) rotate(3deg); } }

/* ---------- section heads ---------- */
.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head h2 { max-width: 15ch; }
.section-head > p:last-child { margin: 0; max-width: 46ch; font-size: 18px; color: var(--ink-2); }
.section-head .pen-label { margin-bottom: -4px; }
@media (min-width: 1000px) {
  .section-head:not(.section-head--stack) {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    column-gap: 72px;
    align-items: end;
  }
  .section-head:not(.section-head--stack) .pen-label { grid-column: 1 / -1; justify-self: start; }
}

/* ==========================================================================
   The template test
   ========================================================================== */
.test { padding-block: var(--section) calc(var(--section) * .7); }

.demo__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  margin-bottom: 30px;
}
.seg, .toggle { border: 0; margin: 0; padding: 0; min-inline-size: 0; }
.seg { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.seg legend {
  float: left;
  margin-right: 10px;
  padding: 0;
  font: 500 12.5px/1 var(--f-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.seg input, .toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.seg label {
  cursor: pointer;
  padding: 10px 17px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  transition: background-color .2s, color .2s;
}
.seg label:hover { background: var(--paper-2); }
@media (max-width: 520px) {
  .seg legend { float: none; width: 100%; margin: 0 0 10px; }
  .seg label { padding: 10px 14px; font-size: 14.5px; }
  .demo__flip { width: 100%; justify-content: space-between; }
}
.seg input:checked + label { background: var(--ink); color: var(--paper-hi); }
.seg input:focus-visible + label,
.toggle input:focus-visible + label { outline: 3px solid var(--violet); outline-offset: 3px; }

.demo__flip { display: flex; align-items: center; gap: 14px; }
.flip-note {
  white-space: nowrap;
  font-family: var(--f-pen);
  font-size: 26px;
  line-height: 1;
  color: var(--violet);
  transform: rotate(-4deg);
  transition: opacity .3s;
}
.flip-note::after { content: " \2192"; }
.demo:has(#ver-inked:checked) .flip-note { opacity: 0; }

.toggle {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--paper-hi);
}
.toggle::before {
  content: "";
  position: absolute;
  inset: 4px auto 4px 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: var(--ink);
  transition: transform .45s var(--ease-ink), background-color .3s;
}
.demo:has(#ver-inked:checked) .toggle::before { transform: translateX(100%); background: var(--violet); }
.toggle label {
  position: relative;
  z-index: 1;
  cursor: pointer;
  padding: 11px 22px;
  border-radius: 999px;
  text-align: center;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  transition: color .3s;
}
.toggle input:checked + label { color: var(--paper-hi); }

/* which business is showing */
.only-florist, .only-barber, .only-law { display: none; }
.demo:has(#biz-florist:checked) .only-florist,
.demo:has(#biz-barber:checked) .only-barber,
.demo:has(#biz-law:checked) .only-law { display: inline; }

.demo__frame { margin: 0; }
.demo__frame figcaption { margin-top: 30px; font-size: 14.5px; color: var(--ink-3); max-width: 60ch; }
.browser {
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  overflow: hidden;
  background: var(--paper-hi);
}
.browser__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1.5px solid var(--ink);
  font: 500 12.5px/1 var(--f-mono);
}
.browser__lock { width: 14px; height: 14px; fill: none; stroke: var(--ink-3); stroke-width: 1.4; }
.browser__url {
  flex: 1;
  min-width: 0;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.browser__status span {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.st-template { border: 1px solid var(--pencil); color: var(--ink-3); }
.st-inked { display: none !important; background: var(--violet); color: var(--paper-hi); }
.demo:has(#ver-inked:checked) .st-template { display: none; }
.demo:has(#ver-inked:checked) .st-inked { display: inline-block !important; }

.browser__view { container-type: inline-size; background: #fff; }
.screen { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
@container (min-width: 600px) { .screen { aspect-ratio: 16 / 10; } }

.mini { position: absolute; inset: 0; overflow: hidden; }
.mini p { margin: 0; }

/* the ink flood between versions */
.mini--inked {
  z-index: 1;
  visibility: hidden;
  clip-path: circle(0% at 94% 0%);
  transition: clip-path 0s .95s, visibility 0s .95s;
}
.demo:has(#ver-inked:checked):has(#biz-florist:checked) .mini--florist,
.demo:has(#ver-inked:checked):has(#biz-barber:checked) .mini--barber,
.demo:has(#ver-inked:checked):has(#biz-law:checked) .mini--law {
  z-index: 2;
  visibility: visible;
  clip-path: circle(150% at 94% 0%);
  transition: clip-path .95s var(--ease-ink), visibility 0s;
}
.demo:has(#ver-template:checked) .mini--inked { transition: clip-path .6s var(--ease-ink), visibility 0s .6s; }
.demo:has(#ver-inked:checked) .mini--template { visibility: hidden; transition: visibility 0s .95s; }

/* --- the template (deliberately generic) --- */
.mini--template { background: #fff; color: #333; font-family: Arial, Helvetica, sans-serif; }
.t-nav { display: flex; align-items: center; gap: 2.6cqw; padding: 3.6cqw 5cqw; border-bottom: 1px solid #eee; }
.t-logo { display: grid; place-items: center; width: 8cqw; height: 8cqw; border-radius: 50%; background: linear-gradient(135deg, #8b5cf6, #3b82f6); flex: none; }
.t-logo svg { width: 55%; fill: #fff; }
.t-name { margin-right: auto; font-weight: 700; font-size: 3.9cqw; white-space: nowrap; }
.t-links { display: none; gap: 2.6cqw; font-size: 1.35cqw; color: #666; }
.t-btn { display: none; background: #3b82f6; color: #fff; font-weight: 700; font-size: 1.3cqw; padding: .9cqw 1.7cqw; border-radius: .5cqw; }
.t-burger { display: grid; gap: 1.1cqw; }
.t-burger i { display: block; width: 6cqw; height: .8cqw; background: #555; border-radius: 1cqw; }
.t-hero {
  display: flex; flex-direction: column; align-items: center; gap: 3.6cqw;
  padding: 13cqw 7cqw;
  background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 50%, #3b82f6 100%);
  color: #fff; text-align: center;
}
.t-h { font-size: 7.6cqw; font-weight: 700; line-height: 1.15; }
.t-sub { font-size: 3.8cqw; opacity: .88; }
.t-cta { background: #fff; color: #4f46e5; font-weight: 700; font-size: 3.6cqw; padding: 2.8cqw 6.4cqw; border-radius: 99cqw; }
.t-cards { display: grid; gap: 4.5cqw; padding: 6cqw; background: #f9fafb; }
.t-card {
  display: flex; flex-direction: column; align-items: center; gap: 2.4cqw;
  padding: 5.5cqw; border-radius: 2.4cqw; background: #fff;
  box-shadow: 0 1cqw 3cqw rgba(0, 0, 0, .08); text-align: center;
}
.t-icon { display: grid; place-items: center; width: 12cqw; height: 12cqw; border-radius: 50%; background: #eef2ff; }
.t-icon svg { width: 50%; fill: #4f46e5; stroke: #4f46e5; }
.t-card b { font-size: 4.2cqw; }
.t-bar { display: block; width: 78%; height: 1.6cqw; border-radius: 1cqw; background: #e5e7eb; }
.t-bar--short { width: 54%; }
@container (min-width: 600px) {
  .t-nav { padding: 1.7cqw 5cqw; gap: 2.4cqw; }
  .t-logo { width: 3.4cqw; height: 3.4cqw; }
  .t-name { font-size: 1.7cqw; }
  .t-links, .t-btn { display: flex; }
  .t-burger { display: none; }
  .t-hero { padding: 7cqw 10cqw; gap: 1.7cqw; }
  .t-h { font-size: 3.9cqw; }
  .t-sub { font-size: 1.65cqw; }
  .t-cta { font-size: 1.4cqw; padding: 1.1cqw 2.8cqw; }
  .t-cards { grid-template-columns: repeat(3, 1fr); gap: 2.6cqw; padding: 3.2cqw 6cqw; }
  .t-card { padding: 2.4cqw; gap: 1cqw; border-radius: 1cqw; box-shadow: 0 .4cqw 1.6cqw rgba(0, 0, 0, .08); }
  .t-icon { width: 4.8cqw; height: 4.8cqw; }
  .t-card b { font-size: 1.55cqw; }
  .t-bar { height: .7cqw; }
}

/* --- inked: florist --- */
.mini--florist {
  --sage: #e2ebdc; --fern: #1c3826; --pink: #d9688b; --blush: #f5cbd7; --leaf: #4d7a57; --gold: #e3a53b;
  background: var(--sage);
  color: var(--fern);
  font-family: Corben, Georgia, serif;
}
.f-nav { position: relative; z-index: 2; display: flex; align-items: center; gap: 3cqw; padding: 4.5cqw 6cqw; }
.f-mark { margin-right: auto; font-weight: 700; font-size: 4.6cqw; }
.f-links { display: none; gap: 2.8cqw; font-size: 1.45cqw; }
.f-order { padding: 1.8cqw 4cqw; border-radius: 99cqw; border: .45cqw solid var(--fern); font-weight: 700; font-size: 3.4cqw; }
.f-body { position: relative; z-index: 2; display: grid; gap: 4cqw; padding: 2cqw 6cqw; }
.f-title { font-weight: 700; font-size: 15.5cqw; line-height: .86; letter-spacing: -.02em; }
.f-title span { color: var(--pink); }
.f-tag { max-width: 15ch; font-size: 4.4cqw; line-height: 1.35; }
.f-btn { justify-self: start; padding: 3cqw 5.6cqw; border-radius: 99cqw; background: var(--fern); color: var(--sage); font-weight: 700; font-size: 3.6cqw; }
.f-bouquet { position: absolute; z-index: 1; right: -9cqw; bottom: 8cqw; width: 54cqw; height: auto; }
.f-blob { fill: var(--blush); }
.f-stems path { stroke: var(--leaf); stroke-width: 5; stroke-linecap: round; fill: none; }
.f-leaves ellipse { fill: var(--leaf); }
.f-euc circle { fill: #93b59c; }
.f-peony circle { fill: var(--pink); }
.f-peony .m { fill: #ea92ab; }
.f-peony .i { fill: var(--blush); }
.f-peony .p { fill: none; stroke: #b84a6c; stroke-width: 3; stroke-linecap: round; }
.f-peony--light circle { fill: #f0a7bb; }
.f-peony--light .m { fill: var(--blush); }
.f-peony--light .i { fill: #fbe4ea; }
.f-buds circle { fill: var(--gold); }
.f-wrap { fill: #fbfbf7; }
.f-wrap-fold { stroke: #d5dccf; stroke-width: 3; fill: none; }
.f-ribbon { stroke: var(--pink); stroke-width: 5; fill: none; stroke-linecap: round; }
.f-strip {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 0;
  padding: 2.6cqw 0;
  background: var(--fern); color: var(--blush);
  font-size: 3.6cqw; white-space: nowrap; overflow: hidden;
}
.f-strip span { display: inline-block; padding-left: 4cqw; animation: marquee 22s linear infinite; }
.f-strip i {
  display: inline-block; width: 1em; height: 1em; margin: 0 1em; vertical-align: -.12em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cg fill='%23f5cbd7'%3E%3Ccircle cx='10' cy='4.5' r='4'/%3E%3Ccircle cx='15.2' cy='8.3' r='4'/%3E%3Ccircle cx='13.2' cy='14.6' r='4'/%3E%3Ccircle cx='6.8' cy='14.6' r='4'/%3E%3Ccircle cx='4.8' cy='8.3' r='4'/%3E%3C/g%3E%3Ccircle cx='10' cy='10' r='3' fill='%23e3a53b'/%3E%3C/svg%3E") center / contain no-repeat;
}
@keyframes marquee { to { transform: translateX(-50%); } }
@container (min-width: 600px) {
  .f-nav { padding: 2.4cqw 5cqw; }
  .f-mark { font-size: 1.9cqw; }
  .f-links { display: flex; }
  .f-order { font-size: 1.35cqw; padding: .8cqw 1.8cqw; border-width: .2cqw; }
  .f-body { gap: 2cqw; padding: 2cqw 5cqw; max-width: 58cqw; }
  .f-title { font-size: 8.6cqw; }
  .f-tag { max-width: 21ch; font-size: 1.8cqw; }
  .f-btn { font-size: 1.45cqw; padding: 1.3cqw 2.4cqw; }
  .f-bouquet { right: 3cqw; bottom: 3cqw; width: 40cqw; }
  .f-strip { font-size: 1.5cqw; padding: 1.1cqw 0; }
}

/* --- inked: barbershop --- */
.mini--barber {
  --navy: #14213d; --red: #d62839; --white: #f5f6f8; --pole-blue: #2b59c3;
  background: var(--navy) radial-gradient(120cqw 60cqw at 70% 0%, rgba(255, 255, 255, .07), transparent 60%);
  color: var(--white);
  font-family: Ultra, Rockwell, 'Roboto Slab', Georgia, serif;
}
.b-pole { position: absolute; left: 7cqw; top: 6cqw; bottom: 17cqw; width: 10cqw; display: flex; flex-direction: column; }
.b-cap { flex: none; height: 4cqw; border-radius: 2cqw 2cqw .6cqw .6cqw; background: linear-gradient(90deg, #8a93a6, #eef0f4 45%, #8a93a6); }
.b-cap:last-child { border-radius: .6cqw .6cqw 2cqw 2cqw; }
.b-stripes { position: relative; flex: 1; margin: 0 1cqw; overflow: hidden; background: var(--white); box-shadow: inset -1.6cqw 0 2cqw rgba(0, 0, 0, .25), inset 1cqw 0 1.6cqw rgba(255, 255, 255, .5); }
.b-stripes::before {
  content: "";
  position: absolute;
  inset: -24cqw 0 0 0;
  background: repeating-linear-gradient(-35deg, var(--red) 0 3cqw, var(--white) 3cqw 6cqw, var(--pole-blue) 6cqw 9cqw, var(--white) 9cqw 12cqw);
  animation: pole 2.4s linear infinite;
}
@keyframes pole { to { transform: translateY(14.65cqw); } }
.b-body { position: absolute; left: 23cqw; right: 4cqw; top: 9cqw; display: grid; gap: 4cqw; }
.b-small { font-family: 'Arial Narrow', 'Roboto Condensed', Arial, sans-serif; font-weight: 700; font-size: 3.1cqw; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.b-small--muted { color: #aeb6c8; letter-spacing: .1em; }
.b-title { font-size: 8.6cqw; line-height: .96; text-transform: uppercase; letter-spacing: .01em; }
.b-title span { display: block; margin-top: .12em; font-size: 1.26em; color: transparent; -webkit-text-stroke: .5cqw var(--red); }
.b-sign { position: absolute; left: 30cqw; top: 76cqw; display: flex; flex-direction: column; align-items: center; transform: rotate(-4deg); transform-origin: top center; animation: swing 4s ease-in-out infinite alternate; }
.b-strings {
  width: 26cqw; height: 6cqw;
  --s: #aeb6c8;
  background:
    linear-gradient(to top right, transparent calc(50% - .25cqw), var(--s) calc(50% - .25cqw) calc(50% + .25cqw), transparent calc(50% + .25cqw)) left / 50% 100% no-repeat,
    linear-gradient(to top left, transparent calc(50% - .25cqw), var(--s) calc(50% - .25cqw) calc(50% + .25cqw), transparent calc(50% + .25cqw)) right / 50% 100% no-repeat;
}
.b-board { padding: 2.6cqw 5cqw; border-radius: 1.4cqw; background: var(--red); color: var(--white); font-size: 5.6cqw; line-height: 1.02; text-align: center; text-transform: uppercase; box-shadow: 0 0 0 .7cqw var(--navy), 0 0 0 1.2cqw var(--white); }
@keyframes swing { from { transform: rotate(-4deg); } to { transform: rotate(2deg); } }
.b-floor {
  position: absolute; left: 0; right: 0; bottom: 0; height: 10cqw;
  background: repeating-conic-gradient(var(--white) 0 25%, #0b1326 0 50%) 0 0 / 10cqw 10cqw;
  box-shadow: inset 0 1.2cqw 1.6cqw rgba(0, 0, 0, .35);
}
@container (min-width: 600px) {
  .b-pole { left: 7cqw; top: 6cqw; bottom: 12cqw; width: 5.2cqw; }
  .b-cap { height: 2cqw; }
  .b-stripes { margin: 0 .5cqw; }
  .b-stripes::before { inset: -14cqw 0 0 0; background: repeating-linear-gradient(-35deg, var(--red) 0 1.6cqw, var(--white) 1.6cqw 3.2cqw, var(--pole-blue) 3.2cqw 4.8cqw, var(--white) 4.8cqw 6.4cqw); animation-name: pole-wide; }
  .b-body { left: 19cqw; right: 30cqw; top: 13cqw; gap: 2cqw; }
  .b-small { font-size: 1.35cqw; }
  .b-title { font-size: 6.4cqw; }
  .b-title span { font-size: 1.36em; }
  .b-title span { -webkit-text-stroke-width: .28cqw; }
  .b-sign { left: auto; right: 6cqw; top: 0; }
  .b-strings { width: 13cqw; height: 8cqw; }
  .b-board { font-size: 2.5cqw; padding: 1.4cqw 2.4cqw; border-radius: .7cqw; box-shadow: 0 0 0 .35cqw var(--navy), 0 0 0 .6cqw var(--white); }
  .b-floor { height: 6cqw; background-size: 6cqw 6cqw; }
}
@keyframes pole-wide { to { transform: translateY(7.81cqw); } }

/* --- inked: law office --- */
.mini--law {
  --navy: #0f1f3a; --brass: #94713c; --mute: #5b6577; --bg: #f5f6f8;
  background: var(--bg);
  color: var(--navy);
  font-family: 'Cormorant Garamond', Garamond, 'Times New Roman', serif;
  text-align: center;
  border-top: 1.2cqw solid var(--navy);
}
.l-section { position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%); font-size: 110cqw; line-height: 1; color: var(--navy); opacity: .045; pointer-events: none; }
.l-nav { position: relative; display: grid; justify-items: center; gap: 1.6cqw; margin: 0 6cqw; padding: 5cqw 0 3.6cqw; border-bottom: .9cqw double var(--brass); }
.l-mark { font-weight: 600; font-size: 4.2cqw; letter-spacing: .28em; text-transform: uppercase; padding-left: .28em; }
.l-links { display: none; gap: 3cqw; font-size: 1.5cqw; font-style: italic; color: var(--mute); }
.l-body { position: relative; display: grid; justify-items: center; gap: 4.4cqw; padding: 10cqw 8cqw 6cqw; }
.l-kicker { font-size: 3cqw; letter-spacing: .3em; text-transform: uppercase; color: var(--brass); font-weight: 600; }
.l-title { font-weight: 500; font-size: 11cqw; line-height: 1; letter-spacing: -.01em; }
.l-title em { display: block; }
.l-areas { font-size: 3.4cqw; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); font-weight: 600; }
.l-btn { margin-top: 1cqw; padding: 2.6cqw 6cqw; border: .3cqw solid var(--navy); font-weight: 600; font-size: 3.4cqw; letter-spacing: .16em; text-transform: uppercase; }
.l-cols { display: none; }
@container (min-width: 600px) {
  .mini--law { border-top-width: .55cqw; }
  .l-section { font-size: 62cqw; top: 56%; }
  .l-nav { margin: 0 8cqw; padding: 2.4cqw 0 1.6cqw; gap: .8cqw; border-bottom-width: .45cqw; }
  .l-mark { font-size: 1.7cqw; }
  .l-links { display: flex; }
  .l-body { gap: 1.7cqw; padding: 4.4cqw 10cqw 3cqw; }
  .l-kicker { font-size: 1.15cqw; }
  .l-title { font-size: 5.2cqw; }
  .l-title em { display: inline; }
  .l-areas { font-size: 1.3cqw; }
  .l-btn { font-size: 1.2cqw; padding: 1.1cqw 2.4cqw; border-width: .14cqw; }
  .l-cols { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin: 1cqw 10cqw 0; border-top: 1px solid rgba(15, 31, 58, .2); }
  .l-cols div { display: grid; justify-items: center; gap: .8cqw; padding: 2cqw 1cqw; }
  .l-cols div + div { border-left: 1px solid rgba(15, 31, 58, .2); }
  .l-cols em { font-size: 1.8cqw; }
  .l-cols i { display: block; width: 70%; height: .45cqw; background: rgba(15, 31, 58, .12); }
  .l-cols i + i { width: 50%; }
}

/* ==========================================================================
   Statement
   ========================================================================== */
.statement { padding-block: calc(var(--section) * .6) var(--section); }
.statement__big {
  max-width: 17ch;
  font-family: "Story Script", sans-serif;
  font-style: normal;
  font-size: clamp(42px, 7vw, 112px);
  line-height: .98;
  letter-spacing: -.025em;
}
.statement__big em { color: var(--violet); }
.statement__body {
  display: grid;
  gap: 8px 48px;
  margin-top: clamp(40px, 5vw, 72px);
  font-size: 18px;
  color: var(--ink-2);
}
.statement__body p { max-width: 38ch; }
.statement__body strong { color: var(--ink); font-weight: 600; }
@media (min-width: 900px) {
  .statement__body { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-left: clamp(0px, 14vw, 220px); }
}

/* words ink in as they arrive */
.motion [data-ink-words] .w { color: var(--paper-2); transition: color .5s ease calc(var(--i) * 55ms); }
.motion [data-ink-words].is-in .w { color: inherit; }

/* ==========================================================================
   Process
   ========================================================================== */
.process { padding-block: var(--section); border-top: 1px solid var(--rule); }
.stages { list-style: none; margin: 0; padding: 0; display: grid; gap: 64px; }
@media (min-width: 900px) {
  .stages { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; }
  .stage:nth-child(2) { margin-top: 72px; }
  .stage:nth-child(3) { margin-top: 144px; }
}
.proof-card { margin: 0 0 30px; padding: 14px; background: var(--paper-hi); border: 1px solid var(--rule); border-radius: 4px; }
.proof-card svg { width: 100%; height: auto; overflow: visible; }
.stage h3 { display: grid; gap: 6px; margin-bottom: 14px; }
.stage__name { font-size: clamp(44px, 4.4vw, 64px); font-style: italic; line-height: .9; }
.stage__sub { font: 600 13px/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.stage p { margin: 0; max-width: 36ch; color: var(--ink-2); }

/* Sketch: pencil, wobbly, annotated in pen */
.sk { fill: none; stroke: var(--pencil); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sk-notes text { font-family: var(--f-pen); font-size: 17px; fill: var(--violet); }
.sk-notes path { fill: none; stroke: var(--violet); stroke-width: 1.4; stroke-linecap: round; }
/* Ink: crisp linework */
.ik { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ik .fill { fill: var(--ink); }
.ik .thin, .pr .thin { stroke-width: 3; opacity: .28; }
.ik-h, .pr-h { font-family: var(--f-display); font-size: 25px; font-weight: 500; letter-spacing: -.02em; stroke: none; fill: var(--ink); }
.ik-h--it, .pr-h--it { font-style: italic; }
.ik-btn, .pr-btn { font: 600 10px var(--f-body); text-anchor: middle; stroke: none; fill: var(--ink); }
/* Press: full colour, plates register on arrival */
.pr { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; }
.pr-page { fill: #fff; stroke: none; filter: drop-shadow(0 6px 10px rgba(21, 17, 31, .12)); }
.pr-plate { stroke: none; }
.pr-h--it { fill: var(--violet); }
.pr-btn { fill: var(--paper-hi); }

.motion .stage--sketch[data-reveal] .sk > * { stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 1.6s var(--ease-out); }
.motion .stage--sketch.is-in .sk > * { stroke-dashoffset: 0; }
.motion .stage--sketch .sk-notes { opacity: 0; transition: opacity .6s 1s; }
.motion .stage--sketch.is-in .sk-notes { opacity: 1; }
.motion .stage--press .pr-plate { transform: translate(5px, -4px); transition: transform .9s .5s var(--ease-ink); }
.motion .stage--press.is-in .pr-plate { transform: none; }

/* ==========================================================================
   Job ticket
   ========================================================================== */
.ticket-sec { padding-block: var(--section); background: var(--paper-2) var(--grain); overflow: clip; }
.ticket-sec__inner { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1000px) {
  .ticket-sec__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; }
  .ticket-sec .section-head { position: sticky; top: 48px; }
}
.ticket {
  position: relative;
  padding: 40px clamp(20px, 4vw, 48px) 46px;
  background: var(--paper-hi);
  box-shadow: 0 30px 60px -30px rgba(21, 17, 31, .35), 0 2px 0 rgba(21, 17, 31, .04);
  transform: rotate(-.6deg);
  -webkit-mask:
    radial-gradient(circle 7px at 50% 0, transparent 97%, #000) top / 18px 51% repeat-x,
    radial-gradient(circle 7px at 50% 100%, transparent 97%, #000) bottom / 18px 51% repeat-x;
          mask:
    radial-gradient(circle 7px at 50% 0, transparent 97%, #000) top / 18px 51% repeat-x,
    radial-gradient(circle 7px at 50% 100%, transparent 97%, #000) bottom / 18px 51% repeat-x;
}
.ticket__head {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-bottom: 14px; margin-bottom: 18px;
  border-bottom: 2px dashed var(--rule);
  font: 600 12.5px/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase;
}
.ticket__meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin: 0 0 30px; font-family: var(--f-mono); font-size: 14px; }
@media (min-width: 640px) { .ticket__meta { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, .7fr); } }
.ticket__meta dt { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.ticket__meta dd { margin: 2px 0 0; padding-bottom: 4px; border-bottom: 1px solid var(--rule); }
.ticket__you { font-family: var(--f-pen); font-size: 26px; line-height: .8; color: var(--violet); }
.ticket__cols { display: grid; gap: 30px; }
@media (min-width: 700px) { .ticket__cols { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; } }
.ticket__h { margin-bottom: 14px; font: 600 12.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.ticket__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.ticket__list li { position: relative; padding-left: 34px; }
.ticket__list strong { color: var(--ink); font-weight: 600; }
.ticket__list li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px;
  background: center / contain no-repeat;
}
.ticket__list--yes li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 13.5c2.2 1.4 4 3.6 5.4 6.2C11.2 12.4 15.6 7 21.5 3.2' fill='none' stroke='%236a35e0' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ticket__list--no li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4.5 4.8c5 4.4 10 9.4 15 14.6M19.4 4.2C13.8 8.6 9 13.8 4.6 19.6' fill='none' stroke='%238a8699' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E"); }
.ticket__list--no { color: var(--ink-3); }

.stamp {
  position: absolute;
  right: clamp(12px, 4vw, 40px);
  bottom: 38px;
  display: grid;
  justify-items: center;
  padding: 10px 18px 9px;
  border: 4px solid var(--violet);
  border-radius: 10px;
  color: var(--violet);
  font: 800 clamp(22px, 2.6vw, 32px)/1 var(--f-body);
  letter-spacing: .08em;
  text-transform: uppercase;
  transform: rotate(-11deg);
  opacity: .88;
  pointer-events: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.6 1.75'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.6 1.75'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}
.stamp::before { content: ""; position: absolute; inset: 4px; border: 1.5px solid currentColor; border-radius: 5px; }
.stamp small { margin-top: 5px; font: 600 10px/1 var(--f-mono); letter-spacing: .14em; }
.motion .ticket[data-reveal] .stamp { opacity: 0; transform: rotate(-11deg) scale(1.7); }
.motion .ticket.is-in .stamp { animation: thud .38s .7s cubic-bezier(.3, 1.6, .6, 1) both; }
@keyframes thud { from { opacity: 0; transform: rotate(-11deg) scale(1.7); } to { opacity: .88; transform: rotate(-11deg) scale(1); } }
@media (max-width: 699px) { .stamp { position: relative; right: auto; bottom: auto; justify-self: end; margin: 26px 0 0 auto; width: max-content; } .ticket { display: grid; } }

/* ==========================================================================
   Fine print
   ========================================================================== */
.fine { padding-block: var(--section); }
.fine__inner { display: grid; gap: 40px; }
@media (min-width: 1000px) {
  .fine__inner { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 72px; align-items: start; }
  .fine__head { position: sticky; top: 48px; }
}
.fine__aside { margin: 18px 0 0; font-family: var(--f-pen); font-size: 26px; line-height: 1; color: var(--violet); transform: rotate(-2deg); transform-origin: left; }
.fine__aside::before { content: "\2191  "; }
.fine__list { border-bottom: 1px solid var(--rule); }
.fine__list details { border-top: 1px solid var(--rule); }
.fine__list summary {
  display: grid;
  grid-template-columns: 1.6em minmax(0, 1fr) 28px;
  gap: 12px;
  align-items: baseline;
  padding: 26px 0;
  cursor: pointer;
  list-style: none;
}
.fine__list summary::-webkit-details-marker { display: none; }
.fine__mark { font-family: var(--f-display); font-size: clamp(26px, 2.4vw, 34px); line-height: 1; color: var(--violet); }
.fine__q { font-family: var(--f-display); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15; letter-spacing: -.01em; transition: color .2s; }
.fine__list summary:hover .fine__q { color: var(--violet); }
.fine__icon { position: relative; width: 22px; height: 22px; align-self: center; transition: transform .35s var(--ease-ink); }
.fine__icon::before, .fine__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 2.4px; border-radius: 2px; background: var(--ink); transform: translate(-50%, -50%) rotate(-3deg); }
.fine__icon::after { transform: translate(-50%, -50%) rotate(88deg); }
.fine__list details[open] .fine__icon { transform: rotate(45deg); }
.fine__a { padding: 0 40px 28px calc(1.6em + 12px); }
.fine__a p { margin: 0; max-width: 60ch; font-size: 17.5px; color: var(--ink-2); }
.fine__list details::details-content { block-size: 0; overflow: hidden; transition: block-size .4s var(--ease-ink), content-visibility .4s allow-discrete; }
.fine__list details[open]::details-content { block-size: auto; }
@media (max-width: 520px) { .fine__a { padding-left: 0; padding-right: 0; } }

/* ==========================================================================
   Contact — the ink pool
   ========================================================================== */
.contact {
  position: relative;
  margin-top: 120px;
  padding-block: clamp(40px, 6vw, 80px) clamp(64px, 8vw, 120px);
  background: var(--deep);
  color: var(--paper);
}
.contact__edge { position: absolute; left: 0; bottom: calc(100% - 1px); width: 100%; height: clamp(60px, 9vw, 140px); fill: var(--deep); }
.drop { position: absolute; border-radius: 50%; background: var(--deep); }
.drop--1 { width: 18px; height: 18px; left: 22%; top: clamp(-150px, -11vw, -86px); }
.drop--2 { width: 10px; height: 10px; left: 26%; top: clamp(-118px, -8vw, -66px); }
.drop--3 { width: 14px; height: 14px; left: 71%; top: clamp(-160px, -12vw, -92px); }
.contact__inner { position: relative; display: grid; gap: 40px; align-items: end; }
@media (min-width: 1000px) { .contact__inner { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; } }
.contact .pen-label { color: var(--violet-soft); }
.contact h2 { max-width: 15ch; font-size: clamp(40px, 5.6vw, 86px); }
.contact h2 em { color: var(--violet-soft); }
.contact__lede { max-width: 46ch; margin: 28px 0 40px; font-size: 18px; color: #c9c4d8; }
.contact__email {
  display: inline-block;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(30px, 5.2vw, 76px);
  line-height: 1.1;
  letter-spacing: -.02em;
  text-decoration: none;
  overflow-wrap: anywhere;
  background: var(--ink-grad-soft);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding: 0 .1em .12em 0;
  border-bottom: 2px solid rgba(185, 162, 255, .35);
  transition: border-color .25s;
}
.contact__email:hover { border-color: var(--violet-soft); }
.contact__email:focus-visible { outline-color: var(--violet-soft); }
.contact__alt { margin: 26px 0 0; }
.contact__alt a:focus-visible { outline-color: var(--violet-soft); }
.signature { display: grid; gap: 2px; margin: 52px 0 0; }
.signature__name { font-family: var(--f-pen); font-size: 40px; line-height: 1; color: var(--violet-soft); transform: rotate(-3deg); transform-origin: left; }
.signature__role { font: 500 12px/1.4 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: #a29db4; }
.contact__cloak { width: min(100%, 560px); height: auto; justify-self: center; margin-bottom: -12px; }
@media (max-width: 999px) { .contact__cloak { order: -1; width: min(78%, 420px); } }
.motion .contact__cloak { animation: bob 6s ease-in-out infinite alternate; }
@keyframes bob { to { transform: translateY(-10px) rotate(-.6deg); } }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--deep); color: #a29db4; padding: 8px 0 40px; font-size: 14.5px; }
.footer a { color: var(--paper); text-decoration: none; }
.footer a:hover { color: var(--violet-soft); }
.footer a:focus-visible { outline-color: var(--violet-soft); }
.colorbar { display: flex; align-items: flex-start; gap: 4px; padding: 28px 0 22px; border-top: 1px solid rgba(243, 242, 247, .1); }
.colorbar span {
  display: grid; gap: 6px; width: 36px;
  font: 500 10px/1 var(--f-mono); letter-spacing: .06em; color: #7d7891;
}
.colorbar span::before { content: ""; height: 18px; background: var(--c); border: 1px solid rgba(243, 242, 247, .14); }
.colorbar .reg { margin-left: 10px; color: #7d7891; }
.footer__row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 14px 36px; }
.footer__brand { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.footer__brand .brand__word { color: var(--paper); font-size: 24px; }
.footer__brand .brand__word em { background: var(--ink-grad-soft); -webkit-background-clip: text; background-clip: text; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__legal { margin: 0; font-family: var(--f-mono); font-size: 12.5px; }

/* ==========================================================================
   Inner pages (privacy, 404)
   ========================================================================== */
.doc { padding-block: clamp(40px, 7vw, 96px) var(--section); }
.doc__inner { max-width: 780px; }
.doc h1 { font-size: clamp(44px, 7vw, 96px); line-height: .98; letter-spacing: -.025em; margin-bottom: 28px; }
.doc .lede { max-width: 44ch; margin-bottom: clamp(48px, 7vw, 88px); }
.doc__block { padding-block: 40px; border-top: 1px solid var(--rule); }
.doc__block h2 { margin-bottom: 18px; font-size: clamp(26px, 3vw, 36px); line-height: 1.15; }
.doc__block p { max-width: 62ch; color: var(--ink-2); }
.doc__block p:last-child { margin-bottom: 0; }
.doc__block a { color: var(--ink); text-decoration-color: var(--violet); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.doc__block a:hover { color: var(--violet); }
.parties { margin: 8px 0 0; max-width: 62ch; }
.parties div { padding: 18px 0; border-top: 1px solid var(--rule); }
.parties div:first-child { border-top: 0; padding-top: 4px; }
.parties dt { font-weight: 600; margin-bottom: 4px; }
.parties dd { margin: 0; color: var(--ink-2); }
.back-link { font-size: 15px; }

.lost { min-height: calc(100svh - 84px); display: flex; align-items: center; padding-block: 40px 96px; }
.lost h1 { font-size: clamp(46px, 9vw, 136px); line-height: .95; letter-spacing: -.028em; margin-bottom: 32px; }
.lost .lede { margin-bottom: 36px; }

/* ==========================================================================
   Reveal on scroll (only when JS and motion are both on)
   ========================================================================== */
.motion [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.motion [data-reveal].is-in { opacity: 1; transform: none; }
.motion .ticket[data-reveal] { transform: translateY(26px) rotate(-.6deg); }
.motion .ticket[data-reveal].is-in { transform: rotate(-.6deg); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
}
