/* Corework Concrete : POUR SHEET design system.
   Bold charcoal + construction-amber language (BuildCraft-inspired), executed premium
   for a concrete-specialty contractor. Fictional demo site by Overflow Marketing.
   Canvas: near-black charcoal. Accent: construction amber, rationed to highlight words,
   icon plates, chips, and the primary pill CTA. Type: Poppins display / Inter body /
   IBM Plex Mono for spec numbers. */

/* ------------------------------------------------------------------ */
/* Tokens & reset                                                      */
/* ------------------------------------------------------------------ */

:root {
  --ink-0: #0c0d0f;
  --ink-1: #121316;
  --ink-2: #191b1f;
  --ink-3: #21242a;
  --line-dark: #2b2e35;
  --amber: #f2b414;
  --amber-2: #ffcb3d;
  --amber-ink: #171204;
  --bone: #f6f5f1;
  --paper: #fdfdfb;
  --line-light: #e4e2da;
  --tx: #25272c;
  --tx-soft: #5d6068;
  --tx-inv: #f4f3ee;
  --tx-inv-soft: #a8acb5;
  --r-card: 16px;
  --r-tile: 12px;
  --font-d: "Poppins", "Avenir Next", sans-serif;
  --font-b: "Inter", "Helvetica Neue", sans-serif;
  --font-m: "IBM Plex Mono", "SF Mono", monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-b);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--tx);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-d); line-height: 1.12; margin: 0 0 0.6em; letter-spacing: -0.015em; }
h1 { font-weight: 700; font-size: clamp(2.35rem, 5.6vw, 4.15rem); }
h2 { font-weight: 700; font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-weight: 600; font-size: 1.22rem; }
h4 { font-weight: 600; font-size: 1rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--amber); color: var(--amber-ink);
  padding: 10px 18px; border-radius: 999px; font-weight: 600; text-decoration: none;
}
.skip:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
.band--dark :focus-visible, .hdr :focus-visible, .footer :focus-visible { outline-color: var(--amber-2); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(18px, 4vw, 32px); }
.section { padding: clamp(64px, 9vw, 118px) 0; }
.band--light { background: var(--bone); }
.band--dark { background: var(--ink-1); color: var(--tx-inv); }
.band--dark p { color: var(--tx-inv-soft); }
.band--dark h2, .band--dark h3 { color: var(--tx-inv); }

