:root {
  --ink: #111111;
  --ink-2: #1d1d1d;
  --ink-3: #2b2b2b;
  --silver: #bdbdbd;
  --line: #dedede;
  --mist: #f2f2f2;
  --paper: #ffffff;
  --text: #252525;
  --muted: #666666;
  --accent: #a8a8a8;
  --max: 1180px;
  --shadow: 0 24px 60px rgba(0, 0, 0, .12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 999;
  padding: .75rem 1rem;
  color: var(--ink);
  background: #fff;
  border-radius: 2px;
}

.skip-link:focus { top: 1rem; }

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

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  border-bottom: 1px solid rgba(255,255,255,.16);
}

.site-header.inner {
  position: relative;
  background: var(--ink);
}

.nav-shell {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  color: #f1f1f1;
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .055em;
}

.site-nav a { position: relative; padding: .5rem 0; }
.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: .2rem;
  height: 1px;
  background: var(--silver);
  transition: right .25s ease;
}
.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after { right: 0; }

.nav-cta {
  border: 1px solid rgba(255,255,255,.52);
  padding: .65rem 1rem !important;
  transition: background .2s ease, color .2s ease;
}
.nav-cta:hover { background: #fff; color: var(--ink); }

.menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.35);
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 20px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.hero {
  min-height: 760px;
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #0c0c0c 0%, #171717 68%, #262626 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0, transparent calc(25% - 1px), rgba(255,255,255,.055) 25%, transparent calc(25% + 1px), transparent calc(50% - 1px), rgba(255,255,255,.055) 50%, transparent calc(50% + 1px), transparent calc(75% - 1px), rgba(255,255,255,.055) 75%, transparent calc(75% + 1px)),
    linear-gradient(180deg, transparent 0, transparent 46%, rgba(255,255,255,.045) calc(46% + 1px), transparent calc(46% + 2px));
}

.hero::after {
  content: "";
  position: absolute;
  right: 8%;
  bottom: 0;
  width: 1px;
  height: 31%;
  background: rgba(255,255,255,.48);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(780px, 76%);
  padding: 12rem 0 7rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin: 0 0 1.35rem;
  color: #b5b5b5;
  font-size: .76rem;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 38px; height: 1px; background: currentColor; }

