/*
Theme Name: Sierra Production
Theme URI: https://sierraproduction.com.br/
Author: Sierra Production
Description: Tema cinematográfico e responsivo para a produtora Sierra Production.
Version: 3.0.25
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: sierra-production
*/

:root {
  --sierra-magenta: #92007b;
  --sierra-purple: #5d60a5;
  --sierra-cyan: #2f99ba;
  --sierra-ink: #090914;
  --sierra-paper: #f7f7fb;
  --sierra-muted: #aaaabd;
  --sierra-gradient: linear-gradient(135deg, var(--sierra-magenta), var(--sierra-purple) 52%, var(--sierra-cyan));
  --sierra-radius: 1.5rem;
  --sierra-max: 1440px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html[data-theme="dark"] { color-scheme: dark; }
html[data-theme="light"] { color-scheme: light; }
body {
  margin: 0;
  overflow-x: clip;
  color: var(--sierra-paper);
  background: var(--sierra-ink);
  font-family: Montserrat, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, video { display: block; width: 100%; height: auto; }
button, input, textarea { font: inherit; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.container { width: min(calc(100% - 3rem), var(--sierra-max)); margin-inline: auto; }
.eyebrow { margin: 0 0 1rem; color: var(--sierra-cyan); font-size: .76rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.section-title { max-width: 900px; margin: 0; overflow-wrap: anywhere; font-size: clamp(2rem, 4.2vw, 4.25rem); font-weight: 800; line-height: .97; letter-spacing: -.05em; text-wrap: balance; text-transform: uppercase; }
.gradient-text { color: transparent; background: var(--sierra-gradient); -webkit-background-clip: text; background-clip: text; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.4rem; padding: 0 1.5rem; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; transition: .25s ease; }
.button:hover, .button:focus-visible { color: var(--sierra-ink); background: var(--sierra-paper); transform: translateY(-2px); }
.button--gradient { border: 0; background: var(--sierra-gradient); color: white; }

.site-header { position: fixed; z-index: 1000; inset: 0 0 auto; padding: 1.05rem 0; color: white; background: rgba(9,9,20,.96); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(255,255,255,.08); transition: background .25s, padding .25s; }
.site-header.is-scrolled { padding: .7rem 0; background: rgba(9,9,20,.96); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; position: relative; z-index: 1002; }
.brand-mark { width: 2.35rem; aspect-ratio: 1; border-radius: .55rem; background: var(--sierra-gradient); transform: rotate(45deg); box-shadow: 0 0 35px rgba(33,184,200,.2); }
.brand-name { font-size: 1rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.custom-logo-link { display: block; max-width: 190px; }
.custom-logo { max-height: 48px; object-fit: contain; }
.primary-menu { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2.4rem); margin: 0; padding: 0; list-style: none; }
.primary-menu a { font-size: .73rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; opacity: .82; }
.primary-menu a:hover { opacity: 1; color: var(--sierra-cyan); }
.primary-navigation { display: flex; align-items: center; gap: 1.6rem; }
.language-switch { display: flex; align-items: center; gap: .4rem; color: rgba(255,255,255,.45); font-size: .7rem; font-weight: 850; letter-spacing: .08em; }
.language-switch a { transition: color .2s; }
.language-switch a:hover, .language-switch a.is-active, .language-switch .current-lang a { color: white; }
.language-switch ul { display: flex; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.theme-toggle { display: inline-flex; min-height: 2.35rem; align-items: center; gap: .55rem; padding: .35rem .75rem; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: white; background: transparent; cursor: pointer; }
.theme-toggle__icon { position: relative; width: .9rem; aspect-ratio: 1; border: 1.5px solid currentColor; border-radius: 50%; }
.theme-toggle__icon::after { content: ""; position: absolute; inset: 2px; border-radius: 50%; background: currentColor; transform: scale(.35); transition: transform .2s; }
.theme-toggle[aria-pressed="true"] .theme-toggle__icon::after { transform: scale(1); }
.theme-toggle__text { font-size: .62rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.menu-toggle { display: none; position: relative; z-index: 1002; width: 3rem; height: 3rem; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; background: transparent; color: white; }
.menu-toggle::before, .menu-toggle::after { content: ""; position: absolute; left: .85rem; width: 1.25rem; height: 1px; background: currentColor; transition: .2s; }
.menu-toggle::before { top: 1.15rem; }
.menu-toggle::after { top: 1.75rem; }
.menu-open .menu-toggle::before { top: 1.45rem; transform: rotate(45deg); }
.menu-open .menu-toggle::after { top: 1.45rem; transform: rotate(-45deg); }

.hero { position: relative; overflow: hidden; color: white; background: #090914; }
.hero-visual { position: relative; width: 100%; height: var(--sierra-viewport-height, 100svh); min-height: var(--sierra-viewport-height, 100svh); overflow: hidden; background: #090914; }
.hero-media { position: absolute; top: 50%; left: 56%; display: block; width: 100%; height: 100%; min-width: 100%; min-height: 100%; object-fit: cover; object-position: 50% 50%; opacity: 1; transform: translate(-50%, -50%) scale(1.12); }
.hero-copy-panel { position: absolute; z-index: 2; inset: 0; margin: 0; background: linear-gradient(90deg, rgba(9,9,20,.96) 0, rgba(9,9,20,.78) 30%, rgba(9,9,20,.2) 57%, transparent 76%), linear-gradient(180deg, rgba(9,9,20,.2), transparent 28%, rgba(9,9,20,.2)); pointer-events: none; }
.hero-copy-panel::before { content: ""; position: absolute; inset: 0 50% 0 0; background: radial-gradient(circle at 12% 62%, rgba(146,0,123,.15), transparent 42%); pointer-events: none; }
.hero-content { position: relative; z-index: 1; display: flex; width: min(calc(100% - 3rem), var(--sierra-max)); height: 100%; margin: 0 auto; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(6.5rem, 12vh, 9rem) 0 clamp(3rem, 7vh, 5rem); text-align: left; pointer-events: auto; }
.hero-content > .eyebrow { max-width: 52ch; margin: 0 0 1.1rem; white-space: normal; }
.hero-title { max-width: 10.5ch; margin: 0; overflow-wrap: normal; font-size: clamp(2.7rem, 5.1vw, 5.2rem); font-weight: 850; line-height: .91; letter-spacing: -.055em; text-wrap: balance; text-transform: uppercase; white-space: normal; }
.hero-bottom { display: flex; max-width: 540px; align-items: flex-start; justify-content: flex-start; gap: 2rem; margin-top: 1.4rem; }
.hero-copy { max-width: 520px; margin: 0; color: rgba(255,255,255,.78); font-size: clamp(.9rem, 1.05vw, 1.08rem); line-height: 1.5; white-space: normal; }
.play-reel { display: inline-flex; align-items: center; gap: 1rem; flex: 0 0 auto; }
.play-icon { display: grid; width: 4rem; aspect-ratio: 1; place-items: center; border: 1px solid rgba(255,255,255,.42); border-radius: 50%; backdrop-filter: blur(10px); transition: .25s; }
.play-icon::before { content: ""; width: 0; height: 0; margin-left: .22rem; border-block: .42rem solid transparent; border-left: .7rem solid white; }
.play-reel:hover .play-icon { color: var(--sierra-ink); background: white; transform: scale(1.08); }
.play-label { font-size: .74rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }

.intro { padding: clamp(6rem, 12vw, 12rem) 0; overflow: hidden; }
.intro-grid { display: grid; grid-template-columns: minmax(350px,.82fr) minmax(0,1.18fr); gap: clamp(3rem, 7vw, 8rem); align-items: start; }
.intro .section-title { max-width: 14ch; overflow-wrap: normal; word-break: keep-all; hyphens: none; }
.intro-copy { margin: 0; color: rgba(255,255,255,.88); font-size: clamp(1.2rem, 2vw, 2.05rem); line-height: 1.24; letter-spacing: -.03em; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(5rem, 9vw, 9rem); border-block: 1px solid rgba(255,255,255,.14); }
.stat { padding: 2rem 1.3rem; border-right: 1px solid rgba(255,255,255,.14); }
.stat:last-child { border-right: 0; }
.stat-number { display: block; font-size: clamp(2.25rem, 3.7vw, 3.8rem); font-weight: 850; line-height: 1; letter-spacing: -.05em; }
.stat:nth-child(1) .stat-number { color: var(--sierra-magenta); }
.stat:nth-child(2) .stat-number { color: var(--sierra-purple); }
.stat:nth-child(3) .stat-number { color: var(--sierra-cyan); }
.stat-label { display: block; margin-top: .6rem; color: var(--sierra-muted); font-size: .73rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }

.projects { padding: clamp(6rem, 10vw, 10rem) 0; background: var(--sierra-paper); color: var(--sierra-ink); }
.projects .eyebrow { color: var(--sierra-magenta); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 4rem; }
.project-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.2rem; }
.project-card { position: relative; isolation: isolate; grid-column: span 6; min-height: min(68vw, 640px); overflow: hidden; border-radius: var(--sierra-radius); background: #171725; }
.project-card:nth-child(3n) { grid-column: span 12; min-height: min(52vw, 720px); }
.project-grid--featured .project-card:nth-child(3n) { grid-column: span 6; min-height: min(68vw, 640px); }
.project-grid--featured .project-card--featured { grid-column: span 6; min-height: min(48vw, 590px); }
.project-grid--featured .project-card--secondary { grid-column: span 4; min-height: min(40vw, 480px); }
.project-card img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: var(--sierra-image-fit, cover); object-position: var(--sierra-focus-x, 50%) var(--sierra-focus-y, 50%); transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.project-card:hover img { transform: scale(1.045); }
.project-placeholder { position: absolute; inset: 0; background: radial-gradient(circle at 20% 25%, rgba(255,255,255,.18), transparent 20%), var(--project-gradient, var(--sierra-gradient)); }
.project-placeholder::after { content: "SIERRA"; position: absolute; right: -1rem; bottom: -2.5rem; color: rgba(255,255,255,.12); font-size: clamp(5rem, 14vw, 13rem); font-weight: 900; letter-spacing: -.09em; }
.project-overlay { position: absolute; z-index: 1; inset: 0; display: flex; flex-direction: column; justify-content: end; padding: clamp(1.5rem, 4vw, 3rem); color: white; background: linear-gradient(180deg, transparent 40%, rgba(5,5,12,.88)); }
.project-category { margin-bottom: .7rem; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; opacity: .72; }
.project-title { margin: 0; overflow-wrap: anywhere; font-size: clamp(1.4rem, 2.25vw, 2.55rem); line-height: 1.03; letter-spacing: -.04em; text-wrap: balance; text-transform: uppercase; }
.project-arrow { position: absolute; z-index: 3; top: 1.4rem; right: 1.4rem; display: grid; width: 3rem; aspect-ratio: 1; place-items: center; border-radius: 50%; color: var(--sierra-ink); background: white; transform: rotate(-45deg); transition: .25s; }
.project-featured-label { position: absolute; z-index: 2; top: 1.5rem; left: 1.5rem; padding: .65rem .9rem; border-radius: 999px; color: white; background: rgba(9,9,20,.72); backdrop-filter: blur(12px); font-size: .64rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.project-highlight-result { display: block; max-width: 680px; margin-top: 1rem; color: rgba(255,255,255,.86); font-size: clamp(.78rem, 1vw, 1rem); font-weight: 650; line-height: 1.4; }
.project-card--featured .project-category { margin: .8rem 0 0; }
.project-card:hover .project-arrow { transform: rotate(0); }
.rail-controls { display: flex; gap: .65rem; }
.rail-button { display: grid; width: 3rem; aspect-ratio: 1; place-items: center; border: 1px solid rgba(9,9,20,.24); border-radius: 50%; color: var(--sierra-ink); background: transparent; cursor: pointer; transition: color .2s, background .2s, transform .2s; }
.rail-button:hover, .rail-button:focus-visible { color: white; background: var(--sierra-ink); transform: translateY(-2px); }
.production-rail { display: flex; align-items: stretch; gap: 1rem; overflow-x: auto; overscroll-behavior-inline: contain; padding: .2rem 0 1rem; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--sierra-purple) transparent; }
.rail-card { display: flex; flex: 0 0 clamp(290px, 31vw, 440px); min-width: 0; flex-direction: column; color: var(--sierra-ink); scroll-snap-align: start; }
.rail-card--featured { flex-basis: clamp(290px, 31vw, 440px); }
.rail-card__media { position: relative; isolation: isolate; display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--sierra-radius); background: #171725; }
.rail-card__media > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: var(--sierra-image-fit, cover); object-position: var(--sierra-focus-x, 50%) var(--sierra-focus-y, 50%); transition: transform .65s ease; }
.rail-card:hover .rail-card__media > img { transform: scale(1.035); }
.rail-card__content { display: flex; min-height: 8.4rem; flex: 1; flex-direction: column; padding: .85rem .1rem 0; }
.rail-card__content .project-title { max-width: 22ch; color: var(--sierra-ink); font-size: clamp(1.3rem, 2vw, 2rem); line-height: 1.02; }
.rail-card__meta { display: flex; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1rem; color: #676778; font-size: .66rem; font-weight: 800; letter-spacing: .08em; line-height: 1.3; text-transform: uppercase; }
.rail-card__meta span { min-width: 0; overflow-wrap: anywhere; }
.rail-card__meta span:last-child { text-align: right; }
.project-card--artwork .rail-card__media, .project-card--artwork .catalog-card__image { background: #0d0d17; }
.project-card--artwork .rail-card__media > img, .project-card--artwork .catalog-card__image img { padding: clamp(.35rem, 1vw, .75rem); }
.production-rail--compact .rail-card { flex-basis: clamp(280px, 29vw, 410px); }
.projects-all-link { margin: 2rem 0 0; text-align: right; }

.services { position: relative; padding: clamp(6rem, 11vw, 11rem) 0; overflow: hidden; }
.services::before { content: ""; position: absolute; width: 48rem; aspect-ratio: 1; right: -20rem; top: 0; border-radius: 50%; background: var(--sierra-gradient); filter: blur(120px); opacity: .17; }
.service-list { margin-top: 5rem; border-top: 1px solid rgba(255,255,255,.17); }
.service-row { display: grid; grid-template-columns: 5rem 1fr 1fr; gap: 2rem; align-items: center; padding: 2rem 0; border-bottom: 1px solid rgba(255,255,255,.17); }
.service-number { color: var(--sierra-cyan); font-size: .72rem; font-weight: 800; }
.service-name { overflow-wrap: anywhere; font-size: clamp(1.2rem, 2.15vw, 2.2rem); font-weight: 780; letter-spacing: -.03em; text-transform: uppercase; }
.service-description { max-width: 520px; margin: 0; color: var(--sierra-muted); }

.clients { padding: 5rem 0 8rem; }
.platform-carousel { position: relative; margin-top: 3rem; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.platform-carousel__track { display: flex; width: max-content; animation: sierra-platform-scroll 28s linear infinite; }
.platform-carousel__set { display: flex; gap: 1rem; padding-right: 1rem; }
.platform-carousel:hover .platform-carousel__track, .platform-carousel:focus-within .platform-carousel__track { animation-play-state: paused; }
.platform-card { display: grid; width: clamp(190px, 22vw, 290px); min-height: 145px; place-items: center; padding: 2rem; border: 1px solid rgba(255,255,255,.12); border-radius: 1rem; background: #fff; box-shadow: 0 12px 38px rgba(0,0,0,.12); }
.platform-card img { display: block; width: min(100%, 210px); height: 72px; object-fit: contain; }
.platform-card--globo img { width: 105px; height: 105px; }
.platform-card--disney img { height: 66px; }
.platform-card--netflix img { height: 62px; }
.platform-card--multishow img { height: 78px; }
.brand-wall { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.13); }
.brand-wordmark { padding: .7rem .95rem; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; color: rgba(255,255,255,.5); font-size: .69rem; font-weight: 750; letter-spacing: .055em; line-height: 1; text-transform: uppercase; }
@keyframes sierra-platform-scroll { to { transform: translateX(-50%); } }

.contact { position: relative; padding: clamp(6rem, 12vw, 12rem) 0; color: white; background: var(--sierra-gradient); overflow: hidden; }
.contact::after { content: "S"; position: absolute; right: -2vw; bottom: -18vw; color: rgba(255,255,255,.1); font-size: min(65vw, 900px); font-weight: 950; line-height: 1; }
.contact-inner { position: relative; z-index: 1; }
.contact .eyebrow { color: white; opacity: .7; }
.contact-title { max-width: 920px; margin: 0 0 3rem; overflow-wrap: anywhere; font-size: clamp(2.25rem, 5.2vw, 4.85rem); line-height: .94; letter-spacing: -.052em; text-wrap: balance; text-transform: uppercase; }
.contact-link { display: inline-block; padding-bottom: .25rem; border-bottom: 2px solid currentColor; font-size: clamp(1.1rem, 2vw, 1.8rem); font-weight: 750; }
.contact-form { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1.2rem; max-width: 1080px; margin-top: clamp(2.25rem, 4vw, 3.5rem); }
.contact-form .form-field { min-width: 0; }
.contact-form .form-field--full { grid-column: 1 / -1; }
.contact-form label { display: block; margin-bottom: .55rem; font-size: .72rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.contact-form input, .contact-form textarea { width: 100%; border: 0; border-bottom: 1px solid rgba(255,255,255,.5); border-radius: 0; outline: 0; color: white; background: transparent; transition: border-color .2s, background .2s; }
.contact-form input { min-height: 3.5rem; padding: .5rem 0; }
.contact-form textarea { min-height: 6rem; padding: .8rem 0; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: white; background: rgba(255,255,255,.06); }
.contact-form__footer { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.contact-form__footer p { max-width: 630px; margin: 0; color: rgba(255,255,255,.68); font-size: .78rem; }
.contact-form__submit { border: 0; color: var(--sierra-ink); background: white; cursor: pointer; }
.contact-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-notice { position: relative; z-index: 2; max-width: 1080px; margin: 2rem 0 0; padding: 1rem 1.2rem; border: 1px solid rgba(255,255,255,.4); border-radius: .7rem; font-weight: 700; }
.form-notice--success { background: rgba(0,90,60,.28); }
.form-notice--error { background: rgba(110,0,30,.3); }
.contact-channels { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; max-width: 1080px; margin-top: 2rem; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.contact-channels span { color: rgba(255,255,255,.7); }
.contact-channels a { padding-bottom: .16rem; border-bottom: 1px solid rgba(255,255,255,.68); }
.contact-page { min-height: 100vh; background: var(--sierra-gradient); }
.contact-page__section { position: relative; display: flex; min-height: 100svh; align-items: center; overflow: hidden; padding: clamp(7rem, 9vw, 8.5rem) 0 clamp(3rem, 5vw, 4.5rem); }
.contact-page__section::after { content: "S"; position: absolute; z-index: 0; right: -3vw; bottom: -20vw; color: rgba(255,255,255,.08); font-size: min(68vw, 950px); font-weight: 950; line-height: 1; }
.contact-page__section .container { position: relative; z-index: 1; }
.contact-page__title { max-width: 920px; margin: 0; overflow-wrap: anywhere; font-size: clamp(2.8rem, 6.5vw, 6rem); font-weight: 900; line-height: .9; letter-spacing: -.058em; text-wrap: balance; text-transform: uppercase; }

.site-footer { padding: 3rem 0; color: var(--sierra-muted); background: #05050b; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; }
.footer-brand { color: white; font-size: clamp(1.8rem, 3.8vw, 3.8rem); font-weight: 850; letter-spacing: -.05em; text-transform: uppercase; }
.footer-meta { text-align: right; font-size: .76rem; }
.social-links { display: flex; flex-wrap: wrap; justify-content: end; gap: .65rem 1rem; max-width: 680px; margin-bottom: 1rem; }
.social-links a:hover { color: white; }
.whatsapp-float { position: fixed; z-index: 950; right: clamp(1rem, 2.2vw, 2rem); bottom: clamp(1rem, 2.2vw, 2rem); display: inline-flex; min-height: 3.35rem; align-items: center; gap: .65rem; padding: .8rem 1.15rem; border: 0; border-radius: 999px; color: white; background: #25d366; box-shadow: 0 12px 34px rgba(0,0,0,.28); font-size: .72rem; font-weight: 850; letter-spacing: .035em; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; }
.whatsapp-float:hover, .whatsapp-float:focus-visible { transform: translateY(-3px); box-shadow: 0 16px 42px rgba(0,0,0,.34); filter: brightness(.96); }
.whatsapp-float svg { flex: 0 0 auto; }
.whatsapp-float--disabled { cursor: default; }
.whatsapp-float--disabled:hover { transform: none; filter: none; }

.modal { position: fixed; z-index: 2000; inset: 0; display: none; place-items: center; padding: 2rem; background: rgba(0,0,0,.92); }
.modal.is-open { display: grid; }
.modal-inner { width: min(100%, 1100px); }
.modal-video { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.modal-video iframe, .modal-video video { width: 100%; height: 100%; border: 0; }
.modal-close { display: block; margin: 0 0 1rem auto; border: 0; color: white; background: transparent; font-size: 1.8rem; cursor: pointer; }

.site-main--standard { min-height: 70vh; padding: 9rem 0 6rem; }
.site-main--standard article { max-width: 900px; }
.entry-title { font-size: clamp(2.6rem, 6.2vw, 5.4rem); line-height: .94; letter-spacing: -.052em; }
.entry-content { font-size: 1.12rem; }
.entry-content a { color: var(--sierra-cyan); text-decoration: underline; }

/* Internal page heroes */
.inner-hero { position: relative; display: flex; min-height: 78svh; align-items: end; overflow: hidden; padding: 11rem 0 5rem; background: #111123; }
.inner-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 75% 20%, rgba(47,153,186,.5), transparent 31%), radial-gradient(circle at 10% 85%, rgba(146,0,123,.65), transparent 39%), linear-gradient(140deg, #090914, #21163c 58%, #083240); }
.inner-hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .46; }
.inner-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,9,20,.06), rgba(9,9,20,.88)); }
.inner-hero__content { position: relative; z-index: 1; }
.inner-hero__title { max-width: 1050px; margin: 0; overflow-wrap: anywhere; font-size: clamp(2.55rem, 6.2vw, 5.7rem); font-weight: 900; line-height: .92; letter-spacing: -.055em; text-wrap: balance; text-transform: uppercase; }
.inner-hero__lead { max-width: 760px; margin: 2rem 0 0 auto; color: rgba(255,255,255,.84); font-size: clamp(1.05rem, 1.7vw, 1.55rem); line-height: 1.32; letter-spacing: -.02em; }

/* About Sierra */
.about-story { position: relative; padding: clamp(5rem, 8vw, 8rem) 0; overflow: hidden; }
.about-story::before { content: ""; position: absolute; width: 34rem; aspect-ratio: 1; right: -15rem; top: 5rem; border-radius: 50%; background: var(--sierra-gradient); filter: blur(120px); opacity: .12; pointer-events: none; }
.about-story__grid { display: grid; grid-template-columns: minmax(280px,.78fr) minmax(0,1.22fr); gap: clamp(3rem, 7vw, 8rem); align-items: start; }
.about-story__profile { position: sticky; top: 7rem; margin: 0; overflow: hidden; border-radius: var(--sierra-radius); background: #101019; aspect-ratio: 3 / 4; }
.about-story__profile img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.about-story__content { position: relative; }
.about-story__content .section-title { margin-bottom: clamp(1.75rem, 3vw, 2.75rem); }
.about-story__copy { color: rgba(255,255,255,.82); font-size: clamp(.9rem, 1.08vw, 1.05rem); line-height: 1.58; }
.about-story__copy > :first-child { margin-top: 0; }
.about-story__copy p { margin: 0 0 1.05em; }
.about-story__copy p:last-child { margin-bottom: 0; }
.about-backstage { padding: clamp(5rem, 8vw, 8rem) 0; }
.backstage { margin-top: 0; }
.backstage__header { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.backstage__title { font-size: clamp(1.85rem, 3.2vw, 3.25rem); }
.backstage__controls { display: flex; gap: .65rem; }
.backstage__button { display: grid; width: 3.25rem; aspect-ratio: 1; place-items: center; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; color: white; background: transparent; cursor: pointer; transition: color .2s, background .2s, transform .2s; }
.backstage__button:hover, .backstage__button:focus-visible { color: var(--sierra-ink); background: white; transform: translateY(-2px); }
.backstage__track { display: flex; gap: 1rem; overflow-x: auto; overscroll-behavior-inline: contain; padding-bottom: 1rem; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--sierra-purple) transparent; }
.backstage__slide { flex: 0 0 clamp(420px, 58vw, 780px); margin: 0; overflow: hidden; border-radius: var(--sierra-radius); background: #171725; aspect-ratio: 16 / 10; scroll-snap-align: start; }
.backstage__slide--portrait { flex-basis: clamp(270px, 31vw, 430px); aspect-ratio: 3 / 4; }
.backstage__slide img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.backstage__slide:nth-child(8) img { object-position: center 56%; }
.backstage__slide:nth-child(9) img { object-position: center 54%; }
.backstage__slide:nth-child(10) img, .backstage__slide:nth-child(11) img, .backstage__slide:nth-child(12) img { object-position: center; }
.backstage__slide:hover img { transform: scale(1.025); }
.values { padding: clamp(6rem, 10vw, 10rem) 0; color: var(--sierra-ink); background: var(--sierra-paper); }
.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 4rem; border-top: 1px solid rgba(9,9,20,.2); border-left: 1px solid rgba(9,9,20,.2); }
.value-card { min-height: 270px; padding: 2rem 1.4rem; border-right: 1px solid rgba(9,9,20,.2); border-bottom: 1px solid rgba(9,9,20,.2); }
.value-number { color: var(--sierra-magenta); font-size: .72rem; font-weight: 850; }
.value-card h3 { margin: 4.5rem 0 1rem; font-size: clamp(1.4rem, 2.2vw, 2.3rem); letter-spacing: -.04em; text-transform: uppercase; }
.value-card p { margin: 0; color: #5f6070; font-size: .9rem; }
.manifesto { position: relative; padding: clamp(7rem, 14vw, 14rem) 0; overflow: hidden; text-align: center; }
.manifesto::before { content: ""; position: absolute; inset: 10% 15%; border-radius: 50%; background: var(--sierra-gradient); filter: blur(130px); opacity: .18; }
.manifesto blockquote { position: relative; max-width: 980px; margin: 0 auto; font-size: clamp(1.95rem, 4.2vw, 4.25rem); font-weight: 800; line-height: 1.04; letter-spacing: -.045em; text-wrap: balance; }

/* Production archive */
.catalog-hero { padding: 11rem 0 5rem; background: var(--sierra-paper); color: var(--sierra-ink); }
.catalog-lead { max-width: 900px; margin: 3rem 0 0 auto; font-size: clamp(1.1rem, 1.8vw, 1.8rem); font-weight: 650; line-height: 1.28; letter-spacing: -.03em; text-transform: uppercase; }
.catalog-toolbar { position: sticky; z-index: 20; top: 72px; padding: 1rem 0; color: var(--sierra-ink); background: rgba(247,247,251,.9); backdrop-filter: blur(15px); border-block: 1px solid rgba(9,9,20,.12); }
.catalog-filters { display: flex; gap: .65rem; overflow-x: auto; padding-bottom: .15rem; scrollbar-width: none; }
.catalog-filters::-webkit-scrollbar { display: none; }
.filter-chip { flex: 0 0 auto; padding: .65rem 1rem; border: 1px solid rgba(9,9,20,.2); border-radius: 999px; font-size: .7rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.filter-chip:hover, .filter-chip.is-active { color: white; background: var(--sierra-ink); }
.catalog { padding: 3rem 0 8rem; color: var(--sierra-ink); background: var(--sierra-paper); }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem 1.2rem; }
.catalog-card { display: flex; min-width: 0; flex-direction: column; }
.catalog-card__image { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 1rem; background: #171725; }
.catalog-card__image img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: var(--sierra-image-fit, cover); object-position: var(--sierra-focus-x, 50%) var(--sierra-focus-y, 50%); transition: transform .65s ease; }
.catalog-card:hover .catalog-card__image img { transform: scale(1.045); }
.catalog-card__placeholder { position: absolute; inset: 0; background: var(--sierra-gradient); }
.catalog-card__arrow { position: absolute; right: 1rem; top: 1rem; display: grid; width: 2.8rem; aspect-ratio: 1; place-items: center; border-radius: 50%; color: var(--sierra-ink); background: white; transform: rotate(-45deg); transition: transform .25s; }
.catalog-card:hover .catalog-card__arrow { transform: rotate(0); }
.catalog-card__meta { display: flex; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1rem; color: #676778; font-size: .68rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.catalog-card__meta span:last-child { text-align: right; }
.catalog-card h2 { min-height: 2.08em; margin: .55rem 0 0; font-size: clamp(1.35rem, 2vw, 2.2rem); line-height: 1.04; letter-spacing: -.04em; text-transform: uppercase; }
.credits-section { padding: clamp(5rem, 9vw, 9rem) 0; color: var(--sierra-ink); background: #eeeef4; border-top: 1px solid rgba(9,9,20,.12); }
.credits-heading { display: grid; grid-template-columns: .55fr 1fr; gap: 1.5rem 3rem; align-items: end; margin-bottom: clamp(3rem, 6vw, 5.5rem); }
.credits-heading .eyebrow { grid-column: 1 / -1; color: var(--sierra-magenta); }
.credits-heading h2 { margin: 0; overflow-wrap: anywhere; font-size: clamp(2rem, 3.8vw, 3.75rem); line-height: .96; letter-spacing: -.045em; text-transform: uppercase; }
.credits-heading > p:last-child { max-width: 640px; margin: 0 0 .35rem; color: #5f6070; font-size: 1rem; line-height: 1.55; }
.credits-list { border-top: 1px solid rgba(9,9,20,.3); }
.credits-list__header, .credit-row { display: grid; grid-template-columns: 1.5fr .9fr 1fr; gap: 1.5rem; }
.credits-list__header { padding: .85rem 0; color: #777786; font-size: .64rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.credit-row { align-items: baseline; padding: 1.35rem 0; border-top: 1px solid rgba(9,9,20,.13); }
.credit-row h3, .credit-row p { margin: 0; }
.credit-row h3 { font-size: clamp(1.1rem, 1.6vw, 1.45rem); line-height: 1.1; letter-spacing: -.025em; }
.credit-row p { color: #5f6070; font-size: .82rem; line-height: 1.35; }
.credit-row__label { display: none; }

/* Single production */
.production-hero { position: relative; min-height: clamp(620px, 82svh, 860px); overflow: hidden; background: #10101d; }
.production-hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: var(--sierra-image-fit, cover); object-position: var(--sierra-focus-x, 50%) var(--sierra-focus-y, 50%); background: #0d0d17; }
.production-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,5,12,.1) 20%, rgba(5,5,12,.9)); }
.production-hero__content { position: absolute; z-index: 1; inset: auto 0 0; padding: 9rem 0 4rem; }
.production-kicker { display: flex; gap: .8rem; margin-bottom: 1.2rem; color: rgba(255,255,255,.68); font-size: .72rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.production-kicker--after { margin: .65rem 0 0; color: rgba(255,255,255,.82); }
.production-title { max-width: 980px; margin: 0; overflow-wrap: anywhere; font-size: clamp(2.45rem, 5.7vw, 5.2rem); font-weight: 900; line-height: .92; letter-spacing: -.055em; text-wrap: balance; text-transform: uppercase; }
.production-more-link { display: inline-flex; min-height: 2.85rem; align-items: center; gap: .8rem; margin-top: 1.5rem; padding: .65rem .8rem .65rem 1.15rem; border: 1px solid rgba(255,255,255,.48); border-radius: 999px; color: white; background: rgba(9,9,20,.18); font-size: .72rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; backdrop-filter: blur(8px); transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease; }
.production-more-link__arrow { display: grid; width: 1.55rem; aspect-ratio: 1; place-items: center; border-radius: 50%; color: var(--sierra-ink); background: white; font-size: 1rem; line-height: 1; transition: transform .2s ease; }
.production-more-link:hover, .production-more-link:focus-visible { border-color: white; color: var(--sierra-ink); background: white; transform: translateY(2px); }
.production-more-link:hover .production-more-link__arrow, .production-more-link:focus-visible .production-more-link__arrow { color: white; background: var(--sierra-ink); transform: translateY(2px); }
.production-info { scroll-margin-top: 5rem; padding: clamp(2.5rem, 4.5vw, 4rem) 0 clamp(5rem, 10vw, 10rem); }
.production-info__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(3rem, 8vw, 9rem); }
.production-synopsis { margin: 0; font-size: clamp(1.25rem, 2.15vw, 2.15rem); line-height: 1.3; letter-spacing: -.03em; }
.production-framework__meta { display: grid; gap: 1rem; margin-top: 2.2rem; }
.production-framework__meta p { display: grid; gap: .25rem; margin: 0; }
.production-framework__meta span { color: var(--sierra-muted); font-size: .65rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.production-framework__meta strong { color: white; font-size: .9rem; font-weight: 700; line-height: 1.5; }
.production-facts { margin: 0; border-top: 1px solid rgba(255,255,255,.18); }
.production-fact { display: grid; grid-template-columns: 1fr 1.5fr; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.production-fact dt { color: var(--sierra-muted); font-size: .68rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.production-fact dd { margin: 0; font-weight: 700; }
.production-description { max-width: 900px; margin-top: 5rem; color: rgba(255,255,255,.75); font-size: 1.12rem; }
.production-trailer { margin-top: 5rem; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--sierra-radius); background: #000; }
.production-trailer iframe { width: 100%; height: 100%; border: 0; }
.gallery-section { padding: clamp(5rem, 9vw, 9rem) 0; color: var(--sierra-ink); background: var(--sierra-paper); }
.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; margin-top: 4rem; }
.gallery-item { grid-column: span 6; min-height: min(42vw, 590px); overflow: hidden; border-radius: 1rem; background: #ddd; cursor: zoom-in; }
.gallery-item:nth-child(3n) { grid-column: span 12; min-height: min(52vw, 720px); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-item:hover img { transform: scale(1.035); }
.related-projects { padding: clamp(6rem, 10vw, 10rem) 0; }
.related-projects .rail-card__content .project-title { color: var(--sierra-paper); }
.related-projects .rail-card__meta { color: var(--sierra-muted); }
.related-projects .rail-button, .about-backstage .rail-button { color: white; border-color: rgba(255,255,255,.24); }
.related-projects .rail-button:hover, .related-projects .rail-button:focus-visible, .about-backstage .rail-button:hover, .about-backstage .rail-button:focus-visible { color: var(--sierra-ink); background: white; }

/* Light appearance */
html[data-theme="light"] body { color: var(--sierra-ink); background: var(--sierra-paper); }
html[data-theme="light"] .site-header, html[data-theme="light"] .site-header.is-scrolled { color: var(--sierra-ink); background: rgba(247,247,251,.96); border-bottom-color: rgba(9,9,20,.1); }
html[data-theme="light"] .primary-menu a:hover { color: var(--sierra-magenta); }
html[data-theme="light"] .language-switch { color: rgba(9,9,20,.42); }
html[data-theme="light"] .language-switch a:hover, html[data-theme="light"] .language-switch a.is-active, html[data-theme="light"] .language-switch .current-lang a { color: var(--sierra-ink); }
html[data-theme="light"] .theme-toggle, html[data-theme="light"] .menu-toggle { color: var(--sierra-ink); border-color: rgba(9,9,20,.2); }
html[data-theme="light"] .hero, html[data-theme="light"] .inner-hero, html[data-theme="light"] .production-hero, html[data-theme="light"] .contact, html[data-theme="light"] .contact-page { color: white; }
html[data-theme="light"] .intro-copy, html[data-theme="light"] .about-story__copy { color: rgba(9,9,20,.82); }
html[data-theme="light"] .backstage__button { color: var(--sierra-ink); border-color: rgba(9,9,20,.22); }
html[data-theme="light"] .backstage__button:hover, html[data-theme="light"] .backstage__button:focus-visible { color: white; background: var(--sierra-ink); }
html[data-theme="light"] .about-backstage .rail-button, html[data-theme="light"] .related-projects .rail-button { color: var(--sierra-ink); border-color: rgba(9,9,20,.22); }
html[data-theme="light"] .about-backstage .rail-button:hover, html[data-theme="light"] .related-projects .rail-button:hover { color: white; background: var(--sierra-ink); }
html[data-theme="light"] .related-projects .rail-card__content .project-title { color: var(--sierra-ink); }
html[data-theme="light"] .related-projects .rail-card__meta { color: #676778; }
html[data-theme="light"] .stats { border-block-color: rgba(9,9,20,.16); }
html[data-theme="light"] .stat { border-right-color: rgba(9,9,20,.16); }
html[data-theme="light"] .services, html[data-theme="light"] .clients, html[data-theme="light"] .about-story, html[data-theme="light"] .manifesto, html[data-theme="light"] .production-info, html[data-theme="light"] .related-projects, html[data-theme="light"] .site-main--standard { background: var(--sierra-paper); }
html[data-theme="light"] .service-list, html[data-theme="light"] .service-row { border-color: rgba(9,9,20,.15); }
html[data-theme="light"] .service-description, html[data-theme="light"] .stat-label { color: #656576; }
html[data-theme="light"] .brand-wall { border-top-color: rgba(9,9,20,.14); }
html[data-theme="light"] .brand-wordmark { color: rgba(9,9,20,.55); border-color: rgba(9,9,20,.14); }
html[data-theme="light"] .production-framework__meta strong { color: var(--sierra-ink); }
html[data-theme="light"] .production-facts { border-top-color: rgba(9,9,20,.18); }
html[data-theme="light"] .production-fact { border-bottom-color: rgba(9,9,20,.18); }
html[data-theme="light"] .production-description { color: rgba(9,9,20,.74); }
html[data-theme="light"] .button { border-color: rgba(9,9,20,.25); }
html[data-theme="light"] .button:hover, html[data-theme="light"] .button:focus-visible { color: white; background: var(--sierra-ink); }
html[data-theme="light"] .contact .button, html[data-theme="light"] .contact-page .button { border-color: rgba(255,255,255,.28); }
html[data-theme="light"] .site-footer { color: #646475; background: #ececf3; }
html[data-theme="light"] .footer-brand { color: var(--sierra-ink); }
html[data-theme="light"] .social-links a:hover { color: var(--sierra-magenta); }

@media (min-width: 1100px) {
  .hero-visual { height: var(--sierra-viewport-height, 100svh); min-height: var(--sierra-viewport-height, 100svh); }
  .hero-copy { font-size: clamp(.9rem, 1.05vw, 1.08rem); }
}

@media (min-width: 1024px) and (max-width: 1440px) {
  :root { --sierra-max: 1240px; }
  .hero-title { font-size: clamp(2.6rem, 4.4vw, 4.2rem); }
  .hero-content { padding-top: 6.5rem; padding-bottom: 3rem; }
  .intro { padding-block: clamp(5.5rem, 8vw, 8rem); }
  .intro .section-title { font-size: clamp(2rem, 3.7vw, 3.35rem); }
  .intro-copy { font-size: clamp(1.08rem, 1.6vw, 1.5rem); }
  .contact-page__title { font-size: clamp(2.8rem, 5.2vw, 4.8rem); }
}

@media (min-width: 768px) and (max-height: 820px) {
  .hero-content { padding-top: 5.5rem; padding-bottom: 2rem; }
  .hero-content > .eyebrow { margin-bottom: .65rem; }
  .hero-bottom { margin-top: .85rem; }
  .hero-title { font-size: clamp(2.25rem, 4.3vw, 3.75rem); }
  .hero-copy { font-size: clamp(.86rem, 1.1vw, 1rem); }
  .contact-page__section { padding-top: 6.5rem; padding-bottom: 3rem; }
  .contact-page__title { font-size: clamp(2.5rem, 5.1vw, 4rem); }
  .contact-form { margin-top: 1.75rem; gap-block: .9rem; }
  .contact-form input { min-height: 2.9rem; }
  .contact-form textarea { min-height: 4.6rem; }
  .contact-channels { margin-top: 1.35rem; }
}

@media (max-width: 1199px) {
  .hero-content > .eyebrow, .hero-title, .hero-copy { white-space: normal; }
  .hero-title { max-width: 10.5ch; text-wrap: balance; }
  .hero-copy { max-width: 500px; }
}

@media (min-width: 768px) and (max-width: 1100px) {
  .header-inner { gap: 1rem; }
  .primary-navigation { gap: .8rem; }
  .primary-menu { gap: .85rem; }
  .primary-menu a { font-size: .64rem; }
  .theme-toggle { width: 2.35rem; justify-content: center; padding: .35rem; }
  .theme-toggle__text { display: none; }
  .custom-logo-link { max-width: 150px; }
}

@media (max-width: 900px) {
  .about-story__grid, .production-info__grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid--featured .project-card--secondary { grid-column: span 6; min-height: min(68vw, 620px); }
  .credits-heading { grid-template-columns: 1fr; }
  .credits-list__header { display: none; }
  .credit-row { grid-template-columns: 1.2fr 1fr; gap: .7rem 1.5rem; }
  .credit-row h3 { grid-row: span 2; }
  .credit-row__label { display: block; margin-bottom: .18rem; color: #8a8a98; font-size: .57rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
  .production-info__grid { gap: 3rem; }
  .about-story__copy { max-width: 760px; }
  .about-story__profile { position: relative; top: auto; width: min(100%, 540px); aspect-ratio: 4 / 5; }
  .intro .section-title { max-width: 16ch; }
}

@media (max-width: 620px) {
  .inner-hero { min-height: 70svh; }
  .inner-hero__title, .production-title { font-size: clamp(2.35rem, 11.5vw, 3.8rem); line-height: .94; letter-spacing: -.05em; }
  .contact-page__title { font-size: clamp(2.35rem, 11.5vw, 3.9rem); }
  .values-grid, .catalog-grid { grid-template-columns: 1fr; }
  .backstage__header { align-items: start; }
  .backstage__button { width: 2.8rem; }
  .backstage__slide { flex-basis: 84vw; aspect-ratio: 4 / 3; }
  .backstage__slide--portrait { flex-basis: 72vw; aspect-ratio: 3 / 4; }
  .rail-card, .rail-card--featured, .production-rail--compact .rail-card { flex-basis: 84vw; }
  .rail-card__content { min-height: 8rem; }
  .projects-all-link { text-align: left; }
  .credit-row { grid-template-columns: 1fr; padding: 1.5rem 0; }
  .credit-row h3 { grid-row: auto; margin-bottom: .35rem; }
  .value-card { min-height: 220px; }
  .gallery-item, .gallery-item:nth-child(3n) { grid-column: span 12; min-height: 72vw; }
}

@media (max-width: 900px) {
  .container, .hero-content { width: min(calc(100% - 2rem), var(--sierra-max)); }
  .hero-bottom { align-items: flex-start; flex-direction: column; }
  .section-head { align-items: start; flex-direction: column; }
  .intro-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .service-row { grid-template-columns: 3rem 1fr; }
  .service-description { grid-column: 2; }
  .platform-card { width: clamp(180px, 38vw, 250px); }
}

@media (max-width: 767px) {
  .site-header, .site-header.is-scrolled { padding: .7rem 0; }
  .header-inner { min-height: 3rem; }
  .custom-logo-link { position: relative; z-index: 1002; max-width: 150px; }
  .custom-logo { max-height: 42px; }
  .menu-toggle { display: block; flex: 0 0 auto; }
  .primary-navigation {
    position: fixed;
    z-index: 1001;
    inset: 0;
    display: flex;
    min-height: 100dvh;
    max-height: 100dvh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.25rem;
    overflow-y: auto;
    padding: 6.5rem 1.5rem 2rem;
    color: white;
    background: rgba(9,9,20,.99);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-1.5rem);
    transition: opacity .3s ease, visibility .3s ease, transform .35s cubic-bezier(.7,0,.2,1);
  }
  .menu-open .primary-navigation { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  .primary-menu { width: 100%; flex-direction: column; gap: 1.25rem; text-align: center; }
  .primary-menu a { display: inline-block; padding: .15rem .5rem; font-size: clamp(1.35rem, 6.5vw, 2rem); line-height: 1.12; letter-spacing: -.03em; }
  .language-switch { justify-content: center; margin: 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.5); font-size: 1rem; }
  .language-switch a { padding: .35rem .45rem; }
  .theme-toggle { min-height: 2.8rem; padding-inline: 1rem; }
  .theme-toggle__text { font-size: .72rem; }
}

@media (max-width: 767px) {
  html[data-theme="light"] .primary-navigation { color: var(--sierra-ink); background: rgba(247,247,251,.995); }
  html[data-theme="light"] .language-switch { border-top-color: rgba(9,9,20,.14); color: rgba(9,9,20,.45); }
}

@media (max-width: 620px) {
  .brand-name { font-size: .82rem; }
  .hero-title { max-width: 9.5ch; font-size: clamp(2.15rem, 11vw, 3.45rem); line-height: .93; }
  .section-title { font-size: clamp(1.85rem, 9.2vw, 3rem); }
  .intro-copy { font-size: clamp(1.08rem, 5.3vw, 1.42rem); }
  .play-reel { margin-top: 1rem; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .stat:last-child { border-bottom: 0; }
  .project-card, .project-card:nth-child(3n), .project-grid--featured .project-card:nth-child(3n), .project-grid--featured .project-card--featured, .project-grid--featured .project-card--secondary { grid-column: span 12; min-height: 108vw; }
  .project-title { font-size: clamp(1.4rem, 7.2vw, 2.1rem); }
  .rail-card__content .project-title, .project-card--artwork .rail-card__content .project-title { max-width: 22ch; font-size: clamp(1.2rem, 6vw, 1.75rem); }
  .project-overlay { padding: 1.35rem; }
  .project-featured-label { top: 1rem; left: 1rem; }
  .project-arrow { top: 1rem; right: 1rem; }
  .contact-title { font-size: clamp(2rem, 9.8vw, 3.3rem); }
  .manifesto blockquote { font-size: clamp(1.75rem, 8.5vw, 2.9rem); }
  .service-row { grid-template-columns: 2rem 1fr; gap: 1rem; }
  .platform-carousel { margin-inline: -1rem; padding-inline: 1rem; }
  .platform-card { width: 68vw; min-height: 118px; padding: 1.5rem; }
  .platform-card img { height: 58px; }
  .brand-wall { gap: .55rem; }
  .brand-wordmark { padding: .6rem .75rem; font-size: .62rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-meta, .social-links { text-align: left; justify-content: start; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form .form-field--full { grid-column: auto; }
  .contact-form__footer { align-items: stretch; flex-direction: column; }
  .contact-form__submit { width: 100%; }
  .whatsapp-float { right: .85rem; bottom: .85rem; min-height: 3rem; padding: .7rem .9rem; font-size: .66rem; }
  .hero-copy-panel { background: linear-gradient(180deg, transparent 0, rgba(9,9,20,.08) 38%, rgba(9,9,20,.83) 60%, #090914 100%); }
  .hero-copy-panel::before { display: none; }
  .hero-media { left: 50%; transform: translate(-50%, -50%); }
  .hero-content { justify-content: flex-end; padding-top: max(6rem, 46svh); padding-bottom: 1.5rem; text-align: left; }
  .hero-content > .eyebrow { margin-bottom: .65rem; font-size: .62rem; line-height: 1.35; white-space: normal; }
  .hero-bottom { margin-top: .8rem; }
  .hero-copy { max-width: 34rem; font-size: clamp(.76rem, 3.45vw, .92rem); line-height: 1.42; }
  .contact-page__section { padding-top: 6.5rem; padding-bottom: 4rem; }
  .contact-form textarea { min-height: 5.5rem; }
  .contact-channels { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 900px) and (max-height: 560px) and (orientation: landscape) {
  .hero-copy-panel { background: linear-gradient(90deg, rgba(9,9,20,.96), rgba(9,9,20,.7) 43%, transparent 72%); }
  .hero-content { justify-content: flex-end; padding-top: 4.5rem; padding-bottom: 1rem; }
  .hero-content > .eyebrow { max-width: 42ch; margin-bottom: .4rem; font-size: .52rem; }
  .hero-title { max-width: 10ch; font-size: clamp(1.85rem, 5.6vw, 2.65rem); }
  .hero-bottom { margin-top: .55rem; }
  .hero-copy { max-width: 440px; font-size: .68rem; line-height: 1.35; }
}

@media (max-width: 380px) {
  .container, .hero-content { width: min(calc(100% - 1.25rem), var(--sierra-max)); }
  .brand-name { max-width: 150px; font-size: .7rem; letter-spacing: .1em; }
  .menu-toggle { width: 2.75rem; height: 2.75rem; }
  .menu-toggle::before, .menu-toggle::after { left: .75rem; }
  .primary-navigation { padding-inline: 1rem; }
  .primary-menu a { font-size: clamp(1.25rem, 6.5vw, 1.65rem); }
  .hero-content { padding-bottom: 2.5rem; }
  .hero-copy { font-size: .92rem; }
  .stat { padding-inline: .8rem; }
  .service-row { grid-template-columns: 1.5rem 1fr; }
  .production-fact { grid-template-columns: 1fr; gap: .35rem; }
}

@media (max-width: 620px) {
  html[data-theme="light"] .stat { border-bottom-color: rgba(9,9,20,.16); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (prefers-reduced-motion: reduce) {
  .platform-carousel { overflow-x: auto; mask-image: none; scrollbar-width: thin; }
  .platform-carousel__track { animation: none; }
  .platform-carousel__set[aria-hidden="true"] { display: none; }
}
