/* ПК Эксперт — editorial catalogue. Layout, colour and typography tokens. */
:root {
  --paper: #F3F0E8;
  --ink: #242C28;
  --accent: #C7A477;
  --accent-hover: #D5B58C;
  --pine: #355D50;
  --muted: #636F67;
  --quiet: #BEC8BD;
  --sage: #E2E7DC;
  --line: #D4D8CD;
  --line-dark: #49594F;
  --surface-dark: #303C34;
  --green: var(--accent);
  --container: 1360px;
  --header-height: 88px;
  --white: var(--paper);
  --brown: var(--ink);
  --brown-soft: var(--muted);
  --terracotta: var(--accent);
  --terracotta-dark: var(--pine);
  --terracotta-soft: var(--quiet);
  --cream-50: var(--paper);
  --cream-100: var(--paper);
  --cream-200: var(--sage);
  --cream-300: var(--quiet);
  --radius: 8px;
  --radius-sm: 5px;
  --radius-lg: 12px;
  --shadow: none;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper); scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: 'Segoe UI', Arial, sans-serif; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.menu-open, body.modal-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
button, input { font: inherit; }
button, a, input, label { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, figure { margin: 0; }
h1, h2, h3 { font-weight: 500; }
h2 { font-size: clamp(36px, 4.8vw, 72px); line-height: 1.06; letter-spacing: -.055em; text-wrap: balance; }
h3 { font-size: 26px; line-height: 1.18; letter-spacing: -.035em; }
p { max-width: 70ch; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--pine); outline-offset: 5px; }
.container { width: min(calc(100% - 96px), var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; clip: rect(0, 0, 0, 0); overflow: hidden; white-space: nowrap; }
.skip-link { position: fixed; z-index: 500; left: 20px; top: 10px; padding: 12px 20px; background: var(--green); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.eyebrow { margin: 0 0 25px; color: var(--muted); font-size: 13px; font-weight: 500; }
.eyebrow-light { color: var(--quiet); }
.section { padding: 110px 0; }
.section-tinted { background: var(--sage); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 50px; }
.section-intro { max-width: 560px; margin-top: 24px; color: var(--muted); }
.section-side-note { color: var(--muted); font-size: 14px; padding-bottom: 5px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 30px; min-height: 54px; padding: 14px 25px; border: 1px solid transparent; border-radius: 5px; font-size: 14px; font-weight: 600; text-align: center; transition: background-color 180ms, color 180ms; }
.button-primary { color: var(--ink); background: var(--green); }
.button-primary:hover { background: var(--accent-hover); }
.button-secondary { border-color: currentColor; background: transparent; }
.button-secondary:hover { background: var(--sage); }
.button:disabled { opacity: .55; cursor: wait; }
.text-link { display: inline-flex; align-items: center; gap: 24px; min-height: 44px; font-size: 14px; border-bottom: 1px solid var(--ink); }
.text-link:hover { color: var(--pine); }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-logo { width: 200px; height: auto; object-fit: contain; filter: grayscale(1); }
.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-height); background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; height: 100%; align-items: center; gap: 28px; }
.header-address { display: none; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; align-items: center; gap: 25px; margin: 0; padding: 0; list-style: none; }
.main-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; }
.main-nav a:hover { text-decoration: underline; text-underline-offset: 7px; }
.header-phone { padding-left: 25px; border-left: 1px solid var(--line); font-size: 14px; white-space: nowrap; }
.menu-toggle { display: none; }
.hero { padding: 32px 0 0; }
.hero-kicker { display: flex; justify-content: space-between; gap: 16px; font-size: 12px; color: var(--muted); }
.editorial-title { padding: 52px 0 40px; font-size: clamp(64px, 8.15vw, 124px); font-weight: 450; line-height: 1.03; letter-spacing: -.067em; }
.title-line { display: flex; align-items: center; gap: 26px; white-space: nowrap; }
.title-line-middle { justify-content: center; }
.title-line:last-child { justify-content: end; }
.title-photo { position: relative; display: block; flex-shrink: 0; width: 1.6em; height: .85em; overflow: hidden; border-radius: 8px; filter: saturate(.6); }
.title-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.07); transition: opacity 1600ms ease-in-out, transform 5400ms ease-out; }
.title-photo img.is-active { opacity: 1; transform: scale(1); }
.hero-caption { padding-top: 3px; color: var(--muted); font-size: 14px; }
.hero-motion-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0; margin-top: 15px; color: var(--muted); background: transparent; border: 0; font-size: 11px; }
.hero-motion-toggle::before { content: 'Ⅱ'; font-size: 13px; }
.hero-motion-toggle[aria-pressed=true]::before { content: '▷'; }
.hero-motion-toggle:hover { color: var(--ink); }
.title-photo-wide { width: 1.8em; object-position: center 52%; }
.hero-signet { display: grid; place-items: center; width: .78em; height: .78em; margin-left: auto; color: var(--ink); background: var(--green); border-radius: 50%; font-size: .75em; letter-spacing: 0; }
.hero-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 25px 0 60px; }
.hero-bottom > p { padding-top: 3px; color: var(--muted); font-size: 14px; }
.hero-description { max-width: 520px; }
.hero-description > p { font-size: 18px; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 24px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; padding: 30px 0 45px; border-top: 1px solid var(--line); }
.stat-card strong { display: flex; align-items: baseline; gap: 8px; color: var(--muted); font-size: clamp(42px, 4.6vw, 66px); font-weight: 400; line-height: 1.2; letter-spacing: -.06em; }
.stat-card strong span { font-size: 22px; letter-spacing: -.03em; }
.stat-card p { font-size: 13px; margin-top: 6px; }
/* Projects: a lead case and two supporting cases, with actual object photography. */
#projects { background: var(--paper); border-top: 1px solid var(--line); }
.projects-track { display: grid; grid-template-columns: 1fr 1fr; gap: 50px 28px; }
.project-card { position: relative; cursor: pointer; min-width: 0; }
.project-card:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1.9fr 1fr; gap: 40px; align-items: end; }
.project-image { width: 100%; aspect-ratio: 1.6; object-fit: cover; border-radius: 8px; }
.project-card:first-child .project-image { aspect-ratio: 1.5; }
.project-copy { position: relative; padding: 22px 45px 0 0; }
.project-copy > span:not(.project-open) { color: var(--muted); font-size: 12px; }
.project-copy h3 { margin: 12px 0; max-width: 420px; }
.project-copy p { color: var(--muted); font-size: 15px; }
.project-open { position: absolute; top: 21px; right: 0; font-size: 25px; }
.project-card:first-child .project-copy { padding-bottom: 24px; }
.project-card:hover h3 { text-decoration: underline; text-underline-offset: 5px; }
/* Scroll-driven project scenes. Without animation, each text/photo pair stays readable. */
#projects { background: var(--ink); color: var(--paper); padding-bottom: 60px; }
#projects .eyebrow, #projects .section-intro, #projects .section-side-note { color: var(--quiet); }
.project-story-stage { display: grid; grid-template-columns: 1.12fr 1fr; column-gap: 65px; row-gap: 65px; align-items: center; }
.project-story-copy, .project-story-visual { display: contents; }
.project-story-panel { grid-column: 2; grid-row: calc(var(--story-index) + 1); min-width: 0; padding: 25px 0; }
.project-story-panel .story-category { margin-bottom: 26px; color: var(--quiet); font-size: 12px; }
.project-story-panel h3 { font-size: clamp(32px, 4vw, 60px); line-height: 1.05; letter-spacing: -.055em; text-wrap: balance; }
.project-story-panel > p:last-child { max-width: 430px; margin-top: 28px; font-size: 16px; color: var(--quiet); }
.project-story-frame { position: relative; display: block; grid-column: 1; grid-row: calc(var(--story-index) + 1); width: 100%; height: 480px; min-width: 0; padding: 0; border: 0; border-radius: 8px; overflow: hidden; background: var(--ink); color: var(--paper); cursor: zoom-in; text-align: left; }
.project-story-frame img { width: 100%; height: 100%; object-fit: cover; }
.story-open { position: absolute; bottom: 20px; right: 20px; left: 20px; display: flex; align-items: center; justify-content: space-between; min-height: 46px; padding: 12px 16px; background: #242c28e8; color: var(--paper); font-size: 12px; border-radius: 4px; }
.project-story-frame:hover .story-open { color: var(--ink); background: var(--green); }
.project-story-controls { display: none; }
.project-story :focus-visible { outline-color: var(--green); }
.project-story-frame:focus-visible { outline-offset: -5px; }
.project-story.is-scroll-story { height: var(--story-height); }
.is-scroll-story .project-story-stage { position: sticky; top: var(--story-sticky-top, calc(var(--header-height) + 24px)); height: var(--story-stage-height, calc(100svh - var(--header-height) - 48px)); grid-template-rows: minmax(0, 1fr) 48px; row-gap: 22px; }
.is-scroll-story .project-story-copy { position: relative; display: grid; grid-column: 2; grid-row: 1; align-items: center; }
.is-scroll-story .project-story-panel { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(22px); transition: opacity 400ms ease, transform 600ms cubic-bezier(.2,.7,.2,1), visibility 400ms; }
.is-scroll-story .project-story-panel.is-active { visibility: visible; opacity: 1; transform: none; }
.is-scroll-story .project-story-visual { position: relative; display: block; grid-column: 1; grid-row: 1; height: 100%; overflow: hidden; border-radius: 8px; isolation: isolate; }
.is-scroll-story .project-story-frame { position: absolute; inset: 0; height: 100%; border-radius: 0; transform: translate3d(0, var(--frame-y, 0%), 0); will-change: transform; z-index: calc(3 - var(--story-index)); }
.is-scroll-story .project-story-frame:not(.is-active) { pointer-events: none; }
.is-scroll-story .project-story-controls { grid-row: 2; grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.story-scroll-hint { color: var(--quiet); font-size: 12px; }
.story-scroll-hint span { color: var(--green); margin-left: 20px; }
.story-navigation { display: flex; align-items: center; gap: 24px; }
.story-navigation button { width: 44px; height: 44px; border: 1px solid var(--line-dark); border-radius: 50%; color: var(--paper); background: transparent; font-size: 18px; }
.story-navigation button:hover:not(:disabled) { color: var(--ink); background: var(--green); border-color: var(--green); }
.story-navigation button:disabled { opacity: .35; cursor: default; }
.story-count { font-size: 13px; min-width: 50px; font-variant-numeric: tabular-nums; }
.story-dots { display: flex; }
.story-dots button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; }
.story-dots span { display: block; width: 22px; height: 3px; background: var(--line-dark); transition: background-color 250ms; }
.story-dots button[aria-current] span { background: var(--green); }
@media (max-width: 1000px) {
  .project-story-stage { column-gap: 35px; }
  .project-story-panel h3 { font-size: 38px; }
  .project-story-panel > p:last-child { font-size: 14px; }
}
@media (max-width: 699px) {
  .project-story-stage { grid-template-columns: 1fr; gap: 22px; }
  .project-story-panel { grid-column: 1; grid-row: calc(var(--story-index) * 2 + 1); padding: 0; }
  .project-story-frame { grid-column: 1; grid-row: calc(var(--story-index) * 2 + 2); height: 370px; margin-bottom: 28px; }
  .project-story-panel h3 { font-size: 36px; }
  .project-story-panel .story-category { margin-bottom: 16px; }
  .project-story-panel > p:last-child { margin-top: 18px; }
  .hero-caption > p { display: none; }
  .hero-caption { order: 2; }
  .hero-motion-toggle { margin-top: 0; }
}
.process-section { background: var(--sage); }
.process-list { list-style: none; padding: 0; margin: 0; }
.process-list li { display: grid; grid-template-columns: 65px 1fr 1.1fr; gap: 25px; padding: 30px 0; border-top: 1px solid var(--line); align-items: baseline; }
.process-number { color: var(--muted); font-size: 14px; }
.process-list p { color: var(--muted); font-size: 15px; }
.process-list a { display: none; }
.furniture-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 24px; }
.furniture-card { min-width: 0; }
.furniture-card-large { grid-column: span 2; grid-row: span 2; }
.furniture-image { width: 100%; aspect-ratio: 1.9; object-fit: cover; border-radius: 6px; }
.furniture-card-large .furniture-image { aspect-ratio: 1.6; height: calc(100% - 50px); }
.furniture-card-copy { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 14px; }
.furniture-card-copy h3 { font-size: 21px; }
.furniture-card-copy span { color: var(--muted); font-size: 12px; }
.furniture-cta { display: flex; flex-direction: column; justify-content: center; align-items: start; gap: 20px; padding: 28px; background: var(--sage); border-radius: 6px; }
.furniture-cta p { color: var(--muted); font-size: 14px; }
.furniture-cta .button { gap: 10px; }
#about { background: var(--paper); border-top: 1px solid var(--line); }
.about-layout { display: grid; grid-template-columns: .65fr 1.35fr; gap: 70px; }
.origin-note { font-family: Georgia, serif; font-size: clamp(32px, 3.5vw, 52px); line-height: 1.05; letter-spacing: -.045em; margin-top: 54px; }
.about-text { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin-top: 40px; color: var(--muted); }
.about-text p:last-child { grid-column: 1 / -1; max-width: 630px; }
.production-section { background: var(--ink); color: var(--paper); }
.production-section .eyebrow { color: var(--quiet); }
.production-heading { display: grid; grid-template-columns: .65fr 1.35fr; gap: 70px; }
.production-heading p:last-child { margin-top: 25px; color: var(--quiet); max-width: 520px; }
.production-cards { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 65px; gap: 28px; }
.production-cards article { border-top: 1px solid var(--line-dark); padding-top: 20px; }
.production-cards span { color: var(--green); font-size: 13px; }
.production-cards i { display: none; }
.production-cards h3 { margin: 24px 0 14px; }
.production-cards p { color: var(--quiet); font-size: 14px; }
.production-gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; width: min(calc(100% - 96px), var(--container)); margin: 60px auto 0; }
.production-gallery-card { min-width: 0; }
.production-gallery-card img { width: 100%; aspect-ratio: .85; object-fit: cover; border-radius: 6px; filter: saturate(.5); }
.placeholder-label { display: block; margin-top: 12px; font-size: 12px; color: var(--quiet); }
.faq-section { background: var(--paper); }
.faq-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 75px; }
.faq-contact { margin-top: 38px; color: var(--muted); font-size: 14px; }
.faq-contact-mark { display: none; }
.faq-contact a { display: inline-block; margin-top: 8px; font-size: 22px; color: var(--ink); }
.accordion-item { border-top: 1px solid var(--line); }
.accordion-item:last-child { border-bottom: 1px solid var(--line); }
.accordion-item button { display: flex; align-items: center; justify-content: space-between; gap: 30px; width: 100%; min-height: 85px; padding: 20px 0; text-align: left; color: var(--ink); background: transparent; border: 0; font-size: 18px; line-height: 1.4; }
.accordion-item button i { position: relative; width: 20px; height: 20px; flex-shrink: 0; }
.accordion-item button i::before, .accordion-item button i::after { content: ''; position: absolute; top: 9px; left: 2px; width: 16px; height: 1px; background: currentColor; }
.accordion-item button i::after { transform: rotate(90deg); }
.accordion-item button[aria-expanded=true] i::after { transform: none; }
.accordion-panel { padding: 0 40px 25px 0; color: var(--muted); font-size: 15px; }
.partnership-section { background: var(--sage); }
.partnership-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.partnership-grid article { padding-top: 25px; border-top: 1px solid var(--line); }
.tag { color: var(--muted); font-size: 13px; }
.partnership-grid h3 { margin: 25px 0 18px; font-size: 32px; max-width: 420px; }
.partnership-grid p { color: var(--muted); max-width: 490px; margin-bottom: 25px; }
.declarations-section { background: var(--paper); }
.declarations-section .eyebrow-light { color: var(--muted); }
.declarations-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 45px; }
.declarations-intro { color: var(--muted); }
.declarations-lead { color: var(--ink); margin-bottom: 14px; font-size: 18px; }
.declarations-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.declaration-card { display: grid; place-items: center; background: var(--sage); padding: 30px; border-radius: 6px; }
.declaration-card img { width: 100%; height: 370px; object-fit: contain; }
.declarations-note { color: var(--muted); font-size: 13px; margin-top: 22px; }
.letters-section { border-top: 1px solid var(--line); background: var(--paper); }
.slider-controls { display: flex; gap: 10px; }
.slider-button { width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 20px; color: var(--ink); }
.slider-button:hover:not(:disabled) { background: var(--green); border-color: var(--green); }
.slider-button:disabled { opacity: .3; cursor: default; }
.slider-track { display: grid; grid-auto-flow: column; gap: 25px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scroll-behavior: smooth; }
.letters-track { grid-auto-columns: calc((100% - 50px) / 3); padding-bottom: 20px; }
.letter-card { min-width: 0; scroll-snap-align: start; }
.letter-preview { position: relative; width: 100%; height: 340px; padding: 25px; background: var(--sage); border: 0; border-radius: 6px; cursor: zoom-in; }
.letter-preview img { width: 100%; height: 100%; object-fit: contain; }
.letter-zoom { position: absolute; right: 12px; bottom: 12px; padding: 6px 12px; background: var(--paper); border-radius: 4px; font-size: 12px; }
.letter-copy { padding: 20px 0; }
.letter-year { color: var(--muted); font-size: 12px; }
.letter-copy h3 { margin: 10px 0 15px; font-size: 21px; line-height: 1.3; }
.letter-copy p { color: var(--muted); font-size: 14px; }
.request-section { background: var(--green); }
.request-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 90px; }
.request-intro { display: flex; flex-direction: column; justify-content: space-between; gap: 30px; }
.request-intro .eyebrow { color: var(--ink); }
.request-intro h2 { font-size: clamp(52px, 6.5vw, 90px); letter-spacing: -.065em; }
.request-intro p:last-child { max-width: 370px; margin-top: 24px; }
.social-links { display: flex; gap: 12px; }
.social-link { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--pine); border-radius: 50%; }
.social-link:hover { background: var(--paper); }
.social-link svg { width: 21px; height: 21px; fill: currentColor; }
.social-link-max-mark { font-size: 12px; font-weight: 700; }
.request-form { padding: 38px; background: var(--paper); border-radius: 8px; }
.form-heading h2 { font-size: 32px; }
.form-heading .eyebrow { margin-bottom: 15px; }
.form-heading p:last-child { color: var(--muted); font-size: 14px; margin: 17px 0 28px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; margin-bottom: 7px; font-size: 13px; }
.form-field input { width: 100%; height: 52px; padding: 12px; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 4px; }
.form-field input[aria-invalid=true] { border-color: #a42727; }
.field-error { display: block; color: #a42727; font-size: 12px; margin-top: 5px; }
.form-honeypot { display: none; }
.checkbox-field { display: flex; align-items: start; gap: 10px; margin: 22px 0 8px; font-size: 12px; }
.checkbox-field input { flex-shrink: 0; width: 20px; height: 20px; accent-color: var(--pine); margin: 0; }
.checkbox-field > span { display: none; }
.checkbox-field em { font-style: normal; }
.checkbox-field a { text-decoration: underline; text-underline-offset: 3px; }
.form-submit { margin-top: 15px; width: 100%; color: var(--paper); background: var(--ink); }
.form-submit:hover { color: var(--paper); background: var(--pine); }
.form-success { padding: 14px; margin-top: 16px; background: var(--sage); font-size: 14px; }
.form-success.is-error { color: #861f1f; background: #fbe7e7; }
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; margin: 45px 0 50px; }
.contact-cards article { border-top: 1px solid var(--line); padding-top: 20px; min-width: 0; }
.contact-cards span { display: block; color: var(--muted); font-size: 12px; margin-bottom: 18px; }
.contact-cards strong, .contact-cards a { font-size: 17px; font-weight: 450; }
.contact-cards i { display: none; }
.contact-phone-list { display: grid; gap: 8px; }
.map-wrap { width: min(calc(100% - 96px), var(--container)); margin: auto; position: relative; background: var(--sage); }
.map-wrap iframe { display: block; width: 100%; height: 380px; border: 0; }
.map-overlay-card { position: absolute; left: 25px; bottom: 25px; display: grid; gap: 12px; padding: 22px; background: var(--paper); max-width: 300px; border-radius: 6px; }
.map-overlay-card > span { color: var(--muted); font-size: 12px; }
.map-overlay-card strong { font-size: 17px; font-weight: 450; }
.map-overlay-card .button { min-height: 44px; font-size: 12px; padding: 12px; }
.site-footer { padding: 60px 0 30px; background: var(--ink); color: var(--paper); }
.footer-statement { padding-bottom: 60px; font-size: clamp(36px, 7vw, 106px); line-height: 1.1; letter-spacing: -.055em; border-bottom: 1px solid var(--line-dark); }
.footer-inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 30px; padding-top: 30px; align-items: center; }
.footer-inner .brand-logo { filter: grayscale(1) brightness(0) invert(1); width: 180px; }
.footer-inner p, .footer-legal-link { color: var(--quiet); font-size: 12px; }
.footer-legal-link:hover { text-decoration: underline; }

.letter-modal[hidden] {
  display: none;
}

.letter-modal {
  position: fixed;
  z-index: 340;
  display: grid;
  padding: 24px;
  place-items: center;
  inset: 0;
}

.letter-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(36, 44, 40, 0.84);
  backdrop-filter: blur(8px);
  animation: calc-backdrop-in 220ms ease both;
}