.lead { font-size: clamp(1.02rem, 1.4vw, 1.16rem); color: var(--tx-soft); max-width: 62ch; }
.band--dark .lead { color: var(--tx-inv-soft); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.measure { max-width: 68ch; }

/* Chip kicker badge */
.chip {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid rgba(242, 180, 20, 0.55);
  background: rgba(242, 180, 20, 0.08);
  color: var(--amber);
  border-radius: 999px;
  padding: 7px 18px;
  font-family: var(--font-m);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 20px;
}
.chip::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--amber); flex: none;
}
.band--light .chip, .section:not(.band--dark) .chip { color: #9a7106; background: rgba(242, 180, 20, 0.12); border-color: rgba(216, 158, 6, 0.5); }
.band--light .chip::before, .section:not(.band--dark) .chip::before { background: #d89e06; }
.band--dark .chip, .hero .chip { color: var(--amber); background: rgba(242, 180, 20, 0.08); border-color: rgba(242, 180, 20, 0.55); }
.band--dark .chip::before, .hero .chip::before { background: var(--amber); }

/* Amber highlight word */
.hl { color: var(--amber); }

/* Buttons */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-d); font-weight: 600; font-size: 0.96rem;
  padding: 15px 30px; border-radius: 999px;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  line-height: 1.2; isolation: isolate;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--amber { background: var(--amber); color: var(--amber-ink); }
.btn--amber::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--amber-2);
  transform: translateX(-101%);
  transition: transform 0.45s var(--ease-out);
}
.btn--amber:hover::after, .btn--amber:focus-visible::after { transform: translateX(0); }
.btn--ghost { border-color: var(--line-light); color: var(--tx); background: transparent; }
.btn--ghost-dark { border-color: rgba(244, 243, 238, 0.35); color: var(--tx-inv); background: transparent; }
.btn--ghost::after, .btn--ghost-dark::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: currentColor; opacity: 0;
  transform: translateX(-101%);
  transition: transform 0.45s var(--ease-out), opacity 0.2s;
}
.btn--ghost:hover::after, .btn--ghost:focus-visible::after,
.btn--ghost-dark:hover::after, .btn--ghost-dark:focus-visible::after { transform: translateX(0); opacity: 0.08; }
.btn--ghost-dark:hover, .btn--ghost-dark:focus-visible { border-color: var(--amber); color: var(--amber); }
.btn--ghost:hover, .btn--ghost:focus-visible { border-color: var(--tx); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

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

.hdr {
  position: sticky; top: 0; z-index: 100;
  background: rgba(12, 13, 15, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--tx-inv);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.hdr.scrolled { border-bottom-color: var(--line-dark); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.hdr .wrap { display: flex; align-items: center; gap: 26px; min-height: 74px; }

.wordmark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.wm-mark {
  width: 40px; height: 40px; border-radius: 11px; background: var(--amber);
  display: grid; place-items: center; color: var(--amber-ink); flex: none;
}
.wm-mark svg { width: 22px; height: 22px; }
.wm-text { display: flex; flex-direction: column; line-height: 1.05; }
.wm-name { font-family: var(--font-d); font-weight: 700; font-size: 1.08rem; letter-spacing: 0.01em; }
.wm-tag { font-family: var(--font-m); font-size: 0.6rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--tx-inv-soft); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a.top, .nav button.top {
  font-family: var(--font-b); font-weight: 500; font-size: 0.94rem;
  color: var(--tx-inv); text-decoration: none;
  background: none; border: 0; cursor: pointer;
  padding: 10px 14px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav a.top:hover, .nav button.top:hover { color: var(--amber); }
.nav a.top[aria-current="true"], .nav button.top[aria-current="true"] { color: var(--amber); }
.nav .top svg { width: 14px; height: 14px; transition: transform 0.25s; }
.nav-item { position: relative; }
.nav-item.open .top svg { transform: rotate(180deg); }
.sub {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 250px;
  background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 14px;
  padding: 8px; display: none; flex-direction: column;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
}
.nav-item.open .sub { display: flex; }
.sub a {
  text-decoration: none; padding: 11px 14px; border-radius: 9px;
  font-size: 0.93rem; color: var(--tx-inv);
}
.sub a:hover { background: var(--ink-3); color: var(--amber); }
.sub a b { font-family: var(--font-m); font-weight: 500; font-size: 0.7rem; color: var(--amber); margin-right: 8px; }

.hdr-cta { padding: 12px 24px; font-size: 0.9rem; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-dark);
  color: var(--tx-inv); border-radius: 10px; padding: 9px; cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; display: block; }

.mobile-panel { display: none; }
body.nav-open .mobile-panel {
  display: block; position: fixed; inset: 74px 0 0; z-index: 99;
  background: var(--ink-0); overflow-y: auto; padding: 26px 0 60px;
}
.mp-group { display: flex; flex-direction: column; border-top: 1px solid var(--line-dark); padding: 18px 0; }
.mp-group .mp-label {
  font-family: var(--font-m); font-size: 0.68rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--amber); margin: 0 0 8px;
}
.mp-group a { text-decoration: none; padding: 11px 4px; font-size: 1.05rem; color: var(--tx-inv); }
.mp-group a:hover { color: var(--amber); }
.mp-cta { margin-top: 10px; }

@media (max-width: 940px) {
  .nav, .hdr-cta { display: none; }
  .nav-toggle { display: block; }
}

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

.hero {
  position: relative; background: var(--ink-0); color: var(--tx-inv);
  overflow: hidden; display: flex; align-items: center;
  min-height: min(92vh, 860px);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10, 11, 13, 0.94) 22%, rgba(10, 11, 13, 0.72) 52%, rgba(10, 11, 13, 0.38) 100%),
    linear-gradient(0deg, rgba(10, 11, 13, 0.9) 0%, rgba(10, 11, 13, 0) 34%);
}
.hero .wrap { position: relative; z-index: 1; padding-top: clamp(70px, 9vw, 120px); padding-bottom: clamp(70px, 9vw, 120px); }
.hero h1 { max-width: 15ch; margin-bottom: 26px; }
.hero .lead { color: rgba(244, 243, 238, 0.82); max-width: 56ch; margin-bottom: 34px; }
.hero-note { font-family: var(--font-m); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--tx-inv-soft); margin-top: 26px; }

