/* Sarosi — v3 refinement layer (award pass). Same brand: colors, fonts, logos, content.
   Loaded after styles.css. */

:root {
  --text-hero: clamp(3.5rem, 1.2rem + 9.2vw, 10.75rem);
  --text-2xl: clamp(2.9rem, 1.9rem + 3.6vw, 5.4rem);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --hair: rgba(255, 255, 255, 0.045);
}

/* Typographic finish */
h1, h2, h3, .display { text-wrap: balance; }
p, li, blockquote { text-wrap: pretty; }
.display { letter-spacing: 0.006em; }
.h-hero { line-height: 0.86; }
.h-2xl { line-height: 0.9; }
body { font-feature-settings: "ss01", "kern"; }

/* Film grain (very faint, adds tactile depth to the blacks) */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 150; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* Architectural column lines aligned to the content grid */
.gridlines { position: fixed; inset: 0; z-index: 1; pointer-events: none; }
.gridlines .container { height: 100%; display: grid; grid-template-columns: repeat(4, 1fr); }
.gridlines span { border-left: 1px solid var(--hair); height: 100%; }
.gridlines span:last-child { border-right: 1px solid var(--hair); }
@media (max-width: 760px) { .gridlines .container { grid-template-columns: repeat(2, 1fr); } .gridlines span:nth-child(n+3) { display: none; } .gridlines span:nth-child(2) { border-right: 1px solid var(--hair); } }
main, .site-footer { position: relative; }
.section--paper { position: relative; z-index: 2; }

