/* Tokens taken from vannimedia.net */
:root {
  color-scheme: light;
  --bg: #f4f4f2;
  --card: #ffffff;
  --ink: #141414;
  --gray: #9a9a96;
  --muted: #6b6b67;
  --line: rgb(20 20 20 / 0.1);
  --dark: #1c1d1f;
  --dark-2: #26282b;
  --accent: #3048c0;
  --r: 14px;
  --gut: clamp(16px, 3vw, 40px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
  --max: 1280px;
}

*, *::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(--bg); color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: var(--s4); top: -60px; background: var(--ink); color: #fff; padding: var(--s2) var(--s4); border-radius: 999px; z-index: 30; }
.skip:focus { top: var(--s4); }

/* Type */
h1, h2, h3 { margin: 0; font-weight: 500; }
h2 { font-size: clamp(30px, 3.4vw, 40px); line-height: 1.08; letter-spacing: -0.025em; text-align: center; }
.soft { color: var(--gray); }
h2 .soft { display: block; }
.label { font-size: 11px; color: var(--muted); margin: 0 0 var(--s3); text-align: center; }
.lede { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.45; letter-spacing: -0.01em; color: var(--ink); max-width: 46ch; margin: var(--s4) auto 0; text-align: center; }

/* Pills (same as the Book a Shoot buttons on vannimedia.net) */
.pill { display: inline-flex; align-items: center; gap: var(--s2); height: 44px; padding: 0 var(--s5); border-radius: 999px; font-size: 13px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: transform 150ms var(--ease), background-color 150ms, color 150ms; }
.pill:active { transform: scale(0.98); }
.pill-light { background: #fff; color: var(--ink); }
.pill-light:hover { background: #ebebe8; }
.pill-ghost { color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.35); }
.pill-ghost:hover { background: rgb(255 255 255 / 0.08); }
.pill .ph { font-size: 16px; }
.dots { letter-spacing: 2px; }

/* Header */
.site-head {
  position: fixed; z-index: 20; top: 12px; left: 12px; right: 12px;
  height: 64px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 var(--s6); color: #fff; border-radius: var(--r);
  transition: background-color 250ms var(--ease), color 250ms var(--ease), box-shadow 250ms;
}
.site-head.is-solid { background: rgb(244 244 242 / 0.9); color: var(--ink); box-shadow: 0 0 0 1px var(--line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.site-head.is-solid .head-cta { background: var(--ink); color: #fff; }
.mark { font-size: 13px; font-weight: 600; letter-spacing: 6.5px; text-decoration: none; justify-self: start; }
.mark span { margin-left: 6px; }
.site-head nav { display: flex; gap: var(--s6); }
.site-head nav a { font-size: 13px; text-decoration: none; opacity: 0.9; }
.site-head nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.head-cta { justify-self: end; }
@media (max-width: 760px) {
  .site-head { grid-template-columns: auto 1fr; padding: 0 var(--s4); top: 8px; left: 8px; right: 8px; }
  .site-head nav { display: none; }
  .head-cta { height: 38px; padding: 0 var(--s4); }
}

/* Hero: inset rounded media card */
.hero { position: relative; margin: 12px; min-height: calc(100dvh - 24px); border-radius: var(--r); overflow: hidden; display: flex; align-items: flex-end; justify-content: center; background: var(--dark); color: #fff; }
@media (max-width: 760px) { .hero { margin: 8px; min-height: calc(100dvh - 16px); } }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(20 20 20 / 0.82) 0%, rgb(20 20 20 / 0.55) 40%, rgb(20 20 20 / 0.12) 75%, rgb(20 20 20 / 0.05) 100%); pointer-events: none; }
.hero-copy { position: relative; z-index: 1; text-align: center; padding: 0 var(--gut) clamp(48px, 9vh, 96px); display: flex; flex-direction: column; align-items: center; }
.hero h1 { font-size: clamp(44px, 6.4vw, 92px); line-height: 0.95; letter-spacing: -0.045em; max-width: 15ch; }
.hero h1 .soft { color: rgb(255 255 255 / 0.72); }
.hero p { font-size: clamp(15px, 1.4vw, 18px); max-width: 42ch; margin: var(--s5) 0 var(--s6); color: rgb(255 255 255 / 0.85); }
.hero-ctas { display: flex; gap: var(--s3); justify-content: center; }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise 900ms var(--ease) both; }
  .hero-copy > p { animation-delay: 120ms; }
  .hero-copy > .hero-ctas { animation-delay: 220ms; }
}
@keyframes rise { from { transform: translateY(18px); opacity: 0.001; } to { transform: none; opacity: 1; } }

/* Sections */
section { scroll-margin-top: 88px; }
.block { padding: clamp(64px, 9vw, 112px) 0 0; }
.block h2 + *, .block .lede + * { margin-top: var(--s7); }

/* Video cards */
.wide { margin: 0; }
.wide video { width: 100%; aspect-ratio: 16 / 9; background: var(--dark); border-radius: var(--r); }
.wide figcaption, .reel-meta { display: grid; gap: 2px; padding: var(--s3) var(--s1) 0; text-align: center; justify-items: center; }
.wide figcaption strong, .reel-meta strong { font-size: 15px; font-weight: 500; }
.wide figcaption span, .reel-meta span { font-size: 13px; color: var(--muted); }
.reel { display: block; width: 100%; padding: 0; background: none; border: 0; cursor: pointer; }
.reel video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--r); background: #e6e6e3; transition: transform 250ms var(--ease); }
.reel:hover video { transform: translateY(-4px); }

.films-pair { display: grid; gap: var(--s5); grid-template-columns: minmax(0, 1fr); max-width: 1200px; margin-left: auto; margin-right: auto; }
.films-stack { display: grid; gap: var(--s5); }
.pair-tall { width: 100%; max-width: 340px; margin: 0 auto; }
@media (min-width: 900px) {
  .films-pair { grid-template-columns: minmax(0, 1.58fr) minmax(0, 1fr); align-items: start; }
  .pair-tall { max-width: none; }
}
.vsl { max-width: 1120px; margin-left: auto; margin-right: auto; }
.solo { width: 100%; max-width: 320px; margin-left: auto; margin-right: auto; }
.tile-grid { list-style: none; padding: 0; display: grid; gap: var(--s4); grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: center; max-width: 1200px; margin-left: auto; margin-right: auto; margin-bottom: 0; }
@media (min-width: 900px) { .tile-grid { grid-template-columns: repeat(4, minmax(0, 280px)); gap: var(--s5); } }

/* Photos */
.bento { display: grid; gap: var(--s2); grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1200px; margin-left: auto; margin-right: auto; }
.shot { display: block; overflow: hidden; border-radius: var(--r); background: #e6e6e3; }
.shot img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; transition: transform 500ms var(--ease); }
.shot:hover img { transform: scale(1.03); }
.shot-big { grid-column: 1 / -1; }
@media (min-width: 768px) {
  .bento { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s3); }
  .shot { grid-column: span 4; }
  .shot-big { grid-column: 1 / span 8; grid-row: span 2; }
  .shot-big img { aspect-ratio: auto; }
  .shot-half { grid-column: span 3; }
}
.heads { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); gap: var(--s4); justify-content: center; }
.heads .shot { grid-column: auto; grid-row: auto; }
.shot-tall img { aspect-ratio: 2 / 3; }

