/* ALTERSTATE Studio — shared design system and responsive layouts. */
:root {
  --paper: #efeee8;
  --ink: #262720;
  --muted: #73746a;
  --line: #d2d2c7;
  --orange: #ff623b;
  --gutter: clamp(20px,4.2vw,80px);
  --ease: cubic-bezier(.2,.7,.2,1);
}

*,*::before,*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 132px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial,Helvetica,sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,input,textarea,select {
  font: inherit;
}

button,a,input,textarea,select {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  cursor: pointer;
}

button {
  border: 0;
  background: none;
}

a,button {
  touch-action: manipulation;
}

button:disabled {
  cursor: default;
}

img {
  display: block;
  width: 100%;
  object-fit: cover;
}

/* Vector icons stay monochrome on mobile; no font or emoji rendering involved. */
.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  vertical-align: -.125em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.icon-play {
  fill: currentColor;
  stroke: none;
}

.hero-arrow, .dialog-close {
  display: grid;
  place-items: center;
}

h1,h2,h3,p {
  margin: 0;
}

h1,h2 {
  font-weight: 500;
  letter-spacing: -.065em;
  white-space: pre-line;
}

p {
  line-height: 1.65;
}

::selection {
  background: var(--orange);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 5px;
}

button:focus-visible {
  outline-offset: 4px;
}

[hidden] {
  display: none!important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 20px;
  z-index: 99;
  padding: 12px;
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  height: 112px;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  position: relative;
  z-index: 10;
}

.brand {
  font-size: 26px;
  letter-spacing: -1.6px;
  line-height: .9;
  font-weight: 900;
  display: block;
  width: 190px;
  flex-shrink: 0;
}

.brand>.brand-studio {
  display: flex;
  gap: 17px;
  font-size: 11px;
  letter-spacing: 5.7px;
  margin-top: 9px;
  align-items: center;
}

.desktop-nav {
  display: flex;
  gap: 38px;
  margin-left: auto;
  margin-right: 35px;
  font-size: 13px;
}

.desktop-nav a,.mobile-nav a {
  position: relative;
  padding: 10px 0;
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s;
}

.desktop-nav a:hover::after,.desktop-nav a[aria-current]::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.language-switch {
  font-size: 11px;
  letter-spacing: .06em;
  padding: 12px 0;
  display: flex;
  gap: 8px;
  align-items: center;
}

.language-switch a,
.language-switch .language-divider {
  opacity: .45;
}

.language-switch .active {
  opacity: 1;
  font-weight: 700;
}

.language-divider {
  font-size: 10px;
}

.button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  border-radius: 3px;
  padding: 18px 23px;
  font-size: 13px;
  line-height: 1.3;
  transition: background .2s,transform .2s;
}

.button:hover {
  transform: translateY(-2px);
}

.button-dark {
  background: var(--ink);
  color: var(--paper);
}

.button-dark:hover {
  background: #43453a;
}

.button-orange {
  background: var(--orange);
  color: var(--ink);
}

.button-orange:hover {
  background: #ff805f;
}

.header-contact {
  border-radius: 30px;
  padding: 14px 20px;
  gap: 28px;
}

.menu-toggle,.mobile-nav {
  display: none;
}

main {
  padding: 0 var(--gutter);
}

/* Video-first homepage. */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: .08em;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

.video-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 45px;
  padding: 24px 0 35px;
}

.video-intro h1 {
  font-size: clamp(40px,4.5vw,76px);
  line-height: 1.06;
  margin-top: 18px;
  max-width: 870px;
}

.video-intro > p {
  flex: 0 0 280px;
  font-size: 14px;
  color: var(--muted);
  padding-bottom: 3px;
}

.video-gallery {
  position: relative;
}

.hero-carousel {
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 2.5;
  min-height: 320px;
  max-height: 620px;
  overflow: hidden;
  color: white;
  background: #171813;
  touch-action: pan-y;
}

.hero-image {
  position: absolute;
  inset: 0;
  height: 100%;
  z-index: -2;
  object-position: center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg,#000b,transparent 50%,#0004);
}

.video-badge {
  position: absolute;
  top: 24px;
  left: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #131610b5;
  padding: 10px 13px;
  border-radius: 3px;
  font-size: 10px;
  letter-spacing: .06em;
}

.video-badge > span:first-child {
  color: var(--orange);
  font-size: 9px;
}

.hero-index {
  margin-left: 13px;
  color: #d2d5cc;
}