/* ---------- Header ---------- */
.site-header { transition: transform .55s var(--ease-out), background-color .4s var(--ease), border-color .4s var(--ease); }
.site-header.is-hidden { transform: translateY(-101%); }
.menu-open .site-header.is-hidden { transform: none; }
.site-header .progress { position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--gold); transform-origin: left; transform: scaleX(var(--p, 0)); opacity: 0; transition: opacity .4s; }
.site-header.is-scrolled .progress { opacity: .9; }
.nav a:not(.btn) { letter-spacing: 0.12em; font-size: .8rem; }
@media (max-width: 1120px) {
  .nav a:not(.btn) { font-size: 2.9rem; letter-spacing: .015em; display: flex; align-items: baseline; justify-content: space-between; }
  .nav a:not(.btn)::before { content: attr(data-n); order: 2; font-family: var(--font-body); font-size: .72rem; letter-spacing: .2em; color: var(--text-faint); }
  .js .nav > * { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
  .menu-open .nav > * { opacity: 1; transform: none; }
  .menu-open .nav > :nth-child(2) { transition-delay: .05s; } .menu-open .nav > :nth-child(3) { transition-delay: .1s; }
  .menu-open .nav > :nth-child(4) { transition-delay: .15s; } .menu-open .nav > :nth-child(5) { transition-delay: .2s; }
}

/* ---------- Buttons ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; letter-spacing: .12em; font-size: .8rem; }
.btn--gold::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--ease-out); }
.btn--gold:hover::before { transform: translateX(120%); }
.btn--ghost::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--text); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease-out); }
.btn--ghost:hover { color: var(--ink); border-color: var(--text); }
.btn--ghost:hover::before { transform: scaleY(1); }
.btn--ghost:hover .btn__dur { color: var(--ink); border-color: rgba(20,18,16,.3); }

/* ---------- Line reveal for display headings ---------- */
.ln { display: block; overflow: hidden; padding: .22em 0 .06em; margin: -.22em 0 -.06em; }
.ln > span { display: block; }
.js .ln > span { transform: translateY(125%); transition: transform 1.25s var(--ease-out); }
.js .is-in .ln > span, .js .ln.is-in > span { transform: none; }
.js .ln:nth-child(2) > span { transition-delay: .09s; }
.js .ln:nth-child(3) > span { transition-delay: .18s; }
.js .ln:nth-child(4) > span { transition-delay: .27s; }

/* Image curtain reveal */
.js .curtain { clip-path: inset(0 0 100% 0); transition: clip-path 1.4s var(--ease-out); }
.js .curtain > img, .js .curtain > video { transform: scale(1.12); transition: transform 2s var(--ease-out); }
.js .curtain.is-in { clip-path: inset(0 0 0 0); }
.js .curtain.is-in > img, .js .curtain.is-in > video { transform: none; }

/* ---------- Hero ---------- */
.hero { padding-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.hero::before {
  background:
    linear-gradient(180deg, rgba(10,10,10,.82) 0%, rgba(10,10,10,.1) 28%, rgba(10,10,10,.28) 58%, rgba(10,10,10,.97) 100%),
    linear-gradient(90deg, rgba(10,10,10,.78) 0%, rgba(10,10,10,.15) 55%, rgba(10,10,10,0) 75%),
    radial-gradient(120% 80% at 50% 120%, rgba(10,10,10,.6), transparent 60%);
}
.hero__media img { animation: heroZoom 18s var(--ease-out) forwards; transform: scale(1.12); }
.hero h1 { max-width: none; }
.hero h1 .gold { color: var(--gold); }
.hero .eyebrow { letter-spacing: .3em; }
.hero__inner { gap: clamp(1.5rem, 3vw, 2.5rem); position: relative; z-index: 2; }
.hero__lead { font-size: clamp(1.0625rem, 1rem + .35vw, 1.3rem); color: #ddd8d0; max-width: 46ch; }
.hero__meta { gap: 0; margin-top: clamp(1rem, 2.5vw, 2rem); padding-top: 0; border-top: 1px solid rgba(255,255,255,.16); }
.hero__meta div { padding: 1.35rem 1.5rem 0 0; position: relative; }
.hero__meta div + div { padding-left: 1.5rem; border-left: 1px solid rgba(255,255,255,.08); }
.hero__meta div::before { content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 1px; background: var(--gold); transition: width 1.4s var(--ease-out) .5s; }
.hero.is-in .hero__meta div::before, .no-js .hero__meta div::before { width: 38px; }
.hero__meta div + div::before { left: 1.5rem; }
.hero__meta strong { font-size: clamp(1.7rem, 1.2rem + 1.2vw, 2.35rem); margin-bottom: .2rem; }
.js .hero .fade { opacity: 0; transform: translateY(16px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.js .hero.is-in .fade { opacity: 1; transform: none; }
.js .hero.is-in .fade-1 { transition-delay: .35s; } .js .hero.is-in .fade-2 { transition-delay: .5s; } .js .hero.is-in .fade-3 { transition-delay: .65s; }
.scroll-cue { position: absolute; right: var(--gutter); bottom: clamp(2.5rem, 5vw, 4.5rem); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: .9rem; font-size: .62rem; letter-spacing: .32em; text-transform: uppercase; color: var(--text-muted); writing-mode: vertical-rl; }
.scroll-cue i { display: block; width: 1px; height: 64px; background: rgba(255,255,255,.18); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--gold); animation: cue 2.4s var(--ease-out) infinite; }
@keyframes cue { to { top: 100%; } }
.page-home .hero .container { position: relative; }
@media (max-width: 1240px) { .scroll-cue { display: none; } }
@media (max-width: 760px) {
  .hero { min-height: 100svh; }
  .hero__meta div { padding: 1rem .75rem 0 0; }
  .hero__meta div + div { padding-left: 0; border-left: 0; }
  .hero__meta div:nth-child(even) { padding-left: 1rem; border-left: 1px solid rgba(255,255,255,.08); }
  .hero__meta div:nth-child(even)::before { left: 1rem; }
  .hero__meta div:nth-child(n+3) { margin-top: .9rem; border-top: 1px solid rgba(255,255,255,.08); }
  .hero__meta div:nth-child(n+3)::before { display: none; }
}

/* ---------- Group strip ---------- */
.group-strip a { position: relative; transition: background-color .5s var(--ease); }
.group-strip a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out); }
.group-strip a:hover::after { transform: scaleX(1); }
.group-strip img { transition: transform .7s var(--ease-out), filter .5s; }
.group-strip a:hover img { transform: translateY(-3px); }
.group-strip__label { letter-spacing: .28em; }

/* ---------- Marquee ---------- */
.marquee { position: relative; z-index: 2; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg); padding-block: clamp(1.4rem, 3vw, 2.4rem); user-select: none; }
.marquee__track { display: flex; width: max-content; animation: marq 46s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__set { display: flex; align-items: center; flex-shrink: 0; }
.marquee__item { font-family: var(--font-display); font-size: clamp(2.6rem, 1.6rem + 4.2vw, 6.25rem); line-height: 1; letter-spacing: .015em; text-transform: uppercase; white-space: nowrap; padding-inline: clamp(1.1rem, 2.2vw, 2.25rem); color: var(--text); }
.marquee__item:nth-child(4n+3) { color: transparent; -webkit-text-stroke: 1px rgba(243,240,234,.55); }
.marquee__sep { width: clamp(9px, 1vw, 13px); aspect-ratio: 1; background: var(--gold); transform: rotate(45deg); flex-shrink: 0; }
@keyframes marq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---------- Film ---------- */
.film__lead { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); }
.film__frame { border-radius: 2px; border-color: rgba(255,255,255,.08); box-shadow: 0 60px 120px -60px rgba(0,0,0,.9); cursor: none; }
.film__frame:not(:hover) { cursor: pointer; }
.film__shade { background: linear-gradient(0deg, rgba(10,10,10,.35) 0%, rgba(10,10,10,0) 40%); }
.film__cta, .film__tag { display: none; }
.film__corner { width: 52px; height: 52px; z-index: 3; }
.film__orb { position: absolute; right: clamp(1.25rem, 4vw, 3.5rem); bottom: clamp(1.25rem, 4vw, 3.5rem); z-index: 4; width: clamp(64px, 8vw, 116px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--ink); pointer-events: none; transition: transform .5s var(--ease-out), background-color .3s; animation: filmPulse 2.8s var(--ease) infinite; }
.film__orb svg { width: 30%; height: 30%; margin-left: 7%; }
.film__orb b { position: absolute; inset: -14px; border: 1px solid rgba(244,184,96,.45); border-radius: 50%; }
.film__frame.is-follow .film__orb { left: 0; top: 0; right: auto; bottom: auto; transform: translate(var(--x), var(--y)) translate(-50%, -50%) scale(1.06); animation: none; }
.film__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.film__meta-l { display: flex; align-items: baseline; gap: 1rem; }
.film__meta-l strong { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem); line-height: 1; letter-spacing: .02em; }
.film__meta-l span { font-size: var(--text-xs); letter-spacing: .2em; color: var(--gold); font-variant-numeric: tabular-nums; }
.film__meta-r { font-size: var(--text-xs); letter-spacing: .2em; text-transform: uppercase; color: var(--text-faint); }
.film__chips { margin-top: 1.25rem; }
.film__chips li { transition: border-color .3s, color .3s; }
.film__chips li:hover { border-color: var(--gold); color: var(--text); }
@media (hover: none), (max-width: 900px) { .film__frame { cursor: pointer; } }
@media (max-width: 560px) { .film__orb { width: 58px; } .film__orb b { inset: -8px; } .film__meta-r { display: none; } }

