/* ==========================================================================
   Genuja MB — mbgenuja.de
   Design system + site styles. Hand-written, no build step, no external
   requests (GDPR-safe: no Google Fonts CDN, no trackers).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Palette — derived from the logo: asphalt black + gravel greys,
     with a single safety-amber signal colour from road-work signage. */
  --ink:        #14161a;   /* near-black — TEXT only, never a background */
  --ink-800:    #1d2026;

  /* Dark surfaces. Deliberately graphite rather than black: three times
     lighter than --ink, which reads as asphalt instead of a blackout, while
     still clearing WCAG AA for every colour placed on it. */
  --asphalt-800: #262b33;  /* hero, dark sections */
  --asphalt-900: #1b1f25;  /* facts strip, footer */
  --ink-700:    #2a2e36;
  --ink-600:    #3d434d;
  --grey-500:   #5f6672;   /* 5.8:1 on white, 5.2:1 on --grey-100 (WCAG AA) */
  --grey-400:   #9aa1ab;
  --grey-300:   #c9ced6;
  --grey-200:   #e3e6ea;
  --grey-100:   #f1f3f5;
  --paper:      #ffffff;

  --amber:      #ffb400;   /* CTA / accents. 10.5:1 against --ink */
  --amber-dark: #e0a000;   /* button fills only - fails AA as text on white */
  --amber-text: #8a6100;   /* 5.5:1 on white - use whenever amber must be read */

  /* Typography — system stack: zero network requests, instant render,
     no GDPR exposure from a font CDN. */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;

  /* Fluid type scale */
  --fs-xs:   0.8125rem;
  --fs-sm:   0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg:   clamp(1.125rem, 0.4vw + 1.03rem, 1.25rem);
  --fs-xl:   clamp(1.375rem, 1vw + 1.15rem, 1.75rem);
  --fs-2xl:  clamp(1.75rem, 2vw + 1.3rem, 2.5rem);
  --fs-3xl:  clamp(2.125rem, 3.6vw + 1.25rem, 3.75rem);

  /* Spacing scale */
  --sp-1: 0.25rem;  --sp-2: 0.5rem;   --sp-3: 0.75rem;  --sp-4: 1rem;
  --sp-5: 1.5rem;   --sp-6: 2rem;     --sp-7: 3rem;     --sp-8: 4rem;
  --sp-9: 6rem;

  --container: 1180px;
  --radius: 3px;              /* deliberately tight — industrial, not soft */
  --shadow-sm: 0 1px 2px rgba(20,22,26,.06), 0 2px 8px rgba(20,22,26,.05);
  --shadow-md: 0 2px 4px rgba(20,22,26,.06), 0 12px 32px rgba(20,22,26,.10);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* --------------------------------------------------------------------------
   2. Reset / base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Offset anchor targets so the sticky header doesn't cover headings */
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 var(--sp-4);
  font-weight: 800;
  text-wrap: balance;
}
h1 { font-size: var(--fs-3xl); letter-spacing: -0.033em; }
h2 { font-size: var(--fs-2xl); letter-spacing: -0.028em; }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }

p  { margin: 0 0 var(--sp-4); max-width: 68ch; }
ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.15rem; }
li { margin-bottom: var(--sp-2); }

a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--amber-text); }

strong { font-weight: 700; color: var(--ink); }

/* Visible keyboard focus everywhere — required for WCAG 2.1 AA (2.4.7) */
:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Respect users who ask for less motion (WCAG 2.3.3) */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}

.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--dark  { background: var(--asphalt-800); color: var(--grey-300); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
/* Base `strong` is near-black; on the dark panel that renders invisible. */
.section--dark strong, .hero strong { color: #fff; }
.section--dark a { color: #fff; }
.section--dark a:hover { color: var(--amber); }
.section--grey  { background: var(--grey-100); }

.section__head { max-width: 60ch; margin-bottom: var(--sp-7); }
.section__head p { color: var(--grey-500); font-size: var(--fs-lg); }
.section--dark .section__head p { color: var(--grey-400); }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--grey-500); margin-bottom: var(--sp-3);
}
.eyebrow::before {
  content: ""; width: 28px; height: 3px;
  background: var(--amber); flex: none;
}
.section--dark .eyebrow { color: var(--amber); }

/* Skip link for screen-reader / keyboard users (WCAG 2.4.1) */
.skip-link {
  position: absolute; left: var(--sp-4); top: -100px; z-index: 200;
  background: var(--amber); color: var(--ink);
  padding: var(--sp-3) var(--sp-4); font-weight: 700;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: var(--sp-4); }

.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;
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--sp-2);
  min-height: 52px;                 /* >= 44px touch target (WCAG 2.5.5) */
  padding: var(--sp-3) var(--sp-6);
  font: inherit; font-weight: 700; font-size: var(--fs-sm);
  letter-spacing: .02em;
  border: 2px solid transparent; border-radius: var(--radius);
  cursor: pointer; text-decoration: none;
  transition: background-color .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease), transform .18s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.btn--primary:hover { background: var(--amber-dark); border-color: var(--amber-dark); color: var(--ink); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--grey-300); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); background: var(--grey-100); }

