@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(assets/montserrat-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(assets/montserrat-latin.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;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(assets/inter-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(assets/inter-latin.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 {
  color-scheme: light;
  --paper: #f5f2ec;
  --ink: #2e2b28;
  --text: #312e2a;
  --line: #ded7cd;
  --tint: #ede6dc;
  --surface: #fffdf9;
  --muted: #605a53;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: var(--font);
  --gutter: clamp(20px, calc(8vw - 14px), 112px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  background-image: radial-gradient(ellipse at 96% 44%, #e7e2de73, transparent 47%),
                    radial-gradient(ellipse at 1% 92%, #e7e2de4d, transparent 40%),
                    linear-gradient(155deg, #fcf7f3, #f5f0ec 62%, #f9f4f0);
  color: var(--text);
  font: 400 16px/1.55 var(--font);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #895a35; outline-offset: 5px; }
[id] { scroll-margin-top: 24px; }
.skip { position: absolute; top: 8px; left: 12px; z-index: 5; transform: translateY(-150%); padding: 8px 16px; background: var(--paper); }
.skip:focus { transform: none; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), 1450px); margin-inline: auto; }
h1, h2, h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: -.035em;
}
p { margin: 0; }
.button {
  display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: .55em;
  border: 1px solid var(--ink); border-radius: 999px; padding: .63em 1.55em; background: var(--ink);
  color: #fdf8f4; font-size: clamp(14px, 1.15vw, 17px); font-weight: 600; white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.button:hover { background: #654931; }
.outline {
  border-color: var(--outline-color, var(--ink));
  background: transparent;
  color: var(--outline-color, var(--ink));
}
.outline:is(:hover, :focus-visible, :active) {
  background: var(--outline-fill, var(--ink));
  color: var(--outline-hover-color, var(--paper));
}
.eyebrow { display: inline-flex; align-items: center; gap: .52em; padding: .3em 1em; background: var(--tint); border-radius: 999px; color: #36312d; font-size: clamp(12px, 1.1vw, 15px); font-weight: 600; }
.eyebrow i { color: #615c58; font-size: 1.25em; }
.hero-scene { position: relative; isolation: isolate; min-height: clamp(550px, 52vw, 880px); padding-bottom: clamp(84px, 9vw, 142px); }
.hero-image, .hero-scene::before { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0 0 45% 0 / 0 0 12% 0; }
@supports (clip-path: shape(from 0% 0%, line to 100% 0%, close)) {
  .hero-image, .hero-scene::before {
    border-radius: 0;
    clip-path: shape(from 0% 0%, line to 100% 0%, line to 100% 86%,
      curve to 50% 96% with 92% 98% / 72% 99%,
      curve to 0% 100% with 28% 93% / 13% 94%, close);
  }
}
.hero-image { object-fit: cover; object-position: 56% center; z-index: -2; }
.hero-scene::before {
  content: "";
  z-index: -1;
  background:
    linear-gradient(180deg, #f6f1ed9c, #f6f1ed60 10%, #f6f1ed00 21%),
    linear-gradient(90deg, #f8f3efa6 0%, #f8f3ef6e 28%, #f8f3ef00 59%);
}
.hero-scene::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 14%;
  right: calc(100% - clamp(32px, 5.2vw, 85px));
  width: clamp(210px, 28vw, 460px);
  aspect-ratio: 1;
  border: 1px solid #5c575363;
  border-radius: 50%;
  pointer-events: none;
}
.header { position: relative; display: flex; min-height: clamp(70px, 6.5vw, 96px); align-items: center; justify-content: space-between; gap: 24px; z-index: 2; }
.brand { display: flex; align-items: center; flex: none; gap: 10px; color: var(--ink); }
.brand i { font-size: clamp(29px, 3.5vw, 52px); }
.brand strong { font: 800 clamp(28px, 2.75vw, 42px)/1 var(--font-display); letter-spacing: -.045em; }
.brand span { border-left: 1px solid currentColor; padding-left: 12px; font-size: 12px; line-height: 1.15; }
.header nav { display: flex; align-items: center; gap: clamp(12px, 2.7vw, 42px); font-weight: 650; font-size: clamp(13px, 1.1vw, 16px); }
.header nav a { padding-block: 10px; }
.header nav a:hover { text-decoration: underline; text-underline-offset: .4em; }
.menu-toggle { display: none; }
.hero-copy { padding-top: clamp(24px, 2.7vw, 46px); }
.hero-copy h1 { max-width: 15ch; text-wrap: balance; margin: .22em 0 .32em; font-size: clamp(41px, 4.65vw, 72px); line-height: 1.07; }
.hero-copy p { max-width: 550px; font-size: clamp(16px, 1.5vw, 23px); line-height: 1.54; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: clamp(19px, 2vw, 32px); }
.hero-actions .button { min-height: clamp(55px, 4.2vw, 64px); padding-inline: clamp(24px, 2.4vw, 38px); font-size: clamp(15px, 1.2vw, 18px); }
.quiet { display: inline-flex; gap: .65em; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; }
.quiet:hover { text-decoration: underline; }
.stats {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  margin-block: clamp(-91px, -6.3vw, -55px) 0;
  padding: clamp(16px, 2.15vw, 33px) clamp(16px, 2.3vw, 36px);
  border: 1px solid #4f4a46;
  border-radius: clamp(19px, 2.2vw, 33px);
  background:
    radial-gradient(ellipse at 78% 0%, #47423e80, transparent 70%),
    repeating-radial-gradient(ellipse at 0 105%, #c5c0bc13 0 1px, transparent 2px 24px),
    #35312d;
  box-shadow: inset 0 1px 0 #ffffff18;
  color: #faf5f1;
}
.stats-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.stats li {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, max-content) auto;
  justify-content: start;
  align-items: center;
  gap: clamp(8px, 1.1vw, 18px);
  min-width: 0;
  padding-inline: clamp(9px, 1.75vw, 28px);
}
.stats li:first-child { padding-left: 0; }
.stats li + li::before {
  content: "";
  position: absolute;
  inset: 1px auto 1px 0;
  width: 1px;
  background: #eae5e12e;
}
.stats-icon {
  grid-area: 1 / 2;
  display: grid;
  place-items: center;
  width: clamp(44px, 5.5vw, 94px);
  aspect-ratio: 1;
  border-radius: 27%;
  background: linear-gradient(153deg, #ede8e418, #ede8e405);
  border: 1px solid #ede8e424;
}
.stats-icon img { width: 85%; height: auto; }
.stats li > div { grid-area: 1 / 1; }
.stats strong { display: block; font: 600 clamp(20px, 2.6vw, 40px)/1.08 var(--font); letter-spacing: -.045em; white-space: nowrap; }
.stats li > div > span { display: block; margin-top: 5px; color: #e2ddd9; font-size: clamp(11px, 1.13vw, 16px); }
.stats .stats-cta { justify-self: end; margin-left: clamp(5px, 1vw, 18px); border-color: #efeae6; background: #efeae6; color: var(--ink); }
.stats .stats-cta:hover { background: #fef9f5; }
.stats :focus-visible { outline-color: #efeae6; }
@media (max-width: 1100px) {
  .stats { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .stats .stats-cta { justify-self: center; margin-left: 0; }
}
.projects { position: relative; isolation: isolate; padding-top: clamp(45px, 4.5vw, 80px); }
.projects::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  width: min(620px, 75%);
  height: min(430px, 70%);
}
.projects::before {
  inset: 0 0 auto auto;
  background: repeating-radial-gradient(ellipse at 100% 18%, transparent 0 18px, #85807c12 18px 19px, transparent 19px 31px);
  mask-image: radial-gradient(ellipse at 100% 10%, #000, transparent 72%);
}
.projects::after {
  content: "";
  position: absolute;
  z-index: -2;
  inset: clamp(8px, 2.4vw, 35px) 0 auto auto;
  width: min(47%, 640px);
  height: min(62%, 390px);
  border-radius: 100% 0 0 0;
  background: linear-gradient(145deg, #e8e3df7a, #e8e3df00 74%);
  pointer-events: none;
}
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 clamp(28px, 3.25vw, 52px); }
h2 { font-size: clamp(30px, 3.7vw, 58px); line-height: 1.12; }
.section-head h2, .about h2 { margin: .17em 0 .18em; }
.section-head p { max-width: 55ch; font-size: clamp(15px, 1.55vw, 23px); }

.catalog-price { display: grid; flex: none; gap: 3px; padding-left: 13px; border-left: 2px solid #9b9692; color: var(--ink); }
.catalog-price span { color: #615c58; font-size: 12px; }
.catalog-price strong { font: 750 clamp(18px, 1.6vw, 26px)/1.15 var(--font); letter-spacing: -.035em; white-space: nowrap; }
.catalog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.15vw, 20px); }
.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: clamp(15px, 2vw, 30px);
  overflow: hidden;
  background: linear-gradient(232deg, #fff 4%, #faf5f1 100%);
  box-shadow: -2px 4px 12px #3934300b, -6px 12px 24px #39343008;
}
.catalog .card:focus-within { box-shadow: -3px 7px 18px #39343017, -10px 20px 38px #39343010; }
.card-gallery { position: relative; min-width: 0; }
.card-track {
  display: grid;
  grid-auto-columns: 100%;
  grid-auto-flow: column;
  aspect-ratio: 1.56;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  background: var(--tint);
}
.card-track:focus-visible { outline-offset: -4px; }
.card-slide { position: relative; min-width: 0; scroll-snap-align: start; }
.card-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-slide-plan { background: #f1efeb; }
.card-slide-plan img { object-fit: contain; }
@media (hover: hover) and (pointer: fine) {
  .catalog .card:hover {
    box-shadow: -4px 8px 18px #3934301a, -13px 24px 36px #39343014, -20px 38px 52px #3934300a;
  }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .catalog .card { transition: transform .28s ease-out, box-shadow .32s ease-out; }
  .catalog .card:hover { transform: translateY(-4px); }
  .catalog .card-slide { overflow: hidden; }
  .catalog .card-slide:not(.card-slide-plan) img { transition: transform .4s ease-out; }
  .catalog .card:hover .card-slide:not(.card-slide-plan) img { transform: scale(1.035); }
}
.image-open {
  position: absolute;
  inset: 8px 8px auto auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #2e2b28bf;
  color: white;
  backdrop-filter: blur(8px);
}
.image-open:hover { background: var(--ink); }
.image-open:focus-visible { outline-color: white; outline-offset: -3px; }
.zoom-glyph {
  position: relative;
  width: 13px;
  height: 13px;
  margin: -3px 3px 0 0;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}
.zoom-glyph::after {
  content: "";
  position: absolute;
  top: 95%;
  left: 90%;
  width: 6px;
  height: 1.5px;
  border-radius: 1px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: left center;
}
.card-dots { display: flex; justify-content: center; align-items: center; padding-top: 2px; }
.card-dots button {
  display: grid;
  place-items: center;
  width: 27px;
  height: 26px;
  padding: 0;
  border: 0;
  background: transparent;
}
.card-dots button::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: #aca7a3; }
.card-dots button[aria-current="true"]::before { width: 16px; background: var(--ink); }
.card-dots button:hover::before { background: #5d5854; }
.catalog-note { margin-top: 16px; color: var(--muted); font-size: 13px; }
.card-copy { display: flex; flex-direction: column; flex: 1; padding: 16px clamp(14px, 2vw, 31px) 19px; }
.card h3 { font-size: clamp(20px, 1.95vw, 30px); line-height: 1.16; letter-spacing: -.025em; text-wrap: balance; }
.card p { margin: 8px 0 15px; color: var(--muted); font-size: clamp(13px, 1.05vw, 16px); }
.card-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 14px; margin-top: auto; border-top: 1px solid var(--line); padding-top: 12px; font-size: clamp(18px, 1.8vw, 28px); color: var(--ink); }
.card-bottom strong { font-size: clamp(17px, 1.5vw, 23px); font-weight: 600; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.project-details { min-height: 44px; padding-inline: clamp(16px, 1.6vw, 24px); font-size: clamp(13px, 1.05vw, 15px); }
.card-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.card-actions .project-details {
  padding-inline: clamp(13px, 1.25vw, 20px);
  border: 0;
  background: #f2ede9;
}
.card-actions .project-details:is(:hover, :focus-visible, :active) {
  background: var(--ink);
  color: #fdf8f4;
}
.about { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr) minmax(0, .85fr); align-items: center; gap: clamp(20px, 2.65vw, 52px); padding-block: clamp(42px, 5.1vw, 84px) clamp(35px, 4vw, 75px); }
.about-specs {
  background:
    radial-gradient(ellipse 57% 43% at 79% 39%, #e7e2deaa 0, #f1ece869 50%, transparent 100%),
    radial-gradient(ellipse 45% 35% at 17% 64%, #e8e3df6b 0, transparent 100%);
}
.interior-frame { position: relative; isolation: isolate; margin: 0; }
.interior-frame::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -9px 14% 25% 0;
  border-top: 1px solid #a39e9a98;
  border-radius: 42% 18% 0 0 / 47% 14% 0 0;
  background: linear-gradient(140deg, #eae5e180, transparent 65%);
}
.interior { width: 100%; height: auto; aspect-ratio: 1.22; object-fit: cover; border-radius: 35% 14% 20% 0 / 43% 14% 20% 0; }
.about h2 { font-size: clamp(26px, 2.9vw, 46px); }
.about p { margin: 0 0 24px; font-size: clamp(15px, 1.35vw, 20px); line-height: 1.55; }
.benefits { margin: 0; border-left: 1px solid var(--line); padding: 5px 0 5px clamp(14px, 2vw, 32px); list-style: none; display: grid; gap: clamp(17px, 2.15vw, 35px); }
.benefits li { display: flex; align-items: center; gap: 13px; }
.benefit-icon { flex: 0 0 auto; width: clamp(46px, 5.3vw, 78px); height: auto; aspect-ratio: 1; object-fit: contain; }
.benefits strong, .benefits span { display: block; }
.benefits strong { font-size: clamp(14px, 1.35vw, 20px); }
.benefits span { font-size: clamp(12px, 1.12vw, 16px); line-height: 1.35; }
dialog { width: min(490px, calc(100% - 32px)); border: 1px solid var(--line); border-radius: 24px; padding: 35px 26px 26px; background: var(--paper); color: var(--text); }
dialog::backdrop { background: #211c189e; }
.project-image-dialog { width: min(1100px, calc(100% - 26px)); padding: 46px 12px 12px; }
.project-image-dialog img { width: 100%; max-height: 78dvh; object-fit: contain; border-radius: 13px; background: var(--tint); }
dialog h2 { font-size: 36px; margin-bottom: 12px; }
.dialog-close { display: grid; position: absolute; top: 4px; right: 5px; width: 44px; height: 44px; place-items: center; background: transparent; color: var(--ink); border: 0; font-size: 26px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
@media (max-width: 1050px) {
  .brand span { display: none; }
  .header { gap: 14px; }
}
@media (max-width: 960px) {
  .about { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .benefits { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 0; padding: 12px 0 0; }
}
@media (max-width: 800px) {
  .menu-toggle { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--ink); border-radius: 999px; background: var(--paper); color: var(--ink); font-weight: 800; }
  .header-cta { display: none; }
  .header nav { position: absolute; top: calc(100% - 5px); right: 0; left: 0; display: grid; gap: 0; border: 1px solid var(--line); border-radius: 18px; padding: 5px 16px; background: var(--paper); box-shadow: 0 8px 30px #39343020; }
  .hero-scene { min-height: 650px; }
  .hero-image { object-position: 62% center; }
  .hero-scene::before { background: linear-gradient(180deg, #f8f3efe0 2%, #f8f3efbd 36%, #f8f3ef13 76%); }
  .hero-scene::after { opacity: .36; }
}
@media (max-width: 720px) {
  .catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .brand span { display: block; }
  .hero-scene { min-height: 660px; }
  .hero-copy { padding-top: 12px; }
  .hero-copy h1 { font-size: clamp(31px, 8vw, 44px); }
  .hero-copy p { max-width: 330px; }
  .desktop-break { display: none; }
  .hero-image { object-position: 70% bottom; }
  .hero-actions { gap: 8px 12px; }
  .stats { padding: 14px 8px 16px; }
  .stats li { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 5px; padding-inline: 4px; text-align: center; }
  .stats li:first-child { padding-left: 4px; }
  .stats-icon, .stats li > div { grid-area: auto; }
  .stats-icon { width: clamp(47px, 12vw, 68px); }
  .stats strong { font-size: clamp(15px, 4.4vw, 22px); }
  .stats li > div > span { min-height: 2.8em; margin-top: 3px; font-size: 10px; }
  .section-head { align-items: flex-start; flex-direction: column; }

  .catalog, .about, .benefits { grid-template-columns: 1fr; }
  .card-copy { padding: 16px 16px 19px; }
  .benefits { gap: 15px; }
  .interior { aspect-ratio: 1.25; }
}
.specs, .built-projects { position: relative; padding-block: clamp(46px, 6vw, 96px); }
.built-projects::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 17% 83%, transparent);
}
.details-grid, .built-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 28px);
}
.spec-detail {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: clamp(16px, 1.8vw, 27px);
  background: var(--surface);
}
.details-grid { align-items: start; }
.spec-visual { position: relative; aspect-ratio: 1.62; background: var(--tint); }
.spec-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.spec-detail-copy { padding: clamp(14px, 1.7vw, 25px); }
.spec-detail h3 { font-size: clamp(17px, 1.6vw, 23px); line-height: 1.2; }
.spec-detail p { margin-top: 8px; color: var(--muted); font-size: clamp(13px, 1.12vw, 16px); }
.spec-detail p + p { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 11px; }
@media (min-width: 901px) {
  .spec-detail:nth-child(3n + 2) { margin-top: clamp(15px, 1.6vw, 26px); }
  .spec-detail:nth-child(3n) { margin-top: clamp(27px, 2.9vw, 47px); }
}
.built-grid a {
  position: relative;
  display: block;
  min-width: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: clamp(14px, 1.7vw, 25px);
  background: var(--tint);
}
.built-grid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .22s ease; }
.built-grid a:hover img { transform: scale(1.025); }
.build-process {
  position: relative;
  isolation: isolate;
  padding-block: clamp(60px, 7vw, 116px);
}
.build-process::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: 0 20% 0 17% / 0 8% 0 7%;
  background: radial-gradient(ellipse at 82% 20%, #e1dcd89e, transparent 59%),
              linear-gradient(155deg, #f4efeb, #ede8e4 95%);
}
@supports (clip-path: shape(from 0% 0%, line to 100% 0%, close)) {
  .build-process::before {
    border-radius: 0;
    clip-path: shape(from 0% 4%, curve to 100% 0% with 27% -2% / 71% 6%,
      line to 100% 96%, curve to 0% 100% with 70% 102% / 33% 94%, close);
  }
}
.build-process .section-head p { max-width: 52ch; }
.steps-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(15px, 2vw, 30px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps-list li {
  grid-column: span 2;
  overflow: hidden;
  border: 1px solid #ddd8d4;
  border-radius: clamp(17px, 2.25vw, 32px);
  background: var(--surface);
}
.steps-list li:nth-child(n+4) { grid-column: span 3; }
.step-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.72;
  background: var(--tint);
}
.steps-list li:nth-child(n+4) .step-photo { aspect-ratio: 1.83; }
.step-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.step-index {
  position: absolute;
  inset: 12px auto auto 12px;
  display: grid;
  width: clamp(36px, 3.2vw, 48px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid #ffffffb0;
  border-radius: 50%;
  background: #fdf8f4ed;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}
.step-copy { padding: clamp(16px, 2vw, 30px); }
.steps-list h3 { font-size: clamp(18px, 1.8vw, 28px); line-height: 1.17; }
.steps-list p { margin-top: 10px; color: var(--muted); font-size: clamp(14px, 1.18vw, 17px); }
.process-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(20px, 3.2vw, 46px);
  border-radius: clamp(18px, 2.4vw, 34px);
  padding: clamp(20px, 3vw, 42px);
  background: radial-gradient(ellipse at 90% 0%, #524d49, transparent 72%), #302b27;
  color: #f0ebe7;
}
.process-cta h3 { color: #fef9f5; font-size: clamp(20px, 2.2vw, 31px); }
.process-cta p { margin-top: 6px; max-width: 58ch; font-size: clamp(14px, 1.18vw, 17px); }
.process-cta .button { border-color: #ede8e4; background: #ede8e4; color: var(--ink); }
.process-cta .button:hover { background: #fdf8f4; }
.estimate-cta {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.35fr);
  gap: clamp(20px, 3vw, 46px);
}
.estimate-copy h3 { font-size: clamp(26px, 2.9vw, 45px); line-height: 1.08; text-wrap: balance; }
.estimate-copy > p { margin-top: 14px; }
.estimate-copy > .button {
  margin-top: clamp(18px, 2vw, 30px);
  white-space: normal;
  text-align: center;
}
.estimate-copy > .estimate-note { margin-top: 9px; font-size: 13px; color: #d5d0cc; }
.estimate-visuals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.3vw, 20px); }
.estimate-visuals figure { margin: 0; min-width: 0; }
.estimate-visuals img { display: block; width: 100%; height: auto; aspect-ratio: 1.12; object-fit: cover; border-radius: clamp(12px, 1.5vw, 22px); }
.estimate-visuals figcaption { margin-top: 8px; font-size: clamp(12px, 1vw, 15px); }
@media (max-width: 900px) {
  .estimate-cta { grid-template-columns: minmax(0, 1fr); }
  .estimate-visuals img { aspect-ratio: 1.33; }
}
.family {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .94fr);
  align-items: center;
  gap: clamp(22px, 5vw, 76px);
  margin-block: clamp(46px, 6vw, 96px);
  padding: clamp(19px, 3.3vw, 48px);
  border: 1px solid var(--line);
  border-radius: clamp(22px, 3vw, 44px);
  background: linear-gradient(140deg, var(--surface), #f2ede9);
  overflow: hidden;
}
.family::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 0;
  width: 54%;
  background: repeating-radial-gradient(ellipse at 0 104%, #97928e19 0 1px, transparent 2px 29px);
  mask-image: radial-gradient(ellipse at 0 104%, #000, transparent 76%);
}
.family h2 { margin-block: .22em .26em; }
.family p { max-width: 43ch; margin-bottom: clamp(18px, 2.4vw, 32px); color: var(--muted); }
.family-figure { margin: 0; overflow: hidden; border-radius: 31% 14px 14px 14px / 41% 14px 14px 14px; }
.family-figure img { width: 100%; height: auto; aspect-ratio: 1.25; object-fit: cover; object-position: center 74%; }
@media (max-width: 900px) {
  .details-grid, .built-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-list li:nth-child(n) { grid-column: span 3; }
  .steps-list li:last-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .details-grid, .built-grid, .family { grid-template-columns: minmax(0, 1fr); }
  .steps-list { grid-template-columns: minmax(0, 1fr); }
  .steps-list li:nth-child(n) { grid-column: auto; }
  .family-figure img { aspect-ratio: 1.22; }
}

.workshop {
  position: relative;
  isolation: isolate;
  padding-block: clamp(76px, 8vw, 132px);
  color: #f9f4f0;
  --workshop-ink: #f9f4f0;
}
.workshop::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: 0 19% 0 15% / 0 8% 0 6%;
  background:
    radial-gradient(ellipse at 84% 10%, #534e4a9c, transparent 56%),
    repeating-radial-gradient(ellipse at 0 105%, #c5c0bc13 0 1px, transparent 2px 24px),
    linear-gradient(146deg, #2c2723, #241f1b 80%);
}
@supports (clip-path: shape(from 0% 0%, line to 100% 0%, close)) {
  .workshop::before {
    border-radius: 0;
    clip-path: shape(from 0% 4%, curve to 100% 0% with 28% -2% / 69% 6%,
      line to 100% 95%, curve to 0% 100% with 72% 103% / 34% 93%, close);
  }
}
.workshop-inner {
  display: grid;
  grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr);
  align-items: center;
  gap: clamp(24px, 4vw, 62px);
}
.workshop h2 { margin: .22em 0 .26em; color: var(--workshop-ink); }
.workshop-copy > p { max-width: 42ch; color: #ece7e3; }
.workshop .eyebrow { background: #f9f4f019; color: #f1ece8; }
.workshop .eyebrow i { color: #c8c3bf; }
.workshop-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 13px clamp(12px, 2.8vw, 43px);
  margin: clamp(20px, 2.35vw, 36px) 0;
}
.workshop-facts div { border-left: 1px solid #c9c4c0a8; padding-left: 12px; }
.workshop-facts dt { color: #fcf7f3; font-size: clamp(20px, 2.25vw, 35px); font-weight: 600; line-height: 1.1; letter-spacing: -.04em; }
.workshop-facts dd { margin: 5px 0 0; color: #ece7e3; font-size: clamp(12px, 1.15vw, 16px); }
.workshop-cta {
  --outline-color: #ebe6e2;
  --outline-fill: #615c58;
  --outline-hover-color: #fcf7f3;
}
.workshop-more { display: block; width: fit-content; margin-top: 14px; color: #ece7e3; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.workshop-photo {
  position: relative;
  display: block;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #eee9e54f;
  border-radius: 20px 24% 20px 20px / 20px 39% 20px 20px;
  background: #332e2a;
}
.workshop-photo img { width: 100%; height: auto; aspect-ratio: 1.65; object-fit: cover; }
.workshop-photo::after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(transparent, #1e1915b8);
  pointer-events: none;
}
.workshop-watch {
  position: absolute;
  z-index: 1;
  bottom: clamp(14px, 2vw, 28px);
  left: clamp(14px, 2vw, 28px);
  display: inline-flex;
  gap: 9px;
  align-items: center;
  padding: 5px 13px 5px 5px;
  border: 1px solid #f8f3ef50;
  border-radius: 999px;
  background: #2a2521dc;
  color: #fdf8f4;
  font-size: 13px;
  font-weight: 600;
}
.play-mark {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 36px;
  aspect-ratio: 1;
  padding-left: 2px;
  border: 1px solid #f8f3ef70;
  border-radius: 50%;
  color: #fdf8f4;
  font-size: 12px;
}
.workshop-photo:hover .play-mark, .story-card:hover .play-mark { background: #f8f3ef22; }
.workshop-points {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2.2vw, 36px);
  margin: 0;
  border-top: 1px solid #ece7e33d;
  padding: clamp(17px, 2.1vw, 31px) 0 0;
  list-style: none;
}
.workshop-points strong, .workshop-points span { display: block; }
.workshop-points strong { font-weight: 600; }
.workshop-points span { margin-top: 4px; color: #e8e3df; font-size: 13px; }
.workshop :focus-visible { outline-color: #c8c3bf; }
.stories { position: relative; isolation: isolate; padding-block: clamp(46px, 6.4vw, 100px); }
.stories::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 3% 0 auto auto;
  width: min(54%, 660px);
  height: min(65%, 500px);
  border-radius: 100% 0 0 0;
  background: radial-gradient(ellipse at 95% 35%, #e6e1dda6, transparent 74%);
  pointer-events: none;
}
.story-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.65vw, 26px); }
.story-card {
  position: relative;
  isolation: isolate;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid #e2ddd9;
  border-radius: clamp(15px, 2.1vw, 32px);
  background: #37322e;
}
.story-card img { width: 100%; height: 100%; object-fit: cover; object-position: center 43%; }
.story-card::after {
  content: "";
  position: absolute;
  inset: 30% 0 0;
  background: linear-gradient(transparent, #1a1511e8);
}
.story-caption {
  position: absolute;
  z-index: 1;
  inset: auto clamp(10px, 1.4vw, 20px) clamp(10px, 1.4vw, 20px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 7px;
  color: #fdf8f4;
  line-height: 1.25;
  font-size: clamp(12px, 1.2vw, 17px);
}
.story-caption strong { font-weight: 600; }
@media (max-width: 800px) {
  .workshop-inner { grid-template-columns: minmax(0, 1fr); }
  .workshop-photo { grid-row: 2; }
  .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .workshop-points { grid-template-columns: minmax(0, 1fr); }
  .story-caption { align-items: flex-start; flex-direction: column-reverse; }
  .story-caption .play-mark { width: 31px; }
}

.project-header { border-bottom: 1px solid var(--line); }
.project-header nav [aria-current="page"] { text-decoration: underline; text-underline-offset: .3em; }
.catalog-page { padding-block: clamp(37px, 5.2vw, 82px) clamp(50px, 6.8vw, 106px); }
.catalog-page h1 { margin-block: .16em .23em; font-size: clamp(34px, 4.65vw, 72px); line-height: 1.06; text-wrap: balance; }
.catalog-page .section-head p { max-width: 56ch; }
.project-intro {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.35fr);
  align-items: center;
  gap: clamp(28px, 5.6vw, 90px);
  padding-block: clamp(42px, 6vw, 96px) clamp(24px, 3vw, 48px);
}
.project-back { color: var(--muted); font-weight: 600; font-size: 14px; }
.project-back:hover, .project-plan-link:hover { text-decoration-thickness: 2px; text-decoration-line: underline; }
.project-summary h1, .quote-intro h1 {
  margin-block: .16em .24em;
  font-size: clamp(37px, 4.3vw, 68px);
  line-height: 1.04;
  text-wrap: balance;
}
.project-summary > p, .quote-intro > p { max-width: 48ch; color: var(--muted); font-size: clamp(15px, 1.25vw, 18px); }
.project-facts { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-block: 24px 26px; }
.project-facts > div { border-left: 1px solid #a5a09c; padding-left: 12px; }
.project-facts dt { color: var(--muted); font-size: 12px; }
.project-facts dd {
  margin: 0;
  color: var(--ink);
  font-size: clamp(19px, 2vw, 30px);
  font-weight: 650;
  letter-spacing: -.04em;
}
.project-plan-link { display: block; width: fit-content; margin-top: 14px; color: var(--ink); font-size: 14px; font-weight: 600; text-underline-offset: 3px; text-decoration: underline; }
.project-gallery { min-width: 0; }
.project-gallery .card-track {
  aspect-ratio: 1.55;
  border-radius: clamp(17px, 2.5vw, 35px) clamp(40px, 9vw, 140px) clamp(17px, 2.5vw, 35px) clamp(17px, 2.5vw, 35px);
}
.project-gallery .image-open { inset: auto 12px 12px auto; }
.gallery-arrow {
  position: absolute;
  z-index: 1;
  top: 50%;
  translate: 0 -50%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid #eee9e5;
  border-radius: 50%;
  padding: 0;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 4px 14px #35312d25;
  transition: background-color .2s, color .2s;
}
.gallery-arrow-prev { left: -24px; }
.gallery-arrow-next { right: -24px; }
.gallery-arrow span {
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}
.gallery-arrow-prev span { transform: translateX(2px) rotate(-135deg); }
.gallery-arrow-next span { transform: translateX(-2px) rotate(45deg); }
.gallery-arrow:hover { background: var(--ink); color: var(--surface); }
@media (max-width: 690px) {
  .gallery-arrow { width: 44px; height: 44px; }
  .gallery-arrow-prev { left: 8px; }
  .gallery-arrow-next { right: 8px; }
}
.project-visual-note { text-align: center; color: var(--muted); font-size: 12px; }
.project-view-links { display: flex; flex-wrap: wrap; gap: 0 16px; }
.project-tour { padding-block: clamp(12px, 1.5vw, 22px) clamp(42px, 6vw, 88px); }
.tour-intro { margin-bottom: clamp(16px, 2.2vw, 30px); }
.tour-intro p { margin-top: 8px; color: var(--muted); }
.tour-viewer {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: clamp(16px, 2.5vw, 32px);
  background: var(--surface);
}
.tour-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  max-height: 820px;
  background: #ded0b7;
}
.tour-cover, .tour-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.tour-cover img { width: 100%; height: 100%; object-fit: cover; }
.tour-launch {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  justify-items: center;
  padding: clamp(18px, 4vw, 48px) 15px;
  background: linear-gradient(transparent, #2e2b28c9);
  color: #fcf7f3;
  text-align: center;
}
.tour-launch .button { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.tour-launch .button:hover, .tour-launch .button:focus-visible { background: #ebe6e2; }
.tour-launch a, .tour-note a { text-decoration: underline; text-underline-offset: .18em; }
.tour-stage canvas { display: block; cursor: grab; touch-action: none; }
.tour-stage canvas:active { cursor: grabbing; }
.tour-stage canvas:focus-visible { outline-offset: -4px; }
.tour-door {
  position: absolute;
  translate: -50% -50%;
  min-height: 44px;
  border: 1px solid #ece7e3;
  border-radius: 999px;
  padding: 7px 14px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.tour-door:hover { background: #654931; }
.tour-controls {
  display: grid;
  grid-template-columns: minmax(145px, auto) minmax(0, 1fr);
  align-items: center;
  gap: 12px 20px;
  padding: clamp(14px, 2vw, 25px);
}
.tour-controls [role="status"] { color: var(--ink); font-weight: 600; }
.tour-help { grid-column: 1 / -1; color: var(--muted); font-size: 14px; }
.tour-stops { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.tour-stops button { min-height: 44px; padding-inline: 13px; font-size: 13px; }
.tour-stops button[aria-current="location"] { background: #654931; color: var(--paper); }
.tour-stops button[aria-disabled="true"] { opacity: .72; cursor: wait; }
.tour-note { margin-top: 11px; color: var(--muted); font-size: 13px; }
@media (max-width: 700px) {
  .tour-stage { aspect-ratio: 1; }
  .tour-controls { grid-template-columns: minmax(0, 1fr); }
  .tour-stops { justify-content: flex-start; }
}

.project-plan-band {
  padding-block: clamp(42px, 6.8vw, 108px);
  background: radial-gradient(ellipse 65% 50% at 78% 50%, #e7e2deae, transparent 100%);
}
.project-plan-grid {
  display: grid;
  grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr);
  gap: clamp(24px, 6vw, 88px);
  align-items: center;
}
.project-plan-copy p { max-width: 42ch; margin-top: 14px; color: var(--muted); }
.project-features { margin: 20px 0; padding-left: 1.3em; color: var(--ink); }
.project-features li + li { margin-top: 6px; }
.project-plan-figure, .quote-figure { margin: 0; }
.project-plan-figure img, .quote-figure img { width: 100%; height: auto; border-radius: clamp(16px, 2vw, 32px); }
.project-plan-figure figcaption, .quote-figure figcaption { margin-top: 8px; color: var(--muted); font-size: 12px; }
.project-more { padding-bottom: clamp(42px, 7vw, 100px); }
.project-more .process-cta h2 { color: #fef9f5; font-size: clamp(23px, 2.55vw, 36px); }
.related-projects { margin-top: clamp(35px, 5.5vw, 88px); }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 24px); margin-top: 22px; }
.related-grid a {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: clamp(14px, 1.8vw, 25px);
  background: var(--surface);
}
.related-grid a:hover strong { text-decoration: underline; }
.related-grid img { width: 100%; height: auto; aspect-ratio: 1.65; object-fit: cover; }
.related-grid span { display: grid; gap: 4px; padding: 13px; color: var(--muted); font-size: 13px; }
.related-grid strong { color: var(--ink); font-size: clamp(15px, 1.4vw, 20px); }
.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  grid-template-areas: "intro quiz" "example quiz";
  grid-template-rows: auto 1fr;
  gap: clamp(18px, 2.8vw, 42px) clamp(24px, 5.05vw, 80px);
  align-items: start;
  padding-block: clamp(36px, 5.5vw, 88px);
}
.quote-intro { grid-area: intro; }
.quote-figure { grid-area: example; }
.quote-figure img { aspect-ratio: 1.33; object-fit: cover; }
.quiz-panel {
  grid-area: quiz;
  min-width: 0;
  padding: clamp(18px, 3.2vw, 45px);
  border: 1px solid #e1dcd8;
  border-radius: clamp(20px, 3vw, 38px);
  background: var(--surface);
  box-shadow: 0 20px 60px -45px #35312d59;
}
.quiz-progress { display: grid; gap: 10px; margin-bottom: clamp(22px, 3.4vw, 38px); color: var(--muted); font-size: 13px; font-weight: 600; }
.quiz-progress progress { display: block; width: 100%; height: 4px; overflow: hidden; border: 0; border-radius: 999px; background: var(--tint); color: #624931; accent-color: #624931; }
.quiz-progress progress::-webkit-progress-bar { background: var(--tint); }
.quiz-progress progress::-webkit-progress-value { background: #624931; }
.quiz-progress progress::-moz-progress-bar { background: #624931; }
.quiz-step { min-width: 0; margin: 0; padding: 0; border: 0; }
.quiz-step legend, .quiz-result h2 { margin: 0 0 18px; padding: 0; color: var(--ink); font-family: var(--font-display); font-size: clamp(23px, 2.3vw, 34px); font-weight: 650; letter-spacing: -.035em; line-height: 1.15; }
.quiz-step legend:focus, .quiz-result h2:focus { outline: none; }
.quiz-step-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2.6;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 16px;
  background: var(--tint);
}
.quiz-options { display: grid; gap: 9px; }
.quiz-options label {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 8px 12px;
  color: var(--ink);
  cursor: pointer;
}
.quiz-options label:has(input:checked) { border-color: #8a8581; background: #f2e8dc; }
.quiz-options input { flex: 0 0 auto; width: 17px; height: 17px; margin: 0; accent-color: #624931; }
.quiz-projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.quiz-project {
  display: block;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fffbf7;
  color: var(--ink);
  cursor: pointer;
}
.quiz-project:hover { border-color: #999490; }
.quiz-project:has(input:checked) { border-color: #855a39; background: #f2e8dc; box-shadow: inset 0 0 0 1px #855a39; }
.quiz-project:has(input:focus-visible) { outline: 2px solid #624931; outline-offset: 2px; }
.quiz-project img { width: 100%; height: auto; aspect-ratio: 1.65; object-fit: cover; background: var(--tint); }
.quiz-project-copy, .quiz-project-help { display: flex; align-items: flex-start; gap: 8px; padding: 10px; }
.quiz-project-copy > span { display: grid; gap: 3px; }
.quiz-project input { flex: 0 0 auto; width: 16px; height: 16px; margin: 2px 0 0; accent-color: #624931; }
.quiz-project strong { font-size: 14px; line-height: 1.2; }
.quiz-project-area { color: var(--muted); font-size: 13px; }
.quiz-project-price { font-size: 14px; font-weight: 700; }
.quiz-project-help { grid-column: 1 / -1; align-items: center; min-height: 48px; }
.quiz-project-help input { margin-top: 0; }
.quiz-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.quiz-field { display: grid; min-width: 0; gap: 6px; margin-bottom: 12px; color: var(--ink); font-size: 14px; font-weight: 600; }
.quiz-field input, .quiz-field select, .quiz-field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d9d4d0;
  border-radius: 11px;
  padding: 10px 12px;
  background: #fffbf7;
  color: var(--ink);
  font: 400 15px/1.35 var(--font);
}
.quiz-field textarea { resize: vertical; }
.quiz-form-note { color: var(--muted); font-size: 13px; }
.quiz-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; }
.quiz-result p { margin-bottom: 16px; color: var(--muted); }
#quiz-status { margin: 10px 0 0; font-size: 13px; }
@media (max-width: 900px) {
  .project-intro { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: 24px; }
  .quote-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "intro" "quiz" "example";
    grid-template-rows: auto;
  }
  .quote-figure img { aspect-ratio: 1.65; max-height: 43vh; }
}
@media (max-width: 690px) {
  .project-intro, .project-plan-grid { grid-template-columns: minmax(0, 1fr); }
  .related-grid { grid-template-columns: minmax(0, 1fr); }
  .quote-layout { padding-top: 24px; }
}
@media (max-width: 450px) {
  .quiz-fields { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .process-cta .button { white-space: normal; text-align: center; }
}

.site-footer {
  position: relative;
  padding-block: clamp(40px, 6vw, 90px) 22px;
  background: radial-gradient(ellipse at 87% 0%, #47423e, transparent 65%), #2b2622;
  color: #efeae6;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.17fr) minmax(0, .72fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 80px);
}
.site-footer .brand { width: fit-content; color: #fdf8f4; }
.site-footer .brand span { color: #e4dfdb; }
.footer-brand p { margin-top: 18px; max-width: 33ch; color: #dcd7d3; font-size: 14px; }
.footer-grid h2 { margin-bottom: 14px; color: #fdf8f4; font-size: 16px; letter-spacing: -.02em; }
.footer-nav nav, .footer-contact address { display: grid; justify-items: start; gap: 8px; font: normal 400 14px/1.5 var(--font); }
.footer-contact address span { color: #dcd7d3; }
.footer-phone { color: #fdf8f4; font-size: clamp(17px, 2vw, 24px); font-weight: 650; line-height: 1.2; white-space: nowrap; }
.site-footer a:not(.button):hover { text-decoration: underline; text-underline-offset: .24em; }
.site-footer .footer-cta { margin-top: 17px; min-height: 44px; border-color: #efeae6; background: #efeae6; color: var(--ink); font-size: 14px; }
.site-footer .footer-cta:hover { background: #fef9f5; }
.site-footer :focus-visible { outline-color: #f2ede9; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; margin-top: clamp(28px, 4vw, 58px); padding-top: 17px; border-top: 1px solid #c4bfbb43; color: #d8d3cf; font-size: 12px; }
.company-lead h1 { margin: .2em 0 .24em; font-size: clamp(37px, 4.7vw, 73px); line-height: 1.04; text-wrap: balance; }
.company-lead p { max-width: 45ch; color: var(--muted); font-size: clamp(15px, 1.23vw, 18px); }
.company-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; margin-top: 23px; }
.company-actions .project-plan-link { margin-top: 0; }

.about-page .wrap { width: min(calc(100% - 2 * var(--gutter)), 1560px); }
.about-page .about-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(440px, 43vw, 680px);
  margin-top: clamp(18px, 2.5vw, 38px);
  padding: clamp(25px, 4.5vw, 68px);
  overflow: hidden;
  border-radius: clamp(18px, 2.5vw, 36px);
  background: var(--ink);
  color: #fdf8f4;
}
.about-hero-photo, .about-hero-photo img, .about-hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.about-hero-photo { z-index: -2; }
.about-hero-photo img { object-fit: cover; object-position: 68% center; }
.about-hero::after {
  content: "";
  z-index: -1;
  background: linear-gradient(90deg, #25201cea, #2a2521b0 41%, #2a25211a 74%, transparent);
}
.about-hero-copy { max-width: 655px; }
.about-hero-copy h1 { margin: .23em 0 .32em; color: #fdf8f4; font-size: clamp(34px, 4.25vw, 67px); line-height: 1.07; }
.about-hero-copy p { max-width: 41ch; color: #f5f0ec; font-size: clamp(15px, 1.22vw, 18px); }
.about-hero-copy .about-hero-name { color: #e6e1dd; font-size: 14px; font-weight: 600; }
.about-hero .button { border-color: #f7f2ee; background: #f7f2ee; color: var(--ink); }
.about-hero .button:is(:hover, :focus-visible) { background: #e4dfdb; color: var(--ink); }
.about-hero .outline { --outline-color: #f7f2ee; background: transparent; color: #f7f2ee; }
.about-hero a:focus-visible, .about-promise a:focus-visible { outline-color: #d0cbc7; }
.about-hero .button { white-space: normal; text-align: center; }
.about-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-block: clamp(23px, 3vw, 42px) 0;
  padding-block: clamp(18px, 2.4vw, 34px);
  border-bottom: 1px solid var(--line);
}
.about-facts div { display: flex; flex-direction: column-reverse; gap: 5px; padding-inline: clamp(12px, 2.4vw, 35px); }
.about-facts div + div { border-left: 1px solid var(--line); }
.about-facts dt { color: var(--muted); font-size: clamp(13px, 1.05vw, 16px); }
.about-facts dd { margin: 0; color: var(--ink); font: 650 clamp(25px, 3.15vw, 49px)/1.12 var(--font-display); letter-spacing: -.045em; }
.about-section { padding-block: clamp(48px, 7vw, 106px); }
.about-split, .about-visit { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: clamp(24px, 5vw, 76px); }
.about-workshop { margin: 0; }
.about-workshop img, .about-visit img { width: 100%; height: auto; aspect-ratio: 1.55; object-fit: cover; border-radius: clamp(14px, 2vw, 28px); }
.about-workshop figcaption { margin-top: 9px; color: var(--muted); font-size: 13px; }
.about-copy p { max-width: 49ch; margin-top: 13px; color: var(--muted); }
.about-copy > .button { margin-top: 21px; white-space: normal; text-align: center; }
.about-promise { background: linear-gradient(120deg, #36312d, #2e2b28 70%); color: #ede8e4; }
.about-promise-layout, .about-faq-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(22px, 6vw, 100px); }
.about-promise h2, .about-promise dt { color: #fdf8f4; }
.about-text-link, .about-questions p a { text-decoration: underline; text-underline-offset: .22em; }
.about-promise .about-text-link { display: inline-block; margin-top: 17px; }
.about-promise dl, .about-promise dd { margin: 0; }
.about-promise dl > div { padding-block: 16px; border-top: 1px solid #e8e3df38; }
.about-promise dt { font: 650 clamp(17px, 1.7vw, 25px)/1.2 var(--font-display); }
.about-promise dd { margin-top: 6px; max-width: 55ch; }
.about-built-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.3vw, 20px); }
.about-built-grid a { position: relative; min-height: clamp(160px, 18vw, 270px); overflow: hidden; border-radius: clamp(14px, 1.65vw, 24px); background: var(--tint); }
.about-built-grid a:first-child { grid-row: span 2; }
.about-built-grid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .about-built-grid img { transition: transform .35s ease-out; }
  .about-built-grid a:hover img { transform: scale(1.035); }
}
.about-faq { background: #f1ece8; }
.about-questions { border-bottom: 1px solid #cec9c5; }
.about-questions details { border-top: 1px solid #cec9c5; }
.about-questions summary { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding-block: 17px; color: var(--ink); font-weight: 650; cursor: pointer; list-style: none; }
.about-questions summary::-webkit-details-marker { display: none; }
.about-questions summary::after { content: '+'; flex: 0 0 20px; font-size: 22px; font-weight: 400; line-height: 1; text-align: center; }
.about-questions details[open] summary::after { content: '−'; }
.about-questions p { max-width: 58ch; margin: 0 25px 17px 0; color: var(--muted); }
.about-visit { gap: clamp(22px, 4vw, 62px); padding: clamp(20px, 3vw, 48px); border-radius: clamp(20px, 2.5vw, 34px); background: #efeae6; }
.about-visit address { margin-top: 15px; color: var(--ink); font-style: normal; font-weight: 600; }
.about-visit .company-actions { margin-top: 16px; }
.about-visit .button { white-space: normal; text-align: center; }
@media (max-width: 850px) {
  .about-split, .about-promise-layout, .about-faq-layout, .about-visit { grid-template-columns: minmax(0, 1fr); }
  .about-split figure { order: 1; }
}
@media (max-width: 680px) {
  .about-page .about-hero { min-height: 0; padding: 0; flex-direction: column; align-items: stretch; }
  .about-hero-photo { position: relative; display: block; height: auto; aspect-ratio: 1.67; }
  .about-hero::after { display: none; }
  .about-hero-copy { padding: 22px; }
  .about-hero-copy h1 br { display: none; }
  .about-hero-copy h1 { max-width: 14ch; font-size: clamp(27px, 8.5vw, 36px); }
  .about-hero .company-actions { align-items: flex-start; }
  .about-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 0; }
  .about-facts div:nth-child(3) { border-left: 0; }
  .about-built-grid { grid-template: auto / repeat(2, minmax(0, 1fr)); }
  .about-built-grid a { min-height: 0; aspect-ratio: 1.23; }
  .about-built-grid a:first-child { grid-row: auto; grid-column: 1 / -1; aspect-ratio: 1.36; }
}
@media (max-width: 355px) {
  .header .brand span { display: none; }
}

.production-hero { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: center; gap: clamp(21px, 4vw, 65px); padding-block: clamp(28px, 5.5vw, 84px) 13px; }
.production-hero .production-location { color: var(--ink); font-size: 13px; font-weight: 600; }
.production-hero-image, .production-filmstrip figure { margin: 0; }
.production-hero-image img, .production-filmstrip img {
  width: 100%;
  height: auto;
  aspect-ratio: 2.08;
  object-fit: cover;
  border-radius: clamp(14px, 2vw, 28px);
  background: var(--tint);
}
.production-hero-image figcaption, .production-filmstrip figcaption, .production-caption { margin-top: 9px; color: var(--muted); font-size: 13px; }
.production-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.production-stages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); margin: 0; padding: 0; list-style: none; }
.production-stages li { overflow: hidden; border-radius: clamp(15px, 2vw, 28px); background: var(--surface); box-shadow: 0 10px 32px #3934300c; }
.production-stages img { width: 100%; height: auto; aspect-ratio: 1.85; object-fit: cover; background: var(--tint); }
.production-stage-copy { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(12px, 2vw, 25px); padding: clamp(16px, 2.2vw, 34px); }
.production-stage-copy > span { align-self: start; margin-top: 3px; color: #65605c; font-weight: 700; font-variant-numeric: tabular-nums; }
.production-stage-copy h3 { font-size: clamp(19px, 2vw, 29px); line-height: 1.16; }
.production-stage-copy p { margin-top: 7px; max-width: 54ch; color: var(--muted); }
.production-caption { margin-top: 14px; }
.production-quality-note { margin-top: 15px; max-width: 39ch; }
.production-filmstrip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.production-filmstrip img { aspect-ratio: 2.42; }
.production-delivery-list { margin: 15px 0 0; padding-left: 21px; color: var(--muted); }
.production-delivery-list li + li { margin-top: 9px; }
.production-delivery-list strong { color: var(--ink); }
.production-page .about-visit img { aspect-ratio: 2.35; }
@media (max-width: 850px) {
  .production-hero { grid-template-columns: minmax(0, 1fr); }
  .production-hero .company-lead h1 { max-width: 18ch; }
  .production-hero-image img { aspect-ratio: 2.45; }
}
@media (max-width: 680px) {
  .production-facts { gap: 0; }
  .production-facts div { padding-inline: 8px; }
  .production-facts div:nth-child(3) { border-left: 1px solid var(--line); }
  .production-facts dt { font-size: 12px; line-height: 1.35; }
  .production-facts dd { font-size: clamp(17px, 5.6vw, 29px); }
  .production-stages, .production-filmstrip { grid-template-columns: minmax(0, 1fr); }
}
.production-facts div:first-child { padding-inline-start: 0; }
@media (max-width: 950px) {
  .footer-grid { gap: 23px; }
}
@media (max-width: 690px) {
  .footer-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 410px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .card-track { scroll-behavior: auto; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.quote-links { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; margin-top: 1rem; }
.quote-links a, .estimate-example p a, .estimate-note a { text-decoration: underline; text-underline-offset: .2em; }
.estimate-example { min-width: 0; padding: clamp(16px, 2.2vw, 32px); background: #fff; border-radius: 24px; }
.estimate-example figure { margin: 0 0 1.5rem; }
.estimate-example figure img { display: block; aspect-ratio: auto; max-height: none; }
.estimate-example h2 { font-size: clamp(1.55rem, 2.6vw, 2.25rem); }
.estimate-example dl { margin: 1.25rem 0; }
.estimate-example dl div { display: grid; grid-template-columns: 1fr 1.2fr; gap: 1rem; padding: .8rem 0; border-top: 1px solid var(--line); }
.estimate-example dd { margin: 0; }
.estimate-example dl div:first-child dd { font-size: 1.2em; font-weight: 700; }
.estimate-example .button { margin-top: 1rem; }
@media (max-width: 480px) {
  .estimate-example dl div { grid-template-columns: 1fr; gap: .25rem; }
  .estimate-example dt { font-weight: 600; }
}

.house-details { position: relative; padding-left: 58%; min-height: clamp(360px, 34vw, 525px); }
.house-details details { border-bottom: 1px solid var(--line); }
.house-details details:first-child { border-top: 1px solid var(--line); }
.house-details summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; gap: 1rem; padding: .7rem 0; cursor: pointer; list-style: none; font-weight: 600; font-size: clamp(1.05rem, 1.55vw, 1.45rem); }
.house-details summary::-webkit-details-marker { display: none; }
.house-details summary::after { content: ''; width: .58em; height: .58em; margin-right: .3em; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.house-details [open] summary::after { transform: rotate(225deg); }
.house-details img { position: absolute; inset: 0 auto 0 0; width: 54%; height: 100%; object-fit: cover; border-radius: 22px; }
.house-details p { max-width: 48ch; margin: 0 0 1rem; font-size: 1rem; color: var(--muted); }
.built-story { display: grid; grid-template: repeat(2, minmax(0, 1fr)) / minmax(0, 1.8fr) minmax(0, 1fr); gap: clamp(12px, 2vw, 26px); }
.built-story figure { display: flex; flex-direction: column; min-width: 0; margin: 0; }
.built-story .built-cover { grid-row: span 2; }
.built-story a { position: relative; display: block; overflow: hidden; flex: 1; min-height: 0; border-radius: 18px; background: var(--tint); }
.built-story .built-cover a { aspect-ratio: 1280 / 964; }
.built-story img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.built-cover img { object-fit: contain; }
.built-terrace img { transform: scale(1.75); transform-origin: 58% 72%; }
.built-story figcaption { padding-top: .5rem; font-size: .9rem; color: var(--muted); }
.stats li { grid-template-columns: auto max-content; gap: clamp(6px, .75vw, 12px); }
.stats-icon { grid-area: 1 / 1; }
.stats li > div { grid-area: 1 / 2; }
@media (max-width: 740px) {
  .house-details { padding: 0; min-height: 0; }
  .house-details img { position: static; display: block; width: 100%; height: auto; aspect-ratio: 16/10; margin: .25rem 0 .85rem; }
  .built-story { grid-template: auto auto / repeat(2, minmax(0, 1fr)); }
  .built-story .built-cover { grid-column: 1 / -1; grid-row: auto; }
  .built-story a { flex: none; aspect-ratio: 4/3; }
  .stats { grid-template-columns: 1fr; padding: 16px 20px; }
  .stats-list { grid-template-columns: 1fr; }
  .stats li, .stats li:first-child { padding: 7px 0; grid-template-columns: 48px 1fr; gap: 12px; text-align: left; justify-items: start; }
  .stats li + li::before { inset: 0 0 auto; width: auto; height: 1px; }
  .stats-icon { width: 48px; }
  .stats strong { font-size: 1.4rem; }
  .stats li > div > span { min-height: 0; margin: 0; font-size: .88rem; }
  .stats .stats-cta { width: 100%; margin: 4px 0 0; justify-self: stretch; }
}
@media (min-width: 741px) {
  .house-details:not(:has(details[open]))::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 54%; border-radius: 22px; background: var(--tint) url("assets/finish-detail.jpg") center / cover; }
}

.home-picks { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(16px,2vw,30px); }
.home-picks a { display:flex; flex-direction:column; overflow:hidden; background:white; border-radius:20px; text-decoration:none; color:var(--ink); }
.home-picks img { width:100%; aspect-ratio:1.55; object-fit:cover; }
.home-picks a > div { display:flex; flex:1; flex-direction:column; gap:.6rem; padding:clamp(16px,2vw,28px); }
.home-picks h3 { font-size:clamp(1.25rem,2vw,1.85rem); line-height:1.12; }
.home-picks p { color:var(--muted); }
.home-picks strong { margin-top:auto; padding-top:1rem; }
.home-picks a:hover h3,.jump-links a:hover { text-decoration:underline; }
.jump-links { display:flex; flex-wrap:wrap; gap:.75rem 1.5rem; padding-block:1rem; border-block:1px solid var(--line); }
.project-included { padding-block:clamp(32px,5vw,72px); }
.project-included p { max-width:65ch; margin-block:1rem; }
.mobile-quote { display:none; }
@media(max-width:700px){
  .home-picks { grid-template-columns:1fr; }
  .mobile-quote:not([hidden]) { display:flex; position:fixed; z-index:5; bottom:calc(12px + env(safe-area-inset-bottom)); left:50%; transform:translateX(-50%); white-space:nowrap; box-shadow:0 3px 18px #27221e33; }
}

@media (max-width: 800px) {
  .hero-scene { padding-bottom:clamp(300px,53vw,390px); background:linear-gradient(155deg,#e5e7eb,#f8e9d9 53%,transparent 85%); }
  .hero-grand { inset:auto 0 0; height:55%; object-position:88% 75%; mask-image:linear-gradient(180deg,transparent,#000 19%); }
}

#contacts {position:fixed;inset:0;margin:auto;width:min(520px,calc(100% - 28px));max-height:calc(100dvh - 32px);overflow:auto;padding:clamp(22px,4vw,38px);box-shadow:0 18px 75px #152a2033}
#contacts[open] {animation:contact-in .24s ease-out}
#contacts::backdrop {background:#14271dc4}
@keyframes contact-in {from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){#contacts[open]{animation:none}}
#contacts h2 {margin:0 24px 8px 0;font-size:clamp(27px,4vw,36px)}
#contacts>p {line-height:1.5}
#contact-request {display:grid;gap:14px;margin-top:20px}
#contact-request[hidden],#contact-email[hidden]{display:none}
.contact-pair {display:grid;grid-template-columns:1fr 1fr;gap:12px}
#contact-request label {display:block;min-width:0;font-weight:600;font-size:14px}
#contact-request small {font-weight:400;color:#59665e}
#contact-request :is(input,textarea) {display:block;width:100%;box-sizing:border-box;margin-top:5px;border:1px solid #aab6ae;border-radius:9px;background:#fff;padding:10px 12px;color:#172b20;font:inherit;font-size:16px;font-weight:400}
#contact-request textarea {resize:vertical}
#contact-request :focus-visible {outline:2px solid #37634c;outline-offset:2px}
#contact-request button {background:#173e2c;color:white;justify-content:center}
#contact-status:empty{display:none}#contact-status:not(:empty){margin:14px 0 4px}
@media(max-width:460px){.contact-pair{grid-template-columns:1fr}.contact-pair,#contact-request{gap:10px}}

@media(min-width:801px){#navigation .mobile-contact-link{display:none}}

/* Свет и материалы закатной панорамы */
:root {
  --paper: #faf8f4;
  --tint: #f5ecdf;
  --surface: #fffefb;
  --sun-panel: linear-gradient(115deg, #fffdf8 4%, #f7ead9 55%, #ead1b4 100%);
  --sun-action: linear-gradient(115deg, #fff0d9, #f5d5a8 56%, #e9bb88);
  --sun-hover: linear-gradient(115deg, #ffebcc, #f1c58f 60%, #e4ae77);
  --sun-line: #9c7853;
}
body { background-image: linear-gradient(135deg, #fffefb, #f9f5ee 65%, #fffcf7); }
.stats, .process-cta, .about-promise, .site-footer { color: var(--ink); background: var(--sun-panel); }
.stats {
  background: repeating-radial-gradient(ellipse at 0 110%, transparent 0 24px, #aa825218 25px 26px), var(--sun-panel);
  border-color: #e6d4bd; box-shadow: 0 8px 30px #58401c0d;
}
.stats-icon { background: linear-gradient(145deg,#fffaf1,#ead9c0); border-color: #ddc9ae; }
.stats li + li::before { background: #cdb99d; }
.stats li > div > span, .estimate-copy > .estimate-note, .footer-brand p,
.footer-contact address span, .site-footer .brand span, .footer-bottom { color: var(--muted); }
.process-cta h3, .project-more .process-cta h2, .about-promise h2, .about-promise dt,
.site-footer .brand, .footer-grid h2, .footer-phone { color: var(--ink); }
.about-promise dl > div, .footer-bottom, .workshop-points { border-color: #d3bea3; }
.workshop { color: var(--ink); --workshop-ink: var(--ink); }
.workshop::before { background: radial-gradient(ellipse at 85% 0%,#f4dcc3,transparent 65%),linear-gradient(145deg,#fffdf7,#f1e9dd); }
.workshop-copy > p, .workshop-facts dd, .workshop-more, .workshop-points span { color:var(--muted); }
.workshop-facts dt { color:var(--ink); }
.workshop .eyebrow, .eyebrow { color:#584232; background:linear-gradient(115deg,#fffaf2,#f0dfc8); }
.workshop .eyebrow i { color:#705135; }
.workshop-cta { --outline-color:#654e3a; --outline-fill:#eed7bc; --outline-hover-color:var(--ink); }
.button:not(.outline), .stats .stats-cta, .site-footer .footer-cta, #contact-request button,
.tour-stops button[aria-current="location"], .tour-door {
  color:#392c21; border-color:var(--sun-line); background:var(--sun-action);
}
.button:not(.outline):is(:hover,:focus-visible), .outline:is(:hover,:focus-visible,:active),
.stats .stats-cta:hover, .site-footer .footer-cta:hover, #contact-request button:hover,
.about-hero .outline:is(:hover,:focus-visible), .tour-door:hover {
  background:var(--sun-hover); border-color:#8e6847; color:#342619;
}
.stats :focus-visible, .site-footer :focus-visible, .workshop :focus-visible, .about-promise :focus-visible { outline-color:#795132; }
.quiz-options label:has(input:checked), .quiz-project:has(input:checked) { background:var(--sun-panel); }

.brand .brand-mark { width:clamp(40px, 4.6vw, 67px); height:auto; flex:none; }

.brand .brand-mark { display: block; width: clamp(196px, 21vw, 278px); height: auto; }
.brand:has(.brand-mark) > :is(strong, span) { display: none; }
.hero-copy { position: relative; z-index: 0; }
.hero-copy::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: 0 auto -24px clamp(-65px,-4vw,-18px);
  width: min(calc(100% + 36px), clamp(580px,55vw,840px));
  background: rgba(255,246,233,.66);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  mask-image: radial-gradient(ellipse closest-side, black 42%, transparent 100%);
}
.projects::before {
  background: repeating-radial-gradient(ellipse at 69% 37%, transparent 0 18px, #85807c20 18px 19px, transparent 19px 31px), radial-gradient(ellipse at 58% 47%, #e8e3df80, transparent 65%);
  mask-image: radial-gradient(ellipse closest-side at 54% 46%, black 25%, transparent 100%);
}
.projects::after { content: none; }
input, textarea, select { font-family: var(--font); }
.hero-copy #hero-title { max-width: none; }
#hero-title > span { display: block; white-space: nowrap; }
@media (max-width: 600px) { .hero-copy #hero-title { font-size: clamp(24px, 8vw, 44px); } }

/* Soft relief for actions; gallery indicators retain their compact hit targets. */
:root {
  --action-relief: inset 0 1px 1px #fff9, inset 0 -1px 2px #65422020, 0 2px 1px #70533324, 0 4px 9px #50362213;
}
:is(.button, button:not(.card-dots button)) {
  border: 0;
  box-shadow: var(--action-relief);
}
@media (hover: hover) {
  :is(.button, button:not(.card-dots button)):not(:disabled):hover {
    box-shadow: inset 0 1px 1px #fff9, 0 3px 2px #70533323, 0 6px 12px #50362220;
  }
}
:is(.button, button:not(.card-dots button)):not(:disabled):active {
  box-shadow: inset 0 2px 4px #50362238, 0 1px 1px #fff5;
}
.card-dots button::before { box-shadow: inset 0 1px 1px #fff5, 0 1px 2px #50362225; }
:is(.button, button):focus-visible { outline: 2px solid #795634; outline-offset: 3px; }