:root {
  --purple-950: #211a2b;
  --purple-800: #493a5a;
  --purple: #67567c;
  --purple-300: #b9acc9;
  --purple-100: #e9e3f0;
  --purple-50: #f7f4fa;
  --white: #fff;
  --black: #18161c;
  --line: rgba(73, 58, 90, .24);
  --serif: "Italiana", "Bodoni 72", Didot, serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--black); background: var(--white); font-family: var(--sans); }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
::selection { color: var(--white); background: var(--purple); }
:focus-visible { outline: 2px solid var(--purple-800); outline-offset: 4px; }

.loader { position: fixed; inset: 0; z-index: 999; display: grid; place-content: center; gap: 30px; background: var(--black); transition: opacity .7s ease, visibility .7s ease; }
.loader img { width: 140px; height: 90px; object-fit: contain; }
.loader-line { width: 140px; height: 1px; overflow: hidden; background: rgba(255,255,255,.18); }
.loader-line span { display: block; width: 100%; height: 100%; background: var(--purple); transform: translateX(-100%); animation: loading 1.4s ease forwards; }
.loaded .loader { opacity: 0; visibility: hidden; }
@keyframes loading { to { transform: translateX(0); } }

.site-header { position: fixed; top: 18px; left: 50%; z-index: 30; width: calc(100% - 44px); max-width: 1280px; height: 72px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 15px 0 24px; color: var(--white); background: rgba(33,26,43,.72); border: 1px solid rgba(255,255,255,.3); border-radius: 18px; backdrop-filter: blur(18px) saturate(125%); transform: translateX(-50%); transition: color .35s ease, background .35s ease, border-color .35s ease; }
.site-header.scrolled { color: var(--black); background: rgba(255,255,255,.92); border-color: rgba(24,22,28,.12); }
.brand { position: relative; display: flex; width: 84px; height: 100%; align-items: center; }
.brand img { display: block; width: 84px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 4px; padding: 5px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(255,255,255,.07); font-size: 13px; }
.site-header.scrolled .main-nav { border-color: rgba(24,22,28,.09); background: rgba(24,22,28,.045); }
.main-nav a { padding: 8px 15px; border-radius: 999px; transition: color .25s ease, background .25s ease; }
.main-nav a:hover { color: var(--purple); background: var(--white); }
.site-header.scrolled .main-nav a:hover { color: var(--white); background: var(--purple); }
.nav-cta { justify-self: end; display: inline-flex; align-items: center; gap: 11px; min-height: 44px; padding: 0 18px; border: 1px solid rgba(255,255,255,.58); border-radius: 13px; font-size: 13px; transition: color .3s ease, background .3s ease, border-color .3s ease, transform .3s ease; }
.nav-cta:hover { color: var(--purple); background: var(--white); }
.site-header.scrolled .nav-cta { border-color: rgba(24,22,28,.3); }
.site-header.scrolled .nav-cta:hover { color: var(--white); background: var(--purple); border-color: var(--purple); }
.nav-cta:hover svg { transform: translateX(3px); }
.nav-cta svg, .button svg, .inline-link svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.nav-cta svg { transition: transform .3s ease; }
.menu-button, .mobile-menu { display: none; }

.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: 11vh 8vw; color: var(--white); background: var(--black); overflow: hidden; }
.hero-media, .hero-wash { position: absolute; inset: 0; }
.hero-desktop-videos { width: 100%; height: 100%; display: flex; justify-content: center; background: var(--black); }
.hero-desktop-videos video { width: 100%; height: 100%; object-fit: cover; object-position: center; background: var(--black); }
.hero-mobile-videos { display: none; }
.hero-wash { pointer-events: none; background: linear-gradient(0deg, rgba(33,26,43,.86) 0%, rgba(33,26,43,.22) 66%), linear-gradient(90deg, rgba(73,58,90,.42), transparent 62%); }
.hero-copy { position: relative; z-index: 2; max-width: 840px; }
.hero h1 { margin: 0; font: 400 clamp(54px, 6.6vw, 96px)/.94 var(--serif); letter-spacing: -.025em; }
.hero h1 em, h2 em { color: var(--purple); font-weight: 400; }
.hero h1 em { color: var(--purple-100); }
.hero-copy > p { max-width: 560px; margin: 26px 0 0 3px; font-size: 17px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 0 21px; border: 1px solid transparent; border-radius: 999px; font-size: 14px; transition: color .3s ease, background .3s ease, border-color .3s ease; }
.button-light { color: var(--black); background: var(--white); }
.button-light:hover { color: var(--white); background: var(--purple); }
.button-ghost { color: var(--white); border-color: rgba(255,255,255,.65); }
.button-ghost:hover { color: var(--purple); background: var(--white); border-color: var(--white); }
.button-dark { color: var(--white); background: var(--purple); }
.button-dark:hover { color: var(--black); background: var(--white); border-color: var(--black); }
.button-outline { color: var(--purple-800); border-color: var(--purple-800); }
.button-outline:hover { color: var(--white); background: var(--purple); border-color: var(--purple); }
.inline-link { display: inline-flex; align-items: center; gap: 11px; margin-top: 28px; padding-bottom: 5px; border-bottom: 1px solid var(--black); font-size: 14px; }
.section-action { max-width: 1180px; margin: 44px auto 0; }