.hero-play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 600;
  text-shadow: 0 1px 6px #000;
}

.hero-play:focus-visible {
  outline-offset: -5px;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  width: 48px;
  height: 48px;
  border: 1px solid #ffffff80;
  border-radius: 50%;
  background: #1118;
  color: white;
  font-size: 24px;
}

.hero-arrow:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

.play-icon {
  display: grid;
  place-items: center;
  width: 90px;
  height: 90px;
  padding-left: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 5px 35px #0004;
  color: var(--ink);
  text-shadow: none;
  font-size: 28px;
  transition: transform .2s,background .2s;
}

.hero-play:hover .play-icon {
  transform: scale(1.08);
  background: #ff805f;
}

.hero-bottom {
  position: absolute;
  bottom: 26px;
  left: 30px;
  right: 30px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  pointer-events: none;
}

.hero-project-title {
  font-size: 30px;
  letter-spacing: -.04em;
}

.hero-project-type {
  font-size: 11px;
  color: #d5d6d0;
  margin-top: 6px;
}

.video-source {
  font-size: 12px;
  font-weight: 600;
}

.gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 0;
}

.gallery-toolbar > p {
  font-size: 12px;
  font-weight: 600;
}

.carousel-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-controls button {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #b8baaf;
  border-radius: 3px;
  font-size: 12px;
  transition: background .2s;
}

.carousel-controls button:hover {
  background: #ddded3;
}

.carousel-controls .carousel-next {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.carousel-controls .carousel-next:hover {
  background: #45473d;
}

.slide-tabs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 42px) / 3.25);
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
  padding: 5px 3px 10px;
}

.slide-tab {
  scroll-snap-align: start;
  min-width: 0;
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 3px;
  text-align: left;
  transition: background .2s,border-color .2s;
}

.slide-tab:hover {
  background: #e0e1d7;
}

.slide-tab.active {
  border-color: var(--orange);
  box-shadow: inset 0 -2px 0 var(--orange);
  background: #e5e5db;
}

.thumb-image {
  width: 38%;
  max-width: 160px;
  flex-shrink: 0;
  position: relative;
  aspect-ratio: 16/9;
  background: #222;
}

.thumb-image img {
  height: 100%;
}

.thumb-image > span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 15px;
  color: white;
  background: #0003;
  text-shadow: 0 1px 5px #000;
}

.thumb-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}

.thumb-copy strong {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
}

.thumb-number {
  color: var(--muted);
  font-size: 9px;
}

.thumb-type {
  font-size: 9px;
  color: var(--muted);
}

.small-note {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
}

.gallery-note {
  margin-top: 14px;
}

/* Simple service and pricing cards. */
.pricing-section {
  padding: 78px 0;
  scroll-margin-top: 25px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  margin-bottom: 28px;
}

.section-heading h2 {
  font-size: clamp(29px,3.3vw,51px);
  line-height: 1.1;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink);
  font-size: 12px;
  flex-shrink: 0;
}

.text-link:hover {
  color: #ad3c21;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.price-card {
  padding: 35px;
  border: 1px solid #c9cbbf;
  background: #e7e8de;
}

.price-card:nth-child(2) {
  background: #e0e2d7;
}

.price-card-top {
  display: flex;
  align-items: baseline;
  gap: 20px;
}

.price-card-top > span {
  color: var(--muted);
  font-size: 11px;
}

.price-card h3 {
  font-size: 29px;
  font-weight: 500;
  letter-spacing: -.04em;
}

.price-description {
  max-width: 370px;
  color: #686b60;
  font-size: 14px;
  margin: 20px 0 34px;
}

.price {
  display: flex;
  align-items: flex-end;
  gap: 15px;
  margin-bottom: 30px;
}

.price-from {
  display: block;
  font-size: 12px;
  margin-bottom: 9px;
}

.price strong {
  font-size: clamp(43px,4.5vw,66px);
  font-weight: 500;
  letter-spacing: -.06em;
  line-height: 1;
}

.tax-label {
  font-size: 11px;
  color: #676a5e;
  padding-bottom: 4px;
}

.price-card .button {
  background: transparent;
  color: var(--ink);
  border: 1px solid #abafa0;
  padding: 14px 18px;
}

.price-card .button:hover {
  background: var(--ink);
  color: white;
}

.pricing-note {
  margin-top: 18px;
  max-width: 780px;
  color: #686b60;
  font-size: 12px;
}

