:root {
  --background: #090a0c;
  --surface: #101114;
  --text: #f0f0ee;
  --secondary: #a2a4ab;
  --muted: #858892;
  --line: #292b30;
  --silver: #dedfdf;
  --gutter: clamp(1.5rem, 5.3vw, 6.5rem);
  color-scheme: dark;
  font-family: Manrope, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  background: var(--background);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; min-width: 0; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button, input, textarea { font: inherit; }
a:focus-visible { outline: 2px solid var(--silver); outline-offset: 7px; border-radius: 2px; }
::selection { color: var(--background); background: var(--silver); }
.page-shell { overflow: clip; }
.wrap { width: min(calc(100% - var(--gutter) * 2), 1380px); margin-inline: auto; }
.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: 10; top: 1rem; left: 1rem; padding: 1rem 1.5rem; background: var(--text); color: var(--background); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 2; min-height: 112px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 1.25rem; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: 1rem; padding-block: .25rem; }
.wordmark-bbb { font-size: 2.85rem; font-weight: 800; line-height: 1; letter-spacing: -.085em; }
.brand-dot { color: #999da7; }
.wordmark-name { font-size: .75rem; font-weight: 700; letter-spacing: .2em; padding-top: .4rem; }
.site-header nav { display: flex; align-items: center; gap: clamp(1.75rem, 4vw, 4rem); font-size: .875rem; font-weight: 500; }
.nav-services { color: #b8bbc1; padding-block: 1rem; transition: color .2s; }
.nav-services:hover { color: var(--text); }
.nav-contact { display: flex; gap: 1.8rem; align-items: center; padding-block: 1rem; }
.nav-contact span { display: inline-block; font-size: 1.45rem; transition: transform .2s; }
.nav-contact:hover span { transform: translate(3px, -3px); }

.hero { min-height: 680px; position: relative; display: flex; align-items: center; padding-block: 5.4rem 6.4rem; isolation: isolate; }
.hero-art { position: absolute; z-index: -1; width: 100%; right: -16%; top: -2%; height: 108%; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent 4%, #000 35%, #000 92%, transparent), linear-gradient(0deg, transparent, #000 20%, #000 87%, transparent); mask-image: linear-gradient(90deg, transparent 4%, #000 35%, #000 92%, transparent), linear-gradient(0deg, transparent, #000 20%, #000 87%, transparent); -webkit-mask-composite: source-in; mask-composite: intersect; }
.hero-art picture { display: block; width: 100%; height: 100%; }
.hero-art img { display: block; width: 100%; height: 100%; object-fit: contain; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, var(--background) 2%, rgba(9, 10, 12, .94) 20%, rgba(9, 10, 12, .52) 43%, transparent 64%); pointer-events: none; }
.hero-content { width: min(100%, 740px); }
.eyebrow { margin: 0; font-size: .75rem; letter-spacing: .135em; font-weight: 600; text-transform: uppercase; color: #bec0c5; }
.hero-eyebrow { display: flex; align-items: center; gap: .7rem; margin-bottom: 2.1rem; }
h1 { margin: 0; font-size: clamp(4rem, 6.25vw, 6.5rem); letter-spacing: -.055em; line-height: 1.07; font-weight: 500; }
h1 span { color: #9a9da5; }
.hero-description { max-width: 450px; margin: 1.9rem 0 2.35rem; color: #adb0b8; font-size: 1.0625rem; line-height: 1.85; letter-spacing: -.013em; }
.button-primary { display: inline-flex; align-items: center; justify-content: space-between; gap: 3rem; min-height: 58px; padding: 1rem 1.25rem 1rem 1.6rem; border: 1px solid #f3f3f2; background: linear-gradient(110deg, #f3f3f1, #d3d5d8); box-shadow: inset 0 1px 0 #fff; color: #16171b; font-size: .875rem; font-weight: 700; transition: background .2s, box-shadow .2s, transform .2s; }
.button-arrow { font-size: 1.6rem; line-height: 1; font-weight: 400; transition: transform .2s; }
.button-primary:hover { transform: translateY(-2px); background: #fff; box-shadow: 0 6px 28px #e4e5e515; }
.button-primary:hover .button-arrow { transform: translate(2px, -2px); }
.hero-signature { display: flex; align-items: center; gap: .7rem; margin-top: 1.55rem; color: #8f929c; font-size: .75rem; line-height: 1.6; }
.signature-line { height: 1px; width: 20px; flex-shrink: 0; background: #646872; }
.scroll-cue { position: absolute; right: .15rem; bottom: 2rem; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #393c43; border-radius: 50%; color: #adb0b8; font-size: 1.2rem; transition: border-color .2s, transform .2s; }
.scroll-cue:hover { border-color: var(--text); transform: translateY(3px); }

.capabilities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); padding-block: 1.7rem; scroll-margin-top: 2rem; }
.capability { display: flex; align-items: center; gap: 1.2rem; min-height: 28px; padding-inline: 2.1rem; font-size: 1rem; font-weight: 500; }
.capability:first-of-type { padding-left: 0; }
.capability:last-of-type { padding-right: 0; }
.capability + .capability { border-left: 1px solid var(--line); }
.capability-number { font-size: .75rem; color: #9598a1; font-weight: 500; letter-spacing: .04em; white-space: nowrap; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 7%; padding-block: 7.5rem 8rem; scroll-margin-top: 1.5rem; }
.contact-intro .eyebrow { margin: .3rem 0 1.8rem; }
.contact h2 { font-size: clamp(2.4rem, 3.6vw, 3.4rem); letter-spacing: -.054em; line-height: 1.2; font-weight: 500; margin: 0; }
.contact h2 span { color: #9a9da5; }
.contact-intro > p:not(.eyebrow) { color: var(--secondary); font-size: 1rem; line-height: 1.9; margin: 1.7rem 0 1.9rem; }
.contact-signature { display: flex; align-items: center; gap: .9rem; color: #dddee1; font-size: .875rem; font-weight: 500; line-height: 1.65; }
.signature-rule { width: 28px; height: 1px; flex-shrink: 0; background: #646872; }
.signature-caption { color: var(--muted); font-size: .75rem; font-weight: 400; }
.contact-links { min-width: 0; align-self: start; }
.contact-link { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; border-bottom: 1px solid #35373e; padding: 1.4rem 0 1.55rem; transition: border-color .2s; }
.contact-link:first-child { padding-top: 0; padding-bottom: 1.8rem; }
.contact-link-copy { min-width: 0; display: flex; flex-direction: column; gap: .6rem; }
.contact-label { color: #a2a5ae; font-size: .875rem; font-weight: 500; line-height: 1.65; }
.contact-value { font-size: clamp(1rem, 1.55vw, 1.4rem); font-weight: 500; line-height: 1.55; letter-spacing: -.025em; overflow-wrap: anywhere; }
.contact-phone .contact-value { font-size: clamp(2rem, 3.4vw, 3.15rem); line-height: 1.3; letter-spacing: -.04em; }
.contact-phone .contact-link-copy { gap: .8rem; }
.contact-arrow { display: inline-block; flex-shrink: 0; color: #acaeb6; font-size: 1.8rem; line-height: 1; margin-top: 1.3rem; transition: transform .2s, color .2s; }
.contact-phone .contact-arrow { font-size: 2.4rem; }
.contact-link:hover { border-color: #a4a7b0; }
.contact-link:hover .contact-arrow { transform: translate(4px, -4px); color: #f2f2f1; }

.site-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem 2rem; border-top: 1px solid var(--line); min-height: 104px; padding-block: 1.5rem; }
.footer-brand { display: inline-flex; align-items: center; font-size: 1.7rem; font-weight: 800; letter-spacing: -.09em; }
.footer-brand > span:first-child { color: #999da7; }
.footer-scaling { font-size: .75rem; letter-spacing: .16em; margin: .35rem 0 0 .7rem; }
.footer-copyright, .back-to-top { color: #9598a0; font-size: .75rem; }
.back-to-top { display: flex; align-items: center; gap: 1.3rem; min-height: 44px; }
.back-to-top:hover { color: var(--text); }
.back-to-top span { font-size: 1.15rem; }

@media (prefers-reduced-motion: no-preference) {
  .hero-content { animation: enter .8s ease-out both; }
  .hero-art { animation: appear 1.3s ease-out both; }
  @keyframes enter { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes appear { from { opacity: 0; } to { opacity: 1; } }
}

@media (min-width: 1800px) {
  .hero { min-height: 740px; }
}

@media (max-width: 1050px) {
  .site-header { min-height: 96px; }
  .hero { min-height: 610px; padding-block: 5rem; }
  .hero-art { right: -24%; width: 112%; }
  .hero::after { background: linear-gradient(90deg, var(--background) 5%, rgba(9, 10, 12, .8) 30%, transparent 77%); }
  .hero-description { max-width: 390px; }
  .hero-signature { max-width: 330px; }
  .capability { padding-inline: 1.1rem; gap: .75rem; font-size: .875rem; }
  .contact { gap: 5%; padding-block: 6rem; }
  .contact h2 { font-size: 2.5rem; }
  .desktop-break { display: none; }
}

@media (max-width: 760px) {
  .contact { grid-template-columns: 1fr; gap: 2.8rem; padding-block: 4rem 4.5rem; }
  .contact-intro { max-width: 480px; }
  .contact-intro .eyebrow { margin-bottom: 1.35rem; }
  .contact h2 { font-size: clamp(2.35rem, 6.3vw, 3rem); }
  .contact-intro > p:not(.eyebrow) { margin-block: 1.3rem; }
  .contact-signature { margin-top: 1.5rem; }
  .contact-link { padding-block: 1.35rem; }
  .contact-link:first-child { padding-top: 1.4rem; border-top: 1px solid var(--line); }
  .contact-phone .contact-value { font-size: 2.8rem; }
  .contact-value { font-size: 1.3rem; }
}

@media (max-width: 680px) {
  :root { --gutter: 1.5rem; }
  html { scroll-padding-top: 1rem; }
  .site-header { min-height: 86px; gap: 1rem; }
  .wordmark { gap: .65rem; }
  .wordmark-bbb { font-size: 2.25rem; }
  .wordmark-name { font-size: .75rem; letter-spacing: .12em; }
  .site-header nav { font-size: .875rem; }
  .nav-services { display: none; }
  .nav-contact { gap: .7rem; }
  .nav-contact span { font-size: 1.25rem; }
  .hero { display: block; padding-block: 3.35rem 1rem; min-height: 0; }
  .hero-content { position: relative; }
  .hero-eyebrow { font-size: .75rem; letter-spacing: .09em; margin-bottom: 1.6rem; gap: .6rem; }
  h1 { font-size: clamp(2.85rem, 9.8vw, 4.3rem); letter-spacing: -.055em; }
  .hero-description { font-size: 1rem; line-height: 1.85; margin: 1.5rem 0 1.8rem; max-width: 385px; }
  .button-primary { min-height: 56px; padding-inline: 1.3rem; gap: 3.2rem; font-size: .875rem; }
  .hero-signature { font-size: .75rem; margin-top: 1.25rem; max-width: 100%; }
  .hero-art { top: auto; right: auto; bottom: .5rem; left: -29%; width: 137%; height: 320px; -webkit-mask-image: linear-gradient(0deg, transparent, #000 15%, #000 82%, transparent); mask-image: linear-gradient(0deg, transparent, #000 15%, #000 82%, transparent); }
  .hero-art img { object-fit: cover; object-position: 75% 55%; }
  .hero::after { display: none; }
  .hero-content { padding-bottom: 285px; }
  .scroll-cue { display: none; }
  .capabilities { display: block; padding-block: .5rem; }
  .capability { padding: 1.2rem 0; font-size: 1rem; gap: 1.2rem; min-height: 62px; }
  .capability + .capability { border-left: 0; border-top: 1px solid #1f2126; }
  .capability-number { font-size: .75rem; }
  .contact { padding-block: 3.6rem 4rem; }
  .contact h2 { font-size: clamp(2rem, 7.5vw, 2.9rem); }
  .contact-intro > p:not(.eyebrow) { font-size: 1rem; }
  .contact-phone .contact-value { font-size: clamp(2rem, 8.5vw, 2.8rem); }
  .contact-value { font-size: clamp(1rem, 4.6vw, 1.25rem); }
  .contact-link { gap: 1rem; }
  .contact-label { font-size: .875rem; }
  .contact-arrow { font-size: 1.5rem; }
  .contact-phone .contact-arrow { font-size: 2rem; }
  .site-footer { justify-content: space-between; gap: .6rem 1.5rem; padding-block: 1.5rem; }
  .footer-brand { flex: 1 1 calc(100% - 8rem); }
  .footer-copyright { order: 3; flex-basis: 100%; font-size: .75rem; }
  .back-to-top { font-size: .75rem; gap: .7rem; }
}

@media (max-width: 370px) {
  :root { --gutter: 1.15rem; }
  .wordmark-name { display: none; }
  h1 { font-size: 2.75rem; }
}

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