.section { padding: 130px 8vw; }
.manifesto { background: var(--purple-50); }
.manifesto-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.45fr .75fr; gap: 9vw; align-items: end; }
.manifesto h2, .section-heading h2, .story-intro h2, .film-copy h2, .contact h2 { margin: 0; font: 400 clamp(42px, 4.8vw, 68px)/1.04 var(--serif); letter-spacing: -.018em; }
.manifesto-copy p { margin: 0; color: rgba(24,22,28,.72); font: 19px/1.75 var(--serif); }

.services { background: var(--purple-100); }
.section-heading { max-width: 1180px; margin: 0 auto 70px; }
.service-list { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card { position: relative; display: flex; flex-direction: column; min-width: 0; border-top: 5px solid var(--purple); background: var(--white); }
.service-image { width: 100%; aspect-ratio: 4/3; overflow: hidden; order: -1; }
.service-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service-card:hover .service-image img { transform: scale(1.025); }
.service-number { padding: 25px 26px 0; color: var(--purple); font-size: 12px; }
.service-copy { padding: 18px 26px 34px; }
.service-copy h3 { margin: 0 0 12px; font: 31px/1.15 var(--serif); }
.service-copy p { margin: 0; color: rgba(24,22,28,.68); font-size: 15px; line-height: 1.7; }

.story { background: var(--purple-50); }
.story-intro { max-width: 1180px; margin: 0 auto 70px; display: grid; grid-template-columns: 1fr .6fr; gap: 8vw; align-items: end; }
.story-intro p { margin: 0; color: rgba(24,22,28,.72); font: 19px/1.7 var(--serif); }
.story-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.gallery-item, .gallery-item.tall, .gallery-item.landscape, .gallery-item.detail { position: relative; display: block; width: 100%; aspect-ratio: 4/3; margin: 0; padding: 0; overflow: hidden; border: 0; background: var(--black); cursor: zoom-in; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-item:hover img { transform: scale(1.02); }

.film { color: var(--white); background: var(--purple-950); }
.film h2 em { color: var(--purple-100); }
.film-copy { max-width: 1180px; margin: 0 auto 65px; }
.film-frame { position: relative; max-width: 1180px; height: min(70vh, 720px); margin: 0 auto; overflow: hidden; background: var(--purple-950); }
.film-frame video { width: 100%; height: 100%; object-fit: contain; background: var(--purple-950); }
.play-button { position: absolute; inset: 0; display: grid; place-content: center; border: 0; color: var(--white); background: rgba(33,26,43,.32); cursor: pointer; }
.play-icon { display: grid; width: 74px; height: 74px; place-items: center; border: 1px solid rgba(255,255,255,.8); border-radius: 50%; transition: transform .3s ease, background .3s ease; }
.play-icon svg { width: 21px; height: 21px; fill: currentColor; stroke: none; }
.play-button:hover .play-icon { color: var(--white); background: var(--purple); transform: scale(1.07); }
.film-frame.playing .play-button { opacity: 0; pointer-events: none; }

.process { background: var(--purple-50); }
.process-list { max-width: 1180px; margin: 0 auto; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.process-list li { border-top: 1px solid var(--line); padding-top: 24px; }
.process-list span { color: var(--purple); font-size: 12px; }
.process-list h3 { margin: 28px 0 14px; font: 30px var(--serif); }
.process-list p { margin: 0; color: rgba(24,22,28,.68); font-size: 15px; line-height: 1.7; }

.contact { color: var(--white); background: var(--purple-800); }
.contact-top, .inquiry-form { max-width: 1180px; margin-inline: auto; }
.contact-top { margin-bottom: 80px; }
.contact h2 em { color: var(--purple-100); }
.inquiry-form { display: grid; grid-template-columns: 1fr 1fr; gap: 46px 50px; }
.inquiry-form label { display: block; }
.inquiry-form input, .inquiry-form select, .inquiry-form textarea { width: 100%; padding: 0 0 16px; border: 0; border-bottom: 1px solid rgba(255,255,255,.68); border-radius: 0; outline: 0; color: var(--white); background: transparent; font: 19px var(--serif); resize: none; }
.inquiry-form input:focus, .inquiry-form select:focus, .inquiry-form textarea:focus { border-color: var(--white); }
.inquiry-form input::placeholder, .inquiry-form textarea::placeholder { color: rgba(255,255,255,.86); }
.inquiry-form select { color-scheme: dark; }
.inquiry-form button { justify-self: start; display: inline-flex; min-height: 48px; align-items: center; gap: 12px; padding: 0 20px; border: 1px solid var(--white); border-radius: 999px; color: var(--purple-800); background: var(--white); cursor: pointer; transition: .3s ease; }
.inquiry-form button svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.inquiry-form button:hover { color: var(--white); background: transparent; }
.form-status { align-self: center; margin: 0; font: italic 15px var(--serif); color: var(--purple-100); }

footer { position: relative; overflow: hidden; padding: 105px max(8vw, 28px) 28px; color: var(--white); background: var(--purple-950); }
.footer-glow { position: absolute; right: -10%; bottom: -60%; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(103,86,124,.58), transparent 67%); pointer-events: none; }
.footer-lead, .footer-main, .footer-bottom { position: relative; z-index: 1; max-width: 1180px; margin-inline: auto; }
.footer-lead { display: flex; align-items: flex-end; justify-content: space-between; gap: 50px; padding-bottom: 85px; }
.footer-note { margin: 0 0 25px; color: rgba(255,255,255,.58); font-size: 14px; }
.footer-lead h2 { margin: 0; font: 400 clamp(42px, 5vw, 70px)/1.04 var(--serif); }
.footer-lead h2 em { color: var(--purple-300); font-weight: 400; }
.footer-cta { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 22px; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; font-size: 14px; transition: color .3s ease, background .3s ease; }
.footer-cta:hover { color: var(--white); background: var(--purple); border-color: var(--purple); }
.footer-cta svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s ease; }
.footer-cta:hover svg { transform: translateX(3px); }
.footer-main { display: grid; grid-template-columns: 1.7fr .75fr 1fr 1fr; align-items: start; gap: 55px; padding: 46px 0; border-block: 1px solid rgba(255,255,255,.14); }
.footer-about { max-width: 360px; }
.footer-mark { width: 118px; }
.footer-about > p { margin: 25px 0 0; color: rgba(255,255,255,.58); font-size: 13px; line-height: 1.8; }
.footer-heading { margin: 5px 0 22px; color: rgba(255,255,255,.42); font-size: 12px; }
.footer-nav, .footer-contact { display: grid; align-content: start; gap: 13px; color: rgba(255,255,255,.72); font-size: 13px; }
.footer-nav a, .footer-contact a { width: fit-content; transition: color .25s ease; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--white); }
.footer-email { color: rgba(255,255,255,.72); overflow-wrap: anywhere; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 25px; color: rgba(255,255,255,.45); font-size: 11px; }
.footer-bottom p { margin: 0; }