.studio-summary {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  padding: 50px 0 70px;
}

.studio-summary h2 {
  font-size: 39px;
  line-height: 1.12;
  max-width: 470px;
}

.studio-summary p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 24px;
}

/* Explain the offer before asking visitors to choose a production. */
.production-value {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(35px,6vw,100px);
  padding: 78px 0;
}
.production-value .eyebrow { margin-bottom: 24px; }
.production-value h2 { font-size: clamp(34px,3.7vw,58px); line-height: 1.1; }
.production-explainer { padding-top: 38px; }
.production-explainer p { font-size: 15px; color: var(--muted); margin-bottom: 20px; }
.production-explainer .text-link { margin-top: 8px; }

/* Quiet starting prices on Services, rather than large sales cards. */
.understated-pricing > h2 { font-size: 30px; margin-bottom: 26px; }
.understated-pricing .pricing-grid { gap: 40px; border-top: 1px solid var(--line); }
.understated-pricing .price-card { background: none; border: 0; border-bottom: 1px solid var(--line); padding: 27px 0; }
.understated-pricing .price-card h3 { font-size: 24px; }
.understated-pricing .price-description { margin: 15px 0 22px; }
.understated-pricing .price strong { font-size: 38px; }
.understated-pricing .price { margin-bottom: 22px; }
.understated-pricing .price-card .button { padding: 0 0 8px; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; }
.understated-pricing .price-card .button:hover { background: none; color: #ad3c21; transform: none; }

/* Flexible support, explained in prose below the starting prices. */
.services-flexible { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px,6vw,90px); padding: 0 0 75px; }
.services-flexible h2 { font-size: clamp(30px,3vw,45px); line-height: 1.12; }
.services-story p { color: var(--muted); font-size: 15px; margin-bottom: 22px; }
.services-story .text-link { margin-top: 5px; }
.contact-prompt p { max-width: 520px; }
@media (max-width: 760px) {
  .services-flexible { grid-template-columns: 1fr; gap: 25px; padding-bottom: 50px; }
  .services-story p { font-size: 14px; }
}

@media (max-width: 760px) {
  .production-value { grid-template-columns: 1fr; gap: 24px; padding: 50px 0; }
  .production-explainer { padding-top: 0; }
  .production-value h2 { font-size: 36px; }
  .production-explainer p { font-size: 14px; }
  body[data-page="contact"] .direct-contact { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .understated-pricing .pricing-grid { gap: 0; }
}

/* Inner pages. */
.page-intro {
  padding: 45px 0 48px;
}

.page-intro h1 {
  font-size: clamp(48px,6.4vw,100px);
  line-height: 1.02;
  margin-top: 30px;
  max-width: 1100px;
  overflow-wrap: anywhere;
}

.page-lead {
  max-width: 530px;
  font-size: 16px;
  color: var(--muted);
  margin-top: 25px;
}

body[data-page="services"] .pricing-section {
  padding-top: 0;
}

.simple-process {
  padding: 0 0 70px;
}

.simple-process > h2 {
  font-size: 35px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 40px;
  margin-top: 30px;
}

.process-grid article {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.process-grid article > span {
  color: var(--muted);
  font-size: 11px;
}

.process-grid h3 {
  font-size: 22px;
  letter-spacing: -.03em;
  font-weight: 500;
  margin: 20px 0 12px;
}

.process-grid p {
  font-size: 14px;
  color: var(--muted);
}

.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 5px 0 70px;
}

.project-image {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #222;
  color: white;
}

.project-image img {
  height: 100%;
  transition: transform .3s;
}

.project-image:hover img {
  transform: scale(1.035);
}

.card-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  padding-left: 3px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  font-size: 20px;
}

.image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px 16px;
  background: linear-gradient(transparent,#0009);
  font-size: 12px;
  text-align: left;
}

.project-info {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: baseline;
  padding: 18px 0;
}

.project-info h2 {
  font-size: 22px;
  letter-spacing: -.035em;
}

.project-info p {
  font-size: 11px;
  color: var(--muted);
}

.about-simple {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 760px;
  gap: 65px;
  align-items: center;
  padding-bottom: 75px;
}

.about-simple > img {
  aspect-ratio: 1.3;
  height: auto;
}

.about-simple h2 {
  font-size: 40px;
}

.about-simple p {
  font-size: 15px;
  color: var(--muted);
  margin: 25px 0;
}

