/* ==========================================================================
   Almere Klus & Onderhoud — stylesheet
   Design idea: the yellow Dutch folding ruler (duimstok) is the one bold
   element. Everything else stays calm: one typeface (Archivo), slate ink,
   cool paper, crisp corners.
   ========================================================================== */

:root {
  --ink: #14262b;        /* main text, dark sections */
  --ink-2: #2e4a51;      /* secondary dark */
  --muted: #4f6469;      /* secondary text on paper (AA) */
  --paper: #f5f6f3;      /* page background */
  --panel: #e8edea;      /* quiet panels */
  --line: #d3dad6;       /* hairlines */
  --ruler: #f2c014;      /* duimstok yellow: ruler + primary buttons only */
  --ruler-deep: #d9a800;
  --red: #c42a1e;        /* ruler numerals only */
  --white: #ffffff;

  --font: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 4px;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.625rem;
  --step-3: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
  --step-4: clamp(2.375rem, 1.4rem + 4.4vw, 4.75rem);

  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--ruler);
}

h1, h2, h3 {
  margin: 0;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0; }
p + p { margin-top: 1em; }

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ruler);
  color: var(--ink);
  font-weight: 700;
  border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 22px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--ruler); border-color: var(--ruler); color: var(--ink); }
.btn--primary:hover { background: var(--ruler-deep); border-color: var(--ruler-deep); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--light { background: transparent; border-color: var(--paper); color: var(--paper); }
.btn--light:hover { background: var(--paper); color: var(--ink); }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 246, 243, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.2) blur(6px);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.125rem;
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__sub { display: block; font-weight: 500; font-size: 0.8125rem; letter-spacing: 0; color: var(--muted); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__list { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav__link {
  display: block;
  padding: 10px 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
}
.nav__link:hover { background: var(--panel); }
.nav__link[aria-current="page"] {
  box-shadow: inset 0 -3px 0 var(--ruler);
  border-radius: 0;
}
.nav__call { margin-left: 12px; min-height: 46px; padding: 8px 16px; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 8px 14px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.nav-toggle__bars { width: 18px; height: 12px; position: relative; border-block: 2px solid currentColor; }
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid currentColor; }

@media (max-width: 900px) {
  .js .nav-toggle { display: inline-flex; }
  .js .nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 8px var(--gutter) 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .js .nav[data-open="true"] { display: flex; }
  .nav__list { flex-direction: column; }
  .nav__link { padding: 14px 4px; font-size: 1.125rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__link[aria-current="page"] { box-shadow: inset 4px 0 0 var(--ruler); padding-left: 14px; }
  .nav__call { margin: 16px 0 0; }
  .site-header__inner { gap: 12px; min-height: 68px; }
  .brand { min-width: 0; }
  html:not(.js) .site-header__inner { flex-wrap: wrap; }
  html:not(.js) .nav { width: 100%; flex-wrap: wrap; padding-bottom: 12px; }
}
@media (max-width: 520px) {
  .brand { font-size: 1rem; gap: 10px; }
  .brand__mark { width: 36px; height: 36px; }
  .brand__sub { display: none; }
  .nav-toggle { padding: 8px 12px; flex: none; }
}

/* ---------- Duimstok (folding ruler) ---------- */

.duimstok {
  --cm: 10px;
  position: relative;
  height: 48px;
  overflow: hidden;
  background-color: var(--ruler);
  border-block: 1px solid #c79c00;
  background-image:
    /* segment joints every 20 cm */
    radial-gradient(circle at calc(100% - 9px) 50%, #9c7a3c 0 3.5px, #e0b54c 3.5px 5px, transparent 5.5px),
    linear-gradient(to right, transparent calc(100% - 1px), rgba(20, 38, 43, 0.35) calc(100% - 1px)),
    /* decimetre ticks */
    linear-gradient(to right, var(--ink) 0 1.5px, transparent 1.5px),
    /* half-decimetre ticks */
    linear-gradient(to right, var(--ink) 0 1px, transparent 1px),
    /* centimetre ticks */
    linear-gradient(to right, var(--ink) 0 1px, transparent 1px),
    /* millimetre-ish ticks */
    linear-gradient(to right, rgba(20, 38, 43, 0.55) 0 1px, transparent 1px);
  background-size:
    calc(var(--cm) * 20) 100%,
    calc(var(--cm) * 20) 100%,
    calc(var(--cm) * 10) 24px,
    calc(var(--cm) * 5) 17px,
    var(--cm) 11px,
    calc(var(--cm) / 2) 6px;
  background-repeat: repeat-x;
  background-position: 0 0;
}
.duimstok__num {
  position: absolute;
  bottom: 6px;
  transform: translateX(4px);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  color: var(--red);
  font-variant-numeric: tabular-nums;
}
.duimstok--animate { animation: unfold 1.1s cubic-bezier(0.2, 0.7, 0.1, 1) 0.15s both; }
@keyframes unfold {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}
@media (prefers-reduced-motion: reduce) {
  .duimstok--animate { animation: none; }
  .btn { transition: none; }
}

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

.hero { padding-top: clamp(40px, 7vw, 96px); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  padding-bottom: clamp(40px, 6vw, 80px);
}
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: end; gap: 64px; }
}
.hero__title { font-size: var(--step-4); max-width: 13ch; }
.hero__lead {
  margin-top: 24px;
  max-width: 34em;
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink-2);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.facts { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.facts__item {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--step--1);
  line-height: 1.4;
}
.facts__key { font-weight: 700; }
.facts__val { color: var(--ink-2); }

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

.section { padding-block: clamp(64px, 9vw, 120px); }
.section--panel { background: var(--panel); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

.section__head {
  display: grid;
  gap: 16px;
  margin-bottom: clamp(32px, 5vw, 56px);
  max-width: 44rem;
}
.section__intro { color: var(--ink-2); font-size: var(--step-1); line-height: 1.5; }

.page-body { padding-bottom: clamp(64px, 9vw, 120px); }
.note--flush { margin-top: 0; }

.page-head { padding-block: clamp(48px, 7vw, 96px) clamp(32px, 5vw, 56px); }
.page-head__title { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4rem); max-width: 16ch; }
.page-head__lead { margin-top: 20px; max-width: 38em; font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); }

/* ---------- Services overview (home) ---------- */

.groups {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
}
@media (min-width: 760px) { .groups { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } }
.group { border-top: 2px solid var(--ink); padding-top: 20px; }
.group__title { font-size: var(--step-2); }
.group__text { margin-top: 8px; color: var(--muted); font-size: var(--step--1); line-height: 1.5; }
.group__list { margin: 20px 0 0; padding: 0; list-style: none; }
.group__list li { padding: 9px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.groups__more {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}
.groups__more p { color: var(--ink-2); max-width: 40em; }

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.steps__item {
  counter-increment: step;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 14px;
  align-content: start;
}
.steps__img {
  grid-column: 1 / -1;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 20px;
  background: var(--line);
}
.steps__item::before {
  content: counter(step);
  grid-column: 1;
  grid-row: 2 / span 2;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-weight: 800;
  font-size: 1.125rem;
}
.steps__item h3,
.steps__item p { grid-column: 2; }
.steps__item h3 { align-self: center; min-height: 44px; display: flex; align-items: center; }
.steps__item p { margin-top: 4px; color: var(--ink-2); }

.group__img,
.service-group__img,
.contact-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--panel);
}
.group__img { margin-bottom: 20px; }
.service-group__img { aspect-ratio: 16 / 7; margin-top: 24px; }
.contact-img { margin-top: 32px; aspect-ratio: 3 / 2; }

