/* =========================================================
   misatype.gr — Concept A «Τυπογραφική Κληρονομιά»
   Design tokens → base → layout → components → sections
   ========================================================= */

:root {
  /* Χρώματα */
  --paper: #F6F1E7;
  --paper-2: #EFE7D9;
  --paper-3: #FBF8F2;
  --white: #FFFFFF;
  --ink: #1C1917;
  --ink-2: #4A3F35;
  --muted: #65584A;
  --line: #DDD3C2;
  --line-2: #CDBFA8;
  --field: #B9AA92;
  --red: #B3151F;
  --red-dark: #8F1018;
  --red-ink: #8A2A1F;
  --success: #2F5D3A;
  --success-bg: #E7F0E4;
  --error-bg: #F8E4E2;

  /* Τυπογραφία */
  --font-display: "GFS Didot", "Didot", "Bodoni 72", "Bodoni MT", Georgia, "Times New Roman", serif;
  --font-body: "Commissioner", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --fs-display-xl: clamp(2.75rem, 1.45rem + 4.4vw, 4.75rem);
  --fs-display-l: clamp(2.25rem, 1.45rem + 2.7vw, 3.75rem);
  --fs-display-m: clamp(1.9rem, 1.35rem + 1.9vw, 3.25rem);
  --fs-display-s: clamp(1.65rem, 1.3rem + 1.2vw, 2.75rem);
  --fs-lead: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;
  --fs-xs: 0.8125rem;

  /* Χώροι */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --section-y: clamp(4rem, 2.6rem + 4.6vw, 7rem);
  --gutter: clamp(1rem, 4vw, 2rem);
  --container: 1240px;
  --radius: 2px;

  --shadow-print: 0 30px 60px -30px rgba(60, 40, 20, 0.35);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 6rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.12; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
main:focus { outline: none; }
.visually-hidden {
  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-link {
  position: absolute; left: var(--space-4); top: -100px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: var(--space-3) var(--space-4); text-decoration: none;
}
.skip-link:focus { top: var(--space-4); color: var(--paper); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }
.section { padding-block: var(--section-y); }
.section--tint { background: var(--paper-2); border-block: 1px solid var(--line); }
.section--tint-2 { background: var(--paper-2); border-top: 1px solid var(--line); }
.section--paper { background: var(--white); border-block: 1px solid var(--line); }
.stack { display: flex; flex-direction: column; gap: var(--space-5); align-items: flex-start; }
.split { display: grid; gap: clamp(2.5rem, 1rem + 5vw, 4.5rem); align-items: center; }
@media (min-width: 900px) {
  .split--workshop { grid-template-columns: 1fr 1fr; }
  .split--work { grid-template-columns: 4fr 8fr; }
  .split--faq { grid-template-columns: 5fr 7fr; align-items: start; }
  .split--contact { grid-template-columns: 5fr 7fr; align-items: start; }
}

/* ---------- Typography ---------- */
.display { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.005em; }
.display em { font-style: italic; color: var(--red); }
.display--l { font-size: var(--fs-display-l); line-height: 1.04; }
.display--m { font-size: var(--fs-display-m); line-height: 1.1; }
.display--s { font-size: var(--fs-display-s); line-height: 1.12; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.9rem; margin: 0;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red-ink);
}
.eyebrow__rule { width: 40px; height: 1px; background: currentColor; }
.eyebrow--center { justify-content: center; }
.prose-lead { font-size: var(--fs-lead); line-height: 1.7; color: var(--ink-2); max-width: 36em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.8rem 1.5rem; border: 1px solid transparent; border-radius: var(--radius);
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: var(--red-dark); color: var(--white); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: var(--red); color: var(--white); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--link { padding-inline: 0.25rem; border-radius: 0; border-bottom: 1px solid var(--ink); min-height: 44px; }
.btn--link:hover { color: var(--red); border-color: var(--red); }
.btn--lg { min-height: 54px; padding-inline: 2rem; font-size: 1.0625rem; }
.btn[disabled] { opacity: .6; cursor: progress; }
.linklike { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }

/* ---------- Topbar & header ---------- */
.topbar { border-bottom: 1px solid var(--line); font-size: var(--fs-xs); color: var(--ink-2); }
.topbar__inner { display: flex; justify-content: space-between; gap: var(--space-4); padding-block: 0.55rem; flex-wrap: wrap; }
.topbar__links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.topbar a { text-decoration: none; }
@media (max-width: 720px) {
  .topbar__address, .topbar__email { display: none; }
  .topbar__inner { justify-content: center; }
}

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(246, 241, 231, 0.94);
  -webkit-backdrop-filter: saturate(140%) blur(8px); backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 24px -20px rgba(40, 30, 20, .45); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); padding-block: 0.85rem; }