.direct-contact {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 75px;
  padding: 38px 0 85px;
  border-top: 1px solid var(--line);
}

.direct-contact h2 {
  font-size: 31px;
  margin-bottom: 30px;
}

.contact-prompt h3 {
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -.03em;
}

.contact-prompt p {
  font-size: 15px;
  color: var(--muted);
  max-width: 380px;
  margin: 15px 0 25px;
}

/* Contact details on every page, with real mail and telephone links. */
.closing {
  margin: 0 var(--gutter);
  padding: 48px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.closing h2 {
  font-size: clamp(32px,3.5vw,52px);
}

.closing p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 12px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: flex-start;
}

.contact-links a {
  font-size: clamp(18px,2vw,28px);
  letter-spacing: -.025em;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  overflow-wrap: anywhere;
}

.contact-links a:hover {
  border-bottom-color: var(--ink);
}

.contact-links a > span {
  color: #b34c31;
  margin-left: 10px;
}

.contact-links a[href^="tel"] {
  font-size: 18px;
  color: #62655b;
  letter-spacing: 0;
}

.site-footer {
  padding: 35px var(--gutter) 25px;
}

.footer-wordmark {
  display: block;
  font-size: clamp(48px,12.7vw,210px);
  font-weight: 700;
  letter-spacing: -.075em;
  line-height: 1.05;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 22px;
  margin-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: var(--muted);
}

.footer-bottom a {
  color: var(--ink);
}

/* Video dialog: native focus trapping, escape-to-close and a YouTube fallback. */
.film-dialog {
  width: min(1100px,94vw);
  max-height: 94dvh;
  overflow: auto;
  border: 1px solid #5e6056;
  padding: 22px;
  background: var(--ink);
  color: var(--paper);
}

.film-dialog::backdrop {
  background: #10120fed;
  backdrop-filter: blur(8px);
}

.dialog-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
}

.dialog-top h2 {
  font-size: 23px;
  letter-spacing: -.035em;
}

.dialog-close {
  width: 44px;
  height: 44px;
  font-size: 30px;
  color: var(--paper);
}

.video-frame {
  aspect-ratio: 16/9;
  background: #10110f;
  max-height: 60dvh;
}
.local-video-note { padding: 35px; font-size: 16px; color: var(--paper); }

.video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.dialog-bottom {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 18px;
}

.dialog-bottom .text-link {
  border-color: #c4c5bb;
  white-space: nowrap;
}

.noscript-note {
  padding: 20px;
  background: var(--orange);
  font-size: 13px;
}

@media (min-width: 1800px) {
  body {
    max-width: 2100px;
    margin: auto;
  }
}