.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }

.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }

/* --------------------------------------------------------------------------
   5. Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--grey-200);
}
.site-header__inner {
  display: flex; align-items: center; gap: var(--sp-5);
  min-height: 74px;
}

.brand { display: flex; align-items: center; gap: var(--sp-3); text-decoration: none; margin-right: auto; }
.brand img, .brand svg { height: 42px; width: auto; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-weight: 800; font-size: 1.0625rem; letter-spacing: -.02em; color: var(--ink); }
.brand__tag  { font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--grey-500); font-weight: 600; }

.nav { display: flex; align-items: center; gap: var(--sp-5); }
.nav__list { display: flex; align-items: center; gap: var(--sp-5); list-style: none; margin: 0; padding: 0; }
.nav__list li { margin: 0; }
.nav__link {
  font-size: var(--fs-sm); font-weight: 600; color: var(--ink-600);
  text-decoration: none; padding: var(--sp-2) 0;
  border-bottom: 2px solid transparent;
  transition: color .15s var(--ease), border-color .15s var(--ease);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--ink); border-bottom-color: var(--amber); }

/* Language switch */
.lang { display: flex; align-items: center; gap: 2px; font-size: var(--fs-xs); font-weight: 700; }
.lang a {
  padding: 5px 9px; text-decoration: none; color: var(--grey-500);
  border-radius: var(--radius); letter-spacing: .04em;
}
.lang a:hover { background: var(--grey-100); color: var(--ink); }
.lang a[aria-current="true"] { background: var(--ink); color: #fff; }

/* Phone button in header.
   Visible in the open mobile menu (calling is the main action for a trade
   business) and on wide desktops. Hidden only in the 900-1079px band, where
   the nav is a horizontal bar and there is no room for it. */
.header-cta { display: inline-flex; }
@media (min-width: 900px) and (max-width: 1079px) { .header-cta { display: none; } }

/* Mobile menu toggle */
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-left: auto;
  background: transparent; border: 1px solid var(--grey-300);
  border-radius: var(--radius); cursor: pointer; color: var(--ink);
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: currentColor; position: relative; transition: background .15s var(--ease); }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor;
  transition: transform .2s var(--ease), top .2s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 899px) {
  .nav {
    position: fixed; inset: 74px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--grey-200);
    padding: var(--sp-4) var(--sp-5) var(--sp-6);
    box-shadow: var(--shadow-md);
    max-height: calc(100vh - 74px); overflow-y: auto;
  }
  .nav[hidden] { display: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { display: block; padding: var(--sp-4) 0; border-bottom: 1px solid var(--grey-200); }
  .nav__link:hover, .nav__link[aria-current="page"] { border-bottom-color: var(--grey-200); }
  .nav .btn { margin-top: var(--sp-4); }
  .lang { margin-top: var(--sp-4); }
}
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav[hidden] { display: flex; }   /* ignore the hidden attr on desktop */
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--asphalt-800);
  color: var(--grey-300);
  padding-block: clamp(3.5rem, 9vw, 7.5rem);
}
/* Asphalt-grain texture, generated in-browser as an SVG data URI.
   No image file to download, so it costs nothing on load. */
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .28; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}
/* Amber road-marking stripe. Sits in the gutter just left of the text column
   rather than flush against the window edge, so it reads as a deliberate
   margin rule. max() keeps it on screen once the viewport is narrower than
   the container. */