.brand { display: block; flex: none; }
.brand__logo { height: 64px; width: auto; mix-blend-mode: multiply; }
.site-nav { display: flex; align-items: center; gap: var(--space-6); }
.site-nav__list { display: flex; gap: 1.75rem; list-style: none; }
.site-nav__link { position: relative; display: inline-block; padding-block: 0.5rem; text-decoration: none; font-weight: 500; font-size: 0.9375rem; }
.site-nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.25rem; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.site-nav__link:hover::after, .site-nav__link[aria-current="true"]::after { transform: scaleX(1); }
.nav-toggle { display: none; }

@media (max-width: 1080px) {
  .site-nav__list { gap: 1.1rem; }
  .site-nav__cta { display: none; }
}
@media (max-width: 900px) {
  .brand__logo { height: 48px; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px; padding: 0.5rem 0.9rem;
    background: transparent; border: 1px solid var(--ink); border-radius: var(--radius); cursor: pointer; font-weight: 600;
  }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
    display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform .2s, background-color .2s;
  }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -6px; }
  .nav-toggle__bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
  .no-js .nav-toggle { display: none; }
  .no-js .site-header__inner { flex-wrap: wrap; }
  .site-nav { width: 100%; flex-direction: column; align-items: stretch; gap: var(--space-4); }
  .js .site-nav {
    position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - 80px); overflow-y: auto;
    padding: var(--space-4) var(--gutter) var(--space-6);
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -30px rgba(40, 30, 20, .5);
  }
  .js .site-nav:not([data-open]) { display: none; }
  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__link { display: block; padding-block: 0.9rem; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 1.5rem; }
  .site-nav__link::after { display: none; }
  .site-nav__cta { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2rem, 1rem + 3vw, 3.5rem) clamp(4rem, 2rem + 5vw, 6.5rem); }
.hero__grid { display: grid; gap: clamp(2.25rem, 1rem + 4vw, 3.5rem); align-items: center; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 5fr 7fr; } }
.hero__text { display: flex; flex-direction: column; gap: 1.6rem; }
.hero__title { font-size: var(--fs-display-xl); line-height: 1.02; letter-spacing: -0.01em; }
.hero__lead { font-size: var(--fs-lead); line-height: 1.65; color: var(--ink-2); max-width: 30em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; }

/* Before / After compare */
.compare { margin: 0; display: flex; flex-direction: column; gap: 0.9rem; --pos: 50%; }
.compare__frame {
  position: relative; aspect-ratio: 1200 / 858; overflow: hidden; background: #EFE5D4;
  box-shadow: var(--shadow-print); touch-action: pan-y;
}
.compare__img, .compare__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__after { position: absolute; inset: 0; background: var(--white); clip-path: inset(0 0 0 var(--pos)); }
.compare__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--red); pointer-events: none; }
.compare__knob {
  position: absolute; top: 50%; left: var(--pos); width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; background: var(--red); color: var(--white);
  transform: translate(-50%, -50%); box-shadow: 0 6px 18px rgba(0, 0, 0, .25); pointer-events: none;
  transition: transform .2s var(--ease);
}
.compare__frame:hover .compare__knob { transform: translate(-50%, -50%) scale(1.06); }
.compare__frame:has(.compare__range:focus-visible) { outline: 3px solid var(--red); outline-offset: 4px; }
.compare__tag { position: absolute; top: 1rem; pointer-events: none; }
.compare__tag--before { left: 1rem; font-family: var(--font-display); font-size: 1.5rem; line-height: 1; color: #3A2A1C; background: rgba(246, 241, 231, .88); padding: 0.4rem 0.75rem; }
.compare__tag--after { right: 1rem; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--white); background: var(--ink); padding: 0.55rem 0.75rem; }
.compare__range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize;
  -webkit-appearance: none; appearance: none; background: transparent;
}
.compare__range::-webkit-slider-thumb { -webkit-appearance: none; width: 56px; height: 100vh; }
.compare__range::-moz-range-thumb { width: 56px; height: 100vh; border: 0; }
.compare__caption { display: flex; justify-content: space-between; gap: var(--space-4); font-size: var(--fs-xs); color: var(--muted); flex-wrap: wrap; }