/* ---------- Reasons ---------- */

.reasons {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0 48px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 760px) { .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.reasons__item {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.reasons__item::before {
  content: "";
  width: 12px;
  height: 26px;
  margin-top: 1px;
  background: linear-gradient(to bottom, var(--ink) 0 2px, var(--ruler) 2px);
}
.reasons__item h3 { font-size: var(--step-1); }
.reasons__item p { margin-top: 6px; color: var(--ink-2); }

/* ---------- Reviews ---------- */

.section--white { background: var(--white); border-block: 1px solid var(--line); }
.reviews {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 860px) { .reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } }
.review { display: flex; flex-direction: column; border-top: 2px solid var(--ink); padding-top: 24px; }
.review__quote { position: relative; margin: 0; padding-top: 44px; font-size: var(--step-1); line-height: 1.5; }
.review__quote::before {
  content: "\201C";
  position: absolute;
  top: -8px; left: -2px;
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--ruler);
}
.review__meta { margin-top: auto; padding-top: 20px; font-size: var(--step--1); line-height: 1.45; }
.review__name { display: block; font-weight: 700; }
.review__job { display: block; color: var(--muted); }
.reviews__note { margin-top: 40px; font-size: var(--step--1); color: var(--muted); }

/* ---------- Split rows (rates teaser + certificates) ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
}
@media (min-width: 860px) { .split { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 80px; } }
.split p { color: var(--ink-2); }
.split .btn { margin-top: 24px; }

.price-line { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-block: 20px 12px; }
.price-line__amount { font-size: clamp(3rem, 2rem + 4vw, 4.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.price-line__unit { font-weight: 600; color: var(--ink-2); }

.certs { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.cert {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.cert__badge {
  display: grid;
  place-items: center;
  height: 48px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
}
.cert__name { display: block; font-weight: 700; }
.cert__text { display: block; margin-top: 2px; font-size: var(--step--1); color: var(--muted); line-height: 1.45; }

/* ---------- CTA band ---------- */

