:root {
  --ink: #1E2226;
  --ink-soft: #4A5056;
  --dark: #16191D;
  --dark-2: #1E2226;
  --darkest: #0F1114;
  --paper: #F5F4F1;
  --white: #FFFFFF;
  --line: #E2DED6;
  --accent: #F2A93B;
  --accent-text: #8A4B0F;
  --muted-on-dark: #C9CDD2;
  --display: "Oswald", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--paper); line-height: 1.5; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); }
a:hover { color: #5E3209; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); text-transform: uppercase; margin: 0; line-height: 1.08; }
p { margin: 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--accent); color: var(--dark); padding: 10px 14px; z-index: 10; }

/* Header */
.site-header { background: var(--dark); color: var(--white); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand:hover { color: var(--white); }
.brand-mark { width: 42px; height: 42px; background: var(--accent); display: flex; align-items: center; justify-content: center; flex: none; }
.brand-name { font-family: var(--display); font-size: 22px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
.nav a { color: #D5D8DC; text-decoration: none; padding: 12px 14px; font-weight: 500; font-size: 15px; border-bottom: 3px solid transparent; }
.nav a:hover { color: var(--white); }
.nav a[aria-current="page"] { color: var(--white); font-weight: 600; border-bottom-color: var(--accent); }
.nav a.nav-cta { margin-left: 8px; background: var(--accent); color: var(--dark); font-weight: 700; border-bottom: none; padding: 12px 20px; }
.nav a.nav-cta:hover { background: #F7BE62; color: var(--dark); }

/* Buttons */
.btn { display: inline-block; text-decoration: none; font-weight: 700; font-size: 16px; padding: 16px 28px; border: 2px solid transparent; font-family: var(--body); cursor: pointer; }
.btn-accent { background: var(--accent); color: var(--dark); }
.btn-accent:hover { background: #F7BE62; color: var(--dark); }
.btn-outline { border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--dark); }

/* Hero */
.hero { background: var(--dark-2); color: var(--white); }
.hero .wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.hero-text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 22px; }
.kicker { font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.hero h1 { font-size: clamp(44px, 7vw, 66px); line-height: 1.02; }
.hero-lead { font-size: 19px; line-height: 1.6; color: var(--muted-on-dark); max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.hero-phone { font-size: 16px; color: var(--muted-on-dark); }
.hero-phone a { color: var(--white); font-weight: 700; }
.hero-photo { flex: 1 1 420px; margin: 0; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid #4B5158; }
.hero-photo figcaption { font-size: 14px; color: var(--muted-on-dark); margin-top: 10px; }

/* Trust strip */
.trust { background: var(--accent); color: var(--dark); }
.trust .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; padding-top: 26px; padding-bottom: 26px; }
.trust-item { display: flex; flex-direction: column; gap: 2px; }
.trust-big { font-family: var(--display); font-size: 26px; font-weight: 700; }
.trust-small { font-size: 15px; font-weight: 600; }

.built-for { background: var(--white); border-bottom: 1px solid var(--line); }
.built-for .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 40px; padding-top: 30px; padding-bottom: 30px; }
.built-for-label { font-size: 14px; font-weight: 700; color: var(--ink-soft); }
.built-for-name { font-family: var(--display); font-size: 22px; font-weight: 600; text-transform: uppercase; color: #3A3F45; }

/* Sections */
.section { padding-top: 80px; padding-bottom: 80px; }
.section-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 36px; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-text); }
.section-head h2 { font-size: clamp(34px, 5vw, 44px); }
.section-head p.lead { font-size: 17px; line-height: 1.6; color: var(--ink-soft); max-width: 560px; }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.card .bar { width: 36px; height: 4px; background: var(--accent); }
.card h3 { font-size: 22px; }
.card p { font-size: 16px; line-height: 1.6; color: var(--ink-soft); }

/* Before & after */
.project { background: var(--white); border: 1px solid var(--line); }
.ba { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px; background: var(--dark); }
.ba figure { position: relative; margin: 0; }
.ba img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ba .tag { position: absolute; top: 12px; left: 12px; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; padding: 6px 10px; }
.tag-before { background: var(--dark); color: var(--white); }
.tag-after { background: var(--accent); color: var(--dark); }
.project-info { padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.project-info h3 { font-size: 24px; }
.project-info p { font-size: 15px; color: var(--ink-soft); }
@media (max-width: 560px) { .ba { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { background: var(--dark); color: var(--white); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 60px; padding-bottom: 60px; }
.cta-band h2 { font-size: clamp(30px, 4.5vw, 40px); }
.cta-band p { font-size: 18px; color: var(--muted-on-dark); margin-top: 8px; }

/* Page header */
.page-head { background: var(--dark-2); color: var(--white); }
.page-head .wrap { padding-top: 64px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 14px; }
.page-head h1 { font-size: clamp(40px, 6vw, 56px); }
.page-head p { font-size: 18px; line-height: 1.6; color: var(--muted-on-dark); max-width: 640px; }

/* About */
.story { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.team-card { flex: 1 1 320px; background: var(--dark); color: var(--white); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.team-card h2 { font-size: 26px; }
.team-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.team-card li { display: flex; flex-direction: column; border-left: 4px solid var(--accent); padding-left: 14px; }
.team-card .who { font-family: var(--display); font-size: 22px; text-transform: uppercase; }
.team-card .role { font-size: 15px; color: var(--muted-on-dark); }
.story-text { flex: 1 1 480px; display: flex; flex-direction: column; gap: 20px; }
.story-text h2 { font-size: 40px; }
.story-text .rule { width: 56px; height: 4px; background: var(--accent); }
.story-text p { font-size: 18px; line-height: 1.75; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin-top: 8px; }
.stat { background: var(--white); border: 1px solid var(--line); padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.stat strong { font-family: var(--display); font-size: 32px; }
.stat span { font-size: 14px; color: var(--ink-soft); font-weight: 600; }
.band-white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.value-icon { width: 52px; height: 52px; background: var(--dark); display: flex; align-items: center; justify-content: center; }
.values .card { background: transparent; border: none; padding: 0; gap: 12px; }
.client-card { border-top: 4px solid var(--accent); gap: 14px; }
.client-card .names { font-family: var(--display); font-size: 28px; font-weight: 600; text-transform: uppercase; line-height: 1.3; color: var(--ink); }
.client-card .group { font-size: 15px; font-weight: 700; color: var(--ink-soft); }
.badges { display: flex; flex-wrap: wrap; gap: 12px; }
.badge { border: 2px solid var(--dark); padding: 12px 18px; font-weight: 700; font-size: 15px; }

/* Contact */
.contact-layout { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.form-card { flex: 999 1 540px; min-width: 0; background: var(--white); border: 1px solid var(--line); padding: 34px; display: flex; flex-direction: column; gap: 20px; }
.form-card h2 { font-size: 28px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field legend { font-size: 15px; font-weight: 600; }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; border: 1px solid #A9A49B; background: var(--white); color: var(--ink); padding: 0 14px; height: 48px; }
.field textarea { height: auto; padding: 12px 14px; resize: vertical; }
.field .req { color: var(--accent-text); }
fieldset.field { border: none; margin: 0; padding: 0; }
.radios { display: flex; flex-wrap: wrap; gap: 18px; }
.radios label { display: flex; align-items: center; gap: 8px; font-weight: 400; font-size: 16px; min-height: 44px; }
.radios input { width: 20px; height: 20px; accent-color: var(--accent-text); }
.hidden-field { position: absolute; left: -9999px; }
.form-note { font-size: 14px; color: var(--ink-soft); }
.contact-side { flex: 1 1 300px; display: flex; flex-direction: column; gap: 20px; }
.reach { background: var(--dark); color: var(--white); padding: 32px; display: flex; flex-direction: column; gap: 22px; }
.reach h2 { font-size: 24px; }
.reach-row { display: flex; gap: 14px; align-items: flex-start; }
.reach-row svg { flex: none; margin-top: 2px; }
.reach-label { display: block; font-size: 14px; color: var(--muted-on-dark); font-weight: 600; }
.reach-value, .reach-value a { font-size: 18px; font-weight: 700; color: var(--white); word-break: break-word; }
.map { width: 100%; aspect-ratio: 4 / 3; border: 0; display: block; }

/* Footer */
.site-footer { background: var(--darkest); color: var(--muted-on-dark); }
.site-footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 32px; padding-top: 52px; padding-bottom: 28px; }
.site-footer .col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.7; }
.site-footer .foot-name { font-family: var(--display); font-size: 20px; color: var(--white); text-transform: uppercase; letter-spacing: 0.05em; }
.site-footer .foot-title { font-weight: 700; color: var(--white); }
.site-footer a { color: var(--muted-on-dark); }
.site-footer a:hover { color: var(--white); }
.site-footer .legal { border-top: 1px solid #2A2E33; padding-top: 20px; padding-bottom: 30px; font-size: 14px; }

@media (max-width: 640px) {
  .brand-name { font-size: 19px; }
  .nav { width: 100%; }
  .nav a { padding: 12px 10px; }
  .nav a.nav-cta { margin-left: auto; }
  .section { padding-top: 60px; padding-bottom: 60px; }
  .form-card { padding: 24px; }
}

/* Extra project layouts */
.project + .project { margin-top: 28px; }
.project .wide { margin: 3px 0 0; }
.project .wide img { width: 100%; aspect-ratio: 21 / 9; object-position: center 60%; object-fit: cover; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; background: var(--dark); }
.trio figure { margin: 0; }
.trio img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 760px) { .trio { grid-template-columns: 1fr; } }
