/* Zäit Lëtzebuerg. Brand colours and type come from the logo kit (src/assets/brand/README.md). */

@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/barlow-500.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/barlow-600.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/barlow-700.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: italic; font-weight: 800; font-display: swap; src: url(/assets/fonts/barlow-800-italic.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: italic; font-weight: 900; font-display: swap; src: url(/assets/fonts/barlow-900-italic.woff2) format('woff2'); }

:root {
  --red: #D42B1E;
  --red-deep: #A81F15;
  --ink: #1D1D1F;
  --stone: #F4F1EC;
  --stone-2: #EAE4DA;
  --white: #FFFFFF;
  --graphite: #57534E;
  --rule: #D6CEC2;
  --field: #CBC2B5;

  --maxw: 72rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  /* distance from the viewport edge to the text column */
  --edge: max(var(--gutter), calc((100vw - var(--maxw)) / 2));
  --radius: 6px;
  --header-h: 4.25rem;

  --step--1: 0.9375rem;
  --step-0: 1.125rem;
  --step-1: 1.3125rem;
  --step-2: clamp(1.5rem, 1.3rem + 0.6vw, 1.75rem);
  --step-3: clamp(2rem, 1.4rem + 2.4vw, 3.5rem);
  --step-4: clamp(2.6rem, 1.6rem + 4vw, 5rem);
  --step-5: clamp(2.6rem, 1.1rem + 6.6vw, 7rem);

  --skew: skewX(-12deg);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: 'Barlow', system-ui, sans-serif;
  font-weight: 500;
  font-size: var(--step-0);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
[id] { scroll-margin-top: calc(var(--header-h) + 1.5rem); }
[hidden] { display: none !important; }

a { color: inherit; }
p a, dd a, address a, .prose a {
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}
p a:hover, dd a:hover, .prose a:hover { color: var(--red-deep); }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.hero :focus-visible,
.pillar-main :focus-visible,
.site-footer :focus-visible,
.vat-example :focus-visible { outline-color: var(--white); }

.i { width: 1.15em; height: 1.15em; flex: none; }

.wrap {
  width: min(100% - 2 * var(--gutter), var(--maxw));
  margin-inline: auto;
}

.display {
  font-style: italic;
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-weight: 700;
}
.skip:focus { top: 0.75rem; }

/* ---------- buttons and links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 3rem;
  padding: 0.85em 1.35em;
  border: 2px solid transparent;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn-sm { min-height: 2.6rem; padding: 0.6em 1em; font-size: 1rem; }
.btn-lg { min-height: 3.5rem; padding-inline: 1.75em; }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-deep); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: var(--stone); }
.btn-ghost-white { border-color: rgba(255, 255, 255, 0.75); color: var(--white); }
.btn-ghost-white:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--white); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--red-deep); }
.btn-ink-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ink-outline:hover { background: var(--ink); color: var(--white); }

.link {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}
.link:hover { color: var(--red-deep); }
.link-white {
  color: var(--white);
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--stone);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.site-header.is-scrolled { border-bottom-color: var(--rule); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: var(--header-h);
}

.logo { flex: none; padding-block: 0.5rem; }
.logo img { height: 2.25rem; width: auto; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.tel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
}
.tel span { display: none; }
.tel:hover { color: var(--red-deep); }

.btn .short { display: none; }
@media (max-width: 30rem) {
  .btn .long { display: none; }
  .btn .short { display: inline; }
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.6rem;
  padding: 0 0.75rem;
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: transparent;
  font-weight: 700;
  cursor: pointer;
}
@media (max-width: 23rem) {
  .menu-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .header-inner { gap: 0.5rem; }
  .header-actions { gap: 0.35rem; }
  .logo img { height: 1.9rem; }
  .tel { min-width: 2.5rem; }
  .header-actions .btn-sm { padding-inline: 0.8em; }
}

.main-nav ul { list-style: none; }
.main-nav a { text-decoration: none; }
.lang { display: flex; gap: 0.25rem; }
.lang a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  min-height: 2.5rem;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--graphite);
  text-decoration: none;
  border-radius: 4px;
}
.lang a[aria-current] { color: var(--ink); background: var(--stone-2); }
.lang a:hover { color: var(--ink); }

/* mobile menu */
.js .main-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--stone);
  padding: 2rem var(--gutter) 3rem;
  overflow-y: auto;
  border-top: 1px solid var(--rule);
}
.js .main-nav.is-open { display: block; }
.main-nav ul { display: grid; gap: 0.25rem; }
.main-nav ul a {
  display: block;
  padding: 0.35rem 0;
  font-style: italic;
  font-weight: 900;
  font-size: 2.5rem;
  line-height: 1.1;
}
.main-nav ul a[aria-current] { color: var(--red); }
.main-nav .lang { margin-top: 2rem; }
.no-js .header-inner { flex-wrap: wrap; }
.no-js .main-nav { order: 3; width: 100%; padding-bottom: 1rem; }
.no-js .menu-toggle { display: none; }
html.nav-open { overflow: hidden; }