/* ---------- Sections ---------- */
.section-head h2 { margin-top: var(--space-5); }
.eyebrow { letter-spacing: .26em; }
.eyebrow .n { color: var(--text-faint); letter-spacing: .14em; margin-right: .1em; }
.section--paper .eyebrow .n { color: var(--ink-muted); }
.figure { border-radius: 2px; }
.figure figcaption { letter-spacing: .22em; font-size: .66rem; padding: .55rem .8rem; background: rgba(10,10,10,.6); }
.split .figure--tall::before, .split .figure--tall::after { content: ""; position: absolute; width: 44px; height: 44px; z-index: 2; pointer-events: none; }
.split .figure--tall::before { top: 14px; left: 14px; border-top: 1px solid rgba(244,184,96,.8); border-left: 1px solid rgba(244,184,96,.8); }
.split .figure--tall::after { right: 14px; bottom: 14px; border-right: 1px solid rgba(244,184,96,.8); border-bottom: 1px solid rgba(244,184,96,.8); }
.points li { position: relative; transition: border-color .4s; }
.points li::before { content: ""; position: absolute; top: -1px; left: 0; height: 1px; width: 0; background: var(--gold); transition: width .8s var(--ease-out); }
.points li:hover::before { width: 100%; }
.points h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.55rem; letter-spacing: .02em; line-height: 1; margin-bottom: .45rem; }

/* Services list */
.svc-item { position: relative; transition: padding .5s var(--ease-out); }
.svc-item::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease-out); }
.svc-item:hover { padding-left: .75rem; }
.svc-item:hover::after { transform: scaleX(1); }
.svc-item__n { font-size: 1.9rem; transition: color .3s; }
.svc-item:hover .svc-item__n { color: var(--ink); }
.svc-item h3 { font-size: clamp(1.15rem, 1.05rem + .45vw, 1.45rem); letter-spacing: -.01em; }
@media (hover: none) { .svc-item:hover { padding-left: 0; } }

