/* Present Paris — site stylesheet (palette 砂岩 × 麦黄, type C1: 思源宋体 + Bodoni Moda)
   Layout: scroll-told pages after stellarmanagement.com and miligram.pt — intro curtain, full-bleed hero,
   statements that light up on scroll, pinned stacks that swap one item per screen, brand-colour bands.
   Deliberately single light theme. */
:root {
  --brand: #B86F55; --brand-deep: #A15D45; --on-brand: #FFF8F3;
  --accent: #B98A42; --accent-on: #F3D394;
  --paper: #F7F2EE; --paper-2: #EFE6DF; --ink: #2E1F19; --muted: #7A6A61; --line: #E3D7CE;
  --ph: #EBE0D8; --ph-brand: #A9634B;
  --f-zh: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --f-en: "Bodoni Moda", "Didot", "Bodoni 72", serif;
  --f-head: "Bodoni Moda", "Noto Serif SC", "Songti SC", serif;
  --ls-head: .06em;
  --gut: max(16px, min(2.6vw, 44px));
  --maxw: 1920px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-zh);
  font-size: 16px; line-height: 1.9; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 70; background: var(--paper); }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 600; letter-spacing: var(--ls-head); text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap {
  width: 100%; max-width: calc(var(--maxw) + 2 * var(--gut)); margin-inline: auto;
  padding-left: max(var(--gut), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gut), env(safe-area-inset-right, 0px));
}
.skip { position: absolute; left: 12px; top: -80px; z-index: 120; background: var(--brand); color: var(--on-brand); padding: 8px 14px; text-decoration: none; }
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }
.kicker { font-size: 13px; font-weight: 500; letter-spacing: .2em; color: var(--muted); }
.ac { color: var(--accent); font-weight: inherit; }
.ac-en { font-family: var(--f-en); font-style: italic; font-weight: 400; }
.on-brand .ac { color: var(--accent-on); }
.on-brand .kicker { color: inherit; opacity: .72; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 15px; font-weight: 500;
  padding: 11px 24px; border-radius: 999px; border: 1px solid currentColor; letter-spacing: .06em;
  transition: background-color .25s, color .25s, border-color .25s;
}
.btn-solid { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.btn-solid:hover { background: var(--ink); border-color: var(--ink); }
.more { display: inline-flex; gap: 8px; font-size: 15px; font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; letter-spacing: .06em; }
.more:hover { color: var(--brand); }
.on-brand .more:hover { color: var(--accent-on); }

/* media frames and placeholders */
.frame { position: relative; overflow: hidden; background: var(--ph); max-width: 100%; margin: 0; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame.ph::after {
  content: attr(data-label); position: absolute; left: 14px; bottom: 12px; right: 14px;
  font-size: 12px; letter-spacing: .08em; color: var(--muted);
}
.on-brand .frame, .frame.on-dark { background: var(--ph-brand); }
.on-brand .frame.ph::after, .frame.on-dark.ph::after { color: var(--on-brand); opacity: .6; }
[data-lb] { cursor: zoom-in; }

/* ---------- wordmark ---------- */
.wm { font-family: var(--f-en); font-weight: 500; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; text-decoration: none; color: inherit; line-height: 1; }

/* ---------- intro curtain ---------- */
.intro {
  position: fixed; inset: 0; z-index: 100; background: var(--brand); color: var(--on-brand);
  display: none; place-items: center; text-align: center;
  padding: env(safe-area-inset-top, 0px) max(20px, env(safe-area-inset-right, 0px)) env(safe-area-inset-bottom, 0px) max(20px, env(safe-area-inset-left, 0px));
}
html.show-intro .intro { display: grid; grid-template-columns: minmax(0, 1fr); }
.intro.wait .intro-in { visibility: hidden; }
html.intro-lock, html.intro-lock body { overflow: hidden; overscroll-behavior: none; }
.intro-in { position: relative; display: grid; justify-items: center; width: 100%; transform: translateY(4svh); }
.intro .wm.intro-wm {
  font-size: clamp(40px, 9.6vw, 220px); font-weight: 500; letter-spacing: .07em; line-height: .92;
  display: flex; flex-wrap: wrap; justify-content: center; column-gap: .4em; margin-right: -.07em;
}
.intro-wm > span { display: inline-block; }
.intro-sub { position: absolute; top: 100%; left: 0; right: 0; margin-top: clamp(30px, 4.2vw, 60px); display: grid; gap: 10px; justify-items: center; }
.intro .slogan { font-size: clamp(12px, 1.1vw, 15px); letter-spacing: .3em; opacity: .92; }
.intro-lines { display: grid; gap: 6px; margin-top: 12px; font-size: clamp(12px, 1.05vw, 14px); letter-spacing: .1em; opacity: .9; }
.intro-lines b { color: var(--accent-on); font-weight: 600; margin-right: .9em; letter-spacing: .2em; }
.intro-end { margin-top: 8px; font-size: clamp(13px, 1.2vw, 16px); font-weight: 600; letter-spacing: .16em; }
@media (max-width: 700px) {
  .intro .wm.intro-wm { font-size: 15.5vw; flex-direction: column; align-items: center; row-gap: .1em; }
}
.intro-skip {
  position: absolute; right: max(20px, env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  font: inherit; font-size: 13px; letter-spacing: .14em; color: inherit; background: none; border: 1px solid currentColor;
  border-radius: 999px; padding: 6px 16px; cursor: pointer; opacity: .8;
}

/* ---------- header ---------- */
.hdr {
  position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 60; color: var(--ink);
  background: var(--paper); border-bottom: 1px solid var(--line);
  transition: background-color .35s ease, color .35s ease, border-color .35s ease;
}
.hdr.over { background: transparent; color: var(--on-brand); border-color: transparent; }
.hdr-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.hdr .wm { font-size: 17px; }
.hdr-r { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.lang { display: flex; align-items: center; gap: 7px; font-family: var(--f-en); font-size: 14px; letter-spacing: .08em; }
.lang a { text-decoration: none; opacity: .55; }
.lang a:hover { opacity: 1; }
.lang i { font-style: normal; opacity: .35; }
.nav { display: flex; gap: clamp(16px, 2.4vw, 34px); font-size: 15px; letter-spacing: .1em; }
.nav a { text-decoration: none; opacity: .88; padding-block: 4px; border-bottom: 1px solid transparent; }
.nav a:hover { opacity: 1; }
.nav a[aria-current="page"] { opacity: 1; border-color: currentColor; }
.menu-btn { display: none; font: inherit; font-size: 14px; letter-spacing: .1em; color: inherit; background: none; border: 1px solid currentColor; border-radius: 999px; padding: 4px 16px; cursor: pointer; }
@media (max-width: 900px) { .nav { display: none; } .menu-btn { display: inline-block; } }
@media (max-width: 420px) { .hdr .wm { font-size: 15px; letter-spacing: .14em; } .hdr-r { gap: 14px; } .menu-btn { padding: 4px 12px; } }
.mmenu {
  position: fixed; inset: 0; z-index: 65; background: var(--brand); color: var(--on-brand); display: grid; align-content: center; gap: 4px;
  padding: 90px max(var(--gut), env(safe-area-inset-right, 0px)) 40px max(var(--gut), env(safe-area-inset-left, 0px));
}
.mmenu a { text-decoration: none; font-size: 30px; font-weight: 600; letter-spacing: .1em; line-height: 1.9; }
.hdr.menu-open { background: transparent; color: var(--on-brand); border-color: transparent; }
main { display: block; }
.page-top { padding-top: 72px; }

/* ---------- hero (stellar) ---------- */
.hero { position: relative; min-height: 100svh; color: var(--on-brand); background: var(--brand); display: flex; align-items: flex-end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media.ph::after { left: auto; right: var(--gut); top: 96px; bottom: auto; text-align: right; }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px; padding-block: 0 clamp(32px, 5vw, 60px); }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: 1.18; letter-spacing: .08em; }
.hero-sub { margin-top: 20px; max-width: 38em; font-size: 16px; opacity: .9; }
.hero-card {
  width: 236px; background: var(--brand-deep); color: var(--on-brand); padding: 14px; border-radius: 6px;
  display: grid; gap: 10px; text-decoration: none; font-size: 13px; line-height: 1.55;
}
.hero-card .frame { aspect-ratio: 16 / 10; border-radius: 3px; }
.hero-card b { display: block; font-weight: 600; letter-spacing: .1em; }
@media (max-width: 720px) { .hero-in { grid-template-columns: minmax(0, 1fr); } .hero-card { display: none; } }

/* ---------- statement (stellar) ---------- */
.statement { padding-block: clamp(100px, 14vw, 200px); text-align: center; }
.statement .kicker { margin-bottom: 28px; }
.statement .big { font-family: var(--f-head); font-weight: 600; font-size: clamp(1.7rem, 3.8vw, 3.3rem); line-height: 1.55; letter-spacing: .06em; max-width: 26em; margin-inline: auto; }
.chip-img { display: inline-block; width: 1.8em; height: .95em; vertical-align: -.06em; border-radius: 4px; background: var(--ph); margin-inline: .14em; overflow: hidden; }
.chip-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- showreel band ---------- */
.band { background: var(--brand); color: var(--on-brand); padding-block: clamp(40px, 6vw, 72px); overflow: hidden; }
.band .frame { aspect-ratio: 16 / 9; border-radius: 18px; max-height: 86svh; margin-inline: auto; }

/* ---------- 360 statement over dotted globe ---------- */
.globe-sec { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; }
.globe-sec canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.globe-sec h2 { position: relative; text-align: center; font-size: clamp(1.9rem, 4.4vw, 3.8rem); line-height: 1.45; letter-spacing: .08em; padding-inline: var(--gut); }

/* ---------- pinned stacks (services + featured) ---------- */
.stack { position: relative; }
.stack-item { position: relative; min-height: 100svh; overflow: hidden; }
html.pinned .stack { height: 100svh; overflow: hidden; }
html.pinned .stack-item { position: absolute; inset: 0; min-height: 0; }
html.pinned .stack-item { pointer-events: none; }
html.pinned .stack-item [data-st-text] { pointer-events: auto; }

/* services slide */
.svc-head { position: absolute; z-index: 3; top: 96px; left: 0; right: 0; pointer-events: none; }
.svc-head .wrap { display: flex; justify-content: space-between; gap: 16px; }
html:not(.pinned) .svc-head { position: static; padding-top: clamp(64px, 9vw, 110px); }
.svc-slide { display: block; }
.svc-card { min-height: 100svh; background: var(--paper); display: grid; align-items: center; padding-block: 140px 48px; transform-origin: 50% 0; }
html.pinned .stack[data-mode="cards"] { background: var(--ink); }
html.pinned .svc-slide { pointer-events: auto; }
html.pinned .svc-card { height: 100%; min-height: 0; }
html.pinned .svc-slide + .svc-slide .svc-card { border-radius: 28px 28px 0 0; box-shadow: 0 -26px 60px -30px rgba(46, 31, 25, .5); }
.svc-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 72px); align-items: center; }
.svc-text { display: grid; gap: 16px; align-content: center; }
.svc-text .num { font-family: var(--f-en); font-size: 15px; letter-spacing: .14em; color: var(--muted); }
.svc-text h3 { font-size: clamp(2.2rem, 4.8vw, 4.2rem); line-height: 1.2; letter-spacing: .1em; color: var(--brand); }
.svc-text p { max-width: 36em; font-size: 17px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 13px; padding: 3px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); line-height: 1.7; letter-spacing: .04em; }
.svc-text .more { justify-self: start; margin-top: 4px; }
.svc-media { aspect-ratio: 4 / 3; max-height: calc(100svh - 220px); border-radius: 14px; }
@media (max-width: 860px) {
  .svc-head { top: 86px; }
  .svc-head .wrap span:last-child { display: none; }
  .svc-card { padding-block: 130px 32px; align-items: start; }
  html.pinned .svc-slide + .svc-slide .svc-card { border-radius: 20px 20px 0 0; }
  .svc-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .svc-text { gap: 10px; }
  .svc-text p { font-size: 15px; line-height: 1.75; }
  .svc-media { aspect-ratio: 16 / 10; }
}

