:root {
  --ink: #101010;
  --paper: #ffffff;
  --soft: #f3f3f1;
  --muted: #70706c;
  --line: #d8d8d3;
  --orange: #ff6500;
  --orange-dark: #d85000;
  --max: 1240px;
  --shadow: 0 20px 70px rgba(0, 0, 0, 0.16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

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

h1, h2, h3, p { overflow-wrap: anywhere; }

h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.5vw, 4.7rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

h3 { margin: 0; line-height: 1.15; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  color: #fff;
  background: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 3rem), var(--max));
  min-height: 104px;
  margin: 0 auto;
  gap: 2rem;
  background: #fff;
}

.brand { flex: 0 1 350px; }
.brand img { width: 100%; height: auto; }

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
  font-size: 0.9rem;
  font-weight: 750;
}

.main-nav a { text-decoration: none; }
.main-nav a:not(.nav-cta):hover,
.main-nav a:not(.nav-cta):focus-visible { color: var(--orange-dark); }

.nav-cta {
  padding: 0.82rem 1rem;
  color: #fff;
  background: var(--ink);
}

.menu-toggle { display: none; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  min-height: calc(100vh - 104px);
  color: #fff;
  background: var(--ink);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(4rem, 8vw, 8rem) max(2rem, calc((100vw - var(--max)) / 2));
  padding-right: clamp(2rem, 6vw, 6rem);
}