.hero::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 5px;
  left: max(0.5rem, calc((100% - var(--container)) / 2));
  background: repeating-linear-gradient(to bottom,
              var(--amber) 0 42px, transparent 42px 74px);
  opacity: .85;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: #fff; margin-bottom: var(--sp-5); max-width: 17ch; }
.hero__lead { font-size: var(--fs-lg); color: var(--grey-300); max-width: 56ch; margin-bottom: var(--sp-6); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.hero .eyebrow { color: var(--amber); }

/* Facts strip under the hero */
.facts {
  background: var(--asphalt-900);
  border-top: 1px solid rgba(255,255,255,.09);
}
.facts__grid {
  display: grid; grid-template-columns: 1fr; gap: 0;
}
@media (min-width: 640px) { .facts__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .facts__grid { grid-template-columns: repeat(4, 1fr); } }
.fact {
  padding: var(--sp-5) 0;
  border-bottom: 1px solid rgba(255,255,255,.09);
}
@media (min-width: 640px) {
  .fact { padding: var(--sp-5) var(--sp-5) var(--sp-5) 0; }
  .fact + .fact { padding-left: var(--sp-5); border-left: 1px solid rgba(255,255,255,.09); }
}
@media (min-width: 980px) { .fact { border-bottom: 0; } }
.fact__label { font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--amber); font-weight: 700; margin-bottom: 4px; }
.fact__value { color: #fff; font-weight: 700; font-size: var(--fs-base); line-height: 1.35; }

/* --------------------------------------------------------------------------
   7. Services
   -------------------------------------------------------------------------- */
.cards { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; }
@media (min-width: 700px)  { .cards { grid-template-columns: repeat(2, 1fr); } }
/* Five service cards sit as 3 + 2. Five across would squeeze each card to
   ~215px, which wraps the bullet lists badly. */
@media (min-width: 1040px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--grey-200);
  border-top: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: var(--sp-5);
  transition: border-top-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.card:hover { border-top-color: var(--amber); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card__icon { color: var(--ink); margin-bottom: var(--sp-4); }
.card__icon svg { width: 40px; height: 40px; }
.card h3 { margin-bottom: var(--sp-3); font-size: var(--fs-lg); }
.card p  { color: var(--grey-500); font-size: var(--fs-sm); margin-bottom: var(--sp-4); }
.card ul { list-style: none; padding: 0; margin: auto 0 0; border-top: 1px solid var(--grey-200); padding-top: var(--sp-4); }
.card li {
  position: relative; padding-left: 1.35rem; font-size: var(--fs-sm);
  color: var(--ink-600); margin-bottom: var(--sp-2);
}
.card li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 8px; height: 8px; background: var(--amber);
}

/* --------------------------------------------------------------------------
   7b. Project gallery, videos and lightbox
   -------------------------------------------------------------------------- */
.gallery {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: var(--sp-3);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 700px)  { .gallery { grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); } }
@media (min-width: 1040px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery li { margin: 0; }

/* The thumbnail is a real <button>: keyboard reachable and announced as a
   control, which a bare clickable <img> would not be. */
.shot {
  display: block; width: 100%; padding: 0; margin: 0; cursor: pointer;
  border: 0; border-radius: var(--radius); overflow: hidden;
  background: var(--grey-200); position: relative;
  aspect-ratio: 1 / 1;
}
.shot img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .35s var(--ease), filter .35s var(--ease);
}
.shot::after {
  content: ""; position: absolute; inset: 0;
  border: 2px solid transparent; border-radius: var(--radius);
  transition: border-color .2s var(--ease);
}
.shot:hover img, .shot:focus-visible img { transform: scale(1.05); filter: brightness(1.05); }
.shot:hover::after, .shot:focus-visible::after { border-color: var(--amber); }

.gallery__subhead {
  margin: var(--sp-8) 0 var(--sp-4);
  font-size: var(--fs-lg);
}
/* Three portrait clips. The max-width matters: at full container width a
   480x848 video would render over 1000px tall. */
