/* Haus of Visuals
   Monochrome, taken straight from the logo: white on black, with the logo's own
   charcoal (#1A1A1A) for raised surfaces. The client's footage supplies the colour.
   Type: Bodoni Moda (echoes the high-contrast HV monogram) + Poppins (the wordmark face). */

:root {
  --black: #000000;
  --charcoal: #1a1a1a;
  --graphite: #2b2b2b;
  --grey: #b0b0b0;
  --white: #ffffff;
  --line: rgba(255, 255, 255, 0.16);

  --serif: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif; /* display: bold Poppins, the wordmark face */
  --sans: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --section: clamp(80px, 12vw, 160px);
  --radius-media: 14px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.025em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--white); color: var(--black);
  padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 500;
}
.skip-link:focus { top: 16px; }

/* ---------- Cinematic background ---------- */
.page-bg {
  position: fixed; inset: 0; z-index: -1;
  overflow: hidden; pointer-events: none;
  background: #1f1f1f;
}
.page-bg__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  /* Oversized so the blur doesn't reveal soft edges */
  transform: scale(1.25);
  filter: grayscale(1) blur(36px) brightness(0.62) contrast(1.2);
  opacity: 0;
  transition: opacity 2s ease;
}
.page-bg__video.is-ready { opacity: 1; }
/* Gentle vignette keeps text crisp and the edges dark */
.page-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(0,0,0,0) 0%, rgba(0,0,0,.2) 60%, rgba(0,0,0,.55) 100%);
}

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; scroll-margin-top: 0; }
#work, #services, #about, #contact { scroll-margin-top: -40px; }

.section__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: clamp(32px, 5vw, 64px);
}