@media (min-width: 64rem) {
  .logo img { height: 2.6rem; }
  .js .main-nav, .main-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    position: static;
    padding: 0;
    margin-left: auto;
    background: none;
    border: 0;
    overflow: visible;
  }
  .no-js .main-nav { order: 0; width: auto; padding: 0; }
  .main-nav ul { display: flex; gap: 1.75rem; }
  .main-nav ul a {
    padding: 0.5rem 0;
    font-style: normal;
    font-weight: 600;
    font-size: 1.0625rem;
    text-underline-offset: 0.4em;
    text-decoration-thickness: 2px;
  }
  .main-nav ul a:hover { color: var(--red-deep); }
  .main-nav ul a[aria-current] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); }
  .main-nav .lang { margin-top: 0; }
  .lang a { min-width: 2.1rem; }
  .header-actions { margin-left: 0.75rem; gap: 0.75rem; }
  .menu-toggle { display: none; }
}
@media (min-width: 77rem) {
  .tel span { display: inline; }
}

/* ---------- hero ---------- */

.hero {
  background: var(--red);
  color: var(--white);
  padding-block: clamp(3.5rem, 2rem + 8vw, 8.5rem) clamp(3.5rem, 2rem + 6vw, 7rem);
  overflow: clip;
}

.hero-title {
  font-style: italic;
  font-weight: 900;
  font-size: var(--step-5);
  line-height: 0.94;
  letter-spacing: -0.015em;
  max-width: 15ch;
  text-wrap: balance;
}

/* The three bars of the logo's Z, reaching in from the left edge of the screen. */
.streak {
  --reach: calc(var(--edge) + 0.78em);
  position: relative;
  display: inline-block;
  width: 0.78em;
  height: 0.7em;
  margin-right: 0.04em;
}
.streak i {
  position: absolute;
  right: 0.14em;
  height: 0.095em;
  background: currentColor;
  transform: var(--skew);
}
.streak i:nth-child(1) { top: 0.07em; width: calc(var(--reach) * 0.62); }
.streak i:nth-child(2) { top: 0.3em; width: calc(var(--reach) + 0.3em); }
.streak i:nth-child(3) { top: 0.53em; width: calc(var(--reach) * 0.46); }

@media (prefers-reduced-motion: no-preference) {
  .streak i { animation: streak-in 0.95s cubic-bezier(0.16, 0.84, 0.24, 1) both; }
  .streak i:nth-child(1) { animation-delay: 0.08s; }
  .streak i:nth-child(3) { animation-delay: 0.16s; }
}
@keyframes streak-in {
  from { transform: translateX(-100vw) var(--skew); }
  to { transform: translateX(0) var(--skew); }
}

.hero-lead {
  max-width: 34rem;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  font-size: clamp(1.125rem, 1rem + 0.55vw, 1.4375rem);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(2rem, 4vw, 2.75rem);
}

/* ---------- sections ---------- */

.section { padding-block: clamp(4rem, 2.5rem + 5vw, 7.5rem); }
.section-flush { padding-top: 0; }
.section-tint { background: var(--stone-2); }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head h2 { font-size: var(--step-3); }
.section-head p { margin-top: 1rem; color: var(--graphite); font-size: var(--step-1); line-height: 1.5; }
.section-head-row {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.checks { list-style: none; display: grid; gap: 0.5rem; }
.checks li { position: relative; padding-left: 1.5em; }
.checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 0.85em;
  height: 0.2em;
  background: var(--red);
  transform: var(--skew);
}

