:root {
  --ink: #0b1720;
  --ink-soft: #17303e;
  --paper: #f3f0e9;
  --paper-deep: #e7e2d8;
  --white: #fff;
  --muted: #66727a;
  --line: rgba(11, 23, 32, .16);
  --accent: #e96532;
  --accent-bright: #f47a45;
  --shell: min(1180px, calc(100vw - 48px));
  --display: "Manrope", sans-serif;
  --body: "DM Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding: 120px 0; }
.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; z-index: 1000;
  top: 12px; left: 12px;
  transform: translateY(-160%);
  padding: 10px 16px;
  background: var(--white);
  border-radius: 2px;
}
.skip-link:focus { transform: translateY(0); }
.eyebrow {
  margin: 0 0 22px;
  color: var(--accent);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
h1, h2, h3 {
  font-family: var(--display);
  letter-spacing: -.045em;
  line-height: 1.08;
  margin: 0;
}
h1 { font-size: clamp(3.3rem, 6.5vw, 6.6rem); max-width: 850px; }
h2 { font-size: clamp(2.4rem, 4.6vw, 4.5rem); }
h3 { font-size: 1.45rem; }

.site-header {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto;
  color: var(--white);
}
.header-inner {
  min-height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 92px;
  height: 92px;
  object-fit: contain;
  filter: invert(1);
}
.site-nav { display: flex; align-items: center; gap: 38px; }
.site-nav > a:not(.button) {
  font-size: .88rem;
  position: relative;
}
.site-nav > a:not(.button)::after {
  content: "";
  position: absolute;
  inset: auto 0 -8px;
  height: 1px;
  background: var(--accent-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.site-nav > a:hover::after { transform: scaleX(1); }
.menu-toggle { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 25px;
  border: 1px solid var(--accent);
  border-radius: 1px;
  background: var(--accent);
  color: var(--white);
  font-size: .83rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.button:hover { background: transparent; color: var(--accent-bright); transform: translateY(-2px); }
.button-small {
  min-height: 42px;
  padding-inline: 20px;
  background: transparent;
  border-color: rgba(255,255,255,.55);
}
.button-small:hover { border-color: var(--accent-bright); }
.button-light { background: var(--white); border-color: var(--white); color: var(--ink); }
.button-light:hover { color: var(--white); border-color: var(--white); }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 850px;
  padding: 198px 0 38px;
  color: var(--white);
  background:
    radial-gradient(circle at 76% 20%, rgba(47,92,114,.48), transparent 30%),
    linear-gradient(132deg, #0b1720 0%, #102936 58%, #0b1d28 100%);
}
.hero::before {
  content: "";
  position: absolute;
  width: 560px; height: 560px;
  left: -350px; top: 260px;
  border: 120px solid rgba(255,255,255,.025);
  transform: rotate(34deg);
}
.hero-grid, .about-grid {
  position: absolute;
  inset: 0;
  opacity: .25;
  background-image:
    linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to right, black, transparent 70%);
}
.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 40px;
}
.hero-copy { position: relative; z-index: 3; min-width: 0; padding-bottom: 35px; }
.hero-lede {
  max-width: 610px;
  margin: 32px 0 0;
  color: rgba(255,255,255,.72);
  font-size: 1.18rem;
}
.hero-actions { display: flex; align-items: center; gap: 34px; margin-top: 44px; }
.text-link {
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.text-link span { color: var(--accent-bright); margin-left: 6px; }
.hero-visual { position: relative; min-width: 0; margin-right: -70px; }
.hero-visual svg { filter: drop-shadow(0 30px 30px rgba(0,0,0,.22)); }
.frame-plane { fill: url(#frame-fill); opacity: .7; }
.frame-lines { fill: none; stroke: rgba(255,255,255,.62); stroke-width: 1.65; }
.frame-nodes { fill: var(--accent-bright); }
.drawing-note {
  position: absolute;
  padding: 5px 9px;
  border-left: 2px solid var(--accent);
  color: rgba(255,255,255,.7);
  background: rgba(11,23,32,.7);
  font-size: .66rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.drawing-note::before {
  content: "";
  position: absolute;
  top: 50%; right: 100%;
  width: 60px; height: 1px;
  background: rgba(255,255,255,.35);
}
.note-a { top: 24%; right: 13%; }
.note-b { bottom: 24%; left: 22%; }
.visual-index {
  position: absolute;
  right: 20px; bottom: 30px;
  color: rgba(255,255,255,.35);
  font-family: var(--display);
  font-size: .72rem;
  letter-spacing: .18em;
}
.hero-proof {
  position: absolute;
  z-index: 3;
  left: 50%; bottom: 32px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255,255,255,.45);
  font-size: .68rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.hero-proof i { display: block; width: 34px; height: 1px; background: rgba(255,255,255,.18); }

.intro { background: var(--paper); }
.split-heading {
  display: grid;
  grid-template-columns: 1.5fr .7fr;
  gap: 90px;
  align-items: end;
}
.split-heading h2 { max-width: 760px; }
.split-heading > p { margin: 0 0 10px; color: var(--muted); font-size: 1.07rem; }

.services { padding-top: 20px; }
.section-top {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.section-number { margin: 0; color: var(--muted); font-size: .73rem; letter-spacing: .12em; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.service-card {
  min-height: 390px;
  padding: 38px 28px 32px;
  border-right: 1px solid var(--line);
  position: relative;
  transition: color .3s ease, background .3s ease, transform .3s ease;
}
.service-card:first-child { border-left: 1px solid var(--line); }
.service-card:hover { color: var(--white); background: var(--ink-soft); transform: translateY(-8px); }
.service-number { display: block; color: var(--accent); font-size: .72rem; letter-spacing: .1em; }
.service-card svg {
  width: 70px;
  margin: 52px 0 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.service-card p { margin: 18px 0 0; color: var(--muted); font-size: .92rem; }
.service-card:hover p { color: rgba(255,255,255,.65); }

.projects { color: var(--white); background: var(--ink); }
.projects-heading {
  display: grid;
  grid-template-columns: 1.15fr .65fr;
  align-items: end;
  gap: 80px;
}
.projects-heading > p { margin: 0 0 8px; color: rgba(255,255,255,.55); }
.project-toolbar {
  display: flex;
  gap: 8px;
  margin: 64px 0 38px;
  overflow-x: auto;
  padding-bottom: 8px;
}
.filter {
  flex: 0 0 auto;
  padding: 10px 17px;
  border: 1px solid rgba(255,255,255,.17);
  background: transparent;
  color: rgba(255,255,255,.55);
  cursor: pointer;
  font-size: .75rem;
  letter-spacing: .04em;
}
.filter:hover, .filter.is-active { color: var(--white); border-color: var(--accent); background: rgba(233,101,50,.1); }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid rgba(255,255,255,.15); }
.project-card {
  min-height: 320px;
  padding: 42px 38px 34px;
  border-right: 1px solid rgba(255,255,255,.15);
  border-bottom: 1px solid rgba(255,255,255,.15);
  position: relative;
  overflow: hidden;
}
.project-card:nth-child(even) { border-right: 0; }
.project-card::before {
  content: "";
  position: absolute;
  width: 250px; height: 250px;
  right: -130px; top: -120px;
  border: 1px solid rgba(255,255,255,.09);
  transform: rotate(45deg);
  transition: transform .4s ease, border-color .4s ease;
}
.project-card:hover::before { transform: rotate(35deg) scale(1.25); border-color: rgba(233,101,50,.5); }
.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255,255,255,.46);
  font-size: .69rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.project-card h3 { margin-top: 56px; font-size: clamp(1.5rem, 2.4vw, 2.15rem); max-width: 430px; }
.project-card p { max-width: 480px; margin: 19px 0 0; color: rgba(255,255,255,.58); }
.project-material {
  position: absolute;
  right: 34px; bottom: 25px;
  color: var(--accent-bright);
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.project-card[hidden] { display: none; }
.experience-note { margin: 24px 0 0; color: rgba(255,255,255,.38); font-size: .76rem; }

.metrics { padding-block: 0; background: var(--accent); color: var(--white); }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.metric { padding: 48px 25px; border-right: 1px solid rgba(255,255,255,.27); }
.metric:first-child { border-left: 1px solid rgba(255,255,255,.27); }
.metric strong { display: block; font-family: var(--display); font-size: 3rem; line-height: 1; }
.metric span { display: block; margin-top: 13px; font-size: .76rem; letter-spacing: .07em; text-transform: uppercase; }

.about-layout { display: grid; grid-template-columns: .85fr 1fr; gap: 110px; align-items: center; }
.about-visual {
  min-height: 610px;
  position: relative;
  padding: 35px;
  overflow: hidden;
  background: var(--ink-soft);
  color: var(--white);
}
.about-grid { opacity: .17; mask-image: none; }
.about-visual svg {
  position: relative;
  z-index: 1;
  fill: none;
  stroke: rgba(255,255,255,.38);
  stroke-width: 1.4;
}
.about-visual svg .accent-line { stroke: var(--accent-bright); stroke-width: 2; }
.about-visual > p {
  position: absolute;
  z-index: 2;
  left: 38px; right: 38px; bottom: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.7);
  font-family: var(--display);
  font-size: 1.05rem;
}
.about-copy h2 { max-width: 650px; }
.about-copy > p:not(.eyebrow) { color: var(--muted); }
.about-lede { margin-top: 34px; font-size: 1.15rem; color: var(--ink) !important; }
.about-values { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; border-top: 1px solid var(--line); }
.about-values div { padding: 22px 14px 0 0; }
.about-values span { display: block; color: var(--accent); font-size: .66rem; }
.about-values strong { display: block; margin-top: 5px; font-family: var(--display); font-size: .93rem; }

.contact { padding-top: 30px; }
.contact-panel {
  padding: 76px;
  display: grid;
  grid-template-columns: .8fr 1fr;
  gap: 90px;
  background: var(--accent);
  color: var(--white);
}
.contact-copy h2 { font-size: clamp(2.7rem, 4.4vw, 4.3rem); }
.contact-copy > p:not(.eyebrow) { color: rgba(255,255,255,.75); max-width: 430px; }
.contact-copy .eyebrow { color: var(--white); opacity: .75; }
.contact-email {
  display: inline-flex;
  gap: 10px;
  margin-top: 40px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(255,255,255,.55);
  font-size: .9rem;
}
.contact-form label { display: block; color: rgba(255,255,255,.72); font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-form input, .contact-form textarea {
  width: 100%;
  margin: 5px 0 18px;
  padding: 11px 0;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.48);
  border-radius: 0;
  outline: none;
  background: transparent;
  color: var(--white);
  resize: vertical;
  transition: border-color .2s ease;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--white); }
.contact-form .button { margin-top: 16px; }
.form-status { min-height: 1.6em; margin: 15px 0 0; font-size: .8rem; }

.site-footer { padding: 70px 0; background: var(--ink); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.1fr .5fr 1fr; gap: 70px; align-items: start; }
.footer-links { display: grid; gap: 10px; color: rgba(255,255,255,.67); font-size: .88rem; }
.footer-links a:hover { color: var(--accent-bright); }
.footer-logo { width: 116px; height: 116px; }
.footer-meta { color: rgba(255,255,255,.42); font-size: .78rem; text-align: right; }
.footer-meta p { margin: 0 0 10px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  :root { --shell: min(100% - 36px, 760px); }
  .section { padding: 90px 0; }
  .site-header { position: absolute; }
  .menu-toggle {
    position: relative;
    z-index: 30;
    width: 44px; height: 44px;
    display: grid;
    place-content: center;
    gap: 7px;
    border: 1px solid rgba(255,255,255,.3);
    background: transparent;
  }
  .menu-toggle span:not(.sr-only) { width: 20px; height: 1px; background: var(--white); transition: transform .25s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .site-nav {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 100px 12vw;
    background: var(--ink);
    transform: translateX(100%);
    transition: transform .35s ease;
  }
  .site-nav.is-open { transform: translateX(0); }
  .site-nav > a:not(.button) { font-family: var(--display); font-size: 2rem; }
  .hero { min-height: 950px; padding-top: 165px; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-visual { width: 100%; max-width: 590px; margin: -50px auto -40px; opacity: .8; }
  .hero-proof { position: relative; left: auto; bottom: auto; transform: none; margin-top: 55px; overflow-x: auto; }
  .split-heading, .projects-heading { grid-template-columns: 1fr; gap: 32px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card:nth-child(3) { border-left: 1px solid var(--line); }
  .project-grid { grid-template-columns: 1fr; }
  .project-card, .project-card:nth-child(even) { border-right: 0; }
  .about-layout { grid-template-columns: 1fr; gap: 65px; }
  .about-visual { min-height: 520px; }
  .contact-panel { padding: 55px; grid-template-columns: 1fr; gap: 55px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-meta { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100% - 28px); }
  .section { padding: 72px 0; }
  .header-inner { min-height: 88px; }
  .brand-logo { width: 70px; height: 70px; }
  .footer-logo { width: 104px; height: 104px; }
  .hero { min-height: 860px; padding-top: 140px; }
  h1 { font-size: clamp(3rem, 14vw, 4.3rem); }
  .hero-lede { font-size: 1rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .hero-visual { margin-top: -15px; }
  .drawing-note { display: none; }
  .hero-proof { gap: 13px; white-space: nowrap; }
  .hero-proof i { width: 16px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card, .service-card:nth-child(3) { min-height: 335px; border-left: 1px solid var(--line); }
  .service-card svg { margin: 38px 0 30px; }
  .project-card { min-height: 340px; padding: 32px 24px; }
  .project-meta { flex-direction: column; gap: 2px; }
  .project-material { left: 24px; right: auto; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .metric { padding: 32px 18px; border-bottom: 1px solid rgba(255,255,255,.27); }
  .metric:nth-child(odd) { border-left: 1px solid rgba(255,255,255,.27); }
  .metric strong { font-size: 2.4rem; }
  .about-visual { min-height: 430px; padding: 20px; }
  .about-values { grid-template-columns: 1fr; }
  .about-values div { padding-bottom: 15px; border-bottom: 1px solid var(--line); }
  .contact { padding-bottom: 0; }
  .contact-panel { width: 100%; padding: 55px 24px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-email { font-size: .8rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 42px; }
  .footer-meta { grid-column: auto; }
}