h1, h2, h3 { margin-top: 0; color: var(--ink); line-height: 1.1; }
h1 { margin-bottom: 1.4rem; font-size: clamp(3.2rem, 7vw, 6.8rem); font-weight: 500; letter-spacing: -.055em; }
.hero h1 { color: #fff; }
.hero h1 span { color: var(--silver); }
.hero-copy { max-width: 610px; margin: 0 0 2.4rem; color: #dddddd; font-size: clamp(1.05rem, 1.7vw, 1.28rem); line-height: 1.65; }

.button-row { display: flex; flex-wrap: wrap; gap: .85rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .9rem;
  min-height: 52px;
  padding: .75rem 1.35rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-size: .83rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button::after { content: "\2192"; font-size: 1.1rem; line-height: 1; }
.button:hover { transform: translateY(-2px); background: var(--ink-2); }
.button.light { border-color: #fff; background: #fff; color: var(--ink); }
.button.light:hover { background: var(--silver); border-color: var(--silver); }
.button.ghost { border-color: rgba(255,255,255,.55); background: transparent; color: #fff; }
.button.ghost:hover { background: rgba(255,255,255,.1); }

.hero-foot {
  position: absolute;
  z-index: 3;
  right: max(1.5rem, calc((100vw - var(--max)) / 2));
  bottom: 2.2rem;
  color: rgba(255,255,255,.72);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.trust-strip { border-bottom: 1px solid var(--line); background: #fff; }
.trust-grid { display: grid; grid-template-columns: 1.25fr repeat(3, 1fr); min-height: 126px; }
.trust-intro, .trust-item { display: flex; align-items: center; padding: 1.5rem 2rem; border-right: 1px solid var(--line); }
.trust-intro { padding-left: 0; color: var(--muted); font-size: .84rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.trust-item { gap: .8rem; color: var(--ink); font-weight: 600; }
.trust-item .number { color: #858585; font-size: .73rem; letter-spacing: .12em; }

section { position: relative; }
.section { padding: 7rem 0; }
.section.mist { background: var(--mist); }
.section.dark { overflow: hidden; background: var(--ink); color: #e2e2e2; }
.section.dark h2, .section.dark h3 { color: #fff; }

.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.section-title { font-size: clamp(2.35rem, 4.6vw, 4.5rem); font-weight: 500; letter-spacing: -.045em; }
.section-lead { margin-top: .25rem; color: var(--muted); font-size: 1.18rem; }
.section.dark .section-lead { color: #c3c3c3; }

.statement { max-width: 920px; }
.statement p { margin: 0; color: var(--ink); font-size: clamp(1.65rem, 3.25vw, 3.15rem); line-height: 1.35; letter-spacing: -.035em; }
.statement p span { color: #858585; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 4rem; border-top: 1px solid #cecece; border-left: 1px solid #cecece; }
.service-card { min-height: 280px; padding: 2rem; border-right: 1px solid #cecece; border-bottom: 1px solid #cecece; background: rgba(255,255,255,.4); transition: background .25s ease, transform .25s ease; }
.service-card:hover { z-index: 1; background: #fff; transform: translateY(-4px); box-shadow: var(--shadow); }
.service-index { display: block; margin-bottom: 4.2rem; color: #7f7f7f; font-size: .72rem; font-weight: 700; letter-spacing: .18em; }
.service-card h3 { margin-bottom: .7rem; font-size: 1.3rem; font-weight: 600; }
.service-card p { margin: 0; color: var(--muted); font-size: .94rem; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 4rem; }
.process-step { position: relative; padding: 2rem 2rem 0 0; border-top: 1px solid rgba(255,255,255,.25); }
.process-step::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--silver); }
.process-step:not(:last-child)::after { content: ""; position: absolute; top: -1px; right: 0; width: 35%; height: 1px; background: #fff; opacity: .75; }
.process-step span { display: block; margin-bottom: 2.4rem; color: #a2a2a2; font-size: .74rem; letter-spacing: .16em; }
.process-step h3 { margin-bottom: .65rem; font-size: 1.2rem; }
.process-step p { margin: 0; color: #bcbcbc; font-size: .92rem; }

.industry-list { border-top: 1px solid var(--line); }
.industry-row { display: grid; grid-template-columns: 90px 1fr 1.2fr; gap: 2rem; align-items: center; min-height: 115px; border-bottom: 1px solid var(--line); }
.industry-row .num { color: #8a8a8a; font-size: .72rem; font-weight: 700; letter-spacing: .16em; }
.industry-row h3 { margin: 0; font-size: clamp(1.25rem, 2vw, 1.7rem); font-weight: 550; }
.industry-row p { margin: 0; color: var(--muted); }

.cta-panel { display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 3rem; padding: clamp(3rem, 6vw, 5.5rem); background: var(--ink-2); color: #fff; }
.cta-panel h2 { margin-bottom: .8rem; color: #fff; font-size: clamp(2.2rem, 4vw, 4rem); font-weight: 500; letter-spacing: -.04em; }
.cta-panel p { max-width: 620px; margin: 0; color: #c5c5c5; }
.cta-panel .button { justify-self: end; }

.page-hero { padding: 7rem 0 5.5rem; background: var(--ink); color: #fff; }
.page-hero .eyebrow { margin-top: 1rem; }
.page-hero h1 { max-width: 900px; margin-bottom: 1rem; color: #fff; font-size: clamp(3rem, 6vw, 6rem); }
.page-hero p { max-width: 680px; margin: 0; color: #c7c7c7; font-size: 1.15rem; }

.fact-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 4rem; border-top: 1px solid var(--line); }
.fact { padding: 2rem 2rem 0 0; }
.fact strong { display: block; margin-bottom: .6rem; color: var(--ink); font-size: 1.2rem; }
.fact p { margin: 0; color: var(--muted); }

.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 4rem; background: var(--line); border: 1px solid var(--line); }
.principle { min-height: 245px; padding: 2.2rem; background: #fff; }
.principle span { display: block; margin-bottom: 3.6rem; color: #828282; font-size: .72rem; letter-spacing: .16em; }
.principle h3 { font-size: 1.35rem; }
.principle p { margin-bottom: 0; color: var(--muted); }

.service-detail { display: grid; grid-template-columns: 80px .85fr 1.15fr; gap: 2rem; padding: 3.4rem 0; border-top: 1px solid var(--line); }
.service-detail:last-child { border-bottom: 1px solid var(--line); }
.service-detail .num { color: #848484; font-size: .72rem; font-weight: 700; letter-spacing: .18em; }
.service-detail h2 { margin: 0; font-size: clamp(1.6rem, 2.5vw, 2.3rem); font-weight: 550; }
.service-detail p { margin: 0; color: var(--muted); }

.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.contact-info { position: sticky; top: 2rem; }
.contact-info h2 { font-size: clamp(2.3rem, 4vw, 4rem); font-weight: 500; letter-spacing: -.04em; }
.contact-info p { color: var(--muted); }
.contact-form { padding: clamp(2rem, 5vw, 4rem); background: var(--mist); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--ink); font-size: .79rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-bottom: 1px solid #b2b2b2;
  border-radius: 0;
  padding: .8rem .1rem;
  color: var(--text);
  background: transparent;
  outline: none;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: 2rem; }
.form-status { min-height: 1.4em; margin: .75rem 0 0; font-size: .9rem; }

.legal h2 { margin-top: 2.5rem; font-size: 1.5rem; }
.legal p, .legal li { color: var(--muted); }
.legal a { text-decoration: underline; }

.site-footer { padding: 4.5rem 0 2rem; background: #090909; color: #b8b8b8; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(2, .6fr); gap: 3rem; padding-bottom: 4rem; }
.footer-brand img { width: 238px; }
.footer-brand p { max-width: 410px; margin: 1.5rem 0 0; font-size: .94rem; }
.footer-group strong { display: block; margin-bottom: 1.1rem; color: #fff; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; }
.footer-group a { display: block; width: fit-content; margin: .55rem 0; font-size: .9rem; }
.footer-group a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 2rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.13); font-size: .78rem; }
.footer-bottom div { display: flex; gap: 1.5rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

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

@media (max-width: 900px) {
  .container { width: min(calc(100% - 2rem), var(--max)); }
  .brand { width: 218px; }
  .menu-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 86px;
    left: 0;
    right: 0;
    padding: 1.25rem 1rem 1.5rem;
    flex-direction: column;
    align-items: stretch;
    gap: .25rem;
    background: var(--ink);
    border-top: 1px solid rgba(255,255,255,.1);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .9rem .5rem; }
  .nav-cta { margin-top: .4rem; text-align: center; }
  .menu-toggle[aria-expanded="true"] span { opacity: 0; }
  .menu-toggle[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }
  .hero { min-height: 700px; background-position: 62% center; }
  .hero::before { background: linear-gradient(90deg, transparent calc(50% - 1px), rgba(255,255,255,.055) 50%, transparent calc(50% + 1px)); }
  .hero-content { width: 88%; padding-bottom: 5.5rem; }
  .hero-foot { display: none; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-intro { grid-column: 1 / -1; padding: 1.4rem 0; border-right: 0; }
  .trust-item { padding: 1.25rem 0; border-top: 1px solid var(--line); border-right: 0; }
  .trust-item:nth-child(3), .trust-item:nth-child(4) { padding-left: 1.25rem; border-left: 1px solid var(--line); }
  .split, .contact-layout, .cta-panel { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem 0; }
  .industry-row { grid-template-columns: 55px 1fr; gap: 1.2rem; padding: 1.5rem 0; }
  .industry-row p { grid-column: 2; }
  .cta-panel .button { justify-self: start; }
  .service-detail { grid-template-columns: 55px 1fr; }
  .service-detail p { grid-column: 2; }
  .contact-info { position: static; }
}

@media (max-width: 620px) {
  .nav-shell { height: 76px; }
  .site-nav { top: 76px; }
  .brand { width: 194px; }
  .section { padding: 5rem 0; }
  .hero { min-height: 680px; }
  .hero-content { width: 100%; padding-top: 9rem; }
  h1 { font-size: clamp(3rem, 16vw, 4.6rem); }
  .trust-grid { display: block; padding-bottom: 1rem; }
  .trust-item, .trust-item:nth-child(3), .trust-item:nth-child(4) { padding: 1rem 0; border: 0; border-top: 1px solid var(--line); }
  .services-grid, .process-grid, .principles, .fact-grid, .form-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 240px; }
  .process-step:not(:last-child)::after { display: none; }
  .industry-row { grid-template-columns: 38px 1fr; }
  .service-detail { grid-template-columns: 38px 1fr; gap: 1rem; }
  .cta-panel { padding: 2rem; }
  .page-hero { padding: 5rem 0 4rem; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .footer-bottom div { flex-wrap: wrap; }
}
