:root {
  --ink: #0e141b;
  --navy: #17222c;
  --paper: #f4f1ea;
  --white: #fffdf8;
  --gold: #c4a35a;
  --gold-light: #e0ca94;
  --rule: #d6d1c7;
  --display: "Manrope", Arial, sans-serif;
  --body: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); text-wrap: balance; }
p { margin: 0; }
::selection { background: var(--gold-light); color: var(--ink); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

.shell { width: min(100% - clamp(32px, 8vw, 112px), 1280px); margin-inline: auto; }
.skip-link { position: absolute; left: 18px; top: 10px; z-index: 10; padding: 10px; background: var(--white); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.masthead, .hero, .contact, .site-footer { background: var(--ink); color: var(--white); }
.masthead { border-bottom: 1px solid #ffffff24; }
.masthead-inner { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; gap: 9px; align-items: center; color: var(--white); font: 800 1rem var(--display); text-decoration: none; white-space: nowrap; }
.brand img { width: 38px; height: 38px; object-fit: contain; }
.brand sup { color: var(--gold-light); font-size: .57em; margin-left: 2px; }
.navigation { display: flex; align-items: center; gap: clamp(16px, 3vw, 38px); font-size: .91rem; }
.navigation a { text-decoration: none; }
.navigation a:hover, .site-footer a:hover { color: var(--gold-light); }
.nav-contact { color: var(--gold-light); }

.hero { padding: clamp(60px, 8vw, 116px) 0; }
.hero-layout { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(36px, 5vw, 74px); }
.hero-copy, .hero-image, .service-card, .contact-copy, .intake-form { min-width: 0; }
.eyebrow { margin-bottom: 20px; color: var(--gold-light); font-size: .77rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.5; }
.hero h1 { font-size: clamp(3rem, 5.55vw, 6.25rem); letter-spacing: -.065em; line-height: .99; }
.hero h1 span { color: var(--gold-light); }
.hero-intro { margin-top: 25px; max-width: 51ch; color: #dfded7; font-size: clamp(1.02rem, 1.55vw, 1.24rem); line-height: 1.66; text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 17px 25px; margin-top: 29px; }
.button, .text-link { display: inline-flex; align-items: center; gap: .65em; font-weight: 700; text-decoration: none; }
.button { min-height: 48px; justify-content: center; padding: 12px 18px; border: 1px solid transparent; border-radius: 2px; font: 800 .89rem var(--display); cursor: pointer; }
.button-gold { background: var(--gold-light); color: var(--ink); }
.button-gold:hover { background: #f1dbab; }
.hero .button:focus-visible, .contact .button:focus-visible { outline-color: var(--gold-light); }
.text-link { min-height: 36px; font-size: .92rem; text-decoration-line: underline; text-decoration-color: currentColor; text-underline-offset: 5px; }
.text-link:hover { text-decoration-thickness: 2px; }
.hero-image { margin: 0; background: #101823; border: 1px solid #ffffff28; overflow: hidden; }
.hero-image img { width: 100%; height: auto; aspect-ratio: 1.18; object-fit: cover; object-position: 72% center; }

.services { padding: clamp(56px, 8vw, 110px) 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; align-items: end; margin-bottom: clamp(24px, 4vw, 45px); }
.section-head h2, .contact h2 { font-size: clamp(2.45rem, 4.6vw, 4.7rem); line-height: 1; letter-spacing: -.06em; }
.section-head p { max-width: 38ch; color: #44484c; font-size: 1.08rem; line-height: 1.56; }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.service-card { position: relative; isolation: isolate; display: flex; min-height: 430px; overflow: hidden; background: var(--ink); border: 1px solid #313741; color: var(--white); text-decoration: none; }
.service-card img, .service-card::after { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; transition: opacity .35s ease; }
.service-card img { z-index: -2; object-fit: cover; object-position: center 37%; transform: scale(1.06); transition: opacity .35s ease, transform .65s ease; }
.service-card::after { content: ""; z-index: -1; background: linear-gradient(180deg, #0e141b12, #0e141ba8 32%, #0e141bfa 83%); }
.service-copy { display: flex; min-width: 0; flex: 1; flex-direction: column; align-items: flex-start; padding: clamp(20px, 2.2vw, 30px); }
.service-copy h3 { font-size: clamp(1.35rem, 1.85vw, 1.95rem); letter-spacing: -.035em; line-height: 1.15; }
.service-copy p { margin-top: 12px; color: #e0e2e5; line-height: 1.52; }
.service-copy strong { color: var(--white); }
.service-cta { display: inline-flex; align-items: center; gap: .55em; margin-top: auto; padding-top: 18px; color: var(--gold-light); font-weight: 700; font-size: .88rem; }
.service-cta span { transition: transform .25s ease; }
.lane-glyph { display: flex; height: 72px; align-items: flex-end; gap: 6px; margin-bottom: 20px; transition: opacity .3s ease, transform .35s ease; }
.lane-glyph i { width: 14px; height: 42%; border: 1px solid var(--gold); background: #c4a35a18; }
.lane-glyph i:nth-child(2) { height: 64%; }
.lane-glyph i:nth-child(3) { height: 82%; }
.lane-glyph i:nth-child(4) { height: 100%; background: var(--gold); }
.lane-glyph-window { width: 75px; flex-wrap: wrap; align-content: center; gap: 4px; }
.lane-glyph-window i:nth-child(n) { width: 30px; height: 30px; }
.lane-glyph-media, .lane-glyph-access { align-items: center; }
.lane-glyph-media i:nth-child(n) { width: 7px; height: 65%; background: var(--gold); }
.lane-glyph-media i:nth-child(even) { height: 94%; }
.lane-glyph-access i:nth-child(n) { height: 54%; border-radius: 8px; }
.lane-glyph-access i:nth-child(2), .lane-glyph-access i:nth-child(3) { height: 85%; }
.service-card:is(:hover, :focus-visible) img,
.service-card:is(:hover, :focus-visible)::after { opacity: 1; }
.service-card:is(:hover, :focus-visible) img { transform: scale(1); }
.service-card:is(:hover, :focus-visible) .lane-glyph { opacity: 0; transform: translateY(-8px); }
.service-card:is(:hover, :focus-visible) .service-cta span { transform: translate(2px, -2px); }
.service-card:focus-visible { outline-color: #735923; }

.about { padding: 32px 0 44px; border-top: 1px solid var(--rule); }
.about .section-head { margin-bottom: 0; }
.about h2 { font-size: clamp(1.9rem, 3.3vw, 3.25rem); }

.contact { padding: clamp(55px, 8vw, 104px) 0; }
.contact-layout { display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(24px, 7vw, 90px); }
.contact-copy p { max-width: 38ch; margin-top: 20px; color: #d7d9df; line-height: 1.65; font-size: 1.1rem; }
.intake-form { display: grid; gap: 17px; padding: clamp(18px, 3vw, 34px); background: var(--navy); border: 1px solid #ffffff2b; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.intake-form label { display: grid; gap: 7px; color: #f0ede3; font-size: .9rem; font-weight: 700; }
.intake-form input, .intake-form select, .intake-form textarea { width: 100%; min-width: 0; min-height: 44px; border: 1px solid #647381; border-radius: 2px; padding: 9px 10px; color: var(--white); background: var(--ink); font: 400 1rem var(--body); }
.intake-form textarea { resize: vertical; }
.intake-form select { color-scheme: dark; }
.intake-form button { justify-self: start; }
.intake-form small { color: #d1d6dd; font-size: .82rem; line-height: 1.5; }
.intake-form small a { text-underline-offset: 3px; }

.site-footer { border-top: 1px solid #ffffff24; }
.footer-layout { display: flex; justify-content: space-between; align-items: center; gap: 14px 25px; padding-block: 24px; }
.site-footer p, .site-footer nav { color: #d7d9df; font-size: .79rem; line-height: 1.55; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 17px; }
.site-footer a { text-underline-offset: 4px; }

@media (max-width: 1050px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 850px) {
  .hero-layout, .contact-layout { grid-template-columns: 1fr; }
  .hero-image img { aspect-ratio: 1.85; }
  .hero h1 { max-width: 15ch; }
  .footer-layout { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  .masthead-inner { min-height: 65px; gap: 8px; }
  .brand { gap: 6px; font-size: .85rem; }
  .brand img { width: 29px; height: 29px; }
  .navigation { gap: 11px; font-size: .8rem; }
  .nav-contact span { display: none; }
  .hero { padding-top: 54px; }
  .hero h1 { font-size: clamp(2.65rem, 10vw, 4rem); }
  .section-head, .service-grid, .field-pair { grid-template-columns: 1fr; }
  .service-card { min-height: 365px; }
}

@media (hover: none), (pointer: coarse) {
  .service-card img, .service-card::after { opacity: 1; }
  .service-card img { transform: none; }
  .service-card .lane-glyph { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .service-card img, .service-card::after, .lane-glyph, .service-cta span { transition: none; }
}