/* Contact: dark rounded panel like the vannimedia.net footer */
.contact { padding: clamp(64px, 9vw, 112px) 12px 12px; }
@media (max-width: 760px) { .contact { padding: 64px 8px 8px; } }
.contact-panel { background: var(--dark); color: #fff; border-radius: var(--r); padding: clamp(48px, 8vw, 112px) var(--gut) var(--s5); text-align: center; }
.contact-panel .label { color: var(--gray); }
.contact-panel h2 { font-size: clamp(44px, 7vw, 104px); line-height: 0.95; letter-spacing: -0.045em; }
.contact-panel h2 .soft { color: rgb(255 255 255 / 0.55); }
.contact-panel .lede { color: rgb(255 255 255 / 0.8); margin-top: var(--s5); }
.contact-ctas { display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: center; margin-top: var(--s6); }
.panel-foot { display: flex; justify-content: space-between; gap: var(--s4); margin-top: clamp(64px, 8vw, 112px); padding-top: var(--s4); border-top: 1px solid rgb(255 255 255 / 0.12); font-size: 12px; color: var(--gray); }
.panel-foot a { text-decoration: none; }
.panel-foot a:hover { color: #fff; }

/* Scroll reveal, slide only so content is never hidden */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reel, .wide, .shot { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
  }
}
@keyframes reveal { from { transform: translateY(28px); } to { transform: none; } }

/* Viewer */
dialog#viewer { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(20 20 20 / 0.96); color: #fff; }
dialog#viewer::backdrop { background: rgb(20 20 20 / 0.9); }
.viewer-stage { position: absolute; inset: 64px 16px 56px; display: flex; align-items: center; justify-content: center; }
.viewer-stage img, .viewer-stage video { max-width: min(100%, 1800px); max-height: calc(100dvh - 120px); width: auto; height: auto; object-fit: contain; border-radius: var(--r); }
.viewer-caption { position: absolute; left: 0; right: 0; bottom: var(--s4); margin: 0; text-align: center; font-size: 13px; color: rgb(255 255 255 / 0.75); }
.viewer-btn { position: absolute; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; border: 0; background: #fff; color: var(--ink); font-size: 20px; cursor: pointer; }
.viewer-btn:hover { background: #ebebe8; }
.viewer-close { top: var(--s3); right: var(--s3); }
.viewer-prev { left: var(--s3); top: 50%; transform: translateY(-50%); }
.viewer-next { right: var(--s3); top: 50%; transform: translateY(-50%); }
dialog#viewer.is-video .viewer-prev, dialog#viewer.is-video .viewer-next { display: none; }