/* services on the home page */
.pillars { display: grid; gap: 2rem; }
.pillar-main {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.pillar-main h3 { font-size: clamp(2rem, 1.5rem + 1.8vw, 2.875rem); }
.pillar-main h3 a { text-decoration: none; }
.pillar-main h3 a:hover { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 3px; }
.pillar-main > p { color: rgba(255, 255, 255, 0.86); font-size: var(--step-1); line-height: 1.45; }
.pillar-main .link-white { margin-top: auto; padding-top: 0.75rem; }

.pillar-list { display: grid; column-gap: 2.5rem; }
.pillar { padding: 1.5rem 0 1.75rem; border-top: 1px solid var(--rule); }
.pillar h3 { font-weight: 700; font-size: var(--step-2); line-height: 1.2; }
.pillar h3 a { text-decoration: none; }
.pillar h3 a:hover { color: var(--red-deep); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.pillar p { margin-top: 0.5rem; color: var(--graphite); }

@media (min-width: 40rem) {
  .pillar-list { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 60rem) {
  .pillars { grid-template-columns: 5fr 7fr; gap: 3rem; }
  .pillar-list { align-content: start; }
  .pillar:nth-child(-n + 2) { border-top-color: var(--ink); border-top-width: 2px; }
}

/* statement: words light up as the reader scrolls (site.js adds .is-live) */
.statement { padding-block: clamp(5rem, 3rem + 8vw, 10rem) 0; }
.statement-text {
  max-width: 24ch;
  font-weight: 600;
  font-size: clamp(1.9rem, 1rem + 3.6vw, 4.25rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: pretty;
}
.statement-text.is-live .w { color: #C4BBAE; transition: color 0.35s ease-out; }
.statement-text.is-live .w.on { color: var(--ink); }

/* process: a real sequence, so it is numbered */
.process {
  list-style: none;
  display: grid;
  gap: 0;
  counter-reset: none;
}
.process li {
  position: relative;
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  column-gap: 1rem;
  padding: 1.5rem 0;
  border-top: 2px solid var(--ink);
}
.process li::before {
  content: '';
  position: absolute;
  left: 0;
  top: -2px;
  width: 1.75rem;
  height: 6px;
  margin-top: -2px;
  background: var(--red);
  transform: var(--skew);
  transform-origin: left;
}
.process-num {
  grid-row: span 2;
  font-style: italic;
  font-weight: 900;
  font-size: 2.75rem;
  line-height: 0.9;
  color: var(--red);
}
.process h3 { font-weight: 700; font-size: var(--step-1); line-height: 1.25; }
.process p { margin-top: 0.35rem; color: var(--graphite); }

/* Timeline fills step by step as the reader scrolls (site.js adds .is-live and .on) */
.process.is-live li { border-top-color: var(--rule); }
.process.is-live li::before { opacity: 0; transition: opacity 0.2s 0.45s; }
.process.is-live li::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -2px;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.3, 0.7, 0.2, 1);
}
.process.is-live .process-num { color: #C4BBAE; transition: color 0.3s 0.3s; }
.process.is-live li > h3,
.process.is-live li > p { opacity: 0.45; transition: opacity 0.4s 0.25s; }
.process.is-live li.on::after { transform: scaleX(1); }
.process.is-live li.on::before { opacity: 1; }
.process.is-live li.on .process-num { color: var(--red); }
.process.is-live li.on > h3,
.process.is-live li.on > p { opacity: 1; }

@media (min-width: 60rem) {
  .process { grid-template-columns: repeat(5, 1fr); }
  .process li {
    display: block;
    padding: 1.75rem 1.5rem 0 0;
  }
  .process-num { display: block; font-size: 3.5rem; margin-bottom: 1rem; }
}

/* facts + VAT teaser */
.facts { display: grid; gap: 3rem; }
.facts h2 { font-size: var(--step-3); margin-bottom: 1.5rem; }
.fact-list > div { padding: 1.25rem 0; border-top: 1px solid var(--rule); }
.fact-list dt { font-weight: 700; font-size: var(--step-1); }
.fact-list dd { margin-top: 0.3rem; color: var(--graphite); max-width: 36rem; }

.vat-teaser {
  align-self: start;
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 2.5rem);
}
.vat-rate {
  font-style: italic;
  font-weight: 900;
  font-size: clamp(5rem, 3rem + 8vw, 8.5rem);
  line-height: 0.82;
  color: var(--red);
  letter-spacing: -0.02em;
}
.vat-teaser h3 { margin-top: 1.25rem; font-weight: 700; font-size: var(--step-2); }
.vat-teaser p { margin: 0.5rem 0 1.25rem; color: var(--graphite); }

@media (min-width: 60rem) {
  .facts { grid-template-columns: 7fr 5fr; gap: 5rem; }
}

/* ---------- inner pages ---------- */

.page-intro { padding-block: clamp(3.5rem, 2rem + 6vw, 6.5rem) clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.page-intro h1 { font-size: var(--step-4); max-width: 18ch; }
.page-intro .lead { margin-top: 1.25rem; max-width: 40rem; color: var(--graphite); font-size: var(--step-1); line-height: 1.5; }
.page-intro-404 .btn { margin-top: 2rem; }

/* services page */
.service-index { display: grid; gap: 2rem; padding-bottom: clamp(4rem, 2.5rem + 5vw, 7.5rem); }
.service-jump ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.service-jump a {
  display: inline-block;
  padding: 0.45rem 0.8rem;
  border: 2px solid var(--rule);
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  color: var(--graphite);
}
.service-jump a:hover { border-color: var(--ink); color: var(--ink); }

.service { padding-block: 2.5rem; border-top: 2px solid var(--ink); }
.service h2 { font-size: clamp(1.9rem, 1.4rem + 2vw, 3rem); }
.service-lead h2 { color: var(--red); }
.service-long { margin-top: 1rem; max-width: 40rem; font-size: var(--step-1); line-height: 1.5; color: var(--graphite); }
.service .checks { margin-block: 1.5rem 2rem; }

@media (min-width: 40rem) {
  .service .checks { grid-template-columns: 1fr 1fr; column-gap: 2rem; max-width: 40rem; }
}
@media (min-width: 60rem) {
  .service-index { grid-template-columns: 15rem 1fr; gap: 4rem; }
  .service-jump { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
  .service-jump ul { display: grid; gap: 0; }
  .service-jump a { display: block; border: 0; border-left: 2px solid var(--rule); border-radius: 0; padding: 0.55rem 0 0.55rem 1rem; }
  .service-jump a:hover { border-left-color: var(--red); }
  .service:first-child { padding-top: 0; border-top: 0; }
}

/* projects */
.project-grid { list-style: none; display: grid; gap: 2.5rem 1.75rem; }
.project-text { padding-top: 1rem; }
.project-text h3 { font-weight: 700; font-size: var(--step-1); line-height: 1.25; }
.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.75rem;
  margin-top: 0.25rem;
  font-weight: 600;
  font-size: var(--step--1);
  color: var(--red-deep);
}
.project-meta span { color: var(--graphite); font-weight: 500; }
.project-text p:not(.project-meta) { margin-top: 0.5rem; color: var(--graphite); }

@media (min-width: 45rem) {
  .project-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 65rem) {
  .project-grid:not(.project-grid-full) { grid-template-columns: repeat(3, 1fr); }
}

.ba {
  --pos: 50%;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--stone-2);
  user-select: none;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-tag {
  position: absolute;
  bottom: 0.75rem;
  padding: 0.25em 0.6em;
  border-radius: 3px;
  background: rgba(29, 29, 31, 0.8);
  color: var(--white);
  font-weight: 600;
  font-size: 0.875rem;
  pointer-events: none;
}
.ba-tag-before { left: 0.75rem; }
.ba-tag-after { right: 0.75rem; }
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 3px;
  margin-left: -1.5px;
  background: var(--white);
  pointer-events: none;
}
.ba-handle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2.75rem;
  height: 2.75rem;
  margin: -1.375rem 0 0 -1.375rem;
  border-radius: 50%;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6' fill='none' stroke='%231D1D1F' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 1.4rem no-repeat;
  box-shadow: 0 2px 10px rgba(29, 29, 31, 0.25);
}
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
}
.ba:has(.ba-range:focus-visible) .ba-handle::after { outline: 3px solid var(--red); outline-offset: 3px; }
.no-js .ba-range, .no-js .ba-handle { display: none; }

.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; }
.filters button {
  min-height: 2.75rem;
  padding: 0.5rem 1rem;
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: transparent;
  font-weight: 600;
  cursor: pointer;
}
.filters button:hover { background: var(--stone-2); }
.filters button[aria-pressed='true'] { background: var(--ink); color: var(--white); }
.filters-empty { color: var(--graphite); }

