/* ==========================================================================
   Sutherland Concrete Ltd — design system
   Light + dark themes, fluid type, no external dependencies.
   ========================================================================== */

/* --- Tokens: light is the base definition ------------------------------- */
:root {
  --bg:            #f6f6f4;
  --bg-sunken:     #ecebe7;
  --surface:       #ffffff;
  --surface-2:     #f2f1ed;
  --border:        #dddbd4;
  --border-strong: #c6c3b9;

  --text:          #17181a;
  --text-muted:    #5b5f66;
  --text-faint:    #82868e;

  /* Safety-yellow, taken from the Putzmeister booms in the photography */
  --accent:        #e8b400;
  --accent-hover:  #cfa100;
  --accent-ink:    #1a1500;
  --accent-soft:   rgba(232, 180, 0, 0.12);

  --header-bg:     rgba(246, 246, 244, 0.82);
  --scrim:         rgba(12, 12, 13, 0.62);
  --shadow-sm:     0 1px 2px rgba(16, 17, 20, 0.06), 0 1px 3px rgba(16, 17, 20, 0.05);
  --shadow-md:     0 4px 12px rgba(16, 17, 20, 0.08), 0 2px 4px rgba(16, 17, 20, 0.04);
  --shadow-lg:     0 18px 40px rgba(16, 17, 20, 0.14);

  --maxw:          1180px;
  --gutter:        clamp(1.15rem, 4vw, 2.5rem);
  --radius:        14px;
  --radius-sm:     9px;

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;

  color-scheme: light;
}

/* Dark — system preference, unless the user explicitly chose light */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:            #101113;
    --bg-sunken:     #0a0b0c;
    --surface:       #17191c;
    --surface-2:     #1e2125;
    --border:        #2a2e33;
    --border-strong: #3a3f46;

    --text:          #f0f1f2;
    --text-muted:    #a8adb5;
    --text-faint:    #7c828b;

    --accent:        #f5c518;
    --accent-hover:  #ffd83d;
    --accent-ink:    #1a1500;
    --accent-soft:   rgba(245, 197, 24, 0.14);

    --header-bg:     rgba(16, 17, 19, 0.82);
    --scrim:         rgba(4, 4, 5, 0.66);
    --shadow-sm:     0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md:     0 4px 12px rgba(0, 0, 0, 0.45);
    --shadow-lg:     0 18px 40px rgba(0, 0, 0, 0.55);

    color-scheme: dark;
  }
}

/* Dark — explicit toggle, wins in both directions */
:root[data-theme="dark"] {
  --bg:            #101113;
  --bg-sunken:     #0a0b0c;
  --surface:       #17191c;
  --surface-2:     #1e2125;
  --border:        #2a2e33;
  --border-strong: #3a3f46;

  --text:          #f0f1f2;
  --text-muted:    #a8adb5;
  --text-faint:    #7c828b;

  --accent:        #f5c518;
  --accent-hover:  #ffd83d;
  --accent-ink:    #1a1500;
  --accent-soft:   rgba(245, 197, 24, 0.14);

  --header-bg:     rgba(16, 17, 19, 0.82);
  --scrim:         rgba(4, 4, 5, 0.66);
  --shadow-sm:     0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md:     0 4px 12px rgba(0, 0, 0, 0.45);
  --shadow-lg:     0 18px 40px rgba(0, 0, 0, 0.55);

  color-scheme: dark;
}

/* --- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
input, button, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }

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

::selection { background: var(--accent); color: var(--accent-ink); }

/* --- Typography --------------------------------------------------------- */
h1, h2, h3, h4 {
  line-height: 1.12;
  letter-spacing: -0.022em;
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 1.35rem + 3.9vw, 4.3rem); }
h2 { font-size: clamp(1.72rem, 1.25rem + 2.1vw, 2.7rem); }
h3 { font-size: clamp(1.12rem, 0.99rem + 0.6vw, 1.4rem); letter-spacing: -0.012em; }
p  { text-wrap: pretty; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.745rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--accent);
  flex: none;
}
.eyebrow--plain::before { display: none; }

.lede {
  font-size: clamp(1.03rem, 0.97rem + 0.32vw, 1.2rem);
  color: var(--text-muted);
  max-width: 62ch;
}