.eyebrow,
.section-kicker {
  width: fit-content;
  margin: 0 0 1.35rem;
  color: var(--orange-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  padding: 0.42rem 0.68rem;
  color: #111;
  background: var(--orange);
}

.section-dark .section-kicker,
.case-copy .section-kicker { color: var(--orange); }

h1 {
  max-width: 790px;
  margin: 0;
  font-size: clamp(2.8rem, 6.2vw, 6.55rem);
  line-height: 0.94;
  letter-spacing: -0.058em;
}

.hero-lead {
  max-width: 700px;
  margin: 2rem 0 0;
  color: #d8d8d8;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.2rem;
  border: 2px solid transparent;
  border-radius: 0;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.button:hover { transform: translateY(-2px); }
.button:focus-visible,
.main-nav a:focus-visible,
.contact-cards a:focus-visible,
.menu-toggle:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.button-primary { color: #111; background: var(--orange); }
.button-primary:hover { background: #ff7a24; }
.button-secondary { color: #fff; border-color: #777; background: transparent; }
.button-secondary:hover { color: #111; background: #fff; }

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin: 2.8rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid #3c3c3c;
  list-style: none;
  color: #cfcfcf;
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-points li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 0.55rem;
  background: var(--orange);
}

.hero-visual {
  position: relative;
  min-height: 650px;
  margin: 0;
  overflow: hidden;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16,16,16,0.4), transparent 38%), linear-gradient(0deg, rgba(0,0,0,0.62), transparent 40%);
  pointer-events: none;
}

.hero-visual img { width: 100%; height: 100%; object-fit: cover; }

.hero-visual figcaption {
  position: absolute;
  z-index: 1;
  right: 1.6rem;
  bottom: 1.5rem;
  max-width: 300px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: right;
}

.section,
.promise,
.safety,
.values,
.contact { padding: clamp(5rem, 9vw, 9rem) 1.5rem; }

.section-shell { width: min(100%, var(--max)); margin: 0 auto; }
.section-dark { color: #fff; background: var(--ink); }
.section-light { background: var(--paper); }
.section-heading { max-width: 900px; margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-heading > p:last-child { max-width: 700px; margin: 1.5rem 0 0; color: var(--muted); font-size: 1.08rem; }

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  max-width: none;
  gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
}

.split-heading > p:last-child { margin: 0 0 0.35rem; }

.promise { border-top: 1px solid #2e2e2e; }
.promise-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.promise-copy { padding-top: 1.4rem; font-size: 1.15rem; }
.promise-copy > p:first-child { margin-top: 0; color: #d1d1d1; }
.accent-statement { margin: 2.2rem 0 0; padding-left: 1.25rem; border-left: 4px solid var(--orange); color: var(--orange); font-weight: 850; }

.competence-layout { display: grid; grid-template-columns: 0.88fr 1.12fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.competence-list { border-top: 1px solid var(--line); }
.number-card { display: grid; grid-template-columns: 52px 1fr; gap: 1rem; padding: 1.7rem 0; border-bottom: 1px solid var(--line); }
.number-card > span,
.service-grid > li > span,
.method-track > li > span,
.value-grid > article > span { color: var(--orange-dark); font-size: 0.8rem; font-weight: 900; }
.number-card h3 { font-size: 1.35rem; }
.number-card p { margin: 0.55rem 0 0; color: var(--muted); }
.image-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; min-height: 640px; }
.image-pair figure { margin: 0; overflow: hidden; }
.image-pair img { width: 100%; height: 100%; object-fit: cover; }
.image-offset { transform: translateY(3rem); }
.services { background: var(--soft); }
.service-grid { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0; padding: 0; border-top: 1px solid #cfcfca; border-left: 1px solid #cfcfca; list-style: none; }
.service-grid li { min-height: 280px; padding: 1.5rem; border-right: 1px solid #cfcfca; border-bottom: 1px solid #cfcfca; }
.service-grid h3 { margin-top: 4.4rem; font-size: 1.2rem; }
.service-grid p { margin-bottom: 0; color: var(--muted); font-size: 0.94rem; }

.case-study { display: grid; grid-template-columns: 1.05fr 0.95fr; min-height: 760px; color: #fff; background: var(--ink); }
.case-image { min-height: 620px; overflow: hidden; }
.case-image img { width: 100%; height: 100%; object-fit: cover; }
.case-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(4rem, 7vw, 7rem); }
.case-copy > p:not(.section-kicker) { color: #cecece; }
.case-copy blockquote { margin: 2.5rem 0; padding: 1.5rem 0 1.5rem 1.5rem; border-left: 4px solid var(--orange); color: #fff; font-size: clamp(1.25rem, 2vw, 1.7rem); font-weight: 800; }
.case-result { padding: 1.25rem; color: #111; background: var(--orange); }
.case-result span { font-size: 0.75rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.case-result p { margin: 0.45rem 0 0; font-weight: 750; }
.method-track { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 2.25rem 0 0; border-top: 2px solid var(--line); list-style: none; }
.method-track li { position: relative; padding: 0 2rem 0 0; }
.method-track li::before { content: ""; position: absolute; width: 14px; height: 14px; top: -2.72rem; left: 0; background: var(--orange); }
.method-track li:last-child::before { background: var(--ink); }
.method-track h3 { margin-top: 1rem; font-size: 1.2rem; }
.method-track p { color: var(--muted); font-size: 0.93rem; }

.safety { background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px); background-size: 48px 48px; }
.safety-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(3rem, 8vw, 8rem); }
.safety-intro > p:last-child { color: #c7c7c7; }
.safety-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #383838; }
.safety-list article { display: grid; grid-template-columns: 38px 1fr; gap: 1rem; min-height: 190px; padding: 1.5rem; background: #171717; }
.safety-list article > span { color: var(--orange); font-size: 0.8rem; font-weight: 900; }
.safety-list p { margin: 0.65rem 0 0; color: #bfbfbf; font-size: 0.92rem; }

.company { background: #fff; }
.company-grid { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.company-image { position: relative; }
.company-image img { width: 100%; max-height: 720px; object-fit: cover; }
.company-lead { max-width: 760px; margin: 1.5rem 0 2.5rem; color: var(--muted); font-size: 1.12rem; }
.founders { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.founders article { min-height: 270px; padding: 1.7rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.founders h3 { font-size: 1.35rem; }
.founders .role { color: var(--orange-dark); font-weight: 850; }
.founders p:last-child { color: var(--muted); }
.values { background: var(--soft); }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #cacac5; border-left: 1px solid #cacac5; }
.value-grid article { min-height: 250px; padding: 1.6rem; border-right: 1px solid #cacac5; border-bottom: 1px solid #cacac5; }
.value-grid h3 { margin-top: 4rem; font-size: 1.2rem; text-transform: uppercase; }
.value-grid p { color: var(--muted); font-size: 0.93rem; }
.value-grid .value-highlight { color: #111; background: var(--orange); }
.value-grid .value-highlight > span,
.value-grid .value-highlight p { color: #111; }

.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(3rem, 8vw, 8rem); }
.contact-intro > p:not(.section-kicker):not(.contact-person) { color: #c7c7c7; }
.contact-cards { display: grid; gap: 1px; margin-top: 2.25rem; background: #444; }
.contact-cards a { display: flex; flex-direction: column; padding: 1.2rem; text-decoration: none; background: #1a1a1a; }
.contact-cards a:hover { background: #222; }
.contact-cards span { color: var(--orange); font-size: 0.75rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.contact-cards strong { margin-top: 0.25rem; font-size: 1.1rem; }
.contact-person { margin-top: 2rem; }

.contact-form { padding: clamp(1.5rem, 4vw, 3rem); color: var(--ink); background: #fff; }
.contact-form label { display: grid; gap: 0.45rem; margin-bottom: 1rem; font-size: 0.85rem; font-weight: 800; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form input,
.contact-form textarea { width: 100%; border: 1px solid #bcbcb7; border-radius: 0; padding: 0.82rem; color: var(--ink); background: #fff; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus { outline: 3px solid rgba(255,101,0,0.26); border-color: var(--orange-dark); }
.privacy-check { display: grid !important; grid-template-columns: 20px 1fr; align-items: start; font-weight: 500 !important; }
.privacy-check input { width: 18px; height: 18px; margin: 0.2rem 0 0; accent-color: var(--orange); }
.privacy-check a { font-weight: 800; }
.contact-form .button { width: 100%; }
.form-note { margin-bottom: 0; color: var(--muted); font-size: 0.76rem; }
.form-status { margin: 0.8rem 0 0; color: #a22d00; font-weight: 700; }

.site-footer { padding: 4.5rem 1.5rem 2rem; background: #fff; }
.footer-main { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); width: min(100%, var(--max)); margin: 0 auto; gap: 2rem; }
.footer-main h2 { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }
.footer-main p { color: var(--muted); font-size: 0.9rem; }
.footer-main a { text-underline-offset: 0.2em; }
.footer-brand img { width: min(100%, 330px); height: auto; }
.footer-legal { display: flex; justify-content: space-between; width: min(100%, var(--max)); margin: 3rem auto 0; padding-top: 1.2rem; border-top: 1px solid var(--line); gap: 1.5rem; color: var(--muted); font-size: 0.78rem; }
.footer-legal p { margin: 0; }
.footer-legal p:first-child { max-width: 900px; }

.legal-page { background: var(--soft); }
.simple-header { border-bottom: 1px solid var(--line); background: #fff; }
.legal-hero { padding: clamp(4rem, 8vw, 7rem) 1.5rem 2rem; }
.legal-content { width: min(100%, 860px); margin: 0 auto; padding: 1rem 1.5rem 6rem; }
.legal-content section { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.legal-content h2 { font-size: 1.5rem; letter-spacing: -0.02em; }
.legal-content h3 { margin-top: 1.2rem; }
.legal-content p,
.legal-content li { color: #4f4f4c; }
.legal-content a { font-weight: 750; }
.legal-notice { padding: 1rem; border-left: 4px solid var(--orange); background: #fff; }

@media (max-width: 1080px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-main > div:last-child { grid-column: 2; }
}

@media (max-width: 900px) {
  .site-header { min-height: 84px; width: min(calc(100% - 2rem), var(--max)); }
  .brand { flex-basis: 255px; }
  .site-header { flex-wrap: wrap; }
  .main-nav { width: 100%; justify-content: flex-start; overflow-x: auto; padding-bottom: 0.75rem; }
  .js .menu-toggle {
    display: grid;
    width: 48px;
    height: 48px;
    padding: 12px;
    border: 0;
    background: var(--ink);
    cursor: pointer;
  }
  .menu-toggle > span:not(.sr-only) { display: block; width: 100%; height: 2px; background: #fff; transition: transform 180ms ease, opacity 180ms ease; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(2) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-child(3) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(4) { transform: translateY(-8px) rotate(-45deg); }
  .js .main-nav {
    position: fixed;
    inset: 84px 0 0;
    display: none;
    align-items: stretch;
    justify-content: flex-start;
    flex-direction: column;
    gap: 0;
    padding: 1.5rem;
    color: #fff;
    background: var(--ink);
  }
  .js .main-nav.is-open { display: flex; }
  .js .main-nav a { padding: 1.1rem 0; border-bottom: 1px solid #343434; font-size: 1.15rem; }
  .js .main-nav .nav-cta { margin-top: 1rem; padding: 1rem; color: #111; border: 0; background: var(--orange); text-align: center; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { min-height: 66vh; padding: 4.5rem 1.25rem 3.5rem; }
  .hero-visual { min-height: 62vh; }
  .split-heading,
  .promise-grid,
  .competence-layout,
  .case-study,
  .safety-grid,
  .company-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .split-heading > p:last-child { margin-top: 0; }
  .image-pair { min-height: 560px; }
  .case-image { min-height: 55vh; }
  .case-copy { padding: 4rem 1.5rem; }
  .method-track { grid-template-columns: 1fr 1fr; gap: 3rem 1.5rem; }
  .method-track li:nth-child(3)::before,
  .method-track li:nth-child(4)::before { display: none; }
  .company-image { max-width: 620px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main > div:last-child { grid-column: auto; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-legal { flex-direction: column; }
}

@media (max-width: 620px) {
  .site-header { gap: 0.8rem; }
  .brand { flex-basis: 210px; }
  h1 { font-size: clamp(2.65rem, 14vw, 4.3rem); }
  h2 { font-size: clamp(2.1rem, 11vw, 3.4rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .hero-points { display: grid; gap: 0.65rem; }
  .section,
  .promise,
  .safety,
  .values,
  .contact { padding-right: 1rem; padding-left: 1rem; }
  .image-pair { min-height: 430px; gap: 0.6rem; }
  .image-offset { transform: translateY(1.5rem); }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid li { min-height: auto; }
  .service-grid h3 { margin-top: 2.5rem; }
  .method-track { grid-template-columns: 1fr; padding-left: 1rem; border-top: 0; border-left: 2px solid var(--line); }
  .method-track li::before { top: 0; left: -1.45rem; }
  .method-track li:nth-child(3)::before,
  .method-track li:nth-child(4)::before { display: block; }
  .safety-list,
  .founders,
  .value-grid,
  .form-row { grid-template-columns: 1fr; }
  .safety-list article,
  .founders article,
  .value-grid article { min-height: auto; }
  .value-grid h3 { margin-top: 2.5rem; }
  .contact-form { padding: 1.25rem; }
  .contact-cards strong { font-size: 0.95rem; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button,
  .menu-toggle > span:not(.sr-only) { transition: none; }
}
