/* DpGraphics — "Τυπογραφείο, εκδοτικό" design system */

:root {
  --paper: #F4F1EA;
  --paper-2: #EBE6DA;
  --ink: #151515;
  --ink-2: #5A5752;
  --rule: #D9D4C7;
  --spot: #C8102E;
  --on-ink: #F4F1EA;
  --on-ink-2: #A9A59C;
  --cmyk-c: #00A0E3;
  --cmyk-m: #E5007E;
  --cmyk-y: #FFE500;
  --white: #FFFFFF;

  --font-sans: 'Commissioner', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-mono: 'Fira Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --section-y: clamp(72px, 10vw, 136px);
  --radius: 2px;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

:focus-visible {
  outline: 2px solid var(--spot);
  outline-offset: 3px;
  border-radius: var(--radius);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--ink); color: var(--on-ink); padding: 12px 16px; text-decoration: none;
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Print-shop motifs ---------- */

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 13px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--spot); }
.section--ink .eyebrow { color: var(--on-ink-2); }

.spec {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-2);
}

.spot { color: var(--spot); }

/* Crop marks just outside each corner, like a trimmed sheet. */
.crop { position: relative; }
.crop::before {
  content: ""; position: absolute; inset: -12px; pointer-events: none;
  --c: var(--ink);
  background:
    linear-gradient(var(--c), var(--c)) left 0 top 12px / 8px 1px,
    linear-gradient(var(--c), var(--c)) left 12px top 0 / 1px 8px,
    linear-gradient(var(--c), var(--c)) right 0 top 12px / 8px 1px,
    linear-gradient(var(--c), var(--c)) right 12px top 0 / 1px 8px,
    linear-gradient(var(--c), var(--c)) left 0 bottom 12px / 8px 1px,
    linear-gradient(var(--c), var(--c)) left 12px bottom 0 / 1px 8px,
    linear-gradient(var(--c), var(--c)) right 0 bottom 12px / 8px 1px,
    linear-gradient(var(--c), var(--c)) right 12px bottom 0 / 1px 8px;
  background-repeat: no-repeat;
  opacity: .55;
}
.section--ink .crop::before { --c: var(--on-ink-2); }

.cmyk-dots { display: inline-flex; gap: 6px; }
.cmyk-dots span { width: 10px; height: 10px; border-radius: 50%; }
.cmyk-dots span:nth-child(1) { background: var(--cmyk-c); }
.cmyk-dots span:nth-child(2) { background: var(--cmyk-m); }
.cmyk-dots span:nth-child(3) { background: var(--cmyk-y); }
.cmyk-dots span:nth-child(4) { background: var(--ink); }
.section--ink .cmyk-dots span:nth-child(4) { background: var(--on-ink); }

.halftone {
  background-image: radial-gradient(circle, rgba(21, 21, 21, .16) 1.1px, transparent 1.4px);
  background-size: 9px 9px;
}

.reg { width: 22px; height: 22px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border: 1.5px solid var(--ink); border-radius: var(--radius);
  background: transparent; color: var(--ink);
  font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out), transform .2s var(--ease-out), border-color .2s;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: var(--spot); border-color: var(--spot); color: var(--white); }
.btn .icon { transition: transform .2s var(--ease-out); }
.btn:hover .icon { transform: translateX(3px); }
.section--ink .btn { border-color: var(--on-ink); color: var(--on-ink); }
.section--ink .btn:hover { background: var(--on-ink); color: var(--ink); }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 241, 234, .94);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--rule);
}
.site-header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 44px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav__links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink-2);
  transition: color .2s;
}
.nav__links a:hover { color: var(--ink); }
.lang-switch {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px;
  font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: .06em;
  text-decoration: none; color: var(--ink);
}
.lang-switch span[aria-current] { color: var(--spot); }
.lang-switch__sep { color: var(--rule); margin: 0 6px; }
.site-header .btn { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.nav-toggle {
  display: none; margin-left: auto; width: 48px; height: 48px;
  align-items: center; justify-content: center; border: 0; background: transparent;
}
.nav-toggle .icon { width: 28px; height: 28px; }

@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 16px var(--gutter) 28px; background: var(--paper);
    border-bottom: 1px solid var(--rule);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s var(--ease-out), transform .2s var(--ease-out), visibility 0s .2s;
  }
  .nav[data-open="true"] { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
  .nav__links { flex-direction: column; }
  .nav__links a { font-size: 20px; font-weight: 600; color: var(--ink); padding: 0; min-height: 52px; border-bottom: 1px solid var(--rule); }
  .lang-switch { justify-content: flex-start; margin: 12px 0; }
  .nav .btn { width: 100%; min-height: 52px; }
}

/* ---------- Sections ---------- */