/* Headline line masks */
.mask { display: block; overflow: hidden; padding-block: 0.06em; }
.mask > .mask-in { display: inline-block; }

/* Sub-hero stat band */
.statband { background: var(--ink-0); color: var(--tx-inv); padding: clamp(30px, 4vw, 52px) 0 clamp(56px, 6vw, 84px); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat-tile {
  background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--r-card);
  padding: 28px 22px; text-align: center;
}
.stat-icon {
  width: 46px; height: 46px; margin: 0 auto 16px; border-radius: var(--r-tile);
  background: rgba(242, 180, 20, 0.12); color: var(--amber);
  display: grid; place-items: center;
}
.stat-icon svg { width: 24px; height: 24px; }
.stat-n { font-family: var(--font-d); font-weight: 700; font-size: clamp(1.9rem, 3.2vw, 2.6rem); line-height: 1; letter-spacing: -0.01em; }
.stat-n small { font-size: 0.55em; font-weight: 600; color: var(--amber); }
.stat-label { font-family: var(--font-m); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--tx-inv-soft); margin-top: 10px; }
.stat-note { text-align: center; font-family: var(--font-m); font-size: 0.7rem; color: var(--tx-inv-soft); margin: 22px 0 0; letter-spacing: 0.06em; }
@media (max-width: 900px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .stat-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ */
/* Split feature (about teaser / service body)                         */
/* ------------------------------------------------------------------ */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.split.rev > .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { border-radius: var(--r-card); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.badge-card {
  position: absolute; right: -14px; bottom: -20px;
  background: var(--amber); color: var(--amber-ink);
  border-radius: var(--r-card); padding: 20px 26px;
  box-shadow: 0 24px 46px rgba(0, 0, 0, 0.28);
}
.badge-card b { display: block; font-family: var(--font-d); font-weight: 700; font-size: 2rem; line-height: 1; }
.badge-card span { font-family: var(--font-m); font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; }
.checklist { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 26px; margin: 22px 0 30px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 0.95rem; }
.checklist svg { width: 20px; height: 20px; color: var(--amber); flex: none; margin-top: 2px; }
.band--dark .checklist li, .checklist li { color: inherit; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split.rev > .split-media { order: 0; }
  .checklist { grid-template-columns: 1fr; }
  .badge-card { right: 10px; bottom: -18px; }
}

/* ------------------------------------------------------------------ */
/* Service cards                                                       */
/* ------------------------------------------------------------------ */

.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.card {
  position: relative;
  background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--r-card);
  padding: 30px 26px 60px; color: var(--tx-inv); text-decoration: none;
  transition: transform 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s;
  display: flex; flex-direction: column;
}
.card:hover, .card:focus-visible { transform: translateY(-7px); border-color: rgba(242, 180, 20, 0.5); box-shadow: 0 26px 50px rgba(0, 0, 0, 0.4); }
.card-icon {
  width: 52px; height: 52px; border-radius: var(--r-tile);
  background: var(--amber); color: var(--amber-ink);
  display: grid; place-items: center; margin-bottom: 22px;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.93rem; margin: 0; }
.card-go {
  position: absolute; left: 26px; bottom: 22px;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-m); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--amber);
}
.card-go svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease-out); }
.card:hover .card-go svg { transform: translateX(5px); }
@media (max-width: 1020px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .svc-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ */
/* Project cards + spec plates                                         */
/* ------------------------------------------------------------------ */

.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 46px; }
.proj-card {
  background: var(--paper); border: 1px solid var(--line-light); border-radius: var(--r-card);
  overflow: hidden; text-decoration: none; color: var(--tx); display: flex; flex-direction: column;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}
