@font-face {
  font-family: Montserrat Display;
  src: url("/assets/fonts/montserrat-900-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #121212;
  --soft: #eaeae7;
  --muted: #545450;
  --rule: #c6c6c1;
  --gutter: clamp(1.25rem, 3.4vw, 4rem);
  --section: clamp(4.8rem, 9vw, 9rem);
  --display: "Montserrat Display", "Arial Black", Arial, sans-serif;
  font-family: Arial, Helvetica, sans-serif;
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, summary { cursor: pointer; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
[id] { scroll-margin-top: 1rem; }

.frame {
  width: min(100% - var(--gutter) * 2, 92rem);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  inset-block-start: 1rem;
  inset-inline-start: 1rem;
  z-index: 10;
  padding: .8rem 1rem;
  background: black;
  color: white;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.6rem;
}

.wordmark {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: .58rem;
  color: inherit;
  text-decoration: none;
  font: 900 clamp(1.05rem, 2vw, 1.38rem)/1 var(--display);
  letter-spacing: -.045em;
}
.wordmark img { width: 2.15rem; height: 2.15rem; }

.desktop-nav { display: flex; align-items: center; gap: clamp(1.05rem, 3vw, 3.2rem); }
.desktop-nav a, .mobile-menu a {
  text-decoration: none;
  font-size: .875rem;
  font-weight: 700;
}
.desktop-nav a:hover, .mobile-menu a:hover, .header-cta:hover { text-decoration: underline; text-underline-offset: .35em; }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .45rem;
  width: fit-content;
  min-height: 2.95rem;
  padding: .73rem 1.18rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: 700 .875rem/1.2 Arial, Helvetica, sans-serif;
  text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s;
}
.button:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.desktop-nav a, .header-cta {
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.header-cta {
  justify-self: end;
  padding-block: .45rem;
  font-size: .875rem;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.mobile-menu { display: none; position: relative; z-index: 3; }
.mobile-menu summary {
  display: flex;
  gap: .5rem;
  align-items: center;
  min-height: 2.95rem;
  padding-inline: .85rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  list-style: none;
  font-size: .875rem;
  font-weight: 700;
}
.mobile-menu summary::-webkit-details-marker, .faq-list summary::-webkit-details-marker { display: none; }
.mobile-menu[open] summary span { transform: rotate(45deg); }
.mobile-menu nav {
  position: absolute;
  inset-block-start: calc(100% + .7rem);
  inset-inline-end: 0;
  display: grid;
  min-width: min(15rem, 77vw);
  border: 1px solid var(--ink);
  border-radius: .8rem;
  background: var(--paper);
  box-shadow: 0 .85rem 2rem #0002;
  padding: .4rem .9rem;
}
.mobile-menu:not([open]) nav { display: none; }
.mobile-menu nav a { padding: .85rem .25rem; }
.mobile-menu nav a + a { border-top: 1px solid var(--rule); }

.hero {
  padding-block-start: clamp(3.3rem, 6.25vw, 7.5rem);
  text-align: center;
}
.label {
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.display {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.025em;
  line-height: .94;
}
.outline {
  color: transparent;
  letter-spacing: .013em;
  -webkit-text-stroke: 1.25px var(--ink);
}
.dark-section .outline { -webkit-text-stroke-color: var(--paper); }
.hero h1 {
  font-size: clamp(2.15rem, 6.5vw, 8.15rem);
  line-height: .93;
}
.hero h1 > span { display: block; }
.hero h1 .outline { letter-spacing: .015em; }
.hero-description {
  max-width: 42rem;
  margin: clamp(1.3rem, 2.5vw, 2.3rem) auto 1rem;
  font-size: clamp(1rem, 1.35vw, 1.3rem);
  font-weight: 600;
  line-height: 1.4;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .45rem 1.5rem;
  margin-bottom: clamp(1.4rem, 2.45vw, 2.5rem);
}
.hero-image {
  width: min(88%, 81rem);
  margin-inline: auto;
  background: #333;
  border-radius: clamp(.85rem, 1.25vw, 1.3rem);
  overflow: hidden;
}
.hero-image img {
  width: 100%;
  height: clamp(16rem, 36vw, 38rem);
  object-fit: cover;
  object-position: center 53%;
}
.film-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .65rem;
  min-height: 2.85rem;
  padding: .6rem 1.15rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .2s, color .2s;
}
.film-link:hover { background: var(--paper); color: var(--ink); }
.film-link:focus-visible { outline-color: var(--ink); }
.play-icon { width: 0; height: 0; border-block: .32rem solid transparent; border-inline-start: .5rem solid currentColor; }

.section { padding-block: var(--section); }
.section-label { margin-bottom: clamp(1.4rem, 3.3vw, 3rem); }
.section-title { font-size: clamp(2.3rem, 5.75vw, 6.5rem); }
.editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .83fr);
  align-items: start;
  gap: clamp(1.6rem, 5.9vw, 6rem);
}
.section-intro { align-items: end; margin-bottom: clamp(2rem, 4vw, 4rem); }
.copy { font-size: clamp(1rem, 1.65vw, 1.28rem); line-height: 1.56; max-width: 33rem; }
.copy p + p { margin-block-start: 1rem; }
.copy .text-link { margin: 1.2rem 1.3rem 0 0; }
.text-link {
  display: inline-block;
  width: fit-content;
  padding-block: .3rem;
  font-size: .9375rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .32em;
  text-decoration-thickness: 1px;
}
.text-link:hover { text-decoration-thickness: 2px; }
.after-grid { margin-top: 1.7rem; }
.dark-section { background: var(--ink); color: var(--paper); }
.dark-section .copy, .portal-copy > p:not(.label), .steps p, .pricing-note { color: #d0d0cd; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
  list-style: none;
  margin: clamp(2rem, 5vw, 4.5rem) 0 0;
  padding: 0;
}
.steps li {
  display: flex;
  flex-direction: column;
  align-items: start;
  min-height: 13.5rem;
  padding: clamp(1.15rem, 2.3vw, 2.25rem);
  border: 1px solid #3d3d3b;
  border-radius: 1rem;
  background: #1c1c1c;
}
.step-number {
  margin-bottom: clamp(1.3rem, 3vw, 2.35rem);
  font: 900 clamp(1.9rem, 3.4vw, 3.4rem)/1 var(--display);
  color: transparent;
  -webkit-text-stroke: 1px #bbb;
}
.steps h3, .services-list h3 {
  margin-bottom: .55rem;
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  letter-spacing: -.045em;
}
.steps p, .services-list p, .portal p { line-height: 1.55; }
.portal {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  align-items: center;
  gap: clamp(1.4rem, 5vw, 5rem);
  margin-block-start: clamp(2.5rem, 7vw, 6rem);
  padding-block-start: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid #3d3d3b;
}
.portal h3 {
  margin: .7rem 0 .8rem;
  font: 900 clamp(1.55rem, 3.1vw, 3rem)/1.05 var(--display);
  letter-spacing: -.045em;
}
.portal .text-link { margin-top: .75rem; }
.portal img { width: 100%; height: auto; border-radius: .9rem; }

.work { background: var(--soft); }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 1rem; }
.project-card a { display: block; text-decoration: none; }
.project-image { overflow: hidden; border-radius: .85rem; background: #d7d7d2; }
.project-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .45s cubic-bezier(.2,.7,.25,1);
}
.project-card a:hover img { transform: scale(1.045); }
.project-name { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-top: .7rem; }
.project-name h3 { font-size: clamp(1.16rem, 2.1vw, 1.75rem); letter-spacing: -.055em; }
.project-name span {
  display: grid;
  place-items: center;
  flex: 0 0 2rem;
  aspect-ratio: 1;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 1.2rem;
  transition: background-color .2s, color .2s;
}
.project-card a:hover .project-name span { background: var(--ink); color: var(--paper); }
.project-card .label { margin-top: .32rem; color: var(--muted); letter-spacing: .045em; }

.services-list { border-top: 1px solid var(--rule); }
.services-list article { padding: 1.15rem 0 1.3rem; border-bottom: 1px solid var(--rule); }
.services-list p, .faq-list p { color: var(--muted); }

.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.plan {
  --plan-ink: var(--paper);
  --plan-muted: #d0d0cd;
  --plan-rule: #3f3f3d;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(1.1rem, 2.45vw, 2.35rem);
  border: 1px solid var(--plan-rule);
  border-radius: 1rem;
  background: #1e1e1e;
  color: var(--plan-ink);
}
.plan-featured {
  --plan-ink: var(--ink);
  --plan-muted: var(--muted);
  --plan-rule: var(--rule);
  background: var(--paper);
}
.plan-name { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .45rem; }
.plan-name h3 { font-size: clamp(1.25rem, 2.2vw, 1.85rem); letter-spacing: -.055em; }
.popular { padding: .35rem .55rem; border: 1px solid currentColor; border-radius: 999px; font-size: .875rem; font-weight: 700; }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .35rem; margin-block: 1.3rem .7rem; }
.plan-price strong { font: 900 clamp(1.75rem, 3.07vw, 3.2rem)/1 var(--display); letter-spacing: -.045em; }
.plan-price span, .plan-description { color: var(--plan-muted); }
.plan-description { min-height: 3.15rem; line-height: 1.45; }
.plan ul { display: grid; gap: .65rem; border-top: 1px solid var(--plan-rule); list-style: none; margin: 1rem 0 1.65rem; padding: 1.15rem 0 0; }
.plan li { display: flex; gap: .55rem; align-items: baseline; line-height: 1.32; }
.plan li::before { content: ""; flex: 0 0 .28rem; height: .28rem; border-radius: 50%; background: currentColor; transform: translateY(-.14rem); }
.plan .button { width: 100%; margin-top: auto; }
.plan .button:hover, .light-button:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.plan-featured .button { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.plan-featured .button:hover { background: transparent; border-color: var(--ink); color: var(--ink); }
.pricing-note { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.3rem; margin-top: 1.4rem; align-items: baseline; line-height: 1.5; }

.faq-list { border-top: 1px solid var(--rule); }
.faq-list details { border-bottom: 1px solid var(--rule); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .85rem;
  padding-block: 1.1rem;
  font-size: 1.045rem;
  font-weight: 700;
  line-height: 1.35;
  list-style: none;
}
.faq-list summary span { position: relative; flex: 0 0 1rem; height: 1rem; }
.faq-list summary span::before, .faq-list summary span::after { content: ""; position: absolute; inset: 7px 1px auto; height: 2px; background: currentColor; }
.faq-list summary span::after { transform: rotate(90deg); }
.faq-list details[open] summary span::after { transform: none; }
.faq-list p { padding-bottom: 1.1rem; line-height: 1.55; }

.footer { padding-block: clamp(3.4rem, 7vw, 7rem) 1.3rem; }
.footer-cta { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; padding-bottom: clamp(2rem, 5vw, 4.5rem); border-bottom: 1px solid #555; }
.footer-cta h2 { font-size: clamp(3rem, 7.4vw, 8rem); }
.footer-grid { display: grid; grid-template-columns: 1.35fr .8fr .9fr; gap: 1.6rem 2rem; padding-block: 2rem; }
.footer-grid p { margin-top: .65rem; color: #d0d0cd; line-height: 1.45; }
.footer-links { display: grid; gap: .75rem; font-style: normal; font-size: .9375rem; justify-items: start; }
.footer-links a, .footer-bottom a { text-decoration: none; }
.footer-links a:hover, .footer-bottom a:hover { text-decoration: underline; text-underline-offset: .3em; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1.5rem; padding-top: 1.25rem; border-top: 1px solid #555; font-size: .875rem; line-height: 1.45; color: #d0d0cd; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: .55rem 1.1rem; }

.reel-dialog { width: min(58rem, calc(100% - 2rem)); max-height: calc(100% - 2rem); padding: 0; border: 1px solid #707070; border-radius: 1rem; background: var(--ink); color: var(--paper); }
.reel-dialog::backdrop { background: #000c; }
.reel-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem; }
.reel-header h2 { font-size: 1.1rem; }
.reel-dialog video { display: block; width: 100%; max-height: 74vh; background: #000; aspect-ratio: 16 / 9; }

@media (max-width: 930px) {
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .site-header { display: flex; justify-content: space-between; min-height: 4.5rem; }
  .desktop-nav, .header-cta { display: none; }
  .mobile-menu { display: block; }
  .hero h1 { font-size: clamp(1.8rem, 7.15vw, 4.15rem); }
  .hero-image { width: 100%; }
  .editorial-grid, .portal { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan { padding: 1.4rem; }
  .plan-description { min-height: 0; }
  .plan-price strong { font-size: clamp(2.35rem, 6vw, 3rem); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .project-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li { min-height: 0; }
  .step-number { margin-bottom: .8rem; }
  .footer-cta { align-items: start; flex-direction: column; }
}

@media (max-width: 400px) {
  .hero h1 { font-size: clamp(1.4rem, 7.15vw, 2.1rem); }
  .hero-actions { column-gap: 1rem; }
  .hero-image img { object-position: 41% center; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .project-card a:hover img { transform: none; }
}

@media (forced-colors: active) {
  .outline { color: CanvasText; -webkit-text-stroke: 0; }
}
