:root {
  --black: #050505;
  --near-black: #0b0b0b;
  --graphite: #121212;
  --line: rgba(255, 255, 255, 0.16);
  --muted: #a5a5a5;
  --white: #f7f7f5;
  --silver: #c9c9c5;
  --shell: min(1240px, calc(100vw - 48px));
  --header-height: 82px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.lightbox-open { overflow: hidden; }

img, video { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; }

button { color: inherit; }

.shell { width: var(--shell); 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;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  background: white;
  color: black;
  padding: 10px 16px;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: max(24px, calc((100vw - 1240px) / 2));
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, height .3s;
}

.site-header.is-scrolled {
  height: 70px;
  background: rgba(5, 5, 5, .9);
  border-color: var(--line);
  backdrop-filter: blur(16px);
}

.brand { display: flex; align-items: center; gap: 12px; z-index: 102; }

.brand img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35);
  filter: grayscale(1) contrast(1.05);
}

.brand-copy { display: flex; align-items: baseline; gap: 7px; text-transform: uppercase; }
.brand-copy strong { font-family: Georgia, serif; font-size: 23px; letter-spacing: -.05em; }
.brand-copy small { font-size: 10px; letter-spacing: .18em; color: #d2d2d2; }

.main-nav { display: flex; align-items: center; gap: 34px; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.main-nav > a:not(.nav-cta) { position: relative; padding-block: 10px; color: #d0d0d0; }
.main-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 4px; height: 1px; background: white; transition: right .25s; }
.main-nav > a:not(.nav-cta):hover::after, .main-nav > a:not(.nav-cta):focus-visible::after { right: 0; }

.nav-cta { border: 1px solid rgba(255,255,255,.6); padding: 12px 18px; transition: background .25s, color .25s; }
.nav-cta:hover, .nav-cta:focus-visible { background: white; color: black; }

.menu-toggle { display: none; }

.hero {
  position: relative;
  min-height: 760px;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  isolation: isolate;
}

.hero-media, .hero-media video, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { z-index: -2; background: #0a0a0a; }
.hero-media video { object-fit: cover; object-position: center; filter: saturate(.7) contrast(1.15) brightness(.72); }
.hero-shade {
  background:
    linear-gradient(90deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.55) 48%, rgba(0,0,0,.22) 78%),
    linear-gradient(0deg, rgba(0,0,0,.88) 0%, transparent 38%, rgba(0,0,0,.25) 100%);
}

.hero-content { padding-top: 70px; }

.eyebrow, .kicker {
  margin: 0 0 22px;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 11px;
  font-weight: 700;
}

.eyebrow { display: flex; align-items: center; gap: 12px; color: #ddd; }
.eyebrow span { width: 34px; height: 1px; background: white; }
.kicker { color: #9d9d9d; }

.hero h1 {
  max-width: 830px;
  margin: 0;
  font-size: clamp(74px, 10vw, 150px);
  line-height: .82;
  letter-spacing: -.075em;
  text-transform: uppercase;
}

.hero h1 em { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; text-transform: none; }

.hero-lead { max-width: 540px; margin: 30px 0 0; color: #d0d0d0; font-size: clamp(16px, 1.5vw, 20px); }

.hero-actions { display: flex; align-items: center; gap: 34px; margin-top: 36px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 0 25px;
  border: 1px solid transparent;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}

.button-light { background: var(--white); color: #080808; }
.button-light:hover, .button-light:focus-visible { background: #cfcfcb; }
.button-outline { border-color: rgba(255,255,255,.4); background: transparent; }
.button-outline:hover, .button-outline:focus-visible { background: white; color: black; border-color: white; }

.text-link { font-size: 12px; text-transform: uppercase; letter-spacing: .13em; border-bottom: 1px solid rgba(255,255,255,.4); padding-block: 10px 7px; }
.text-link span { margin-left: 10px; }

.hero-meta {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,.28);
}

.hero-meta > * { padding: 23px 26px 26px; border-right: 1px solid rgba(255,255,255,.2); }
.hero-meta > *:first-child { padding-left: 0; }
.hero-meta > *:last-child { border-right: 0; }
.hero-meta span, .direct-contact span { display: block; margin-bottom: 4px; font-size: 9px; text-transform: uppercase; letter-spacing: .18em; color: #8f8f8f; }
.hero-meta strong, .direct-contact strong { font-size: 13px; font-weight: 500; letter-spacing: .02em; }

.scroll-note {
  position: absolute;
  right: 28px;
  bottom: 125px;
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: #a6a6a6;
}

.scroll-note span { display: block; width: 1px; height: 40px; background: #777; }

.section { padding-block: 130px; }

.intro { display: grid; grid-template-columns: 100px 1.4fr .6fr; gap: 45px; align-items: end; border-bottom: 1px solid var(--line); }
.section-number { color: #626262; font-family: Georgia, serif; font-style: italic; font-size: 14px; align-self: start; padding-top: 7px; }
.intro h2, .section-heading h2, .social h2, .contact h2 {
  margin: 0;
  font-size: clamp(42px, 5.7vw, 82px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 500;
}
.intro h2 { max-width: 820px; }
.intro-note { margin: 0; max-width: 350px; color: var(--muted); font-size: 14px; }

.services { background: var(--white); color: #0a0a0a; }
.services .kicker { color: #777; }

.section-heading { display: grid; grid-template-columns: 1.55fr .45fr; gap: 60px; align-items: end; margin-bottom: 70px; }
.section-heading h2 { max-width: 850px; }
.section-heading > p { margin: 0; max-width: 330px; color: #8c8c8c; font-size: 14px; }
.services .section-heading > p { color: #5e5e5e; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #c8c8c4; }
.service-card { min-height: 390px; padding: 34px 36px 42px; border-right: 1px solid #c8c8c4; display: flex; flex-direction: column; position: relative; }
.service-card:first-child { border-left: 1px solid #c8c8c4; }
.service-index { font-family: Georgia, serif; font-style: italic; font-size: 13px; color: #777; }
.service-icon { width: 62px; height: 62px; margin: auto 0 35px; }
.service-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.3; }
.service-card h3 { margin: 0 0 12px; font-size: 25px; font-weight: 500; }
.service-card p { margin: 0; max-width: 270px; color: #646464; font-size: 14px; }

.results { border-bottom: 1px solid var(--line); }
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.compare-frame { position: relative; aspect-ratio: 1124 / 1374; overflow: hidden; background: #222; cursor: col-resize; }
.compare-frame > img, .compare-after, .compare-after img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare-after { clip-path: inset(0 0 0 var(--split)); }
.compare-line { position: absolute; left: var(--split); top: 0; bottom: 0; width: 2px; background: white; transform: translateX(-1px); pointer-events: none; }
.compare-line span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: white; color: black; font-size: 15px; box-shadow: 0 3px 20px rgba(0,0,0,.3); }
.compare-frame input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: col-resize; }
.compare-label { position: absolute; top: 20px; z-index: 2; padding: 8px 11px; background: rgba(0,0,0,.65); backdrop-filter: blur(8px); text-transform: uppercase; letter-spacing: .16em; font-size: 9px; }
.compare-label-before { left: 20px; }
.compare-label-after { right: 20px; }
.compare-caption { display: grid; grid-template-columns: 42px 1fr; gap: 0 12px; padding: 22px 2px 0; }
.compare-caption > span { grid-row: 1 / 3; font-family: Georgia, serif; font-style: italic; color: #686868; }
.compare-caption h3 { margin: 0 0 5px; font-size: 20px; font-weight: 500; }
.compare-caption p { margin: 0; color: #7e7e7e; font-size: 12px; }

.gallery { background: #0d0d0d; }
.gallery-grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr; grid-auto-rows: 330px; gap: 12px; }
.gallery-item { position: relative; border: 0; padding: 0; background: #161616; overflow: hidden; text-align: left; cursor: zoom-in; }
.gallery-item img, .gallery-item video { width: 100%; height: 100%; object-fit: cover; filter: saturate(.78); transition: transform .6s ease, filter .6s ease; }
.gallery-item:hover img, .gallery-item:hover video, .gallery-item:focus-visible img, .gallery-item:focus-visible video { transform: scale(1.035); filter: saturate(1); }
.gallery-wide { grid-column: span 2; }
.gallery-tall { grid-row: span 2; }
.gallery-item::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.78)); pointer-events: none; }
.media-caption { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 20px; display: flex; justify-content: space-between; align-items: end; }
.media-caption b { font-size: 14px; font-weight: 500; }
.media-caption small { text-transform: uppercase; letter-spacing: .15em; color: #bcbcbc; font-size: 8px; }
.play-button { position: absolute; z-index: 2; top: 22px; right: 22px; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; display: grid; place-items: center; font-size: 12px; padding-left: 2px; }

.social { min-height: 760px; display: grid; grid-template-columns: .75fr 1.25fr; gap: 90px; align-items: center; overflow: hidden; }
.social-copy { position: relative; z-index: 2; }
.social-copy p:not(.kicker) { color: var(--muted); margin: 25px 0 35px; }
.social-phones { position: relative; height: 650px; }
.phone-shot { position: absolute; margin: 0; width: min(360px, 46%); height: 620px; overflow: hidden; border-radius: 35px; border: 8px solid #202020; box-shadow: 0 30px 80px rgba(0,0,0,.45); background: #111; }
.phone-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone-shot-back { left: 5%; top: 45px; transform: rotate(-5deg); opacity: .68; }
.phone-shot-front { right: 5%; top: 0; transform: rotate(4deg); }

.contact { background: var(--white); color: #080808; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.contact-copy > p:not(.kicker) { max-width: 480px; color: #666; margin: 25px 0 45px; }
.direct-contact { border-top: 1px solid #c6c6c2; }
.direct-contact a { display: block; padding: 20px 0; border-bottom: 1px solid #c6c6c2; }
.direct-contact span { color: #7c7c7c; }
.direct-contact strong { font-size: 17px; }

.quote-form { padding: 35px; background: #0b0b0b; color: white; }
.demo-badge { margin-bottom: 34px; padding: 10px 12px; border: 1px solid #343434; color: #a9a9a9; text-transform: uppercase; letter-spacing: .11em; font-size: 9px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.quote-form label { display: block; margin-bottom: 26px; text-transform: uppercase; letter-spacing: .14em; font-size: 9px; color: #aaa; }
.quote-form input, .quote-form select, .quote-form textarea { width: 100%; border: 0; border-bottom: 1px solid #454545; border-radius: 0; padding: 13px 0; background: transparent; color: white; outline: none; text-transform: none; letter-spacing: 0; font-size: 14px; transition: border-color .2s; }
.quote-form select { color-scheme: dark; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { border-color: white; }
.quote-form textarea { resize: vertical; }
.submit-button { width: 100%; margin-top: 8px; border: 0; }
.form-status { min-height: 22px; margin: 16px 0 0; color: #d5d5d5; font-size: 12px; }

.site-footer { background: #050505; }
.footer-top { padding: 70px 0; display: flex; justify-content: space-between; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 18px; }
.footer-brand img { width: 72px; height: 68px; object-fit: cover; border-radius: 50%; filter: grayscale(1); }
.footer-brand span { display: flex; flex-direction: column; }
.footer-brand strong { font-family: Georgia, serif; font-size: 23px; font-weight: 500; }
.footer-brand small { color: #777; text-transform: uppercase; letter-spacing: .2em; font-size: 8px; margin-top: 3px; }
.footer-links { display: flex; gap: 35px; font-size: 11px; color: #a0a0a0; }
.footer-links a:hover { color: white; }
.footer-bottom { padding: 22px 0 30px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; color: #666; text-transform: uppercase; letter-spacing: .12em; font-size: 8px; }

.lightbox { width: 100%; height: 100%; max-width: none; max-height: none; border: 0; padding: 0; background: rgba(0,0,0,.94); color: white; }
.lightbox::backdrop { background: rgba(0,0,0,.94); }
.lightbox-content { width: 100%; height: 100%; display: grid; place-items: center; padding: 50px; }
.lightbox-content img, .lightbox-content video { max-width: min(1100px, 92vw); max-height: 88vh; width: auto; height: auto; object-fit: contain; }
.lightbox-close { position: fixed; z-index: 2; top: 20px; right: 24px; width: 44px; height: 44px; border: 1px solid #777; border-radius: 50%; background: rgba(0,0,0,.5); font-size: 28px; font-weight: 200; cursor: pointer; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .75s ease, transform .75s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.services :focus-visible, .contact :focus-visible { outline-color: #111; }
.quote-form :focus-visible { outline-color: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-media video { display: none; }
  .hero-media { background: url('assets/photo-05.jpeg') center / cover; }
}

@media (max-width: 980px) {
  :root { --shell: min(100% - 36px, 760px); }

  .menu-toggle { display: grid; place-items: center; gap: 6px; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; z-index: 102; }
  .menu-toggle > span:not(.sr-only) { display: block; width: 22px; height: 1px; background: white; transition: transform .25s; }
  .menu-toggle[aria-expanded="true"] > span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

  .main-nav { position: fixed; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 20px; background: #050505; font-size: 18px; transform: translateX(100%); transition: transform .35s ease; }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav > a { width: min(420px, calc(100% - 50px)); padding: 18px 0; text-align: center; }
  .nav-cta { margin-top: 10px; }

  .hero { min-height: 700px; }
  .hero h1 { font-size: clamp(65px, 15vw, 110px); }
  .hero-meta { grid-template-columns: 1fr 1fr; }
  .hero-meta > *:last-child { display: none; }
  .hero-meta > *:nth-child(2) { border-right: 0; }
  .scroll-note { display: none; }

  .section { padding-block: 95px; }
  .intro { grid-template-columns: 50px 1fr; }
  .intro-note { grid-column: 2; }
  .section-heading { grid-template-columns: 1fr; gap: 25px; }
  .section-heading > p { max-width: 480px; }

  .service-grid { grid-template-columns: 1fr; }
  .service-card, .service-card:first-child { min-height: 280px; border-left: 1px solid #c8c8c4; border-bottom: 1px solid #c8c8c4; }
  .service-icon { margin-top: 45px; }

  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-tall { grid-row: span 2; }

  .social { grid-template-columns: 1fr; gap: 45px; }
  .social-phones { height: 570px; }
  .phone-shot { height: 540px; }

  .contact-grid { grid-template-columns: 1fr; gap: 60px; }
}

@media (max-width: 640px) {
  :root { --shell: calc(100% - 28px); --header-height: 68px; }

  .site-header { padding-inline: 14px; }
  .brand-copy small { display: none; }

  .hero { min-height: 690px; align-items: flex-start; padding-top: 170px; }
  .hero-media video { object-position: 62% center; }
  .hero h1 { font-size: clamp(58px, 20vw, 88px); }
  .hero-lead { margin-top: 24px; font-size: 15px; max-width: 90%; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 14px; margin-top: 28px; }
  .hero-meta { grid-template-columns: 1fr; }
  .hero-meta > * { padding: 15px 0; border-right: 0; }
  .hero-meta > *:nth-child(2) { display: none; }

  .section { padding-block: 78px; }
  .intro { grid-template-columns: 1fr; gap: 26px; }
  .section-number { display: none; }
  .intro-note { grid-column: auto; }
  .intro h2, .section-heading h2, .social h2, .contact h2 { font-size: clamp(39px, 12vw, 58px); }

  .section-heading { margin-bottom: 45px; }
  .service-card { padding-inline: 25px; }

  .compare-grid { grid-template-columns: 1fr; gap: 55px; }
  .compare-label { top: 12px; }
  .compare-label-before { left: 12px; }
  .compare-label-after { right: 12px; }

  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 330px; }
  .gallery-wide { grid-column: auto; }
  .gallery-tall { grid-row: span 2; }

  .social { min-height: 0; }
  .social-phones { height: 470px; }
  .phone-shot { width: 66%; height: 440px; border-width: 6px; border-radius: 24px; }
  .phone-shot-back { left: 0; }
  .phone-shot-front { right: 0; }

  .quote-form { padding: 26px 20px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }

  .footer-top { align-items: flex-start; flex-direction: column; gap: 40px; }
  .footer-links { display: grid; grid-template-columns: 1fr 1fr; width: 100%; gap: 18px; }
  .footer-bottom { flex-direction: column; gap: 10px; }

  .lightbox-content { padding: 20px; }
}
