:root {
  --ink: #211b17;
  --paper: #f0e8dc;
  --soft: #d9cdbd;
  --accent: #a64c32;
  --muted: rgba(33, 27, 23, .64);
  --line: rgba(33, 27, 23, .22);
  --max: 1320px;
  --gutter: clamp(20px, 4vw, 62px);
  --nav: 70px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: "PingFang SC", "Microsoft YaHei UI", sans-serif; line-height: 1.7; letter-spacing: 0; }
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; letter-spacing: 0; }
h1, h2, h3, p, figure { margin-top: 0; }
h1, h2, h3 { letter-spacing: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
::selection { color: var(--paper); background: var(--accent); }
.shell { width: min(100%, var(--max)); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 8px 12px; color: var(--paper); background: var(--ink); transform: translateY(-160%); }
.skip:focus { transform: none; }
.kicker { margin-bottom: 18px; font: 700 10px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; text-transform: uppercase; }
.kicker span { color: var(--accent); }
.display { max-width: 11em; margin-bottom: 24px; font-size: clamp(42px, 6vw, 82px); font-weight: 560; line-height: 1.06; }
.lead { max-width: 48ch; color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 20px; border: 1px solid var(--ink); color: var(--paper); background: var(--ink); font-weight: 700; text-decoration: none; cursor: pointer; transition: color .25s ease, background .25s ease; }
.button:hover { color: var(--ink); background: transparent; }
.button.ghost { color: var(--ink); background: transparent; }
.button.ghost:hover { color: var(--paper); background: var(--ink); }

.header { position: fixed; z-index: 40; inset: 0 0 auto; height: var(--nav); color: var(--paper); background: rgba(30, 25, 22, .84); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(255,255,255,.14); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand { font-weight: 760; text-decoration: none; }
.brand small { margin-left: 9px; color: rgba(255,255,255,.5); font: 9px/1 ui-monospace, monospace; }
.links { display: flex; align-items: center; gap: clamp(22px, 3vw, 42px); }
.links a { color: rgba(255,255,255,.75); font-size: 13px; text-decoration: none; }
.links a:hover { color: #fff; }
.links .nav-cta { padding: 8px 13px; border: 1px solid rgba(255,255,255,.34); }
.menu { display: none; width: 44px; height: 44px; padding: 0; border: 0; color: #fff; background: transparent; }
.menu::before, .menu::after, .menu span { content: ""; display: block; width: 22px; height: 1px; margin: 6px auto; background: currentColor; transition: .25s ease; }
.menu[aria-expanded="true"] span { opacity: 0; }
.menu[aria-expanded="true"]::before { transform: translateY(7px) rotate(45deg); }
.menu[aria-expanded="true"]::after { transform: translateY(-7px) rotate(-45deg); }

.hero { min-height: 760px; height: 100svh; padding-top: var(--nav); overflow: hidden; }
.hero-inner { display: grid; min-height: calc(100svh - var(--nav)); grid-template-columns: 1fr 1fr; align-items: stretch; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(70px, 9vw, 130px) var(--gutter); }
.hero h1 { max-width: 9em; margin-bottom: 26px; font-size: clamp(54px, 7.2vw, 104px); font-weight: 560; line-height: 1; }
.hero .lead { margin-bottom: 34px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { min-height: 540px; overflow: hidden; }
.hero-media img { height: 100%; object-fit: cover; }
.section { padding: clamp(100px, 12vw, 166px) 0; }
.intro-grid { display: grid; grid-template-columns: .55fr 1.45fr; gap: clamp(50px, 9vw, 140px); }
.intro-quote { max-width: 16em; margin: 0; font-size: clamp(36px, 5vw, 70px); font-weight: 540; line-height: 1.12; }
.intro-quote strong { color: var(--accent); font-weight: inherit; }
.intro-copy { max-width: 50ch; margin: 12px 0 0 auto; color: var(--muted); }

.services { color: var(--paper); background: var(--ink); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: clamp(55px, 8vw, 100px); }
.section-head .display { margin-bottom: 0; }
.services .lead { color: rgba(240,232,220,.62); }
.service-list { border-top: 1px solid rgba(255,255,255,.22); }
.service { display: grid; grid-template-columns: 70px minmax(220px,.75fr) minmax(260px,1.25fr); gap: clamp(18px,4vw,64px); padding: 31px 0 38px; border-bottom: 1px solid rgba(255,255,255,.22); }
.service b { color: var(--accent); font: 11px/1.5 ui-monospace, monospace; }
.service h3 { margin: 0; font-size: clamp(24px,2.5vw,36px); font-weight: 540; }
.service p { max-width: 46ch; margin: 0; color: rgba(240,232,220,.62); }

.process { background: var(--soft); }
.process-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(60px,10vw,150px); }
.process-title { position: sticky; top: 110px; align-self: start; }
.steps { counter-reset: steps; border-top: 1px solid var(--line); }
.step { counter-increment: steps; position: relative; padding: 28px 0 34px 64px; border-bottom: 1px solid var(--line); }
.step::before { content: "0" counter(steps); position: absolute; top: 34px; left: 0; color: var(--accent); font: 10px/1 monospace; }
.step h3 { margin-bottom: 8px; font-size: clamp(22px,2.3vw,32px); font-weight: 560; }
.step p { max-width: 46ch; margin: 0; color: var(--muted); }

.work { background: var(--paper); }
.gallery { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(18px,3vw,40px); align-items: end; }
.shot { margin: 0; }
.shot img { aspect-ratio: 4/3; object-fit: cover; filter: saturate(.72); }
.shot.small img { aspect-ratio: 3/4; }
.shot figcaption { display: flex; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.shot figcaption span:last-child { color: var(--muted); }
.note { max-width: 46ch; margin: 46px 0 0 auto; color: var(--muted); font-size: 12px; }

.about { position: relative; min-height: 670px; display: flex; align-items: flex-end; isolation: isolate; color: var(--paper); overflow: hidden; }
.about > img { position: absolute; z-index: -2; inset: 0; height: 100%; object-fit: cover; filter: saturate(.58); }
.about::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(25,20,17,.92), rgba(25,20,17,.3)); }
.about-copy { padding-top: 120px; padding-bottom: 82px; }
.about .display { max-width: 9em; }
.about .lead { color: rgba(240,232,220,.72); }

.contact { background: var(--accent); }
.contact-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(60px,10vw,150px); }
.contact .display { max-width: 7em; }
.form { align-self: end; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; }
.field.full { grid-column: 1/-1; }
.field label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 700; }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 10px 0; border: 0; border-bottom: 1px solid rgba(33,27,23,.54); border-radius: 0; color: var(--ink); background: transparent; }
.field textarea { min-height: 108px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(33,27,23,.56); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 26px; }
.status, .form-note { margin: 0; font-size: 12px; }
.form-note { margin-top: 16px; color: rgba(33,27,23,.68); }
.footer { padding: 25px 0; color: rgba(240,232,220,.64); background: var(--ink); font-size: 12px; }
.footer .shell { display: flex; justify-content: space-between; gap: 20px; }
.footer p { margin: 0; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* 02: editorial split */
.v02 { --ink:#201d1a; --paper:#f1eadf; --soft:#d8cebf; --accent:#b14f35; }
.v02 .hero-copy { background: var(--paper); }
.v02 .hero-media img { object-position: 57% center; filter: saturate(.7); }
.v02 .hero h1 { font-weight: 520; }
.v02 .intro-grid { grid-template-columns: 210px 1fr; }

/* 03: warm atelier */
.v03 { --ink:#2c231d; --paper:#dfc8ad; --soft:#caa88b; --accent:#7c3b29; }
.v03 .header { color: var(--ink); background: rgba(223,200,173,.88); border-color: rgba(44,35,29,.2); }
.v03 .brand small, .v03 .links a { color: rgba(44,35,29,.62); }
.v03 .menu { color: var(--ink); }
.v03 .hero { background: var(--paper); }
.v03 .hero-inner { position: relative; grid-template-columns: 1.08fr .92fr; }
.v03 .hero-copy { z-index: 2; }
.v03 .hero-media { margin: clamp(38px,6vw,90px) var(--gutter) clamp(38px,6vw,90px) 0; }
.v03 .hero-media img { object-position: center; }
.v03 .button { color: var(--paper); }
.v03 .section { border-top: 1px solid rgba(44,35,29,.17); }
.v03 .services { background: #693928; }
.v03 .process { background: #c5aa91; }
.v03 .contact { background: #c68564; }

/* 04: calm consultant */
.v04 { --ink:#17352c; --paper:#e5e1d4; --soft:#c8d0bf; --accent:#b95637; }
.v04 .header { background: rgba(23,53,44,.92); }
.v04 .hero { color: var(--paper); background: var(--ink); }
.v04 .hero-inner { grid-template-columns: 1.16fr .84fr; }
.v04 .hero-copy { padding-left: max(var(--gutter), calc((100vw - var(--max))/2 + var(--gutter))); }
.v04 .hero h1 { max-width: 8.5em; font-size: clamp(52px,6.5vw,94px); }
.v04 .hero .lead { color: rgba(229,225,212,.68); }
.v04 .hero .button { color: var(--ink); background: var(--paper); border-color: var(--paper); }
.v04 .hero .button:hover { color: var(--paper); background: transparent; }
.v04 .hero .button.ghost { color: var(--paper); background: transparent; }
.v04 .hero-media { padding: clamp(55px,7vw,100px) var(--gutter) clamp(55px,7vw,100px) 0; background: var(--ink); }
.v04 .hero-media img { height: 100%; object-position: center; }
.v04 .services { background: #17352c; }
.v04 .process { background: #c8d0bf; }
.v04 .contact { background: #c86e50; }

/* 05: cultural magazine */
.v05 { --ink:#281713; --paper:#ecd8ba; --soft:#d5b273; --accent:#9e2f21; }
.v05 .header { background: rgba(40,23,19,.92); }
.v05 .hero { color: var(--paper); background: #8e2c20; }
.v05 .hero-inner { position: relative; grid-template-columns: .82fr 1.18fr; }
.v05 .hero-copy { z-index: 2; background: #8e2c20; }
.v05 .hero h1 { font-size: clamp(56px,7.8vw,112px); font-weight: 680; }
.v05 .hero .kicker { color: rgba(236,216,186,.72); }
.v05 .hero .kicker span { color: #f1bd90; }
.v05 .hero .lead { color: rgba(236,216,186,.74); }
.v05 .hero .button { border-color: var(--paper); color: var(--ink); background: var(--paper); }
.v05 .hero .button:hover { color: var(--paper); background: transparent; }
.v05 .hero .button.ghost { color: var(--paper); background: transparent; }
.v05 .hero-media { border: clamp(20px,3vw,44px) solid #8e2c20; border-left: 0; }
.v05 .hero-media img { object-position: 55% center; filter: sepia(.15) saturate(.75); }
.v05 .intro-quote { font-weight: 650; }
.v05 .services { background: #281713; }
.v05 .process { background: #d5b273; }
.v05 .contact { background: #df8b56; }

/* 06: nocturne gallery */
.v06 { --ink:#151311; --paper:#d7cdbf; --soft:#282522; --accent:#cc6d44; --muted:rgba(215,205,191,.64); --line:rgba(215,205,191,.2); color:var(--paper); background:var(--ink); }
.v06 .header { background: rgba(21,19,17,.9); }
.v06 .hero { color: var(--paper); background: var(--ink); }
.v06 .hero-inner { position: relative; display: block; }
.v06 .hero-media { position: absolute; inset: 0; }
.v06 .hero-media img { object-position: center; filter: brightness(.5) saturate(.55); }
.v06 .hero-copy { position: relative; z-index: 2; min-height: calc(100svh - var(--nav)); justify-content: flex-end; padding: 80px max(var(--gutter), calc((100vw - var(--max))/2 + var(--gutter))) clamp(70px,9vh,105px); background: linear-gradient(90deg,rgba(21,19,17,.93),rgba(21,19,17,.16)); }
.v06 .hero h1 { max-width: 8em; }
.v06 .hero .lead { color: rgba(215,205,191,.68); }
.v06 .hero .button { color: var(--ink); background: var(--paper); border-color: var(--paper); }
.v06 .hero .button:hover { color: var(--paper); background: transparent; }
.v06 .hero .button.ghost { color: var(--paper); background: transparent; }
.v06 .section, .v06 .work { background: var(--ink); }
.v06 .services { background: #241d19; }
.v06 .process { background: #282522; }
.v06 .service-list, .v06 .step, .v06 .steps, .v06 .shot figcaption { border-color: rgba(215,205,191,.2); }
.v06 .service p, .v06 .process p { color: rgba(215,205,191,.6); }
.v06 .about::before { background: linear-gradient(90deg,rgba(21,19,17,.94),rgba(21,19,17,.2)); }
.v06 .contact { color: var(--ink); background: #b86442; }
.v06 .contact .lead { color: rgba(21,19,17,.67); }

@media (max-width: 900px) {
  .links { position: fixed; inset: var(--nav) 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 22px; background: rgba(25,21,18,.98); }
  .links.open { display: flex; }
  .links a { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .menu { display: block; }
  .hero { height: auto; min-height: 0; }
  .hero-inner, .v03 .hero-inner, .v04 .hero-inner, .v05 .hero-inner { min-height: 0; grid-template-columns: 1fr; }
  .hero-copy { min-height: 620px; padding-top: 90px; }
  .hero-media { min-height: 54vw; }
  .v03 .hero-media, .v04 .hero-media { margin: 0; padding: 0; }
  .v05 .hero-media { border: 0; }
  .v06 .hero-inner { min-height: 720px; }
  .v06 .hero-copy { min-height: 720px; }
  .intro-grid, .v02 .intro-grid, .process-grid, .contact-grid { grid-template-columns: 1fr; }
  .intro-copy { margin-left: 0; }
  .section-head { align-items: start; flex-direction: column; }
  .process-title { position: static; }
}

@media (max-width: 640px) {
  :root { --nav: 64px; }
  .brand small { display: none; }
  .hero-copy { min-height: 600px; }
  .hero h1, .v05 .hero h1 { font-size: clamp(46px,14vw,64px); }
  .hero-media { min-height: 390px; }
  .v03 .hero-media { min-height: 430px; margin: 0 20px 20px; }
  .actions .button { flex: 1 1 145px; min-width: 0; padding-inline: 12px; }
  .display { font-size: clamp(38px,11vw,54px); }
  .intro-quote { font-size: clamp(34px,10vw,48px); }
  .service { grid-template-columns: 40px 1fr; gap: 10px 14px; }
  .service p { grid-column: 2; }
  .gallery { grid-template-columns: 1fr; }
  .shot.small img { aspect-ratio: 4/3; }
  .about { min-height: 610px; }
  .about::before { background: linear-gradient(0deg,rgba(21,18,16,.95),rgba(21,18,16,.25)); }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .footer .shell { flex-direction: column; }
}

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