/* featured slide */
.feat { color: var(--ink); }
.feat-item { display: grid; place-items: center; }
.feat-bg { position: absolute; inset: 0; }
.feat-card {
  position: relative; width: min(420px, calc(100% - 2 * var(--gut))); background: var(--paper); padding: 26px 22px 18px;
  display: grid; gap: 14px; text-align: center; text-decoration: none; box-shadow: 0 30px 60px -30px rgba(40, 20, 10, .45);
}
.feat-card h2 { font-size: 28px; line-height: 1.25; letter-spacing: .12em; }
.feat-card h2 .ac { display: block; }
.feat-card .frame { aspect-ratio: 16 / 11; }
.feat-card h3 { font-size: 17px; font-weight: 600; letter-spacing: .04em; }
.feat-card p { font-size: 13px; color: var(--muted); line-height: 1.7; }
.feat-card .count { font-family: var(--f-en); font-size: 12px; letter-spacing: .14em; color: var(--muted); }

/* ---------- figures (stellar) ---------- */
.figs { background: var(--brand); color: var(--on-brand); padding-block: clamp(90px, 11vw, 150px); text-align: center; }
.figs h2 { font-size: clamp(1.7rem, 3.4vw, 2.8rem); line-height: 1.45; margin: 16px auto 0; max-width: 22em; letter-spacing: .08em; }
.fig-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(48px, 7vw, 90px); }
.fig { padding: clamp(28px, 4vw, 48px) 12px; border: 0 solid rgba(255, 248, 243, .28); }
.fig:nth-child(-n+3) { border-bottom-width: 1px; }
.fig:not(:nth-child(3n)) { border-right-width: 1px; }
.fig .val { font-family: var(--f-en); font-size: clamp(2.6rem, 5.6vw, 4.8rem); line-height: 1; font-weight: 400; font-variant-numeric: tabular-nums; }
.fig .lab { margin-top: 12px; font-size: 14px; opacity: .85; letter-spacing: .08em; }
.fig .todo { display: inline-block; margin-left: 6px; font-size: 11px; padding: 0 7px; border: 1px solid currentColor; border-radius: 999px; opacity: .6; vertical-align: 2px; }
@media (max-width: 640px) {
  .fig-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fig { border-width: 0 0 1px 0 !important; }
  .fig:nth-child(odd) { border-right-width: 1px !important; }
}

