/* ===== Design tokens (generated from tokens.json) ===== */
:root {
  --surface: #ffffff;
  --surface-alt: #d8d8d8;
  --ink: #494641;
  --ink-muted: #6b6863;
  --ink-on-brand: #ffffff;
  --brand: #9f6e59;
  --brand-hover: #ad8371;
  --brand-active: #8a5d49;
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 96px;
  --space-9: 128px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 9999px;
  --radius-full: 50%;
  --shadow-sm: 0 1px 2px rgba(73,70,65,0.08);
  --shadow-md: 0 8px 24px rgba(73,70,65,0.12);
  --font-heading: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Aptos", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@font-face {
  font-family: "Aptos";
  src: url("fonts/Aptos-Regular.woff2") format("woff2"),
       url("fonts/Aptos-Regular.woff") format("woff"),
       url("fonts/Aptos-Regular.ttf") format("truetype"),
       url("fonts/Aptos-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Aptos";
  src: url("fonts/Aptos-Bold.woff2") format("woff2"),
       url("fonts/Aptos-Bold.woff") format("woff"),
       url("fonts/Aptos-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

.display-1 {
  font-family: var(--font-heading);
  font-size: 52px;
  line-height: 1.08;
  font-weight: 800;
}
.display-2 {
  font-family: var(--font-heading);
  font-size: 36px;
  line-height: 1.15;
  font-weight: 700;
}
.heading-3 {
  font-family: var(--font-heading);
  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;
}
.heading-4 {
  font-family: var(--font-heading);
  font-size: 18px;
  line-height: 1.4;
  font-weight: 600;
}
.body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
}
.body-small {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 400;
}
.label {
  font-family: var(--font-heading);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.button {
  font-family: var(--font-heading);
  font-size: 19px;
  line-height: 1.2;
  font-weight: 700;
}
/* ===== Component styles ===== */
  :root{
    --header-h: 76px;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    background: var(--surface);
    color: var(--ink);
    font-family: var(--font-body);
  }
  img { max-width: 100%; display: block; }
  a { color: inherit; text-decoration: none; }
  ul { margin: 0; padding: 0; list-style: none; }
  section { scroll-margin-top: var(--header-h); }
  .visually-hidden {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
  }
  .skip-link {
    position: absolute; left: 8px; top: -60px; z-index: 500;
    background: var(--surface); color: var(--ink); padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-sm); transition: top .15s ease;
  }
  .skip-link:focus { top: 8px; }

  .wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--space-4); }

  /* ---------- Header ---------- */
  .site-header {
    position: sticky; top: 0; z-index: 200;
    height: var(--header-h);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
  }
  .site-header .wrap {
    height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  }
  .brand-logo img { height: 54px; width: auto; }
  .main-nav { display: flex; align-items: center; gap: var(--space-5); }
  .main-nav ul { display: flex; gap: var(--space-4); }
  .main-nav a.nav-link {
    position: relative; padding: var(--space-1) 0; white-space: nowrap;
  }
  .main-nav a.nav-link::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
    background: var(--brand); transform: scaleX(0); transition: transform .15s ease;
  }
  .main-nav a.nav-link:hover::after,
  .main-nav a.nav-link:focus-visible::after { transform: scaleX(1); }

  .btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-pill);
    border: 2px solid transparent;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
  }
  .btn-primary { background: var(--brand); color: var(--ink-on-brand); }
  .btn-primary:hover, .btn-primary:focus-visible { background: var(--brand-hover); }
  .btn-primary:active { background: var(--brand-active); }
  .btn-outline { background: transparent; color: var(--ink); border-color: var(--surface-alt); }
  .btn-outline:hover, .btn-outline:focus-visible { background: var(--brand-hover); color: var(--ink-on-brand); border-color: var(--brand-hover); }
  .btn-outline:active { background: var(--brand-active); color: var(--ink-on-brand); border-color: var(--brand-active); }
  .btn:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

  .hamburger {
    display: none; width: 44px; height: 44px; border: none; background: transparent;
    cursor: pointer; padding: 0; position: relative;
  }
  .hamburger span {
    position: absolute; left: 10px; right: 10px; top: 21px; height: 2px; background: var(--ink);
    transition: background-color .2s ease;
  }
  .hamburger span::before, .hamburger span::after {
    content: ""; display: block; position: absolute; left: 0; right: 0; height: 2px; background: var(--ink);
    transition: transform .2s ease, opacity .2s ease;
  }
  .hamburger span::before { top: -8px; }
  .hamburger span::after { top: 8px; }
  .hamburger[aria-expanded="true"] span { background: transparent; }
  .hamburger[aria-expanded="true"] span::before { transform: translateY(8px) rotate(45deg); }
  .hamburger[aria-expanded="true"] span::after { transform: translateY(-8px) rotate(-45deg); }

  .mobile-panel {
    display: none;
    position: fixed; left: 0; right: 0; top: var(--header-h);
    background: var(--surface); box-shadow: var(--shadow-md);
    padding: var(--space-4); z-index: 199;
  }
  .mobile-panel ul { display: flex; flex-direction: column; gap: var(--space-3); }
  .mobile-panel .btn-primary { margin-top: var(--space-3); width: 100%; }
  .mobile-panel.is-open { display: block; }

  /* ---------- Hero ---------- */
  .hero {
    position: relative; color: var(--ink-on-brand);
    padding: var(--space-9) 0 var(--space-8);
    min-height: 560px; display: flex; align-items: center;
    background-image: linear-gradient(180deg, rgba(73,70,65,.55), rgba(73,70,65,.78));
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }
  .hero .wrap { position: relative; z-index: 2; max-width: 760px; }
  .hero .label { color: var(--ink-on-brand); opacity: .85; }
  .hero h1 { color: var(--ink-on-brand); margin: var(--space-3) 0 var(--space-4); }
  .hero p.lead { color: var(--ink-on-brand); max-width: 620px; margin: 0 0 var(--space-5); }
  .hero .cta-row { display: flex; gap: var(--space-3); flex-wrap: wrap; }
  .hero .btn-outline { border-color: rgba(255,255,255,.6); color: var(--ink-on-brand); }
  .hero .btn-outline:hover, .hero .btn-outline:focus-visible { background: var(--brand-hover); border-color: var(--brand-hover); }

  /* ---------- Section scaffolding ---------- */
  .section { padding: var(--space-8) 0; }
  .section-alt { background: var(--surface-alt); }
  .section-head { max-width: 760px; margin: 0 auto var(--space-6); text-align: center; }
  .section-head .label { color: var(--ink); display: block; margin-bottom: var(--space-2); }
  .section-head h2 { margin: 0 0 var(--space-3); }
  .section-head p { margin: 0; }
  .section-head.align-left { margin-left: 0; text-align: left; }

  /* ---------- About ---------- */
  .about-copy { max-width: 820px; margin: 0 auto var(--space-7); }
  .about-copy p { margin: 0 0 var(--space-3); }
  .vm-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4);
    margin-bottom: var(--space-7);
  }
  .vm-card {
    background: var(--surface); border-radius: var(--radius-lg); padding: var(--space-5);
    box-shadow: var(--shadow-sm);
  }
  .vm-card img { width: 56px; height: 56px; object-fit: contain; margin-bottom: var(--space-3); }
  .vm-card h3 { margin: 0 0 var(--space-2); }
  .vm-card p { margin: 0; }
  .values-row {
    display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-5);
  }
  .value-chip { display: flex; flex-direction: column; align-items: center; gap: var(--space-2); width: 130px; text-align: center; }
  .value-chip img { width: 56px; height: 56px; object-fit: contain; }

  /* ---------- Health & Safety ---------- */
  .hs-intro { max-width: 820px; margin: 0 auto var(--space-6); }
  .hs-intro p { margin: 0 0 var(--space-3); }
  .pull-quote {
    display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); align-items: center;
    background: var(--surface); border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-md); margin-bottom: var(--space-7);
  }
  .pull-quote img.pq-photo { width: 100%; height: 100%; min-height: 260px; object-fit: cover; border-radius: 0; }
  .pull-quote .pq-text { padding: var(--space-6); }
  .pull-quote img.pq-icon { width: 40px; height: 40px; object-fit: contain; object-position: left; margin-bottom: var(--space-3); }
  .pull-quote blockquote { margin: 0; }
  .hs-two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--space-6); }
  .hs-block h3 { display: flex; align-items: center; gap: var(--space-3); margin: 0 0 var(--space-3); }
  .hs-block h3 img { width: 64px; height: 64px; }
  .hs-photo { width: 100%; height: 240px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); margin-top: var(--space-3); }
  .checklist li {
    display: flex; gap: var(--space-2); padding: 4px 0;
    border-bottom: 1px solid var(--surface-alt);
  }
  .checklist li::before { content: "✓"; color: var(--brand); font-weight: 700; flex: none; }
  .checklist li:last-child { border-bottom: none; }

  /* ---------- Services ---------- */
  .service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); margin-bottom: var(--space-4); }
  .service-card {
    background: var(--surface); border-radius: var(--radius-md); overflow: hidden;
    box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  }
  .service-card .photo-frame { padding: var(--space-2); background: var(--surface-alt); }
  .service-card .photo-frame img { border-radius: var(--radius-sm); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
  .service-card .card-body { padding: var(--space-4); flex: 1; display: flex; flex-direction: column; }
  .service-card .card-body img.icon-sm { width: 60px; height: 60px; margin-bottom: var(--space-2); }
  .service-card h3 { margin: 0 0 var(--space-2); }
  .service-card p { margin: 0 0 var(--space-3); }
  .service-card .list-label { margin: 0 0 var(--space-1); font-weight: 700; }
  .service-card ul li { padding: 2px 0; }
  .service-card ul li::before { content: "— "; color: var(--brand); }
  .service-card.text-only { grid-column: span 1; }
  .service-grid-secondary { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); margin-bottom: var(--space-7); }

  .approach-strip {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-3);
    background: var(--surface); border-radius: var(--radius-lg); padding: var(--space-5);
    box-shadow: var(--shadow-sm);
  }
  .approach-step .num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; border-radius: var(--radius-full);
    background: var(--brand); color: var(--ink-on-brand); font-family: var(--font-heading); font-weight: 700;
    margin-bottom: var(--space-2);
  }
  .approach-step h4 { margin: 0 0 var(--space-1); }
  .approach-step p { margin: 0; }

  /* ---------- Projects ---------- */
  .project-intro { max-width: 820px; margin: 0 auto var(--space-6); }
  .project-intro p { margin: 0 0 var(--space-3); }
  .project-pair {
    display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3);
    margin-bottom: var(--space-5);
  }
  .project-pair figure { margin: 0; background: var(--surface-alt); padding: var(--space-2); border-radius: var(--radius-md); }
  .project-pair img { border-radius: var(--radius-sm); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
  .project-pair figcaption { text-align: center; margin-top: var(--space-2); }
  .project-pair-heading { text-align: center; margin: 0 0 var(--space-3); }

  .concrete-block { margin-top: var(--space-7); }
  .concrete-context {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); margin-bottom: var(--space-4);
  }
  .concrete-context figure, .concrete-steps figure { margin: 0; background: var(--surface-alt); padding: var(--space-2); border-radius: var(--radius-md); }
  .concrete-context img, .concrete-steps img { border-radius: var(--radius-sm); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
  .concrete-steps {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3);
  }
  .concrete-steps figcaption { text-align: center; margin-top: var(--space-2); }

  /* ---------- Why Choose Us ---------- */
  .why-us {
    position: relative; color: var(--ink-on-brand);
    background-image: linear-gradient(180deg, rgba(41,39,36,.94), rgba(97,67,54,.94));
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }
  .why-us .section-head .label,
  .why-us .section-head h2,
  .why-us .section-head p { color: var(--ink-on-brand); }
  .why-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); margin-bottom: var(--space-7);
  }
  .why-card {
    /* Solid, not translucent: a busy photo sits behind this section, and a see-through
       card would make text contrast depend on what part of the photo is behind it. */
    background: rgba(20,18,16,.72); border: 1px solid rgba(255,255,255,.16);
    border-radius: var(--radius-md); padding: var(--space-4);
  }
  .why-card img { width: 44px; height: 44px; margin-bottom: var(--space-2); }
  .why-card .num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: var(--radius-full);
    background: var(--brand); color: var(--ink-on-brand); font-family: var(--font-heading); font-weight: 700;
    margin-bottom: var(--space-2);
  }
  .why-card h4 { margin: 0 0 var(--space-2); color: var(--ink-on-brand); }
  .why-card p { margin: 0; color: var(--ink-on-brand); }

  .qa-panel {
    background: var(--surface); color: var(--ink); border-radius: var(--radius-lg);
    padding: var(--space-6); box-shadow: var(--shadow-md);
  }
  .qa-panel .label { display: block; margin-bottom: var(--space-2); }
  .qa-panel h3 { margin: 0 0 var(--space-3); }
  .qa-panel p { margin: 0 0 var(--space-3); max-width: 780px; }
  .qa-steps {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); margin: var(--space-5) 0;
  }
  .qa-steps .num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; border-radius: var(--radius-full);
    background: var(--brand); color: var(--ink-on-brand); font-family: var(--font-heading); font-weight: 700;
    margin-bottom: var(--space-2);
  }
  .qa-steps h4 { margin: 0 0 var(--space-1); }
  .qa-steps p { margin: 0; }
  .client-benefit { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; border-top: 1px solid var(--surface-alt); padding-top: var(--space-4); }
  .client-benefit img { width: 44px; height: 44px; flex: none; }
  .benefit-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
  .benefit-chips span {
    background: var(--surface-alt); padding: var(--space-1) var(--space-3); border-radius: var(--radius-pill);
  }

  /* ---------- Contact ---------- */
  .contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: var(--space-7); }
  .contact-info h3 { margin: var(--space-5) 0 var(--space-2); }
  .contact-info h3:first-child { margin-top: 0; }
  .contact-heading { display: flex; align-items: center; gap: var(--space-2); }
  .contact-heading svg { width: 22px; height: 22px; color: var(--brand); flex: none; }
  .contact-info p { margin: 0; }
  .contact-info a.link-brand { color: var(--brand); }
  .contact-form { background: var(--surface); border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow-md); }
  .field { margin-bottom: var(--space-4); }
  .field label { display: block; margin-bottom: var(--space-1); font-weight: 600; }
  .field input, .field textarea {
    width: 100%; padding: var(--space-2) var(--space-3); border: 1px solid var(--surface-alt);
    border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 16px; color: var(--ink);
    background: var(--surface);
  }
  .field input:focus, .field textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
  .field textarea { resize: vertical; min-height: 120px; }
  .field.error input, .field.error textarea { border-color: #b3413a; }
  .field .error-msg { color: #b3413a; font-size: 13px; margin-top: 4px; display: none; }
  .field.error .error-msg { display: block; }
  .contact-form button[type="submit"] { width: 100%; border: none; font-family: var(--font-heading); }
  .contact-form button[type="submit"]:disabled { opacity: .6; cursor: not-allowed; }
  .form-note { min-height: 1em; margin: var(--space-2) 0 0; font-size: 14px; color: var(--ink-muted); text-align: center; }
  .form-note.is-error { color: #b3413a; }
  .form-success {
    display: none; text-align: center; padding: var(--space-6) 0;
  }
  .form-success.is-visible { display: block; }
  .contact-form.is-submitted form { display: none; }

  /* ---------- Partners ---------- */
  .partners-strip { padding: var(--space-6) 0; }
  .partners-row {
    display: flex; align-items: center; justify-content: center; gap: var(--space-5); flex-wrap: wrap;
  }
  .partners-row .partner-chip {
    background: var(--surface); border-radius: var(--radius-md); padding: var(--space-3) var(--space-4);
    box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: center;
    height: 104px;
  }
  .partners-row img { max-height: 80px; width: auto; }

  /* ---------- Footer ---------- */
  .site-footer { background: var(--ink); color: var(--ink-on-brand); padding: var(--space-7) 0 var(--space-4); }
  .footer-top { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: var(--space-6); margin-bottom: var(--space-6); }
  .footer-logo img { height: 40px; width: auto; margin-bottom: var(--space-3); }
  .footer-top p, .footer-top a { color: var(--ink-on-brand); opacity: .88; }
  .footer-col h4 { color: var(--ink-on-brand); margin: 0 0 var(--space-3); }
  .footer-col ul li { margin-bottom: var(--space-2); }
  .footer-legal {
    border-top: 1px solid rgba(255,255,255,.18); padding-top: var(--space-4);
    display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); justify-content: space-between; align-items: baseline;
  }
  .footer-legal .reg-list { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); }
  .footer-legal p { margin: 0; opacity: .78; }

  /* ---------- Responsive ---------- */
  @media (max-width: 900px) {
    .main-nav .desktop-nav { display: none; }
    .hamburger { display: block; }
    .vm-grid { grid-template-columns: 1fr; }
    .hs-two-col { grid-template-columns: 1fr; }
    .pull-quote { grid-template-columns: 1fr; }
    .pull-quote img.pq-photo { min-height: 220px; }
    .service-grid { grid-template-columns: 1fr 1fr; }
    .service-grid-secondary { grid-template-columns: 1fr; }
    .approach-strip { grid-template-columns: 1fr 1fr; }
    .project-pair { grid-template-columns: 1fr 1fr; }
    .concrete-context { grid-template-columns: 1fr 1fr; }
    .concrete-steps { grid-template-columns: 1fr 1fr; }
    .why-grid { grid-template-columns: 1fr 1fr; }
    .qa-steps { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
  }
  @media (max-width: 560px) {
    .service-grid { grid-template-columns: 1fr; }
    .approach-strip { grid-template-columns: 1fr; }
    .concrete-context { grid-template-columns: 1fr; }
    .concrete-steps { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .qa-steps { grid-template-columns: 1fr; }
    .hero { min-height: 460px; padding: var(--space-7) 0; }
  }