/* --- Layout ------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(3.4rem, 2.2rem + 5.2vw, 6.5rem); }
.section--sunken { background: var(--bg-sunken); }
.section__head { max-width: 68ch; margin-bottom: clamp(1.9rem, 1.4rem + 1.7vw, 3rem); }
.section__head .eyebrow { margin-bottom: 0.85rem; }
.section__head h2 + p { margin-top: 0.95rem; }

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -100px;
  z-index: 200;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.7rem 1.15rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.18s ease;
}
.skip-link:focus { top: 0; }

/* --- Header ------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.is-stuck {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-right: auto;
  padding-block: 0.5rem;
}
.brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  flex: none;
  box-shadow: var(--shadow-sm);
}
.brand__name { font-size: 1.02rem; }
.brand__sub {
  display: block;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.nav { display: flex; align-items: center; gap: 0.15rem; }
.nav a {
  position: relative;
  padding: 0.55rem 0.82rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 0.925rem;
  font-weight: 550;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 0.16s ease, background-color 0.16s ease;
}
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--text); font-weight: 680; }
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.82rem;
  right: 0.82rem;
  bottom: 0.3rem;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.header-tools { display: flex; align-items: center; gap: 0.5rem; }

.icon-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}
.icon-btn:hover { color: var(--text); border-color: var(--border-strong); }
.icon-btn svg { width: 18px; height: 18px; }
.theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun  { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: block; }
}

/* Language switcher */
.lang {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 38px;
}
.lang a {
  padding: 0 0.62rem;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-decoration: none;
  color: var(--text-faint);
  transition: color 0.16s ease, background-color 0.16s ease;
}
.lang a:hover { color: var(--text); background: var(--surface-2); }
.lang a[aria-current="true"] { background: var(--accent); color: var(--accent-ink); }

.nav-toggle { display: none; }

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.82rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.14s ease, background-color 0.16s ease,
              border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 17px; height: 17px; flex: none; }

.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--accent-hover); box-shadow: var(--shadow-md); }

.btn--ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}
.btn--ghost:hover { background: var(--surface-2); border-color: var(--text-faint); }

.btn--on-dark {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn--on-dark:hover { background: rgba(255, 255, 255, 0.19); border-color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* --- Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: clamp(480px, 76vh, 760px);
  color: #fff;
  background: #0c0c0d;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.hero__media picture { display: block; width: 100%; height: 100%; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(8,8,9,0.94) 0%, rgba(8,8,9,0.62) 42%, rgba(8,8,9,0.35) 72%, rgba(8,8,9,0.5) 100%);
}
.hero__inner { padding-block: clamp(2.8rem, 2rem + 4vw, 5rem); }
.hero .eyebrow { color: rgba(255, 255, 255, 0.86); }
.hero h1 { margin-block: 1rem 1.2rem; max-width: 17ch; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__lede {
  font-size: clamp(1.05rem, 0.98rem + 0.42vw, 1.28rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 56ch;
  margin-bottom: 2rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  margin-top: clamp(2.5rem, 2rem + 2vw, 3.6rem);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  overflow: hidden;
}
.hero__stat {
  background: rgba(10, 10, 11, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 1.05rem 1.2rem;
}
.hero__stat dt {
  font-size: 0.735rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
}
.hero__stat dd {
  font-size: clamp(1.35rem, 1.15rem + 0.85vw, 1.85rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  margin-top: 0.15rem;
}

/* Page banner (interior pages) */
.page-head {
  position: relative;
  isolation: isolate;
  color: #fff;
  background: #0c0c0d;
  padding-block: clamp(3rem, 2.2rem + 4.5vw, 5.6rem);
  overflow: hidden;
}
.page-head__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.page-head__media picture { display: block; width: 100%; height: 100%; }
.page-head__media img { width: 100%; height: 100%; object-fit: cover; }
.page-head__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,9,0.93), rgba(8,8,9,0.66));
}
.page-head .eyebrow { color: rgba(255, 255, 255, 0.86); margin-bottom: 0.9rem; }
.page-head p { color: rgba(255, 255, 255, 0.88); max-width: 60ch; margin-top: 1rem; }

/* --- Cards / grids ------------------------------------------------------ */
.grid { display: grid; gap: clamp(1rem, 0.8rem + 0.9vw, 1.6rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.35rem, 1.1rem + 0.75vw, 1.9rem);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card--lift:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--text-muted); font-size: 0.95rem; }

.card__icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 1.05rem;
}
:root[data-theme="light"] .card__icon,
:root:not([data-theme="dark"]) .card__icon { color: #9a7800; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .card__icon { color: var(--accent); }
}
.card__icon svg { width: 21px; height: 21px; }

.tick-list { list-style: none; padding: 0; display: grid; gap: 0.6rem; }
.tick-list li {
  position: relative;
  padding-left: 1.72rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.53em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
}

