:root {
  --ivory: #f4eee4;
  --paper: #fbf8f2;
  --limestone: #d9d0c2;
  --taupe: #9a897a;
  --terracotta: #a85942;
  --charcoal: #24211f;
  --ink: #302b28;
  --line: rgba(48, 43, 40, .22);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
  --page: min(92vw, 1480px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
}
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { color: var(--paper); background: var(--terracotta); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: .75rem; left: .75rem; z-index: 200; padding: .75rem 1rem; color: #fff; background: #000; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid #d78767; outline-offset: 4px; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.02; }
h1 { max-width: 950px; margin-bottom: 1.5rem; font-size: clamp(3rem, 6.8vw, 7.8rem); letter-spacing: -.055em; }
h2 { margin-bottom: 1.5rem; font-size: clamp(2.5rem, 5.4vw, 6.4rem); letter-spacing: -.045em; }
h3 { font-size: clamp(1.75rem, 3vw, 3.2rem); letter-spacing: -.03em; }
.eyebrow { margin-bottom: 1rem; font-family: var(--sans); font-size: .79rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.section-dark, .section-charcoal { color: var(--ivory); background: var(--charcoal); }
.section-limestone { background: var(--limestone); }
.section-ivory { background: var(--ivory); }
.section-index { display: flex; align-items: center; gap: 1rem; margin-bottom: 2.25rem; font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.section-index span:first-child { color: var(--terracotta); }
.section-index span:first-child::after { display: inline-block; width: 3.5rem; height: 1px; margin: 0 0 .25rem 1rem; background: currentColor; content: ""; }
.button { display: inline-flex; min-height: 3.3rem; align-items: center; justify-content: center; padding: .82rem 1.35rem; border: 1px solid currentColor; text-decoration: none; transition: color .3s ease, background-color .3s ease, transform .3s ease; }
.button:hover { transform: translateY(-3px); }
.button-light { color: var(--charcoal); background: var(--ivory); border-color: var(--ivory); }
.button-light:hover { color: var(--ivory); background: transparent; }
.button-dark { color: var(--ivory); background: var(--charcoal); border-color: var(--charcoal); }
.button-dark:hover { color: var(--charcoal); background: transparent; }
.button-quiet { color: #fff; background: rgba(0,0,0,.08); border-color: rgba(255,255,255,.66); }
.button-quiet:hover { background: rgba(255,255,255,.12); }
.text-link { display: inline-block; padding-bottom: .3rem; border-bottom: 1px solid currentColor; text-decoration: none; }
.text-link::after { display: inline-block; width: 1.8rem; height: 1px; margin: 0 0 .25rem .7rem; background: currentColor; content: ""; transition: width .3s ease; }
.text-link:hover::after { width: 3rem; }
.text-link-light { color: var(--ivory); }
.image-frame { overflow: hidden; }
.image-frame img { transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.image-frame:hover img { transform: scale(1.035); }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  display: grid;
  width: 100%;
  grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
  align-items: center;
  gap: 1.5rem;
  padding: 1.4rem 3vw;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.27);
  transition: width .45s ease, top .45s ease, left .45s ease, padding .45s ease, color .35s ease, background .35s ease, border-radius .45s ease, box-shadow .35s ease;
}
.site-header.is-scrolled { top: .85rem; left: 2%; width: 96%; padding: .7rem 1.1rem; color: var(--charcoal); background: rgba(251,248,242,.94); border-color: var(--line); border-radius: 2px; box-shadow: 0 12px 35px rgba(36,33,31,.13); backdrop-filter: blur(16px); }
.brand { display: flex; align-items: center; gap: .65rem; font-family: var(--serif); font-size: .88rem; line-height: 1.05; letter-spacing: .02em; text-decoration: none; }
.brand-mark { display: grid; width: 2.4rem; height: 2.4rem; place-items: center; border: 1px solid currentColor; font-family: var(--sans); font-size: .68rem; letter-spacing: .12em; }
.primary-nav { display: flex; gap: clamp(1rem, 2.1vw, 2.25rem); font-size: .79rem; letter-spacing: .06em; }
.primary-nav a { position: relative; text-decoration: none; }
.primary-nav a::after { position: absolute; right: 0; bottom: -.5rem; left: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; content: ""; transition: transform .3s ease; }
.primary-nav a:hover::after, .primary-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.header-phone { justify-self: end; font-size: .82rem; font-weight: 700; text-decoration: none; }
.menu-toggle { display: none; padding: .5rem; color: inherit; background: transparent; border: 0; }
.menu-toggle > span:not(.sr-only) { display: block; width: 1.55rem; height: 1px; margin: .32rem 0; background: currentColor; }

.hero { position: relative; display: flex; min-height: 100svh; align-items: flex-end; padding: 11rem max(4vw, 2rem) 5.5rem; color: #fff; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -3; background: url("../images/panorama-hero.webp") center center / cover no-repeat; animation: heroReveal 1.4s cubic-bezier(.2,.7,.2,1) both, panoramaMove 18s ease-in-out 1.5s infinite alternate; }
.hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(18,16,15,.75) 0%, rgba(18,16,15,.42) 52%, rgba(18,16,15,.14) 100%), linear-gradient(0deg, rgba(18,16,15,.46), transparent 50%); }
.hero-copy { max-width: 1030px; animation: riseIn 1s .45s both; }
.hero-copy > p:not(.eyebrow) { max-width: 660px; margin-bottom: 2rem; font-size: clamp(1.05rem, 1.6vw, 1.35rem); }
.hero-eyebrow { display: flex; gap: 1rem; align-items: center; }
.hero-eyebrow::before { width: 2.8rem; height: 1px; background: currentColor; content: ""; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-rail { position: absolute; top: 50%; right: 2.4vw; display: flex; gap: 2rem; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; transform: rotate(90deg) translateX(50%); transform-origin: right center; }
.scroll-cue { position: absolute; right: 4vw; bottom: 3.2rem; display: flex; align-items: center; gap: 1rem; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; }
.scroll-cue i { display: block; width: 5rem; height: 1px; background: rgba(255,255,255,.72); animation: pulseLine 2s infinite; }

.panorama-section { padding: 7rem 0 9rem; }
.panorama-section > .section-index { width: var(--page); margin-inline: auto; }
.panorama-frame { position: relative; width: 96vw; height: min(67vw, 830px); margin-left: 4vw; }
.panorama-frame::after { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,18,17,.7), transparent 50%); content: ""; }
.panorama-caption { position: absolute; z-index: 2; bottom: 4rem; left: max(3rem, 7vw); display: grid; width: min(78%, 1050px); grid-template-columns: 2fr 1fr; align-items: end; gap: 4rem; }
.panorama-caption h2 { margin-bottom: 0; font-size: clamp(2.5rem, 5vw, 6rem); }
.panorama-caption p { margin-bottom: .4rem; }

.room-section { display: grid; grid-template-columns: 1.22fr .78fr; min-height: 820px; }
.room-visual { min-height: 720px; }
.room-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(4rem, 8vw, 9rem); background: var(--ivory); }
.room-copy h2 { font-size: clamp(2.6rem, 4.5vw, 5.5rem); }
.room-copy p:not(.eyebrow) { max-width: 590px; }
.room-copy .text-link { align-self: flex-start; margin-top: 1.5rem; }

.wall-section { position: relative; display: grid; grid-template-columns: .82fr 1.18fr; gap: 7vw; padding: 9rem 4vw 10rem; }
.wall-intro { align-self: start; position: sticky; top: 8rem; }
.wall-intro p { max-width: 560px; }
.process-track { border-top: 1px solid var(--line); }
.process-track article { display: grid; grid-template-columns: 130px 1fr; gap: 2rem; padding: 1.6rem 0; border-bottom: 1px solid var(--line); transition: padding .3s ease, background-color .3s ease; }
.process-track article:hover { padding-inline: 1.2rem; background: rgba(255,255,255,.25); }
.process-track span { font-family: var(--serif); font-size: 1.8rem; }
.process-track p { margin-bottom: 0; }
.wall-detail { grid-column: 1 / -1; position: relative; height: min(52vw, 680px); margin-top: 3rem; }
.wall-detail img { object-position: center 43%; }
.wall-detail figcaption { position: absolute; right: 1.5rem; bottom: 1.5rem; padding: .55rem .8rem; color: #fff; background: rgba(36,33,31,.82); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; }

.pattern-section { padding: 9rem 4vw; }
.pattern-heading { display: grid; width: var(--page); margin: 0 auto 5rem; grid-template-columns: 1.1fr 1.5fr 1fr; gap: 4vw; align-items: end; }
.pattern-heading .section-index { align-self: start; }
.pattern-heading h2, .pattern-heading p { margin-bottom: 0; }
.pattern-field { display: grid; width: var(--page); min-height: 760px; margin: auto; grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(3, 1fr); gap: 1rem; }
.pattern-tile { position: relative; display: flex; min-height: 180px; flex-direction: column; justify-content: flex-end; padding: 1.25rem; overflow: hidden; background-position: center; background-size: cover; isolation: isolate; }
.pattern-tile::before { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(20,18,17,.88), rgba(20,18,17,.08) 70%); content: ""; transition: background .4s ease; }
.pattern-tile::after { position: absolute; inset: 0; z-index: -2; background: inherit; content: ""; transition: transform .7s ease; }
.pattern-tile:hover::after, .pattern-tile:focus::after { transform: scale(1.06); }
.pattern-tile h3 { margin: 0; font-size: 1.75rem; }
.pattern-tile p { max-height: 0; margin: .5rem 0 0; overflow: hidden; opacity: 0; font-size: .9rem; line-height: 1.4; transform: translateY(.5rem); transition: max-height .4s ease, opacity .4s ease, transform .4s ease; }
.pattern-tile:hover p, .pattern-tile:focus p { max-height: 6rem; opacity: 1; transform: translateY(0); }
.tile-botanical { grid-column: 1 / 6; grid-row: 1 / 3; background-image: url("../images/panorama-hero.webp"); }
.tile-geometric { grid-column: 6 / 10; grid-row: 1 / 2; background-image: url("../images/geometric-room.webp"); }
.tile-textured { grid-column: 10 / 13; grid-row: 1 / 3; background-image: url("../images/precision-corner.webp"); }
.tile-mural { grid-column: 6 / 10; grid-row: 2 / 4; background-image: url("../images/finished-mural.webp"); }
.tile-vinyl { grid-column: 1 / 4; grid-row: 3 / 4; background-image: url("../images/commercial-corridor.webp"); }
.tile-classic { grid-column: 4 / 6; grid-row: 3 / 4; background-image: url("../images/installation.webp"); }
.tile-contemporary { grid-column: 10 / 12; grid-row: 3 / 4; background-image: url("../images/geometric-room.webp"); }
.tile-grasscloth { grid-column: 12 / 13; grid-row: 3 / 4; background-image: url("../images/precision-corner.webp"); }

.installation-section { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 980px; }
.installation-media { min-height: 800px; }
.installation-media img { object-position: 56% center; }
.installation-panel { padding: 7rem clamp(3rem, 6vw, 8rem); background: var(--paper); }
.installation-panel h2 { font-size: clamp(2.5rem, 4.2vw, 5rem); }
.service-index { margin: 3rem 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.service-index li { display: flex; align-items: center; gap: 1.2rem; padding: .72rem 0; border-bottom: 1px solid var(--line); transition: padding .25s ease, color .25s ease; }
.service-index li:hover { padding-left: .85rem; color: var(--terracotta); }
.service-index span { min-width: 1.7rem; font-size: .66rem; letter-spacing: .12em; }

.precision-section { padding: 8rem 0 10rem; }
.precision-section > .section-index, .precision-header { width: var(--page); margin-inline: auto; }
.precision-header { display: grid; grid-template-columns: 1.4fr .6fr; gap: 8vw; align-items: end; margin-bottom: 4rem; }
.precision-header h2, .precision-header p { margin-bottom: 0; }
.detail-strip { display: flex; gap: 1rem; width: max-content; padding-left: 4vw; }
.detail-strip figure { position: relative; width: clamp(280px, 31vw, 560px); height: clamp(400px, 52vw, 720px); margin: 0; overflow: hidden; }
.detail-strip figure:nth-child(even) { height: clamp(340px, 44vw, 620px); margin-top: 4rem; }
.detail-strip img { transition: transform .8s ease; }
.detail-strip figure:hover img { transform: scale(1.05); }
.detail-strip figcaption { position: absolute; bottom: 0; left: 0; padding: 1rem 1.2rem; color: #fff; background: rgba(36,33,31,.82); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }

.finished-section { position: relative; display: flex; min-height: 92svh; align-items: flex-end; padding: 5rem 4vw; color: #fff; isolation: isolate; }
.finished-bg { position: absolute; inset: 0; z-index: -2; background: url("../images/finished-mural.webp") center / cover no-repeat; background-attachment: fixed; }
.finished-section::after { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(23,20,18,.8), rgba(23,20,18,.02) 65%); content: ""; }
.finished-copy { max-width: 950px; }
.finished-copy h2 { margin-bottom: 1rem; }
.finished-copy p { max-width: 590px; font-size: 1.12rem; }

.applications-section { padding: 9rem 0; overflow: hidden; }
.applications-intro { display: grid; width: var(--page); margin: auto; grid-template-columns: .8fr 1.2fr 1fr; gap: 5vw; align-items: end; }
.applications-intro h2, .applications-intro p { margin-bottom: 0; }
.application-ribbon { display: flex; width: max-content; margin: 6rem 0 8rem; padding: 1.4rem 0; border-block: 1px solid rgba(255,255,255,.22); animation: ribbonMove 32s linear infinite; }
.application-ribbon span { display: flex; align-items: center; font-family: var(--serif); font-size: clamp(1.7rem, 3.2vw, 3.8rem); white-space: nowrap; }
.application-ribbon span::after { margin: 0 1.4rem; color: var(--terracotta); content: "✦"; font-family: var(--sans); font-size: .65rem; }
.commercial-story { display: grid; width: var(--page); margin: auto; grid-template-columns: 1.25fr .75fr; gap: 6vw; align-items: center; }
.commercial-image { height: min(62vw, 760px); }
.commercial-copy p { color: rgba(244,238,228,.76); }

.gallery-section { padding: 9rem 4vw; background: var(--paper); }
.gallery-heading { display: grid; width: var(--page); margin: 0 auto 5rem; grid-template-columns: .7fr 1.3fr .7fr; gap: 4vw; align-items: end; }
.gallery-heading h2, .gallery-heading p { margin-bottom: 0; }
.panorama-wall { display: grid; width: var(--page); margin: auto; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(90px, 9vw); gap: 1rem; }
.panorama-wall figure { position: relative; margin: 0; overflow: hidden; background: var(--limestone); }
.panorama-wall img { transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.panorama-wall figure:hover img { transform: scale(1.045); }
.panorama-wall figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: .85rem 1rem; color: #fff; background: linear-gradient(0deg, rgba(20,18,17,.76), transparent); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.gallery-wide { grid-column: 1 / 13; grid-row: span 5; }
.gallery-portrait { grid-column: 1 / 5; grid-row: span 7; }
.gallery-detail { grid-column: 5 / 8; grid-row: span 4; }
.gallery-room { grid-column: 8 / 13; grid-row: span 7; }
.gallery-commercial { grid-column: 5 / 8; grid-row: span 6; }
.gallery-mural { grid-column: 1 / 13; grid-row: span 5; }

.reviews-section { padding: 9rem 4vw; }
.reviews-section > .section-index, .reviews-layout { width: var(--page); margin-inline: auto; }
.reviews-layout { display: grid; grid-template-columns: 1.45fr .55fr; gap: 8vw; align-items: end; }
.quote-mark { height: 3rem; margin-bottom: 2rem; font-family: var(--serif); font-size: 9rem; line-height: .75; color: var(--terracotta); }
.reviews-layout h2 { max-width: 900px; margin-bottom: 0; }
.reviews-placeholder { padding: 2rem 0 0 2rem; border-left: 1px solid rgba(48,43,40,.35); }

.local-section { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 820px; }
.local-copy { padding: 8rem clamp(3rem, 7vw, 9rem); }
.local-copy h2 { font-size: clamp(2.6rem, 4.4vw, 5.2rem); }
.local-copy address { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); font-style: normal; }
.local-copy address a { text-decoration-thickness: 1px; text-underline-offset: .2em; }
.map-panel { position: relative; display: grid; min-height: 650px; place-items: center; overflow: hidden; color: var(--ivory); background: #817267; }
.map-panel::before { position: absolute; inset: 0; opacity: .36; background-image: linear-gradient(29deg, transparent 48%, rgba(244,238,228,.5) 49%, rgba(244,238,228,.5) 51%, transparent 52%), linear-gradient(111deg, transparent 48%, rgba(244,238,228,.3) 49%, rgba(244,238,228,.3) 51%, transparent 52%); background-size: 140px 100px, 190px 130px; content: ""; }
.map-lines { position: absolute; inset: 0; }
.map-lines i { position: absolute; display: block; height: 2px; background: rgba(244,238,228,.72); transform-origin: left; }
.map-lines i:nth-child(1) { top: 21%; left: 8%; width: 75%; transform: rotate(21deg); }
.map-lines i:nth-child(2) { top: 62%; left: 0; width: 90%; transform: rotate(-12deg); }
.map-lines i:nth-child(3) { top: 5%; left: 44%; width: 74%; transform: rotate(67deg); }
.map-lines i:nth-child(4) { top: 80%; left: 24%; width: 65%; transform: rotate(-44deg); }
.map-lines b { position: absolute; top: 43%; left: 57%; width: 1.5rem; height: 1.5rem; background: var(--terracotta); border: 5px solid var(--ivory); border-radius: 50% 50% 50% 0; box-shadow: 0 8px 18px rgba(36,33,31,.24); transform: rotate(-45deg); }
.map-card { position: relative; z-index: 2; width: min(78%, 360px); padding: 2.3rem; color: var(--charcoal); background: rgba(251,248,242,.94); box-shadow: 0 22px 70px rgba(36,33,31,.2); }
.map-card span { display: block; margin-bottom: .6rem; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; }
.map-card strong { display: block; margin-bottom: 1.8rem; font-family: var(--serif); font-size: 2rem; font-weight: 400; line-height: 1.1; }

.contact-section { display: grid; grid-template-columns: .78fr 1.22fr; gap: 8vw; padding: 9rem 7vw; }
.contact-intro { max-width: 540px; }
.contact-intro h2 { font-size: clamp(3rem, 5vw, 6rem); }
.contact-intro > p { color: rgba(244,238,228,.75); }
.contact-direct { display: flex; flex-direction: column; margin-top: 3rem; }
.contact-direct a { margin-bottom: .5rem; text-decoration-thickness: 1px; text-underline-offset: .25em; overflow-wrap: anywhere; }
.form-wrap { max-width: 900px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { margin-bottom: 1.2rem; }
.field label { display: block; margin-bottom: .5rem; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.field input, .field textarea { width: 100%; padding: 1rem 0; color: var(--ivory); background: transparent; border: 0; border-bottom: 1px solid rgba(244,238,228,.4); border-radius: 0; outline: 0; transition: border-color .25s ease, background-color .25s ease; }
.field input:focus, .field textarea:focus { border-color: var(--terracotta); background: rgba(255,255,255,.03); }
.field textarea { min-height: 150px; resize: vertical; }
.form-success { display: none; padding: 3rem; border: 1px solid rgba(244,238,228,.35); }

.final-cta { position: relative; min-height: 620px; padding: 9rem 4vw; overflow: hidden; background: var(--terracotta); isolation: isolate; }
.final-cta-pattern { position: absolute; inset: -10%; z-index: -1; opacity: .18; background-image: radial-gradient(circle at center, transparent 0 28%, var(--charcoal) 29% 32%, transparent 33% 46%, var(--charcoal) 47% 49%, transparent 50%); background-size: 230px 230px; transform: rotate(-8deg); }
.final-cta-copy { width: min(100%, 1050px); margin: auto; text-align: center; }
.final-cta-copy h2 { font-size: clamp(3.2rem, 7vw, 8rem); }
.final-cta-copy > p { max-width: 650px; margin: 0 auto 1.5rem; font-size: 1.15rem; }
.final-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem 2rem; margin-bottom: 2rem; }
.final-links a { text-decoration-thickness: 1px; text-underline-offset: .22em; }

.site-footer { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 3rem; padding: 4rem 4vw 2rem; color: var(--ivory); background: #171514; }
.footer-brand { display: flex; flex-direction: column; }
.footer-brand strong { font-family: var(--serif); font-size: 1.7rem; font-weight: 400; }
.footer-brand span, .footer-contact span { color: rgba(244,238,228,.6); }
.site-footer nav, .footer-contact { display: flex; flex-direction: column; }
.site-footer nav a, .footer-contact a { align-self: flex-start; text-decoration: none; }
.site-footer nav a:hover, .footer-contact a:hover { text-decoration: underline; text-underline-offset: .2em; }
.footer-contact { overflow-wrap: anywhere; }
.footer-base { display: flex; grid-column: 1 / -1; justify-content: space-between; gap: 2rem; padding-top: 2rem; color: rgba(244,238,228,.52); border-top: 1px solid rgba(244,238,228,.15); font-size: .75rem; }

.reveal { opacity: 0; transform: translateY(35px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes heroReveal { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: scale(1); } }
@keyframes panoramaMove { from { background-position: 48% center; } to { background-position: 55% center; } }
@keyframes riseIn { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulseLine { 0%,100% { transform: scaleX(.55); transform-origin: left; } 50% { transform: scaleX(1); transform-origin: left; } }
@keyframes ribbonMove { to { transform: translateX(-32%); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1100px) {
  .site-header { grid-template-columns: 1fr auto auto; }
  .primary-nav { position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 1.1rem; color: var(--ivory); background: rgba(24,21,19,.98); font-family: var(--serif); font-size: 2rem; opacity: 0; pointer-events: none; transform: translateY(-2rem); transition: opacity .35s ease, transform .35s ease; }
  .menu-open .primary-nav { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .menu-toggle { z-index: 2; display: block; grid-column: 3; grid-row: 1; }
  .menu-open .menu-toggle { color: var(--ivory); }
  .header-phone { grid-column: 2; grid-row: 1; }
  .panorama-caption { grid-template-columns: 1fr; gap: 1rem; }
  .pattern-heading, .applications-intro, .gallery-heading { grid-template-columns: 1fr 1.4fr; }
  .pattern-heading > p, .applications-intro > p, .gallery-heading > p { grid-column: 2; }
  .installation-section { grid-template-columns: .85fr 1.15fr; }
  .local-section { grid-template-columns: 1fr 1fr; }
  .site-footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  h1 { font-size: clamp(3rem, 13vw, 5.7rem); }
  h2 { font-size: clamp(2.6rem, 11vw, 5rem); }
  .site-header { grid-template-columns: 1fr auto; padding: .9rem 1rem; }
  .site-header.is-scrolled { top: .45rem; left: 2.5%; width: 95%; }
  .header-phone { display: none; }
  .menu-toggle { grid-column: 2; }
  .hero { min-height: 92svh; padding: 9rem 1.2rem 3rem; }
  .hero-rail, .scroll-cue { display: none; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .panorama-section { padding-top: 5rem; }
  .panorama-frame { width: 94vw; height: 125vw; margin-left: 6vw; }
  .panorama-frame img { object-position: 60% center; }
  .panorama-caption { bottom: 2rem; left: 1.25rem; width: calc(100% - 2.5rem); }
  .panorama-caption h2 { font-size: 2.7rem; }
  .room-section, .wall-section, .installation-section, .commercial-story, .local-section, .contact-section { grid-template-columns: 1fr; }
  .room-visual, .installation-media { min-height: 110vw; }
  .room-copy, .installation-panel, .local-copy, .contact-section { padding: 5rem 1.25rem; }
  .wall-section { gap: 3rem; padding: 5rem 1.25rem; }
  .wall-intro { position: static; }
  .process-track article { grid-template-columns: 85px 1fr; gap: 1rem; }
  .wall-detail { height: 115vw; margin-top: 0; }
  .pattern-section { padding: 5rem 1.25rem; }
  .pattern-heading, .applications-intro, .gallery-heading, .precision-header, .reviews-layout { grid-template-columns: 1fr; }
  .pattern-heading > p, .applications-intro > p, .gallery-heading > p { grid-column: auto; }
  .pattern-field { display: flex; min-height: 0; flex-direction: column; }
  .pattern-tile { min-height: 62vw; }
  .pattern-tile p { max-height: 6rem; opacity: 1; transform: none; }
  .precision-section { padding-block: 5rem 7rem; }
  .precision-section > .section-index, .precision-header { width: calc(100% - 2.5rem); }
  .detail-strip { display: grid; width: auto; padding: 0 1.25rem; }
  .detail-strip figure, .detail-strip figure:nth-child(even) { width: 100%; height: 118vw; margin: 0; }
  .finished-bg { background-attachment: scroll; }
  .finished-section { min-height: 90svh; padding: 4rem 1.25rem; }
  .applications-section { padding-block: 5rem; }
  .applications-intro, .commercial-story { width: calc(100% - 2.5rem); }
  .application-ribbon { margin-block: 4rem; }
  .commercial-image { height: 105vw; }
  .gallery-section { padding: 5rem 1.25rem; }
  .gallery-heading, .panorama-wall { width: 100%; }
  .panorama-wall { display: flex; flex-direction: column; }
  .panorama-wall figure { width: 100%; height: 82vw; }
  .panorama-wall .gallery-portrait, .panorama-wall .gallery-detail { height: 118vw; }
  .reviews-section { padding: 5rem 1.25rem; }
  .reviews-section > .section-index, .reviews-layout { width: 100%; }
  .reviews-placeholder { padding-left: 0; border-left: 0; border-top: 1px solid rgba(48,43,40,.35); }
  .map-panel { min-height: 115vw; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .final-cta { min-height: 560px; padding: 6rem 1.25rem; }
  .site-footer { grid-template-columns: 1fr; padding-inline: 1.25rem; }
  .footer-base { flex-direction: column; }
}

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