/* ---------- clients (miligram) ---------- */
.clients { background: var(--brand); color: var(--on-brand); padding-block: clamp(90px, 10vw, 130px); overflow: hidden; }
.clients-head { text-align: center; display: grid; gap: 14px; justify-items: center; }
.clients-head h2 { font-size: clamp(1.9rem, 3.8vw, 3.2rem); line-height: 1.4; letter-spacing: .08em; }
.clients-head p { opacity: .85; max-width: 46em; }
.rows { position: relative; margin-top: clamp(40px, 6vw, 72px); display: grid; gap: 14px; }
.row { display: flex; width: max-content; gap: 14px; animation: mq 70s linear infinite; }
.row.rev { animation-direction: reverse; }
.tile {
  width: clamp(150px, 16vw, 220px); aspect-ratio: 1; border-radius: 14px; background: var(--ph-brand);
  display: grid; place-items: center; text-align: center; padding: 12px; font-size: clamp(16px, 1.6vw, 21px); font-weight: 600; letter-spacing: .06em;
}
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.rows-over { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; pointer-events: none;
  background: radial-gradient(closest-side, rgba(184, 111, 85, .94), rgba(184, 111, 85, 0)); }
.rows-over div { display: grid; gap: 18px; justify-items: center; pointer-events: auto; }
.rows-over p { font-family: var(--f-head); font-weight: 600; font-size: clamp(1.9rem, 4.6vw, 3.6rem); line-height: 1.35; letter-spacing: .1em; }
@media (prefers-reduced-motion: reduce) { .row { animation: none; } }

