/* Sane House Media v3 — loaded after style.css and v2.css.
   No intro curtain, no focus box, services moved up, work rail sized to the viewport. */

.iris, .vf__focus { display: none !important; }

/* film grain: breaks the flat digital look, sits above everything, never catches clicks */
.grain { position: fixed; inset: -50%; z-index: 120; pointer-events: none; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }
@media (prefers-reduced-motion: reduce) { .grain { animation: none; } }

h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.btn { transition: transform 160ms var(--ease-out), background-color 160ms var(--ease-out), color 160ms var(--ease-out), border-color 160ms ease; }
.btn:active { transform: scale(.97); }
:focus-visible { outline: 2px solid var(--rec); outline-offset: 4px; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: var(--step--1); color: var(--muted); letter-spacing: .02em; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rec); }

/* hero: a quiet scroll cue replaces the removed second button */
.hero__scroll { position: absolute; left: 50%; bottom: clamp(20px, 4vh, 40px); z-index: 3; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid rgba(255, 255, 255, .6); border-radius: 14px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: cue 1.8s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hero__scroll span { animation: none; } }

/* our services, now right under the hero */
.services__head { display: grid; gap: 14px; max-width: 900px; }
.services__lede { color: var(--muted); max-width: 52ch; font-size: var(--step-0); }
.svc__row { cursor: default; }
.services__more { margin-top: clamp(28px, 4vw, 48px); display: flex; justify-content: flex-start; }
.btn--ink { --bg: var(--ink); --fg: var(--paper); }
@media (hover: hover) and (pointer: fine) { .btn--ink:hover { --bg: var(--rec); } }

/* selected work: the whole card (film + title + caption) fits in the pinned screen */
@media (min-width: 761px) {
  .work { min-height: 100svh; padding: clamp(72px, 10vh, 112px) 0 clamp(36px, 6vh, 64px); display: flex; flex-direction: column; justify-content: center; }
  .work__rail { padding-top: clamp(20px, 4vh, 44px); align-items: flex-start; }
  .reel { width: clamp(420px, calc((100svh - 390px) * 16 / 9), min(72vw, 880px)); }
  .reel__meta { padding-top: 16px; }
}
.reel__meta h3 { line-height: 1.05; }

.kitteaser__copy .eyebrow { margin-bottom: -6px; }

/* services page: opens straight on the monitor, the page title heads the right column */
.svx--top { padding-top: clamp(104px, 14vh, 136px); }
.svx--top .svx__frame { top: clamp(104px, 14vh, 136px); max-height: calc(100svh - clamp(104px, 14vh, 136px) - 32px); }
.svx__col { display: grid; align-content: start; }
.svx__intro { display: grid; gap: 16px; padding-bottom: clamp(24px, 4vh, 40px); }
.svx__title { font-size: clamp(2.4rem, 4.4vw, 4.6rem); line-height: .92; max-width: 17ch; }
.svx__lede { color: var(--muted); max-width: 44ch; font-size: var(--step-0); line-height: 1.5; }
.svx--top .svx__list > li:first-child { min-height: 46vh; align-content: start; padding-top: 28px; }
@media (max-width: 1000px) {
  .svx__title { font-size: clamp(2.6rem, 11vw, 3.6rem); }
}

/* ---------- nav: "More" dropdown with a one-line description per item ---------- */
.nav__links { align-items: center; }
.more { position: relative; }
.more__btn { font: inherit; color: inherit; background: none; border: 0; padding: 6px 0; cursor: pointer; opacity: .82; display: inline-flex; gap: 6px; align-items: center; }
.more__btn span { font-size: .7em; transition: transform 160ms var(--ease-out); }
.more.is-open .more__btn, .more__btn:hover, .more.is-current .more__btn { opacity: 1; }
.more.is-open .more__btn span { transform: rotate(180deg); }
.more__panel { position: absolute; right: -12px; top: calc(100% + 10px); width: 300px; padding: 8px; border-radius: 16px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 60px -24px rgba(20, 23, 28, .45), 0 0 0 1px var(--line); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 160ms var(--ease-out), transform 280ms var(--ease-out), visibility 0s linear 280ms; }
.more__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.more.is-open .more__panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav__links .more__panel a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; opacity: 1; }
.more__panel a b { font-weight: 700; font-size: var(--step-0); }
.more__panel a span { color: var(--muted); font-size: .8rem; font-weight: 500; }
.more__panel a:hover, .more__panel a:focus-visible, .more__panel a[aria-current="page"] { background: var(--cyc); }
.nav__links .more__panel a[aria-current="page"]::after { display: none; }
.menu a.menu__cta { color: var(--rec); }