.cta-band { background: var(--ink); color: var(--paper); }
.cta-band__inner {
  display: grid;
  gap: 32px;
  padding-block: clamp(56px, 8vw, 104px);
}
@media (min-width: 860px) { .cta-band__inner { grid-template-columns: minmax(0, 1.3fr) auto; align-items: end; } }
.cta-band h2 { font-size: var(--step-3); max-width: 18ch; }
.cta-band p { margin-top: 16px; color: #c5d1d0; max-width: 34em; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: #c5d1d0; font-size: var(--step--1); line-height: 1.6; }
.site-footer a { color: var(--paper); }
.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  padding-block: 56px 40px;
  border-top: 1px solid #2b4248;
}
@media (min-width: 760px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer__title { color: var(--paper); font-weight: 700; font-size: var(--step-0); margin-bottom: 10px; }
.site-footer__list { margin: 0; padding: 0; list-style: none; }
.site-footer__list li + li { margin-top: 6px; }
.site-footer address { font-style: normal; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 20px 28px;
  border-top: 1px solid #2b4248;
  color: #93a5a6;
}

/* ---------- Mobile action bar ---------- */

.action-bar { display: none; }
@media (max-width: 759px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .action-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 1.15fr 1.15fr 0.9fr;
    gap: 6px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: var(--ink);
  }
  .action-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 50px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    color: var(--paper);
    border: 1.5px solid #3c575d;
  }
  .action-bar a:first-child { background: var(--ruler); border-color: var(--ruler); color: var(--ink); }
  .action-bar svg { width: 16px; height: 16px; flex: none; }
}

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

.services-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
}
@media (min-width: 960px) { .services-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 64px; } }
.services-index { align-self: start; }
@media (min-width: 960px) { .services-index { position: sticky; top: 108px; } }
.services-index ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 960px) { .services-index ul { flex-direction: column; gap: 0; border-top: 2px solid var(--ink); } }
.services-index a {
  display: block;
  padding: 10px 14px;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
}
@media (min-width: 960px) {
  .services-index a { padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .services-index a:hover { text-decoration: underline; }
}

.service-group + .service-group { margin-top: clamp(56px, 8vw, 96px); }
.service-group__head { display: grid; gap: 10px; padding-bottom: 20px; border-bottom: 2px solid var(--ink); }
.service-group__head h2 { font-size: var(--step-3); }
.service-group__head p { color: var(--ink-2); max-width: 40em; }
.service-list { margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 680px) { .service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; } }
.service-list__item { padding: 18px 0; border-bottom: 1px solid var(--line); }
.service-list dt { font-weight: 700; font-size: var(--step-0); }
.service-list dd { margin: 4px 0 0; color: var(--ink-2); font-size: var(--step--1); line-height: 1.5; }

/* ---------- Photos page ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.gallery__item { margin: 0; }
.gallery__frame {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--panel);
  border-radius: var(--radius);
}
.gallery__frame img { width: 100%; height: 100%; object-fit: cover; }
.gallery__item figcaption { margin-top: 10px; font-size: var(--step--1); color: var(--muted); }

.note {
  display: grid;
  gap: 16px;
  margin-top: clamp(40px, 6vw, 64px);
  padding: clamp(24px, 4vw, 40px);
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 6px solid var(--ruler);
  border-radius: var(--radius);
}
@media (min-width: 860px) { .note { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px; } }
.note h2 { font-size: var(--step-2); }
.note p { margin-top: 8px; color: var(--ink-2); }
.note__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Rates page: day scale ---------- */