/* Split feature block */
.split {
  display: grid;
  gap: clamp(1.8rem, 1.3rem + 2.4vw, 3.6rem);
  align-items: center;
}
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-text { grid-template-columns: 1.15fr 1fr; }
  .split--flip .split__media { order: -1; }
}
.split__media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  background: var(--surface-2);
}
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split__body h2 + p, .split__body p + p { margin-top: 1rem; }
.split__body .btn-row { margin-top: 1.7rem; }
.split__body .tick-list { margin-top: 1.4rem; }

/* Timeline (history) */
.timeline { list-style: none; padding: 0; display: grid; gap: 0; margin-top: 1rem; }
.timeline li {
  position: relative;
  padding: 0 0 1.75rem 2.1rem;
  border-left: 2px solid var(--border);
}
.timeline li:last-child { padding-bottom: 0; border-left-color: transparent; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 0.42em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg);
}
.timeline h3 { font-size: 1.05rem; }
.timeline .timeline__year {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.2rem;
}
:root:not([data-theme="dark"]) .timeline .timeline__year { color: #9a7800; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .timeline .timeline__year { color: var(--accent); }
}
.timeline p { color: var(--text-muted); font-size: 0.94rem; margin-top: 0.3rem; }

/* --- Gallery ------------------------------------------------------------ */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: clamp(0.75rem, 0.6rem + 0.6vw, 1.15rem);
}
.gallery__item {
  position: relative;
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-2);
  cursor: zoom-in;
  padding: 0;
  width: 100%;
  text-align: left;
  display: flex;
  flex-direction: column;
  font: inherit;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.gallery__item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.gallery__item picture {
  display: block;
  overflow: hidden;
}
.gallery__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.gallery__item:hover img { transform: scale(1.045); }
.gallery__cap {
  display: block;
  padding: 0.72rem 0.85rem 0.85rem;
  font-size: 0.855rem;
  line-height: 1.45;
  color: var(--text-muted);
  background: var(--surface);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: var(--scrim);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.lightbox[open] { display: grid; }
.lightbox::backdrop { background: transparent; }
.lightbox__frame { max-width: min(1000px, 100%); }
.lightbox img {
  max-width: 100%;
  max-height: 76vh;
  width: auto;
  margin-inline: auto;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  background: #000;
}
.lightbox__cap {
  color: #fff;
  text-align: center;
  margin-top: 1rem;
  font-size: 0.94rem;
  max-width: 62ch;
  margin-inline: auto;
}
.lightbox__close {
  position: absolute;
  top: clamp(0.75rem, 2vw, 1.5rem);
  right: clamp(0.75rem, 2vw, 1.5rem);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.lightbox__close:hover { background: rgba(255, 255, 255, 0.24); }
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.lightbox__nav:hover { background: rgba(255, 255, 255, 0.24); }
.lightbox__nav--prev { left: clamp(0.5rem, 2vw, 1.5rem); }
.lightbox__nav--next { right: clamp(0.5rem, 2vw, 1.5rem); }
.lightbox__nav svg, .lightbox__close svg { width: 20px; height: 20px; }

/* --- Filter chips ------------------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.9rem; }
.chip {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}
.chip:hover { color: var(--text); border-color: var(--border-strong); }
.chip[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

/* --- Contact ------------------------------------------------------------ */
.contact-grid {
  display: grid;
  gap: clamp(1.2rem, 1rem + 1vw, 2rem);
}
/* Grid items default to min-width:auto, which lets the map iframe's intrinsic
   width blow out the track. */
.contact-grid > * { min-width: 0; }
@media (min-width: 880px) {
  .contact-grid { grid-template-columns: 1.05fr 1fr; align-items: start; }
}

.contact-list { list-style: none; padding: 0; display: grid; gap: 1.15rem; }
.contact-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.contact-list__icon {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 9px;
  background: var(--accent-soft);
  color: #9a7800;
  display: grid;
  place-items: center;
}
:root[data-theme="dark"] .contact-list__icon { color: var(--accent); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .contact-list__icon { color: var(--accent); }
}
.contact-list__icon svg { width: 18px; height: 18px; }
.contact-list dt {
  font-size: 0.735rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 700;
  margin-bottom: 0.1rem;
}
.contact-list dd { font-size: 1.02rem; font-weight: 600; }
/* Inline-block + padding keeps these comfortably above the 24px minimum
   touch-target height. */
.contact-list a {
  text-decoration: none;
  display: inline-block;
  padding-block: 0.25rem;
  min-height: 24px;
}
.contact-list a:hover { text-decoration: underline; text-underline-offset: 3px; }

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: var(--surface-2);
  aspect-ratio: 4 / 3;
  min-height: 320px;
  width: 100%;
  /* The Maps iframe carries an intrinsic min-width (~445px); without this it
     forces horizontal scroll on narrow phones. */
  min-width: 0;
}
.map-embed iframe {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Careers */
.job {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.3rem, 1.1rem + 0.7vw, 1.8rem);
  box-shadow: var(--shadow-sm);
}
.job__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #8a6c00;
  margin-bottom: 0.85rem;
}
:root[data-theme="dark"] .job__tag { color: var(--accent); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .job__tag { color: var(--accent); }
}
.job h3 { margin-bottom: 0.55rem; }
.job p { color: var(--text-muted); font-size: 0.95rem; }
.job .tick-list { margin-top: 1rem; }
.job__apply { margin-top: 1.35rem; }