.band--dark .proj-card { background: var(--ink-2); border-color: var(--line-dark); color: var(--tx-inv); }
.proj-card:hover { transform: translateY(-7px); box-shadow: 0 26px 50px rgba(15, 16, 18, 0.16); }
.band--dark .proj-card:hover { box-shadow: 0 26px 50px rgba(0, 0, 0, 0.45); }
.proj-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.proj-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out); }
.proj-card:hover .proj-media img { transform: scale(1.045); }
.proj-cat {
  position: absolute; left: 14px; bottom: 14px;
  background: var(--amber); color: var(--amber-ink);
  border-radius: 999px; padding: 5px 13px;
  font-family: var(--font-m); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
}
.proj-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.proj-body h3 { margin: 0; font-size: 1.14rem; }
.proj-loc { font-family: var(--font-m); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tx-soft); }
.band--dark .proj-loc { color: var(--tx-inv-soft); }
.spec-plate {
  margin-top: auto; border-top: 1px dashed var(--line-light);
  padding-top: 14px; display: grid; gap: 6px;
  font-family: var(--font-m); font-size: 0.74rem; line-height: 1.5;
}
.band--dark .spec-plate { border-top-color: var(--line-dark); }
.spec-plate div { display: flex; justify-content: space-between; gap: 14px; }
.spec-plate dt, .spec-plate .k { color: var(--tx-soft); letter-spacing: 0.04em; }
.band--dark .spec-plate .k { color: var(--tx-inv-soft); }
.spec-plate .v { font-weight: 600; text-align: right; }
@media (max-width: 980px) { .proj-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .proj-grid { grid-template-columns: 1fr; } }

/* Filter chips */
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.fchip {
  border: 1px solid var(--line-light); background: transparent; color: var(--tx);
  border-radius: 999px; padding: 9px 20px; cursor: pointer;
  font-family: var(--font-b); font-weight: 500; font-size: 0.88rem;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.fchip:hover { border-color: var(--amber); }
.fchip[aria-pressed="true"] { background: var(--ink-1); color: var(--tx-inv); border-color: var(--ink-1); }

/* ------------------------------------------------------------------ */
/* Spec capability strip                                               */
/* ------------------------------------------------------------------ */

.spec-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 46px; }
.spec-cell {
  border: 1px solid var(--line-dark); border-radius: var(--r-card);
  background: linear-gradient(180deg, var(--ink-2), var(--ink-1));
  padding: 26px 24px;
}
.spec-cell h3 {
  font-family: var(--font-m); font-weight: 600; font-size: 0.72rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--amber);
  margin-bottom: 16px; display: flex; align-items: center; gap: 10px;
}
.spec-cell h3 svg { width: 18px; height: 18px; flex: none; }
.spec-cell ul { list-style: none; display: grid; gap: 9px; font-family: var(--font-m); font-size: 0.8rem; line-height: 1.55; color: var(--tx-inv); }
.spec-cell li { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px dashed var(--line-dark); padding-bottom: 9px; }
.spec-cell li:last-child { border-bottom: 0; padding-bottom: 0; }
.spec-cell li .k { color: var(--tx-inv-soft); }
.spec-cell li .v { text-align: right; font-weight: 600; }
@media (max-width: 900px) { .spec-strip { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ */
/* Testimonials                                                        */
/* ------------------------------------------------------------------ */

.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 46px; }
.quote-card {
  background: var(--paper); border: 1px solid var(--line-light); border-radius: var(--r-card);
  padding: 30px 28px; position: relative;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}
.quote-card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(15, 16, 18, 0.12); }
.quote-mark {
  position: absolute; top: -16px; left: 26px;
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--amber); color: var(--amber-ink);
  display: grid; place-items: center;
  font-family: var(--font-d); font-weight: 700; font-size: 1.3rem; line-height: 1;
}
.quote-card blockquote { margin: 8px 0 20px; font-size: 0.98rem; font-weight: 500; }
.quote-who { display: flex; align-items: center; gap: 13px; }
.monogram {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  background: var(--ink-1); color: var(--amber);
  display: grid; place-items: center;
  font-family: var(--font-d); font-weight: 700; font-size: 0.9rem;
}
.quote-who b { display: block; font-size: 0.94rem; }
.quote-who span { font-size: 0.8rem; color: var(--tx-soft); }
@media (max-width: 900px) { .quote-grid { grid-template-columns: 1fr; max-width: 540px; margin-inline: auto; } }

