/* PLATIN v3 — platinweb.design
   Ruled editorial conversion system. One paper tone, hairline architecture,
   white reserved for cells and frames, ink for hero/CTA/footer with grain.
   Geist for headings/UI (scan speed), Cormorant for display moments + accents.
   Monochrome (colorblind-safe), 0 radius, hairlines everywhere. */

:root {
  --ink: #0A0A0A;
  --paper: #F2F0EC;
  --white: #FFFFFF;
  --paper-dim: #E8E6E1;
  --line: #DCD9D3;
  --line-dark: #2C2F33;
  --steel-900: #141516;
  --steel-700: #2C2F33;
  --steel-600: #45494E;
  --steel-500: #62666C;
  --steel-400: #8B9097;
  --steel-300: #AEB2B8;
  --steel-200: #CBCED2;

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Geist", Inter, system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 300ms;
  --dur-base: 700ms;

  --pad: clamp(1.25rem, 4vw, 3rem);
  --max: 1180px;

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.055 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.125rem);
  line-height: 1.6;
  overflow-x: hidden;
}
::selection { background: var(--ink); color: var(--paper); }
a, button, summary { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 0.8em 1.4em;
  font-size: 0.9375rem; font-weight: 500;
}
.skip-link:focus { left: 0; }
img { display: block; max-width: 100%; }
[id] { scroll-margin-top: 90px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }

/* ---------- type ---------- */
.eyebrow {
  font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--steel-500);
}
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.85rem); }
h3 { font-size: 1.3125rem; }
h2:not(.h-serif) em {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: 1.12em; line-height: 0; letter-spacing: 0;
  font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1;
}
.h-serif {
  font-family: var(--font-display); font-weight: 500; letter-spacing: 0.005em; line-height: 1.04;
  font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1;
}
h1.h-serif { font-size: clamp(3rem, 7vw, 5.9rem); line-height: 1.0; }
.h-serif em { font-style: italic; }
.lead { font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.3125rem); line-height: 1.55; max-width: 36em; text-wrap: pretty; }
.muted { color: var(--steel-600); }
.small { font-size: 0.9375rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.7em;
  font-family: var(--font-body); font-size: 0.9375rem; font-weight: 500;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 1.05em 1.9em; border: 1px solid var(--ink); cursor: pointer;
  background: var(--ink); color: var(--paper); white-space: nowrap; max-width: 100%;
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.btn::after { content: "→"; font-size: 1.1em; line-height: 0; transition: transform var(--dur-fast) var(--ease); }
.btn:hover::after { transform: translateX(0.3em); }
.btn:hover { background-color: transparent; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--steel-400); }
.btn--ghost:hover { border-color: var(--ink); background-color: transparent; }
.band--ink .btn, .hero .btn, .price-min .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.band--ink .btn:hover, .hero .btn:hover, .price-min .btn:hover { background-color: transparent; color: var(--paper); }
.band--ink .btn--ghost, .hero .btn--ghost { background: transparent; color: var(--paper); border-color: var(--steel-600); }
.band--ink .btn--ghost:hover, .hero .btn--ghost:hover { border-color: var(--paper); }
.btn-note { display: block; margin-top: 0.8rem; font-size: 0.875rem; color: var(--steel-500); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
/* dark header — sits over the ink hero, flips to paper once scrolled past it */
.site-header--dark { background: color-mix(in srgb, var(--ink) 80%, transparent); border-bottom-color: var(--line-dark); }
.site-header--dark .wordmark { color: var(--paper); }
.site-header--dark .site-nav a { color: var(--steel-300); }
.site-header--dark .site-nav a:hover, .site-header--dark .site-nav a[aria-current="page"] { color: var(--paper); }
.site-header--dark .site-nav a::after { background: var(--paper); }
.site-header--dark .lang-switch { color: var(--steel-400); }
.site-header--dark .lang-switch:hover { color: var(--paper); }
.site-header--dark .header-cta .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.site-header--dark .header-cta .btn:hover { background-color: transparent; color: var(--paper); }
.site-header--dark .nav-toggle { border-color: var(--steel-600); color: var(--paper); }
.site-header--dark .site-nav.open { background: var(--ink); border-bottom-color: var(--line-dark); }
.site-header .wrap {
  max-width: none; display: flex; align-items: center; justify-content: space-between;
  height: 70px; gap: 1.5rem;
}
.wordmark {
  font-family: var(--font-display); font-weight: 500; font-style: italic; letter-spacing: 0.07em; text-transform: uppercase;
  font-size: 1.4375rem; line-height: 1; color: var(--ink);
  transition: color var(--dur-fast) var(--ease);
}
.site-nav { display: flex; gap: 2rem; align-items: center; }
.site-nav a {
  position: relative; font-size: 0.9375rem; font-weight: 500; color: var(--steel-600);
  transition: color var(--dur-fast) var(--ease);
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -5px; height: 1px; width: 100%;
  background: var(--ink); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-fast) var(--ease);
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-cta { display: flex; align-items: center; gap: 1.25rem; }
.lang-switch { font-size: 0.8125rem; letter-spacing: 0.12em; color: var(--steel-500); text-transform: uppercase; }
.lang-switch:hover { color: var(--ink); }
.header-cta .btn { padding: 0.72em 1.4em; font-size: 0.8125rem; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--steel-400); color: var(--ink);
  width: 42px; height: 42px; cursor: pointer;
}
.nav-toggle i { display: block; width: 17px; height: 1px; background: currentColor; transition: transform var(--dur-fast) var(--ease); }
.nav-toggle i + i { margin-top: 5px; }
.nav-toggle[aria-expanded="true"] i:first-child { transform: translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] i + i { transform: translateY(-3px) rotate(-45deg); }
@media (max-width: 920px) {
  .site-nav { display: none; }
  .site-nav.open {
    display: flex; position: fixed; inset: 70px 0 auto 0; flex-direction: column; align-items: flex-start;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 1.25rem var(--pad) 1.75rem; gap: 1.1rem; z-index: 49;
  }
  .site-nav.open a { font-size: 1.0625rem; }
  .nav-toggle { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; }
}
@media (max-width: 560px) { .header-cta .btn { display: none; } }
/* mobile-menu booking CTA — only inside the open mobile nav */
.nav-book { display: none; }
@media (max-width: 920px) {
  .site-nav.open .nav-book {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--ink); color: var(--paper); border: 1px solid var(--ink);
    padding: 0.85em 1.4em; margin-top: 0.4rem;
    font-size: 0.9375rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase;
  }
  .site-header--dark .site-nav.open .nav-book { background: var(--paper); color: var(--ink); border-color: var(--paper); }
}

