/* =========================================================
   Lauber Tief- & GaLaBau GmbH – one-page site
   Sections: tokens · base · header · hero · sections ·
             about · projects · contact ·
             footer · dialogs · responsive
   ========================================================= */

@font-face {
  font-family: "Titillium Web";
  src: url("../fonts/titillium-web-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Titillium Web";
  src: url("../fonts/titillium-web-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Titillium Web";
  src: url("../fonts/titillium-web-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #0f171c;
  --night: #16222a;     /* page / dark sections */
  --night-2: #1d2c35;   /* cards on dark */
  --dunkel: #314753;    /* brand dark blue */
  --schiefer: #415c6c;  /* brand slate */
  --rot: #e41d25;       /* brand red (graphics, buttons) */
  --rot-text: #c8161d;  /* red for small text on light */
  --hell: #f4f6f7;
  --linie: #d5dce0;
  --text: #2b3a43;
  --muted: #8ea3af;

  --mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --wrap: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
}

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

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

body {
  margin: 0;
  font-family: "Titillium Web", "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: var(--night);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

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

.skip {
  position: absolute;
  left: 16px; top: -64px;
  z-index: 100;
  padding: 10px 16px;
  background: #fff;
  color: var(--ink);
  border-radius: 4px;
  transition: top .2s;
}
.skip:focus { top: 16px; }

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

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--gutter);
  transition: background-color .35s, padding .35s, box-shadow .35s;
}
.site-header.is-scrolled {
  padding-block: 10px;
  background: rgba(15, 23, 28, .86);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.brand { display: block; line-height: 0; }
.brand img { height: 42px; width: auto; transition: height .35s; }
.is-scrolled .brand img { height: 36px; }

.nav { display: flex; align-items: center; gap: clamp(16px, 2.6vw, 36px); }
.nav a {
  position: relative;
  color: #d3dde3;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .04em;
  transition: color .2s;
}
.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--rot);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover, .nav a:focus-visible, .nav a[aria-current] { color: #fff; }
.nav a:not(.nav-cta):hover::after,
.nav a:not(.nav-cta)[aria-current]::after { transform: scaleX(1); }

.nav-cta {
  padding: 8px 18px;
  border: 1.5px solid rgba(255, 255, 255, .35);
  border-radius: 4px;
  color: #fff !important;
  transition: background-color .2s, border-color .2s !important;
}
.nav-cta:hover, .nav-cta:focus-visible { background: var(--rot); border-color: var(--rot); }

/* ---------- Depth gauge (decorative) ---------- */
.depth {
  --p: 0;
  position: fixed;
  right: 22px;
  top: calc(var(--header-h) + 24px);
  bottom: 40px;
  width: 1px;
  z-index: 40;
  pointer-events: none;
  color: #fff;
}
.depth-line {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(to bottom, currentColor 0 1px, transparent 1px 10px) right / 7px 100% no-repeat,
    linear-gradient(currentColor, currentColor) right / 1px 100% no-repeat;
  opacity: .5;
  mix-blend-mode: difference;
}
.depth-mark {
  position: absolute;
  right: -4px;
  top: calc(var(--p) * 100%);
  width: 9px; height: 9px;
  margin-top: -4px;
  background: var(--rot);
  transform: rotate(45deg);
}
.depth-val {
  position: absolute;
  right: 18px;
  top: calc(var(--p) * 100%);
  margin-top: -9px;
  font: 11px/18px var(--mono);
  letter-spacing: .06em;
  white-space: nowrap;
  mix-blend-mode: difference;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7em;
  padding: 15px 28px;
  border: 1.5px solid transparent;
  border-radius: 4px;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .03em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, transform .2s var(--ease);
}
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow, .btn:focus-visible .arrow { transform: translateX(5px); }

.btn-primary { background: var(--rot); color: #fff; }
.btn-primary:hover, .btn-primary:focus-visible { background: #c4151c; }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost:hover, .btn-ghost:focus-visible { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + 16px) var(--gutter) clamp(72px, 11vh, 120px);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(90% 80% at 78% 25%, #3a5565 0%, rgba(58, 85, 101, 0) 70%),
    linear-gradient(180deg, #1b2a33 0%, #121c22 100%);
}
/* darken the text side so the contour lines never fight the headline */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(110% 95% at 0% 100%, rgba(14, 22, 27, .82) 0%, rgba(14, 22, 27, 0) 62%);
}

.relief {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 600 13px/1.4 var(--mono);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #a9bcc7;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: var(--rot);
}

.hero h1 {
  margin: .22em 0 .3em;
  font-size: clamp(3.4rem, min(13.4vw, 19vh), 12.5rem);
  font-weight: 700;
  line-height: .88;
  letter-spacing: -.03em;
}
.hero h1 .dot { color: var(--rot); }

.lede {
  max-width: 42ch;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  line-height: 1.45;
  color: #cbd8df;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(24px, 4vh, 36px); }

.hero-meta {
  position: absolute;
  z-index: 1;
  left: var(--gutter); right: var(--gutter);
  bottom: 26px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font: 11px/1.4 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #7f96a3;
}
.legend { display: inline-flex; align-items: center; gap: 10px; text-align: right; }
.legend i { width: 22px; height: 2px; background: var(--rot); flex: none; }

/* hero entrance */
@keyframes rise {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: none; }
}
.rise { animation: rise 1s var(--ease) both; animation-delay: calc(var(--i, 0) * 110ms + 150ms); }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(84px, 12vw, 176px) 0; }

.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(24px, 3.5vw, 40px);
  font: 600 13px/1.4 var(--mono);
  letter-spacing: .18em;
  text-transform: uppercase;
}
.kicker::after {
  content: "";
  flex: 0 1 120px;
  height: 1px;
  background: currentColor;
  opacity: .3;
}
.kicker-no { color: var(--rot); }
.kicker-sm { margin-bottom: 8px; }

.section-title {
  max-width: 16ch;
  font-size: clamp(2.5rem, 6.4vw, 5.6rem);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.02em;
}
.section-lede { max-width: 40ch; margin-top: 22px; font-size: clamp(1.05rem, 1.5vw, 1.3rem); }

/* scroll reveal – only when JS is on, so no-JS visitors still see everything */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: calc(var(--d, 0) * 110ms);
}
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Über uns ---------- */
.about { background: var(--hell); color: var(--ink); }
.about .kicker { color: var(--schiefer); }
.about .kicker-no { color: var(--rot-text); }

.statement {
  max-width: 26em;
  font-size: clamp(1.8rem, 4.1vw, 3.6rem);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -.012em;
}
.statement .w { color: #b3c0c7; transition: color .45s; }
.statement .w.on { color: var(--ink); }

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(36px, 6vw, 96px);
  margin-top: clamp(56px, 8vw, 120px);
}
.about-note {
  padding-left: 22px;
  border-left: 4px solid var(--rot);
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.5;
  align-self: start;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 44px);
}
.pillars svg {
  width: 44px; height: 44px;
  margin-bottom: 18px;
  fill: none;
  stroke: var(--rot-text);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pillars h3 { font-size: 1.5rem; font-weight: 700; letter-spacing: .01em; margin-bottom: 8px; }
.pillars p { font-size: 1.02rem; line-height: 1.5; color: var(--text); }

.services { margin-top: clamp(64px, 9vw, 136px); }
.services .kicker { color: var(--schiefer); }

.service-list { border-bottom: 1px solid var(--linie); }
.service-list li { border-top: 1px solid var(--linie); }
.service-list a {
  position: relative;
  display: grid;
  grid-template-columns: clamp(44px, 6vw, 80px) 1fr auto;
  align-items: baseline;
  padding: clamp(16px, 2.2vw, 26px) 0;
  text-decoration: none;
  transition: padding .35s var(--ease), color .25s;
}
.service-list a::after {
  content: "→";
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  color: var(--rot-text);
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity .3s, transform .35s var(--ease);
}
.svc-no { font: 600 14px/1 var(--mono); letter-spacing: .1em; color: var(--schiefer); }
.svc-name {
  font-size: clamp(1.5rem, 3.4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.01em;
}
.service-list a:hover, .service-list a:focus-visible { padding-left: 14px; color: var(--rot-text); }
.service-list a:hover::after, .service-list a:focus-visible::after { opacity: 1; transform: none; }

/* ---------- Projekte ---------- */
.projects { background: var(--night); color: #fff; }
.projects .kicker { color: var(--muted); }
.projects .section-lede { color: #b4c4cd; }

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  margin-top: clamp(48px, 6vw, 88px);
}

.project {
  display: flex;
  flex-direction: column;
  background: var(--night-2);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color .3s, transform .5s var(--ease);
}
.project:hover { border-color: rgba(255, 255, 255, .22); transform: translateY(-4px); }

.project-visual {
  height: clamp(210px, 21vw, 290px);
  background:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 100% 20px,
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 20px 100%,
    #172530;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.project-visual svg {
  width: 100%; height: 100%;
  fill: none;
  stroke: rgba(255, 255, 255, .62);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke .3s;
}
.project:hover .project-visual svg { stroke: rgba(255, 255, 255, .92); }
.project-visual .dim { stroke: rgba(255, 255, 255, .3); }
.project:hover .project-visual .dim { stroke: rgba(255, 255, 255, .45); }
.project-visual .acc { stroke: var(--rot); stroke-width: 1.8; }
.project-visual text { fill: rgba(255, 255, 255, .6); stroke: none; font: 10px var(--mono); letter-spacing: .04em; }

/* line drawing on reveal */
.js .project .draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease) .15s, stroke .3s; }
.js .project.in .draw { stroke-dashoffset: 0; }
.js .project .fade { opacity: 0; transition: opacity 1s ease 1s; }
.js .project.in .fade { opacity: 1; }

.project-body { padding: clamp(20px, 2.4vw, 32px); }
.project h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 700; line-height: 1.15; margin-bottom: 8px; }
.project-body p:not(.todo-row) { color: #b4c4cd; font-size: 1.02rem; line-height: 1.5; max-width: 46ch; }
.todo-row { margin-top: 16px; }

/* visible placeholder marker for content that still has to be supplied */
.todo {
  display: inline-block;
  padding: 1px 8px;
  border: 1px dashed currentColor;
  border-radius: 3px;
  font: 400 .8rem/1.6 var(--mono);
  opacity: .72;
}

/* ---------- Kontakt ---------- */
.contact {
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(65, 92, 108, .45), rgba(65, 92, 108, 0) 70%),
    linear-gradient(180deg, #121c22, var(--night));
  color: #fff;
}
.contact .kicker { color: var(--muted); }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 112px);
  align-items: start;
}
.contact .section-title { max-width: none; font-size: clamp(2.3rem, 4.6vw, 4.4rem); }
.contact .section-lede { color: #b4c4cd; }

.contact-list { margin-top: clamp(36px, 5vw, 64px); font-style: normal; }
.contact-list p {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 8px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 1.1rem;
  line-height: 1.5;
}
.contact-list p:last-child { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.contact-list span { font: 600 12px/1.9 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-list a { text-decoration: none; transition: color .2s; }
.contact-list a:hover, .contact-list a:focus-visible { color: #ff7378; }

/* form card */
.form {
  padding: clamp(24px, 3.6vw, 52px);
  background: #fff;
  color: var(--text);
  border-radius: 6px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
.field { margin-bottom: 26px; min-width: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }

.field > label:not(.chip), .chips legend {
  display: block;
  margin-bottom: 4px;
  padding: 0;
  font: 600 12px/1.6 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--schiefer);
}
.opt { text-transform: none; letter-spacing: .02em; font-weight: 400; opacity: .75; }
abbr { text-decoration: none; color: var(--rot-text); }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field textarea {
  display: block;
  width: 100%;
  padding: 10px 0;
  border: 0;
  border-bottom: 2px solid var(--linie);
  border-radius: 0;
  background: transparent;
  font: inherit;
  font-size: 1.15rem;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.field input:hover, .field textarea:hover { border-bottom-color: var(--schiefer); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-bottom-color: var(--rot);
  box-shadow: 0 2px 0 var(--rot);
}

.chips { border: 0; padding: 0; margin-inline: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { width: 100%; margin-bottom: 10px; }
.chip { position: relative; margin: 0 !important; }
.chip input { position: absolute; opacity: 0; inset: 0; }
.chip span {
  display: block;
  padding: 6px 15px;
  border: 1.5px solid var(--linie);
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text);
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.chip span:hover { border-color: var(--schiefer); }
.chip input:checked + span { background: var(--dunkel); border-color: var(--dunkel); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--rot); outline-offset: 2px; }

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 26px;
  font-size: .95rem;
  line-height: 1.5;
  cursor: pointer;
}
.consent input { flex: none; width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--rot); }
.consent a { color: var(--rot-text); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form.is-sending .btn { opacity: .6; pointer-events: none; }

.form-done, .form-error { display: none; }
.form-done { text-align: center; padding: 24px 0; }
.form-done svg {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  fill: none;
  stroke: var(--rot-text);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.form-done h3 { font-size: 2rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.form-done:focus { outline: none; }
.form-done:target, .form.is-done .form-done { display: block; }
.form.is-done .form-fields { display: none; }
.form:has(.form-done:target) .form-fields { display: none; }

.form-error {
  margin-top: 18px;
  padding: 12px 16px;
  border-left: 4px solid var(--rot);
  background: #fdecec;
  color: #7a0f14;
  font-size: .98rem;
}
.form-error:target, .form-error.show { display: block; }
.form-error a { color: inherit; font-weight: 600; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #9fb3bf; font-size: 15px; padding: 30px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.footer-logo { width: 110px; height: auto; flex: none; }
.footer-copy { margin-right: auto; }
.legal a { color: #fff; text-decoration: none; letter-spacing: .05em; }
.legal a:hover, .legal a:focus-visible { color: #ff8a8e; }
.legal span { margin: 0 10px; opacity: .5; }

/* ---------- Dialogs (Impressum / Datenschutz) ---------- */
.modal {
  width: min(760px, calc(100% - 32px));
  max-height: calc(100vh - 64px);
  padding: 0;
  border: 0;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
  color: var(--text);
  overflow: hidden;
}
.modal[open] { display: flex; flex-direction: column; }
.modal:focus, .modal:focus-visible { outline: none; }
.modal::backdrop { background: rgba(15, 23, 28, .8); }

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 28px;
  background: var(--dunkel);
  color: #fff;
}
.modal-head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .04em;
}
.modal-close {
  flex: none;
  width: 40px; height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}
.modal-close:hover, .modal-close:focus-visible { background: var(--rot); outline: none; }

.modal-body {
  overflow-y: auto;
  padding: 24px 28px 32px;
  font-size: 16px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.modal-body h1, .modal-body h2, .modal-body h3, .modal-body h4 {
  color: var(--dunkel);
  line-height: 1.3;
  margin: 1.6em 0 .5em;
}
.modal-body h1 { font-size: 22px; }
.modal-body h2 { font-size: 20px; }
.modal-body h3 { font-size: 18px; }
.modal-body h4 { font-size: 16px; }
.modal-body p, .modal-body ul { margin: 0 0 1em; }
.modal-body ul { padding-left: 1.2em; list-style: disc; }
.modal-body > :first-child { margin-top: 0; }
.modal-body a { color: var(--rot-text); }

body.modal-open { overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .depth-val { display: none; }
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .depth { display: none; }
}

@media (max-width: 700px) {
  body { font-size: 17px; }
  :root { --header-h: 64px; }
  .nav a:not(.nav-cta) { display: none; }
  .brand img { height: 36px; }
  .is-scrolled .brand img { height: 32px; }
  .hero h1 { font-size: min(17vw, 19vh); }
  .hero-meta { flex-direction: column; gap: 6px; bottom: 18px; }
  .legend { text-align: left; }
  .pillars { grid-template-columns: 1fr; gap: 32px; }
  .field-row { grid-template-columns: 1fr; }
  .contact-list p { grid-template-columns: 84px 1fr; }
  .hero-actions .btn { flex: 1 1 auto; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .modal-head { padding: 14px 18px; }
  .modal-body { padding: 18px 18px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .project .draw { stroke-dashoffset: 0; }
  .js .project .fade { opacity: 1; }
}