/* ---------- about / faq ---------- */
.about { text-align: center; padding-block: clamp(100px, 13vw, 180px); display: grid; gap: 22px; justify-items: center; }
.about h2 { font-size: clamp(1.7rem, 3.6vw, 3rem); line-height: 1.55; max-width: 26em; letter-spacing: .08em; }
.about p { color: var(--muted); max-width: 44em; }
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 80px); padding-bottom: clamp(80px, 10vw, 140px); }
.faq > h2 { font-size: clamp(1.9rem, 3.8vw, 3.2rem); line-height: 1.4; letter-spacing: .1em; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; display: flex; gap: 16px; align-items: baseline; font-size: 17px; letter-spacing: .04em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; font-family: var(--f-en); font-size: 20px; line-height: 1; width: 14px; flex: none; }
.faq details[open] summary::before { content: "–"; }
.faq details p { padding: 0 0 20px 30px; color: var(--muted); max-width: 56em; }
@media (max-width: 860px) { .faq { grid-template-columns: minmax(0, 1fr); } }

/* ---------- inner pages ---------- */
.ph-head { background: var(--brand); color: var(--on-brand); padding-block: clamp(140px, 16vw, 220px) clamp(56px, 7vw, 96px); }
.ph-head .wrap { display: grid; gap: 18px; justify-items: start; }
.ph-head .num { font-family: var(--f-en); font-size: 15px; letter-spacing: .16em; opacity: .75; }
.ph-head h1 { font-size: clamp(2.8rem, 7.4vw, 6.4rem); line-height: 1.12; letter-spacing: .1em; }
.ph-head .tagline { font-size: clamp(1.15rem, 2vw, 1.6rem); font-weight: 600; letter-spacing: .06em; max-width: 36em; line-height: 1.6; }
.intro-row { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding-block: clamp(72px, 9vw, 120px); }
.intro-row p { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 2; }
.intro-row .frame { aspect-ratio: 4 / 3; border-radius: 14px; }
@media (max-width: 860px) { .intro-row { grid-template-columns: minmax(0, 1fr); } }
.sec { padding-bottom: clamp(80px, 10vw, 130px); }
.sec-title { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-top: 1px solid var(--ink); padding-top: 18px; margin-bottom: clamp(24px, 4vw, 44px); }
.sec-title h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: .12em; line-height: 1.3; }
.svc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 5vw, 72px); }
.svc-list li { display: grid; gap: 10px; padding-block: 26px; border-bottom: 1px solid var(--line); align-content: start; }
.svc-list h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: .1em; color: var(--brand); }
.svc-list p { color: var(--ink); }
.svc-list .tags li { padding: 2px 10px; border-bottom: 1px solid var(--line); }
@media (max-width: 760px) { .svc-list { grid-template-columns: minmax(0, 1fr); } }
.res { background: var(--paper-2); border-radius: 18px; padding: clamp(28px, 4vw, 48px); display: grid; gap: 16px; }
.res h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: .1em; }
.res p { color: var(--muted); max-width: 52em; }
.res .tags li { font-size: 15px; padding: 6px 16px; border-color: var(--brand); color: var(--brand); background: transparent; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; counter-reset: s; }
.steps li { padding: 20px 18px 22px 0; border-top: 2px solid var(--brand); counter-increment: s; display: grid; gap: 6px; }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--f-en); font-size: 14px; color: var(--brand); letter-spacing: .1em; }
.steps b { font-size: 18px; letter-spacing: .1em; }
.steps span { font-size: 14px; color: var(--muted); line-height: 1.7; }
.excerpts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.excerpt { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 20px; text-decoration: none; align-items: center; }
.excerpt .frame { aspect-ratio: 4 / 3; border-radius: 10px; }
.excerpt .tagline-sm { font-size: 12px; letter-spacing: .14em; color: var(--accent); }
.excerpt h3 { font-size: 19px; letter-spacing: .06em; line-height: 1.45; margin: 4px 0 6px; }
.excerpt p { font-size: 14px; color: var(--muted); line-height: 1.8; }
.excerpt:hover h3 { color: var(--brand); }
@media (max-width: 900px) { .excerpts { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .excerpt { grid-template-columns: minmax(0, 1fr); } }
.next-band { background: var(--brand-deep); color: var(--on-brand); }
.next-band a { display: flex; justify-content: space-between; align-items: center; gap: 20px; text-decoration: none; padding-block: clamp(48px, 7vw, 90px); }
.next-band .kicker { display: block; margin-bottom: 8px; }
.next-band strong { font-family: var(--f-head); font-size: clamp(2rem, 5vw, 4rem); letter-spacing: .1em; line-height: 1.2; }
.next-band .arrow { font-family: var(--f-en); font-size: clamp(2rem, 5vw, 4rem); }

/* work grid */
.filters { display: flex; flex-wrap: wrap; gap: 8px; padding-block: clamp(36px, 5vw, 56px) clamp(28px, 4vw, 44px); }
.filters button { font: inherit; font-size: 14px; letter-spacing: .08em; cursor: pointer; background: transparent; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 6px 18px; }
.filters button span { font-family: var(--f-en); color: var(--muted); margin-left: 6px; }
.filters button[aria-pressed="true"] { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.filters button[aria-pressed="true"] span { color: var(--on-brand); opacity: .8; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 52px) clamp(16px, 2vw, 28px); }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cards { grid-template-columns: minmax(0, 1fr); } }
.card { display: grid; gap: 10px; text-decoration: none; align-content: start; }
.card .frame { aspect-ratio: 4 / 3; border-radius: 10px; }
.card .frame img { transition: transform .6s ease; }
.card:hover .frame img { transform: scale(1.03); }
.card-tags { font-size: 12px; letter-spacing: .14em; color: var(--accent); }
.card h3 { font-size: 19px; letter-spacing: .06em; line-height: 1.45; }
.card:hover h3 { color: var(--brand); }
.card p { font-size: 14px; color: var(--muted); }
.longterm { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.longterm div { border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 6px; }
.longterm p { font-size: 18px; font-weight: 600; letter-spacing: .06em; }
@media (max-width: 860px) { .longterm { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* case page */
.case-hero .frame { aspect-ratio: 16 / 9; }
.case-head { display: grid; gap: 14px; padding-block: clamp(40px, 6vw, 72px) 28px; }
.case-head h1 { font-size: clamp(2rem, 4.8vw, 3.6rem); line-height: 1.35; letter-spacing: .08em; }
.case-head p { font-size: 18px; max-width: 48em; }
.facts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin: 0 0 clamp(36px, 5vw, 56px); }
.facts div { border-top: 1px solid var(--line); padding-top: 12px; min-width: 0; }
.facts dt { font-size: 12px; letter-spacing: .14em; color: var(--muted); }
.facts dd { margin: 4px 0 0; line-height: 1.7; }
.tbd { color: var(--muted); font-size: 14px; }
@media (max-width: 860px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.did { margin-bottom: clamp(40px, 5vw, 64px); display: grid; gap: 12px; }
.did h2 { font-size: 22px; letter-spacing: .1em; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: clamp(80px, 10vw, 130px); }
.gallery .frame { aspect-ratio: 3 / 2; border-radius: 8px; }
.gallery .g-wide { grid-column: 1 / -1; aspect-ratio: 2 / 1; }

/* legal */
.legal { padding-block: 140px clamp(80px, 10vw, 130px); display: grid; gap: 28px; max-width: 48em; }
.legal h1 { font-family: var(--f-en); font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: .04em; }
.legal h2 { font-family: var(--f-en); font-size: 22px; letter-spacing: .02em; margin-bottom: 8px; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 0; }
.legal dt { color: var(--muted); }
.legal dd { margin: 0; }
.legal .todo { color: var(--brand); font-style: italic; }
@media (max-width: 560px) { .legal dl { grid-template-columns: minmax(0, 1fr); } }

/* ---------- footer (miligram) ---------- */
.ftr { background: var(--brand); color: var(--on-brand); padding-block: clamp(60px, 7vw, 100px) calc(28px + env(safe-area-inset-bottom, 0px)); }
.ftr-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: 36px; }
.ftr-about > p { opacity: .88; max-width: 26em; font-size: 15px; }
.ftr-contact { margin-top: 26px; display: grid; gap: 8px; font-size: 16px; letter-spacing: .04em; }
.ftr-contact li { display: flex; align-items: baseline; gap: 14px; }
.ftr-contact span { font-size: 13px; letter-spacing: .14em; opacity: .7; min-width: 3em; }
.ftr-contact a, .ftr-contact button { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(255, 248, 243, .4); padding-bottom: 1px; }
.ftr-contact a:hover, .ftr-contact button:hover { color: var(--accent-on); border-color: currentColor; }
.ftr-contact button { font: inherit; letter-spacing: inherit; background: none; border-top: 0; border-left: 0; border-right: 0; padding: 0 0 1px; cursor: pointer; }
.ftr-contact button.done::after { content: " · " attr(data-done); color: var(--accent-on); font-size: 13px; }
.ftr-nav { display: grid; gap: 4px; font-size: 20px; letter-spacing: .1em; font-weight: 600; }
.ftr-nav a { text-decoration: none; }
.ftr-nav a:hover { color: var(--accent-on); }
.ftr-brand { justify-self: end; text-align: right; display: grid; gap: 14px; justify-items: end; }
.ftr-brand .wm { font-size: clamp(17px, 1.9vw, 24px); }
.ftr-brand .slogan { font-size: 14px; letter-spacing: .2em; opacity: .85; }
.ftr-bot { margin-top: clamp(48px, 7vw, 90px); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 13px; opacity: .78; letter-spacing: .06em; }
.ftr-bot a { text-decoration: none; }
.ftr-bot a:hover { text-decoration: underline; }
@media (max-width: 860px) { .ftr-top { grid-template-columns: minmax(0, 1fr); } .ftr-brand { justify-self: start; text-align: left; justify-items: start; } }

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 110; background: rgba(30, 18, 12, .95); color: #FFFFFF; display: grid; grid-template-rows: auto 1fr auto;
  padding: calc(12px + env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); }
.lb-top { display: flex; justify-content: space-between; align-items: center; font-family: var(--f-en); letter-spacing: .1em; font-size: 14px; }
.lb-stage { display: grid; place-items: center; min-height: 0; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb-nav { display: flex; justify-content: center; gap: 12px; }
.lb button { font: inherit; color: #FFFFFF; background: transparent; border: 1px solid rgba(255, 255, 255, .5); border-radius: 999px; padding: 6px 18px; cursor: pointer; }

/* ---------- v1.1: compact inner header, back link, case-led pillar pages ---------- */
.ph-head { padding-block: clamp(104px, 11vw, 136px) clamp(30px, 4vw, 48px); }
.ph-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(20px, 4vw, 64px); align-items: end; width: 100%; }
.ph-head h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.ph-head .tagline { font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.ph-intro { font-size: 15px; line-height: 1.9; opacity: .9; max-width: 46em; }
@media (max-width: 860px) { .ph-grid { grid-template-columns: minmax(0, 1fr); } }
.back-link {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 14px; letter-spacing: .1em;
  border: 1px solid currentColor; border-radius: 999px; padding: 4px 16px; opacity: .9;
}
.back-link:hover { opacity: 1; }
.backbar { padding-top: 96px; padding-bottom: 8px; display: flex; flex-wrap: wrap; gap: 10px; }
.backbar .back-link { color: var(--ink); }

.case-rows { display: grid; gap: clamp(48px, 7vw, 96px); }
.case-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.case-row:nth-child(even) .case-media { order: 2; }
.case-media { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.case-media .frame { border-radius: 10px; aspect-ratio: 3 / 2; }
.case-media .frame.big { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.case-text { display: grid; gap: 12px; align-content: center; }
.case-text .card-tags { letter-spacing: .14em; }
.case-text h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: .08em; line-height: 1.4; }
.case-meta { font-size: 13px; color: var(--muted); letter-spacing: .06em; }
.case-text .story { font-size: 15px; line-height: 1.95; }
.case-text .story.todo-note { color: var(--muted); border-left: 2px solid var(--accent); padding-left: 12px; font-size: 14px; }
.case-text .more { justify-self: start; }
@media (max-width: 860px) { .case-row { grid-template-columns: minmax(0, 1fr); } .case-row:nth-child(even) .case-media { order: 0; } }

.svc-compact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 44px); }
.svc-compact li { padding-block: 16px; border-bottom: 1px solid var(--line); display: grid; gap: 4px; align-content: start; }
.svc-compact b { font-size: 16px; letter-spacing: .1em; color: var(--brand); }
.svc-compact span { font-size: 14px; line-height: 1.75; color: var(--ink); }
@media (max-width: 960px) { .svc-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .svc-compact { grid-template-columns: minmax(0, 1fr); } }
.sec-tight { padding-bottom: clamp(56px, 7vw, 90px); }
.pillar-cases { padding-top: clamp(48px, 6vw, 80px); }

/* ---------- English site (enabled later): Latin body face, tighter tracking ---------- */
html[lang="en"] { --f-zh: "Noto Serif", Georgia, serif; --f-head: "Bodoni Moda", "Noto Serif", Georgia, serif; }
html[lang="en"] .site :is(h1, h2, h3, h4, p, li, a, strong, b, summary, dt, dd, span):not(.wm):not(.kicker):not(.num):not(.count) { letter-spacing: .01em; }
html[lang="en"] .intro-lines, html[lang="en"] .intro-end { letter-spacing: .04em; }