/* Band */
.band { min-height: 86svh; }
.band blockquote p { font-size: clamp(3rem, 1.8rem + 4.6vw, 6.6rem); line-height: .9; max-width: 15ch; }
.band cite { letter-spacing: .3em; display: flex; align-items: center; gap: .9rem; }
.band cite::before { content: ""; width: 40px; height: 1px; background: currentColor; }

/* Process */
.process__n { font-family: var(--font-display); font-weight: 400; font-size: clamp(3.4rem, 2.4rem + 3vw, 5.25rem); line-height: .85; letter-spacing: 0; color: transparent; -webkit-text-stroke: 1px rgba(244,184,96,.75); display: block; }
.process li { transition: background-color .5s var(--ease); }
.process li:hover { background: linear-gradient(180deg, rgba(244,184,96,.05), transparent 70%); }
.process h3 { font-size: 2.15rem; margin-top: 1.4rem; }
.process.is-in li::before { width: 100%; }
.process li:nth-child(1)::before { transition-delay: .0s; } .process li:nth-child(2)::before { transition-delay: .15s; }
.process li:nth-child(3)::before { transition-delay: .3s; } .process li:nth-child(4)::before { transition-delay: .45s; }
.process li:nth-child(5)::before { transition-delay: .6s; }
.process li::before { width: 0; transition: width 1.2s var(--ease-out); opacity: .85; }

/* Mosaic */
.mosaic { gap: 10px; }
.tile { border-radius: 2px; }
.tile::before { background: linear-gradient(180deg, rgba(10,10,10,0) 30%, rgba(10,10,10,.9) 100%); transition: opacity .6s; }
.tile img { transition: transform 1.6s var(--ease-out), filter .8s; filter: saturate(.92); }
.tile:hover img { transform: scale(1.06); filter: saturate(1.05); }
.tile__body { transition: transform .7s var(--ease-out); }
.tile:hover .tile__body { transform: translateY(-6px); }
.tile::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(244,184,96,0); transition: border-color .6s; pointer-events: none; }
.tile:hover::after { border-color: rgba(244,184,96,.5); }
.tile h3 { font-size: clamp(1.9rem, 1.3rem + 1.6vw, 2.9rem); }

/* Testimonial */
.quote blockquote p { font-size: clamp(1.4rem, 1.05rem + 1.35vw, 2.35rem); line-height: 1.32; letter-spacing: -.015em; max-width: 34ch; }
.quote__mark { font-size: clamp(9rem, 16vw, 15rem); }
.quote__who img { box-shadow: 0 0 0 1px rgba(244,184,96,.6), 0 0 0 5px var(--bg); }

/* CTA */
.cta { border-color: rgba(255,255,255,.08); }
.cta::before, .cta::after { content: ""; position: absolute; width: 48px; height: 48px; z-index: 2; pointer-events: none; }
.cta::before { top: -1px; left: -1px; border-top: 1px solid var(--gold); border-left: 1px solid var(--gold); }
.cta::after { bottom: -1px; right: -1px; border-bottom: 1px solid var(--gold); border-right: 1px solid var(--gold); }
.cta__media img { transition: transform 2s var(--ease-out); }
.cta:hover .cta__media img { transform: scale(1.04); }

/* Company cards */
.company { border-color: rgba(255,255,255,.08); overflow: hidden; }
.company__media img { transition: transform 2s var(--ease-out); }
.company:hover .company__media img { transform: scale(1.04); }

/* Footer */
.site-footer { z-index: 2; background: #060606; }
.footer-brand img { width: 260px; }
.footer-col a { position: relative; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: color .3s, background-size .5s var(--ease-out); padding-bottom: 2px; }
.footer-col a:hover { background-size: 100% 1px; }
.footer-word { -webkit-text-stroke: 1px rgba(255,255,255,.12); font-size: clamp(5rem, 22vw, 21rem); transition: -webkit-text-stroke-color .8s; }
.site-footer:hover .footer-word { -webkit-text-stroke-color: rgba(244,184,96,.3); }

/* Reveal timing */
.js .reveal { transform: translateY(32px); transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out); }

@media (prefers-reduced-motion: reduce) {
  .js .ln > span, .js .curtain, .js .curtain > img, .js .hero .fade { transform: none !important; clip-path: none !important; opacity: 1 !important; }
  .site-header.is-hidden { transform: none; }
  body::after { display: none; }
}

/* Smooth scrolling (Lenis) */
html.lenis, html.lenis body { height: auto; }
html.lenis-on, .lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