/* ---------- bands (sections) ---------- */
.band { padding-block: clamp(4.5rem, 11vh, 7.5rem); }
.band + .band { border-top: 1px solid var(--line); }
.band--ink { background: var(--ink); color: var(--paper); }
.band--ink .eyebrow { color: var(--steel-400); }
.band--ink .muted { color: var(--steel-300); }
.band-head { max-width: 800px; margin-bottom: clamp(2.5rem, 5.5vh, 3.75rem); }
.band-head .eyebrow { display: block; margin-bottom: 1rem; }
.band-head .lead { margin-top: 1.2rem; color: var(--steel-600); }
.band--ink .band-head .lead { color: var(--steel-300); }
.band-foot { margin-top: clamp(2rem, 4vh, 3rem); display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.band-foot--center { justify-content: center; }

/* section header row: eyebrow left, index numeral right, hairline under */
.bh-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  border-bottom: 1px solid var(--line); padding-bottom: 0.85rem; margin-bottom: 2rem;
}
.band-head .bh-row { max-width: none; }
.band-head .bh-row:last-child { margin-bottom: 0; }
.bh-row .eyebrow { margin-bottom: 0; }
.sec-no {
  font-family: var(--font-display); font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1;
  font-size: 1.05rem; line-height: 1; color: var(--steel-500); letter-spacing: 0.08em;
}
.band--ink .bh-row { border-color: var(--line-dark); }

.link-more {
  font-size: 0.9375rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase;
  border-bottom: 1px solid var(--steel-400); padding-bottom: 0.2em;
  transition: border-color var(--dur-fast) var(--ease);
}
.link-more:hover { border-color: var(--ink); }

/* funkce deep-links row (cenik) */
.funkce-row { margin-top: clamp(2rem, 4vh, 2.75rem); text-align: center; }
.funkce-row > span { display: block; margin-bottom: 1rem; }
.funkce-links { display: flex; justify-content: center; gap: 1.1rem 2rem; flex-wrap: wrap; }

