:root {
  --ink: #101619;
  --muted: #697176;
  --paper: #f3f1ec;
  --red:  #C63422;
  --line: rgba(16, 22, 25, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}
.wp-content { min-height: 70vh; padding-top: 150px; }
.wp-content article { margin: 0 auto; max-width: 920px; }
.wp-content article > h1 { color: var(--ink); font-size: clamp(42px, 6vw, 76px); line-height: 1; }
.wp-content article p { color: var(--muted); font-size: 17px; line-height: 1.75; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.section { padding: 110px max(6vw, 28px); }

.site-header {
  align-items: center;
  background: rgba(243, 241, 236, .94);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  height: 84px;
  padding: 0 max(4vw, 24px);
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 10;
}
.brand { align-items: center; display: flex; gap: 12px; width: fit-content; }
.brand img { height: 48px; width: 48px; object-fit: contain; }
.brand span { display: flex; flex-direction: column; text-transform: uppercase; }
.brand strong { font-size: 21px; letter-spacing: .09em; line-height: 1; }
.brand small { color: #5d6468; font-size: 9px; letter-spacing: .16em; margin-top: 5px; }
nav { display: flex; gap: 34px; }
nav a { font-size: 13px; font-weight: 700; }
nav a:hover { color: var(--red); }
.header-cta {
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  justify-self: end;
  letter-spacing: .04em;
  padding: 14px 21px;
}

.hero {
  background: var(--ink);
  color: #fff;
  min-height: 600px;
  overflow: hidden;
  padding: 190px max(6vw, 28px) 80px;
  position: relative;
}
.hero-image { height: 100%; inset: 0; object-fit: contain; position: center center; width: 100%; }
.hero-shade { background: linear-gradient(90deg, rgba(6,12,15,.94) 0%, rgba(6,12,15,.65) 46%, rgba(6,12,15,.1) 78%), linear-gradient(0deg, rgba(6,12,15,.72), transparent 45%); inset: 0; position: absolute; }
.hero-content { max-width: 890px; position: relative; z-index: 1; }
.eyebrow, .section-label { font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow { align-items: center; color: #fff; display: flex; gap: 12px; }
.eyebrow::before { background: var(--red); content: ""; height: 2px; width: 38px; }
h1 { font-size: clamp(60px, 7.3vw, 112px); letter-spacing: -.06em; line-height: .88; margin: 34px 0; }
h1 em { color: #d9dde0; font-family: Georgia, serif; font-weight: 400; }
.hero-copy { color: #d6d9da; font-size: 19px; line-height: 1.65; max-width: 590px; }
.hero-actions { align-items: center; display: flex; gap: 34px; margin-top: 42px; }
.button { align-items: center; display: inline-flex; font-size: 13px; font-weight: 800; gap: 38px; padding: 18px 22px; }
.button span { font-size: 18px; }
.button-primary { background: var(--red); color: #fff; }
.button-primary:hover { background: #ff432e; }
.text-link { border-bottom: 1px solid rgba(255,255,255,.45); font-size: 13px; font-weight: 700; padding: 12px 0; }
.text-link span { margin-left: 12px; }
.hero-proof { bottom: 0; display: flex; gap: 0; position: absolute; right: max(4vw, 24px); z-index: 1; }
.hero-proof div { align-items: baseline; backdrop-filter: blur(12px); background: rgba(10,16,19,.74); border-left: 1px solid rgba(255,255,255,.18); display: flex; flex-direction: column; min-width: 180px; padding: 24px 28px; }
.hero-proof strong { font-size: 31px; }
.hero-proof span { color: #aeb4b6; font-size: 10px; margin-top: 5px; text-transform: uppercase; letter-spacing: .1em; }

.intro { display: grid; gap: 9vw; grid-template-columns: 1.2fr 1fr; }
.section-label { color: var(--red); margin: 0 0 32px; }
h2 { font-size: clamp(42px, 5vw, 76px); letter-spacing: -.055em; line-height: 1; margin: 0; max-width: 850px; }
.intro-copy { padding-top: 46px; }
.intro-copy p { color: var(--muted); font-size: 16px; line-height: 1.75; }
.intro-copy .lead { color: var(--ink); font-size: 22px; line-height: 1.55; margin-top: 0; }
.arrow-link { border-bottom: 1px solid var(--ink); display: flex; font-size: 13px; font-weight: 800; justify-content: space-between; margin-top: 36px; padding-bottom: 14px; width: 290px; }

.dark-section { background: var(--ink); color: #fff; }
.section-heading { align-items: end; display: grid; gap: 8vw; grid-template-columns: 1.2fr .8fr; margin-bottom: 75px; }
.section-heading > p { color: #9da4a7; line-height: 1.7; max-width: 480px; }
.section-label.light { color: #ff5a47; }
.service-list { border-top: 1px solid rgba(255,255,255,.18); }
.service-list article { align-items: center; border-bottom: 1px solid rgba(255,255,255,.18); display: grid; gap: 30px; grid-template-columns: 70px 1fr 1fr 30px; padding: 30px 0; transition: padding .2s, background .2s; }
.service-list article:hover { background: rgba(255,255,255,.035); padding-left: 14px; padding-right: 14px; }
.service-number { color: #71797d; font-family: Georgia, serif; font-style: italic; }
.service-list h3 { font-size: clamp(27px, 3vw, 42px); letter-spacing: -.035em; margin: 0; }
.service-list p { color: #9da4a7; font-size: 14px; line-height: 1.6; max-width: 430px; }
.service-arrow { color: var(--red); font-size: 22px; }

.capabilities { display: grid; gap: 8vw; grid-template-columns: 1fr 1fr; }
.capability-visual { min-height: 690px; position: relative; }
.capability-visual > img { height: 100%; object-fit: contain; width: 100%; }
.visual-tag { background: var(--red); bottom: 0; color: #fff; display: flex; flex-direction: column; left: 0; max-width: 250px; padding: 24px; position: absolute; }
.visual-tag span { font-size: 10px; letter-spacing: .15em; margin-bottom: 8px; text-transform: uppercase; }
.visual-tag strong { font-size: 17px; }
.capability-content { align-self: center; }
.capability-content > p:not(.section-label):not(.software-note) { color: var(--muted); line-height: 1.7; margin: 32px 0 42px; max-width: 570px; }
.capability-grid { border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, 1fr); }
.capability-grid div { border-bottom: 1px solid var(--line); display: flex; flex-direction: column; padding: 22px 0; }
.capability-grid div:nth-child(odd) { border-right: 1px solid var(--line); }
.capability-grid div:nth-child(even) { padding-left: 28px; }
.capability-grid strong { font-size: 36px; }
.capability-grid span { color: var(--muted); font-size: 12px; margin-top: 5px; text-transform: uppercase; }
.software-note { color: var(--muted); font-size: 12px; margin-top: 22px; }

.work { background: #e7e4dd; }
.work-heading > p { color: var(--muted); }
.work-grid { display: grid; gap: 16px; grid-template-columns: 1.25fr .75fr; }
.work-grid figure { background: #1b2225; height: 420px; margin: 0; overflow: hidden; position: relative; }
.work-grid .work-large { grid-row: span 2; height: 856px; }
.work-grid .work-wide { grid-column: 1 / -1; height: 430px; }
.work-grid img { height: 100%; object-fit: cover; transition: transform .6s; width: 100%; }
.work-grid figure:hover img { transform: scale(1.035); }
.work-grid figcaption { background: linear-gradient(transparent, rgba(6,12,15,.82)); bottom: 0; color: #fff; display: flex; flex-direction: column; left: 0; padding: 70px 28px 26px; position: absolute; right: 0; }
.work-grid figcaption span { color: #d2d6d7; font-size: 10px; letter-spacing: .14em; margin-bottom: 7px; text-transform: uppercase; }
.work-grid figcaption strong { font-size: 24px; }

.clients { background: #fff; }
.client-row { border-left: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); }
.client-row span { align-items: center; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); color: #535c60; display: flex; font-size: 15px; font-weight: 700; min-height: 92px; padding: 24px; }

.contact { background: var(--red); color: #fff; display: grid; gap: 9vw; grid-template-columns: 1.2fr .8fr; }
.contact-main > p:not(.section-label) { color: #ffd2cc; font-size: 17px; line-height: 1.7; max-width: 590px; }
.button-white { background: #fff; color: var(--ink); margin-top: 28px; }
.contact-details { border-top: 1px solid rgba(255,255,255,.35); }
.contact-details > div, .contact-details address { border-bottom: 1px solid rgba(255,255,255,.35); display: grid; font-style: normal; gap: 10px; grid-template-columns: 1fr 1.4fr; padding: 20px 0; }
.contact-details span { color: #ffd2cc; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.contact-details a { font-size: 17px; font-weight: 800; }
.contact-details small { grid-column: 2; }
.contact-details address { font-size: 14px; line-height: 1.65; }

footer { align-items: center; background: #090e10; color: #879094; display: grid; font-size: 11px; grid-template-columns: 1fr 1fr 1fr; padding: 40px max(6vw, 28px); }
.footer-brand { color: #fff; }
.footer-brand img { height: 38px; width: 38px; }
.footer-brand strong { font-size: 16px; }
footer p:nth-child(2) { text-align: center; }
footer p:last-child { text-align: right; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero { min-height: 760px; padding-top: 170px; }
  .hero-proof { left: 0; right: 0; }
  .hero-proof div { min-width: 0; padding: 18px; width: 33.333%; }
  .intro, .capabilities, .contact, .section-heading { gap: 50px; grid-template-columns: 1fr; }
  .intro-copy { padding-top: 0; }
  .capability-visual { min-height: 520px; }
  .section-heading { align-items: start; }
}

@media (max-width: 620px) {
  .section { padding: 78px 22px; }
  .site-header { height: 74px; padding: 0 18px; }
  .brand img { height: 40px; width: 40px; }
  .brand strong { font-size: 17px; }
  .header-cta { font-size: 10px; padding: 12px 14px; }
  .hero { min-height: 780px; padding: 145px 22px 125px; }
  h1 { font-size: 54px; }
  .hero-copy { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 16px; }
  .hero-proof strong { font-size: 23px; }
  .hero-proof span { font-size: 8px; }
  .service-list article { align-items: start; grid-template-columns: 42px 1fr 20px; }
  .service-list p { grid-column: 2 / -1; margin: 0; }
  .capability-visual { min-height: 420px; }
  .work-grid { grid-template-columns: 1fr; }
  .work-grid .work-large, .work-grid .work-wide, .work-grid figure { grid-column: auto; grid-row: auto; height: 430px; }
  .client-row { grid-template-columns: 1fr 1fr; }
  footer { gap: 24px; grid-template-columns: 1fr; text-align: left; }
  footer p:nth-child(2), footer p:last-child { margin: 0; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