@media (max-width: 1050px) {
  .desktop-nav {
    gap: 24px;
    margin-right: 15px;
  }
  .header-actions {
    gap: 20px;
  }
  .video-intro {
    gap: 30px;
  }
  .video-intro > p {
    flex-basis: 240px;
    font-size: 13px;
  }
  .slide-tab {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .thumb-image {
    width: 100%;
    max-width: none;
  }
  .thumb-copy {
    padding: 0 3px 4px;
  }
  .thumb-number {
    display: none;
  }
  .about-simple,.direct-contact {
    gap: 35px;
  }
  .hero-carousel {
    aspect-ratio: 2.2;
  }
}

@media (max-width: 760px) {
  .site-header {
    height: 88px;
    gap: 20px;
  }
  .brand {
    width: 160px;
    font-size: 23px;
  }
  .brand > .brand-studio {
    font-size: 9px;
  }
  .desktop-nav,.header-contact {
    display: none;
  }
  .header-actions {
    gap: 24px;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 32px;
    height: 44px;
    padding: 0;
  }
  .menu-toggle span {
    width: 26px;
    height: 1px;
    background: var(--ink);
    transition: transform .2s;
  }
  .menu-toggle[aria-expanded=true] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }
  .menu-toggle[aria-expanded=true] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }
  .mobile-nav {
    display: flex;
    position: absolute;
    top: 88px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--paper);
    padding: 20px var(--gutter) 30px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 20px #0000000a;
  }
  .mobile-nav a {
    font-size: 26px;
    padding: 14px 0;
  }
  .mobile-nav a[aria-current] {
    color: #a7472e;
  }
  .video-intro {
    display: block;
    padding: 20px 0 27px;
  }
  .video-intro h1 {
    font-size: clamp(38px,6.8vw,55px);
    margin-top: 16px;
  }
  .video-intro > p {
    max-width: 420px;
    font-size: 13px;
    margin-top: 18px;
  }
  .eyebrow {
    font-size: 10px;
  }
  .hero-carousel {
    aspect-ratio: 16/10;
    min-height: 285px;
  }
  .video-badge {
    left: 18px;
    top: 18px;
    font-size: 9px;
    padding: 8px 10px;
  }
  .hero-bottom {
    left: 20px;
    right: 20px;
    bottom: 20px;
  }
  .hero-arrow {
    width: 44px;
    height: 44px;
    font-size: 21px;
  }
  .hero-prev {
    left: 14px;
  }
  .hero-next {
    right: 14px;
  }
  .hero-project-title {
    font-size: 23px;
  }
  .hero-project-type {
    font-size: 10px;
  }
  .video-source {
    font-size: 10px;
  }
  .play-icon {
    width: 70px;
    height: 70px;
    font-size: 23px;
  }
  .hero-play {
    font-size: 12px;
    gap: 10px;
  }
  .gallery-toolbar {
    padding: 14px 0;
    gap: 10px;
  }
  .carousel-controls button {
    padding: 9px 12px;
    gap: 9px;
    font-size: 11px;
  }
  .slide-tabs {
    gap: 8px;
    grid-auto-columns: calc((100% - 16px) / 2.3);
  }
  .slide-tab {
    padding: 5px;
    gap: 8px;
  }
  .thumb-copy {
    gap: 5px;
  }
  .thumb-copy strong {
    font-size: 11px;
  }
  .thumb-type {
    font-size: 8px;
  }
  .gallery-note {
    font-size: 10px;
    margin-top: 12px;
  }
  .pricing-section {
    padding: 55px 0;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
  .section-heading h2 {
    font-size: 34px;
  }
  .pricing-grid {
    gap: 15px;
  }
  .price-card {
    padding: 25px;
  }
  .price-card-top {
    gap: 12px;
  }
  .price-card h3 {
    font-size: 26px;
  }
  .price-description {
    font-size: 13px;
    margin-bottom: 25px;
  }
  .price-card .button {
    font-size: 12px;
    padding: 13px;
    gap: 20px;
  }
  .studio-summary {
    gap: 25px;
    grid-template-columns: 1fr;
    padding: 35px 0 50px;
  }
  .studio-summary h2 {
    font-size: 34px;
  }
  .studio-summary p {
    font-size: 14px;
  }
  .page-intro {
    padding: 30px 0 35px;
  }
  .page-intro h1 {
    font-size: clamp(42px,8vw,65px);
    margin-top: 25px;
  }
  .page-lead {
    font-size: 14px;
  }
  .process-grid {
    gap: 25px;
  }
  .process-grid h3 {
    font-size: 21px;
  }
  .process-grid p {
    font-size: 13px;
  }
  .work-grid {
    gap: 22px;
    padding-bottom: 45px;
  }
  .project-info {
    flex-direction: column;
    gap: 5px;
  }
  .project-info h2 {
    font-size: 21px;
  }
  .card-play {
    width: 48px;
    height: 48px;
    font-size: 17px;
  }
  .about-simple {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 50px;
  }
  .about-simple > img {
    aspect-ratio: 1.8;
  }
  .about-simple h2 {
    font-size: 34px;
  }
  .direct-contact {
    grid-template-columns: 1fr;
    gap: 45px;
    padding: 28px 0 55px;
  }
  .direct-contact h2 {
    margin-bottom: 20px;
  }
  .contact-links a {
    font-size: 23px;
  }
  .closing {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    padding: 35px 0;
  }
  .closing h2 {
    font-size: 36px;
  }
  .footer-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    font-size: 9px;
  }
  .footer-bottom > span:nth-child(2) {
    grid-row: 2;
  }
  .footer-bottom a {
    justify-self: end;
  }
  .dialog-bottom {
    display: block;
  }
  .dialog-bottom .text-link {
    margin-top: 15px;
  }
  .film-dialog {
    padding: 14px;
  }
  .dialog-top h2 {
    font-size: 19px;
  }
}