/* ---------- hero (ink) ---------- */
.hero {
  position: relative;
  background-color: var(--ink); color: var(--paper);
  padding: calc(70px + clamp(4rem, 10vh, 7rem)) 0 clamp(3.75rem, 8vh, 5.75rem);
}
.hero .eyebrow { display: block; color: var(--steel-400); margin-bottom: 1.5rem; }
.hero h1 { max-width: 11.5em; }
.hero .lead { margin-top: 1.85rem; color: var(--steel-200); max-width: 33em; }
.hero .lead strong { color: var(--paper); font-weight: 500; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.6rem; }
@media (max-width: 420px) {
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .btn { white-space: normal; }
}
.hero-strip {
  display: flex; flex-wrap: wrap; gap: 0.6rem 3rem;
  margin-top: clamp(3rem, 8vh, 5rem); padding-top: 1.5rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.9375rem; color: var(--steel-400);
}
.hero-strip strong { color: var(--paper); font-weight: 500; }

/* ---------- stat band ---------- */
.stat-band { border-block: 1px solid var(--line); background: var(--white); }
.stat-band .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; padding-block: 2.1rem; }
.stat-band .wrap > div + div { border-left: 1px solid var(--line); padding-left: 2.5rem; }
.stat-band strong {
  display: block; font-family: var(--font-display); font-weight: 500;
  font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1;
  font-size: clamp(1.7rem, 2.6vw, 2.15rem); line-height: 1.15; letter-spacing: 0;
}
.stat-band span { font-size: 0.9375rem; color: var(--steel-600); }
@media (max-width: 720px) {
  .stat-band .wrap { grid-template-columns: 1fr; gap: 1.4rem; }
  .stat-band .wrap > div + div { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 1.4rem; }
}

/* ---------- cards & grids (ruled: shared hairlines, no floating boxes) ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); }
.grid-2, .grid-3, .grid-4 { gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid-2 > *, .grid-3 > *, .grid-4 > * { background: var(--white); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 0; padding: clamp(1.6rem, 3vw, 2.1rem);
  display: flex; flex-direction: column; gap: 0.7rem;
}
.card h3 { font-size: 1.1875rem; }
.card p { font-size: 0.9875rem; color: var(--steel-600); line-height: 1.55; }
.list-dash { list-style: none; margin-top: 0.2rem; }
.list-dash li {
  position: relative; padding: 0.5rem 0 0.5rem 1.5rem;
  font-size: 0.9875rem; color: var(--steel-600); line-height: 1.5;
}
.list-dash li::before { content: "—"; position: absolute; left: 0; color: var(--steel-400); }
.card .list-dash li { border-bottom: 1px solid var(--paper-dim); }
.card .list-dash li:last-child { border-bottom: 0; padding-bottom: 0; }
.steps .list-dash { margin-top: 0.85rem; position: relative; z-index: 1; }
.steps .list-dash li { padding-block: 0.32rem; }
.card .card-link { margin-top: auto; padding-top: 0.6rem; font-size: 0.875rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }
.card .card-link::after { content: " →"; }
.card .card-link:hover { text-decoration: underline; text-underline-offset: 4px; }
a.card { transition: background-color var(--dur-fast) var(--ease); }
a.card:hover { background-color: var(--paper); }

.icon { width: 30px; height: 30px; stroke: var(--ink); stroke-width: 1.6; fill: none; stroke-linecap: square; margin-bottom: 0.5rem; }

/* ---------- feature bento (home) ---------- */
.bento-f { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.bento-f > * { background: var(--white); padding: clamp(2rem, 3.8vw, 2.9rem); display: flex; flex-direction: column; gap: 0.7rem; min-height: 16rem; transition: background-color var(--dur-fast) var(--ease); }
.bento-f > a:hover { background-color: var(--paper); }
.bento-f h3 { font-size: clamp(1.3125rem, 1.8vw, 1.5rem); }
.bento-f p { font-size: 1.0313rem; color: var(--steel-600); line-height: 1.58; max-width: 30em; }
.bento-f .card-link { margin-top: auto; padding-top: 1.1rem; font-size: 0.875rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }
.bento-f .card-link::after { content: " →"; }
.bf-wide { grid-column: span 2; }
.bf-ink {
  background: var(--ink); color: var(--paper); min-height: 0;
  grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
}
.bf-ink p { color: var(--steel-300); }
.bf-ink.bf-ink:hover { background-color: var(--steel-900); }
.bf-ink h3 { color: var(--paper); font-size: clamp(1.5rem, 2.6vw, 2rem); }
.bf-ink .card-link { color: var(--paper); margin-top: 0; padding-top: 0; white-space: nowrap; }
.bf-ink .bf-ink-text { display: flex; flex-direction: column; gap: 0.5rem; }
/* ---- bento mini product mockups (monochrome, CSS-only) ---- */
.bf-vis { margin-bottom: 1rem; }
.mini-web { border: 1px solid var(--line); padding: 0.75rem; display: flex; flex-direction: column; gap: 0.5rem; max-width: 210px; }
.mini-web .mw-bar { display: flex; gap: 4px; padding-bottom: 0.55rem; border-bottom: 1px solid var(--line); }
.mini-web .mw-bar i { width: 6px; height: 6px; background: var(--steel-300); }
.mini-web .mw-l1 { height: 9px; width: 82%; background: var(--steel-700); }
.mini-web .mw-l2 { height: 6px; width: 54%; background: var(--steel-200); }
.mini-web .mw-cta { align-self: flex-start; font-size: 0.625rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; background: var(--ink); color: var(--paper); padding: 0.35em 0.75em; margin-top: 0.15rem; }

.mini-cal { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; max-width: 200px; }
.mini-cal span { font-size: 0.5625rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--steel-500); text-align: center; }
.mini-cal i { height: 17px; border: 1px solid var(--line); }
.mini-cal i.f { background: var(--ink); border-color: var(--ink); }

