:root {
  --paper: #f4f1ea;
  --paper-deep: #e7e1d7;
  --surface: #faf8f3;
  --ink: #1d1d1a;
  --ink-soft: #4f4c46;
  --muted: #7c776e;
  --line: #d4cec3;
  --accent: #97684a;
  --accent-soft: #c9a98f;
  --accent-light: #c9a98f;
  --white: #fffdf8;
  --danger: #9a4138;
  --success: #426a52;
  --shadow: 0 24px 70px rgba(29, 29, 26, .11);
  --serif: "Songti SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  --page-pad: clamp(20px, 5vw, 76px);
  --section-pad: clamp(82px, 11vw, 156px);
  --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body.dialog-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; }
a { color: inherit; }
[hidden] { display: none !important; }

.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; background: var(--ink); color: var(--white); padding: 12px 18px; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 20; min-height: 84px; padding: 0 var(--page-pad); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid transparent; transition: background .25s, border-color .25s, min-height .25s; }
.site-header.scrolled { min-height: 70px; background: color-mix(in srgb, var(--paper) 94%, transparent); border-color: var(--line); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 11px; width: max-content; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font: 500 12px/1 var(--serif); letter-spacing: .08em; }
.brand strong, .brand small { display: block; }
.brand strong { font: 500 17px/1.1 var(--serif); letter-spacing: .08em; }
.brand small { margin-top: 4px; color: var(--muted); font-size: 9px; letter-spacing: .22em; }
.desktop-nav { display: flex; align-items: center; gap: clamp(24px, 3.5vw, 52px); }
.desktop-nav a, .quiet-link { position: relative; font-size: 12px; text-decoration: none; letter-spacing: .1em; }
.desktop-nav a::after, .quiet-link::after, .text-link::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: currentColor; transition: right .25s; }
.desktop-nav a:hover::after, .quiet-link:hover::after, .text-link:hover::after { right: 0; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 22px; }
.menu-button { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 12px; cursor: pointer; }
.menu-button span { display: block; height: 1px; margin: 7px 0; background: var(--ink); }
.mobile-nav { position: absolute; inset: 100% 0 auto; padding: 24px var(--page-pad) 34px; display: grid; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); }
.mobile-nav a { padding: 15px 0; border-bottom: 1px solid var(--line); text-decoration: none; font: 24px var(--serif); }

.button { min-height: 48px; width: max-content; padding: 0 21px; display: inline-flex; align-items: center; justify-content: center; gap: 28px; border: 1px solid var(--ink); border-radius: var(--radius); background: var(--ink); color: var(--white); text-decoration: none; font-size: 12px; letter-spacing: .08em; cursor: pointer; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); background: transparent; color: var(--ink); }
.button:active { transform: translateY(0); }
.button[disabled] { opacity: .52; cursor: wait; transform: none; }
.button-small { min-height: 40px; padding: 0 16px; gap: 14px; }
.button-light { background: var(--white); color: var(--ink); border-color: var(--white); }
.button-light:hover { background: transparent; color: var(--white); }
.text-link { position: relative; width: max-content; color: var(--ink); text-decoration: none; font-size: 12px; letter-spacing: .08em; }
.icon-text-button { border: 0; border-bottom: 1px solid currentColor; background: transparent; color: var(--ink); padding: 6px 0; cursor: pointer; font-size: 12px; letter-spacing: .05em; }
.icon-text-button.light { color: var(--white); }
.round-button { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; transition: transform .2s, background .2s; }
.round-button:hover { transform: rotate(5deg); background: var(--paper-deep); }
.retry-button { min-height: 42px; margin-top: 18px; padding: 0 16px; border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 11px; cursor: pointer; }
.retry-button:hover { border-color: var(--accent); color: var(--accent); }

