/* Top Notch Visuals */

:root {
  --bg: #0b0b0c;
  --bg-raised: #131315;
  --text: #f3f1ec;
  --muted: #a3a19b;
  --line: rgba(243, 241, 236, 0.12);
  --line-strong: rgba(243, 241, 236, 0.28);
  --rec: #ff4a3d;

  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 76px;
  --radius: 14px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--text); color: var(--bg); }

:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

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

/* Shared pieces */

.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.rec-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--rec);
  box-shadow: 0 0 0 4px rgba(255, 74, 61, 0.18);
  animation: blink 1.6s linear infinite;
  flex: none;
}
@keyframes blink { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0.25; } }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 500 0.9375rem/1 var(--sans);
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 0.875rem; }
.btn-light { background: var(--text); color: var(--bg); }
.btn-light:hover { background: #fff; }
.btn-outline { border-color: var(--line-strong); color: var(--text); background: rgba(11, 11, 12, 0.2); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-outline:hover { border-color: var(--text); }

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header[data-scrolled="true"],
.site-header[data-menu="open"] {
  background: rgba(11, 11, 12, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand { display: inline-flex; flex: none; }
.brand img { height: 43px; width: auto; }

.nav {
  display: flex;
  gap: 32px;
  margin-left: auto;
}
.nav a {
  position: relative;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.nav a:hover { color: var(--text); }

.menu-toggle {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  margin-left: auto;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.menu-toggle-bar {
  position: absolute;
  left: 13px; right: 13px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s var(--ease);
}
.menu-toggle-bar:first-child { top: 18px; }
.menu-toggle-bar:nth-child(2) { top: 24px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:first-child { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .brand img { height: 36px; }
  .header-cta { display: none; }
  .menu-toggle { display: block; }
  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 8px var(--gutter) 24px;
    background: rgba(11, 11, 12, 0.96);
    border-bottom: 1px solid var(--line);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
  }
  .nav a {
    padding: 14px 0;
    font-size: 1.5rem;
    color: var(--text);
    border-bottom: 1px solid var(--line);
  }
  .site-header[data-menu="open"] .nav {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition-delay: 0s;
  }
}

/* Hero */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
  background: #000 url("assets/reel-poster.jpg") center / cover no-repeat;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, var(--bg) 0%, rgba(11, 11, 12, 0.72) 30%, rgba(11, 11, 12, 0.25) 62%, rgba(11, 11, 12, 0.55) 100%);
}

.viewfinder {
  position: absolute;
  inset: calc(var(--header-h) + 12px) var(--gutter) 24px;
  pointer-events: none;
}
.vf-corner {
  position: absolute;
  width: clamp(18px, 3vw, 34px);
  height: clamp(18px, 3vw, 34px);
  border: 0 solid rgba(255, 255, 255, 0.55);
}
.vf-tl { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.vf-tr { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.vf-bl { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.vf-br { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }

.hero-content {
  padding-top: calc(var(--header-h) + 64px);
  padding-bottom: clamp(24px, 4vh, 40px);
}
.hero-content > * { max-width: 1040px; }
.hero-content .label { color: rgba(243, 241, 236, 0.8); padding-left: clamp(4px, 1.5vw, 20px); }

.hero-title {
  margin-top: 20px;
  padding-left: clamp(4px, 1.5vw, 20px);
  font-size: clamp(3rem, 9.4vw, 8.75rem);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.hero-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  padding-right: 0.02em;
}

.hero-lede {
  margin-top: 28px;
  padding-left: clamp(4px, 1.5vw, 20px);
  max-width: 34ch;
  font-size: clamp(1.125rem, 1.8vw, 1.375rem);
  line-height: 1.45;
  color: rgba(243, 241, 236, 0.86);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
  padding-left: clamp(4px, 1.5vw, 20px);
}

.hero-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 44px;
  padding-inline: calc(var(--gutter) + clamp(4px, 1.5vw, 20px));
}

.timecode {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: rgba(243, 241, 236, 0.75);
  font-variant-numeric: tabular-nums;
}

.reel-toggle {
  font: 500 0.75rem/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(243, 241, 236, 0.75);
  background: none;
  border: 0;
  padding: 8px 0;
  cursor: pointer;
}
.reel-toggle:hover { color: var(--text); }

/* Sections */

.section { padding-block: clamp(88px, 13vw, 168px); }

.section-head {
  display: grid;
  gap: 18px;
  margin-bottom: clamp(48px, 7vw, 88px);
}
.section-head h2,
.contact h2 {
  font-size: clamp(2.5rem, 6.2vw, 5.25rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

/* Services */

.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(48px, 5vw, 72px) clamp(24px, 4vw, 64px);
}
.step {
  position: relative;
  padding-top: 28px;
  border-top: 1px solid var(--line-strong);
}
.step::before {
  content: "";
  position: absolute;
  top: -4px; left: 0;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--text);
}
.step h3 {
  font-size: clamp(1.625rem, 2.6vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.step p {
  margin-top: 14px;
  color: var(--muted);
  max-width: 44ch;
}

@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 40px; }
}

/* Work */

.work { border-top: 1px solid var(--line); }

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(40px, 4vw, 56px) clamp(20px, 2.4vw, 32px);
}
.work-featured { grid-column: 1 / -1; }

.work-card {
  display: grid;
  gap: 20px;
  text-decoration: none;
  color: inherit;
}
.work-featured .work-card {
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(24px, 3vw, 48px);
}

.work-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-raised);
}
.work-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0);
  transition: background-color 0.4s var(--ease);
}
.work-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.play {
  position: absolute;
  z-index: 1;
  left: 50%; top: 50%;
  width: 68px; height: 68px;
  margin: -34px 0 0 -34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(11, 11, 12, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.play svg { width: 26px; height: 26px; fill: #fff; margin-left: 3px; }
.work-featured .play { width: 88px; height: 88px; margin: -44px 0 0 -44px; }
.work-featured .play svg { width: 32px; height: 32px; }

.work-card:hover .work-media img,
.work-card:focus-visible .work-media img { transform: scale(1.045); }
.work-card:hover .work-media::after,
.work-card:focus-visible .work-media::after { background: rgba(0, 0, 0, 0.25); }
.work-card:hover .play,
.work-card:focus-visible .play { opacity: 1; transform: none; }

@media (hover: none) {
  .play { opacity: 1; transform: none; width: 52px; height: 52px; margin: -26px 0 0 -26px; }
  .play svg { width: 20px; height: 20px; }
}

.work-meta { display: grid; gap: 8px; }
.work-type {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.work-title {
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: text-decoration-color 0.25s var(--ease);
}
.work-card:hover .work-title { text-decoration-color: currentColor; }
.work-desc { color: var(--muted); font-size: 0.9875rem; max-width: 46ch; }

.work-featured .work-meta { padding-bottom: 8px; }
.work-featured .work-title { font-size: clamp(1.75rem, 3.2vw, 2.75rem); letter-spacing: -0.035em; line-height: 1.05; }
.work-featured .work-desc { font-size: 1.0625rem; }

@media (max-width: 1000px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .work-featured .work-card { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 620px) {
  .work-grid { grid-template-columns: 1fr; }
}

/* Contact */

.contact {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(60% 80% at 85% 0%, rgba(255, 74, 61, 0.08), transparent 70%),
    var(--bg);
}
.contact-inner { display: grid; justify-items: start; }
.contact h2 { margin-top: 18px; }
.contact-lede {
  margin-top: 24px;
  max-width: 44ch;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  color: var(--muted);
}

.contact-email {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: clamp(40px, 6vw, 64px);
  max-width: 100%;
}
.email-link {
  font-size: clamp(1.25rem, 4.4vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  text-decoration-color: var(--line-strong);
  overflow-wrap: anywhere;
  transition: text-decoration-color 0.25s var(--ease);
}
.email-link:hover { text-decoration-color: var(--text); }

.copy-btn {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--muted);
  font: 500 0.75rem/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.copy-btn:hover { color: var(--text); border-color: var(--text); }

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin-top: 48px;
}
.socials a {
  font-size: 1rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.socials a:hover { color: var(--text); }

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 36px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 40px;
}
.footer-inner .brand img { height: 35px; }
.footer-nav { display: flex; gap: 24px; }
.footer-nav a { color: var(--muted); text-decoration: none; font-size: 0.9375rem; }
.footer-nav a:hover { color: var(--text); }
.copyright { margin-left: auto; color: var(--muted); font-size: 0.875rem; }
@media (max-width: 620px) {
  .copyright { margin-left: 0; width: 100%; }
}

/* Video player */

.player {
  width: min(1120px, calc(100vw - 2 * var(--gutter)));
  max-width: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  overflow: visible;
}
.player::backdrop {
  background: rgba(5, 5, 6, 0.9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.player[open] { animation: player-in 0.35s var(--ease); }
@keyframes player-in { from { opacity: 0; transform: translateY(12px) scale(0.985); } }

.player-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.player-title { font-weight: 500; font-size: 1.0625rem; }
.player-close {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  font: 500 0.75rem/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
.player-close:hover { border-color: var(--text); }
.player-frame {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
}
.player-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Scroll reveal (only when JS is running) */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rec-dot { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .work-media img, .play, .player[open] { transition: none; animation: none; }
}