/* ------------------------------------------------------------------ */
/* CTA band + grid texture                                             */
/* ------------------------------------------------------------------ */

.cta-band { position: relative; overflow: hidden; background: var(--ink-0); }
.cta-band::before {
  content: ""; position: absolute; inset: 0; opacity: 0.5;
  background:
    repeating-linear-gradient(0deg, transparent 0 79px, rgba(244, 243, 238, 0.045) 79px 80px),
    repeating-linear-gradient(90deg, transparent 0 79px, rgba(244, 243, 238, 0.045) 79px 80px);
}
.cta-band .wrap { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.cta-contact { list-style: none; display: grid; gap: 16px; margin-top: 30px; }
.cta-contact li { display: flex; align-items: center; gap: 15px; font-size: 0.97rem; }
.cta-contact a { color: var(--tx-inv); text-decoration: none; }
.cta-contact a:hover { color: var(--amber); }
.cta-ico {
  width: 44px; height: 44px; border-radius: var(--r-tile); flex: none;
  background: var(--ink-2); border: 1px solid var(--line-dark); color: var(--amber);
  display: grid; place-items: center;
}
.cta-ico svg { width: 20px; height: 20px; }
@media (max-width: 900px) { .cta-band .wrap { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ */
/* Forms                                                               */
/* ------------------------------------------------------------------ */

.form-card {
  background: var(--paper); color: var(--tx);
  border-radius: 20px; padding: clamp(26px, 4vw, 40px);
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.4);
}
.form-card h3 { font-size: 1.4rem; margin-bottom: 4px; }
.form-sub { color: var(--tx-soft); font-size: 0.92rem; margin-bottom: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: 0.82rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 0.95rem; color: var(--tx);
  background: var(--bone); border: 1px solid var(--line-light); border-radius: 11px;
  padding: 13px 15px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--amber); outline-offset: 0; border-color: var(--amber);
}
.form-fine { font-family: var(--font-m); font-size: 0.68rem; color: var(--tx-soft); letter-spacing: 0.04em; margin: 14px 0 0; }
form[data-demo] .form-success { display: none; margin-top: 18px; background: rgba(242, 180, 20, 0.14); border: 1px solid rgba(216, 158, 6, 0.5); border-radius: 12px; padding: 16px 18px; font-weight: 500; }
form[data-demo].sent .form-success { display: block; }
form[data-demo].sent .btn { opacity: 0.55; pointer-events: none; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ */
/* Page intro (interior pages)                                         */
/* ------------------------------------------------------------------ */

.pageintro { background: var(--ink-0); color: var(--tx-inv); padding: clamp(60px, 8vw, 104px) 0 clamp(50px, 6vw, 84px); position: relative; overflow: hidden; }
.pageintro::before {
  content: ""; position: absolute; inset: 0; opacity: 0.45;
  background: repeating-linear-gradient(90deg, transparent 0 79px, rgba(244, 243, 238, 0.04) 79px 80px);
}
.pageintro .wrap { position: relative; }
.crumbs { font-family: var(--font-m); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tx-inv-soft); margin-bottom: 26px; }
.crumbs a { color: var(--tx-inv-soft); text-decoration: none; }
.crumbs a:hover { color: var(--amber); }
.pageintro h1 { max-width: 17ch; }
.pageintro .lead { color: rgba(244, 243, 238, 0.8); }

/* Article layout (service pages, about) */
.article { display: grid; grid-template-columns: 1.5fr 0.9fr; gap: clamp(36px, 6vw, 76px); align-items: start; }
.article-body h2 { font-size: 1.5rem; margin-top: 1.9em; }
.article-body h2:first-child { margin-top: 0; }
.article-aside { position: sticky; top: 100px; display: grid; gap: 18px; }
.aside-plate {
  background: var(--ink-1); color: var(--tx-inv);
  border-radius: var(--r-card); padding: 26px 24px;
}
.aside-plate h3 {
  font-family: var(--font-m); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--amber); margin-bottom: 16px;
}
.aside-plate ul { list-style: none; display: grid; gap: 9px; font-family: var(--font-m); font-size: 0.78rem; }
.aside-plate li { display: flex; justify-content: space-between; gap: 14px; border-bottom: 1px dashed var(--line-dark); padding-bottom: 9px; }
.aside-plate li:last-child { border: 0; padding-bottom: 0; }
.aside-plate .k { color: var(--tx-inv-soft); }
.aside-plate .v { font-weight: 600; text-align: right; }
.aside-plate .plate-note { font-size: 0.66rem; color: var(--tx-inv-soft); margin: 14px 0 0; letter-spacing: 0.04em; }
.aside-cta { background: var(--amber); color: var(--amber-ink); border-radius: var(--r-card); padding: 26px 24px; }
.aside-cta h3 { color: inherit; margin-bottom: 8px; }
.aside-cta p { color: rgba(23, 18, 4, 0.75); font-size: 0.9rem; }
.aside-cta .btn { background: var(--ink-0); color: var(--tx-inv); }
.aside-cta .btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink-3); transform: translateX(-101%); transition: transform 0.45s var(--ease-out); }
.aside-cta .btn:hover::after { transform: translateX(0); }
@media (max-width: 900px) { .article { grid-template-columns: 1fr; } .article-aside { position: static; } }

