@charset "UTF-8";
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(./assets/fonts/manrope-cyrillic-ext-v20.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(./assets/fonts/manrope-cyrillic-v20.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(./assets/fonts/manrope-latin-ext-v20.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(./assets/fonts/manrope-latin-v20.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #071321;
  --green: #003f35;
  --lime: #dfff72;
  --paper: #f9f9f6;
  --muted: #526071;
  --line: #7d8f85;
  --font: 'Manrope', Arial, sans-serif;
  --container-max: 80rem;
  --gutter: 3rem;
  --page-edge: max(var(--gutter), calc((100% - var(--container-max)) / 2));
  --section-space: 3rem;
  --card-gap: 1.5rem;
  --h1-size: 4rem;
  --h2-size: 2.75rem;
  --h3-size: 1.5rem;
  --body-size: 1.125rem;
  --h1-leading: 1.08;
  --h2-leading: 1.14;
  --heading-tracking: -.025em;
  color-scheme: light;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-synthesis: none;
}

/* Type and controls use independent rem values; no viewport scaling. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body { margin: 0; font-size: var(--body-size); line-height: 1.55; overflow-wrap: anywhere; }
h1, h2, h3, p, ol { margin: 0; }
h1, h2, h3 { min-width: 0; max-width: 100%; font-weight: 600; text-wrap: balance; overflow-wrap: anywhere; }
h1 { font-size: var(--h1-size); line-height: var(--h1-leading); letter-spacing: var(--heading-tracking); }
h2 { font-size: var(--h2-size); line-height: var(--h2-leading); letter-spacing: var(--heading-tracking); }
h3 { font-size: var(--h3-size); line-height: 1.3; letter-spacing: -.01em; }
button, input, textarea, select { font: inherit; color: inherit; }
button { border: 0; background: none; cursor: pointer; }
button, a { touch-action: manipulation; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
input, select, textarea { min-width: 0; }
:where(a, button, input, select, textarea):focus-visible { outline: .1875rem solid #719500; outline-offset: .25rem; }
:where(.hero, .materials, .contact) :focus-visible { outline-color: var(--lime); }
button:disabled { cursor: wait; opacity: .6; }
[hidden] { display: none !important; }
.container { width: min(var(--container-max), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.125em; height: 1.125em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.eyebrow { font-size: .75rem; line-height: 1.4; letter-spacing: .1em; font-weight: 600; }
.eyebrow + h2 { margin-top: .75rem; }
.button { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem; min-height: 3.25rem; max-width: 100%; padding: .875rem 1.5rem; border: 1px solid transparent; border-radius: .3125rem; font-size: 1rem; font-weight: 600; line-height: 1.25; text-align: center; transition: background .2s, box-shadow .2s; }
.button-dark { background: linear-gradient(115deg, #034a40, #003d33); color: #fff; }
.button-dark:hover { background: #075a4b; box-shadow: 0 .25rem 1rem #003f3520; }
.button-lime { background: linear-gradient(105deg, #d9ff69, #e4ff83); color: #0b160b; }
.button-lime:hover { background: #e9ff9a; box-shadow: 0 .25rem 1.25rem #dfff7225; }
.button-outline { border-color: var(--green); color: var(--green); }
.button-outline:hover { background: #eaf0e6; }
.text-link { display: inline-flex; align-items: center; gap: .375rem; max-width: 100%; border-bottom: 1px solid currentColor; font-size: 1rem; font-weight: 500; line-height: 1.45; text-align: left; }
.text-link:hover { opacity: .75; }
.skip-link { position: absolute; left: var(--gutter); top: -8rem; z-index: 30; background: var(--lime); padding: .75rem; }
.skip-link:focus { top: .5rem; }

/* Header shares the same horizontal guide as every main section. */
.site-header { min-height: 5rem; padding: .75rem var(--page-edge); display: flex; flex-wrap: wrap; align-items: center; gap: 2rem; position: relative; z-index: 5; background: var(--paper); }
.brand { display: flex; flex-direction: column; flex-shrink: 0; max-width: 100%; color: #09252c; }
.brand strong { overflow-wrap: anywhere; font-size: 1.75rem; font-weight: 700; line-height: 1.1; letter-spacing: -.04em; }
.brand span { font-size: .625rem; letter-spacing: .16em; line-height: 1.4; font-weight: 600; margin-top: .25rem; }
.desktop-nav { display: flex; align-items: center; gap: 1.5rem; margin-left: auto; font-size: .9375rem; font-weight: 500; }
.desktop-nav a { padding-block: .75rem; white-space: nowrap; }
.desktop-nav a:hover { color: #297664; }
.header-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }
.phone-link { display: inline-flex; align-items: center; gap: .5rem; font-size: 1rem; font-weight: 500; white-space: nowrap; color: var(--muted); }
.phone-link .icon { width: 1.5rem; height: 1.5rem; color: var(--ink); }
.header-cta { min-height: 3rem; padding: .75rem 1rem; }
.menu-toggle, .mobile-nav { display: none; }

/* Only image windows clip: content panels always grow with their text. */
.reference-image { position: relative; overflow: hidden; isolation: isolate; display: block; background: #dfe4d8; }
.reference-image > img { position: absolute; max-width: none; height: auto; pointer-events: none; user-select: none; }
.hero, .materials { display: flex; flex-wrap: wrap; color: var(--paper); background: var(--green); }
.hero-panel, .materials-content { flex: 1 1 50%; min-width: 0; position: relative; z-index: 1; padding-inline: var(--page-edge) 3rem; background: radial-gradient(ellipse at 28% 55%, #00483c, #003e33 65%, #00382f); }
.hero-panel { order: 0; padding-block: 3rem 2.5rem; min-height: 40rem; display: flex; flex-direction: column; justify-content: center; gap: 2rem; }
.hero-photo, .materials-photo { order: 1; flex: 1 1 50%; min-width: 0; }
.hero-panel::after, .materials-content::after { content: ''; position: absolute; inset: 12% -1.5rem 38% auto; width: 1.5rem; background: #003e33; pointer-events: none; }
.hero-content { max-width: 37.5rem; }
.hero h1 { margin-top: 1.25rem; }
.hero-description { font-size: 1.125rem; line-height: 1.55; margin-top: 1.5rem; max-width: 26rem; }
.hero-cta { margin-top: 1.75rem; }
.hero-more { display: flex; width: fit-content; margin-top: 1rem; }
.hero-swatches { display: flex; align-items: flex-end; gap: 1.25rem; flex-wrap: wrap; max-width: 37.5rem; }
.hero-swatches > p { font-size: .875rem; line-height: 1.45; flex: 1 1 8rem; max-width: 10rem; padding-top: 1rem; border-top: 1px dashed #77978c; }
.swatch { font-weight: 500; width: 3.5rem; display: flex; flex-direction: column; gap: .5rem; font-size: .875rem; line-height: 1.45; }
.swatch .reference-image, .color-swatch { height: 2.625rem; width: 100%; border-radius: .25rem; display: block; }
.color-swatch { background: #b1a694; }
.swatch:hover .reference-image, .swatch:hover .color-swatch { outline: 1px solid var(--lime); outline-offset: .1875rem; }

.ideas { padding-block: 4.5rem var(--section-space); border-bottom: 1px solid #548478; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; margin-bottom: 2rem; }
.section-heading h2 { max-width: 26rem; }
.section-heading .eyebrow { color: #425360; }
.section-aside { color: var(--muted); }
.ideas-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: var(--card-gap); }
.idea-kitchen { grid-row: span 2; }
.idea-card { display: flex; flex-direction: column; min-width: 0; gap: .75rem; }
.idea-card > .reference-image { flex: 1; min-height: 0; }
.idea-wardrobe > .reference-image, .idea-dressing > .reference-image { aspect-ratio: 2.85; flex: auto; }
.idea-card:hover img { filter: brightness(1.06); }
.idea-caption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; }
.idea-caption > span { font-weight: 500; display: inline-flex; align-items: center; gap: .25rem; font-size: .875rem; line-height: 1.45; color: #334355; }

.portfolio { padding-block: var(--section-space); }
.portfolio > .eyebrow { color: var(--green); }
.portfolio-intro { margin-top: 1rem; }
.filters { display: flex; gap: .75rem; flex-wrap: wrap; margin-block: 2rem 1.5rem; }
.filter { max-width: 100%; border: 1px solid var(--line); border-radius: .375rem; min-height: 3rem; padding: .75rem 1.5rem; font-size: 1rem; line-height: 1.25; font-weight: 500; }
.filter:hover { background: #e7eee5; }
.filter.active { background: var(--green); color: #fff; border-color: var(--green); }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem var(--card-gap); }
.project-placeholder { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: .5rem; width: 100%; aspect-ratio: 1.6; border: 1px solid #cbd2c7; border-radius: .3125rem; background: radial-gradient(ellipse at 30% 30%, #e3e7db, #dfe5d8); color: var(--muted); }
.project-placeholder .icon { width: 2.5rem; height: 2.25rem; stroke-width: 1.3; }
.project-placeholder span { font-weight: 500; font-size: .875rem; line-height: 1.45; }
.project-placeholder:hover { background: #d7e0d0; }
.project-card { min-width: 0; }
.project-card h3 { margin-top: .75rem; }
.project-meta { font-size: .875rem; line-height: 1.45; color: var(--muted); margin-top: .5rem; }
.project-photos { padding: 0; margin-top: 1rem; }
.project-similar { display: flex; align-items: center; gap: .375rem; margin-top: 1rem; font-size: 1rem; line-height: 1.45; color: var(--muted); }
.project-similar:hover { color: var(--green); }
.load-more { display: flex; margin: 2rem auto 0; }

.materials-content { order: 0; padding-block: 3.5rem; }
.materials-content h2 { max-width: 34rem; }
.materials-content::after { inset-block: 0 48%; }
.benefits { list-style: none; padding: 0; display: grid; gap: 1rem; margin-block: 1.75rem; }
.benefits li { display: flex; align-items: flex-start; gap: 1.25rem; }
.benefits li > span { font-size: 1.5rem; line-height: 1.3; min-width: 2rem; font-variant-numeric: tabular-nums; }

.calculator { background: radial-gradient(ellipse at 30% 80%, #eaf1e2, #e8f0e4); padding-block: 4rem; }
.calculator-inner { display: grid; grid-template-columns: minmax(0, .36fr) minmax(0, .64fr); gap: 3rem; align-items: start; }
.calculator-copy > p { margin-top: 1rem; color: var(--muted); }
.cost-factors { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; font-size: .875rem; line-height: 1.45; font-weight: 500; margin-block: 1.5rem; }
.cost-factors span + span { border-left: 1px solid #aab6ad; padding-left: 1.5rem; }
.calculator-copy > .text-link { font-size: .875rem; }
.quiz { min-width: 0; border-radius: .5rem; padding: 2rem; background: #f9f9f7; }
.quiz-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.5rem; }
.quiz-heading > span { font-size: .8125rem; line-height: 1.5; color: var(--muted); white-space: nowrap; }
.quiz-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
.quiz-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.quiz-option { display: flex; flex-direction: column; gap: .75rem; min-width: 0; border: 1px solid #dfe4da; border-radius: .375rem; padding: .5rem; background: #fff; cursor: pointer; }
.quiz-option:has(input:checked) { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.quiz-option:has(input:focus-visible) { outline: .1875rem solid #719500; outline-offset: .1875rem; }
.quiz-option > .reference-image { aspect-ratio: 86 / 62; border-radius: .25rem; }
.quiz-option-caption { display: flex; flex-wrap: wrap; align-items: flex-start; gap: .5rem; font-size: 1rem; line-height: 1.45; font-weight: 500; padding-bottom: .25rem; overflow-wrap: anywhere; }
.quiz-option input { appearance: none; margin: .125rem 0 0; width: 1.25rem; height: 1.25rem; flex: 0 0 auto; border: 1.5px solid var(--line); border-radius: 50%; }
.quiz-option input:checked { border-color: var(--green); background: var(--green); }
.quiz-option input:checked::after { content: ''; display: block; width: 35%; height: 58%; border: solid white; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); margin: 8% 28%; }
.quiz-actions { display: flex; align-items: flex-start; flex-direction: column; gap: .75rem; }
.quiz-actions > p, .dimension-note { color: var(--muted); font-size: .8125rem; line-height: 1.5; }
.quiz-back { font-size: .875rem; line-height: 1.45; text-decoration: underline; text-underline-offset: .2em; min-height: 2.75rem; padding: .5rem 0; }
.dimension-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.dimension-fields label, .material-fields label, .contact-fields > label { display: flex; flex-direction: column; gap: .5rem; font-size: .875rem; font-weight: 500; line-height: 1.45; }
.dimension-fields input, .material-fields input, .material-fields select, .contact-fields input { width: 100%; min-height: 3.25rem; border: 1px solid var(--line); border-radius: .3125rem; padding: .75rem; background: #fff; color: var(--ink); font-size: 1rem; line-height: 1.45; }
.dimension-note { margin-top: .75rem; }
.material-fields { display: grid; gap: 1.25rem; }

.process { padding-block: 3.5rem; }
.process > h2 { margin-bottom: 2rem; }
.process-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.process-steps li { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: 1rem; align-items: start; }
.step-number { font-size: 2.25rem; line-height: 1; color: var(--green); font-variant-numeric: tabular-nums; }
.process-steps h3 { margin-bottom: .5rem; }
.process-steps p { color: var(--muted); line-height: 1.5; }

.contact { background: radial-gradient(ellipse at 45% 65%, #005143, #003d33 80%); color: #fff; }
.contact-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; align-items: start; padding-block: 4rem; }
.contact-copy h2 { max-width: 28rem; }
.contact-copy > p { margin-top: 1rem; max-width: 28rem; }
.contact-call { display: flex; align-items: center; gap: 1rem; font-size: 1rem; line-height: 1.45; min-height: 2.75rem; margin-top: 1.5rem; width: fit-content; }
.contact-call > .icon { font-size: 1.5rem; }
.contact-call > span { border-bottom: 1px solid #90aca1; padding-bottom: .25rem; }
.contact-still { width: 12rem; aspect-ratio: 187 / 161; margin: 1.5rem 1rem 0 auto; background: transparent; mask-image: linear-gradient(to right, transparent, #000 7%, #000 92%, transparent); }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; width: 100%; max-width: 35rem; justify-self: end; min-width: 0; }
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.contact-fields input { background: #f8f9f4; }
.contact-fields input::placeholder { color: #6d7672; opacity: 1; }
.phone-input { position: relative; display: block; }
.phone-input > .icon { position: absolute; left: .75rem; top: 50%; transform: translateY(-50%); color: var(--ink); font-size: 1.25rem; }
.phone-input input { padding-left: 2.5rem; }
.upload-control { font-weight: 500; display: flex; align-items: center; justify-content: center; gap: .75rem; min-height: 3.25rem; border: 1px dashed #e5eee4; border-radius: .3125rem; font-size: .875rem; line-height: 1.45; position: relative; cursor: pointer; padding: .75rem; }
.upload-control:hover { background: #ffffff0a; }
.upload-control > span { min-width: 0; overflow-wrap: anywhere; }
.upload-control .icon { font-size: 1.25rem; }
.upload-control .plus { margin-left: auto; }
.upload-control input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.upload-control:focus-within { outline: .1875rem solid var(--lime); outline-offset: .25rem; }
.contact-submit { width: 100%; }
.consent { display: flex; align-items: flex-start; gap: .625rem; font-size: .8125rem; line-height: 1.5; cursor: pointer; }
.consent input { appearance: none; flex: 0 0 auto; width: 1.25rem; height: 1.25rem; border: 1px solid white; border-radius: .125rem; margin: .0625rem 0 0; cursor: pointer; }
.consent input:checked { background: var(--lime); border-color: var(--lime); }
.consent input:checked::after { content: ''; display: block; width: 35%; height: 58%; border: solid var(--green); border-width: 0 2px 2px 0; transform: rotate(45deg); margin: 8% 28%; }
.inline-button { display: inline; padding: 0; text-decoration: underline; text-underline-offset: .15em; text-align: left; }
.file-feedback, .form-feedback, .request-summary { font-size: .8125rem; line-height: 1.5; overflow-wrap: anywhere; }
.form-feedback, .request-summary { padding: .75rem; background: #ffffff10; border: 1px solid #7d9c83; border-radius: .3125rem; }
.file-feedback { color: #fff2c0; }

.site-footer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 1.5rem; padding-block: 2.5rem; }
.site-footer .address, .site-footer .phone-link, .privacy-link { font-size: .875rem; line-height: 1.5; color: var(--muted); }
.site-footer .phone-link { white-space: normal; }
.address { font-style: normal; }
.address strong, .address span { display: block; }
.address strong { font-weight: 600; color: var(--ink); margin-bottom: .5rem; }
.privacy-link { text-align: left; padding: 0; }
.privacy-link:hover { text-decoration: underline; }

/* Close control occupies its own row; dialog body scrolls independently. */
.dialog { border: 0; border-radius: .5rem; padding: .75rem .75rem 1.5rem; max-width: 45rem; width: calc(100% - 2.5rem); max-height: calc(100dvh - 2.5rem); color: var(--ink); background: var(--paper); box-shadow: 0 1.25rem 5rem #001c3560; }
.dialog[open] { display: flex; flex-direction: column; }
.dialog::backdrop { background: #001a16b3; backdrop-filter: blur(5px); }
.dialog-close { align-self: flex-end; flex: 0 0 auto; width: 2.75rem; height: 2.75rem; border-radius: 50%; display: grid; place-items: center; }
.dialog-close:hover { background: #e7eee5; }
.dialog-close > .icon { width: 1.5rem; height: 1.5rem; }
.dialog-content { padding: .75rem; overflow-y: auto; min-height: 0; overscroll-behavior: contain; }
.dialog-content h2 { margin-bottom: 1.5rem; }
.dialog-content p:not(.eyebrow) { margin-block: 1.5rem; }
.dialog-photo { aspect-ratio: 1.6; }
.dialog-open { overflow: hidden; }

/* Breakpoints change the type scale and layout, never a global zoom unit. */
@media (max-width: 1279px) {
  :root { --gutter: 2.5rem; --h1-size: 3.5rem; --h2-size: 2.5rem; }
  .site-header { gap: .5rem; }
  .desktop-nav, .header-cta { display: none; }
  .header-contact { margin-left: auto; }
  .menu-toggle { width: 2.75rem; height: 2.75rem; display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; gap: .375rem; padding: 0; }
  .menu-toggle > span { width: 1.5rem; height: 2px; background: var(--green); transition: transform .2s; }
  .menu-toggle[aria-expanded=true] > span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded=true] > span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mobile-nav:not([hidden]) { position: absolute; display: flex; flex-direction: column; top: 100%; left: 0; right: 0; background: var(--paper); padding: 1rem var(--page-edge); max-height: calc(100dvh - 5rem); overflow-y: auto; border-top: 1px solid #d9e0d8; box-shadow: 0 1rem 1.25rem #003f3515; }
  .mobile-nav > a { padding-block: .75rem; font-size: 1rem; line-height: 1.45; }
  .hero-panel, .materials-content { padding-right: 2.5rem; }
  .hero-panel { min-height: 37.5rem; }
  .calculator-inner { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .calculator-copy { max-width: 42rem; }
  .contact-inner { gap: 2.5rem; }
  .contact-fields { grid-template-columns: minmax(0, 1fr); }
  .site-footer { grid-template-columns: 1fr 1.5fr; gap: 2rem; }
}
@media (max-width: 1023px) {
  :root { --gutter: 2rem; --h1-size: 3rem; --h2-size: 2.25rem; --body-size: 1rem; }
  .hero-panel, .materials-content { flex-basis: 100%; padding-inline: var(--page-edge); }
  .hero-panel { min-height: 0; padding-block: 3rem; }
  .hero-panel::after, .materials-content::after { display: none; }
  .hero-photo, .materials-photo { flex: 0 0 100%; aspect-ratio: 16 / 9; }
  .hero-content { max-width: 37.5rem; }
  .materials-content h2 { max-width: 34rem; }
  .contact-inner { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .contact-form { justify-self: start; }
  .contact-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-still { display: none; }
  .process-steps { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .process-steps li + li { border-top: 1px solid #d0d6d6; padding-top: 1.25rem; }
}
@media (max-width: 767px) {
  :root { --gutter: 1.25rem; --section-space: 2rem; --h1-size: 2.5rem; --h2-size: 2rem; --h3-size: 1.375rem; --h2-leading: 1.16; --heading-tracking: -.015em; }
  .site-header { min-height: 4.5rem; padding-block: .75rem; }
  .brand strong { font-size: 1.375rem; }
  .brand span { font-size: .625rem; letter-spacing: .12em; }
  .header-contact .phone-link { min-width: 2.75rem; min-height: 2.75rem; justify-content: center; }
  .header-contact .phone-link > span { display: none; }
  .hero-panel { padding-block: 2.5rem 2rem; gap: 2rem; }
  .hero h1 { margin-top: 1rem; }
  .hero-description { font-size: 1rem; max-width: 24rem; }
  .hero-cta { width: 100%; }
  .hero-swatches { gap: 1rem; }
  .hero-swatches > p { flex-basis: 100%; max-width: none; padding-top: 1rem; }
  .hero-photo { aspect-ratio: 4 / 3; }
  .materials-photo { aspect-ratio: 1.875; }
  .ideas { padding-top: 3rem; }
  .section-heading { gap: .875rem; margin-bottom: 1.5rem; }
  .section-heading h2 { max-width: 23rem; }
  .section-heading > div { width: 100%; }
  .ideas-grid { grid-template-columns: minmax(0, 1fr); }
  .idea-kitchen { grid-row: auto; }
  .idea-card > .reference-image { flex: none; aspect-ratio: 4 / 3; }
  /* These panoramic source photos keep the cabinets visible with a wider crop. */
  .idea-wardrobe > .reference-image, .idea-dressing > .reference-image { aspect-ratio: 2; }
  .portfolio-intro, .calculator-copy > p, .contact-copy > p { margin-top: .875rem; }
  .filters { margin-top: 1.5rem; gap: .5rem; }
  .filter { padding-inline: 1rem; }
  .project-grid { grid-template-columns: minmax(0, 1fr); gap: var(--card-gap); }
  .project-placeholder { aspect-ratio: 4 / 3; }
  .materials-content { padding-block: 2.5rem; }
  .benefits { margin-block: 1.5rem; }
  .materials-content > .button { width: 100%; }
  .calculator { padding-block: 2.5rem; }
  .quiz { padding: 1.5rem; }
  .quiz-options { grid-template-columns: minmax(0, 1fr); }
  .quiz-option { display: grid; grid-template-columns: min(4rem, 25%) minmax(0, 1fr); align-items: center; gap: .75rem; padding: .5rem; }
  .quiz-option > .reference-image { width: 100%; aspect-ratio: 64 / 52; }
  .quiz-option-caption { padding: 0; gap: .75rem; }
  .quiz-actions > .button { width: 100%; }
  .dimension-fields { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .material-fields { gap: 1rem; }
  .process { padding-block: 2.5rem; }
  .process > h2 { margin-bottom: 1.5rem; }
  .step-number { font-size: min(2.25rem, var(--h2-size)); }
  .contact-inner { padding-block: 2.5rem; }
  .contact-fields { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .contact-form { gap: 1rem; }
  .site-footer { grid-template-columns: minmax(0, 1fr); padding-block: 2rem; gap: 1.5rem; }
  .site-footer .brand strong { font-size: 1.75rem; }
  .site-footer .brand span { font-size: .625rem; }
  .dialog { width: calc(100% - 2rem); max-height: calc(100dvh - 2rem); }
}
@media (max-width: 399px) {
  :root { --section-space: 1.75rem; --h1-size: 2.125rem; --h2-size: 1.75rem; --h3-size: 1.25rem; --h1-leading: 1.1; --h2-leading: 1.18; }
  .hero-panel { padding-top: 2.25rem; }
  .quiz { padding: 1.25rem; }
  .cost-factors { gap: .75rem 1rem; }
  .cost-factors span + span { padding-left: 1rem; }
}
@media (max-width: 359px) {
  :root { --gutter: 1rem; }
  .brand strong { font-size: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
