:root {
  --ivory: #f3eee6; --paper: #fbf8f3; --ink: #17302e;
  --teal: #123f3e; --teal-deep: #092e2e; --gold: #bb8b43;
  --line: rgba(23, 48, 46, .17);
  --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(--ink); background: var(--paper); 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: white; background: var(--teal); }

.loader { position: fixed; inset: 0; z-index: 999; display: grid; place-content: center; gap: 30px; background: var(--teal-deep); 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(--gold); 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: white; background: rgba(6,31,31,.4); border: 1px solid rgba(255,255,255,.24); border-radius: 18px; box-shadow: 0 16px 45px rgba(3,24,24,.18); backdrop-filter: blur(18px) saturate(125%); transform: translateX(-50%); transition: color .35s ease, background .35s ease, border-color .35s ease, box-shadow .35s ease; }
.site-header.scrolled { color: var(--ink); background: rgba(251,248,243,.92); border-color: rgba(18,63,62,.12); box-shadow: 0 12px 35px rgba(9,46,46,.12); }
.brand { position: relative; width: 84px; }
.brand img { width: 100%; transition: opacity .3s ease; }
.brand-dark { position: absolute; inset: 0; opacity: 0; }
.site-header.scrolled .brand-light { opacity: 0; }
.site-header.scrolled .brand-dark { opacity: 1; }
.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(18,63,62,.09); background: rgba(18,63,62,.045); }
.main-nav a { padding: 8px 15px; border-radius: 999px; transition: color .25s ease, background .25s ease; }
.main-nav a:hover { color: var(--teal); background: rgba(255,255,255,.9); }
.site-header.scrolled .main-nav a:hover { color: white; background: var(--teal); }
.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(--teal); background: white; }
.site-header.scrolled .nav-cta { border-color: rgba(18,63,62,.3); }
.site-header.scrolled .nav-cta:hover { color: white; background: var(--teal); border-color: var(--teal); }
.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: white; background: #041d1c; overflow: hidden; }
.hero-media, .hero-wash { position: absolute; inset: 0; }
.hero-desktop-videos { width: 100%; height: 100%; display: flex; justify-content: center; background: #061f1f; }
.hero-desktop-videos video { width: 100%; height: 100%; object-fit: cover; object-position: center; background: #061f1f; }
.hero-mobile-videos { display: none; }
.hero-wash { pointer-events: none; background: linear-gradient(0deg, rgba(3,28,28,.83) 0%, rgba(3,28,28,.18) 64%), linear-gradient(90deg, rgba(3,28,28,.28), transparent 60%); }
.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: #d4aa6c; font-weight: 400; }
.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(--teal); background: white; }
.button-light:hover { color: white; background: var(--gold); }
.button-ghost { color: white; border-color: rgba(255,255,255,.65); }
.button-ghost:hover { color: var(--teal); background: white; border-color: white; }
.button-dark { color: white; background: var(--teal); }
.button-dark:hover { background: var(--gold); }
.button-outline { border-color: var(--ink); }
.button-outline:hover { color: white; background: var(--teal); }
.inline-link { display: inline-flex; align-items: center; gap: 11px; margin-top: 28px; padding-bottom: 5px; border-bottom: 1px solid var(--ink); font-size: 14px; }
.section-action { max-width: 1180px; margin: 44px auto 0; }

.section { padding: 130px 8vw; }
.manifesto { background: var(--paper); }
.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: #606865; font: 19px/1.75 var(--serif); }

.services { background: var(--ivory); }
.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; background: var(--paper); }
.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(--gold); 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: #69716e; font-size: 15px; line-height: 1.7; }

.story { background: var(--paper); }
.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: #666d69; 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(--ivory); 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: white; background: var(--teal-deep); }
.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: #061f1f; }
.film-frame video { width: 100%; height: 100%; object-fit: contain; background: #061f1f; }
.play-button { position: absolute; inset: 0; display: grid; place-content: center; border: 0; color: white; background: rgba(5,32,31,.22); 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(--teal); background: white; transform: scale(1.07); }
.film-frame.playing .play-button { opacity: 0; pointer-events: none; }

.process { background: var(--paper); }
.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(--gold); font-size: 12px; }
.process-list h3 { margin: 28px 0 14px; font: 30px var(--serif); }
.process-list p { margin: 0; color: #69716e; font-size: 15px; line-height: 1.7; }

.contact { color: white; background: var(--teal); }
.contact-top, .inquiry-form { max-width: 1180px; margin-inline: auto; }
.contact-top { margin-bottom: 80px; }
.contact h2 em { color: #d3ad73; }
.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,.4); border-radius: 0; outline: 0; color: white; background: transparent; font: 19px var(--serif); resize: none; }
.inquiry-form input:focus, .inquiry-form select:focus, .inquiry-form textarea:focus { border-color: white; }
.inquiry-form input::placeholder, .inquiry-form textarea::placeholder { color: rgba(255,255,255,.58); }
.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 rgba(255,255,255,.65); border-radius: 999px; color: white; background: transparent; 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(--teal); background: white; }
.form-status { align-self: center; margin: 0; font: italic 15px var(--serif); color: #e6ccb0; }

footer { position: relative; overflow: hidden; padding: 105px max(8vw, 28px) 28px; color: white; background: #061f1f; }
.footer-glow { position: absolute; right: -10%; bottom: -60%; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(187,139,67,.22), 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: #d3ad73; 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(--teal-deep); background: white; }
.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: #d3ad73; }
.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(5,24,24,.96); }
.lightbox::backdrop { background: rgba(5,24,24,.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; }

.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; }
  .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(18,63,62,.24); background: rgba(18,63,62,.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: white; background: linear-gradient(145deg, #092e2e, #061f1f); 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); box-shadow: none; }
  .menu-open .brand-light { opacity: 1; }
  .menu-open .brand-dark { opacity: 0; }
  .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: #061f1f; }
  .hero-mobile-videos video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; background: #061f1f; opacity: 0; transition: opacity 1s ease; }
  .hero-mobile-videos video.active { opacity: 1; }
  .hero-wash { background: linear-gradient(0deg, rgba(3,28,28,.84), rgba(3,28,28,.06) 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; }
}

@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; }
}