.empty {
  max-width: 44rem;
  padding: clamp(2rem, 5vw, 3.5rem);
  background: var(--stone-2);
  border-radius: var(--radius);
}
.empty h2 { font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.75rem); }
.empty p { margin-top: 1rem; color: var(--graphite); font-size: var(--step-1); line-height: 1.5; }
.empty-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

/* about */
.about-grid { display: grid; gap: 2.5rem; }
.about-name img { width: clamp(8rem, 20vw, 15rem); height: auto; }
@media (min-width: 60rem) {
  .about-grid { grid-template-columns: 1fr 2fr; gap: 4rem; }
}
.team { list-style: none; display: grid; gap: 1rem; margin-top: 2rem; }
.team li { background: var(--white); border-radius: var(--radius); padding: 1.5rem 1.75rem; }
.team-name { font-weight: 700; font-size: var(--step-2); line-height: 1.2; }
.team li p:not(.team-name) { margin-top: 0.25rem; color: var(--graphite); }
.team-call { margin-top: 1.5rem; }
@media (min-width: 40rem) {
  .team { grid-template-columns: 1fr 1fr; max-width: 48rem; }
}
.values { display: grid; gap: 2rem; margin-top: 2rem; }
.values > div { padding-top: 1.25rem; border-top: 2px solid var(--ink); }
.values dt { font-weight: 700; font-size: var(--step-2); line-height: 1.2; }
.values dd { margin-top: 0.5rem; color: var(--graphite); }
@media (min-width: 48rem) {
  .values { grid-template-columns: repeat(3, 1fr); }
}
.section-title { font-size: var(--step-3); }