.section { padding-block: var(--section-y); }
.section--ink { background: var(--ink); color: var(--on-ink); }
.section--paper2 { background: var(--paper-2); }
.section__head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); max-width: 720px; }
.section__head p { color: var(--ink-2); font-size: 18px; }
.section--ink .section__head p { color: var(--on-ink-2); }

/* ---------- Hero ---------- */

.hero { position: relative; padding-block: clamp(48px, 8vw, 104px) clamp(64px, 9vw, 120px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__copy { display: grid; gap: 28px; align-content: start; }
.hero__title { max-width: 12ch; }
.hero__lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--ink-2); max-width: 46ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding-top: 8px; border-top: 1px solid var(--rule); }

.sheets { position: relative; aspect-ratio: 1 / 1.02; width: 100%; max-width: 560px; justify-self: end; }
.sheets::before {
  content: ""; position: absolute; inset: 8% 4% 4% 10%;
}
.sheet {
  position: absolute; background: var(--white);
  box-shadow: 0 1px 1px rgba(21,21,21,.06), 0 12px 28px -10px rgba(21,21,21,.28), 0 30px 60px -30px rgba(21,21,21,.25);
}
.sheet__spec { position: absolute; left: 0; bottom: -26px; white-space: nowrap; }

.sheet--menu {
  left: 14%; top: 0; width: 50%; aspect-ratio: 1 / 1.414; padding: 9% 8%;
  display: flex; flex-direction: column; gap: 8%; transform: rotate(-4deg);
}
.sheet--menu .menu__logo { width: 62%; margin-inline: auto; }
.sheet--menu .menu__title { text-align: center; font-weight: 800; font-size: clamp(11px, 1.3vw, 16px); letter-spacing: .18em; text-transform: uppercase; }
.sheet--menu .menu__rule { height: 1px; background: var(--rule); }
.sheet--menu .menu__row { display: flex; justify-content: space-between; gap: 8px; font-size: clamp(8px, .9vw, 11px); }
.sheet--menu .menu__row span:first-child { font-weight: 600; }
.sheet--menu .menu__row span:last-child { color: var(--spot); font-weight: 700; }
.sheet--menu .menu__rows { display: grid; gap: 10%; }

.sheet--card {
  right: 0; top: 30%; width: 58%; aspect-ratio: 85 / 55; padding: 6% 7%;
  display: flex; flex-direction: column; justify-content: space-between;
  transform: rotate(5deg); background: var(--ink); color: var(--on-ink);
}
.sheet--card img { width: 46%; }
.sheet--card .card__name { font-weight: 700; font-size: clamp(11px, 1.25vw, 15px); }
.sheet--card .card__line { font-family: var(--font-mono); font-size: clamp(8px, .8vw, 10px); color: var(--on-ink-2); letter-spacing: .04em; }
.sheet--card .card__bar { position: absolute; left: 0; top: 0; bottom: 0; width: 4%; background: var(--spot); }

.sheet--sticker {
  left: 0; bottom: 10%; width: 32%; aspect-ratio: 1; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transform: rotate(-12deg); border: 3px solid var(--spot);
  outline: 6px solid var(--white);
}
.sheet--sticker img { width: 72%; height: auto; }
.sheet--sticker .sheet__spec { left: 50%; transform: translateX(-50%) rotate(12deg); bottom: -34px; }

