/* Inter, served from this site (no request to Google). One variable file covers weights 400 and 500
   and every French letter. "Inter Fallback" is Arial resized to Inter's metrics so text does not jump when the font loads. */
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url(fonts/inter-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Fallback"; src: local("Arial");
  size-adjust: 107.4%; ascent-override: 90.2%; descent-override: 22.5%; line-gap-override: 0%;
}
:root {
  --black: #000;
  --grey: #8e9291;
  --cream: #f1f0ea;
  --copper: #c99c6c;
  --copper-hover: #dcb58a;
  --copper-dark: #7a5430;
  --white: #fff;
  --muted: rgba(255, 255, 255, .72);
  --gutter: 16px;
  --font: "Inter", "Inter Fallback", "Helvetica Neue", Helvetica, Arial, sans-serif;
  /* easeOutExpo: the curve Anduril uses for its reveals */
  --ease: cubic-bezier(.16, 1, .3, 1);
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { background: #000; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: no-preference) { html:not(.lenis) { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--black); color: var(--white);
  font-family: var(--font); font-size: 16px; line-height: 1.5; letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
::selection { background: var(--copper); color: #000; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, figure, dl, dd, ul { margin: 0; padding: 0; }
ul { list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }
.sec--cream :focus-visible { outline-color: var(--copper-dark); }
/* Sections are only focused by the script after a menu link (so the next Tab starts there): no ring around a whole section. */
[tabindex="-1"]:focus { outline: none; }

/* Lenis (smooth scrolling) required rules */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--copper); color: #000; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }

/* Small uppercase label, like Anduril's */
.label { font-size: 11px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; line-height: 1.5; }
/* One shared content column: the header, hero text, panel, sections and footer all start at --edge,
   so everything lines up on very wide screens too. (% resolves against each element's own container.) */
:root { --maxw: 1440px; --edge: max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter))); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- HEADER ----------
   Same idea as Anduril: transparent at the top, a frosted bar once you scroll,
   and it slides away when you scroll down and back when you scroll up. */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transform: translate3d(0, var(--ny, 0px), 0);
}
.nav__bar {
  height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 var(--edge);
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(0, 0, 0, .62);
  -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  opacity: 0; transition: opacity .3s ease-out, background-color .3s ease-out;
}
.nav.is-frosted::before, .nav.menu-open::before { opacity: 1; }
.nav.is-open::before { opacity: 1; background: rgba(0, 0, 0, .86); }

/* ---------- DROP-DOWN PANEL (modelled on Anduril's menu panel) ----------
   Hover or focus a menu word: the other words dim to 50%, the panel grows open (0.5s easeOutCubic),
   that word's content fades in (0.1s later), and the page behind blurs. Desktop only. */