/* ---------- Workshop ---------- */
.mosaic { display: grid; grid-template-columns: 3fr 2fr; gap: var(--space-4); width: 100%; }
.mosaic__side { display: grid; gap: var(--space-4); grid-template-rows: 1fr 1fr; }
.mosaic__pic, .mosaic__pic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic__main .mosaic__pic img { aspect-ratio: 3 / 4.2; }
.mosaic__side .mosaic__pic img { aspect-ratio: 4 / 3; }
.mosaic img { filter: saturate(.88) contrast(1.02); }
.stats { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); gap: var(--space-5) var(--space-6); padding-top: var(--space-5); border-top: 1px solid var(--line-2); width: 100%; }
.stats li { display: flex; flex-direction: column; max-width: 15rem; }
.stats__num { font-family: var(--font-display); font-weight: 400; font-size: 2.5rem; line-height: 1.1; }
.stats__label { font-size: var(--fs-small); color: var(--muted); line-height: 1.45; }

/* ---------- Services ---------- */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-5) var(--space-7); flex-wrap: wrap; margin-bottom: clamp(2rem, 1rem + 3vw, 3.5rem); }
.section-head__intro { max-width: 26rem; color: var(--ink-2); font-size: var(--fs-lead); line-height: 1.6; }
.svc-list { list-style: none; display: grid; border-top: 1px solid var(--ink); column-gap: 4rem; }
@media (min-width: 900px) { .svc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.svc { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr) 7.5rem; gap: 1.25rem; align-items: center; padding-block: 1.6rem; border-bottom: 1px solid var(--line); scroll-margin-top: 7rem; }
.svc__num { font-family: var(--font-display); font-size: 1.375rem; color: var(--red-ink); align-self: start; padding-top: 0.25rem; }
.svc__body { display: flex; flex-direction: column; gap: 0.35rem; }
.svc__title { font-family: var(--font-display); font-size: 1.75rem; line-height: 1.15; transition: color .2s; }
.svc:hover .svc__title { color: var(--red); }
.svc__text { font-size: 0.9375rem; line-height: 1.55; color: var(--ink-2); }
.svc__cta { align-self: flex-start; margin-top: 0.35rem; font-size: var(--fs-small); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line-2); padding-block: 0.35rem; }
.svc__cta:hover { border-color: var(--red); }
.svc__media { width: 7.5rem; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.svc__pic, .svc__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.svc:hover .svc__pic img { transform: scale(1.05); }
@media (max-width: 520px) {
  .svc { grid-template-columns: 2rem minmax(0, 1fr) 4.75rem; gap: 0.9rem; padding-block: 1.3rem; }
  .svc__media { width: 4.75rem; align-self: start; }
  .svc__title { font-size: 1.4rem; }
}

/* ---------- Work / gallery ---------- */
.work__clients img { width: 100%; height: auto; }
.gallery { list-style: none; display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.gallery figure { margin: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.gallery__pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { font-size: var(--fs-small); color: var(--muted); }

/* ---------- Quote band ---------- */
.quote-band { text-align: center; }
.quote { margin-inline: auto; max-width: 960px; display: flex; flex-direction: column; align-items: center; gap: var(--space-5); }
.quote blockquote { margin: 0; }
.quote p { line-height: 1.25; }

/* ---------- FAQ / accordion ---------- */
.glance { width: 100%; margin-top: var(--space-4); padding: var(--space-5); background: var(--paper-3); border: 1px solid var(--line); display: flex; flex-direction: column; gap: var(--space-4); }
.glance__title { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red-ink); font-family: var(--font-body); }
.glance__tldr { font-size: 1rem; line-height: 1.6; }
.glance__list { margin: 0; display: grid; gap: 0.6rem; }
.glance__list div { display: grid; grid-template-columns: 7.5rem 1fr; gap: var(--space-3); padding-top: 0.6rem; border-top: 1px solid var(--line); font-size: 0.9375rem; }
.glance__list dt { color: var(--muted); }
.glance__list dd { margin: 0; }
@media (max-width: 420px) { .glance__list div { grid-template-columns: 1fr; gap: 0; } }

.accordion { border-top: 1px solid var(--ink); width: 100%; }
.accordion__item { border-bottom: 1px solid var(--line-2); }
.accordion__summary { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding-block: 1.3rem; cursor: pointer; list-style: none; }
.accordion__summary::-webkit-details-marker { display: none; }
.accordion__q { font-family: var(--font-display); font-size: clamp(1.3rem, 1.1rem + .6vw, 1.625rem); line-height: 1.25; }
.accordion__summary:hover .accordion__q { color: var(--red); }
.accordion__icon { position: relative; flex: none; width: 2.25rem; height: 2.25rem; border: 1px solid var(--line-2); border-radius: 50%; }
.accordion__icon::before, .accordion__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .25s var(--ease); }
.accordion__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.accordion__item[open] .accordion__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.accordion__a { padding: 0 3rem 1.5rem 0; color: var(--ink-2); display: flex; flex-direction: column; gap: 0.75rem; }

/* ---------- Contact & forms ---------- */
.contact-list { margin: var(--space-2) 0 0; display: grid; gap: 0.85rem; width: 100%; }
.contact-list div { display: grid; grid-template-columns: 7rem 1fr; gap: var(--space-3); }
.contact-list dt { color: var(--muted); }
.contact-list dd { margin: 0; }
@media (max-width: 420px) { .contact-list div { grid-template-columns: 1fr; gap: 0; } }

.quote-card { display: flex; flex-direction: column; gap: var(--space-5); width: 100%; }
.quote-form {
  display: grid; gap: 1.25rem; padding: clamp(1.25rem, 0.5rem + 3vw, 2.5rem);
  background: var(--paper-3); border: 1px solid var(--line);
}
@media (min-width: 640px) { .quote-form { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: flex; flex-direction: column; gap: 0.45rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field__label { font-size: var(--fs-small); font-weight: 600; }
.field__hint { font-weight: 400; font-size: var(--fs-xs); color: var(--muted); }
.field__error { font-size: var(--fs-small); color: var(--red-dark); font-weight: 500; }
.req { color: var(--red); }
.input {
  width: 100%; min-height: 48px; padding: 0.75rem 0.9rem; background: var(--white);
  border: 1px solid var(--field); border-radius: var(--radius); font-size: 1rem; line-height: 1.4;
  transition: border-color .15s, box-shadow .15s;
}
.input:hover { border-color: var(--ink-2); }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(179, 21, 31, .22); }
.input[aria-invalid="true"] { border-color: var(--red); }
textarea.input { resize: vertical; min-height: 8rem; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.5rem; }
.input--file { border-style: dashed; padding: 0.65rem; cursor: pointer; }
.input--file::file-selector-button { margin-right: 0.75rem; padding: 0.45rem 0.9rem; border: 1px solid var(--ink); background: var(--paper); border-radius: var(--radius); font-weight: 600; cursor: pointer; }
.check { display: flex; gap: 0.75rem; align-items: flex-start; font-size: var(--fs-small); line-height: 1.55; color: var(--ink-2); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin-top: 0.15rem; accent-color: var(--red); }
.quote-form__submit { flex-direction: row; flex-wrap: wrap; align-items: center; gap: var(--space-4); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: var(--space-4) var(--space-5); border-left: 4px solid; display: flex; flex-direction: column; gap: 0.35rem; }
.alert:focus { outline: none; }
.alert ul { padding-left: 1.2rem; }
.alert__title { font-weight: 700; }
.alert--success { background: var(--success-bg); border-color: var(--success); color: #1F3D27; }
.alert--error { background: var(--error-bg); border-color: var(--red); color: #5E0D12; }

/* ---------- Pages / prose ---------- */
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: var(--fs-small); color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; color: var(--line-2); }
.page__head { margin-block: var(--space-5) var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); }
.page__meta { font-size: var(--fs-small); color: var(--muted); }
.page__tldr { padding: var(--space-4) var(--space-5); background: var(--paper-3); border: 1px solid var(--line); margin-bottom: var(--space-6); }
.prose { font-size: 1.0625rem; line-height: 1.75; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--font-display); color: var(--ink); font-size: 1.875rem; margin-top: 1.8em; }
.prose h3 { font-family: var(--font-display); color: var(--ink); font-size: 1.4rem; margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li + li { margin-top: 0.4em; }
.prose blockquote { margin-inline: 0; padding-left: 1.25rem; border-left: 2px solid var(--red); font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--line); }
.prose code { background: var(--paper-2); padding: 0.1em 0.35em; font-size: 0.9em; }
.prose pre { overflow-x: auto; background: var(--paper-2); padding: var(--space-4); }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.page__faq, .page__sources { margin-top: var(--space-7); display: flex; flex-direction: column; gap: var(--space-4); }
.page__sources ul { padding-left: 1.2rem; font-size: var(--fs-small); }
.page__back { margin-top: var(--space-7); }

.error-page__inner { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-5); padding-block: var(--space-6); }
.error-page__code { font-size: clamp(5rem, 3rem + 10vw, 10rem); line-height: .9; color: var(--red); }
.error-page__logo { mix-blend-mode: multiply; }

