:root {
  --bg: #f1ece3;
  --paper: #fbf7ef;
  --ink: #17120e;
  --muted: #71685e;
  --line: rgba(23, 18, 14, 0.15);
  --dark: #090706;
  --dark-soft: #17110e;
  --light-line: rgba(255, 246, 233, 0.18);
  --accent: #d9ae76;
  --gold: #ead1aa;
  --max: 1240px;
  --pad: clamp(18px, 4vw, 64px);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); }
section[id] { scroll-margin-top: 64px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
.section { padding: clamp(84px, 10vw, 142px) var(--pad); }
.section-dark { color: #fff; background: radial-gradient(circle at 82% 8%, rgba(217,174,118,.14), transparent 28%), linear-gradient(135deg, var(--dark), #201711); }
.section-head { width: min(var(--max), 100%); margin: 0 auto clamp(32px, 5vw, 64px); }
.eyebrow { margin: 0 0 16px; color: var(--accent); font-size: 12px; letter-spacing: .12em; }
h2 { max-width: 920px; margin: 0; font-size: clamp(30px, 4vw, 56px); font-weight: 500; line-height: 1.16; }
.section-head > p:not(.eyebrow), .split-copy p, .people-intro p, .booking-copy > p:not(.eyebrow) { max-width: 760px; color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.82; }
.section-dark .section-head > p:not(.eyebrow), .section-dark .booking-copy > p:not(.eyebrow) { color: rgba(255,246,233,.72); }

.site-header { position: fixed; z-index: 20; inset: 0 0 auto; display: flex; align-items: center; justify-content: space-between; height: 72px; padding: 0 var(--pad); color: #fff; background: linear-gradient(rgba(0,0,0,.68), transparent); transition: background .25s ease, height .25s ease; }
.site-header.is-scrolled { height: 64px; border-bottom: 1px solid var(--light-line); background: rgba(7,6,5,.94); backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-logo, .brand-logo img { width: 38px; height: 38px; object-fit: contain; }
.brand span { color: rgba(255,246,233,.92); font-size: 16px; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); font-size: 14px; }
.site-nav a { position: relative; padding: 12px 0; opacity: .78; transition: opacity .2s ease; }
.site-nav a::after { content: ""; position: absolute; right: 0; bottom: 5px; left: 0; height: 1px; background: var(--accent); transform: scaleX(0); transition: transform .2s ease; }
.site-nav a:hover, .site-nav a.is-active { opacity: 1; }
.site-nav a:hover::after, .site-nav a.is-active::after { transform: scaleX(1); }

.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; padding: 122px var(--pad) clamp(62px, 8vw, 104px); }
.hero-media, .hero-overlay { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 32%; filter: saturate(.84) contrast(1.04) brightness(.76); }
.hero-overlay { background: linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.18) 62%, rgba(0,0,0,.52)), linear-gradient(0deg, rgba(0,0,0,.8), transparent 64%); }
.hero-content { position: relative; z-index: 2; max-width: 900px; }
.hero h1 { margin: 0; color: #fff6e9; font-size: clamp(46px, 6vw, 86px); font-weight: 500; line-height: 1.12; }
.hero h1 span { display: block; }
.hero-copy { max-width: 710px; margin: 26px 0 0; color: rgba(255,246,233,.82); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.78; }
.hero-actions, .booking-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 22px; border: 1px solid currentColor; border-radius: 999px; background: transparent; text-align: center; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { border-color: var(--accent); background: var(--accent); color: #1d140d; }
.btn-secondary { color: inherit; }

.split-head { display: grid; grid-template-columns: .42fr 1fr; gap: 0 42px; }
.split-head .eyebrow { grid-column: 1 / -1; }
.split-copy p { margin-top: 0; }
.people-intro { width: min(var(--max), 100%); margin: clamp(58px, 8vw, 104px) auto 28px; padding-top: 32px; border-top: 1px solid var(--line); }
.people-intro h3 { max-width: 760px; margin: 0; font-size: clamp(24px, 3vw, 38px); font-weight: 500; line-height: 1.25; }
.people-groups { width: min(var(--max), 100%); margin: auto; display: grid; gap: 36px; }
.people-group { min-width: 0; }
.people-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.people-group-head h4 { margin: 0; font-size: 21px; font-weight: 500; }
.people-group-head span { color: var(--muted); font-size: 11px; letter-spacing: .12em; }
.people-track { display: flex; gap: 14px; overflow-x: auto; padding: 0 0 12px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.people-track::-webkit-scrollbar, .service-grid::-webkit-scrollbar { display: none; }
.people-card { flex: 0 0 clamp(220px, 24vw, 294px); display: grid; grid-template-rows: 278px auto; margin: 0; overflow: hidden; scroll-snap-align: start; background: #1b140f; color: #fff; }
.people-card picture { overflow: hidden; }
.people-card img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) contrast(1.02) sepia(.12); transition: transform .6s ease; }
.people-card.is-contain img { object-fit: contain; background: #1b140f; }
.people-card:hover img { transform: scale(1.04); }
.people-card figcaption { display: grid; gap: 6px; min-height: 78px; padding: 14px 15px 16px; border-top: 1px solid var(--light-line); }
.people-card small { color: var(--accent); font-size: 12px; }
.people-card strong { font-size: 14px; font-weight: 500; line-height: 1.5; }
.people-card figcaption span { color: rgba(255,246,233,.72); font-size: 12px; line-height: 1.5; }

.studio-gallery { width: min(var(--max), 100%); margin: auto; }
.studio-feature { position: relative; height: clamp(420px, 57vw, 690px); margin: 0; overflow: hidden; background: #111; }
.studio-feature picture, .studio-feature img { width: 100%; height: 100%; }
.studio-feature img { object-fit: cover; }
.studio-track { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; margin-top: 1px; background: var(--light-line); }
.studio-thumb { position: relative; aspect-ratio: 4 / 3; padding: 0; overflow: hidden; border: 0; background: #111; color: #fff; cursor: pointer; }
.studio-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .68; transition: opacity .2s ease, transform .35s ease; }
.studio-thumb:hover img, .studio-thumb.is-active img { opacity: 1; transform: scale(1.04); }
.studio-thumb.is-active { box-shadow: inset 0 -3px var(--accent); }

.works-section { background: linear-gradient(#f6f0e7, #eae0d3); }
.works-grid { width: min(var(--max), 100%); margin: auto; }
.works-player { display: grid; grid-template-columns: minmax(340px, .92fr) 1.08fr; height: clamp(600px, 76vh, 750px); overflow: hidden; background: #0d0a08; color: #fff; box-shadow: 0 32px 80px rgba(35,23,15,.2); }
.player-feature { display: grid; grid-template-rows: minmax(0, 1fr) auto; min-height: 0; border-right: 1px solid var(--light-line); }
.player-cover { position: relative; display: block; min-height: 0; overflow: hidden; background: radial-gradient(circle, rgba(217,174,118,.16), transparent 44%); }
.player-cover img { position: absolute; inset: 18px; width: calc(100% - 36px); height: calc(100% - 36px); object-fit: contain; }
.player-now { padding: 21px; border-top: 1px solid var(--light-line); background: #15100d; }
.player-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.player-now h3 { margin: 0; font-size: clamp(23px, 2.2vw, 32px); font-weight: 500; }
.player-now p:not(.eyebrow) { margin: 7px 0 0; color: rgba(255,246,233,.7); }
.play-button { position: relative; flex: 0 0 auto; width: 58px; height: 58px; border: 1px solid var(--accent); border-radius: 50%; background: rgba(217,174,118,.1); cursor: pointer; }
.play-button span::before { content: ""; position: absolute; top: 50%; left: 52%; border-top: 8px solid transparent; border-bottom: 8px solid transparent; border-left: 12px solid #fff; transform: translate(-50%,-50%); }
.is-playing .play-button { background: var(--accent); }
.is-playing .play-button span::before { left: 50%; width: 14px; height: 17px; border: 0; background: linear-gradient(90deg, #fff 0 32%, transparent 32% 68%, #fff 68%); }
.player-progress { height: 4px; margin-top: 16px; background: rgba(255,255,255,.2); cursor: pointer; }
.player-progress span { display: block; height: 100%; width: 0; background: var(--accent); }
.player-time { display: flex; justify-content: space-between; margin-top: 8px; color: rgba(255,246,233,.55); font-size: 12px; }
.track-list { overflow-y: auto; scrollbar-color: var(--accent) rgba(255,255,255,.08); }
.track-row { display: grid; grid-template-columns: 56px 1fr; gap: 15px; align-items: center; width: 100%; min-height: 78px; padding: 11px 22px; border: 0; border-bottom: 1px solid var(--light-line); background: transparent; color: #fff; text-align: left; cursor: pointer; }
.track-row:hover, .track-row.is-active { background: #fff6e9; color: var(--ink); }
.track-row.is-active { box-shadow: inset 4px 0 var(--accent); }
.track-row picture, .track-row img { width: 56px; height: 56px; }
.track-row img { object-fit: contain; background: #0a0807; }
.track-row span { display: grid; gap: 5px; }
.track-row strong { font-size: 17px; font-weight: 500; }
.track-row small { opacity: .62; }

.service-grid { width: min(var(--max), 100%); margin: auto; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--light-line); border-left: 1px solid var(--light-line); }
.service-card { min-height: 350px; padding: clamp(22px, 3vw, 36px); border-right: 1px solid var(--light-line); border-bottom: 1px solid var(--light-line); background: rgba(255,255,255,.02); }
.service-card > span, .service-card strong { color: var(--accent); }
.service-card h3 { margin: 46px 0 16px; font-size: clamp(21px, 2vw, 27px); font-weight: 500; }
.service-card small { display: block; margin-top: 3px; font-size: inherit; }
.service-card p { color: rgba(255,246,233,.7); line-height: 1.72; }
.service-card strong { display: block; margin-top: 24px; font-size: 28px; font-weight: 400; }
.carousel-dots { display: flex; justify-content: center; gap: 7px; margin-top: 12px; }
.carousel-dots[hidden] { display: none; }
.carousel-dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 999px; background: rgba(23,18,14,.24); cursor: pointer; transition: width .2s ease, background .2s ease; }
.carousel-dot.is-active { width: 22px; background: var(--accent); }
.section-dark .carousel-dot { background: rgba(255,246,233,.3); }
.section-dark .carousel-dot.is-active { background: var(--accent); }
.text-link { display: block; margin: 28px auto 0; padding: 0 0 6px; border: 0; border-bottom: 1px solid; background: transparent; color: #fff; cursor: pointer; }
.booking-divider { width: min(var(--max), 100%); height: 1px; margin: clamp(68px, 8vw, 112px) auto; background: var(--light-line); }
.booking-grid { width: min(var(--max), 100%); margin: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr); gap: clamp(28px, 5vw, 68px); align-items: start; }
.contact-panel { position: sticky; top: 84px; padding: 27px; border: 1px solid var(--light-line); background: rgba(255,255,255,.04); }
.contact-panel h3 { margin: 0; font-size: 30px; font-weight: 500; }
.contact-panel > p:not(.eyebrow) { color: rgba(255,246,233,.7); line-height: 1.72; }
.contact-panel ul { margin: 22px -27px -27px; padding: 0; list-style: none; }
.contact-panel li { display: grid; gap: 5px; padding: 17px 27px; border-top: 1px solid var(--light-line); line-height: 1.6; }
.contact-panel li > span:first-child { color: var(--accent); font-size: 12px; letter-spacing: .08em; }

.site-footer { display: flex; justify-content: center; gap: 14px; padding: 24px var(--pad); background: #050403; color: rgba(255,246,233,.62); font-size: 13px; text-align: center; }
.site-footer strong { color: var(--accent); font-weight: 500; }
.back-top { position: fixed; z-index: 10; right: 18px; bottom: 18px; width: 42px; height: 42px; border: 1px solid var(--light-line); border-radius: 50%; background: rgba(7,6,5,.84); color: #fff; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.back-top.is-visible { opacity: 1; pointer-events: auto; }
.modal { width: min(520px, calc(100vw - 28px)); padding: 26px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.modal::backdrop { background: rgba(0,0,0,.78); backdrop-filter: blur(6px); }
.modal h3 { margin: 0; font-size: 30px; font-weight: 500; }
.modal img { width: 100%; max-height: 76vh; object-fit: contain; }
.modal-wide { width: min(1100px, calc(100vw - 28px)); }
.directions-modal { max-height: calc(100vh - 28px); overflow-y: auto; }
.directions-modal-images { display: grid; gap: 14px; margin-top: 18px; }
.directions-modal-images img { max-height: none; }
.modal-close { float: right; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; font-size: 24px; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .split-head, .booking-grid { grid-template-columns: 1fr; }
  .service-grid { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 12px; border: 0; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .service-card { flex: 0 0 58%; border: 1px solid var(--light-line); scroll-snap-align: start; }
  .studio-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
  .studio-thumb { flex: 0 0 31%; scroll-snap-align: start; }
  .contact-panel { position: static; margin-top: 10px; }
}

@media (max-width: 640px) {
  section[id] { scroll-margin-top: 58px; }
  .site-header, .site-header.is-scrolled { height: 58px; padding: 0 14px; background: rgba(7,6,5,.95); }
  .brand-logo, .brand-logo img { width: 32px; height: 32px; }
  .brand span { display: none; }
  .site-nav { flex: 1; justify-content: flex-end; gap: 0; }
  .site-nav a { min-width: 52px; padding: 19px 9px 17px; text-align: center; font-size: 13px; }
  .site-nav a::after { bottom: 11px; right: 10px; left: 10px; }
  .section { padding: 76px 18px; }
  .hero { min-height: 94svh; padding: 84px 18px 24px; }
  .hero-media img { object-position: 56% center; }
  .hero h1 { font-size: clamp(39px, 11vw, 50px); }
  .hero-copy { font-size: 16px; }
  .hero-actions .btn, .booking-actions .btn { flex: 1; padding-right: 14px; padding-left: 14px; }
  .booking-actions { display: grid; }
  .booking-actions .btn { width: 100%; }
  .people-card { flex-basis: min(78vw, 284px); grid-template-rows: 250px auto; }
  .studio-feature { height: 380px; }
  .studio-thumb { flex-basis: 48%; }
  .works-player { display: block; height: auto; }
  .player-feature { grid-template-rows: 300px auto; border-right: 0; border-bottom: 1px solid var(--light-line); }
  .player-cover img { inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); }
  .track-list { max-height: 340px; overflow-y: auto; }
  .track-row { min-height: 70px; padding: 9px 14px; }
  .service-card { flex-basis: 86%; min-height: auto; }
  .service-card h3 { margin-top: 28px; }
  .site-footer { display: grid; justify-items: center; line-height: 1.55; }
}

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