.lightbox { width: 100vw; max-width: none; height: 100vh; max-height: none; padding: 5vh 6vw; border: 0; background: rgba(24,22,28,.96); }
.lightbox::backdrop { background: rgba(24,22,28,.96); }
.lightbox img { width: 100%; height: 100%; object-fit: contain; }
.lightbox button { position: absolute; z-index: 2; top: 25px; right: 35px; display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; color: white; background: none; cursor: pointer; }
.lightbox button svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }

.demo-notice { width: min(92vw, 510px); padding: 40px; border: 0; border-radius: 20px; color: var(--black); background: var(--purple-50); text-align: center; }
.demo-notice::backdrop { background: rgba(24,22,28,.72); backdrop-filter: blur(5px); }
.demo-notice .demo-close { position: absolute; top: 14px; right: 16px; width: 34px; height: 34px; border: 0; border-radius: 50%; color: var(--black); background: rgba(24,22,28,.08); font-size: 25px; line-height: 1; cursor: pointer; }
.demo-notice img { width: 182px; max-width: 68%; margin: 0 auto 26px; }
.demo-eyebrow { margin: 0 0 10px; color: var(--purple); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.demo-notice h2 { margin: 0; font: 34px/1.1 var(--serif); }
.demo-notice p:not(.demo-eyebrow) { margin: 17px auto 0; max-width: 390px; color: rgba(24,22,28,.7); font-size: 14px; line-height: 1.65; }
.demo-notice .demo-device-note { color: var(--black); font-weight: 600; }
.demo-action { margin-top: 27px; min-height: 45px; padding: 0 22px; border: 0; border-radius: 999px; color: var(--white); background: var(--purple); cursor: pointer; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.22,1,.36,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 800px) {
  .site-header { top: 12px; width: calc(100% - 24px); height: 64px; padding: 0 10px 0 17px; grid-template-columns: 1fr auto; border-radius: 16px; }
  .brand { width: 72px; }
  .brand img { width: 72px; }
  .main-nav, .nav-cta { display: none; }
  .menu-button { display: grid; width: 42px; height: 42px; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.48); border-radius: 12px; color: inherit; background: rgba(255,255,255,.08); }
  .site-header.scrolled .menu-button { border-color: rgba(24,22,28,.24); background: rgba(24,22,28,.04); }
  .menu-button svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
  .menu-button path { transform-origin: center; transition: transform .3s ease; }
  .menu-open .menu-button path:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-open .menu-button path:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mobile-menu { position: fixed; inset: 0; z-index: 20; display: grid; align-content: center; padding: 110px 36px 40px; color: var(--white); background: var(--purple-800); opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s ease; }
  .mobile-menu nav { display: grid; gap: 19px; }
  .mobile-menu a { display: flex; align-items: center; min-height: 58px; border-bottom: 1px solid rgba(255,255,255,.14); font: 37px/1.15 var(--serif); }
  .menu-open .mobile-menu { opacity: 1; visibility: visible; }
  .menu-open .site-header { color: white; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); }
  .hero { min-height: 100svh; padding: 0 24px 65px; }
  .hero-desktop-videos { display: none; }
  .hero-mobile-videos { position: relative; display: block; width: 100%; height: 100%; background: var(--black); }
  .hero-mobile-videos video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; background: var(--black); opacity: 0; transition: opacity 1s ease; }
  .hero-mobile-videos video.active { opacity: 1; }
  .hero-wash { background: linear-gradient(0deg, rgba(33,26,43,.88), rgba(33,26,43,.1) 65%); }
  .hero h1 { font-size: clamp(45px, 13vw, 61px); }
  .hero-copy > p { max-width: 350px; margin-top: 20px; font-size: 15px; }
  .hero-actions { margin-top: 26px; }
  .button { min-height: 44px; padding-inline: 17px; font-size: 13px; }
  .section { padding: 90px 24px; }
  .manifesto-grid, .story-intro { grid-template-columns: 1fr; gap: 36px; }
  .manifesto h2, .section-heading h2, .story-intro h2, .film-copy h2, .contact h2 { font-size: 42px; }
  .manifesto-copy p, .story-intro p { font-size: 17px; }
  .service-list { grid-template-columns: 1fr; gap: 24px; }
  .service-image { aspect-ratio: 16/10; }
  .story-grid { grid-template-columns: 1fr; gap: 18px; }
  .gallery-item, .gallery-item.tall, .gallery-item.landscape, .gallery-item.detail { aspect-ratio: 4/3; }
  .film-frame { height: 70svh; }
  .process-list { grid-template-columns: 1fr 1fr; gap: 45px 22px; }
  .inquiry-form { grid-template-columns: 1fr; gap: 40px; }
  footer { padding: 78px 24px 24px; }
  .footer-lead { display: grid; gap: 36px; padding-bottom: 62px; }
  .footer-lead h2 { font-size: 42px; }
  .footer-cta { justify-self: start; }
  .footer-main { grid-template-columns: 1fr 1fr; justify-items: start; gap: 42px 28px; }
  .footer-about { grid-column: 1 / -1; max-width: 430px; }
  .footer-mark { width: 108px; }
  .footer-contact { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .demo-notice { padding: 35px 25px 28px; }
  .demo-notice h2 { font-size: 30px; }
}

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