.mini-rev { display: flex; flex-direction: column; gap: 0.55rem; max-width: 210px; }
.mini-rev .stars { font-size: 1.1rem; letter-spacing: 0.16em; line-height: 1; }
.mini-rev .rev-row { display: flex; align-items: center; gap: 0.55rem; }
.mini-rev .rev-row b { width: 16px; height: 16px; background: var(--paper-dim); flex-shrink: 0; }
.mini-rev .rev-row i { height: 6px; background: var(--steel-200); flex: 1; }
.mini-rev .rev-row i.short { max-width: 58%; }

.mini-sms { display: flex; flex-direction: column; gap: 0.4rem; max-width: 220px; }
.mini-sms .b { font-size: 0.6875rem; line-height: 1.3; padding: 0.45em 0.75em; max-width: 85%; }
.mini-sms .b.in { background: var(--paper-dim); color: var(--steel-600); align-self: flex-start; }
.mini-sms .b.out { background: var(--ink); color: var(--paper); align-self: flex-end; }

.mini-serp { display: flex; flex-direction: column; gap: 5px; max-width: 300px; }
.mini-serp .srow { display: flex; align-items: center; gap: 0.7rem; border: 1px solid transparent; padding: 0.4rem 0.55rem; }
.mini-serp .srow i.bar { height: 7px; background: var(--steel-200); flex: 1; }
.mini-serp .srow em { font-size: 0.6875rem; font-style: normal; color: var(--steel-500); white-space: nowrap; }
.mini-serp .srow.you { border-color: var(--ink); background: var(--paper); }
.mini-serp .srow.you i.bar { background: var(--steel-600); }
.mini-serp .srow.you em { color: var(--ink); font-weight: 500; }

/* micro-visuals in cells (legacy, kept for any reuse) */
.bf-stars { font-size: 1.5rem; letter-spacing: 0.18em; line-height: 1; margin-bottom: 0.4rem; }
.bf-bubble { align-self: flex-start; background: var(--ink); color: var(--paper); font-size: 0.875rem; padding: 0.5em 1em; margin-bottom: 0.4rem; }
.bf-cal { display: flex; gap: 5px; margin-bottom: 0.55rem; }
.bf-cal i { width: 20px; height: 20px; border: 1px solid var(--line); }
.bf-cal i.full { background: var(--ink); border-color: var(--ink); }
.bf-cal i.half { background: var(--steel-300); border-color: var(--steel-300); }
.bf-serp { align-self: flex-start; border: 1px solid var(--ink); font-size: 0.875rem; padding: 0.5em 1em; margin-bottom: 0.4rem; }
.bf-serp strong { font-weight: 600; }
@media (max-width: 880px) { .bento-f { grid-template-columns: 1fr 1fr; } .bf-wide { grid-column: span 2; } }
@media (max-width: 560px) { .bento-f { grid-template-columns: 1fr; } .bf-wide { grid-column: auto; } }

