@font-face {
  font-family: Barlow Condensed;
  src: url("./BarlowCondensed-Black.ttf") format("truetype");
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: Jost;
  src: url("./jost.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #171718;
  --paper: #fffefa;
  --yellow: #f4fa07;
  --dark: #1a1a1b;
  --text-muted: #605e57;
  --light-muted: #c3c1b9;
  --rule: #dbd9d0;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: Jost, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 var(--body); }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure, ol { margin: 0; }
h1, h2 { font: 900 1em/.92 var(--display); letter-spacing: -.025em; }
h2 { font-size: clamp(3rem, 5.65vw, 5.75rem); }
a { color: inherit; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: 3px solid #a441dc; outline-offset: 4px; }
.studio :focus-visible, .footer :focus-visible { outline-color: var(--yellow); }
.wrap { width: min(100% - clamp(2rem, 9vw, 9rem), 1296px); margin-inline: auto; }
.eyebrow { display: flex; align-items: center; gap: .55rem; font-size: .875rem; line-height: 1.2; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.skip-link { position: fixed; z-index: 10; top: 1rem; left: 1rem; padding: .65rem 1rem; background: white; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.button {
  min-height: 3.25rem; padding: .65rem 1.4rem; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid transparent; border-radius: 100vmax; font-size: 1rem; font-weight: 650;
  text-align: center; text-decoration: none; transition: background .2s, color .2s;
}
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: white; color: var(--ink); }
.button-yellow { background: var(--yellow); color: var(--ink); }
.button-yellow:hover { background: white; }
.button-small { min-height: 2.65rem; padding-inline: 1.05rem; }
.button-outline { border-color: var(--ink); }
.button-outline:hover { background: var(--ink); color: white; }

.masthead { background: var(--paper); border-bottom: 1px solid var(--ink); }
.header-inner { min-height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; }
.brand { width: fit-content; display: inline-flex; align-items: center; gap: .6rem; font-size: 1.3rem; line-height: 1; font-weight: 800; letter-spacing: -.055em; text-decoration: none; white-space: nowrap; }
.brand img { border: 1px solid var(--ink); border-radius: .65rem; }
.header-inner nav, .footer-bottom nav { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(1rem, 3vw, 2.6rem); }
.header-inner nav a { font-weight: 550; text-decoration: none; }
.header-inner nav a:hover { text-decoration: underline; text-underline-offset: .3em; }
.header-contact { justify-self: end; }

.hero {
  position: relative; isolation: isolate; overflow: hidden; background-color: var(--yellow);
  background-image: repeating-linear-gradient(90deg, #12120013 0 1px, transparent 1px 42px), repeating-linear-gradient(0deg, #12120013 0 1px, transparent 1px 42px);
}
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(100deg, var(--yellow) 5%, transparent 77%); }
.hero-inner { min-height: clamp(520px, 50vw, 720px); display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 1.15rem; padding-block: 3.2rem; }
.hero-copy { z-index: 1; }
.hero-copy .eyebrow span { display: inline-block; width: 1.45rem; height: 2px; background: currentColor; }
.hero h1 { font-size: clamp(4.6rem, 9.65vw, 9.9rem); margin-block: .15em .23em; white-space: nowrap; }
.hero h1 em { font-style: normal; }
.hero-copy > p:not(.eyebrow) { max-width: 27rem; font-size: clamp(1rem, 1.55vw, 1.24rem); line-height: 1.45; }
.hero-copy .button { margin-top: 1.5rem; }
.hero-reel { position: relative; align-self: stretch; min-height: 400px; }
.reel-card { position: absolute; overflow: hidden; border: 3px solid var(--ink); background: var(--ink); border-radius: .5rem; box-shadow: 8px 10px 0 #191a1170; }
.reel-card img { width: 100%; height: 100%; object-fit: cover; }
.reel-card figcaption { position: absolute; bottom: 0; inset-inline: 0; padding: 1.5rem .68rem .55rem; color: white; background: linear-gradient(transparent, #111e); font-size: .875rem; font-weight: 600; }
.reel-first { inset: 9% auto auto 1%; width: 35%; height: 60%; transform: rotate(-9deg); }
.reel-main { z-index: 1; inset: 5% auto auto 26%; width: 49%; height: 83%; transform: rotate(4deg); }
.reel-main img { object-position: center 38%; }
.reel-last { inset: auto 0 7% auto; width: 32%; height: 52%; transform: rotate(11deg); }
.reel-last img { object-position: 54% center; }

.studio { background: var(--dark); color: var(--paper); padding-block: clamp(4rem, 8vw, 8rem); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(12rem, 23rem); gap: 1.5rem; align-items: end; }
.section-head .eyebrow { color: var(--yellow); margin-bottom: 1.15rem; }
.section-head > p { color: var(--light-muted); margin-bottom: .23rem; font-size: 1.08rem; }
.gallery-tabs { display: flex; flex-wrap: wrap; gap: .6rem; margin-block: 2rem 1.5rem; }
.gallery-tabs button {
  appearance: none; background: transparent; color: var(--paper); font: 600 1rem/1.2 var(--body); cursor: pointer;
  border: 1px solid #696962; border-radius: 999px; padding: .56rem 1.05rem; min-height: 2.65rem;
}
.gallery-tabs button:hover { border-color: var(--yellow); }
.gallery-tabs button[aria-selected="true"] { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.gallery-panel { display: grid; grid-template-columns: 1.6fr minmax(15rem, .7fr); align-items: end; gap: clamp(1.2rem, 5vw, 4.3rem); }
.gallery-panel + .gallery-panel { margin-top: 1.5rem; }
.gallery-tabs:not([hidden]) + .gallery .gallery-panel { margin-top: 0; }
.image-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.image-pair figure { min-width: 0; background: #212123; border: 1px solid #57564e; }
.image-pair img { width: 100%; height: clamp(180px, 31vw, 430px); object-fit: cover; object-position: 50% 35%; }
.image-pair .scene-result img { object-fit: contain; }
.image-pair figcaption { padding: .55rem .85rem; border-top: 1px solid #57564e; font-size: .9rem; font-weight: 500; }
.example-copy { border-top: 1px solid #57564e; padding-top: 1.1rem; }
.example-copy h3 { font: 900 clamp(2rem, 3.4vw, 3.6rem)/.95 var(--display); }
.example-copy p { margin-top: .7rem; color: var(--light-muted); }

.templates { padding-block: clamp(4rem, 8vw, 8rem); }
.template-inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(2rem, 8.5vw, 8rem); align-items: center; }
.template-image { position: relative; background: var(--yellow); border: 2px solid var(--ink); box-shadow: .7rem .7rem 0 var(--yellow); }
.template-image img { width: 100%; height: clamp(320px, 39vw, 520px); object-fit: cover; object-position: 50% 55%; }
.template-image figcaption { padding: .65rem 1rem; border-top: 2px solid var(--ink); background: var(--paper); font-size: .9rem; font-weight: 600; }
.template-copy h2 { margin-block: .9rem 1.6rem; }
.steps { list-style: none; padding: 0; counter-reset: studio-step; }
.steps li { display: flex; gap: .95rem; padding-block: .8rem; border-top: 1px solid var(--rule); align-items: start; counter-increment: studio-step; }
.steps li::before { content: counter(studio-step, decimal-leading-zero); font-weight: 700; width: 2.1rem; color: var(--text-muted); }
.steps h3 { font-size: 1.1rem; line-height: 1.4; }
.steps p { color: var(--text-muted); }

.faq { border-top: 1px solid var(--rule); padding-block: clamp(3.5rem, 7.3vw, 7rem); background: #f4f3eb; }
.faq-inner { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1fr); gap: clamp(2rem, 7vw, 6.5rem); }
.faq h2 { margin-block: .8rem 1rem; }
.faq-inner > div:first-child > p:last-child { max-width: 25rem; color: var(--text-muted); }
.questions { border-top: 1px solid #c2c0b6; }
.questions details { border-bottom: 1px solid #c2c0b6; }
.questions summary { cursor: pointer; list-style: none; position: relative; padding: 1rem 2.2rem 1rem 0; font-weight: 650; font-size: 1.13rem; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; }
.questions details[open] summary::after { content: "−"; }
.answer { padding-bottom: 1.15rem; color: #45443d; }
.answer a { color: #151514; text-underline-offset: .16em; }
.answer table { width: 100%; border-collapse: collapse; margin-block: .7rem; font-size: .95rem; font-variant-numeric: tabular-nums; }
.answer th, .answer td { padding: .43rem .32rem; text-align: left; border-bottom: 1px solid #d2d0c4; }
.answer thead th { color: var(--ink); }
.answer tbody th { font-weight: 500; }

.footer { background: var(--dark); color: var(--paper); padding-top: clamp(2.7rem, 6vw, 5rem); }
.footer-main { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 2rem; }
.footer h2 { margin-block: 1.15rem .65rem; font-size: clamp(3.2rem, 6vw, 5.7rem); }
.footer p, .footer address, .footer-bottom { color: var(--light-muted); }
.footer .button { margin-top: 1.1rem; }
.footer address { font-style: normal; overflow-wrap: anywhere; }
.footer address strong { color: var(--paper); }
.footer-bottom { margin-top: 2.4rem; padding-block: 1rem; border-top: 1px solid #54534e; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer-bottom nav a { text-underline-offset: .2em; font-size: .9rem; }

.legal-main { padding-block: clamp(2.75rem, 7vw, 6.5rem); }
.legal-wrap { width: min(100% - 2rem, 840px); margin-inline: auto; }
.legal-main h1 { font-size: clamp(3.7rem, 9vw, 7rem); margin-bottom: 1rem; }
.legal-meta { border-block: 1px solid var(--rule); background: #f4f3eb; padding: .85rem 1rem; margin-block: 1.75rem; }
.legal-meta p + p { margin-top: .2rem; }
.legal-body { font-size: 1.05rem; }
.legal-body h2 { font: 750 clamp(1.35rem, 3.6vw, 2.05rem)/1.15 var(--body); letter-spacing: -.035em; margin-top: 2.2rem; border-top: 1px solid var(--rule); padding-top: 1rem; }
.legal-body h3 { font: 700 1.12rem/1.3 var(--body); margin-top: 1.35rem; }
.legal-body p, .legal-body ul, .legal-body ol { margin-top: .7rem; }
.legal-body li + li { margin-top: .35rem; }
.legal-body a { overflow-wrap: anywhere; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.legal-body code { font: inherit; background: #f4f3eb; padding-inline: .16em; overflow-wrap: anywhere; }

@media (max-width: 1000px) {
  .hero h1 { font-size: clamp(4.4rem, 10.3vw, 7.15rem); }
  .reel-card figcaption { font-size: .78rem; }
}
@media (max-width: 700px) {
  .header-inner { min-height: 62px; grid-template-columns: 1fr auto; gap: .65rem; }
  .header-inner nav { gap: .82rem; }
  .header-inner nav a { font-size: .9rem; }
  .header-contact { display: none; }
  .brand { font-size: 1.12rem; gap: .42rem; }
  .brand img { width: 36px; height: 36px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 1.1rem; padding-block: 2.6rem 1.45rem; }
  .hero h1 { font-size: clamp(4.05rem, 15.3vw, 7.15rem); white-space: normal; }
  .hero-copy .button { margin-top: 1rem; }
  .hero-reel { min-height: clamp(260px, 74vw, 450px); margin-inline: .35rem; }
  .section-head, .gallery-panel, .template-inner, .faq-inner { grid-template-columns: minmax(0, 1fr); }
  .image-pair { gap: .5rem; }
  .image-pair img { height: clamp(180px, 60vw, 345px); }
  .section-head { gap: .75rem; }
  .gallery-panel { gap: 1rem; }
  .template-inner { display: flex; flex-direction: column-reverse; align-items: stretch; }
  .template-image { margin-right: .65rem; }
  .faq-inner { gap: 1.75rem; }
}
@media (max-width: 365px) {
  .header-inner nav { gap: .55rem; }
  .header-inner nav a { font-size: .85rem; }
  .hero h1 { font-size: clamp(3.4rem, 15.3vw, 4.2rem); }
  .reel-card figcaption { font-size: .72rem; padding-inline: .35rem; }
  .answer table { font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}

@media (max-width: 420px) {
  .masthead-legal .header-inner { padding-block: .55rem; }
  .masthead-legal nav { justify-content: flex-end; column-gap: .75rem; row-gap: .15rem; }
  .masthead-legal nav a { white-space: nowrap; }
}