.figure { margin: 0 0 40px; }
.figure img { border-radius: var(--r-card); width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.figure figcaption { font-family: var(--font-m); font-size: 0.7rem; letter-spacing: 0.08em; color: var(--tx-soft); margin-top: 12px; }

/* Numbered process */
.process { list-style: none; counter-reset: step; display: grid; gap: 0; margin-top: 40px; }
.process li { counter-increment: step; display: grid; grid-template-columns: 72px 1fr; gap: 22px; padding: 26px 0; border-top: 1px solid var(--line-light); }
.band--dark .process li { border-top-color: var(--line-dark); }
.process li::before {
  content: "0" counter(step);
  font-family: var(--font-m); font-weight: 600; font-size: 1.5rem; color: var(--amber);
}
.process h3 { margin-bottom: 6px; }
.process p { margin: 0; font-size: 0.95rem; }

/* Crew + equipment */
.crew-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 42px; }
.crew-card { background: var(--paper); border: 1px solid var(--line-light); border-radius: var(--r-card); padding: 26px 22px; text-align: center; }
.crew-card .monogram { width: 62px; height: 62px; margin: 0 auto 16px; font-size: 1.2rem; }
.crew-card b { display: block; font-family: var(--font-d); font-size: 1rem; }
.crew-card span { font-size: 0.82rem; color: var(--tx-soft); }
.crew-card p { font-size: 0.85rem; margin: 12px 0 0; color: var(--tx-soft); }
@media (max-width: 940px) { .crew-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .crew-grid { grid-template-columns: 1fr; } }