.videos { display: grid; gap: var(--sp-4); grid-template-columns: 1fr; max-width: 1000px; }
@media (min-width: 700px)  { .videos { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .videos { grid-template-columns: repeat(3, 1fr); } }
.videos figure { margin: 0; }
.videos video {
  width: 100%; height: auto; display: block;
  background: var(--ink); border-radius: var(--radius);
  aspect-ratio: 480 / 848; object-fit: cover;
}
.videos figcaption {
  font-size: var(--fs-sm); color: var(--grey-500); margin-top: var(--sp-2);
}

/* --- Lightbox. Uses <dialog>, so focus trapping and Escape come for free. --- */
.lightbox {
  border: 0; padding: 0; background: transparent;
  max-width: 100vw; max-height: 100vh; width: 100%; height: 100%;
  overflow: hidden;
}
.lightbox::backdrop { background: rgba(13, 14, 17, .93); }
.lightbox__inner {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 100%; padding: var(--sp-5) var(--sp-4) var(--sp-4);
  gap: var(--sp-4);
}
.lightbox img {
  max-width: min(100%, 1100px); max-height: calc(100vh - 170px);
  width: auto; height: auto; object-fit: contain;
  border-radius: var(--radius); background: var(--ink);
}
.lightbox__cap {
  color: #fff; font-size: var(--fs-sm); text-align: center;
  margin: 0; max-width: 60ch;
}
.lightbox__count { color: var(--grey-400); font-size: var(--fs-xs); }
.lightbox__bar { display: flex; gap: var(--sp-3); align-items: center; }
.lightbox__btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; flex: none;
  background: rgba(255,255,255,.1); color: #fff;
  border: 1px solid rgba(255,255,255,.28); border-radius: var(--radius);
  cursor: pointer; font-size: 1.4rem; line-height: 1;
  transition: background-color .15s var(--ease), border-color .15s var(--ease);
}
.lightbox__btn:hover { background: rgba(255,255,255,.2); border-color: #fff; }
.lightbox__close {
  position: absolute; top: var(--sp-4); right: var(--sp-4);
}

/* --------------------------------------------------------------------------
   8. Split content block (About)
   -------------------------------------------------------------------------- */
.split { display: grid; gap: var(--sp-7); align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr .95fr; gap: var(--sp-9); } }

.quote-block {
  border-left: 4px solid var(--amber);
  padding: var(--sp-2) 0 var(--sp-2) var(--sp-5);
  font-size: var(--fs-xl); font-weight: 700; color: #fff;
  letter-spacing: -.02em; line-height: 1.3;
}

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  position: relative; padding-left: 2.1rem; margin-bottom: var(--sp-4);
  color: var(--grey-300);
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .28em;
  width: 20px; height: 20px; background: var(--amber);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.checklist li strong { color: #fff; display: block; }

/* --------------------------------------------------------------------------
   9. Process steps
   -------------------------------------------------------------------------- */
.steps { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 700px)  { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(5, 1fr); gap: var(--sp-4); } }

.step { position: relative; padding-top: var(--sp-5); border-top: 2px solid var(--grey-300); }
.step__num {
  font-size: var(--fs-xs); font-weight: 800; letter-spacing: .1em;
  color: var(--amber-text); margin-bottom: var(--sp-2);
}
.step h3 { font-size: var(--fs-base); margin-bottom: var(--sp-2); }
.step p  { font-size: var(--fs-sm); color: var(--grey-500); margin: 0; }

/* --------------------------------------------------------------------------
   10. Contact section + form
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; gap: var(--sp-7); }
@media (min-width: 940px) { .contact-grid { grid-template-columns: 1fr 1.15fr; gap: var(--sp-9); } }

.contact-list { list-style: none; padding: 0; margin: 0 0 var(--sp-6); }
.contact-list li { display: flex; gap: var(--sp-4); margin-bottom: var(--sp-5); align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; flex: none; color: var(--amber); margin-top: 3px; }
.contact-list__label { font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--grey-500); display: block; margin-bottom: 2px; }
.contact-list a { color: inherit; font-weight: 700; text-decoration: none; }
.contact-list a:hover { color: var(--amber-text); text-decoration: underline; }

.form { display: grid; gap: var(--sp-4); }
.form__row { display: grid; gap: var(--sp-4); }
@media (min-width: 560px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: var(--fs-sm); font-weight: 700; color: var(--ink); }
.field .req { color: var(--amber-text); }
.field .hint { font-size: var(--fs-xs); color: var(--grey-500); font-weight: 400; }

.field input, .field select, .field textarea {
  font: inherit; font-size: var(--fs-sm);
  color: var(--ink); background: var(--paper);
  border: 1px solid var(--grey-300); border-radius: var(--radius);
  padding: 13px var(--sp-4); width: 100%;
  min-height: 50px;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
  padding-right: 44px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255,180,0,.35); outline: none;
}
.field input::placeholder, .field textarea::placeholder { color: var(--grey-400); }

.consent { display: flex; gap: var(--sp-3); align-items: flex-start; font-size: var(--fs-sm); color: var(--grey-500); }
.consent input { width: 22px; height: 22px; min-height: 0; flex: none; margin-top: 2px; accent-color: var(--ink); }
.consent a { color: var(--ink); }

/* Honeypot — hidden from humans, tempting to bots. Not display:none, so
   naive bots that skip hidden fields still fill it in. */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__note { font-size: var(--fs-xs); color: var(--grey-500); margin: 0; }

