/* Measured layout pass: Xarr at 1280 and 2048 CSS-pixel viewports.
   Keep the website portable: typography is served locally, with no font CDN. */
@font-face {
  font-family: "Inter Tight";
  src: url("assets/fonts/InterTight-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --pad: 40px;
  --content-width: 1200px;
  --hero-video-width: 814px;
  --ink: #000;
  --muted: #888;
}

body { font-family: "Inter Tight", Arial, sans-serif; }
h1, h2, h3, h4 { font-weight: 500; }

/* 1. Fixed navigation: stable dimensions on wide screens. */
.site-header { top: 40px; left: 40px; right: 40px; }
.brand { font-size: 24px; letter-spacing: -1px; gap: 10px; }
.brand svg { width: 32px; height: 32px; }
.desktop-nav {
  top: 0;
  width: 516.5px;
  min-height: 69.5px;
  padding: 12px 12px 12px 24px;
  gap: 20px;
  justify-content: space-between;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  border-radius: 100px;
  background: rgba(240, 240, 240, .82);
  box-shadow: none;
}
.desktop-nav > a { font-size: 16px; line-height: 24px; letter-spacing: 0; }
.button {
  font-size: 17px;
  line-height: 25.5px;
  font-weight: 500;
  letter-spacing: .1px;
  min-height: 45.5px;
  padding: 9px 18px;
  gap: 18px;
  border-radius: 100px;
}
.desktop-nav .button { height: 45.5px; min-height: 45.5px; padding: 9px 18px; font-size: 17px; }

/* 2. Opening composition: center the 1200px parent, not the text itself. */
.hero { padding: 138.45px 0 0; }
.hero-intro {
  width: 100%;
  max-width: var(--content-width);
  padding: 0 40px;
  margin-inline: auto;
}
.hero h1 {
  max-width: none;
  font-size: 59px;
  line-height: 70.8px;
  letter-spacing: -1.5px;
  font-weight: 500;
}
.headline-line { font-size: 64px; line-height: 76.8px; gap: 16px; }
.rotator { height: 76.8px; }
.rotator-track > span { height: 76.8px; line-height: 76.8px; }
.hero-copy {
  width: min(403px, 100%);
  font-size: 22px;
  font-weight: 500;
  line-height: 28.6px;
  letter-spacing: .1px;
  margin-top: 24px;
}
.hero-actions { margin-top: 32.8px; gap: 10px; }
.hero-actions .button { height: 45.5px; }
.hero-video-wrap {
  position: relative;
  width: min(var(--hero-video-width), calc(100% - 40px));
  margin: 38.45px auto 0;
}
.hero-video { width: 100%; height: auto; aspect-ratio: 814 / 456; border-radius: 12px; object-fit: contain; }
.video-caption { position: absolute; inset: auto 0 -22px; margin: 0; font-size: 10px; line-height: 14px; }
.niche-strip { padding: 24px 0 60px; }
.niche-strip > p { font-size: 17px; line-height: 25.5px; letter-spacing: .1px; margin-bottom: 38px; }
.marquee { margin-inline: 0; height: 48px; display: flex; align-items: center; }
.marquee-track { gap: 65px; flex: none; }
.marquee-track > span { flex: none; white-space: nowrap; font-size: 24px; line-height: 32px; letter-spacing: -.5px; }

/* 3. Process: retain the gradient and stacked panels, with a capped width. */
.process-section { padding: 0 40px 20px; }
.process-intro { min-height: 0; padding: 160px 0 100px; }
.scroll-copy { max-width: 600px; font-size: 29px; line-height: 31.9px; letter-spacing: -.2px; }
.stacked-panels { max-width: var(--content-width); margin-inline: auto; }
.process-panel {
  padding: 40px;
  min-height: 580px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  border-radius: 32px;
  box-shadow: 0 0 30px #1d002b12;
}
.panel-one { margin-bottom: 100px; }
.panel-two { min-height: 670px; }
.eyebrow { font-size: 22px; line-height: 28.6px; letter-spacing: .1px; }
.panel-copy h3 { font-size: 48px; line-height: 57.6px; letter-spacing: -1.3px; margin: 24px 0; }
.panel-copy p { font-size: 17px; line-height: 25.5px; letter-spacing: .1px; max-width: 440px; }
.panel-copy > .button { margin-top: 20px; }
.tailored-card { min-height: 446px; align-self: center; }
.tailored-card h4 { font-size: 64px; line-height: 76.8px; letter-spacing: -1.5px; }
.tailored-card p { font-size: 17px; line-height: 25.5px; letter-spacing: .1px; }
.tailored-cta { min-height: 46px; font-size: 16px; }
.compare-card { min-height: 446px; align-self: start; margin-top: 20px; }
.scene-title { font-size: 54px; letter-spacing: -1.5px; }

/* 4. The work: preserve the two-column video grid and black background. */
.work-section { padding: 0 40px 40px; }
.work-heading { max-width: 1200px; margin-inline: auto; }
.work-heading .kicker { display: none; }
.work-heading h2 { font-size: 40px; line-height: 40px; letter-spacing: -1.6px; }
.work-heading h2 > span { display: inline-block; font-size: 28px; line-height: 34px; letter-spacing: -.56px; color: #aaa; }
.work-heading > p:last-child { margin-top: 16px; font-size: 14px; line-height: 21px; }
.work-filters { max-width: 1200px; margin: 28px auto 32px; }
.project-grid { max-width: 1200px; margin-inline: auto; gap: 28px 24px; }
.project-thumb { aspect-ratio: 16 / 9; }
.project-thumb > img { height: auto; aspect-ratio: 16 / 9; }
.project-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #191919;
  border-radius: 10px;
}
.project-video:fullscreen { border-radius: 0; }
.project-video-error { color: #ccc; font-size: 12px; }
.project-video-error:not(:empty) { margin-top: 8px; }
.project-info h3 { font-size: 20px; line-height: 26px; letter-spacing: -.5px; }
.work-note { margin-top: 30px; }

/* 5. Replace testimonials honestly, preserving the light card composition. */
.approach-section { padding: 48px 40px 68px; }
.approach-heading { max-width: 600px; margin: 0 auto 65px; }
.approach-heading .kicker { display: none; }
.approach-heading h2 { font-size: 32px; line-height: 35.2px; letter-spacing: -.2px; }
.approach-heading > p:last-child { font-size: 16px; line-height: 24px; }
.approach-grid { max-width: 1200px; margin-inline: auto; gap: 40px; }
.approach-card { min-height: 350px; padding: 40px; border-radius: 32px; }
.approach-card h3 { font-size: 32px; line-height: 38.4px; letter-spacing: -.6px; }
.approach-card > p { max-width: 420px; font-size: 17px; line-height: 25.5px; letter-spacing: .1px; }
.approach-num { font-size: 11px; }
.approach-bottom { font-size: 13px; }

/* 6. FAQ and footer: avoid enlarging secondary text with viewport width. */
.faq-section { padding: 64px 24px 52px; }
.faq-section > h2 { font-size: 32px; line-height: 35.2px; letter-spacing: -.2px; margin-bottom: 83px; }
.faq-list { max-width: 790px; }
.faq-list details { border-radius: 16px; margin-bottom: 20px; }
.faq-list summary { padding: 20px; font-size: 22px; line-height: 28.6px; letter-spacing: .1px; font-weight: 500; }
.faq-answer { padding: 0 20px 20px; font-size: 17px; line-height: 25.5px; letter-spacing: .1px; }
.contact-pill { margin-top: 44px; }
.site-footer { padding: 100px max(40px, calc((100% - 1120px) / 2)) 30px; }
.footer-top { padding-bottom: 100px; }
.footer-top .kicker { font-size: 10px; }
.footer-top h2 { font-size: 40px; line-height: 48px; letter-spacing: -1.3px; }
.footer-top p:not(.kicker) { max-width: 300px; font-size: 17px; line-height: 25.5px; }
.footer-links { font-size: 16px; line-height: 24px; gap: 10px; }
.about-hero { padding-top: 180px; }
.about-hero h1 { max-width: 1200px; font-size: 64px; line-height: 76.8px; letter-spacing: -1.5px; }
.about-content { max-width: 1200px; }
.about-content > h2 { font-size: 48px; line-height: 57.6px; letter-spacing: -1.3px; }
.about-callout h2 { font-size: 48px; line-height: 57.6px; letter-spacing: -1.3px; }

@media (max-width: 1050px) and (min-width: 761px) {
  .site-header { left: 24px; right: 24px; }
  .site-header .brand { font-size: 21px; }
  .desktop-nav { width: 495px; left: auto; right: 0; transform: none; }
  .desktop-nav > a { font-size: 15px; }
  .tailored-card h4 { font-size: 48px; line-height: 57.6px; }
  .panel-copy h3 { font-size: 40px; line-height: 48px; }
  .scene-title { font-size: 42px; }
}

/* Retain the reference's typographic hierarchy; keep longer niche names readable. */
@media (max-width: 760px) {
  :root { --pad: 20px; }
  .site-header { top: 20px; left: 20px; right: 20px; }
  .site-header .brand { font-size: 21px; }
  .brand svg { width: 27px; height: 27px; }
  .hero { padding: 100px 0 0; }
  .hero-intro { padding: 0 20px; }
  .hero h1 { font-size: 48px; line-height: 57.6px; letter-spacing: -1.5px; }
  .headline-line { font-size: 48px; line-height: 57.6px; gap: 12px; }
  .rotator, .rotator-track > span { height: 57.6px; line-height: 57.6px; }
  .hero-copy { font-size: 19px; line-height: 25px; letter-spacing: .1px; margin-top: 24px; }
  .hero-actions { margin-top: 24px; }
  .hero-actions .button, .button { min-height: 43px; height: 43px; font-size: 15px; line-height: 22.5px; padding: 9px 17px; }
  .hero-video-wrap { width: calc(100% - 30px); max-width: 814px; margin-top: 38px; }
  .video-caption { inset-block-end: -20px; font-size: 8px; line-height: 12px; }
  .niche-strip { padding: 28px 0 40px; }
  .niche-strip > p { font-size: 14px; line-height: 21px; margin-bottom: 25px; }
  .marquee { height: 36px; }
  .marquee-track { gap: 35px; }
  .marquee-track > span { font-size: 20px; line-height: 28px; }
  .process-section { padding: 0 15px 20px; }
  .process-intro { padding: 85px 5px 65px; }
  .scroll-copy { font-size: 24px; line-height: 28px; max-width: 500px; }
  .process-panel { padding: 25px; min-height: 0; gap: 28px; border-radius: 24px; position: relative; top: auto; grid-template-columns: 1fr; }
  .panel-one { margin-bottom: 30px; }
  .panel-two { min-height: 0; }
  .eyebrow { font-size: 17px; line-height: 24px; }
  .panel-copy h3 { font-size: 38px; line-height: 44px; margin: 20px 0; }
  .panel-copy p { font-size: 16px; line-height: 24px; }
  .tailored-card, .compare-card { min-height: 310px; width: 100%; border-radius: 20px; }
  .compare-card { margin-top: 0; }
  .tailored-card h4 { font-size: 43px; line-height: 52px; }
  .tailored-card p { font-size: 15px; }
  .tailored-cta { font-size: 14px; height: auto; }
  .scene-title { font-size: 43px; }
  .work-section { padding: 26px 20px 40px; }
  .work-heading h2 { font-size: 34px; line-height: 39px; }
  .work-heading h2 > span { font-size: 25px; line-height: 30px; }
  .work-heading > p:last-child { font-size: 13px; }
  .work-filters { margin: 25px auto; }
  .project-grid { gap: 28px; }
  .project-info h3 { font-size: 20px; }
  .approach-section { padding: 45px 20px 60px; }
  .approach-heading { margin-bottom: 35px; }
  .approach-heading h2 { font-size: 30px; line-height: 35px; }
  .approach-grid { gap: 20px; }
  .approach-card { padding: 30px; min-height: 300px; border-radius: 25px; }
  .approach-card h3 { font-size: 32px; line-height: 38px; }
  .approach-card > p { font-size: 16px; line-height: 24px; }
  .faq-section { padding: 55px 20px 50px; }
  .faq-section > h2 { font-size: 30px; line-height: 35px; margin-bottom: 40px; }
  .faq-list summary { padding: 20px 18px; font-size: 18px; line-height: 24px; }
  .faq-answer { padding: 0 18px 22px; font-size: 15px; line-height: 23px; }
  .contact-pill { margin-top: 35px; gap: 18px; }
  .contact-pill .button { font-size: 13px; padding: 8px 14px; }
  .site-footer { padding: 60px 24px 25px; }
  .footer-top { padding-bottom: 45px; }
  .footer-top h2 { font-size: 36px; line-height: 42px; }
  .footer-top p:not(.kicker) { font-size: 15px; line-height: 23px; }
  .footer-links { font-size: 14px; }
  .about-hero { padding-top: 135px; }
  .about-hero h1 { font-size: 38px; line-height: 45px; }
  .about-content > h2, .about-callout h2 { font-size: 34px; line-height: 41px; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 44px; line-height: 53px; }
  .headline-line { font-size: 42px; line-height: 53px; gap: 10px; }
  .rotator, .rotator-track > span { height: 53px; line-height: 53px; }
  .tailored-card h4 { font-size: 36px; }
  .scene-title { font-size: 36px; }
}