.hero__halftone { position: absolute; right: -80px; top: -60px; width: 420px; height: 420px; border-radius: 50%; z-index: -1; opacity: .7;
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent);
  mask-image: radial-gradient(closest-side, #000 30%, transparent); }

@media (max-width: 899px) {
  .hero__grid { grid-template-columns: 1fr; }
  .sheets { justify-self: center; max-width: 440px; margin-top: 8px; }
}
.sheet--sticker .sheet__spec, .sheet--menu .sheet__spec { display: none; }

/* Sheets "land" one after another like printed sheets on a table. */
@media (prefers-reduced-motion: no-preference) {
  .js .sheet { animation: land .7s var(--ease-out) both; }
  .js .sheet--menu { --r: -4deg; animation-delay: .15s; }
  .js .sheet--card { --r: 5deg; animation-delay: .35s; }
  .js .sheet--sticker { --r: -12deg; animation-delay: .55s; }
  @keyframes land {
    from { opacity: 0; transform: translateY(-36px) rotate(calc(var(--r) * 2.2)) scale(1.04); }
    to { opacity: 1; transform: translateY(0) rotate(var(--r)) scale(1); }
  }
}

/* ---------- Services ---------- */

.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 28px; }
.service {
  display: grid; grid-template-rows: auto auto 1fr auto; gap: 14px; align-content: start;
  width: 100%; min-height: 260px; padding: 28px 24px 22px; text-align: left;
  background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius);
  transition: transform .2s var(--ease-out), border-color .2s, box-shadow .2s;
}
.service:hover { transform: translateY(-4px); border-color: var(--ink); box-shadow: 0 14px 30px -18px rgba(21,21,21,.35); }
.service__top { display: flex; justify-content: space-between; align-items: center; }
.service__top .icon { width: 30px; height: 30px; color: var(--spot); }
.service p { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.service__more { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.service__more .icon { width: 18px; height: 18px; transition: transform .2s var(--ease-out); }
.service:hover .service__more .icon { transform: translateX(4px); }

/* ---------- Works ---------- */

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.chip {
  min-height: 44px; padding: 8px 16px; border: 1px solid var(--rule); border-radius: 999px;
  background: transparent; font-size: 14.5px; font-weight: 500; color: var(--ink-2);
  transition: border-color .2s, color .2s, background-color .2s;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 28px 24px; }
.work { margin: 0; }
.work[hidden] { display: none; }
.work__btn { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; }
.work__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); border-radius: var(--radius); }
.work__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.work__btn:hover img { transform: scale(1.035); }
.work__badge {
  position: absolute; left: 12px; top: 12px; padding: 4px 10px;
  background: var(--paper); font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2);
}
.work figcaption { display: grid; gap: 4px; padding-top: 14px; }
.work__title { font-weight: 600; font-size: 17px; line-height: 1.35; }
.gallery__more { display: flex; justify-content: center; margin-top: 48px; }
.gallery__empty { color: var(--ink-2); }

.lightbox { width: min(1100px, 100vw - 32px); max-height: calc(100vh - 32px); padding: 0; border: 0; background: transparent; color: var(--on-ink); overflow: visible; }
.lightbox::backdrop { background: rgba(21, 21, 21, .92); }
.lightbox__frame { display: grid; gap: 16px; }
.lightbox__img { width: 100%; max-height: calc(100vh - 170px); object-fit: contain; background: var(--ink); }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lightbox__caption { display: grid; gap: 2px; }
.lightbox__caption .spec { color: var(--on-ink-2); }
.lightbox__desc { color: var(--on-ink-2); font-size: 15px; max-width: 60ch; margin-top: 4px; }
.lightbox__controls { display: flex; gap: 8px; flex: none; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  border: 1px solid rgba(244, 241, 234, .35); border-radius: 50%; background: transparent; color: var(--on-ink);
  transition: background-color .2s, border-color .2s;
}
.icon-btn:hover { background: var(--on-ink); color: var(--ink); }

/* ---------- Process ---------- */

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 0; counter-reset: step; list-style: none; margin: 0; padding: 0; }
.step { position: relative; padding: 28px 28px 8px 0; border-top: 1px solid rgba(244, 241, 234, .2); display: grid; gap: 12px; align-content: start; }
.step__num { display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; color: var(--on-ink-2); }
.step__num .reg { color: var(--spot); }
.step p { color: var(--on-ink-2); font-size: 16px; }

/* ---------- About ---------- */

.about { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.about__body { display: grid; gap: 24px; }
.about__body p { font-size: 19px; color: var(--ink-2); max-width: 58ch; }
.about__panel { position: relative; padding: 40px; display: grid; gap: 28px; background-color: var(--paper-2); }
.stat { display: grid; gap: 2px; }
.stat__value { font-size: clamp(3.5rem, 7vw, 5.5rem); font-weight: 800; line-height: .9; letter-spacing: -0.04em; }
.stat__value sup { font-size: .35em; color: var(--spot); vertical-align: super; margin-left: 2px; }
.stat__label { font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
@media (max-width: 899px) { .about { grid-template-columns: 1fr; } }

/* ---------- Quote form ---------- */

.quote { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.quote__aside { display: grid; gap: 24px; position: sticky; top: calc(var(--header-h) + 32px); }
.quote__aside p { color: var(--ink-2); font-size: 18px; }
.quote__direct { display: grid; gap: 10px; padding-top: 24px; border-top: 1px solid var(--rule); }
.quote__direct a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; text-decoration: none; }
.quote__direct a:hover { color: var(--spot); }
@media (max-width: 899px) { .quote { grid-template-columns: 1fr; } .quote__aside { position: static; } }

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; padding: clamp(24px, 4vw, 44px); background: var(--white); border: 1px solid var(--rule); }
.field { display: grid; gap: 8px; align-content: start; }
.field--full { grid-column: 1 / -1; }
@media (max-width: 599px) { .form { grid-template-columns: 1fr; } }
.field label, .field .label { font-weight: 600; font-size: 15px; }
.field .optional { font-weight: 400; color: var(--ink-2); }
.input {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius);
  font-size: 16px; transition: border-color .2s, background-color .2s;
}
.input:hover { border-color: var(--ink-2); }
.input:focus { outline: none; border-color: var(--ink); background: var(--white); box-shadow: 0 0 0 3px rgba(200, 16, 46, .18); }
textarea.input { min-height: 140px; resize: vertical; }
select.input { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23151515' stroke-width='1.5' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 20px; }
.input[aria-invalid="true"] { border-color: var(--spot); }
.field__error { color: var(--spot); font-size: 14.5px; font-weight: 600; }
.field__error:empty { display: none; }
.field__hint { color: var(--ink-2); font-size: 14px; }
.file { position: relative; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 14px; border: 1px dashed var(--ink-2); border-radius: var(--radius); background: var(--paper); }
.file:hover { border-color: var(--ink); }
.file:focus-within { outline: 2px solid var(--spot); outline-offset: 3px; }
.file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.file__name { font-size: 15px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--ink); }
.consent a { color: var(--ink); }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form__error { color: var(--spot); font-weight: 600; }
.form__error:empty { display: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.success { display: grid; gap: 16px; justify-items: start; padding: clamp(28px, 4vw, 48px); background: var(--white); border: 1px solid var(--rule); }
.success__icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); }
.success__icon .icon { width: 28px; height: 28px; }
.success p { color: var(--ink-2); font-size: 18px; }