/* ---------- Buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px;
  border-radius: 999px; border: 1px solid var(--white);
  font: 500 0.95rem/1 var(--sans);
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.button--solid { background: var(--white); color: var(--black); }
.button--solid:hover { background: transparent; color: var(--white); }
.button--ghost { background: transparent; color: var(--white); }
.button--ghost:hover { background: var(--white); color: var(--black); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(0, 0, 0, 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.site-header__inner {
  max-width: var(--max); margin: 0 auto; padding: 14px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { height: 52px; width: auto; }
.brand__name { font-family: var(--sans); font-weight: 600; font-size: 1rem; letter-spacing: 0.01em; }

.nav__list { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 36px); }
.nav__list a { text-decoration: none; font-size: 0.95rem; font-weight: 400; }
.nav__list a:not(.nav__cta):hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.nav__cta {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px;
  border: 1px solid var(--white); border-radius: 999px; font-weight: 500 !important;
  transition: background-color .2s, color .2s;
}
.nav__cta:hover { background: var(--white); color: var(--black); }
.nav__toggle { display: none; }

@media (max-width: 760px) {
  .nav__toggle {
    display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px;
    background: transparent; color: var(--white); border: 1px solid var(--white);
    border-radius: 999px; font: 500 0.9rem var(--sans); cursor: pointer;
  }
  .nav__list {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--black); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px;
    display: none;
  }
  .nav__list.is-open { display: flex; }
  .nav__list li a:not(.nav__cta) {
    display: block; padding: 14px 0; border-bottom: 1px solid var(--line);
    font-family: var(--serif); font-size: 1.75rem;
  }
  .nav__cta { margin-top: 20px; justify-content: center; min-height: 48px; }
  .brand__name { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  max-width: var(--max); margin: 0 auto;
  min-height: 100vh; min-height: 100svh;
  padding: 120px var(--gutter) 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
}
.hero__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
  max-width: 14em;
}
.hero__lede { max-width: 34rem; margin-top: 32px; color: rgba(255,255,255,.9); font-size: 1.125rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero__reel {
  position: relative; margin: 0;
  height: min(78vh, 760px);
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-media);
  overflow: hidden;
  background: var(--charcoal);
}
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__caption {
  position: absolute; left: 16px; bottom: 16px;
  font-size: 0.8rem; font-weight: 400;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(0,0,0,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero__pause {
  position: absolute; right: 14px; bottom: 14px;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.4);
  color: var(--white); cursor: pointer; padding: 0;
}
.hero__pause svg { width: 14px; height: 14px; fill: currentColor; }
.hero__pause .icon-play { display: none; }
.hero__pause[aria-pressed="true"] .icon-play { display: block; }
.hero__pause[aria-pressed="true"] .icon-pause { display: none; }

/* One orchestrated entrance: the headline lines rise, then the reel arrives. */
@media (prefers-reduced-motion: no-preference) {
  .hero__title, .hero__lede, .hero__actions, .hero__reel { animation: rise 1s cubic-bezier(.2,.7,.2,1) both; }
  .hero__lede { animation-delay: .3s; }
  .hero__actions { animation-delay: .5s; }
  .hero__reel { animation: reveal 1.3s cubic-bezier(.2,.7,.2,1) .2s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes reveal { from { opacity: 0; clip-path: inset(12% 0 12% 0 round var(--radius-media)); } to { opacity: 1; clip-path: inset(0 0 0 0 round var(--radius-media)); } }

/* On phones the vertical reel fills the screen behind the headline. */
@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    align-items: end;
    padding-bottom: 48px;
  }
  .hero__reel {
    position: absolute; inset: 0;
    height: auto; aspect-ratio: auto; border-radius: 0;
    z-index: 0;
  }
  .hero__reel::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(to bottom, rgba(0,0,0,.55) 0%, rgba(0,0,0,.1) 35%, rgba(0,0,0,.85) 72%, #000 100%);
  }
  .hero__copy { position: relative; z-index: 1; }
  .hero__caption { top: 84px; bottom: auto; left: auto; right: var(--gutter); z-index: 2; }
  .hero__pause { top: 84px; bottom: auto; right: auto; left: var(--gutter); z-index: 2; }
  .hero__lede { font-size: 1rem; margin-top: 20px; }
  @media (prefers-reduced-motion: no-preference) {
    .hero__reel { animation: fade 1.2s ease both; }
  }
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Strip ---------- */
.strip {
  background: var(--white); color: var(--black);
  overflow: hidden; padding: 18px 0;
}
.strip__track {
  display: flex; align-items: center; gap: 28px; width: max-content;
  font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1; font-weight: 600; letter-spacing: -0.02em;
  white-space: nowrap;
}
.strip__track i {
  width: 0; height: 0;
  border-top: .3em solid transparent; border-bottom: .3em solid transparent;
  border-left: .5em solid var(--black);
}
@media (prefers-reduced-motion: no-preference) {
  .strip__track { animation: marquee 40s linear infinite; }
}
@keyframes marquee { to { transform: translateX(calc(-50% - 14px)); } }

/* ---------- Work ---------- */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.feature__client { color: var(--grey); font-size: 0.95rem; }
.feature__name {
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: .95; letter-spacing: -0.04em; font-weight: 700;
  margin: 8px 0 28px;
}
.feature__text { max-width: 32rem; color: rgba(255,255,255,.92); }
.feature__facts { margin: 36px 0 0; border-top: 1px solid var(--line); }
.feature__facts div {
  display: grid; grid-template-columns: 9rem 1fr; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.feature__facts dt { color: var(--grey); font-size: 0.9rem; }
.feature__facts dd { margin: 0; font-size: 0.95rem; }
.feature__media { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2vw, 24px); }

.reel { margin: 0; }
.reel--offset { margin-top: clamp(48px, 8vw, 120px); }
.reel__frame {
  position: relative; aspect-ratio: 9 / 16;
  border-radius: var(--radius-media); overflow: hidden; background: var(--charcoal);
}
.reel__video { width: 100%; height: 100%; object-fit: cover; }
.reel figcaption { margin-top: 12px; font-size: 0.9rem; color: var(--grey); }
.reel__play {
  position: absolute; inset: 0; margin: auto;
  width: 76px; height: 76px; border-radius: 50%;
  display: grid; place-items: center; padding: 0;
  background: var(--white); color: var(--black);
  border: 0; cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.7,.2,1);
}
.reel__play svg { width: 30px; height: 30px; fill: currentColor; margin-left: 4px; }
.reel__play:hover { transform: scale(1.06); }
.reel.is-playing .reel__play { display: none; }

