:root {
  color-scheme: light;
  --paper: #fcfbfa;
  --panel: #f2efed;
  --ink: #424347;
  --muted: #5b4f48;
  --line: #d9d1cc;
  --accent: #a82f27;
  --gold: #805323;
  --card: #fff;
  --card-hover: #f8efeb;
}

.utility, .hero, .signal-band, .studio-section, .launch, .closing, .footer {
  color-scheme: dark;
  --paper: #100d0c;
  --panel: #191513;
  --ink: #f6f2ed;
  --muted: #b9ada6;
  --line: #3a302c;
  --accent: #ff564b;
  --gold: #f0ad61;
  color: var(--ink);
}

.header { background: var(--card); }
.utility {
  color: var(--muted);
  background: var(--paper);
}
.nav nav > a:not(.button), .eyebrow, .contact-card h2 {
  font-family: inherit;
  font-weight: 600;
}
.nav nav > a:not(.button) {
  font-size: .9rem;
  letter-spacing: .045em;
}
.eyebrow, .contact-card h2 {
  font-size: .875rem;
  letter-spacing: .075em;
}
.nav nav > a:not(.button):hover,
.nav nav > a[aria-current],
.nav nav > a.nav-section {
  color: var(--accent);
}

.hero, .signal-band, .launch { background-color: var(--paper); }
.home-proof, .proof { background: var(--panel); }

.photo-intro {
  --muted: #e4d9d2;
  --accent: #ff8278;
  position: relative;
  isolation: isolate;
  color: #fff8f4;
  background: #191311;
  border-color: #342a27;
}
.photo-intro::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, #191311 0%, #191311 34%, #191311e8 48%, #19131155 75%, #19131122),
    linear-gradient(0deg, #1913118c, transparent 66%);
}
.page-intro-image {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: -2;
  width: max(61%, 670px);
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}
.photo-intro .shell > h1 { max-width: 820px; text-shadow: 0 2px 16px #19131190; }
.photo-intro p:not(.eyebrow) { max-width: 49ch; }
.photo-intro .button--outline { --ink: #fff8f4; --panel: #312522; }

@media (max-width: 740px) {
  .photo-intro::after {
    background: linear-gradient(90deg, #191311f0, #191311bd), linear-gradient(0deg, #1913118c, transparent 66%);
  }
  .page-intro-image { width: 100%; object-position: 64% center; }
}

.service-card, .solution-card, .capability, .work-item,
.principles article, .leadership-grid article, .logo-grid > li, .inquiry {
  background: var(--card);
}
.service-grid {
  gap: clamp(1rem, 1.8vw, 1.5rem);
  border: 0;
}
.service-grid .service-card {
  border: 1px solid var(--line);
  border-radius: .55rem;
  box-shadow: 0 2px 4px #25160f0a, 0 12px 24px -12px #25160f3d;
  transition: box-shadow .2s ease, transform .2s ease;
}
.service-card > a { border-radius: inherit; }
.service-card:hover, .service-card:focus-within {
  box-shadow: 0 3px 6px #25160f0d, 0 17px 28px -12px #25160f52;
}
.service-card > a:hover { background: var(--card); }
.solution-card > a:hover {
  background: var(--card-hover);
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .service-card:hover { transform: translateY(-3px); }
}
.card-link { color: var(--accent); }
.logo-grid span {
  background: var(--panel);
  border-top: 1px solid var(--line);
}
.small-icon, .leadership-grid .initials, .leadership-grid img {
  background: #f4e7df;
}
.button--secondary {
  background: var(--card);
  border-color: #887971;
}
.button--secondary:hover {
  background: var(--card-hover);
  border-color: var(--accent);
}

.inquiry {
  --field-background: #fdfbf9;
  --field-border: #93857c;
  box-shadow: 0 12px 28px -17px #25160f40;
}
.inquiry-footer {
  background: #f7f4f1;
}
.inquiry .form-status[data-error="true"], .contact-card h2 {
  color: var(--accent);
}
.contact-card :is(a[href^="mailto:"], a[href^="tel:"]) {
  font-size: 1.0625rem;
  font-weight: 600;
}
.contact-card a[href^="tel:"] { font-variant-numeric: tabular-nums; }
.contact-card address { line-height: 1.55; }
.contact-card .text-link { color: var(--accent); font-size: .9375rem; }
