/* ════════════════════════════════════════════════════════════════════
   VELDON "PROOF CUT" - atelier materials
   The check-V's real geometry is the interface: aperture, notch joins,
   cuts. Brand materials: paper, ink, oxblood, cream; Newsreader display
   + Switzer text. Claims sit next to proof. No costume, no numbering.
   ════════════════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/newsreader-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/newsreader-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/newsreader-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/newsreader-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Switzer';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/switzer-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Switzer';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/switzer-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Switzer';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/switzer-600.woff2') format('woff2');
}

/* the @font-face srcs below are mirrored by <link rel=preload> in the page heads */

/* ── Tokens ────────────────────────────────────────────────────────── */
:root {
  /* theme-color meta on all three pages = --paper */
  --ink: #161310;
  --paper: #F7F4EF;
  --cream: #E8E2D4;
  --oxblood: #722F37;
  --oxblood-deep: #5A252C;
  --ink-dim: #6B645A;      /* secondary on paper */
  --paper-dim: #B3AB9D;    /* secondary on ink */
  --rule-paper: #DAD5CC;
  --rule-ink: #322C24;
  --white: #FFFFFF;

  --serif: 'Newsreader', 'Georgia', serif;
  --sans: 'Switzer', 'Segoe UI', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(20px, 4.5vw, 64px);
  --maxw: 1440px;
  --header-h: 64px;
  /* the mark's silhouette as section geometry: notch dip at --notch-x (the
     mark's bottom vertex sits at 66% of its width; inner shoulder 58.5%/0.55
     derives from the check's short arm) */
  --notch: clamp(32px, 5vw, 72px);
  --notch-x: 66%;
  --notch-breath: 20px;
}

/* ── Reset ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  background: var(--ink);
  scrollbar-color: var(--rule-ink) var(--ink);
  scroll-padding-top: calc(var(--header-h) + 8px);
}
html.nav-open { overflow: hidden; }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--paper);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--oxblood); color: var(--white); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--rule-ink); }
::-webkit-scrollbar-thumb:hover { background: var(--paper-dim); }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.error-mark svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Fields (alternating scenes own their palette) ─────────────────── */
.field {
  --bg: var(--ink);
  --fg: var(--paper);
  --fg-dim: var(--paper-dim);
  --accent: var(--cream);
  --rule: var(--rule-ink);
  background: var(--bg);
  color: var(--fg);
  position: relative;
}
.field-snow {
  --bg: var(--paper);
  --fg: var(--ink);
  --fg-dim: var(--ink-dim);
  --accent: var(--oxblood);
  --rule: var(--rule-paper);
}
.field-oxblood {
  --bg: var(--oxblood);
  --fg: var(--white);
  --fg-dim: #E3C9CC;
  --accent: var(--white);
  --rule: #8A474F;
}

/* V-notch join: the upper field hands over with the check silhouette */
.notch-bottom {
  padding-bottom: calc(var(--notch) + var(--notch-breath));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), var(--notch-x) 100%, 58.5% calc(100% - var(--notch) * 0.55), 0 calc(100% - var(--notch)));
  margin-bottom: calc(-1 * var(--notch));
  z-index: 2;
}
/* follower clears the whole notch band so no content hides under the dip */
.notch-bottom + .field { padding-top: calc(var(--notch) + 4px); }

/* ── Voice ─────────────────────────────────────────────────────────── */
.kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.lnk {
  color: var(--fg);
  text-decoration: none;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 2px;
  padding-bottom: 2px;
  transition: color 0.25s var(--ease), background-size 0.3s var(--ease);
}
.lnk:hover { color: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .lnk { background-size: 0% 2px; }
  .lnk:hover, .lnk:focus-visible { background-size: 100% 2px; }
}
:focus-visible { outline: 3px solid var(--accent, var(--cream)); outline-offset: 3px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  background: var(--cream);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s var(--ease);
}
.btn:hover { background: var(--white); }
.field-snow .btn { background: var(--oxblood); color: var(--white); }
.field-snow .btn:hover { background: var(--oxblood-deep); }

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 300;
  background: var(--oxblood);
  color: var(--white);
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 10px; }