.alert {
  padding: var(--sp-4) var(--sp-5); border-radius: var(--radius);
  border-left: 4px solid; font-size: var(--fs-sm); margin-bottom: var(--sp-5);
}
.alert--ok    { background: #edf7ee; border-color: #2f7d34; color: #1c5220; }
.alert--error { background: #fdecec; border-color: #c0392b; color: #8e2a20; }
.alert p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   11. Call-to-action band
   -------------------------------------------------------------------------- */
.cta-band { background: var(--amber); color: var(--ink); }
.cta-band__inner { display: grid; gap: var(--sp-5); align-items: center; }
@media (min-width: 880px) { .cta-band__inner { grid-template-columns: 1fr auto; gap: var(--sp-7); } }
.cta-band h2 { margin-bottom: var(--sp-2); }
.cta-band p  { margin: 0; color: rgba(20,22,26,.8); font-weight: 500; }
.cta-band .btn--dark { background: var(--ink); color: #fff; border-color: var(--ink); white-space: nowrap; }
.cta-band .btn--dark:hover { background: #000; border-color: #000; color: #fff; }

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--asphalt-900); color: var(--grey-400); font-size: var(--fs-sm); }
.site-footer a { color: var(--grey-300); text-decoration: none; }
.site-footer a:hover { color: var(--amber); text-decoration: underline; }
.footer__grid { display: grid; gap: var(--sp-6); padding-block: var(--sp-8) var(--sp-6); }
@media (min-width: 760px)  { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr; gap: var(--sp-7); } }
.footer__grid h4 { color: #fff; font-size: var(--fs-sm); letter-spacing: .1em; text-transform: uppercase; margin-bottom: var(--sp-4); }
.footer__grid ul { list-style: none; padding: 0; margin: 0; }
.footer__grid li { margin-bottom: var(--sp-3); }
.footer__brand img, .footer__brand svg { height: 46px; width: auto; margin-bottom: var(--sp-4); }
/* The logo SVG is drawn in currentColor; loaded via <img> it renders black,
   so invert it to sit on the dark footer. */
.logo--light { filter: invert(1); }
.footer__brand p { color: var(--grey-400); max-width: 34ch; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-block: var(--sp-5);
  display: flex; flex-wrap: wrap; gap: var(--sp-4) var(--sp-5);
  justify-content: space-between; align-items: center;
  color: var(--grey-400); font-size: var(--fs-xs);
}
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: var(--sp-5); }

/* --------------------------------------------------------------------------
   13. Legal / long-form text pages
   -------------------------------------------------------------------------- */
.prose { max-width: 76ch; }
.prose h2 { font-size: var(--fs-xl); margin-top: var(--sp-7); }
.prose h3 { font-size: var(--fs-lg); margin-top: var(--sp-6); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-600); }
.prose address { font-style: normal; }

/* Fields the owner must still fill in — impossible to miss, easy to grep. */
.todo {
  background: #fff8dd; border: 1px dashed #b8860b; color: #6b4d00;
  padding: 2px 7px; border-radius: 2px; font-weight: 700; font-size: .9em;
}

.page-head { background: var(--grey-100); border-bottom: 1px solid var(--grey-200); padding-block: var(--sp-8) var(--sp-7); }
.page-head h1 { font-size: var(--fs-2xl); margin-bottom: var(--sp-2); }
.page-head p { color: var(--grey-500); margin: 0; }

/* Print: strip chrome, keep the content readable */
@media print {
  .site-header, .site-footer, .cta-band, .nav-toggle, .hero__actions { display: none !important; }
  body { color: #000; font-size: 11pt; }
  .hero { background: #fff; color: #000; padding-block: 1rem; }
  .hero h1 { color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
}