.equip-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 26px; margin-top: 34px; }
.equip-list li { display: flex; gap: 12px; align-items: flex-start; border-bottom: 1px dashed var(--line-dark); padding-bottom: 12px; font-family: var(--font-m); font-size: 0.82rem; color: var(--tx-inv); }
.equip-list svg { width: 18px; height: 18px; color: var(--amber); flex: none; margin-top: 2px; }
@media (max-width: 700px) { .equip-list { grid-template-columns: 1fr; } }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 6vw, 76px); align-items: start; }
.contact-grid .form-card { box-shadow: 0 30px 60px rgba(15, 16, 18, 0.14); border: 1px solid var(--line-light); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

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

.footer { background: var(--ink-0); color: var(--tx-inv); padding: clamp(56px, 7vw, 88px) 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(28px, 4vw, 56px); }
.footer p { color: var(--tx-inv-soft); font-size: 0.92rem; }
.footer h4 { font-family: var(--font-m); font-weight: 600; font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--amber); margin-bottom: 18px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a { color: var(--tx-inv-soft); text-decoration: none; font-size: 0.94rem; }
.footer ul a:hover { color: var(--amber); }
.foot-contact li { display: flex; gap: 12px; align-items: flex-start; color: var(--tx-inv-soft); font-size: 0.92rem; }
.foot-contact svg { width: 18px; height: 18px; color: var(--amber); flex: none; margin-top: 3px; }
.fineprint { font-family: var(--font-m); font-size: 0.68rem; color: var(--tx-inv-soft); letter-spacing: 0.04em; }
.footer-legal { border-top: 1px solid var(--line-dark); margin-top: clamp(36px, 5vw, 60px); padding-top: 30px; }
.footer-legal p { font-size: 0.8rem; }
@media (max-width: 940px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ */
/* MOTION: everything below is armed only when html.js is present      */
/* and prefers-reduced-motion is not requested.                        */
/* ------------------------------------------------------------------ */

@media (prefers-reduced-motion: no-preference) {
  /* Generic rise-in reveal */
  html.js .reveal {
    opacity: 0; transform: translateY(26px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    transition-delay: calc(var(--i, 0) * 90ms);
  }
  html.js .reveal.in { opacity: 1; transform: none; }

  /* Chip kicker pop */
  html.js .reveal-pop {
    opacity: 0; transform: scale(0.8) translateY(8px);
    transition: opacity 0.5s var(--ease-out), transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition-delay: calc(var(--i, 0) * 90ms);
  }
  html.js .reveal-pop.in { opacity: 1; transform: none; }

  /* Headline line masks */
  html.js .mask > .mask-in {
    transform: translateY(114%);
    transition: transform 0.85s var(--ease-out);
    transition-delay: calc(var(--i, 0) * 110ms);
  }
  html.js .mask.in > .mask-in { transform: translateY(0); }

  /* Amber word clip-path wipe: lands after its line settles */
  html.js .hl-wipe { display: inline-block; clip-path: inset(-0.2em 100% -0.2em -0.05em); transition: clip-path 0.7s var(--ease-out); transition-delay: calc(var(--i, 0) * 110ms + 480ms); }
  html.js .in .hl-wipe, html.js .in.hl-wipe { clip-path: inset(-0.2em -0.05em -0.2em -0.05em); }

  /* Image clip reveals */
  html.js .clip-reveal { clip-path: inset(100% 0 0 0); transition: clip-path 1s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
  html.js .clip-reveal.in { clip-path: inset(0 0 0 0); }
  html.js .clip-reveal img { transform: scale(1.07); transition: transform 1.25s var(--ease-out); }
  html.js .clip-reveal.in img { transform: scale(1); }
  html.js .proj-card.clip-reveal.in .proj-media img { transform: scale(1); }
}
