/* ============ FOCUS LENS — website styles ============ */
:root {
  --navy: #0F1E3D;
  --navy-deep: #0A1530;
  --navy-line: #24345a;
  --gold: #C9A96E;
  --gold-soft: #dcc196;
  --ivory: #F7F3E8;
  --ivory-2: #ECE5D3;
  --muted: #A9B1C4;
  --ink-muted: #4a5878;
  --head: 'Archivo Black', 'Arial Black', sans-serif;
  --body: 'Montserrat', Arial, sans-serif;
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--navy-deep); color: var(--ivory); font-family: var(--body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 400; line-height: 1.05; margin: 0; letter-spacing: .5px; }
h2 { font-size: clamp(32px, 5vw, 56px); text-transform: uppercase; }
h3 { font-size: 20px; text-transform: uppercase; letter-spacing: 1px; }
p { margin: 0 0 1em; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }

.eyebrow { font-weight: 700; font-size: 12px; letter-spacing: 5px; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: 700 13px/1 var(--body); letter-spacing: 2px; text-transform: uppercase; text-decoration: none; padding: 17px 28px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s; }
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--gold-soft); }
.btn--ghost { border-color: rgba(247, 243, 232, .35); color: var(--ivory); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--sm { padding: 12px 20px; font-size: 11px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.nav.is-scrolled { background: rgba(10, 21, 48, .92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--navy-line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav__logo img { height: 30px; width: auto; }
.nav__links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 30px); }
.nav__links a { white-space: nowrap; }
.nav__links a:not(.btn) { text-decoration: none; font-weight: 600; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); transition: color .2s; }
.nav__links a:not(.btn):hover { color: var(--ivory); }
.nav__toggle { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ivory); transition: transform .3s, top .3s; }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav.is-open .nav__toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: 120px 0 140px; }
.hero__bg { position: absolute; inset: 0; background:
  radial-gradient(ellipse 60% 55% at 70% 40%, rgba(201, 169, 110, .14), transparent 70%),
  radial-gradient(ellipse at 50% 40%, #16294f 0%, var(--navy) 50%, var(--navy-deep) 100%); }
.hero__bg::after { /* subtle film grain */ content: ""; position: absolute; inset: 0; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero__content { position: relative; }
.hero__title { font-size: clamp(46px, 10vw, 128px); text-transform: uppercase; line-height: .98; margin-bottom: 30px; }
.hero__title .pull { display: block; }
.hero__title em { font-style: normal; color: var(--gold); }
.hero__lead { max-width: 560px; color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); margin-bottom: 38px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* focus pull on load */
.pull { animation: pull 1.8s var(--ease) both; }
.pull--2 { animation-delay: .25s; }
.pull--3 { animation-delay: .5s; }
@keyframes pull {
  0% { filter: blur(22px); opacity: 0; transform: scale(1.04); }
  60% { filter: blur(0); opacity: 1; transform: none; }
  72% { filter: blur(3px); }
  100% { filter: blur(0); opacity: 1; }
}
.hero__lead, .hero__actions, .hero .eyebrow { animation: fadeUp 1s var(--ease) 1.1s both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* focus scale (ticks + gold marker) */
.focus-scale { position: absolute; left: 0; right: 0; bottom: 48px; height: 46px; pointer-events: none;
  background:
    linear-gradient(var(--gold), var(--gold)) 50% 0 / 3px 26px no-repeat,
    repeating-linear-gradient(90deg, rgba(247, 243, 232, .5) 0 2px, transparent 2px 90px) calc(50% - 1px) 0 / 100% 22px repeat-x,
    repeating-linear-gradient(90deg, rgba(247, 243, 232, .28) 0 2px, transparent 2px 18px) calc(50% - 1px) 0 / 100% 13px repeat-x;
  -webkit-mask: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
          mask: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
  animation: ring 2.4s var(--ease) .2s both; }
.focus-scale__marker { position: absolute; left: 50%; top: 32px; width: 0; height: 0; transform: translateX(-50%);
  border-left: 8px solid transparent; border-right: 8px solid transparent; border-bottom: 12px solid var(--gold); }
@keyframes ring { from { background-position: 50% 0, calc(50% + 260px) 0, calc(50% + 260px) 0; opacity: 0; } to { opacity: 1; } }

/* ---------- sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section--ivory { background: var(--ivory); color: var(--navy); }
.section--navy { background: var(--navy); }
.section--deep { background: var(--navy-deep); }
.section__head { margin-bottom: clamp(40px, 6vw, 70px); }
.section__head--center { text-align: center; }
.section__head--center .eyebrow { justify-content: center; }
.section__head--split { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* reveal on scroll: elements come into focus */
.reveal { opacity: 0; filter: blur(10px); transform: translateY(24px); transition: opacity .9s var(--ease), filter .9s var(--ease), transform .9s var(--ease); }
.reveal.in-focus { opacity: 1; filter: none; transform: none; }

/* ---------- services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(15, 30, 61, .14); border: 1px solid rgba(15, 30, 61, .14); border-radius: var(--radius); overflow: hidden; }
.service { background: var(--ivory); padding: 40px 34px 44px; position: relative; transition: background .3s; }
.service:hover { background: #fff; }
.service::after { content: ""; position: absolute; left: 34px; bottom: 0; height: 3px; width: 0; background: var(--gold); transition: width .4s var(--ease); }
.service:hover::after { width: calc(100% - 68px); }
.service__num { font-family: var(--head); color: var(--gold); font-size: 14px; letter-spacing: 2px; display: block; margin-bottom: 26px; }
.service h3 { margin-bottom: 14px; }
.service p { color: var(--ink-muted); font-size: 15px; margin: 0; }

/* ---------- showreel ---------- */
.reel { position: relative; aspect-ratio: 16 / 9; border-radius: 6px; background: #000; padding: 0; }
.reel video { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.corner { position: absolute; width: 38px; height: 38px; border: 3px solid var(--ivory); z-index: 2; pointer-events: none; }
.corner--tl { top: -14px; left: -14px; border-right: 0; border-bottom: 0; }
.corner--tr { top: -14px; right: -14px; border-left: 0; border-bottom: 0; }
.corner--bl { bottom: -14px; left: -14px; border-right: 0; border-top: 0; }
.corner--br { bottom: -14px; right: -14px; border-left: 0; border-top: 0; }
.reel__play { position: absolute; inset: 0; margin: auto; width: 96px; height: 96px; border-radius: 50%; border: 0; background: var(--gold); color: var(--navy); font-size: 28px; cursor: pointer; z-index: 3; box-shadow: 0 0 0 12px rgba(201, 169, 110, .22); transition: transform .3s var(--ease), opacity .3s; }
.reel__play span { margin-left: 6px; }
.reel__play:hover { transform: scale(1.08); }
.reel.is-playing .reel__play { opacity: 0; pointer-events: none; }
.reel__rec { position: absolute; top: 18px; right: 22px; z-index: 3; font: 700 12px var(--body); letter-spacing: 2px; display: flex; align-items: center; gap: 8px; opacity: 0; transition: opacity .3s; }
.reel__rec i { width: 10px; height: 10px; border-radius: 50%; background: #e0392f; animation: blink 1s steps(2) infinite; }
.reel.is-playing .reel__rec { opacity: 1; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- work ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { font: 600 12px var(--body); letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); background: none; border: 1.5px solid var(--navy-line); padding: 10px 18px; border-radius: 999px; cursor: pointer; transition: all .2s; }
.filter:hover { color: var(--ivory); border-color: var(--muted); }
.filter.is-active { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.work { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 30px; }
.project { display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.project.is-hidden { display: none; }
.project__media { aspect-ratio: 16 / 9; border-radius: 10px; position: relative; overflow: hidden; background: #0b1631; }
.project__media::before { /* the cover image, zooms slightly on hover */ content: ""; position: absolute; inset: 0;
  background: var(--img) center / cover; transition: transform .8s var(--ease), filter .5s; filter: saturate(.9) brightness(.85); }
.project:hover .project__media::before, .project:focus-visible .project__media::before { transform: scale(1.05); filter: none; }
.project__media::after { /* play button */ content: "▶"; position: absolute; inset: 0; margin: auto; width: 68px; height: 68px; border-radius: 50%;
  display: grid; place-items: center; padding-left: 4px; font-size: 20px; color: var(--navy); background: var(--gold);
  box-shadow: 0 0 0 10px rgba(201, 169, 110, .25); transition: transform .3s var(--ease); }
.project:hover .project__media::after { transform: scale(1.1); }
.project__time { position: absolute; right: 12px; bottom: 12px; z-index: 1; font-size: 12px; font-weight: 700; letter-spacing: 1px; background: rgba(10, 21, 48, .8); padding: 4px 9px; border-radius: 6px; }
.project__info { padding: 18px 4px 0; }
.tag { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }
.project h3 { margin: 6px 0 4px; font-size: 19px; transition: color .2s; }
.project:hover h3 { color: var(--gold); }
.project p { color: var(--muted); font-size: 14px; margin: 0; }

/* ---------- process ---------- */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; counter-reset: s; position: relative; }
.process::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: repeating-linear-gradient(90deg, rgba(15, 30, 61, .25) 0 2px, transparent 2px 12px); }
.step { position: relative; }
.step__n { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: var(--gold); font-family: var(--head); font-size: 14px; margin-bottom: 26px; position: relative; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--ink-muted); font-size: 15px; margin: 0; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about__text h2 { margin-bottom: 28px; }
.about__text p { color: var(--muted); font-size: 17px; }
.values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--navy-line); border: 1px solid var(--navy-line); border-radius: var(--radius); overflow: hidden; }
.values li { background: var(--navy); padding: 30px 26px; }
.values strong { display: block; font-family: var(--head); font-weight: 400; text-transform: uppercase; font-size: 17px; color: var(--gold); margin-bottom: 8px; letter-spacing: .5px; }
.values span { color: var(--muted); font-size: 14px; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 7vw, 90px); align-items: start; }
.contact__intro h2 { margin-bottom: 22px; }
.contact__intro > p { color: var(--muted); font-size: 17px; }
.contact__list { list-style: none; padding: 0; margin: 34px 0 0; }
.contact__list li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid var(--navy-line); }
.contact__list span { color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding-top: 2px; }
.contact__list a, .contact__list p { margin: 0; text-decoration: none; font-weight: 600; }
.contact__list a:hover { color: var(--gold); }
.form { background: var(--navy); border: 1px solid var(--navy-line); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.form input, .form select, .form textarea { font: 500 15px var(--body); color: var(--ivory); background: var(--navy-deep); border: 1.5px solid var(--navy-line); border-radius: 10px; padding: 14px 16px; width: 100%; transition: border-color .2s; text-transform: none; letter-spacing: 0; }
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); }
.form .is-invalid { border-color: #e0756b; }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- video player ---------- */
.player { position: fixed; inset: 0; z-index: 100; background: rgba(5, 10, 24, .92); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; }
.player[hidden] { display: none; }
.player__inner { width: min(1200px, 100%); }
.player__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.player__bar h3 { font-size: clamp(15px, 2vw, 20px); }
.player__close { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--navy-line); background: var(--navy); color: var(--ivory); font-size: 18px; cursor: pointer; }
.player__close:hover { border-color: var(--gold); color: var(--gold); }
.player video { width: 100%; max-height: 80vh; background: #000; border-radius: 8px; }
.form__note { margin: 0; font-size: 14px; color: var(--gold); min-height: 1.4em; }

/* ---------- footer ---------- */
.footer { background: #070f24; padding: 70px 0 40px; border-top: 1px solid var(--navy-line); }
.footer__inner { display: grid; grid-template-columns: auto 1fr; gap: 30px 60px; align-items: center; }
.footer__logo { width: 240px; height: auto; }
.footer__links, .footer__social { display: flex; flex-wrap: wrap; gap: 26px; justify-content: flex-end; }
.footer__links a, .footer__social a { text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.footer__links a:hover, .footer__social a:hover { color: var(--gold); }
.footer__social { grid-column: 2; }
.footer__slogan { grid-column: 1 / -1; margin: 10px 0 0; font-family: var(--head); text-transform: uppercase; font-size: clamp(22px, 3vw, 30px); color: var(--gold); letter-spacing: 1px; }
.footer__copy { grid-column: 1 / -1; margin: 20px 0 0; padding-top: 26px; border-top: 1px solid var(--navy-line); color: #6d7895; font-size: 13px; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .services { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; row-gap: 46px; }
  .process::before { display: none; }
  .about, .contact { grid-template-columns: 1fr; }
}
@media (max-width: 1000px) {
  .nav__toggle { display: block; }
  .nav__links { position: fixed; inset: 76px 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 16px 24px; background: rgba(10, 21, 48, .98); border-bottom: 1px solid var(--navy-line); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .3s var(--ease); }
  .nav.is-open .nav__links { transform: none; opacity: 1; visibility: visible; }
  .nav.is-open { background: rgba(10, 21, 48, .98); }
  .nav__links a:not(.btn) { padding: 16px 4px; border-bottom: 1px solid var(--navy-line); font-size: 14px; }
  .nav__links .btn { margin-top: 18px; }
}
@media (max-width: 640px) {
  .services, .work, .values, .form__row { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .service { padding: 32px 24px 36px; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__links, .footer__social { justify-content: flex-start; grid-column: auto; }
  .contact__list li { grid-template-columns: 90px 1fr; }
  .corner { width: 26px; height: 26px; }
  .corner--tl, .corner--tr { top: -10px; } .corner--bl, .corner--br { bottom: -10px; }
  .corner--tl, .corner--bl { left: -10px; } .corner--tr, .corner--br { right: -10px; }
  .reel__play { width: 72px; height: 72px; font-size: 22px; }
}
/* ---------- opening screen (intro video, once per visit) ---------- */
.splash { display: none; }
.splash-on .splash { display: grid; place-items: center; position: fixed; inset: 0; z-index: 200; background: radial-gradient(ellipse at 50% 48%, #16305a, #112448 45%, #0b1834); transition: opacity .5s var(--ease), visibility .5s; }
.splash-on:not(.splash-out) body { overflow: hidden; }
.splash video { width: min(100vw, 177.78vh); aspect-ratio: 16 / 9; height: auto; display: block;
  /* fade the frame's edges into the backdrop so no seam shows on any screen shape */
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent), linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent), linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  mask-composite: intersect; }
.splash.is-done { opacity: 0; visibility: hidden; }
.splash__skip, .player__skip { font: 600 12px/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--ivory); background: rgba(15, 30, 61, .6); border: 1.5px solid var(--navy-line); border-radius: 999px; padding: 12px 20px; cursor: pointer; }
.splash__skip { position: absolute; right: 24px; bottom: 24px; }
.splash__skip:hover, .player__skip:hover { border-color: var(--gold); color: var(--gold); }
.player__skip { margin-left: auto; }
.player__skip[hidden] { display: none; }
/* hold the hero's focus-pull until the opening screen is gone */
.splash-on:not(.splash-out) .hero *, .splash-on:not(.splash-out) .hero *::before, .splash-on:not(.splash-out) .hero *::after { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; filter: none; transform: none; }
}
