@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope-bold.woff2") format("woff2");
  font-weight: 700 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f3f2ed;
  --white: #ffffff;
  --ink: #1e2421;
  --muted: #4d554f;
  --line: #c9cdc7;
  --orange: #c64112;
  --orange-dark: #8e2d0b;
  --max: 1280px;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body.menu-open { overflow: hidden; }

::selection { background: var(--orange); color: var(--white); }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
img { display: block; width: 100%; }
button, input, textarea, select { font: inherit; }

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

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

.shell { width: min(calc(100% - 3rem), var(--max)); margin-inline: auto; }

.site-header {
  position: relative;
  z-index: 20;
  height: 76px;
  border-bottom: 1px solid rgba(30, 36, 33, 0.28);
  background: var(--paper);
}

.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; font-weight: 700; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; background: var(--ink); color: var(--white); font-size: 0.76rem; }
.brand-name { font-size: 0.95rem; }

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a { text-decoration: none; font-size: 0.9rem; color: var(--muted); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav .nav-cta { padding: 0.7rem 1rem; background: var(--orange); color: var(--white); font-weight: 700; }
.site-nav .nav-cta:hover { background: var(--orange-dark); color: var(--white); }

.menu-button { display: none; width: 44px; height: 44px; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; }
.menu-button span, .menu-button::before, .menu-button::after { display: block; width: 18px; height: 2px; margin: 4px auto; background: currentColor; content: ""; transition: transform 180ms ease, opacity 180ms ease; }
.menu-button[aria-expanded="true"] span { opacity: 0; }
.menu-button[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.menu-button[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }

.hero { position: relative; min-height: calc(100dvh - 76px); display: grid; align-items: end; overflow: hidden; background: var(--ink); color: var(--white); }
.hero-media { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: center; opacity: 0.82; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,25,22,.92) 0%, rgba(20,25,22,.64) 42%, rgba(20,25,22,.08) 75%); }
.hero-content { position: relative; z-index: 1; padding-block: clamp(5rem, 13vh, 8rem) 4.5rem; }
.hero h1 { max-width: 870px; margin: 0; font-size: clamp(3.4rem, 8.3vw, 7rem); line-height: 0.93; font-weight: 700; letter-spacing: 0; }
.hero h1 span { display: block; color: var(--orange); }
.hero-lead { max-width: 530px; margin: 1.75rem 0 2rem; color: #eef0ec; font-size: clamp(1rem, 1.8vw, 1.2rem); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 0.6rem; padding: 0.75rem 1.15rem; border: 1px solid transparent; text-decoration: none; font-weight: 700; cursor: pointer; white-space: nowrap; transition: background 150ms ease, color 150ms ease, transform 150ms ease; }
.button:active { transform: translateY(1px); }
.button-primary { background: var(--orange); color: var(--white); }
.button-primary:hover { background: var(--orange-dark); }
.button-secondary { border-color: currentColor; color: currentColor; background: transparent; }
.button-secondary:hover { background: var(--white); color: var(--ink); }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: #343b37; }

.proof-band { background: var(--white); border-bottom: 1px solid var(--line); }
.proof-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); }
.proof-grid > div { min-height: 124px; padding: 1.75rem; border-left: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.proof-grid > div:first-child { border-left: 0; padding-left: 0; }
.proof-grid strong { display: block; font-size: 1.15rem; line-height: 1.25; }
.proof-grid span { color: var(--muted); font-size: 0.82rem; margin-top: 0.25rem; }

.section { padding-block: clamp(5rem, 10vw, 9rem); }
.section-white { background: var(--white); }
.section-dark { background: var(--ink); color: var(--white); }
.section-title { max-width: 850px; margin: 0 0 2.5rem; font-size: clamp(2.4rem, 5.7vw, 5rem); line-height: 0.98; font-weight: 700; }
.section-copy { max-width: 690px; color: var(--muted); font-size: 1.08rem; }
.section-dark .section-copy { color: #c9d0ca; }

.work-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.work-image { aspect-ratio: 4 / 5; object-fit: cover; }
.rule-list { margin: 2.5rem 0; border-top: 1px solid var(--line); }
.rule-item { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.rule-item span { color: var(--orange); font-weight: 700; }
.rule-item strong { font-size: 1.05rem; }
.rule-item p { margin: 0.2rem 0 0; color: var(--muted); font-size: 0.92rem; }

.process { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(3rem, 9vw, 9rem); }
.process-list { counter-reset: steps; }
.process-step { position: relative; padding: 1.25rem 0 2rem 4rem; border-top: 1px solid #555d58; counter-increment: steps; }
.process-step::before { content: counter(steps, decimal-leading-zero); position: absolute; left: 0; top: 1.25rem; color: var(--orange); font-weight: 700; }
.process-step h3 { margin: 0; font-size: 1.3rem; }
.process-step p { margin: 0.5rem 0 0; color: #c9d0ca; }

.cta-band { background: var(--orange); color: var(--white); }
.cta-inner { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 3rem; padding-block: clamp(4rem, 8vw, 7rem); }
.cta-inner h2 { max-width: 850px; margin: 0; font-size: clamp(2.6rem, 6vw, 5.6rem); line-height: 0.96; }
.cta-inner .button { border-color: var(--white); }

.page-hero { padding-block: clamp(5rem, 10vw, 8rem); border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: clamp(3rem, 8vw, 8rem); align-items: end; }
.page-hero h1 { margin: 0; font-size: clamp(3.5rem, 9vw, 7.5rem); line-height: 0.9; }
.page-hero p { margin: 0; color: var(--muted); font-size: 1.15rem; max-width: 34rem; }

.service-feature { display: grid; grid-template-columns: 0.85fr 1.15fr; min-height: 640px; }
.service-copy { padding: clamp(3rem, 7vw, 7rem); display: flex; flex-direction: column; justify-content: space-between; background: var(--ink); color: var(--white); }
.service-copy h2 { margin: 0; font-size: clamp(2.6rem, 5vw, 4.8rem); line-height: 1; }
.service-copy p { color: #c9d0ca; max-width: 33rem; }
.service-image { height: 100%; min-height: 560px; object-fit: cover; }
.scope-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.scope-item { padding: 2.5rem 2rem 2.5rem 0; border-bottom: 1px solid var(--line); }
.scope-item:nth-child(even) { padding-left: 2rem; border-left: 1px solid var(--line); }
.scope-item h3 { margin: 0 0 0.75rem; font-size: 1.3rem; }
.scope-item p { margin: 0; color: var(--muted); }

.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 10vw, 9rem); }
.contact-details { align-self: start; position: sticky; top: 2rem; }
.contact-details h2 { margin-top: 0; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1; }
.contact-line { padding: 1.2rem 0; border-top: 1px solid var(--line); }
.contact-line span { display: block; color: var(--muted); font-size: 0.82rem; margin-bottom: 0.25rem; }
.contact-line strong, .contact-line a { font-size: 1.05rem; }

.contact-form { padding: clamp(2rem, 5vw, 4rem); background: var(--white); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field-full { grid-column: 1 / -1; }
label { font-weight: 700; font-size: 0.88rem; }
input, textarea, select { width: 100%; min-height: 50px; border: 1px solid #767d78; border-radius: 0; background: var(--white); color: var(--ink); padding: 0.8rem; }
textarea { min-height: 150px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #6b716d; }
input:focus, textarea:focus, select:focus, button:focus-visible, a:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.form-status { min-height: 1.6rem; margin: 1rem 0 0; color: var(--muted); }
.form-status.success { color: #23623c; }
.form-status.error { color: #a22b1a; }

.site-footer { background: #151a17; color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 3rem; padding-block: 4.5rem; }
.footer-grid h2 { margin: 0; max-width: 420px; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1; }
.footer-nav, .footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 0.65rem; }
.footer-nav a, .footer-contact a { color: #d8ddd9; }
.footer-bottom { display: flex; justify-content: space-between; gap: 2rem; padding-block: 1.25rem; border-top: 1px solid #3c433f; color: #aeb6b0; font-size: 0.8rem; }

.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 600ms cubic-bezier(.2,.8,.2,1), transform 600ms cubic-bezier(.2,.8,.2,1); }
.js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 800px) {
  .shell { width: min(calc(100% - 2rem), var(--max)); }
  .site-header { height: 68px; }
  .menu-button { display: block; }
  .site-nav { position: fixed; inset: 68px 0 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 1rem; background: var(--paper); transform: translateX(100%); transition: transform 220ms ease; }
  .site-nav.is-open { transform: translateX(0); }
  .site-nav a { padding: 1.1rem 0; border-bottom: 1px solid var(--line); font-size: 1.35rem; }
  .site-nav .nav-cta { margin-top: 1rem; padding: 1rem; text-align: center; }
  .hero { min-height: calc(100dvh - 68px); }
  .hero::after { background: linear-gradient(0deg, rgba(20,25,22,.94) 0%, rgba(20,25,22,.55) 68%, rgba(20,25,22,.15) 100%); }
  .hero-media { object-position: 65% center; }
  .hero-content { padding-block: 8rem 2.5rem; }
  .hero h1 { font-size: clamp(3.2rem, 16vw, 5rem); }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid > div { min-height: 100px; padding: 1.25rem; border-bottom: 1px solid var(--line); }
  .proof-grid > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .work-grid, .process, .page-hero-grid, .contact-layout { grid-template-columns: 1fr; }
  .work-image { aspect-ratio: 4 / 3; }
  .process { gap: 2rem; }
  .cta-inner { grid-template-columns: 1fr; align-items: start; }
  .service-feature { grid-template-columns: 1fr; }
  .service-copy { min-height: 480px; padding: 3rem 1rem; }
  .service-image { min-height: 420px; }
  .scope-grid { grid-template-columns: 1fr; }
  .scope-item, .scope-item:nth-child(even) { padding: 1.75rem 0; border-left: 0; }
  .contact-details { position: static; }
  .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