/* ---------- work (passe-partout frames + index numerals) ---------- */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.75rem, 3.5vw, 2.5rem); counter-reset: wk; }
.work-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .work-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .work-grid, .work-grid--3 { grid-template-columns: 1fr; } }
.work-card { display: block; counter-increment: wk; }
.work-frame {
  border: 1px solid var(--line); background: var(--white); overflow: hidden;
  aspect-ratio: 16 / 10; padding: clamp(8px, 1vw, 12px);
}
.work-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; border: 1px solid var(--line); transition: transform 1.2s var(--ease); }
a.work-card:hover .work-frame img { transform: scale(1.02); }
.work-caption { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-top: 0.95rem; flex-wrap: wrap; }
.work-caption h3, .work-caption h2 { font-size: 1.125rem; letter-spacing: -0.02em; }
.work-caption h3::before, .work-caption h2::before {
  content: counter(wk, decimal-leading-zero);
  font-family: var(--font-display); font-weight: 500; font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1;
  color: var(--steel-500); font-size: 0.9em; margin-right: 0.65em; letter-spacing: 0.05em;
}
.work-caption p { font-size: 0.8125rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel-500); }
.work-note { font-size: 0.9375rem; color: var(--steel-600); padding-top: 0.35rem; max-width: 34em; }