/* ── Header (sticky, solid ink) ────────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--paper);
  color: var(--ink);
  border-bottom: 1px solid var(--rule-paper);
}
.topbar .bar {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand-link { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; }
.brand-link .bwm { height: 18px; }
.brand-link .bwm svg { height: 100%; width: auto; display: block; overflow: visible; }
.brand-link:hover { color: var(--oxblood); }

.top-actions { display: flex; align-items: center; gap: clamp(14px, 2vw, 26px); }
.site-nav { display: flex; gap: clamp(16px, 2.2vw, 30px); }
.site-nav a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-dim);
  transition: color 0.2s var(--ease);
  padding: 6px 2px;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--oxblood); }
.top-mail {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  background: var(--oxblood);
  color: var(--white);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}
.top-mail:hover { background: var(--oxblood-deep); }

/* Menu: native <details>, works with no JS */
summary::-webkit-details-marker { display: none; }
.menu { position: relative; }
.menu > summary {
  list-style: none;
  cursor: pointer;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--rule-paper);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.menu > summary:hover, .menu[open] > summary { border-color: var(--oxblood); color: var(--oxblood); }
.menu-panel {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--paper);
  border-top: 1px solid var(--rule-paper);
  display: flex;
  flex-direction: column;
  padding: 4vh var(--gutter) 32px;
  overflow-y: auto;
  z-index: 190;
}
.menu-panel nav { display: flex; flex-direction: column; }
.menu-panel nav a {
  display: flex;
  align-items: baseline;
  min-height: 56px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 8vw, 52px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ink);
  padding-block: 12px;
  border-bottom: 1px solid var(--rule-paper);
}
.menu-panel nav a:hover, .menu-panel nav a[aria-current="page"] { color: var(--oxblood); }
.menu-panel .panel-foot {
  margin-top: auto;
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  align-items: baseline;
}
.menu-panel .panel-foot a { color: var(--ink); font-weight: 500; text-decoration: none; font-size: 17px; }
.menu-panel .panel-foot a:hover { color: var(--oxblood); }
.menu-panel .panel-foot .dim { color: var(--ink-dim); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }

/* ── Hero (ink) ────────────────────────────────────────────────────── */
.hero { overflow: clip; }
.hero .hero-inner {
  display: flex;
  flex-direction: column;
  padding-block: clamp(34px, 6vh, 68px) clamp(48px, 8vh, 92px);
  justify-content: center;
}
.hero-lockup { display: flow-root; }
/* the aperture floats inside the headline block; text wraps along the
   mark's left slope (shape polygon approximates the V's left arm) */
.hero-lockup .aperture {
  float: right;
  width: clamp(150px, 29vw, 390px);
  margin: 8px 0 14px clamp(18px, 3vw, 44px);
  shape-outside: polygon(33% 100%, 3% 0%, 100% 0%, 100% 100%);
  shape-margin: 18px;
}
.hero h1 {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 560;
  font-size: clamp(34px, 5.8vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.022em;
}
.hero .cred {
  margin-top: clamp(18px, 3vh, 28px);
  color: var(--fg-dim);
  font-size: clamp(15px, 1.2vw, 17.5px);
  max-width: 58ch;
}
.hero-ctas { margin-top: clamp(20px, 3.5vh, 30px); display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.hero-ctas .lnk { font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }

/* the aperture: the mark as a window */
.aperture { display: block; text-decoration: none; }
.aperture svg { width: 100%; height: auto; display: block; }
.aperture .v-edge { fill: none; stroke: var(--oxblood); stroke-width: 0.9; }
a.aperture:hover .v-edge { stroke: var(--ink); }
a.aperture:focus-visible { outline-offset: 6px; }
@media (prefers-reduced-motion: no-preference) {
  html.anim .aperture svg { opacity: 0; transform: translateY(10px) scale(0.99); animation: settle 0.6s var(--ease) 0.15s forwards; }
  html.anim .aperture .v-edge { stroke-dasharray: 100; stroke-dashoffset: 100; animation: draw 0.9s var(--ease) 0.55s forwards; }
  html.anim .hero h1, html.anim .hero .cred, html.anim .hero .hero-ctas { opacity: 0; animation: settle 0.55s var(--ease) forwards; }
  html.anim .hero h1 { animation-delay: 0.05s; }
  html.anim .hero .cred { animation-delay: 0.16s; }
  html.anim .hero .hero-ctas { animation-delay: 0.26s; }
  @keyframes settle { to { opacity: 1; transform: none; } }
  @keyframes draw { to { stroke-dashoffset: 0; } }
}

/* ── Reference rail (carousel) ─────────────────────────────────────── */
.rail-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding-block: clamp(30px, 5vh, 52px) clamp(18px, 3vh, 30px);
}
.rail-head h2, .services h2, .rail-controls { display: flex; gap: 10px; }
.rail-btn {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--rule);
  background: none;
  color: var(--fg);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), opacity 0.2s var(--ease);
}
.rail-btn:hover { border-color: var(--accent); color: var(--accent); }
.rail-btn[disabled] { opacity: 0.35; cursor: default; pointer-events: none; }
.rail-btn svg { width: 18px; height: 18px; display: block; }