/* ---------- footer: address, contact, legal only ---------- */
.foot--v3 { grid-template-columns: 1fr 1fr; }
.foot--v3 .foot__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between; }
.foot--v3 .foot__legal a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- shared bits ---------- */
.eyebrow--light { color: var(--on-slate-muted); }
.reel__meta { display: grid; grid-template-columns: 1fr; gap: 6px; padding-top: 16px; }
.reel__meta h3 { grid-row: auto; }
.reel__client { font-size: .78rem; font-weight: 700; letter-spacing: .02em; color: #ff6b5f; }
.reel__media { position: relative; }
.reel__dur { position: absolute; right: 12px; bottom: 12px; z-index: 1; font-size: .75rem; font-weight: 700; font-variant-numeric: tabular-nums; color: #fff; background: rgba(10, 13, 18, .6); padding: 3px 8px; border-radius: 999px; }
.work__head { align-items: end; }
.work__head > div { display: grid; gap: 10px; }

/* ---------- the real FX6 (photo viewer) ---------- */
.fx6 { position: absolute; inset: 0; container-type: size; display: grid; place-items: center; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.fx6.is-dragging { cursor: grabbing; }
.fx6__side { position: relative; width: min(100cqw, 100cqh * 1.0546); transform-origin: 50% 50%; will-change: transform, opacity; }
.fx6__layer { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; filter: drop-shadow(0 30px 40px rgba(20, 23, 28, .28)); }
.fx6__rear { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; will-change: transform, opacity; pointer-events: none; }
.fx6__rear img { max-width: 100cqw; max-height: 100cqh; width: auto; height: auto; filter: drop-shadow(0 30px 40px rgba(20, 23, 28, .28)); }
.fx6__credit { position: absolute; right: 0; bottom: -4px; font-size: .68rem; color: var(--muted); }
.kitx .fx6 { inset: clamp(100px, 15vh, 150px) var(--gut) clamp(120px, 20vh, 180px) 38%; }
@media (max-width: 1000px) { .kitx .fx6 { inset: 46% var(--gut) 150px var(--gut); } }

/* ---------- home: the anatomy of a shot ---------- */
.anatomy { background: radial-gradient(120% 90% at 70% 50%, #ecebe7 0%, var(--cyc) 60%); }
.anatomy__pin { position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(90px, 12vh, 120px) var(--gut) clamp(40px, 6vh, 64px); }
.anatomy__copy { display: grid; gap: 18px; justify-items: start; }
.anatomy__copy > p:not(.eyebrow) { color: var(--muted); max-width: 42ch; }
.anatomy__parts { display: grid; width: 100%; border-top: 1px solid var(--line); counter-reset: part; }
.anatomy__parts li { display: grid; grid-template-columns: 2.4ch 1fr; gap: 2px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); cursor: default; transition: opacity 280ms var(--ease-out); counter-increment: part; }
.anatomy__parts li::before { content: counter(part, decimal-leading-zero); grid-row: span 2; font-size: .78rem; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 3px; }
.anatomy__parts b { font-weight: 750; }
.anatomy__parts span { font-size: var(--step--1); color: var(--muted); }
.anatomy__parts li.is-active::before, .anatomy__parts li.is-active b { color: var(--rec); }
.anatomy__stage { position: relative; height: min(72svh, 680px); }
.anatomy__labels { position: absolute; inset: 0; pointer-events: none; }
.adot { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 700; white-space: nowrap; color: var(--ink); background: rgba(239, 237, 232, .94); padding: 3px 9px 3px 4px; border-radius: 999px; box-shadow: 0 6px 16px -8px rgba(20, 23, 28, .4); opacity: 0; transition: opacity 280ms var(--ease-out), background-color 160ms var(--ease-out), color 160ms ease; }
.adot::before { content: ""; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--rec); box-shadow: none; outline: 2px solid var(--paper); outline-offset: 0; }
.adot.is-on { opacity: 1; }
.adot.is-active { background: var(--ink); color: var(--paper); }
@media (max-width: 1000px) {
  .adot { padding: 0; background: none; box-shadow: none; }
  .anatomy__pin { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .anatomy__stage { height: 62vw; min-height: 260px; order: -1; }
  .adot { font-size: 0; gap: 0; }
}

/* ---------- home: about teaser ---------- */
.aboutteaser { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; padding: clamp(80px, 10vw, 140px) var(--gut); align-items: center; }
.aboutteaser__img { margin: 0; overflow: hidden; border-radius: 14px; }
.aboutteaser__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.aboutteaser__img--a { grid-column: 1 / span 5; grid-row: 1 / span 2; aspect-ratio: 4 / 5; }
.aboutteaser__img--b { grid-column: 6 / span 3; grid-row: 2; aspect-ratio: 1; }
.aboutteaser__copy { grid-column: 9 / span 4; grid-row: 1 / span 2; display: grid; gap: 18px; justify-items: start; }
.aboutteaser__big { font-size: var(--step-1); line-height: 1.35; font-weight: 550; }
.aboutteaser__copy > p:not(.aboutteaser__big):not(.eyebrow) { color: var(--muted); }
@media (max-width: 900px) {
  .aboutteaser { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .aboutteaser__img--a { grid-column: 1 / span 4; grid-row: 1; }
  .aboutteaser__img--b { grid-column: 4 / span 3; grid-row: 1; align-self: end; margin-bottom: -20%; }
  .aboutteaser__copy { grid-column: 1 / -1; grid-row: 2; margin-top: 24px; }
}

/* ---------- home: quick inquiry ---------- */
.inquiry { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); padding: clamp(80px, 10vw, 140px) var(--gut); background: var(--slate); color: var(--on-slate); }
.inquiry__copy { display: grid; gap: 18px; align-content: start; }
.inquiry__copy > p:not(.eyebrow) { color: var(--on-slate-muted); max-width: 40ch; }
.inquiry__direct a { color: var(--on-slate); text-decoration: none; font-weight: 650; line-height: 1.8; }
.inquiry__form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: start; }
.inquiry__form label { display: grid; gap: 6px; font-size: var(--step--1); font-weight: 650; }
.inquiry__wide, .inquiry__note, .inquiry__status, .inquiry__form .btn { grid-column: 1 / -1; }
.inquiry__form .btn { justify-self: start; }
.inquiry__form input, .inquiry__form select, .inquiry__form textarea { font: inherit; font-size: var(--step-0); color: var(--on-slate); background: rgba(233, 231, 226, .06); border: 1px solid var(--line-slate); border-radius: 10px; padding: 12px 14px; min-height: 48px; transition: border-color 160ms var(--ease-out), background-color 160ms var(--ease-out); }
.inquiry__form select option { color: var(--ink); }
.inquiry__form input:focus, .inquiry__form select:focus, .inquiry__form textarea:focus { outline: none; border-color: var(--on-slate); background: rgba(233, 231, 226, .1); }
.inquiry__form label.is-error input, .inquiry__form label.is-error select, .inquiry__form label.is-error textarea { border-color: #ff6b5f; }
.inquiry__note { font-size: .8rem; color: var(--on-slate-muted); }
.inquiry__note a { color: var(--on-slate); }
.inquiry__status { font-size: var(--step--1); color: var(--on-slate); min-height: 1.4em; }
@media (max-width: 860px) { .inquiry { grid-template-columns: minmax(0, 1fr); } .inquiry__form { grid-template-columns: minmax(0, 1fr); } }

/* ---------- about page ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); padding: 0 var(--gut) clamp(80px, 10vw, 140px); }
.pillars article { display: grid; gap: 12px; align-content: start; border-top: 1px solid var(--line); padding-top: 22px; }
.pillars__n { font-size: .8rem; color: var(--rec); font-weight: 700; font-variant-numeric: tabular-nums; }
.pillars h2 { font-size: var(--step-3); }
.pillars__lead { font-weight: 650; font-size: var(--step-1); line-height: 1.3; }
.pillars article > p:last-child { color: var(--muted); }
.bts { overflow: hidden; padding-bottom: clamp(80px, 10vw, 140px); }
.bts__track { display: flex; gap: 16px; width: max-content; padding-left: var(--gut); }
.bts__track img { height: clamp(220px, 32vw, 420px); width: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; }
.who__lede { color: var(--on-slate-muted); margin-top: 12px; max-width: 46ch; }
.ahead { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); padding: clamp(80px, 10vw, 140px) var(--gut); align-items: end; }
.ahead > div:first-child { display: grid; gap: 16px; }
.ahead > div:first-child p { color: var(--muted); max-width: 46ch; }
.ahead__cta { display: grid; gap: 22px; justify-items: start; }
.ahead__big { font-size: var(--step-3); font-weight: 800; font-variation-settings: "wdth" 70; font-stretch: 70%; line-height: 1; }
@media (max-width: 860px) { .pillars, .ahead { grid-template-columns: minmax(0, 1fr); } }

/* ---------- journal page ---------- */
.journal { padding-top: clamp(40px, 6vw, 80px); }
.notes li { display: block; padding: 0; }
.notes li a { display: grid; grid-template-columns: 92px 1fr; gap: 16px; align-items: center; padding: 10px; border-radius: 12px; text-decoration: none; color: inherit; }

/* ---------- FAQ ---------- */
.faq { padding: clamp(48px, 7vw, 96px) var(--gut) clamp(80px, 10vw, 140px); max-width: 980px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: clamp(18px, 2.2vw, 26px) 0; font-size: var(--step-1); font-weight: 750; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--cyc); font-weight: 600; transition: transform 280ms var(--ease-out), background-color 160ms var(--ease-out), color 160ms var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--rec); color: #fff; }
.faq details > div { display: grid; gap: 12px; padding: 0 0 24px; color: var(--muted); max-width: 64ch; }

/* ---------- privacy policy ---------- */
.legal { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); padding: clamp(48px, 7vw, 96px) var(--gut) clamp(80px, 10vw, 140px); align-items: start; }
.legal__summary { position: sticky; top: 110px; background: var(--cyc); border-radius: 14px; padding: 22px; display: grid; gap: 12px; }
.legal__summary h2 { font-size: var(--step-1); font-weight: 800; }
.legal__summary ul { display: grid; gap: 10px; font-size: var(--step--1); }
.legal__summary li { padding-left: 16px; position: relative; }
.legal__summary li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--rec); }
.legal__body { display: grid; gap: 14px; max-width: 70ch; }
.legal__body h2 { font-size: var(--step-1); font-weight: 800; margin-top: 18px; }
.legal__body p, .legal__body li { color: var(--muted); }
.legal__body ul { display: grid; gap: 6px; padding-left: 18px; list-style: disc; }
.legal__body strong { color: var(--ink); }
@media (max-width: 860px) { .legal { grid-template-columns: minmax(0, 1fr); } .legal__summary { position: static; } }

/* ---------- portfolio: more productions ---------- */
.more-work { padding: clamp(80px, 10vw, 140px) var(--gut); background: var(--slate); color: var(--on-slate); }
.more-work__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.more-work__head p { color: var(--on-slate-muted); max-width: 40ch; }
.more-work__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); margin-top: clamp(32px, 4vw, 56px); }
.more-work .reel { width: auto; }
.more-work .reel__meta p:not(.reel__client) { color: var(--on-slate-muted); font-size: var(--step--1); }
@media (max-width: 760px) { .more-work__grid { grid-template-columns: minmax(0, 1fr); } }

.kitx .fx6__credit { bottom: auto; top: -22px; }


.phead__index:has(> a:nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 760px) { .phead__index:has(> a:nth-child(4)) { grid-template-columns: minmax(0, 1fr); } }