/* ---------- Contact + footer ---------- */

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 36px 28px; }
.contact-item { display: grid; gap: 10px; align-content: start; }
.contact-item .icon { color: var(--spot); width: 26px; height: 26px; }
.contact-item a { display: inline-flex; align-items: center; min-height: 44px; }
.contact-item a, .contact-item p { font-size: 18px; font-weight: 600; text-decoration: none; color: var(--on-ink); }
.contact-item a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.socials { display: flex; gap: 8px; }
.map { margin-top: 56px; position: relative; height: clamp(300px, 36vw, 460px); border: 1px solid rgba(244, 241, 234, .2); display: grid; place-items: center; text-align: center; background-color: #1d1d1d;
  background-image: radial-gradient(circle, rgba(244,241,234,.12) 1px, transparent 1.3px); background-size: 12px 12px; }
.map__consent { display: grid; gap: 14px; justify-items: center; padding: 24px; max-width: 460px; }
.map__consent p { color: var(--on-ink-2); font-size: 15px; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.85) contrast(1.05); }

.site-footer { background: var(--ink); color: var(--on-ink-2); border-top: 1px solid rgba(244, 241, 234, .14); }
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-block: 28px; font-size: 14px; }
.site-footer__brand { display: flex; align-items: center; gap: 16px; }
.site-footer__brand img { height: 40px; width: auto; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-ink-2); text-underline-offset: 3px; }
.site-footer a:hover { color: var(--on-ink); }
.site-footer .reg { color: var(--spot); }

/* Cookie consent: both choices carry equal weight, as the GDPR requires. */
.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--ink); color: var(--on-ink); border-top: 3px solid var(--spot); padding: 18px var(--gutter) calc(18px + env(safe-area-inset-bottom)); }
.cookie-bar__inner { max-width: var(--max); margin-inline: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; }
.cookie-bar p { max-width: 70ch; font-size: 15px; color: var(--on-ink-2); }
.cookie-bar a { color: var(--on-ink); }
.cookie-bar__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-bar .btn { border-color: var(--on-ink); color: var(--on-ink); min-width: 130px; }
.cookie-bar .btn:hover { background: var(--on-ink); color: var(--ink); }
.footer-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; color: var(--on-ink-2); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.footer-link:hover { color: var(--on-ink); }

/* Floating call button, phones only. */
.fab { display: none; }
@media (max-width: 767px) {
  .fab {
    position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40;
    display: flex; flex-direction: column; gap: 10px;
  }
  .fab a {
    display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 20px;
    border-radius: 999px; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 600;
    box-shadow: 0 10px 24px -8px rgba(21,21,21,.5);
  }
  .fab a.fab--alt { background: var(--paper); color: var(--ink); border: 1px solid var(--ink); }
  body { padding-bottom: 84px; }
}

/* ---------- Simple pages (privacy, errors) ---------- */

.page { padding-block: clamp(56px, 8vw, 104px); }
.prose { max-width: 70ch; display: grid; gap: 18px; }
.prose h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); margin-bottom: 12px; }
.prose h2 { font-size: 1.4rem; margin-top: 18px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }

.error-page { min-height: 60vh; display: grid; align-content: center; gap: 24px; }
.error-page__code { font-family: var(--font-mono); color: var(--spot); font-size: 15px; letter-spacing: .1em; }

/* ---------- Scroll reveal ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .4s var(--ease-out), transform .4s var(--ease-out); transition-delay: calc(var(--i, 0) * 60ms); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
