:root {
  color-scheme: dark;
  --ink: #11110f;
  --surface: #181814;
  --surface-2: #212019;
  --paper: #f4efe6;
  --muted: #b9b0a2;
  --gold: #c2a56d;
  --gold-bright: #ddc18b;
  --line: rgba(244, 239, 230, .14);
  --max: 1240px;
  --radius: 1.1rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; font-size: 16px; line-height: 1.65; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.skip-link { position: fixed; z-index: 100; top: .75rem; left: .75rem; padding: .65rem 1rem; background: var(--paper); color: var(--ink); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: absolute; z-index: 20; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; width: min(calc(100% - 3rem), var(--max)); margin: auto; padding: 1.5rem 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.brand { display: flex; align-items: center; gap: .75rem; font-weight: 600; letter-spacing: .12em; }
.brand-mark { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; color: var(--gold-bright); font: 500 .75rem/1 Georgia, serif; letter-spacing: .05em; }
nav { display: flex; gap: clamp(1rem, 3vw, 2.5rem); color: rgba(255,255,255,.78); font-size: .9rem; }
nav a { transition: color .2s ease; }
nav a:hover, nav a:focus-visible { color: var(--paper); }

.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { z-index: -2; object-fit: cover; object-position: 50% 42%; filter: saturate(.78) contrast(1.05); }
.hero-shade { z-index: -1; background: linear-gradient(90deg, rgba(12,12,10,.94) 0%, rgba(12,12,10,.72) 43%, rgba(12,12,10,.2) 78%), linear-gradient(0deg, rgba(12,12,10,.9) 0%, transparent 45%); }
.hero-content { width: min(calc(100% - 3rem), var(--max)); margin: 0 auto; padding: 11rem 0 10vh; }
.eyebrow { margin: 0 0 1rem; color: var(--gold-bright); font: 500 .76rem/1.4 Georgia, "Noto Serif SC", serif; letter-spacing: .22em; text-transform: uppercase; }
.hero h1 { margin: 0; font: 500 clamp(4.6rem, 12vw, 9.5rem)/.92 Georgia, "Noto Serif SC", serif; letter-spacing: -.055em; }
.role { margin: 1.4rem 0 0; color: rgba(255,255,255,.92); font-size: clamp(1rem, 2.2vw, 1.35rem); letter-spacing: .13em; }
.role span { color: var(--gold); }
.intro { max-width: 38rem; margin: 1.5rem 0 0; color: rgba(255,255,255,.72); font-size: clamp(1rem, 2vw, 1.15rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.button { min-height: 3rem; display: inline-flex; align-items: center; justify-content: center; padding: .75rem 1.5rem; border: 1px solid transparent; border-radius: 999px; font-weight: 600; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--gold-bright); color: var(--ink); }
.button-ghost { border-color: rgba(255,255,255,.35); background: rgba(17,17,15,.2); backdrop-filter: blur(8px); }
.scroll-cue { position: absolute; right: max(1.5rem, calc((100vw - var(--max))/2)); bottom: 2rem; display: flex; align-items: center; gap: .65rem; color: rgba(255,255,255,.62); font-size: .78rem; letter-spacing: .1em; }
.scroll-cue span { width: 2.5rem; height: 1px; background: var(--gold); }

.section { width: min(calc(100% - 3rem), var(--max)); margin: auto; padding: clamp(5.5rem, 10vw, 9rem) 0; }
.section-heading { max-width: 50rem; margin-bottom: 3rem; }
.section-heading.split { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(16rem, 30rem); gap: 3rem; align-items: end; }
.section-heading h2 { margin: 0; font: 500 clamp(2.2rem, 5vw, 4.8rem)/1.08 Georgia, "Noto Serif SC", serif; letter-spacing: -.035em; }
.section-heading.split > p { margin: 0; color: var(--muted); }
.capabilities { border-bottom: 1px solid var(--line); }
.capability-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.capability-grid span { min-height: 5.5rem; display: flex; align-items: center; padding: 1.2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #ddd5c8; }
.capability-grid span::before { content: "+"; margin-right: .75rem; color: var(--gold); }

.videos-section { width: 100%; padding-left: max(1.5rem, calc((100vw - var(--max))/2)); padding-right: max(1.5rem, calc((100vw - var(--max))/2)); background: #151511; }
.video-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.15rem; }
.video-card { min-width: 0; }
.video-trigger { width: 100%; padding: 0; border: 0; border-radius: var(--radius); background: var(--surface-2); color: inherit; text-align: left; overflow: hidden; cursor: pointer; }
.video-poster { position: relative; display: grid; place-items: center; aspect-ratio: 4/5; background: #080807; overflow: hidden; }
.video-poster img { width: 100%; height: 100%; object-fit: contain; transition: transform .45s cubic-bezier(.2,.8,.2,1), filter .3s ease; }
.video-trigger:hover .video-poster img, .video-trigger:focus-visible .video-poster img { transform: scale(1.025); filter: brightness(.78); }
.play-button { position: absolute; display: grid; place-items: center; width: 3.4rem; height: 3.4rem; padding-left: .15rem; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; background: rgba(17,17,15,.4); backdrop-filter: blur(8px); color: white; opacity: 0; transform: scale(.88); transition: opacity .2s ease, transform .2s ease; }
.video-trigger:hover .play-button, .video-trigger:focus-visible .play-button { opacity: 1; transform: scale(1); }
.duration { position: absolute; right: .7rem; bottom: .7rem; padding: .25rem .55rem; border-radius: 999px; background: rgba(0,0,0,.62); color: #fff; font-size: .72rem; }
.card-copy { display: flex; flex-direction: column; min-height: 12.6rem; padding: 1.2rem; }
.card-meta { color: var(--gold); font-size: .72rem; letter-spacing: .07em; }
.card-copy strong { margin-top: .55rem; font: 500 1.35rem/1.3 Georgia, "Noto Serif SC", serif; }
.card-copy > span:last-child { margin-top: .65rem; color: var(--muted); font-size: .88rem; line-height: 1.65; }

.photography-section { padding-bottom: 4rem; }
.photo-grid { columns: 4; column-gap: 1rem; }
.photo-card { position: relative; width: 100%; margin: 0 0 1rem; padding: 0; border: 0; border-radius: .7rem; background: var(--surface); color: white; overflow: hidden; cursor: zoom-in; break-inside: avoid; }
.photo-card img { width: 100%; height: auto; transition: transform .5s cubic-bezier(.2,.8,.2,1), filter .3s ease; }
.photo-card > span { position: absolute; inset: auto 0 0; display: flex; flex-direction: column; padding: 4rem 1rem 1rem; background: linear-gradient(transparent, rgba(0,0,0,.86)); text-align: left; opacity: 0; transition: opacity .25s ease; }
.photo-card strong { font-weight: 600; }
.photo-card small { margin-top: .2rem; color: rgba(255,255,255,.68); }
.photo-card:hover img, .photo-card:focus-visible img { transform: scale(1.025); filter: brightness(.8); }
.photo-card:hover > span, .photo-card:focus-visible > span { opacity: 1; }

.process-section { width: 100%; padding-left: max(1.5rem, calc((100vw - var(--max))/2)); padding-right: max(1.5rem, calc((100vw - var(--max))/2)); background: #ede6da; color: #1a1916; }
.process-section .eyebrow { color: #836b3e; }
.process-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; padding: 0; border-top: 1px solid rgba(20,20,16,.22); border-left: 1px solid rgba(20,20,16,.22); list-style: none; }
.process-list li { min-height: 13rem; display: flex; gap: 1.2rem; padding: 1.5rem; border-right: 1px solid rgba(20,20,16,.22); border-bottom: 1px solid rgba(20,20,16,.22); }
.process-list li > span { color: #8b7243; font: 500 .8rem/1.4 Georgia, serif; }
.process-list h3 { margin: 0; font: 500 1.45rem/1.3 Georgia, "Noto Serif SC", serif; }
.process-list p { margin: .7rem 0 0; color: #5c5850; }

.contact-section { padding-top: clamp(4rem, 8vw, 7rem); }
.contact-panel { position: relative; padding: clamp(2rem, 6vw, 5rem); border: 1px solid rgba(211,185,131,.35); border-radius: 1.5rem; background: radial-gradient(circle at 85% 10%, rgba(194,165,109,.18), transparent 34%), var(--surface); overflow: hidden; }
.contact-panel h2 { max-width: 52rem; margin: 0; font: 500 clamp(2.3rem, 6vw, 5.2rem)/1.05 Georgia, "Noto Serif SC", serif; }
.contact-panel > p:not(.eyebrow):not(.privacy-note) { margin: 1.4rem 0 0; color: var(--muted); }
.contact-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.contact-link { display: inline-flex; align-items: center; min-height: 3.1rem; padding: .7rem 1.2rem; border: 1px solid var(--line); border-radius: 999px; color: #d5ccbe; transition: border-color .2s ease, color .2s ease, transform .2s ease; }
.contact-link:hover, .contact-link:focus-visible { border-color: var(--gold); color: var(--paper); transform: translateY(-2px); }
.privacy-note { margin: 1rem 0 0; color: #8f877c; font-size: .78rem; }
footer { width: min(calc(100% - 3rem), var(--max)); display: flex; justify-content: space-between; gap: 1rem; margin: auto; padding: 2rem 0 3rem; border-top: 1px solid var(--line); color: #8f877c; font-size: .85rem; }
footer p { margin: 0; }

dialog { color: var(--paper); }
dialog::backdrop { background: rgba(0,0,0,.82); backdrop-filter: blur(12px); }
.media-dialog { width: min(94vw, 1120px); max-height: 92vh; padding: 0; border: 1px solid rgba(255,255,255,.18); border-radius: 1.2rem; background: #0c0c0a; overflow: auto; }
.dialog-close { position: fixed; z-index: 3; top: max(1rem, env(safe-area-inset-top)); right: max(1rem, env(safe-area-inset-right)); width: 2.8rem; height: 2.8rem; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(0,0,0,.56); color: white; font-size: 1.7rem; line-height: 1; cursor: pointer; }
.video-dialog-grid { min-height: min(78vh, 760px); display: grid; grid-template-columns: minmax(0, 1fr) 20rem; }
.player-shell { display: grid; place-items: center; min-height: 70vh; background: #000; }
.player-shell video { width: 100%; height: 100%; max-height: 88vh; object-fit: contain; background: black; }
.dialog-copy { align-self: end; padding: 2rem; }
.dialog-copy h2 { margin: 0; font: 500 2rem/1.2 Georgia, "Noto Serif SC", serif; }
.dialog-copy > p:last-child { color: var(--muted); }
.lightbox { width: 100vw; max-width: none; height: 100vh; max-height: none; margin: 0; padding: 1rem 5rem; border: 0; background: rgba(5,5,4,.96); overflow: hidden; }
.lightbox figure { height: 100%; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: .8rem; margin: 0; }
.lightbox figure img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.lightbox figcaption { display: flex; justify-content: center; gap: .9rem; color: white; }
.lightbox figcaption span { color: var(--muted); }
.lightbox-nav { position: fixed; z-index: 2; top: 50%; width: 3rem; height: 4.5rem; border: 1px solid rgba(255,255,255,.22); background: rgba(0,0,0,.35); color: white; font-size: 2.5rem; cursor: pointer; transform: translateY(-50%); }
.lightbox-nav.prev { left: 1rem; }
.lightbox-nav.next { right: 1rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease var(--delay, 0ms), transform .7s ease var(--delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }

@media (max-width: 980px) {
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-grid { columns: 3; }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .video-dialog-grid { grid-template-columns: 1fr; }
  .player-shell { min-height: 62vh; }
  .dialog-copy { padding: 1.4rem; }
}

@media (max-width: 680px) {
  .site-header { width: calc(100% - 2rem); padding: 1rem 0; }
  .brand { font-size: .9rem; }
  nav a:not(:last-child) { display: none; }
  .hero-content, .section, footer { width: calc(100% - 2rem); }
  .hero-content { padding-bottom: 8rem; }
  .hero-shade { background: linear-gradient(0deg, rgba(12,12,10,.96) 0%, rgba(12,12,10,.66) 68%, rgba(12,12,10,.35)); }
  .hero-image { object-position: 56% 45%; }
  .hero h1 { font-size: clamp(4rem, 23vw, 6.2rem); }
  .role { font-size: .95rem; letter-spacing: .08em; }
  .button { flex: 1 1 8rem; min-height: 3.2rem; }
  .scroll-cue { right: 1rem; }
  .section-heading.split { grid-template-columns: 1fr; gap: 1rem; }
  .capability-grid { grid-template-columns: 1fr 1fr; }
  .capability-grid span { min-height: 4.7rem; padding: 1rem; font-size: .9rem; }
  .videos-section, .process-section { padding-left: 1rem; padding-right: 1rem; }
  .video-grid { grid-template-columns: 1fr; }
  .video-poster { aspect-ratio: 16/12; }
  .video-poster img { object-fit: contain; }
  .card-copy { min-height: 0; }
  .play-button { opacity: 1; transform: scale(.92); }
  .photo-grid { columns: 2; column-gap: .65rem; }
  .photo-card { margin-bottom: .65rem; }
  .photo-card > span { display: none; }
  .process-list { grid-template-columns: 1fr; }
  .process-list li { min-height: 9.5rem; }
  .contact-actions { flex-direction: column; }
  .contact-link { width: 100%; }
  footer { flex-direction: column; }
  .media-dialog { width: 100vw; height: 100dvh; max-height: none; border: 0; border-radius: 0; }
  .video-dialog-grid { min-height: 100%; grid-template-rows: minmax(0, 1fr) auto; }
  .player-shell { min-height: 0; height: 70dvh; }
  .dialog-copy { max-height: 30dvh; overflow: auto; }
  .lightbox { padding: 3.8rem .75rem 1rem; }
  .lightbox-nav { top: auto; bottom: 1.1rem; width: 3.3rem; height: 3.3rem; border-radius: 50%; transform: none; }
  .lightbox-nav.prev { left: 1rem; }
  .lightbox-nav.next { right: 1rem; }
  .lightbox figcaption { min-height: 3.5rem; flex-direction: column; justify-content: start; gap: 0; padding: 0 4.5rem; text-align: center; font-size: .82rem; }
}

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