.letter-modal-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(1120px, 100%);
  max-height: calc(100dvh - 48px);
  padding: 24px;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.44);
  grid-template-rows: auto minmax(0, 1fr) auto;
  animation: calc-dialog-in 260ms ease both;
}

.letter-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.letter-modal-header h2 {
  max-width: 880px;
  margin: 0 0 20px;
  font-size: clamp(1.65rem, 3vw, 3rem);
  line-height: 1.04;
}

.letter-modal-header .eyebrow {
  margin-bottom: 10px;
}

.letter-modal-close {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  padding: 0 0 3px;
  place-items: center;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.letter-modal-close:hover,
.letter-modal-close:focus-visible {
  background: var(--terracotta);
  transform: rotate(5deg);
}

.letter-modal-stage {
  display: grid;
  min-height: 0;
  padding: 14px;
  overflow: auto;
  place-items: center;
  background: var(--ink);
  border-radius: var(--radius);
}

.letter-modal-stage img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(68vh, 980px);
  object-fit: contain;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.letter-modal-original {
  justify-self: center;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .letter-preview img,
  .letter-preview::before,
  .letter-zoom {
    transition: none;
  }
}

/* Project photo gallery */
.project-gallery-modal[hidden] {
  display: none;
}

.project-gallery-modal {
  position: fixed;
  z-index: 320;
  inset: 0;
  display: grid;
  padding: 22px;
  place-items: center;
}

.project-gallery-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(36, 44, 40, 0.78);
  backdrop-filter: blur(10px);
  animation: calc-backdrop-in 220ms ease both;
}