@media (max-width: 540px) {
  .pricing-grid,.work-grid,.process-grid {
    grid-template-columns: 1fr;
  }
  .gallery-toolbar > p {
    font-size: 11px;
  }
  .carousel-controls {
    gap: 5px;
  }
  .carousel-controls button {
    padding: 9px;
    gap: 6px;
  }
  .thumb-type {
    display: none;
  }
  .price-card {
    padding: 28px;
  }
  .price strong {
    font-size: 52px;
  }
  .price-description {
    max-width: 300px;
  }
  .pricing-note {
    font-size: 11px;
  }
  .hero-project-title {
    font-size: 21px;
  }
  .hero-index {
    margin-left: 5px;
  }
  .contact-links a {
    font-size: clamp(19px,5.8vw,26px);
  }
  .process-grid {
    gap: 25px;
  }
  .project-info {
    flex-direction: row;
  }
  .project-info p {
    font-size: 10px;
  }
  .card-play {
    width: 62px;
    height: 62px;
    font-size: 20px;
  }
}

/* The masthead has a stable spacer. Only the fixed header changes height, so
   shrinking it never moves the document or causes scroll-position feedback. */
.header-space {
  height: var(--masthead-height, calc(clamp(43.2px,11.43vw,189px) + clamp(16.2px,1.3716vw,21.6px) + 163px));
}

.site-header {
  --compact-height: 112px;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 2100px;
  height: var(--header-height, calc(clamp(43.2px,11.43vw,189px) + clamp(16.2px,1.3716vw,21.6px) + 163px));
  align-items: flex-end;
  background: var(--paper);
  box-shadow: 0 1px 0 rgb(38 39 32 / var(--header-border-opacity,0));
  z-index: 30;
}

.site-header .brand {
  position: absolute;
  left: var(--gutter);
  top: 0;
  transform: translate3d(0,var(--brand-y,24px),0);
  width: var(--brand-width,90%);
  height: var(--brand-height,calc(clamp(43.2px,11.43vw,189px) + 31px));
  max-width: calc(100% - 2 * var(--gutter));
  line-height: .9;
}

.brand-wordmark {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: max-content;
  font-size: var(--brand-large-size,clamp(48px,12.7vw,210px));
  letter-spacing: -.075em;
  font-weight: 700;
  white-space: nowrap;
  transform: scale(var(--word-scale,1));
  transform-origin: top left;
  will-change: transform;
}

.site-header .brand > .brand-studio {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: max-content;
  margin: 0;
  font-size: var(--studio-large-size,20px);
  line-height: .9;
  letter-spacing: .42em;
  transform: translate3d(0,var(--studio-y,calc(clamp(43.2px,11.43vw,189px) + 9px)),0) scale(var(--studio-scale,1));
  transform-origin: top left;
  will-change: transform;
}

.site-header .desktop-nav,
.site-header .header-actions {
  height: var(--compact-height);
  align-items: center;
}

.site-header .desktop-nav {
  margin-left: auto;
}

.site-header .mobile-nav {
  top: 100%;
  max-height: calc(100dvh - 88px);
  overflow-y: auto;
}

/* The brand is absolutely positioned; retain the action row's right alignment. */
.site-header .header-actions {
  margin-left: auto;
}

.site-header .desktop-nav + .header-actions {
  margin-left: 0;
}

@media (max-width: 760px) {
  html { scroll-padding-top: 108px; }
  .header-space {
    height: var(--masthead-height, calc(clamp(43.2px,11.43vw,189px) + 151.6px));
  }
  .site-header {
    --compact-height: 88px;
    height: var(--header-height, calc(clamp(43.2px,11.43vw,189px) + 151.6px));
  }
  .site-header .desktop-nav + .header-actions { margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,*::before,*::after {
    transition: none!important;
    animation: none!important;
  }
  .project-image:hover img,.hero-play:hover .play-icon,.button:hover {
    transform: none;
  }
}

/* A next-card preview signals that the gallery continues beyond the viewport. */
.gallery-label p { display: flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 600; }
.gallery-position { font-size: 10px; color: var(--muted); font-variant-numeric: tabular-nums; }
.gallery-hint { display: block; margin-top: 4px; font-size: 10px; color: var(--muted); }
.slide-tabs::-webkit-scrollbar { display: none; }
.slide-tabs.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.slide-tabs.is-dragging .slide-tab { cursor: grabbing; }
.slide-tabs img { -webkit-user-drag: none; user-select: none; }
@media (max-width: 540px) {
  .gallery-toolbar { flex-wrap: wrap; }
  .gallery-label { flex: 1 0 100%; }
  .carousel-controls { margin-left: auto; }
}
