:root {
  color-scheme: dark;
  --paper: #f3f2ed;
  --muted: #a3a39f;
  --line: rgba(243, 242, 237, 0.22);
  --safe-x: clamp(1.5rem, 4.2vw, 5rem);
}

/* Exact typefaces served by brayand.co */
@font-face {
  font-family: "Bray DIN";
  font-style: normal;
  font-weight: 400;
  src: url("https://static.parastorage.com/fonts/v2/eca8b0cd-45d8-43cf-aee7-ca462bc5497c/v1/din-next-w01-light.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Bray Libre Baskerville";
  font-style: normal;
  font-weight: 400;
  src: url("https://static.parastorage.com/tag-bundler/api/v1/fonts-cache/googlefont/woff2/s/librebaskerville/v14/kmKnZrc3Hgbbcjq75U4uslyuy4kn0qNZaxMaC82U.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Bray Poppins";
  font-style: normal;
  font-weight: 400;
  src: url("https://static.parastorage.com/tag-bundler/api/v1/fonts-cache/googlefont/woff2/s/poppins/v5/h3r77AwDsldr1E_2g4qqGPk_vArhqVIZ0nv9q090hN8.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Bray Instrument Serif";
  font-style: italic;
  font-weight: 400;
  src: url("https://static.parastorage.com/tag-bundler/api/v1/fonts-cache/googlefont/woff2/s/instrumentserif/v5/jizHRFtNs2ka5fXjeivQ4LroWlx-6zAjjH7Motmp5g.woff2") format("woff2");
  font-display: swap;
}

* { box-sizing: border-box; }

html { background: #000; scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  background: #020b1d;
  color: var(--paper);
  font-family: "Bray Poppins", Arial, sans-serif;
}

body { overflow-x: hidden; }

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

.page-video-background {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  background: #020b1d url("assets/background-bac.png") center / cover no-repeat;
  pointer-events: none;
}

.page-video-background__overlay {
  position: absolute;
  inset: 0;
}

.page-video-background__motion {
  position: absolute;
  inset: -4%;
  transform: scale(1.065);
  will-change: transform;
}

.page-video-background__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-video-background__overlay {
  background: linear-gradient(120deg, rgba(0, 9, 28, .44), rgba(0, 10, 32, .14) 54%, rgba(0, 8, 25, .48));
}

.page-video-loading {
  position: fixed;
  z-index: 1;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  letter-spacing: .02em;
  pointer-events: none;
  transition: opacity .35s ease, visibility .35s ease;
}

.page-video-loading.is-hidden { visibility: hidden; opacity: 0; }

.landing-page {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  z-index: 2;
}

.hero-background {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-background__image,
.hero-background__overlay {
  position: absolute;
  inset: 0;
}

.hero-background__image {
  transform: translate3d(0, 0, 0);
  transform-origin: center;
  will-change: transform;
}

.hero-background__image::before {
  position: absolute;
  inset: 0;
  background: url("assets/background-bac.png") center / cover no-repeat;
  content: "";
  transform: translate3d(0, 0, 0) scale(1.065);
  animation: hero-background-drift 18s ease-in-out infinite alternate;
  will-change: transform;
}

.hero-background__overlay {
  background: linear-gradient(180deg, rgba(0, 9, 28, .16), rgba(0, 7, 22, .3));
}

@keyframes hero-background-drift {
  0% { transform: translate3d(-5px, -4px, 0) scale(1.065); }
  50% { transform: translate3d(5px, 3px, 0) scale(1.072); }
  100% { transform: translate3d(-2px, 6px, 0) scale(1.067); }
}

.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: clamp(1.5rem, 3.6vw, 3rem) var(--safe-x);
  position: relative;
  z-index: 2;
}

.logo {
  display: block;
  justify-self: start;
  width: clamp(6.8rem, 8.1vw, 8.2rem);
  line-height: 0;
}

.logo img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1) sepia(8%) saturate(321%) hue-rotate(0deg) brightness(104%) contrast(90%);
}

.desktop-nav { display: flex; align-items: center; gap: clamp(.95rem, 1.65vw, 2rem); }

.desktop-nav a,
.header-cta {
  color: var(--muted);
  font-family: "Bray DIN", Arial, sans-serif;
  font-size: .75rem;
  letter-spacing: .045em;
  transition: color .2s ease;
}

.desktop-nav a:hover { color: #ffd700; }
.header-cta:hover { color: var(--paper); }

.header-actions { display: flex; align-items: center; justify-self: end; }
.header-cta { color: var(--paper); }
.header-cta span { display: inline-block; margin-left: .2rem; transition: transform .2s ease; }
.header-cta:hover span { transform: translate(2px, -2px); }

.menu-toggle { display: none; }

.hero {
  position: fixed;
  z-index: 10;
  inset: 0;
  display: flex;
  height: 100svh;
  min-height: 100svh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: clamp(7rem, 12vh, 9rem) var(--safe-x);
  pointer-events: none;
  text-align: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 1.55rem;
  color: #c9c8c3;
  font-family: "Bray DIN", Arial, sans-serif;
  font-size: .7rem;
  letter-spacing: .085em;
  text-transform: uppercase;
}

.eyebrow span { width: .38rem; height: .38rem; border-radius: 50%; background: #d8ff50; box-shadow: 0 0 14px rgba(216,255,80,.5); }

h1 {
  max-width: min(100%, 1200px);
  margin: 0;
  color: var(--paper);
  font-family: "Josefin Sans", Arial, sans-serif;
  font-size: clamp(3rem, 4.55vw, 4.75rem);
  font-weight: 400;
  letter-spacing: -.075em;
  line-height: .93;
  text-transform: uppercase;
}

.scroll-float-line { display: block; }
.scroll-float-word { display: inline-block; white-space: nowrap; }
.scroll-float-char,
.char { display: inline-block; will-change: transform, opacity; }

.hero-message { margin-top: clamp(1.2rem, 2vw, 1.75rem); }

.hero-copy {
  max-width: 650px;
  margin: 0;
  color: var(--paper);
  font-family: "Bray Poppins", Arial, sans-serif;
  font-size: clamp(.82rem, 1vw, .95rem);
  letter-spacing: .015em;
  line-height: 1.55;
  text-transform: uppercase;
}

.hero-accent {
  margin: .32rem 0 0;
  color: #ffd700;
  font-family: "Bray Instrument Serif", Georgia, serif;
  font-size: 1.22em;
  font-style: italic;
  letter-spacing: -.035em;
  line-height: 1;
}

.hero-actions { display: flex; align-items: center; gap: .65rem; margin-top: clamp(1.7rem, 3vw, 2.15rem); }
.hero-actions { pointer-events: auto; }

.button {
  display: inline-flex;
  min-height: 2.7rem;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: 0 1.18rem;
  border: 1px solid transparent;
  font-family: "Bray DIN", Arial, sans-serif;
  font-size: .73rem;
  letter-spacing: .04em;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.button span { font-size: .9rem; line-height: 1; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--paper); color: #050505; }
.button-primary:hover { background: #d7d6d0; }
.button-secondary { border-color: var(--line); color: var(--paper); }
.button-secondary:hover { border-color: var(--paper); }

.stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 2rem;
  padding: 0 var(--safe-x) clamp(1.6rem, 3.6vw, 3.2rem);
}

.stat { display: flex; align-items: center; gap: .8rem; min-width: 0; }
.stat:nth-child(2) { justify-self: center; }
.stat:nth-child(3) { justify-self: end; }
.stat svg { width: 1.15rem; height: 1.15rem; flex: 0 0 auto; fill: none; stroke: #c9c8c3; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.35; }
.stat p { display: flex; align-items: baseline; gap: .45rem; margin: 0; white-space: nowrap; }
.stat strong { color: var(--paper); font-family: "Bray DIN", Arial, sans-serif; font-size: .79rem; font-weight: 400; }
.stat span { color: #858580; font-family: "Bray DIN", Arial, sans-serif; font-size: .68rem; letter-spacing: .01em; }

.mobile-menu { display: none; }
.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; }

@media (max-width: 700px) {
  .landing-page { height: auto; min-height: 100svh; overflow: visible; }
  .hero-background__image::before { animation: none; transform: scale(1.065); }
  .site-header { grid-template-columns: 1fr auto; padding: 1.45rem var(--safe-x); }
  .desktop-nav { display: none; }
  .header-actions { gap: 1.2rem; }
  .header-cta { font-size: .6rem; }
  .menu-toggle { display: flex; width: 1.35rem; height: 1rem; align-items: flex-end; justify-content: center; flex-direction: column; gap: .32rem; padding: 0; border: 0; background: transparent; color: var(--paper); cursor: pointer; }
  .menu-toggle span { display: block; width: 100%; height: 1px; background: currentColor; transition: transform .25s ease; }
  .menu-toggle span:last-child { width: 65%; }
  .menu-toggle[aria-expanded="true"] span:first-of-type { transform: translateY(2.6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-of-type { width: 100%; transform: translateY(-2.6px) rotate(-45deg); }
  .mobile-menu { position: fixed; z-index: 1; inset: 0; display: flex; visibility: hidden; flex-direction: column; justify-content: space-between; padding: 7.5rem var(--safe-x) 2rem; background: #000; opacity: 0; pointer-events: none; transition: opacity .25s ease, visibility .25s ease; }
  .mobile-menu.is-open { visibility: visible; opacity: 1; pointer-events: auto; }
  .mobile-menu nav { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
  .mobile-menu nav a { display: flex; align-items: baseline; justify-content: space-between; padding: 1.25rem 0; border-bottom: 1px solid var(--line); color: var(--paper); font-family: "Bray Libre Baskerville", Georgia, serif; font-size: clamp(2.5rem, 10vw, 4rem); letter-spacing: -.07em; line-height: 1; }
  .mobile-menu nav a:hover { color: #ffd700; }
  .mobile-menu nav a span { color: var(--muted); font-family: "Bray DIN", Arial, sans-serif; font-size: .65rem; letter-spacing: 0; }
  .menu-contact { color: var(--muted); font-family: "Bray DIN", Arial, sans-serif; font-size: .72rem; }
  .hero { width: 100%; min-height: 100svh; padding: 7rem var(--safe-x); }
  h1 { font-size: clamp(3.3rem, 14.4vw, 5rem); line-height: .9; }
  .hero-copy { max-width: 350px; font-size: .78rem; }
  .stats { grid-template-columns: 1fr; gap: .9rem; justify-items: center; padding: 1.5rem var(--safe-x) 2rem; border-top: 1px solid rgba(243,242,237,.13); }
  .stat, .stat:nth-child(2), .stat:nth-child(3) { justify-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  .page-video-background__video { display: none; }
  .page-video-loading { display: none; }
  .hero-background__image::before {
    transform: scale(1.065) !important;
    animation: none;
  }
}

@media (max-width: 480px) {
  :root { --safe-x: 1.25rem; }
  .hero { width: 100%; min-height: 100svh; padding: 6rem var(--safe-x); }
  h1 { font-size: clamp(2rem, 10.1vw, 3rem); line-height: 1.02; }
  .eyebrow { font-size: .57rem; }
  .hero-actions { width: 100%; flex-direction: column; gap: .55rem; }
  .button { width: 100%; }
}

@media (max-height: 750px) and (min-width: 701px) {
  .site-header { padding-top: 1.65rem; padding-bottom: 1.65rem; }
  .eyebrow { margin-bottom: 1rem; }
  .hero-copy { margin-top: 1rem; }
  .hero-actions { margin-top: 1.3rem; }
  .stats { padding-bottom: 1.45rem; }
}

.what-we-do {
  position: relative;
  z-index: 2;
  isolation: isolate;
  overflow: hidden;
  background: rgba(2, 12, 31, .76);
  color: #f8f5e8;
  padding: clamp(4.5rem, 8vw, 8rem) var(--safe-x) clamp(5rem, 9vw, 9rem);
}

.what-we-do::before,
.what-we-do::after {
  display: none;
}

.what-we-do__inner {
  position: relative;
  max-width: 1500px;
  margin: 0 auto;
}

.what-we-do__title-block { margin-bottom: clamp(2rem, 4vw, 3.8rem); }

.what-we-do h2 {
  margin: 0;
  font-family: "Josefin Sans", Arial, sans-serif;
  font-size: clamp(2rem, 3.2vw, 3.9rem);
  font-weight: 500;
  letter-spacing: -.06em;
  line-height: .9;
}

.what-we-do h2 em {
  color: #ffd700;
  font-family: "Bray Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.07em;
  margin-left: .12em;
}

.what-we-do__media { position: relative; }

.video-shell {
  position: relative;
  aspect-ratio: 1.93 / 1;
  overflow: hidden;
  border-radius: clamp(1.25rem, 2vw, 2rem);
  background: #000;
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, .22);
}

.video-fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(1, 12, 32, .55), rgba(1, 12, 32, .08)), url("assets/background-bac.png") center / cover no-repeat;
  filter: saturate(.85) contrast(1.1);
}

.what-we-do__video {
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: transparent;
  border: 0;
  object-fit: cover;
}

.video-play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: clamp(4.1rem, 6vw, 5.25rem);
  height: clamp(4.1rem, 6vw, 5.25rem);
  place-items: center;
  padding: 0;
  border: 1px solid rgba(248, 245, 232, .72);
  border-radius: 50%;
  background: rgba(1, 14, 38, .25);
  color: #f8f5e8;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: background-color .2s ease, transform .2s ease, opacity .2s ease;
}

.video-play:hover { background: rgba(248, 245, 232, .16); transform: translate(-50%, -50%) scale(1.06); }
.video-play:disabled { cursor: default; opacity: 1; }
.video-play svg { width: 1.45rem; height: 1.45rem; fill: currentColor; }
.video-shell.is-playing .video-play { opacity: 0; pointer-events: none; }
.video-shell:hover .video-play { opacity: 1; pointer-events: auto; }

.what-we-do__copy {
  --copy-inset: clamp(1.25rem, 3vw, 3rem);
  position: absolute;
  z-index: 3;
  bottom: var(--copy-inset);
  left: clamp(1.25rem, 4vw, 4rem);
  width: min(42%, 510px);
  padding: clamp(1.25rem, 2.2vw, 2.25rem);
  border: 1px solid rgba(248, 245, 232, .2);
  border-radius: clamp(1.25rem, 2vw, 2rem);
  background: linear-gradient(135deg, rgba(15, 41, 88, .72), rgba(1, 13, 36, .58));
  box-shadow: 0 1.25rem 3.5rem rgba(0, 4, 18, .22), inset 0 1px 0 rgba(255, 255, 255, .18);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: "Bray Poppins", Arial, sans-serif;
  font-size: clamp(.78rem, .94vw, .96rem);
  letter-spacing: -.012em;
  line-height: 1.6;
  transition: top .5s cubic-bezier(.22, 1, .36, 1), bottom .5s cubic-bezier(.22, 1, .36, 1), width .5s cubic-bezier(.22, 1, .36, 1);
}

.what-we-do__copy[data-expanded="true"] { top: var(--copy-inset); bottom: var(--copy-inset); }
.what-we-do__copy p { margin: 0 0 1.1rem; }
.what-we-do__copy .what-we-do__intro { margin-bottom: 1.35rem; font-size: 1.08em; line-height: 1.55; }
.what-we-do__more { display: block; flex: 0 0 0; min-height: 0; opacity: 0; overflow: hidden; transition: opacity .35s ease; }
.what-we-do__more-inner { overflow: visible; }
.what-we-do__copy[data-expanded="true"] .what-we-do__more { flex: 1 1 auto; opacity: 1; overflow-y: auto; padding-right: .55rem; overscroll-behavior: contain; }
.what-we-do__more::-webkit-scrollbar { width: .32rem; }
.what-we-do__more::-webkit-scrollbar-track { background: transparent; }
.what-we-do__more::-webkit-scrollbar-thumb { border-radius: 1rem; background: rgba(248, 245, 232, .48); }
.what-we-do__copy .what-we-do__pause { margin: 2.25rem 0; font-family: "Bray Instrument Serif", Georgia, serif; font-size: clamp(2.8rem, 4vw, 4.7rem); font-style: italic; letter-spacing: -.075em; line-height: .8; }
.what-we-do__copy .what-we-do__signature { margin: 2.5rem 0 1rem; font-family: "Josefin Sans", Arial, sans-serif; font-size: 1.2em; font-weight: 500; letter-spacing: -.035em; line-height: 1.22; }
.what-we-do__signature em { font-family: "Bray Instrument Serif", Georgia, serif; font-size: 1.14em; font-weight: 400; }

.what-we-do__toggle {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .68rem 0 0;
  border: 0;
  border-top: 1px solid rgba(248, 245, 232, .44);
  background: transparent;
  color: #f8f5e8;
  cursor: pointer;
  font-family: "Bray DIN", Arial, sans-serif;
  font-size: .74rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  flex: 0 0 auto;
}

.what-we-do__toggle span { font-size: 1rem; transition: transform .25s ease; }
.what-we-do__copy[data-expanded="true"] .what-we-do__toggle span { transform: rotate(180deg); }
.what-we-do__portfolio {
  position: absolute;
  z-index: 4;
  right: clamp(1.25rem, 4vw, 4rem);
  top: clamp(1.25rem, 3vw, 3rem);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .72rem 1.05rem;
  border: 1px solid rgba(248, 245, 232, .55);
  border-radius: 999px;
  background: rgba(0, 23, 61, .5);
  color: #f8f5e8;
  font-family: "Bray DIN", Arial, sans-serif;
  font-size: .74rem;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.what-we-do__portfolio:hover, .what-we-do__portfolio:focus-visible { border-color: #ffd700; background: #ffd700; color: #00173d; outline: none; }

@media (max-width: 700px) {
  .what-we-do { padding: 4.5rem var(--safe-x) 5rem; }
  .what-we-do__title-block { margin-bottom: 1.7rem; }
  .what-we-do h2 { font-size: clamp(2.8rem, 13vw, 4.4rem); }
  .video-shell { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 1.5rem; }
  .video-fallback, .what-we-do__video { border-radius: inherit; }
  .what-we-do__copy { --copy-inset: 1rem; left: var(--copy-inset); width: calc(100% - (var(--copy-inset) * 2)); padding: 1.35rem; font-size: .86rem; line-height: 1.65; }
  .what-we-do__portfolio { right: 1rem; top: 1rem; }
  .what-we-do__copy .what-we-do__pause { margin: 2.25rem 0; font-size: 3.7rem; }
}