.rail {
  list-style: none;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(552px, 43vw, 592px);
  gap: clamp(16px, 2.2vw, 28px);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  padding-bottom: 16px;
  scrollbar-color: var(--cream) var(--rule-ink);
  scrollbar-width: thin;
}
.rail::-webkit-scrollbar { height: 8px; }
.rail::-webkit-scrollbar-track { background: var(--rule-ink); margin-inline: var(--gutter); }
.rail::-webkit-scrollbar-thumb { background: var(--cream); }
.rail::-webkit-scrollbar-thumb:hover { background: var(--white); }
.rail-wrap { padding-bottom: clamp(40px, 7vh, 72px); }

.rail > li { display: flex; }
.card {
  height: 100%;
  --bg: var(--paper);
  --fg: var(--ink);
  --fg-dim: var(--ink-dim);
  --accent: var(--oxblood);
  --rule: var(--rule-paper);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--rule);
  background: var(--bg);
  color: var(--fg);
  min-width: 0;
}
.card .media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
  /* one shallow bottom slant echoing the mark's slope */
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), 0 100%);
}
.card .card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(16px, 2vw, 24px);
  flex: 1;
}
.card h3 {
  font-family: var(--serif);
  font-weight: 550;
  font-size: clamp(24px, 2.4vw, 32px);
  letter-spacing: -0.012em;
  line-height: 1.05;
}
.card .cat { color: var(--fg-dim); font-size: 14px; font-weight: 500; line-height: 1.35; }
.card .desc { color: var(--fg-dim); font-size: 15.5px; max-width: 52ch; }
.card .proof {
  margin-top: 4px;
  border-top: 1px solid var(--rule);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 112px;
}
.proof-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.proof-metrics dt { font-size: 12.5px; font-weight: 500; color: var(--fg-dim); }
.proof-metrics dd {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 560;
  font-size: clamp(26px, 2.4vw, 32px);
  line-height: 1;
  font-feature-settings: 'tnum' 1;
  color: var(--fg);
}
.proof-metrics dd span { font-size: 14px; color: var(--fg-dim); font-family: var(--sans); font-weight: 500; }
.card .pval { font-size: 16.5px; font-weight: 600; font-feature-settings: 'tnum' 1; color: var(--fg); }
.card .pquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  line-height: 1.32;
  color: var(--fg);
}
.card .pwho { font-size: 13px; font-weight: 500; color: var(--fg-dim); }
.card .visit { margin-top: auto; padding-top: 10px; align-self: flex-start; min-height: 44px; display: inline-flex; align-items: flex-end; font-size: 13px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; }

/* ── Services (paper, native disclosure) ───────────────────────────── */
.services { padding-block: clamp(40px, 6.5vh, 80px); }
.services .lead-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 28px; margin-bottom: clamp(20px, 3vh, 34px); }
.svc { border-top: 1px solid var(--rule); }
.svc:last-of-type { border-bottom: 1px solid var(--rule); }
.svc > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 62px;
  padding-block: 10px;
}
.svc .s-t {
  font-family: var(--serif);
  font-weight: 540;
  font-size: clamp(21px, 2.1vw, 28px);
  letter-spacing: -0.008em;
}
.svc .s-x {
  margin-left: auto;
  width: 34px;
  height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid var(--rule);
  color: var(--accent);
  font-size: 19px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.3s var(--ease), border-color 0.2s var(--ease);
}
.svc > summary:hover .s-x { border-color: var(--accent); }
.svc[open] .s-x { transform: rotate(45deg); }
.svc .s-body { padding: 2px 0 22px; color: var(--fg-dim); max-width: 62ch; }