/* --- CTA band ----------------------------------------------------------- */
.cta {
  position: relative;
  isolation: isolate;
  color: #fff;
  background: #0c0c0d;
  overflow: hidden;
  text-align: center;
}
.cta__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.cta__media picture { display: block; width: 100%; height: 100%; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; }
.cta__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(8,8,9,0.92), rgba(8,8,9,0.78));
}
.cta__inner { padding-block: clamp(3.2rem, 2.4rem + 4vw, 5.4rem); }
.cta h2 { max-width: 20ch; margin-inline: auto; }
.cta p {
  color: rgba(255, 255, 255, 0.87);
  max-width: 54ch;
  margin: 1rem auto 2rem;
}
.cta .btn-row { justify-content: center; }

/* --- Footer ------------------------------------------------------------- */
.site-footer {
  background: var(--bg-sunken);
  border-top: 1px solid var(--border);
  padding-block: clamp(2.6rem, 2rem + 2.4vw, 4rem) 1.5rem;
}
.footer-grid {
  display: grid;
  gap: clamp(1.8rem, 1.4rem + 1.6vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
}
.footer-col h3 {
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1rem;
  font-weight: 700;
}
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 0.35rem; }
.footer-col a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.94rem;
  transition: color 0.16s ease;
  /* Keep footer links at a comfortable touch-target height. */
  display: inline-block;
  padding-block: 0.32rem;
  min-height: 26px;
}
.footer-col a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.footer-col p { color: var(--text-muted); font-size: 0.94rem; }
.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand p { max-width: 34ch; }

.footer-bottom {
  margin-top: clamp(2rem, 1.6rem + 1.6vw, 3rem);
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.4rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.855rem;
  color: var(--text-faint);
}
.footer-bottom a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  padding-block: 0.2rem;
}
.footer-bottom a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* --- Reveal on scroll --------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* --- Mobile nav --------------------------------------------------------- */
@media (max-width: 880px) {
  .nav-toggle { display: grid; }

  .nav {
    position: fixed;
    inset: 68px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 1rem var(--gutter) 1.6rem;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    max-height: calc(100dvh - 68px);
    overflow-y: auto;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a {
    padding: 0.85rem 0.75rem;
    font-size: 1.02rem;
    border-radius: var(--radius-sm);
  }
  .nav a[aria-current="page"] { background: var(--surface-2); }
  .nav a[aria-current="page"]::after { display: none; }

  .hero { min-height: 0; }
  .hero__inner { padding-block: 2.6rem 3rem; }
  .hero h1 { max-width: none; }
  .brand__sub { display: none; }
}

@media (max-width: 420px) {
  .brand__name { font-size: 0.94rem; }
  .btn { width: 100%; }
  .hero .btn-row .btn { width: 100%; }
}

/* Very narrow phones (320px): tighten the header so it never overflows. */
@media (max-width: 360px) {
  :root { --gutter: 0.9rem; }
  .site-header__inner { gap: 0.5rem; }
  .header-tools { gap: 0.3rem; }
  .brand__mark { width: 30px; height: 30px; font-size: 0.84rem; }
  .brand__name { font-size: 0.86rem; }
  .lang { height: 34px; }
  .lang a { padding: 0 0.45rem; font-size: 0.72rem; }
  .icon-btn { width: 34px; height: 34px; }
  .icon-btn svg { width: 16px; height: 16px; }
  .hero__stat dd { font-size: 1.2rem; }
}

/* Long unbroken words (e.g. "Putzmeister", email addresses) must wrap rather
   than clip out of their container. */
.hero__stat dd,
.contact-list dd,
.contact-list a,
.footer-col a,
.gallery__cap,
.card p,
.job p {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* --- Print -------------------------------------------------------------- */
@media print {
  .site-header, .nav, .cta, .lightbox, .chips, .header-tools { display: none !important; }
  body { background: #fff; color: #000; }
  .hero, .page-head { color: #000; background: #fff; min-height: 0; }
  .hero__media, .page-head__media { display: none; }
  .reveal { opacity: 1; transform: none; }
}