/* ---------- Footer ---------- */
.site-footer { background: var(--paper); border-top: 1px solid var(--line-2); font-size: 0.9375rem; }
.site-footer__grid { display: grid; gap: var(--space-6); padding-block: var(--space-7); }
@media (min-width: 720px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr 1fr; } }
.site-footer__logo { height: 52px; width: auto; mix-blend-mode: multiply; }
.site-footer__tag { margin-top: var(--space-4); color: var(--ink-2); line-height: 1.5; }
.site-footer__tag span { font-family: var(--font-display); font-size: 1.15rem; color: var(--red-ink); }
.site-footer__title { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red-ink); margin-bottom: var(--space-3); }
.site-footer__col ul { list-style: none; display: grid; gap: 0.35rem; }
.site-footer__col a, .site-footer__col .linklike { text-decoration: none; display: inline-block; padding-block: 0.15rem; }
.site-footer__col a:hover, .site-footer__col .linklike:hover { text-decoration: underline; }
.site-footer__col address { line-height: 1.9; }
.site-footer__hours { margin-top: var(--space-3); color: var(--muted); }
.site-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-3); padding-block: var(--space-5); background: linear-gradient(var(--line), var(--line)) no-repeat top center / calc(100% - 2 * var(--gutter)) 1px; font-size: var(--fs-xs); color: var(--muted); }

/* ---------- Cookie banner ---------- */
.cookie { position: fixed; left: var(--space-4); right: var(--space-4); bottom: var(--space-4); z-index: 60; display: flex; justify-content: center; }
.cookie[hidden] { display: none; }
.cookie__inner { max-width: 880px; width: 100%; display: flex; gap: var(--space-5); align-items: center; justify-content: space-between; flex-wrap: wrap; padding: var(--space-5); background: var(--white); border: 1px solid var(--line-2); box-shadow: 0 20px 50px -20px rgba(40, 30, 20, .45); }
.cookie__title { font-weight: 700; }
.cookie__text { font-size: var(--fs-small); color: var(--ink-2); max-width: 34rem; }
.cookie__actions { display: flex; gap: var(--space-3); flex-wrap: wrap; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Print ---------- */
@media print {
  .topbar, .site-header, .cookie, .quote-form, .compare__range { display: none !important; }
  body { background: #fff; }
}