.nav-overlay, .nav__panel { display: none; }
@media (min-width: 900px) {
  .nav-overlay {
    display: block; position: fixed; inset: 0; z-index: 40; pointer-events: none;
    background: rgba(1, 1, 1, .25); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    opacity: 0; visibility: hidden; transition: opacity .4s ease-out, visibility 0s .4s;
  }
  .nav-overlay.is-on { opacity: 1; visibility: visible; transition: opacity .4s ease-out; }
  .nav__panel { display: block; height: 0; overflow: hidden; transition: height .5s cubic-bezier(.215, .61, .355, 1); }
  .nav__panels { display: grid; }
  .nav__pane {
    grid-area: 1 / 1; align-self: start; display: flex;
    padding: 12px var(--edge) 40px; opacity: 0; visibility: hidden;
    transition: opacity .5s cubic-bezier(.215, .61, .355, 1), visibility 0s .5s;
  }
  .nav__pane.is-active { opacity: 1; visibility: visible; transition: opacity .5s cubic-bezier(.215, .61, .355, 1) .1s, visibility 0s; }
  .nav__col1 { flex: 0 0 max(260px, var(--col1w, 340px)); padding-right: 40px; }
  .nav__col2 { flex: 1; min-width: 0; }
  .nav__desc { font-size: 15px; line-height: 1.25; letter-spacing: -.01em; max-width: 34ch; margin-top: 20px; }
  .nav__col2 ul { margin-top: 12px; }
  .nav__col2 .label, .nav__col1 .label { color: var(--muted); }
  .nav__col2 a {
    display: inline-flex; align-items: center; min-height: 44px; font-size: 18px; line-height: 1.15;
    letter-spacing: -.011em; text-decoration: none;
  }
  .nav__col2 a:hover { color: var(--copper); }
  .nav__col2 li { opacity: 0; transform: translate3d(-10%, 0, 0); transition: opacity .3s ease-out, transform .3s ease-out; }
  .nav__pane.is-active li { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms + 200ms); }
  .nav__links.has-hover a { opacity: .5; transition: opacity .5s cubic-bezier(.215, .61, .355, 1); }
  .nav__links.has-hover a.is-hover { opacity: 1; }
}
.nav__logo { display: grid; place-items: center; min-width: 44px; min-height: 44px; }
.nav__logo img { height: 40px; width: auto; }
.nav__links { display: none; gap: 8px; font-size: 14px; }
.nav__links a, .foot a { text-decoration: none; opacity: .92; }
.nav__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; white-space: nowrap; }
.nav__links a:hover, .foot a:hover { opacity: 1; }
.foot a:hover { color: var(--copper); }
.nav__right { display: flex; align-items: center; gap: 12px; }
.lang {
  min-width: 44px; height: 44px; background: none; color: var(--white); border: 1px solid rgba(255,255,255,.35);
  border-radius: 2px; font: 500 12px var(--font); letter-spacing: .04em; cursor: pointer;
}
.lang:hover { border-color: var(--copper); color: var(--copper); }
.burger { width: 44px; height: 44px; background: none; border: 0; cursor: pointer; display: grid; place-content: center; gap: 7px; }
.burger span { width: 22px; height: 1.5px; background: var(--white); transition: transform .3s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
.nav__links.is-open {
  display: flex; flex-direction: column; gap: 0; position: absolute; top: 64px; left: 0; right: 0;
  background: #000; padding: 8px var(--gutter) 16px; font-size: 20px;
}
.nav__links.is-open a { padding: 14px 0; min-height: 52px; border-bottom: 1px solid rgba(255,255,255,.15); }
@media (min-width: 900px) {
  .nav__links { display: flex; }
  .burger { display: none; }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px;
  background: var(--copper); color: #000; border: 1px solid var(--copper); border-radius: 2px;
  font: 500 14px var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .2s, border-color .2s;
}
.btn:hover { background: var(--copper-hover); border-color: var(--copper-hover); }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: 13px; }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* ---------- HERO ---------- */
.hero { padding: 72px 12px 12px; }
.hero__frame {
  position: relative; height: calc(100svh - 84px); min-height: 520px; border-radius: 4px; overflow: hidden; background: #111;
}
.hero__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%;
  opacity: 0; transition: opacity 1.8s ease-in-out;
}
.hero__img.is-active { opacity: 1; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,.05) 65%); }
.hero__text { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px var(--gutter) 32px max(calc(var(--gutter) - 12px), calc((100% - var(--maxw)) / 2 + var(--gutter))); max-width: calc(880px + var(--edge)); }  /* the hero image is inset 12px, so the text gives 12px back to line up with the logo */
.hero__text h1 { font-size: clamp(36px, 7vw, 76px); font-weight: 400; letter-spacing: -.035em; line-height: 1.02; margin: 12px 0 16px; }
.hero__sub { font-size: clamp(16px, 2vw, 20px); color: var(--muted); max-width: 520px; margin-bottom: 28px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- SECTIONS ---------- */
.sec { padding: 72px 0; }
@media (min-width: 900px) { .sec { padding: 112px 0; } }
.sec--black { background: var(--black); color: var(--white); --rule: rgba(255,255,255,.3); }
.sec--grey { background: var(--grey); color: #000; --rule: rgba(0,0,0,.35); }
.sec--cream { background: var(--cream); color: #111; --rule: rgba(0,0,0,.3); }
.sec--cream .label { color: var(--copper-dark); }
.h2 { font-size: clamp(30px, 4.5vw, 52px); font-weight: 400; letter-spacing: -.03em; line-height: 1.08; margin: 12px 0 28px; max-width: 18ch; }
.statement { font-size: clamp(40px, 8vw, 104px); font-weight: 400; letter-spacing: -.045em; line-height: .98; margin: 16px 0 40px; max-width: 14ch; }
.lead { font-size: clamp(17px, 2vw, 22px); line-height: 1.45; max-width: 60ch; color: var(--muted); }
.sec--cream .lead { color: #333; }

.values { display: grid; gap: 0; margin-top: 64px; }
.values li { padding: 20px 0 32px; }
.values p { color: var(--muted); margin-top: 12px; max-width: 34ch; }
.values .label { color: var(--copper); }
@media (min-width: 768px) { .values { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* SERVICES rows */
.rows { margin-top: 24px; }
.row { display: grid; gap: 20px; padding: 28px 0; align-items: end; }
.row__title { font-size: clamp(32px, 6vw, 72px); font-weight: 400; letter-spacing: -.04em; line-height: 1; margin-bottom: 20px; }
.row__text .label { max-width: 36ch; }
.row__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
@media (min-width: 768px) { .row { grid-template-columns: 1fr 1fr; gap: 48px; } }

/* GALLERY cards */
.grid { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; margin-top: 16px; }
@media (min-width: 768px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.card { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 2px; background: #111; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover img { transform: scale(1.04); }
.card::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(to top, rgba(0,0,0,.7), transparent); pointer-events: none; }
.card figcaption { position: absolute; left: 14px; bottom: 12px; z-index: 1; font-size: 15px; font-weight: 500; }

/* ABOUT */
.about { display: grid; gap: 32px; }
.about .lead { margin-bottom: 20px; }
.about__text p:not(.lead) { max-width: 60ch; }
@media (min-width: 900px) { .about { grid-template-columns: 4fr 7fr; gap: 80px; } }

/* AVAILABILITY / contact facts */
.facts { display: grid; gap: 0; margin-top: 48px; }
.facts > div { padding: 18px 0 28px; }
.facts dd { font-size: clamp(22px, 3vw, 34px); letter-spacing: -.03em; margin-top: 8px; }
.facts .label { color: var(--copper); }
.facts--stack { margin-top: 40px; }
.facts--stack dd { font-size: clamp(20px, 2.4vw, 28px); overflow-wrap: anywhere; }
.facts a { text-decoration: none; display: inline-block; padding: 8px 0; }
.facts a:hover { color: var(--copper); }
@media (min-width: 768px) { .facts:not(.facts--stack) { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* FAQ */
.faq { display: grid; gap: 32px; }
@media (min-width: 900px) { .faq { grid-template-columns: 4fr 7fr; gap: 80px; } }
.faq__list details:last-child { border-bottom: 1px solid var(--rule); }
.faq__list summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-size: clamp(18px, 2vw, 22px); letter-spacing: -.02em; position: relative; min-height: 44px; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; transition: transform .4s var(--ease); }
.faq__list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__list details p { padding: 0 40px 24px 0; color: #333; max-width: 60ch; overflow: hidden; }

/* CONTACT form */
.contact { display: grid; gap: 56px; }
@media (min-width: 768px) { .contact { grid-template-columns: 1fr 1fr; gap: 48px; } }
@media (min-width: 1100px) { .contact { gap: 96px; } }
.form { display: grid; gap: 8px; align-content: start; }
.form label { font-size: 13px; color: var(--muted); margin-top: 12px; }
.form input[type="text"], .form input[type="tel"], .form textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; background: #0d0d0d; color: #fff;
  border: 1px solid rgba(255,255,255,.3); border-radius: 2px; font: 400 16px var(--font);
}
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--copper); outline-offset: 1px; border-color: var(--copper); }
.form ::placeholder { color: rgba(255,255,255,.6); }
.form__note { font-size: 13px; color: var(--muted); max-width: 52ch; margin-top: 8px; }
.form .btn { margin-top: 20px; justify-self: start; min-width: 220px; }
.form .btn[disabled] { opacity: .6; cursor: progress; }
.form__msg { min-height: 24px; margin-top: 8px; font-size: 15px; }
.form__msg.ok { color: #9ad6a5; }
.form__msg.err { color: #ff9a8a; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }

/* VIDEO (portrait clip, shown at its natural shape) */
.sec--tight { padding-top: 0; }
.reel { display: grid; gap: 32px; align-items: end; }
.reel__frame { width: 100%; max-width: 400px; aspect-ratio: 9 / 16; border-radius: 4px; overflow: hidden; background: #111; }
.reel__video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; } /* no clicks reach it: no menu, no controls */
@media (min-width: 768px) { .reel { grid-template-columns: 1fr auto; gap: 48px; } }
@media (min-width: 1100px) { .reel { gap: 96px; } }

/* FOOTER */
.foot { background: #000; padding: 64px 0 32px; border-top: 1px solid rgba(255,255,255,.15); }
.foot__grid { padding: 0 var(--edge); display: grid; gap: 40px; grid-template-columns: 1fr 1fr; }
.foot__grid > a:first-child { grid-column: 1 / -1; justify-self: start; }
.foot__grid div { display: grid; gap: 0; align-content: start; font-size: 15px; }
.foot__grid div a { display: inline-flex; align-items: center; min-height: 44px; justify-self: start; overflow-wrap: anywhere; }
.foot__grid .label { color: var(--muted); margin-bottom: 8px; }
.foot__copy { padding: 0 var(--edge); margin-top: 56px; font-size: 12px; color: var(--muted); }
@media (min-width: 900px) { .foot__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } .foot__grid > a:first-child { grid-column: auto; } }

/* ---------- PHONE / TABLET FIXES ---------- */
@media (max-width: 767px) {
  .card:last-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }   /* no lonely card in the last row */
  .hero__img { object-position: 72% 50%; }                          /* aim the tall crop at the furniture */
  .hero__img:nth-of-type(2) { object-position: 55% 50%; }
}
@media (max-width: 899px) {
  .foot__grid { grid-template-columns: 1fr 1.5fr; }                 /* room for the full email address */
}

@media (max-width: 360px) {                                         /* the narrowest phones: keep the header from crowding */
  .nav__bar { gap: 8px; }
  .nav__right { gap: 6px; }
  .btn--sm { padding: 0 10px; font-size: 12px; }
}
@media (max-height: 500px) and (orientation: landscape) {           /* phones held sideways: the headline must fit on screen */
  .hero__frame { min-height: 0; height: calc(100svh - 84px); }
  .hero__text { padding-top: 16px; padding-bottom: 20px; }
  .hero__text h1 { font-size: clamp(26px, 5.2vw, 40px); margin: 8px 0 10px; }
  .hero__sub { display: none; }
}
.about .h2, .faq .h2 { margin-bottom: 0; }                         /* the grid gap already spaces the heading from the text */

/* ---------- MOTION (modelled on anduril.com) ----------
   Reveals: text slides in from 10% left while fading, easeOutExpo, staggered 100ms.
   Rules:   thin lines draw from left to right.
   Images:  fade, settle from a slight zoom, and wipe up.
   Everything is only hidden when JS is running (.js), so nothing is lost without it. */
.values li, .row, .facts > div, .faq__list details { position: relative; }
.values li::before, .row::before, .facts > div::before, .faq__list details::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--rule, currentColor);
  transform-origin: left center;
}
.js .values li::before, .js .row::before, .js .facts > div::before, .js .faq__list details::before {
  transform: scaleX(0); transition: transform 1.4s var(--ease); transition-delay: var(--d, 0ms);
}
.js .values li.in::before, .js .row.in::before, .js .facts > div.in::before, .js .faq__list details.in::before { transform: scaleX(1); }

.js .rv { opacity: 0; transform: translate3d(-10%, 0, 0); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0ms); }
.js .rv--fade { transform: none; transition: opacity .6s ease-out; transition-delay: var(--d, 0ms); }
.js .rv--img { opacity: 0; transform: scale(1.05); clip-path: inset(0 0 14% 0); transition: opacity 1s var(--ease), transform 1.6s var(--ease), clip-path 1.4s var(--ease); transition-delay: var(--d, 0ms); }
.js .rv.in, .js .rv--fade.in, .js .rv--img.in { opacity: 1; transform: none; clip-path: inset(0); }

/* Hero intro on page load */
.js .hero__text > * { opacity: 0; transform: translate3d(-10%, 0, 0); }
.js .hero__img { transform: scale(1.12); }
.is-ready .hero__text > * { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.is-ready .hero__text > :nth-child(1) { transition-delay: .25s; }
.is-ready .hero__text > :nth-child(2) { transition-delay: .35s; }
.is-ready .hero__text > :nth-child(3) { transition-delay: .45s; }
.is-ready .hero__text > :nth-child(4) { transition-delay: .55s; }
.is-ready .hero__img { transform: none; transition: transform 2.4s var(--ease), opacity 1.8s ease-in-out; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .rv, .js .rv--fade, .js .rv--img, .js .hero__text > *, .js .nav__col2 li { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .js .hero__img { transform: none !important; }
  .js .values li::before, .js .row::before, .js .facts > div::before, .js .faq__list details::before { transform: scaleX(1) !important; }
}