.support { margin-top: clamp(96px, 12vw, 160px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.support__head {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px); align-items: end; margin-bottom: 32px;
}
.support__name { font-family: var(--serif); font-size: clamp(2.25rem, 5vw, 4rem); line-height: 1; }
.support__text { max-width: 34rem; color: rgba(255,255,255,.92); }

.gallery {
  display: flex; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 16px;
  scrollbar-width: thin; scrollbar-color: var(--graphite) transparent;
}
.gallery__item {
  flex: 0 0 auto; height: clamp(320px, 42vw, 520px); width: auto;
  aspect-ratio: 9 / 16;
  scroll-snap-align: start;
  border-radius: var(--radius-media); object-fit: cover;
  background: var(--charcoal);
}
img.gallery__item { aspect-ratio: 2 / 3; }
img.gallery__item--wide { aspect-ratio: 3 / 2; }
.gallery .reel__frame { height: 100%; }

@media (max-width: 900px) {
  .feature, .support__head { grid-template-columns: 1fr; }
}

/* ---------- Services ---------- */
.services { background: rgba(26, 26, 26, 0.55); }
.services__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px); align-items: start;
}
.services__intro { position: sticky; top: 110px; }
.services__intro p { max-width: 26rem; color: rgba(255,255,255,.9); margin-bottom: 28px; }
.services__list { border-top: 1px solid var(--line); }
.service {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px 40px; padding: 32px 0; border-bottom: 1px solid var(--line);
}
.service__name { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.1; }
.service__text { color: rgba(255,255,255,.9); }
.service__types { grid-column: 2; display: grid; gap: 6px; }
.service__types li { padding-left: 18px; position: relative; color: rgba(255,255,255,.9); }
.service__types li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 8px solid var(--white);
}
.service__types strong { color: var(--white); font-weight: 500; }

@media (max-width: 900px) {
  .services__grid { grid-template-columns: 1fr; }
  .services__intro { position: static; }
  .service { grid-template-columns: 1fr; }
  .service__types { grid-column: 1; }
}

/* ---------- About ---------- */
.about__grid {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(32px, 6vw, 96px); align-items: center;
}
.about__logo { width: 100%; max-width: 560px; height: auto; }
.about__lead { font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.35; font-weight: 500; letter-spacing: -0.015em; margin-bottom: 24px; }
.about__copy p:not(.about__lead) { color: rgba(255,255,255,.9); max-width: 34rem; }
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__logo { max-width: 340px; }
}

/* ---------- Contact ---------- */
.contact { border-top: 1px solid var(--line); }
.contact__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px); align-items: start;
}
.contact__intro > p { color: rgba(255,255,255,.9); max-width: 26rem; }
.contact__details { margin-top: 40px; border-top: 1px solid var(--line); }
.contact__details li {
  display: grid; grid-template-columns: 7rem 1fr; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.contact__details span { color: var(--grey); font-size: 0.9rem; }
.contact__details a { text-decoration: none; }
.contact__details a:hover { text-decoration: underline; text-underline-offset: 4px; }

.form { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form__honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field__label { font-size: 0.9rem; font-weight: 400; color: rgba(255,255,255,.92); padding: 0; }
.field__optional { color: var(--grey); }
.field input, .field textarea {
  width: 100%; font: 400 1rem/1.5 var(--sans); color: var(--white);
  background: var(--charcoal); border: 1px solid var(--graphite); border-radius: 10px;
  padding: 13px 14px;
  transition: border-color .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:hover, .field textarea:hover { border-color: #555; }
.field input:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--white); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #ff8a8a; }

.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
  border: 1px solid var(--graphite); border-radius: 999px; font-size: 0.9rem;
  transition: background-color .15s, color .15s, border-color .15s;
}
.choice:hover span { border-color: #555; }
.choice input:checked + span { background: var(--white); color: var(--black); border-color: var(--white); }
.choice input:focus-visible + span { outline: 2px solid var(--white); outline-offset: 3px; }

.form__footer { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 6px; }
.form__status { font-size: 0.95rem; }
.form__status.is-error { color: #ff8a8a; }
.button[disabled] { opacity: .6; cursor: progress; }

@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form__row { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; font-size: 0.9rem; color: var(--grey); }
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.site-footer__mark { height: 40px; width: auto; }
.site-footer a { color: var(--white); text-decoration: none; margin-right: 16px; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer__copy { margin-left: auto; }
@media (max-width: 760px) { .site-footer__copy { margin-left: 0; } }