.eyebrow { margin: 0 0 24px; color: var(--accent); font-size: 10px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.section { padding: var(--section-pad) var(--page-pad); }
.section-heading h2, .consultation-section h2 { margin: 0; font: 400 clamp(40px, 5.2vw, 76px)/1.12 var(--serif); letter-spacing: -.045em; }
.split-heading { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(270px, .55fr); gap: clamp(50px, 10vw, 160px); align-items: end; }
.split-heading > p, .heading-actions > p { margin: 0; color: var(--muted); font-size: 13px; line-height: 2; max-width: 430px; }

.hero { min-height: 100svh; padding: 132px var(--page-pad) 56px; display: grid; grid-template-columns: minmax(330px, .92fr) minmax(380px, 1.08fr); gap: clamp(40px, 8vw, 120px); align-items: center; position: relative; overflow: hidden; }
.hero-copy { position: relative; z-index: 2; padding-left: clamp(0px, 3vw, 46px); }
.hero h1 { margin: 0; max-width: 780px; font: 400 clamp(48px, 6.8vw, 104px)/1.08 var(--serif); letter-spacing: -.065em; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-subtitle { margin: 32px 0 0; color: var(--ink-soft); font-size: 12px; letter-spacing: .2em; }
.hero-actions { margin-top: 48px; display: flex; align-items: center; gap: 30px; }
.hero-visual { justify-self: stretch; align-self: stretch; min-height: 68svh; position: relative; display: flex; flex-direction: column; justify-content: flex-end; }
.hero-visual img, .image-placeholder { width: 100%; height: 100%; min-height: 68svh; position: absolute; inset: 0; object-fit: cover; filter: saturate(.82) contrast(.96); }
.image-placeholder { display: grid; place-items: center; background: var(--paper-deep); color: rgba(29, 29, 26, .28); border: 1px solid var(--line); }
.image-placeholder span { font: 500 clamp(28px, 4vw, 56px)/1.18 var(--serif); letter-spacing: .14em; text-align: center; }
.image-fallback { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; align-content: center; gap: 6px; padding: 24px; background: var(--paper-deep); color: var(--muted); text-align: center; }
.image-fallback strong { color: var(--ink); font: 400 24px var(--serif); }
.image-fallback span { font-size: 11px; line-height: 1.6; }
.image-fallback[hidden] { display: none; }
.hero-visual > p { position: relative; z-index: 1; margin: 0; padding: 18px 20px; display: flex; gap: 12px; background: var(--surface); width: max-content; font-size: 9px; letter-spacing: .14em; }
.hero-visual > p span { color: var(--accent); }
.hero-index { position: absolute; left: var(--page-pad); bottom: 20px; color: var(--muted); font-size: 9px; letter-spacing: .18em; writing-mode: vertical-rl; }

.categories-section { border-top: 1px solid var(--line); }
.category-list { margin-top: 72px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.category-card { min-height: 320px; padding: 22px; position: relative; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); text-align: left; cursor: pointer; }
.category-card::before { content: ""; position: absolute; inset: 0; background: var(--category-image, none) center/cover; opacity: 0; filter: saturate(.72); transform: scale(1.04); transition: opacity .35s, transform .5s; }
.category-card::after { content: ""; position: absolute; inset: 0; background: rgba(29, 29, 26, .48); opacity: 0; transition: opacity .35s; }
.category-card:hover::before, .category-card.active::before { opacity: 1; transform: scale(1); }
.category-card:hover::after, .category-card.active::after { opacity: 1; }
.category-card:hover, .category-card.active { color: var(--white); }
.category-card > * { position: relative; z-index: 1; }
.category-card .category-index { font: 11px var(--sans); letter-spacing: .12em; }
.category-card .category-name { font: 400 clamp(26px, 2.3vw, 38px) var(--serif); }
.category-card .category-count { font-size: 10px; letter-spacing: .1em; opacity: .72; }
.loading-block { grid-column: 1 / -1; padding: 50px; color: var(--muted); text-align: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Keep the public portfolio index quiet; imagery belongs to the story cards. */
.categories-section .split-heading { grid-template-columns: minmax(0, .45fr) minmax(260px, .55fr); }
.categories-section .category-list { margin-top: 48px; display: flex; flex-wrap: wrap; border: 0; border-top: 1px solid var(--line); }
.categories-section .category-card { min-height: 86px; flex: 1 1 180px; padding: 18px 20px; border: 0; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.categories-section .category-card:first-child { border-left: 1px solid var(--line); }
.categories-section .category-card::before, .categories-section .category-card::after { display: none; }
.categories-section .category-card:hover, .categories-section .category-card.active { color: var(--ink); background: var(--paper-deep); }
.categories-section .category-card .category-name { font-size: 24px; }
.categories-section .category-card .category-index { color: var(--accent); }

.portfolio-section { padding-top: 48px; }
.portfolio-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.portfolio-heading h2 { font-size: clamp(42px, 5vw, 68px); }
.heading-actions { display: flex; align-items: end; gap: 30px; }
.work-grid { margin-top: 34px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 76px) clamp(16px, 3vw, 44px); }
.work-card { border: 0; background: transparent; padding: 0; color: inherit; text-align: left; cursor: pointer; }
.work-image { aspect-ratio: 4 / 5; position: relative; overflow: hidden; background: var(--paper-deep); }
.work-image img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.78); transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .35s; }
.work-card:hover .work-image img { transform: scale(1.025); filter: saturate(.95); }
.work-image .image-placeholder { min-height: 0; }
.work-number { position: absolute; top: 14px; right: 14px; min-width: 36px; height: 36px; padding: 0 8px; display: grid; place-items: center; background: color-mix(in srgb, var(--paper) 92%, transparent); color: var(--ink); font-size: 9px; }
.work-copy { margin-top: 18px; display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: baseline; }
.work-copy h3 { margin: 0; font: 400 clamp(20px, 2.1vw, 30px) var(--serif); }
.work-copy p { margin: 7px 0 0; color: var(--muted); font-size: 10px; letter-spacing: .08em; }
.work-arrow { font-size: 20px; transition: transform .2s; }
.work-card:hover .work-arrow { transform: translate(3px, -3px); }
.empty-state { grid-column: 1 / -1; min-height: 280px; padding: 50px; display: grid; place-items: center; text-align: center; border: 1px solid var(--line); color: var(--muted); }
.empty-state strong { display: block; margin-bottom: 12px; color: var(--ink); font: 30px var(--serif); }

.service-section { background: var(--ink); color: var(--white); }
.light-heading > p { color: #a8a39a; }
.service-grid { margin-top: 72px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid #4a4944; border-left: 1px solid #4a4944; }
.service-card, .service-empty { min-height: 390px; padding: clamp(26px, 4vw, 52px); display: flex; flex-direction: column; border-right: 1px solid #4a4944; border-bottom: 1px solid #4a4944; }
.service-card > span, .service-empty > span { color: var(--accent-soft); font-size: 10px; letter-spacing: .15em; }
.service-card h3, .service-empty h3 { margin: auto 0 18px; font: 400 clamp(30px, 3.4vw, 48px) var(--serif); }
.service-card .service-meta { margin: 0 0 22px; color: #c8c3bb; font-size: 12px; letter-spacing: .08em; }
.service-card .service-price { margin: 0 0 18px; color: var(--white); font: 400 24px var(--serif); }
.service-card .service-description, .service-empty p { margin: 0; max-width: 520px; color: #aaa69e; font-size: 13px; line-height: 1.9; }
.service-card ul { margin: 18px 0 0; padding: 0; list-style: none; color: #c8c3bb; font-size: 12px; line-height: 2; }
.service-card button { margin-top: 28px; align-self: flex-start; }
.service-actions { display: flex; flex-wrap: wrap; gap: 22px; margin-top: auto; }
.service-actions .icon-text-button { margin-top: 22px; }

.about-section { min-height: 720px; display: grid; grid-template-columns: .35fr .65fr 1fr; gap: clamp(36px, 7vw, 110px); align-items: start; background: var(--paper-deep); }
.about-number { color: var(--accent-soft); font: 400 clamp(72px, 11vw, 170px)/.8 var(--serif); opacity: .55; }
.about-title h2 { margin: 0; font: 400 clamp(40px, 5vw, 72px)/1.15 var(--serif); letter-spacing: -.045em; }
.about-copy { padding-top: 84px; }
.about-copy .quote { margin: 0 0 32px; font: 400 clamp(24px, 2.8vw, 39px)/1.7 var(--serif); }
.about-copy > p:not(.quote) { color: var(--ink-soft); font-size: 14px; line-height: 2; }
.about-promise { padding-top: 18px; border-top: 1px solid var(--line); }
.about-copy .text-link { display: inline-block; margin-top: 26px; }

.accordion-list { margin-top: 70px; border-top: 1px solid var(--line); }
.accordion { border-bottom: 1px solid var(--line); }
.accordion summary { min-height: 86px; padding: 18px 0; display: grid; grid-template-columns: 56px 1fr auto auto; gap: 18px; align-items: center; list-style: none; cursor: pointer; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion-index { color: var(--accent); font-size: 10px; }
.accordion-title { font: 400 clamp(20px, 2vw, 28px) var(--serif); }
.accordion-kind { color: var(--muted); font-size: 10px; letter-spacing: .1em; }
.accordion-toggle { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; transition: transform .25s; }
.accordion[open] .accordion-toggle { transform: rotate(45deg); }
.accordion-content { max-width: 780px; padding: 0 52px 38px 74px; color: var(--ink-soft); font-size: 14px; line-height: 2; white-space: pre-line; }
.accordion-share { margin: 0 0 32px 74px; }
.booking-panel { margin-top: 72px; padding: clamp(28px, 4vw, 52px); border: 1px solid var(--line); background: var(--surface); }
.booking-panel h3 { margin: 0 0 25px; font: 36px var(--serif); }
.booking-panel details { border-top: 1px solid var(--line); padding: 18px 0; }
.booking-panel summary { cursor: pointer; font: 20px var(--serif); }
.booking-panel details p { color: var(--muted); line-height: 1.9; white-space: pre-line; }

.consultation-section { padding: var(--section-pad) var(--page-pad); display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(60px, 11vw, 170px); background: var(--ink); color: var(--white); }
.consultation-intro > p:not(.eyebrow) { margin: 30px 0; max-width: 410px; color: #aaa69e; font-size: 13px; line-height: 2; }
.consultation-form { display: grid; gap: 28px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.consultation-form label { display: block; color: #c6c1b8; font-size: 11px; letter-spacing: .06em; }
.consultation-form label > span { color: var(--accent-soft); }
.consultation-form input, .consultation-form select, .consultation-form textarea { width: 100%; min-height: 48px; margin-top: 8px; padding: 10px 0; border: 0; border-bottom: 1px solid #5a5954; border-radius: 0; outline: 0; background: transparent; color: var(--white); }
.consultation-form textarea { resize: vertical; line-height: 1.7; }
.consultation-form select { color-scheme: dark; }
.consultation-form input:focus, .consultation-form select:focus, .consultation-form textarea:focus { border-color: var(--accent-soft); }
.consultation-form input::placeholder, .consultation-form textarea::placeholder { color: #77756f; }
.check-label { display: flex !important; align-items: flex-start; gap: 10px; line-height: 1.7; }
.check-label input { width: 17px; min-height: 17px; margin: 2px 0 0; accent-color: var(--accent); }
.form-submit-row { display: flex; align-items: center; gap: 22px; }
.form-submit-row p { margin: 0; color: #c6c1b8; font-size: 12px; }
.form-submit-row p.success { color: #9cc3a9; }
.form-submit-row p.error { color: #e3a69f; }

.site-footer { min-height: 180px; padding: 42px var(--page-pad); display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; letter-spacing: .1em; }
.site-footer p:last-child { justify-self: end; }

dialog { color: var(--ink); }
dialog::backdrop { background: rgba(16, 16, 14, .72); backdrop-filter: blur(6px); }
.gallery-dialog { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: var(--paper); }
.gallery-shell { min-height: 100%; padding: 0 var(--page-pad) 90px; }
.gallery-header { position: sticky; top: 0; z-index: 4; min-height: 118px; padding: 24px 0 18px; display: flex; justify-content: space-between; align-items: center; gap: 30px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--paper) 95%, transparent); backdrop-filter: blur(14px); }
.gallery-header .eyebrow { margin-bottom: 8px; }
.gallery-header h2 { margin: 0; font: 400 clamp(28px, 4vw, 52px) var(--serif); }
.gallery-header p:last-child { margin: 8px 0 0; color: var(--muted); font-size: 10px; }
.gallery-actions { display: flex; align-items: center; gap: 22px; }
.gallery-stream { width: min(100%, 1120px); margin: 54px auto 0; }
.gallery-figure { position: relative; min-height: 120px; margin: 0 0 clamp(38px, 8vw, 110px); }
.gallery-figure img { width: 100%; height: auto; display: block; background: var(--paper-deep); }
.gallery-figure figcaption { margin-top: 12px; display: flex; justify-content: space-between; color: var(--muted); font-size: 9px; letter-spacing: .1em; }
.gallery-loader { width: min(100%, 1120px); margin: 0 auto; padding: 28px; border: 1px solid var(--line); color: var(--muted); text-align: center; font-size: 11px; }
.gallery-loader.error { color: var(--danger); cursor: pointer; }
.content-dialog { width: min(720px, calc(100% - 36px)); padding: clamp(34px, 6vw, 74px); border: 0; background: var(--surface); box-shadow: var(--shadow); }
.dialog-close { position: absolute; right: 22px; top: 22px; }
.content-dialog h2 { margin: 0 0 28px; padding-right: 50px; font: 400 clamp(34px, 5vw, 58px)/1.2 var(--serif); }
.content-body { margin-bottom: 30px; color: var(--ink-soft); font-size: 14px; line-height: 2; white-space: pre-line; }
.toast { position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); z-index: 100; padding: 12px 17px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 12px; box-shadow: var(--shadow); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }

/* Customer selection */
.selection-body { min-height: 100vh; background: var(--surface); }
.selection-header { position: sticky; top: 0; z-index: 10; min-height: 76px; padding: 0 var(--page-pad); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(14px); }
.selection-main { min-height: calc(100vh - 76px); }
.selection-login { min-height: calc(100vh - 76px); padding: clamp(70px, 11vw, 150px) var(--page-pad); display: grid; grid-template-columns: 1fr minmax(300px, 520px); gap: clamp(50px, 12vw, 180px); align-items: center; }
.selection-login h1 { margin: 0; font: 400 clamp(50px, 7vw, 98px)/1.08 var(--serif); letter-spacing: -.06em; }
.selection-login-copy > p:not(.eyebrow) { max-width: 480px; margin-top: 30px; color: var(--muted); line-height: 2; }
.login-card { padding: clamp(28px, 5vw, 52px); border: 1px solid var(--line); background: var(--paper); box-shadow: 0 20px 55px rgba(29,29,26,.06); }
.login-card h2 { margin: 0 0 8px; font: 34px var(--serif); }
.login-card > p { margin: 0 0 32px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.field { display: block; margin-top: 20px; color: var(--ink-soft); font-size: 11px; }
.field input { width: 100%; min-height: 48px; margin-top: 8px; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); outline: 0; }
.login-card .button { width: 100%; margin-top: 30px; }
.inline-status { min-height: 18px; margin: 16px 0 0 !important; color: var(--danger) !important; }
.selection-workspace { padding: 42px var(--page-pad) 120px; }
.selection-toolbar { position: sticky; top: 76px; z-index: 8; margin: -42px calc(var(--page-pad) * -1) 36px; padding: 22px var(--page-pad); display: flex; align-items: center; justify-content: space-between; gap: 25px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 95%, transparent); backdrop-filter: blur(14px); }
.selection-title h1 { margin: 0; font: 32px var(--serif); }
.selection-title p { margin: 7px 0 0; color: var(--muted); font-size: 10px; }
.selection-controls { display: flex; align-items: center; gap: 18px; }
.selection-count { min-width: 96px; text-align: right; }
.selection-count strong { font: 28px var(--serif); }
.selection-count span { color: var(--muted); font-size: 10px; }
.photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.photo-card { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border: 1px solid transparent; background: var(--paper-deep); }
.photo-card.selected { border-color: var(--accent); }
.photo-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.select-toggle { position: absolute; inset: 0; border: 0; background: transparent; cursor: pointer; }
.select-indicator { position: absolute; right: 10px; top: 10px; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.8); border-radius: 50%; background: rgba(29,29,26,.38); color: var(--white); font-size: 11px; pointer-events: none; }
.photo-card.selected .select-indicator { background: var(--accent); border-color: var(--accent); }
.photo-index { position: absolute; left: 9px; bottom: 9px; padding: 5px 7px; background: rgba(29,29,26,.58); color: var(--white); font-size: 9px; pointer-events: none; }
.preview-button { position: absolute; right: 9px; bottom: 9px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(244,241,234,.9); color: var(--ink); cursor: zoom-in; }
.load-more { width: 100%; min-height: 54px; margin-top: 32px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.selection-note { margin: 22px 0; padding: 17px; border: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.8; }
.selection-note.locked { color: var(--success); border-color: color-mix(in srgb, var(--success) 38%, var(--line)); }
.preview-dialog { width: min(1000px, calc(100% - 32px)); max-height: 94vh; padding: 0; border: 0; background: #111; }
.preview-dialog img { width: 100%; max-height: 90vh; object-fit: contain; display: block; }
.preview-dialog .round-button { position: absolute; top: 14px; right: 14px; border-color: rgba(255,255,255,.45); background: rgba(0,0,0,.32); color: #fff; }
.preview-actions { min-height: 76px; padding: 14px 76px 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #ddd; background: #111; font-size: 11px; }
.preview-actions .button { min-height: 42px; }
.submit-dialog strong { color: var(--accent); font: 28px var(--serif); }

@media (max-width: 1050px) {
  .category-list { grid-template-columns: repeat(5, minmax(180px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; }
  .category-card { scroll-snap-align: start; }
  .about-section { grid-template-columns: .3fr .7fr; }
  .about-copy { grid-column: 2; padding-top: 0; }
  .photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  :root { --page-pad: 20px; --section-pad: 86px; }
  .site-header { min-height: 70px; grid-template-columns: 1fr auto; }
  .desktop-nav, .header-actions .quiet-link, .header-actions .button { display: none; }
  .menu-button { display: block; }
  .hero { min-height: auto; padding-top: 104px; grid-template-columns: 1fr; gap: 42px; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(46px, 14.5vw, 72px); }
  .hero-subtitle { line-height: 2; }
  .hero-visual, .hero-visual img, .image-placeholder { min-height: 56svh; }
  .hero-index { display: none; }
  .split-heading { grid-template-columns: 1fr; gap: 30px; }
  .category-list { margin-top: 46px; }
  .category-card { min-height: 260px; }
  .portfolio-heading { display: block; }
  .heading-actions { margin-top: 26px; display: block; }
  .heading-actions .icon-text-button { margin-top: 16px; }
  .work-grid { gap: 34px 12px; }
  .work-copy { display: block; }
  .work-copy h3 { font-size: 17px; line-height: 1.45; }
  .work-arrow { display: none; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card, .service-empty { min-height: 340px; }
  .about-section { min-height: auto; grid-template-columns: 1fr; gap: 35px; }
  .about-number { font-size: 96px; }
  .about-copy { grid-column: auto; }
  .accordion summary { grid-template-columns: 34px 1fr auto; }
  .accordion-kind { display: none; }
  .accordion-content { padding-left: 52px; }
  .accordion-share { margin-left: 52px; }
  .consultation-section { grid-template-columns: 1fr; gap: 58px; }
  .form-row { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; align-items: start; }
  .site-footer p:last-child { justify-self: start; }
  .gallery-shell { padding: 0 14px 70px; }
  .gallery-header { min-height: 92px; }
  .gallery-header h2 { font-size: 25px; }
  .gallery-actions .icon-text-button { display: none; }
  .gallery-stream { margin-top: 24px; }
  .selection-header .quiet-link { display: block; }
  .selection-login { grid-template-columns: 1fr; align-items: start; }
  .selection-login h1 { font-size: 58px; }
  .selection-toolbar { align-items: flex-start; }
  .selection-title h1 { font-size: 22px; }
  .selection-controls { gap: 8px; }
  .selection-controls .button { min-height: 42px; padding: 0 12px; gap: 8px; }
  .selection-controls .quiet-action { display: none; }
  .selection-count { min-width: 60px; }
  .selection-count strong { font-size: 23px; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Scroll chapters: a restrained editorial transition for the public website. */
.story-scroll { padding: clamp(110px, 15vw, 220px) var(--page-pad) clamp(80px, 12vw, 180px); background: var(--ink); color: var(--white); }
.story-scroll-intro { width: min(760px, 100%); margin: 0 auto clamp(90px, 14vw, 190px); text-align: center; }
.story-scroll-intro h2 { margin: 22px 0 24px; font: 400 clamp(42px, 6vw, 88px)/1.08 var(--serif); letter-spacing: -.055em; }
.story-scroll-intro h2 em { color: var(--accent-light); font-style: normal; }
.story-scroll-intro > p:last-child { color: rgba(255,255,255,.55); font-size: 12px; }
.story-chapter { width: min(1180px, 100%); min-height: min(760px, 78vh); margin: 0 auto clamp(120px, 20vw, 260px); display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(250px, .55fr); gap: clamp(30px, 7vw, 120px); align-items: center; opacity: .38; transform: translateY(45px); transition: opacity .9s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
.story-chapter:last-child { margin-bottom: 0; }
.story-chapter.is-visible { opacity: 1; transform: translateY(0); }
.story-chapter-media { position: relative; min-height: min(72vh, 680px); overflow: hidden; background: #302d29; }
.story-chapter-media img { width: 100%; height: 100%; min-height: inherit; display: block; object-fit: cover; filter: saturate(.72) contrast(.95); transform: scale(1.04); transition: transform 1.5s cubic-bezier(.2,.7,.2,1); }
.story-chapter.is-visible .story-chapter-media img { transform: scale(1); }
.story-chapter-number { position: absolute; right: 18px; bottom: 16px; color: rgba(255,255,255,.7); font-size: 10px; letter-spacing: .16em; }
.story-chapter-copy { padding: 20px 0; }
.story-chapter-copy .eyebrow { color: var(--accent-light); }
.story-chapter-copy h3 { margin: 20px 0 38px; font: 400 clamp(34px, 4.2vw, 64px)/1.15 var(--serif); letter-spacing: -.045em; }
.story-chapter-copy .text-link { color: var(--white); border-bottom-color: rgba(255,255,255,.42); }
.story-chapter-dark { grid-template-columns: minmax(250px, .55fr) minmax(0, 1.45fr); }
.story-chapter-dark .story-chapter-media { grid-column: 2; grid-row: 1; }
.story-chapter-dark .story-chapter-copy { grid-column: 1; grid-row: 1; }
.story-chapter-dark .story-chapter-media img { filter: saturate(.62) contrast(1.05); }

@media (max-width: 760px) {
  .story-scroll { padding-right: var(--page-pad); padding-left: var(--page-pad); }
  .story-chapter, .story-chapter-dark { display: block; min-height: 0; margin-bottom: 120px; }
  .story-chapter-media, .story-chapter-dark .story-chapter-media { min-height: 66svh; }
  .story-chapter-dark .story-chapter-media, .story-chapter-dark .story-chapter-copy { all: revert; }
  .story-chapter-dark .story-chapter-media { position: relative; display: block; min-height: 66svh; overflow: hidden; background: #302d29; }
  .story-chapter-dark .story-chapter-media img { width: 100%; height: 100%; min-height: inherit; display: block; object-fit: cover; }
  .story-chapter-dark .story-chapter-copy { display: block; padding: 28px 0 0; }
  .story-chapter-copy h3 { margin-bottom: 28px; }
}