/* ── Team (ink) ────────────────────────────────────────────────────── */
.team { padding-block: clamp(44px, 7vh, 88px); }
.team .lead-row { display: flex; align-items: baseline; gap: 20px; margin-bottom: clamp(24px, 4vh, 44px); }
/* compact rows like the previous veldon site: small photo, text beside */
.team .people { display: flex; flex-direction: column; }
.person {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  column-gap: clamp(18px, 3vw, 32px);
  row-gap: 4px;
  padding-block: clamp(20px, 3vh, 28px);
  border-top: 1px solid var(--rule);
  align-items: start;
}
.person:last-child { border-bottom: 1px solid var(--rule); }
.person .photo { grid-row: span 4; }
.person .photo img {
  width: 88px;
  aspect-ratio: 1;
  object-fit: cover;
}
.person .name {
  font-family: var(--serif);
  font-weight: 550;
  font-size: 23px;
  letter-spacing: -0.01em;
}
.person .role { color: var(--accent); font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.person p { color: var(--fg-dim); font-size: 15px; max-width: 62ch; }
.person .li-link {
  margin-top: 6px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rule);
  color: var(--fg);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.person .li-link svg { width: 18px; height: 18px; display: block; }
.person .li-link:hover { color: var(--accent); border-color: var(--accent); }

/* ── Price anchor (oxblood) ────────────────────────────────────────── */
.pricing-anchor { padding-block: clamp(52px, 9vh, 110px); }
.pricing-anchor .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 26px 48px;
}
.pricing-anchor h2 {
  font-family: var(--serif);
  font-weight: 540;
  font-size: clamp(30px, 4vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.018em;
  max-width: 21ch;
}
.pricing-anchor .go {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 26px;
  background: var(--paper);
  color: var(--oxblood-deep);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.pricing-anchor .go:hover { background: var(--ink); color: var(--paper); }

/* ── Contact + footer (paper) ──────────────────────────────────────── */
.contact { padding-block: clamp(48px, 8vh, 104px) clamp(36px, 5vh, 56px); }
.contact .kicker { margin-bottom: 14px; }
.mail-link {
  display: inline-block;
  font-family: var(--serif);
  font-weight: 550;
  font-size: clamp(34px, 6.6vw, 100px);
  letter-spacing: -0.02em;
  line-height: 1.02;
  text-decoration: none;
  color: var(--ink);
  max-width: 100%;
  overflow-wrap: anywhere;
  background-image: linear-gradient(var(--oxblood), var(--oxblood));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 3px;
  padding-bottom: 8px;
  transition: color 0.3s var(--ease);
}
.mail-link:hover { color: var(--oxblood); }

.site-footer { border-top: 1px solid var(--rule-ink); }
.site-footer .foot {
  padding-block: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--paper-dim);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.site-footer a:hover { color: var(--cream); }
.site-footer .legal { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; color: var(--paper-dim); font-size: 13px; }

/* ── Contact dialog (progressive over mailto) ──────────────────────── */
.contact-dialog {
  /* the global reset kills UA dialog centering - restore it explicitly */
  margin: auto;
  position: relative;
  border: 1px solid var(--rule-paper);
  background: var(--paper);
  color: var(--ink);
  padding: clamp(24px, 4vw, 40px);
  width: min(92vw, 520px);
  max-height: min(88svh, 720px);
  overflow-y: auto;
}
.contact-dialog::backdrop { background: rgba(22, 19, 16, 0.55); }
.cd-form { display: flex; flex-direction: column; gap: 14px; }
.cd-step { display: flex; flex-direction: column; gap: 14px; }
.cd-step[hidden] { display: none; }
.contact-dialog h2, .cd-choices legend {
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.08;
  letter-spacing: -0.015em;
}
.cd-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  color: var(--ink-dim);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.cd-close:hover { color: var(--oxblood); }
.cd-progress { margin: 0; color: var(--ink-dim); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.cd-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; border: 0; }
.cd-choices legend { grid-column: 1 / -1; width: 100%; margin-bottom: 4px; }
.cd-choice { position: relative; display: block; cursor: pointer; }
.cd-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.cd-choice span { display: flex; align-items: center; min-height: 48px; padding: 10px 14px; border: 1px solid var(--rule-paper); background: var(--white); }
.cd-choice input:checked + span { border-color: var(--oxblood); color: var(--oxblood); }
.cd-choice input:focus-visible + span, .contact-dialog [tabindex="-1"]:focus-visible { outline: 2px solid var(--oxblood); outline-offset: 2px; }
.cd-step-error { min-height: 1.4em; margin: 0; color: var(--oxblood); font-size: 14px; font-weight: 500; }
.cd-field { display: flex; flex-direction: column; gap: 6px; }
.cd-field span { font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-dim); }
.cd-field input, .cd-field textarea {
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--rule-paper);
  padding: 12px 14px;
  min-height: 48px;
  resize: vertical;
}
.cd-field input:focus-visible, .cd-field textarea:focus-visible { outline: 2px solid var(--oxblood); outline-offset: 1px; }
.cd-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cd-status { min-height: 1.4em; font-size: 14.5px; font-weight: 500; color: var(--ink-dim); margin: 0; }
.cd-status.ok { color: #2E6B3F; }
.cd-status.err { color: var(--oxblood); }
.cd-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.cd-submit { border: 0; cursor: pointer; font-family: inherit; background: var(--oxblood); color: var(--white); }
.cd-submit:hover { background: var(--oxblood-deep); }
.cd-submit[disabled] { opacity: 0.55; cursor: default; }
.cd-mail { font-size: 14px; }
.cd-handoff h2 { font-size: clamp(24px, 3vw, 32px); }
.cd-thanks { min-height: 220px; align-items: flex-start; justify-content: center; }
.cd-thanks .cd-thanks-close { border: 0; cursor: pointer; font-family: inherit; background: var(--oxblood); color: var(--white); }

@media (max-width: 480px) {
  .cd-choices { grid-template-columns: 1fr; }
}

/* ── Ceník page ────────────────────────────────────────────────────── */
.page-head { padding-block: clamp(40px, 7vh, 88px) clamp(28px, 5vh, 52px); }
.page-head h1 {
  font-family: var(--serif);
  font-weight: 540;
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 0.98;
  letter-spacing: -0.022em;
}
.page-head .lede { margin-top: 18px; color: var(--fg-dim); max-width: 52ch; font-size: 17px; }

.rates-wrap { padding-block: clamp(32px, 5.5vh, 64px) clamp(28px, 5vh, 52px); }
.rate {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px clamp(16px, 2.4vw, 34px);
  padding-block: clamp(24px, 4vh, 40px);
  border-top: 1px solid var(--rule);
  align-items: baseline;
}
.rates .rate:last-of-type { border-bottom: 1px solid var(--rule); }
.rate h2 {
  font-family: var(--serif);
  font-weight: 550;
  font-size: clamp(23px, 2.6vw, 34px);
  letter-spacing: -0.012em;
}
.rate .price {
  font-size: clamp(16px, 1.9vw, 23px);
  font-weight: 600;
  font-feature-settings: 'tnum' 1;
  color: var(--accent);
  white-space: nowrap;
  justify-self: end;
}
.rate .desc { grid-column: 1 / 3; color: var(--fg-dim); font-size: 15.5px; max-width: 62ch; }

.tariff-stamp {
  padding-top: clamp(24px, 4vh, 40px);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-dim);
  padding-bottom: 44px;
}