.project-gallery-dialog {
  position: relative;
  z-index: 1;
  width: min(1240px, 100%);
  max-height: calc(100dvh - 44px);
  padding: 40px 42px 30px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 8% 0, rgba(199, 164, 119, 0.28), transparent 32%),
    var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 38px 100px rgba(19, 13, 11, 0.5);
  animation: calc-dialog-in 260ms ease both;
}

.project-gallery-close {
  position: absolute;
  z-index: 5;
  top: 18px;
  right: 18px;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  color: var(--white);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.project-gallery-close:hover,
.project-gallery-close:focus-visible {
  background: var(--terracotta);
  transform: rotate(5deg);
}

.project-gallery-heading {
  max-width: 820px;
  margin: 0 62px 26px 0;
}

.project-gallery-heading .eyebrow {
  margin-bottom: 12px;
}

.project-gallery-heading h2 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 4vw, 4.2rem);
}

.project-gallery-heading > p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
}

.project-gallery-stage {
  position: relative;
}

.project-gallery-auto-slider {
  position: relative;
  width: min(100%, 980px);
  height: min(54vh, 570px);
  margin: 0 auto;
  overflow: hidden;
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  touch-action: pan-y;
  isolation: isolate;
}

.project-gallery-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  will-change: opacity, transform;
}