/* prose pages */
.prose { max-width: 42rem; }
.prose-wide { max-width: 52rem; }
.prose h2 { font-weight: 700; font-size: var(--step-2); line-height: 1.25; margin-top: 2.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-top: 0.75rem; }
.note {
  margin-top: 2.5rem !important;
  padding-left: 1rem;
  border-left: 4px solid var(--red);
  color: var(--graphite);
  font-size: 1rem;
}

.article-grid { display: grid; gap: 3rem; }
.vat-example {
  align-self: start;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 2.25rem);
}
.vat-example h2 { font-weight: 700; font-size: var(--step-1); line-height: 1.3; }
.vat-example table { width: 100%; margin: 1.25rem 0 1.75rem; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.vat-example th, .vat-example td { padding: 0.75rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.vat-example th { text-align: left; font-weight: 500; }
.vat-example td { text-align: right; font-weight: 700; }
.vat-example .total th { font-weight: 700; }
.vat-example .total td { font-style: italic; font-weight: 900; font-size: 1.75rem; }
.vat-example tr:last-child > * { border-bottom: 0; }
@media (min-width: 60rem) {
  .article-grid { grid-template-columns: 7fr 5fr; gap: 5rem; }
  .vat-example { position: sticky; top: calc(var(--header-h) + 2rem); }
}

.legal-list > div { padding: 0.9rem 0; border-bottom: 1px solid var(--rule); }
.legal-list dt { font-weight: 700; }
.legal-list dd { color: var(--graphite); }
@media (min-width: 40rem) {
  .legal-list > div { display: grid; grid-template-columns: 17rem 1fr; gap: 1.5rem; }
}

.todo {
  display: inline-block;
  padding: 0 0.4em;
  border-radius: 3px;
  background: #F7D9D5;
  color: var(--red-deep);
  font-weight: 700;
  font-size: 0.9em;
}

/* contact */
.contact-grid { display: grid; gap: 3.5rem; }
@media (min-width: 60rem) {
  .contact-grid { grid-template-columns: 7fr 4fr; gap: 5rem; }
}

.field { margin-bottom: 1.35rem; }
.field label { display: block; margin-bottom: 0.4rem; font-weight: 600; }
.req { font-weight: 500; font-size: 0.875rem; color: var(--graphite); }
.field input:not([type='checkbox']):not([type='file']),
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-height: 3.25rem;
  padding: 0.8rem 1rem;
  border: 2px solid var(--field);
  border-radius: 4px;
  background: var(--white);
  font-size: 1.0625rem;
}
.field textarea { resize: vertical; min-height: 9rem; line-height: 1.5; }
.field select { appearance: none; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%231D1D1F' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") right 0.9rem center / 1.2rem no-repeat; padding-right: 2.75rem; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--graphite); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--ink); outline: 3px solid var(--ink); outline-offset: 1px; }
.field input[type='file'] { display: block; width: 100%; padding: 0.75rem; border: 2px dashed var(--field); border-radius: 4px; background: var(--white); font-size: 1rem; }
.field input[type='file']::file-selector-button { margin-right: 1rem; padding: 0.5rem 0.9rem; border: 2px solid var(--ink); border-radius: 4px; background: var(--white); font-weight: 600; cursor: pointer; }
.hint { margin-top: 0.4rem; color: var(--graphite); font-size: var(--step--1); line-height: 1.45; }
.field-row { display: grid; column-gap: 1rem; }
@media (min-width: 40rem) {
  .field-row { grid-template-columns: 1fr 1fr; }
}
.field-check { display: flex; gap: 0.75rem; align-items: flex-start; margin-block: 1.75rem 2rem; }
.field-check input { flex: none; width: 1.35rem; height: 1.35rem; margin-top: 0.15rem; accent-color: var(--red); }
.field-check label { margin: 0; font-weight: 500; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 1.25rem; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--red-deep); }
.form-status.is-success { color: #1F6B3B; }
.quote-form [aria-invalid='true'] { border-color: var(--red-deep) !important; }

.contact-block { margin-bottom: 2.25rem; }
.contact-block h2 { font-weight: 700; font-size: var(--step-0); color: var(--graphite); margin-bottom: 0.4rem; }
.contact-block p + p, .contact-block address + p { margin-top: 0.5rem; }
.contact-phone { font-style: italic; font-weight: 900; font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); text-decoration: none !important; color: var(--ink); white-space: nowrap; }
.contact-phone:hover { color: var(--red-deep) !important; }
.hours > div { display: flex; justify-content: space-between; gap: 1rem; }

.map { padding: 1.5rem; border: 2px dashed var(--field); border-radius: var(--radius); }
.map .hint { margin-top: 0.75rem; }
.map.is-loaded { padding: 0; border: 0; }
.map iframe { display: block; width: 100%; height: 20rem; border: 0; border-radius: var(--radius); }

/* ---------- footer ---------- */

.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.78); }
.site-footer a { color: var(--white); }

.cta-band { padding-block: clamp(4rem, 2.5rem + 5vw, 6.5rem); border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.cta-inner { display: grid; gap: 2rem; }
.cta-band h2 { color: var(--white); font-size: var(--step-4); max-width: 14ch; }
.cta-band p { margin-top: 1rem; max-width: 32rem; font-size: var(--step-1); line-height: 1.45; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.cta-tel { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: var(--step-1); text-decoration: none; white-space: nowrap; }
.cta-tel:hover { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
@media (min-width: 60rem) {
  .cta-inner { grid-template-columns: 1fr auto; align-items: end; }
}

.footer-grid { display: grid; gap: 2.25rem; padding-block: 3.5rem; }
.footer-brand img { width: 11rem; height: auto; }
.footer-brand p { margin-top: 1rem; max-width: 18rem; }
.footer-grid h2 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 0.75rem; }
.footer-grid ul { list-style: none; display: grid; gap: 0.35rem; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.footer-grid address { margin-top: 0.5rem; }
.footer-base { padding-block: 1.5rem 2rem; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: var(--step--1); }
@media (min-width: 40rem) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 64rem) {
  .footer-grid { grid-template-columns: 2fr 1.2fr 1fr 1.2fr; }
}

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