/* ---------- steps (process strip) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.steps > div { background: var(--white); padding: clamp(1.75rem, 3.5vw, 2.5rem); position: relative; overflow: hidden; }
.step-no {
  position: absolute; top: 0.4rem; right: 1.1rem; z-index: 0;
  font-family: var(--font-display); font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1;
  font-size: clamp(4.5rem, 8vw, 6rem); line-height: 1; color: #ECE9E3;
  margin: 0; user-select: none;
}
.steps :is(h2, h3), .steps p, .steps .icon { position: relative; z-index: 1; }
.steps .icon { margin-bottom: 1rem; }
.steps :is(h2, h3) { margin-bottom: 0.2rem; font-size: 1.3125rem; }
.steps .step-title { letter-spacing: -0.02em; }
.steps :is(h2, h3) small {
  display: inline-block; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--steel-600); border: 1px solid var(--line); padding: 0.3em 0.85em; margin-top: 0.7rem;
}
.steps p { font-size: 0.9875rem; color: var(--steel-600); margin-top: 0.85rem; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ---------- guarantee bento ---------- */
.bento {
  display: grid; grid-template-columns: 1.25fr 1fr 1fr;
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.bento > div { background: var(--white); padding: clamp(1.6rem, 3vw, 2.25rem); }
.bento .b-main { grid-row: span 2; display: flex; flex-direction: column; justify-content: center; }
.bento .b-main .h-serif { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.bento .b-main p { margin-top: 1.1rem; max-width: 26em; }
.bento .b-ink { background-color: var(--ink); color: var(--paper); }
.bento .b-ink p { color: var(--steel-300); }
.bento .b-no {
  display: block; font-family: var(--font-display); font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1;
  font-size: 2.4rem; line-height: 1; color: var(--steel-400); margin-bottom: 0.9rem;
}
.bento .b-ink .b-no { color: var(--steel-500); }
.bento h3 { font-size: 1.125rem; margin-bottom: 0.35rem; }
.bento p { font-size: 0.9375rem; color: var(--steel-600); }
@media (max-width: 880px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento .b-main { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .bento .b-main { grid-column: auto; } }

/* ---------- pricing minimal (Kai-style single card) ---------- */
.price-switch { display: inline-flex; border: 1px solid var(--line-dark); margin-bottom: 1.6rem; }
.ps-opt {
  background: none; border: 0; cursor: pointer; color: var(--steel-400);
  font-family: var(--font-body); font-size: 0.8125rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 0.6em 1.4em;
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.ps-opt:hover { color: var(--paper); }
.ps-opt.active { background-color: var(--paper); color: var(--ink); }
.price-min .p-y { display: none; }
.price-min.yearly .p-m { display: none; }
.price-min.yearly .p-y { display: inline; }

.price-min {
  position: relative;
  max-width: 560px; margin: 0 auto; text-align: center;
  background-color: var(--ink); color: var(--paper);
  padding: clamp(2.5rem, 5.5vw, 3.5rem) clamp(1.75rem, 4vw, 3rem);
}
.price-min .eyebrow { color: var(--steel-400); display: block; margin-bottom: 1.4rem; }
.price-min .price-amount { color: var(--paper); }
.price-min-note { margin-top: 1.1rem; color: var(--steel-300); font-size: 0.9875rem; }
.price-min ul { list-style: none; margin: 1.85rem 0 2.1rem; border-top: 1px solid var(--line-dark); }
.price-min li { padding: 0.74rem 0; border-bottom: 1px solid var(--line-dark); font-size: 0.9875rem; color: var(--steel-200); }
.price-min .btn { width: 100%; }
.price-min-sub { display: block; margin-top: 1.05rem; font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--steel-400); }

.price-amount {
  font-family: var(--font-display); font-weight: 500; font-size: clamp(3.1rem, 7vw, 4.6rem); line-height: 1;
  font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1;
}
.price-amount small { font-size: 0.38em; font-family: var(--font-body); font-weight: 400; color: var(--steel-300); letter-spacing: 0; }

/* ---------- FAQ (ruled list, unboxed) ---------- */
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem;
  padding: 1.4rem 0.1rem 1.4rem 0; font-weight: 600; font-size: 1.125rem; letter-spacing: -0.01em;
  transition: color var(--dur-fast) var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--steel-500); font-weight: 400; font-size: 1.25rem; transition: transform var(--dur-fast) var(--ease); flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover::after { color: var(--ink); }
.faq .faq-body { padding: 0 0 1.6rem; color: var(--steel-600); max-width: 44em; font-size: 1rem; }
.faq .faq-body p + p { margin-top: 0.7em; }

/* ---------- CTA band (ink) ---------- */
.cta-band { background-color: var(--ink); color: var(--paper); padding-block: clamp(3.5rem, 9vh, 6rem); position: relative; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { max-width: 14em; }
.cta-band .h-serif { font-size: clamp(2rem, 4.2vw, 3.2rem); }
.cta-band p { color: var(--steel-300); margin-top: 0.9rem; max-width: 30em; }
.cta-cat { position: absolute; top: 0; right: var(--pad); transform: translateY(-100%); width: 38px; height: 38px; color: var(--steel-600); animation: catBreathe 6s ease-in-out infinite; transform-origin: bottom center; }
@keyframes catBreathe { 0%, 100% { transform: translateY(-100%) scale(1); } 50% { transform: translateY(-100%) scale(1.025); } }
@media (prefers-reduced-motion: reduce) { .cta-cat { animation: none; } }

/* staggered reveal helper */
.reveal.d1 { transition-delay: 100ms; }
.reveal.d2 { transition-delay: 200ms; }
.reveal.d3 { transition-delay: 300ms; }

/* ---------- qualifying funnel (booking) ---------- */
.qf { max-width: 640px; margin: 0 auto; border: 1px solid var(--line); background: var(--white); }
.qf-screen, .qf-form { padding: clamp(1.75rem, 4vw, 2.75rem); }
.qf-intro { text-align: center; }
.qf-intro .h-serif { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.qf-intro p.muted { margin: 0.9rem auto 1.6rem; max-width: 30em; }
.qf-alt { font-size: 0.875rem; color: var(--steel-500); margin-top: 1.2rem; }
.qf-alt a { border-bottom: 1px solid var(--steel-400); padding-bottom: 0.1em; }
.qf-alt a:hover { border-color: var(--ink); color: var(--ink); }
.qf-progress { height: 2px; background: var(--line); margin-bottom: 1.85rem; }
.qf-progress span { display: block; height: 100%; width: 20%; background: var(--ink); transition: width var(--dur-base) var(--ease); }
.qf-step { border: 0; padding: 0; margin: 0; min-inline-size: 0; }
.qf-step[hidden], .qf-screen[hidden], .qf-form[hidden] { display: none; }
.qf-step legend { display: block; font-size: clamp(1.1875rem, 2.2vw, 1.4rem); font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; margin-bottom: 1.2rem; padding: 0; }
.qf-opts { display: grid; gap: 0.6rem; }
.qf-opts button {
  text-align: left; background: var(--white); border: 1px solid var(--line);
  padding: 0.95em 1.15em; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  cursor: pointer; transition: border-color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.qf-opts button:hover { border-color: var(--ink); background: var(--paper); }
.qf-opts button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.qf-contact { display: grid; gap: 1rem; }
.qf-contact legend { margin-bottom: 0.4rem; }
.qf-contact label { display: grid; gap: 0.4rem; font-size: 0.875rem; font-weight: 500; color: var(--steel-600); }
.qf-contact input {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink); background: var(--white);
  border: 1px solid var(--line); padding: 0.8em 0.9em; width: 100%;
}
.qf-contact input::placeholder { color: var(--steel-400); }
.qf-contact input:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.qf-opt-tag { font-weight: 400; color: var(--steel-400); text-transform: none; letter-spacing: 0; }
.qf-contact .btn { width: 100%; margin-top: 0.4rem; }
.qf-contact .btn[disabled] { opacity: 0.6; cursor: default; }
.qf-fine { font-size: 0.8125rem; color: var(--steel-500); text-align: center; line-height: 1.5; }
.qf-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.6rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.qf-back { background: none; border: 0; cursor: pointer; font-family: var(--font-body); font-size: 0.875rem; font-weight: 500; color: var(--steel-600); padding: 0; }
.qf-back:hover { color: var(--ink); }
.qf-back[hidden] { display: none; }
.qf-count { font-size: 0.8125rem; color: var(--steel-500); letter-spacing: 0.04em; margin-left: auto; }
.qf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.qf-done { text-align: center; }
.qf-done .h-serif { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.qf-done p { margin-top: 0.9rem; color: var(--steel-600); }
.qf-done a { border-bottom: 1px solid var(--steel-400); }
.qf-done .qf-cal { display: inline-block; margin-top: 1.4rem; border-bottom: 1px solid var(--steel-400); padding-bottom: 0.2em; font-weight: 500; }
.qf-done .qf-cal:hover { border-color: var(--ink); }

/* ---------- booking / calendly ---------- */
.book-strip {
  display: flex; flex-wrap: wrap; gap: 0.6rem 3rem;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding-block: 1.1rem; margin-bottom: 2rem;
  font-size: 0.9375rem; color: var(--steel-600);
}
.book-strip strong { color: var(--ink); font-weight: 500; }
.calendly-shell { max-width: 1000px; border: 1px solid var(--line); background: var(--white); }
.calendly-inline-widget { min-height: 700px; }
.book-fallback { padding: clamp(2.5rem, 7vh, 4rem) var(--pad); display: none; text-align: center; }
.book-fallback .h-serif { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.book-fallback p { margin-top: 0.9rem; color: var(--steel-600); }
.book-contacts { margin-top: 1.6rem; display: flex; justify-content: center; gap: 2.25rem; flex-wrap: wrap; }
.book-contacts a { border-bottom: 1px solid var(--steel-400); padding-bottom: 0.15em; font-weight: 500; }
.book-contacts a:hover { border-color: var(--ink); }

/* ---------- mockups (feature visuals, CSS only) ---------- */
.mock { background: var(--white); border: 1px solid var(--line); padding: 1.5rem; max-width: 420px; }
.mock-label { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--steel-500); margin-bottom: 1rem; }

.mock-sms .bubble { max-width: 85%; padding: 0.7rem 1rem; font-size: 0.9375rem; line-height: 1.45; margin-bottom: 0.6rem; }
.mock-sms .in { background: var(--paper-dim); color: var(--steel-600); }
.mock-sms .out { background: var(--ink); color: var(--paper); margin-left: auto; }
.mock-sms time { display: block; font-size: 0.75rem; color: var(--steel-500); margin-bottom: 0.6rem; }
.mock-review .mock-cap { font-size: 0.9375rem; color: var(--steel-600); line-height: 1.5; margin-top: 0.2rem; }

.mock-review .stars { font-size: 1.4rem; letter-spacing: 0.15em; margin-bottom: 0.6rem; }
.mock-review blockquote { font-size: 0.9875rem; color: var(--steel-600); }
.mock-review cite { display: block; font-style: normal; font-size: 0.8125rem; color: var(--steel-500); margin-top: 0.6rem; }

.mock-cal { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.mock-cal span { font-size: 0.6875rem; text-align: center; color: var(--steel-500); padding-bottom: 2px; }
.mock-cal div { height: 30px; border: 1px solid var(--line); }
.mock-cal div.full { background: var(--ink); }
.mock-cal div.half { background: var(--steel-300); }

.mock-web .mw-bar { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); padding: 0.55rem 0.8rem; margin-bottom: 1.1rem; }
.mock-web .mw-bar i { width: 9px; height: 9px; background: var(--ink); }
.mock-web .mw-bar span { width: 26px; height: 4px; background: var(--steel-200); }
.mock-web .mw-bar b, .mock-web .mw-cta b {
  font-size: 0.6875rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em;
  background: var(--ink); color: var(--paper); padding: 0.45em 0.9em;
}
.mock-web .mw-bar b { margin-left: auto; }
.mock-web .mw-h1 { height: 14px; background: var(--steel-700); margin-bottom: 8px; width: 85%; }
.mock-web .mw-h1.short { width: 55%; }
.mock-web .mw-sub { height: 6px; background: var(--steel-200); width: 70%; margin: 14px 0 18px; }
.mock-web .mw-cta { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; }
.mock-web .mw-cta b { padding: 0.7em 1.2em; }
.mock-web .mw-cta span { font-size: 0.75rem; color: var(--steel-500); }

.mock-serp .serp-bar { border: 1px solid var(--line); padding: 0.6rem 1rem; font-size: 0.9375rem; color: var(--steel-600); margin-bottom: 1rem; }
.mock-serp .serp-item { padding: 0.7rem 0; border-top: 1px solid var(--paper-dim); }
.mock-serp .serp-item strong { display: block; font-size: 0.9875rem; font-weight: 500; }
.mock-serp .serp-item span { font-size: 0.8125rem; color: var(--steel-500); }
.mock-serp .serp-item.you { background: var(--paper); outline: 1px solid var(--ink); padding-inline: 0.8rem; }

/* ---------- feature page hero ---------- */
.feature-hero { padding: calc(70px + clamp(3rem, 7vh, 5rem)) 0 clamp(3rem, 7vh, 5rem); }
.feature-hero .eyebrow { display: block; margin-bottom: 1.25rem; }
.feature-hero .grid-hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
@media (max-width: 880px) { .feature-hero .grid-hero { grid-template-columns: 1fr; } }

/* ---------- footer (ink) ---------- */
.site-footer { position: relative; background-color: var(--ink); color: var(--paper); padding-top: clamp(3rem, 7vh, 4.5rem); overflow: hidden; }
.footer-grid { display: flex; justify-content: space-between; gap: 3rem; flex-wrap: wrap; padding-bottom: clamp(2.5rem, 6vh, 4rem); }
.footer-col .footer-h { font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--steel-400); margin-bottom: 1rem; }
.footer-col a, .footer-col span { display: block; padding: 0.28rem 0; color: var(--steel-300); font-size: 0.9375rem; }
.footer-col a:hover { color: var(--paper); }
.footer-wordmark {
  font-family: var(--font-display); font-weight: 300; font-style: italic; letter-spacing: 0.08em; text-transform: uppercase;
  font-size: clamp(4.5rem, 16vw, 14rem); line-height: 0.72; text-align: center;
  color: var(--steel-900); user-select: none; margin-bottom: -0.05em;
}
.footer-wordmark::before { content: "Platin"; }
.footer-meta {
  position: relative; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  border-top: 1px solid var(--line-dark); padding-block: 1.3rem;
  font-size: 0.8125rem; color: var(--steel-400);
}
.footer-cat { position: absolute; right: 0; top: 1px; transform: translateY(-100%); width: 26px; height: 26px; color: var(--steel-700); }

/* light footer — for pages with a light hero (footer adapts to page tone) */
.site-footer--light { background-color: var(--paper-dim); color: var(--ink); background-image: none; }
.site-footer--light .footer-col a, .site-footer--light .footer-col span { color: var(--steel-600); }
.site-footer--light .footer-col .footer-h { color: var(--steel-500); }
.site-footer--light .footer-col a:hover { color: var(--ink); }
.site-footer--light .footer-wordmark { color: #DDDAD4; }
.site-footer--light .footer-meta { border-top-color: var(--line); color: var(--steel-500); }
.site-footer--light .footer-cat { color: var(--steel-300); }

/* ---------- mobile sticky CTA ---------- */
.sticky-cta {
  display: none; position: fixed; inset: auto 0 0 0; z-index: 60;
  background: var(--ink); color: var(--paper); text-align: center;
  font-size: 0.9375rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 1.05em 1.05em calc(1.05em + env(safe-area-inset-bottom, 0px));
}
@media (max-width: 720px) {
  .sticky-cta.visible { display: block; }
  body.has-sticky-cta { padding-bottom: 54px; }
}

/* ---------- grain on ink surfaces ---------- */
.hero {
  background-image: var(--grain), radial-gradient(110% 80% at 60% 0%, #17191B 0%, rgba(10, 10, 10, 0) 60%);
}
.site-footer, .cta-band, .band--ink, .price-min, .bf-ink, .bento .b-ink {
  background-image: var(--grain);
}
.site-footer--light { background-image: none; }

/* ---------- reveal (gated behind .js so no-JS shows everything) ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity var(--dur-base) var(--ease), transform var(--dur-base) var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