.project-gallery-slide.is-active {
  z-index: 2;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.project-gallery-slide.is-leaving-to-left,
.project-gallery-slide.is-leaving-to-right {
  z-index: 1;
  visibility: visible;
}

.project-gallery-slide.is-entering-from-right {
  animation: project-gallery-enter-from-right 480ms cubic-bezier(0.22, 0.72, 0.2, 1) both;
}

.project-gallery-slide.is-entering-from-left {
  animation: project-gallery-enter-from-left 480ms cubic-bezier(0.22, 0.72, 0.2, 1) both;
}

.project-gallery-slide.is-leaving-to-left {
  animation: project-gallery-leave-to-left 480ms cubic-bezier(0.22, 0.72, 0.2, 1) both;
}

.project-gallery-slide.is-leaving-to-right {
  animation: project-gallery-leave-to-right 480ms cubic-bezier(0.22, 0.72, 0.2, 1) both;
}

.project-gallery-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
}

@keyframes project-gallery-enter-from-right {
  from {
    opacity: 0;
    transform: translate3d(9%, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes project-gallery-enter-from-left {
  from {
    opacity: 0;
    transform: translate3d(-9%, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes project-gallery-leave-to-left {
  to {
    opacity: 0;
    transform: translate3d(-9%, 0, 0);
  }
}

@keyframes project-gallery-leave-to-right {
  to {
    opacity: 0;
    transform: translate3d(9%, 0, 0);
  }
}

.project-gallery-controls {
  position: absolute;
  z-index: 4;
  inset: 0;
  display: grid;
  padding: 18px;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: 1fr;
  pointer-events: none;
}

.project-gallery-control {
  display: inline-flex;
  min-width: 46px;
  height: 46px;
  padding: 0;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: rgba(36, 44, 40, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 8px 26px rgba(15, 10, 8, 0.3);
  cursor: pointer;
  backdrop-filter: blur(12px);
  pointer-events: auto;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.project-gallery-control:hover,
.project-gallery-control:focus-visible {
  background: var(--terracotta);
  border-color: rgba(255, 255, 255, 0.54);
  transform: translateY(-2px);
}

.project-gallery-arrow {
  width: 46px;
  align-self: center;
  border-radius: 50%;
  font-size: 1.7rem;
  line-height: 1;
}

.project-gallery-arrow[data-project-gallery-prev] {
  grid-column: 1;
  justify-self: start;
}

.project-gallery-arrow[data-project-gallery-next] {
  grid-column: 3;
  justify-self: end;
}

.project-gallery-pause {
  grid-column: 2;
  align-self: end;
  justify-self: center;
  gap: 8px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 750;
}

.project-gallery-pause[aria-pressed="true"] {
  background: var(--terracotta);
}

.project-gallery-hint {
  width: min(100%, 980px);
  margin: 4px auto 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.74rem;
  text-align: center;
}

/* Calculation modal */
.calc-modal[hidden] {
  display: none;
}

.calc-modal {
  position: fixed;
  z-index: 300;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
}

.calc-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(36, 44, 40, 0.72);
  backdrop-filter: blur(8px);
  animation: calc-backdrop-in 220ms ease both;
}

.calc-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(860px, 100%);
  max-height: calc(100dvh - 44px);
  padding: 42px 48px 46px;
  overflow-y: auto;
  color: var(--white);
  background:
    radial-gradient(circle at 0 0, rgba(199, 164, 119, 0.34), transparent 34%),
    var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 38px 100px rgba(19, 13, 11, 0.42);
  scrollbar-color: rgba(199, 164, 119, 0.48) transparent;
  animation: calc-dialog-in 260ms ease both;
}

@keyframes calc-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes calc-dialog-in {
  from { opacity: 0; transform: translateY(18px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

.calc-modal-close {
  position: absolute;
  z-index: 3;
  top: 18px;
  right: 18px;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  color: var(--terracotta-soft);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.calc-modal-close:hover {
  color: var(--white);
  background: var(--terracotta);
  transform: rotate(5deg);
}

.calc-modal-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 32px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calc-modal-brand span {
  font-size: 0.65rem;
}

.calc-modal-heading {
  max-width: 690px;
  margin-bottom: 30px;
}

.calc-modal-heading .eyebrow {
  margin-bottom: 14px;
}

.calc-modal-heading h2 {
  margin-bottom: 14px;
  font-size: 3.5rem;
}

.calc-modal-heading > p:last-child {
  max-width: 580px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
}

.calc-modal-fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.calc-field {
  min-width: 0;
}

.calc-field label,
.calc-products legend,
.calc-upload-title {
  display: block;
  margin-bottom: 8px;
  color: var(--terracotta-soft);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calc-field input {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  outline: 0;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.calc-field input::placeholder {
  color: rgba(255, 255, 255, 0.36);
}

.calc-field input:focus {
  background: rgba(255, 255, 255, 0.11);
  border-color: var(--terracotta-soft);
  box-shadow: 0 0 0 4px rgba(199, 164, 119, 0.1);
}

.calc-field input[aria-invalid="true"] {
  border-color: #f28e84;
}

.calc-products {
  padding: 0;
  margin: 24px 0 0;
  border: 0;
}

.calc-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.calc-product-grid label {
  position: relative;
  cursor: pointer;
}

.calc-product-grid input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.calc-product-grid span {
  position: relative;
  display: flex;
  min-height: 48px;
  align-items: center;
  padding: 10px 12px 10px 35px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  font-size: 0.8rem;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.calc-product-grid span::before {
  position: absolute;
  left: 13px;
  width: 10px;
  height: 10px;
  content: "";
  background: rgba(255, 255, 255, 0.34);
  border: 3px solid transparent;
  border-radius: 50%;
  background-clip: padding-box;
}

.calc-product-grid input:focus-visible + span {
  outline: 3px solid var(--terracotta-soft);
  outline-offset: 2px;
}

.calc-product-grid input:checked + span {
  color: var(--white);
  background: rgba(199, 164, 119, 0.32);
  border-color: var(--terracotta-soft);
}

.calc-product-grid input:checked + span::before {
  background: var(--terracotta-soft);
  border-color: rgba(36, 44, 40, 0.9);
}

.calc-upload {
  margin-top: 24px;
}

.calc-dropzone {
  position: relative;
  display: flex;
  min-height: 126px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.035);
  border: 1px dashed rgba(199, 164, 119, 0.48);
  border-radius: 11px;
  text-align: center;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.calc-dropzone:hover,
.calc-dropzone.is-dragover {
  color: var(--white);
  background: rgba(199, 164, 119, 0.12);
  border-color: var(--terracotta-soft);
}

.calc-dropzone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.calc-dropzone:has(input:focus-visible) {
  outline: 3px solid var(--terracotta-soft);
  outline-offset: 3px;
}

.calc-upload-icon {
  display: grid;
  width: 32px;
  height: 32px;
  margin-bottom: 5px;
  place-items: center;
  color: var(--terracotta-soft);
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 1rem;
}

.calc-dropzone strong {
  font-size: 0.84rem;
}

.calc-dropzone small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.7rem;
}

.calc-file-list {
  min-height: 18px;
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.44);
  font-size: 0.7rem;
}

.calc-consent {
  display: grid;
  align-items: center;
  margin-top: 18px;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  cursor: pointer;
}

.calc-consent input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.calc-consent > span {
  position: relative;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.calc-consent input:focus-visible + span {
  outline: 3px solid var(--terracotta-soft);
  outline-offset: 2px;
}

.calc-consent input:checked + span {
  background: var(--terracotta);
  border-color: var(--terracotta-soft);
}

.calc-consent input:checked + span::after {
  position: absolute;
  top: 3px;
  left: 7px;
  width: 4px;
  height: 8px;
  content: "";
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.calc-consent em {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.76rem;
  font-style: normal;
}

.calc-consent em a {
  color: var(--terracotta-soft);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.calc-consent em a:hover,
.calc-consent em a:focus-visible {
  color: var(--white);
}

.calc-error {
  display: block;
  min-height: 17px;
  margin-top: 4px;
  color: #ffaca4;
  font-size: 0.69rem;
}

.calc-submit {
  width: 100%;
  margin-top: 8px;
  border: 0;
}

.calc-success {
  padding: 12px 14px;
  margin: 12px 0 0;
  color: #d2f2df;
  background: rgba(70, 112, 90, 0.24);
  border: 1px solid rgba(135, 195, 158, 0.3);
  border-radius: 10px;
  font-size: 0.78rem;
}

.calc-success.is-error {
  color: #ffd2ce;
  background: rgba(182, 61, 52, 0.22);
  border-color: rgba(255, 172, 164, 0.34);
}

/* Legal page */
.legal-body {
  min-height: 100vh;
}

.legal-header {
  position: static;
}

.legal-header .header-inner {
  justify-content: space-between;
}

.legal-back-link {
  color: var(--brown-soft);
  font-size: 0.82rem;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: rgba(49, 40, 35, 0.28);
  text-underline-offset: 4px;
}

.legal-back-link:hover,
.legal-back-link:focus-visible {
  color: var(--terracotta-dark);
  text-decoration-color: currentColor;
}

.legal-main {
  padding: clamp(54px, 8vw, 104px) 0 clamp(72px, 10vw, 128px);
}

.legal-shell {
  width: min(calc(100% - 40px), 900px);
  margin: 0 auto;
}

.legal-intro {
  margin-bottom: 34px;
}

.legal-intro h1 {
  max-width: 820px;
  margin: 12px 0 24px;
  font-size: clamp(2.5rem, 6.8vw, 5.1rem);
  line-height: 0.95;
}

.legal-lead {
  max-width: 760px;
  margin: 0;
  color: var(--brown-soft);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.65;
}

.legal-card {
  padding: clamp(26px, 5vw, 56px);
  background: rgba(243, 240, 232, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.legal-notice {
  padding: 18px 20px;
  margin: 0 0 34px;
  color: var(--brown);
  background: var(--cream-200);
  border-left: 4px solid var(--terracotta);
  border-radius: var(--radius-sm);
  line-height: 1.6;
}

.legal-section + .legal-section {
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  margin-bottom: 16px;
  font-size: clamp(1.55rem, 3.6vw, 2.35rem);
  line-height: 1.08;
}

.legal-section p,
.legal-section li,
.legal-details dd,
.legal-details dt {
  line-height: 1.72;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-list {
  padding-left: 1.3rem;
  margin: 0;
}

.legal-list li + li {
  margin-top: 8px;
}

.legal-details {
  display: grid;
  margin: 0;
  grid-template-columns: minmax(150px, 0.65fr) minmax(0, 1.8fr);
  gap: 10px 24px;
}

.legal-details dt {
  color: var(--brown-soft);
}

.legal-details dd {
  margin: 0;
  font-weight: 600;
}

.legal-section a {
  color: var(--terracotta-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-meta {
  margin: 28px 0 0;
  color: var(--brown-soft);
  font-size: 0.82rem;
}

@media (max-width: 600px) {
  .legal-shell {
    width: min(calc(100% - 24px), 900px);
  }

  .legal-header .header-inner {
    min-height: 76px;
  }

  .legal-header .brand-logo {
    max-width: 120px;
  }

  .legal-back-link {
    max-width: 145px;
    text-align: right;
  }

  .legal-card {
    border-radius: var(--radius);
  }

  .legal-details {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .legal-details dd + dt {
    margin-top: 12px;
  }
}


/* Match the retained dialogs and legal page to the catalogue. */
.calc-modal-dialog, .project-gallery-dialog, .letter-modal-dialog { background: var(--ink); border-radius: 10px; box-shadow: none; }
.calc-modal-dialog, .project-gallery-dialog { overflow-y: auto; overscroll-behavior: contain; }
.calc-modal-heading h2, .project-gallery-heading h2 { font-size: clamp(28px, 4vw, 48px); }
.calc-modal-brand { display: none; }
.calc-modal-heading { padding-right: 25px; }
.calc-modal-close, .project-gallery-close { top: 12px; right: 12px; }
.calc-modal-close:hover, .project-gallery-close:hover, .letter-modal-close:hover,
.project-gallery-control:hover, .project-gallery-pause[aria-pressed=true] { color: var(--ink); background: var(--green); }
.project-gallery-control:focus-visible, .project-gallery-close:focus-visible,
.letter-modal-close:focus-visible { color: var(--ink); background: var(--green); }
.calc-product-grid label:has(input:checked) span { color: var(--ink); background: var(--green); border-color: var(--green); }
.calc-field input:focus { border-color: var(--green); box-shadow: none; }
.calc-field input, .calc-product-grid label span { font-size: 16px; }
.calc-consent input:checked + span { background: var(--green); }
.calc-consent input:checked + span::after { border-color: var(--ink); }
.calc-modal :focus-visible, .project-gallery-modal :focus-visible, .letter-modal :focus-visible { outline-color: var(--green); }
.calc-error { color: #ffb8b8; }
.project-gallery-slide img { object-fit: contain; }
.project-gallery-hint { margin-top: 16px; }
.legal-header .header-inner { justify-content: space-between; }
.legal-main { padding-top: 60px; }
.legal-intro h1 { font-size: clamp(32px, 5vw, 62px); line-height: 1.1; letter-spacing: -.045em; }
.legal-card { background: var(--paper); box-shadow: none; }
.legal-notice { background: var(--sage); border-color: var(--line); }
.legal-back-link { text-align: right; }
@media (min-width: 1600px) {
  .editorial-title { font-size: 136px; }
}
@media (max-width: 1150px) {
  .header-inner { gap: 20px; }
  .brand-logo { width: 160px; }
  .main-nav ul { gap: 18px; }
  .header-phone { font-size: 12px; padding-left: 16px; }
  .request-grid { gap: 45px; }
  .request-form { padding: 28px; }
}
@media (max-width: 900px) {
  :root { --header-height: 76px; }
  .container, .production-gallery, .map-wrap { width: calc(100% - 48px); }
  .header-inner { gap: 20px; }
  .header-phone { margin-left: auto; font-size: 14px; border: 0; padding: 0; }
  .menu-toggle { display: flex; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; flex-direction: column; justify-content: center; gap: 5px; order: 3; }
  .menu-toggle > span:not(.sr-only) { display: block; height: 2px; width: 24px; background: var(--ink); }
  .main-nav { display: none; position: absolute; top: var(--header-height); left: 0; right: 0; padding: 20px 24px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a { display: flex; min-height: 54px; font-size: 20px; }
  .editorial-title { font-size: 8.6vw; padding-top: 50px; }
  .title-line { gap: 18px; }
  .hero-bottom { grid-template-columns: .7fr 1.3fr; gap: 30px; }
  .section { padding: 75px 0; }
  .section-side-note { display: none; }
  .project-card:first-child { gap: 25px; grid-template-columns: 1.4fr 1fr; }
  .project-copy h3 { font-size: 23px; }
  .about-layout, .production-heading { grid-template-columns: .6fr 1.4fr; gap: 35px; }
  .about-text { grid-template-columns: 1fr; }
  .production-cards { grid-template-columns: 1fr 1fr; gap: 35px; }
  .production-gallery { grid-template-columns: repeat(3, 1fr); }
  .production-gallery-card:nth-child(n+4) { display: none; }
  .faq-layout { grid-template-columns: 1fr 1.2fr; gap: 35px; }
  .furniture-grid { grid-template-columns: 1fr 1fr; }
  .furniture-card-large { grid-row: auto; }
  .furniture-card-large .furniture-image { height: auto; aspect-ratio: 2; }
  .request-grid { gap: 30px; grid-template-columns: 1fr 1fr; }
  .request-intro h2 { font-size: 7vw; }
  .contact-cards { grid-template-columns: 1fr 1fr; gap: 35px; }
  .letters-track { grid-auto-columns: calc((100% - 25px) / 2); }
  .declarations-heading { gap: 30px; }
  .declaration-card { padding: 20px; }
  .declaration-card img { height: 300px; }
}
@media (max-width: 600px) {
  :root { --header-height: 70px; }
  .container, .production-gallery, .map-wrap { width: calc(100% - 36px); }
  .brand-logo { width: 148px; }
  .header-inner { gap: 10px; }
  .header-phone { font-size: 11px; }
  .menu-toggle { width: 40px; padding: 8px; }
  .hero { padding-top: 22px; }
  .hero-kicker { font-size: 10px; gap: 14px; }
  .hero-kicker span:first-child { max-width: 165px; }
  .hero-kicker span:last-child { text-align: right; }
  .editorial-title { padding: 38px 0 26px; font-size: 10.8vw; line-height: 1.16; letter-spacing: -.065em; }
  .title-line { gap: 10px; }
  .title-photo { height: .95em; border-radius: 4px; }
  .title-photo-wide { display: none; }
  .title-line-middle { justify-content: start; padding-left: 10%; }
  .hero-signet { width: .85em; height: .85em; }
  .hero-bottom { grid-template-columns: 1fr; gap: 20px; padding: 8px 0 35px; }
  .hero-bottom > p { display: none; }
  .hero-description > p { font-size: 16px; }
  .hero-actions { gap: 18px; margin-top: 23px; }
  .hero-actions .button { min-height: 50px; padding: 13px 18px; gap: 16px; font-size: 13px; }
  .text-link { font-size: 12px; gap: 12px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px 15px; padding: 25px 0 32px; }
  .stat-card strong { font-size: 43px; }
  .stat-card p { font-size: 11px; }
  .stat-card strong span { font-size: 18px; }
  .section { padding: 58px 0; }
  .section-heading { margin-bottom: 30px; gap: 15px; }
  .eyebrow { font-size: 12px; margin-bottom: 18px; }
  h2 { font-size: 38px; }
  h3 { font-size: 24px; }
  .section-intro { font-size: 14px; margin-top: 20px; }
  .projects-track { grid-template-columns: 1fr; gap: 35px; }
  .project-card:first-child { display: block; }
  .project-card:first-child .project-copy { padding-bottom: 0; }
  .project-image, .project-card:first-child .project-image { aspect-ratio: 1.4; }
  .project-copy { padding-top: 16px; }
  .project-copy h3 { font-size: 25px; }
  .project-copy p { font-size: 14px; }
  .process-list li { grid-template-columns: 35px 1fr; gap: 12px; padding: 24px 0; }
  .process-list h3 { font-size: 22px; }
  .process-list p { grid-column: 2; font-size: 14px; }
  .furniture-grid { gap: 25px 16px; }
  .furniture-image { aspect-ratio: 1.25; }
  .furniture-card-large .furniture-image { aspect-ratio: 1.5; }
  .furniture-card-copy { flex-direction: column; gap: 4px; margin-top: 10px; }
  .furniture-card-copy h3 { font-size: 18px; }
  .furniture-card-copy span { font-size: 11px; }
  .furniture-cta { grid-column: 1 / -1; padding: 25px; }
  .furniture-cta h3 { max-width: 240px; }
  .about-layout, .production-heading, .faq-layout, .declarations-heading { grid-template-columns: 1fr; gap: 30px; }
  .origin-note { margin-top: 0; font-size: 40px; }
  .origin-note br { display: none; }
  .about-text { margin-top: 25px; gap: 20px; font-size: 15px; }
  .production-heading { gap: 0; }
  .production-heading p:last-child { font-size: 15px; }
  .production-cards { margin-top: 40px; gap: 28px 22px; }
  .production-cards h3 { font-size: 23px; margin-top: 20px; }
  .production-cards p { font-size: 13px; }
  .production-gallery { margin-top: 35px; gap: 10px; }
  .placeholder-label { font-size: 10px; }
  .faq-contact { margin-top: 20px; }
  .accordion-item button { min-height: 78px; font-size: 16px; gap: 15px; }
  .accordion-panel { font-size: 14px; padding-right: 15px; }
  .partnership-grid { grid-template-columns: 1fr; gap: 35px; }
  .partnership-grid h3 { font-size: 29px; }
  .partnership-grid p { font-size: 15px; }
  .declarations-grid { gap: 12px; }
  .declaration-card { padding: 12px; }
  .declaration-card img { height: 215px; }
  .declarations-intro { font-size: 14px; }
  .declarations-lead { font-size: 17px; }
  .letters-section .section-heading { align-items: end; }
  .letters-section h2 { font-size: 32px; }
  .slider-controls { gap: 5px; }
  .slider-button { width: 40px; height: 40px; }
  .letters-track { grid-auto-columns: 86%; gap: 18px; }
  .letter-preview { height: 340px; }
  .request-grid { grid-template-columns: 1fr; gap: 35px; }
  .request-intro h2 { font-size: 60px; }
  .request-intro p:last-child { font-size: 15px; margin-top: 20px; }
  .request-form { padding: 25px; }
  .form-heading h2 { font-size: 28px; }
  .contact-cards { gap: 30px 18px; margin-bottom: 35px; }
  .contact-cards strong, .contact-cards a { font-size: 14px; overflow-wrap: anywhere; }
  .map-wrap iframe { height: 350px; }
  .map-overlay-card { position: static; max-width: none; padding: 20px; border: 1px solid var(--line); border-radius: 0; }
  .footer-statement { font-size: 45px; padding-bottom: 35px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 22px; }
  .footer-inner .brand-logo { width: 150px; }
  .footer-inner p, .footer-legal-link { font-size: 11px; }
  .calc-modal, .project-gallery-modal, .letter-modal { padding: 10px; }
  .calc-modal-dialog, .project-gallery-dialog, .letter-modal-dialog { max-height: calc(100dvh - 20px); padding: 45px 20px 25px; }
  .calc-modal-fields { grid-template-columns: 1fr; gap: 15px; }
  .calc-product-grid { grid-template-columns: 1fr 1fr; }
  .calc-product-grid label span { padding: 10px 10px 10px 30px; font-size: 13px; }
  .calc-modal-heading h2, .project-gallery-heading h2 { font-size: 28px; }
  .project-gallery-heading { margin: 0 0 20px; }
  .project-gallery-auto-slider { height: 42vh; min-height: 200px; }
  .project-gallery-controls { padding: 8px; }
  .project-gallery-control { height: 44px; }
  .project-gallery-hint { font-size: 12px; }
  .letter-modal-header { align-items: start; }
  .letter-modal-header h2 { font-size: 23px; }
  .letter-modal-stage { padding: 5px; }
  .letter-modal-stage img { max-height: 60vh; }
  .legal-main { padding-top: 35px; }
  .legal-shell { width: calc(100% - 36px); }
  .legal-header .brand-logo { width: 145px; }
  .legal-back-link { font-size: 12px; }
}
@media (max-width: 360px) {
  .partnership-section h2 { font-size: 30px; }
  .header-phone { display: none; }
  .menu-toggle { margin-left: auto; }
  .hero-actions { align-items: start; flex-direction: column; gap: 12px; }
  .letters-section .section-heading { flex-wrap: wrap; }
  .request-form { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html, .slider-track { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