/* ── legal pages (privacy) ─────────────────────────────────────────── */
.legal-wrap { padding-block: clamp(24px, 4vh, 48px) 0; }
.legal-prose { max-width: 62ch; }
.legal-prose h2 {
  font-family: var(--serif);
  font-weight: 550;
  font-size: clamp(19px, 2vw, 25px);
  letter-spacing: -0.01em;
  padding-top: clamp(24px, 4vh, 40px);
  margin-top: clamp(24px, 4vh, 40px);
  border-top: 1px solid var(--rule);
}
.legal-prose h2:first-child { padding-top: 0; margin-top: 0; border-top: 0; }
.legal-prose p { margin-top: 12px; color: var(--fg-dim); font-size: 15.5px; line-height: 1.65; }
.legal-prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ── 404 ───────────────────────────────────────────────────────────── */
.error-main { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.error-mark { width: 60px; color: var(--oxblood); }
.error-title {
  font-family: var(--serif);
  font-weight: 540;
  font-size: clamp(38px, 6vw, 76px);
  letter-spacing: -0.018em;
}

/* ── Print (ceník as a clean sheet) ────────────────────────────────── */
@media print {
  body, .field, .field-snow { background: #fff; color: #000; }
  .topbar, .site-footer, .menu, .skip-link { display: none; }
  .rate .price { color: #000; }
  .rate { break-inside: avoid; }
}

/* ── Responsive ────────────────────────────────────────────────────── */
/* nav breakpoint - keep in sync with matchMedia('(min-width: 761px)') in site.js */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .site-nav { display: none; }
  .top-mail { display: none; }
  .hero .hero-inner { padding-block: 22px 46px; }
  .hero h1 { font-size: clamp(30px, 8.6vw, 42px); letter-spacing: -0.016em; }
  .hero-lockup .aperture { width: clamp(128px, 41vw, 210px); margin: 4px 0 10px 16px; shape-margin: 12px; }
  .rail { grid-auto-columns: 78vw; }
  .card .media img { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), 0 100%); }
  .pricing-anchor .row { flex-direction: column; align-items: flex-start; }
}
@media (min-width: 761px) {
  .menu { display: none; }
}