.dayscale { margin-top: 8px; }
.dayscale__row {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding-block: 8px;
}
@media (max-width: 559px) {
  .dayscale__row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
}
.dayscale__day { font-weight: 700; }
.dayscale__bar {
  position: relative;
  height: 52px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.seg {
  position: absolute;
  top: 0; bottom: 0;
  left: calc(var(--from) / 24 * 100%);
  width: calc((var(--to) - var(--from)) / 24 * 100%);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: clamp(0.8125rem, 0.7rem + 0.5vw, 1.0625rem);
  font-variant-numeric: tabular-nums;
  border-right: 2px solid var(--paper);
}
.seg:last-child { border-right: 0; }
.seg--48 { background: var(--ruler); color: var(--ink); }
.seg--77 { background: var(--ink-2); color: var(--white); }
.seg--96 { background: var(--ink); color: var(--ruler); }
.seg--ask {
  color: var(--muted);
  font-weight: 600;
  background: repeating-linear-gradient(135deg, var(--panel) 0 6px, var(--white) 6px 12px);
}
.dayscale__axis {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 16px;
}
@media (max-width: 559px) { .dayscale__axis { grid-template-columns: minmax(0, 1fr); } .dayscale__axis::before { display: none; } }
.dayscale__axis::before { content: ""; }
.dayscale__ticks {
  position: relative;
  height: 34px;
  background-image: linear-gradient(to right, var(--muted) 0 1px, transparent 1px);
  background-size: calc(100% / 24) 7px;
  background-repeat: repeat-x;
  border-right: 1px solid var(--muted);
}
.dayscale__ticks span {
  position: absolute;
  top: 10px;
  left: calc(var(--h) / 24 * 100%);
  transform: translateX(-50%);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.dayscale__ticks span:first-child { transform: none; }
.dayscale__ticks span:last-child { transform: translateX(-100%); }

.rates-table {
  width: 100%;
  margin-top: clamp(40px, 6vw, 64px);
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.rates-table caption { text-align: left; font-weight: 800; font-size: var(--step-2); margin-bottom: 16px; letter-spacing: -0.01em; }
.rates-table th,
.rates-table td { text-align: left; padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.rates-table thead th { font-size: var(--step--1); color: var(--muted); font-weight: 600; border-bottom: 2px solid var(--ink); }
.rates-table td:last-child,
.rates-table th:last-child { text-align: right; padding-right: 0; white-space: nowrap; }
.rates-table tbody td:last-child { font-weight: 800; font-size: var(--step-1); }
.rates-table__muted { color: var(--muted); font-weight: 600 !important; font-size: var(--step-0) !important; }

.rate-notes { margin: 32px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; max-width: 46em; }
.rate-notes li { padding-left: 24px; position: relative; color: var(--ink-2); }
.rate-notes li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 12px; height: 3px; background: var(--ink); }

/* ---------- Contact page ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 56px;
}
@media (min-width: 960px) { .contact-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 80px; } }

.channels { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.channels li { border-bottom: 1px solid var(--line); }
.channels a,
.channels__static {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  text-decoration: none;
}
.channels a:hover .channels__value { text-decoration: underline; }
.channels svg { width: 24px; height: 24px; margin-top: 2px; }
.channels__label { display: block; font-size: var(--step--1); color: var(--muted); font-weight: 600; }
.channels__value { display: block; font-weight: 700; font-size: var(--step-1); line-height: 1.3; overflow-wrap: anywhere; }
.channels__hint { display: block; margin-top: 2px; font-size: var(--step--1); color: var(--ink-2); }

.company { margin-top: 40px; }
.company h2 { font-size: var(--step-1); margin-bottom: 12px; }
.company dl { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 20px; font-size: var(--step--1); }
.company dt { color: var(--muted); font-weight: 600; }
.company dd { margin: 0; font-variant-numeric: tabular-nums; }

.form { display: grid; gap: 20px; padding: clamp(24px, 4vw, 40px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.form h2 { font-size: var(--step-2); }
.form__intro { color: var(--ink-2); margin-top: -8px; }
.form__row { display: grid; gap: 20px; }
@media (min-width: 620px) { .form__row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: var(--step--1); }
.field__opt { font-weight: 500; color: var(--muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid #9fb0b1;
  border-radius: var(--radius);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--ruler); }
.field [aria-invalid="true"] { border-color: var(--red); }
.field__error { color: var(--red); font-size: var(--step--1); font-weight: 600; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__footer { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form__privacy { font-size: var(--step--1); color: var(--muted); max-width: 30em; }
.form__status { padding: 14px 16px; border-radius: var(--radius); font-weight: 600; }
.form__status[hidden] { display: none; }
.form__status--ok { background: #e3f1e6; color: #1d4d2a; }
.form__status--error { background: #fbe7e5; color: #8a1d14; }

/* ---------- Prose (privacy) ---------- */

.prose { max-width: 42rem; }
.prose h2 { font-size: var(--step-2); margin-top: 48px; margin-bottom: 12px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: 6px; }

/* ---------- 404 ---------- */

.notfound { padding-block: clamp(64px, 12vw, 160px); }
.notfound .btn { margin-top: 32px; }
