:root {
  color-scheme: light;
  --paper: #f6f3ed;
  --paper-deep: #eee8df;
  --white: #fffdfa;
  --ink: #211b17;
  --muted: #655a51;
  --walnut: #2d201a;
  --walnut-deep: #1b1411;
  --bronze: #81572f;
  --champagne: #f2d6a9;
  --line: #ddd3c7;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", system-ui, sans-serif;
  --easing: cubic-bezier(.23, 1, .32, 1);
  --radius: 1.3rem;
  --content: 78rem;
  --gutter: clamp(1.1rem, 5vw, 4rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--sans); }
body:has(dialog[open]) { overflow: hidden; }
h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #a46d37; outline-offset: 5px; }
[id] { scroll-margin-top: 6.5rem; }

.wrap {
  width: calc(100% - var(--gutter) * 2);
  max-width: var(--content);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: .65rem;
  left: .65rem;
  z-index: 20;
  padding: .65rem 1rem;
  transform: translateY(-160%);
  border-radius: .45rem;
  background: var(--white);
}
.skip-link:focus { transform: none; }

.glass {
  --glass-base: #fff9efef;
  --glass-stroke: #ffffffb8;
  background: linear-gradient(142deg, #ffffff46, #ffffff00 46%, #ffffff16), var(--glass-base);
  border: 1px solid var(--glass-stroke);
  box-shadow: inset 0 1px 1px #ffffff9e, 0 8px 25px #20150c12;
}
@supports (backdrop-filter: blur(16px)) {
  .glass { --glass-base: #fff9edbc; backdrop-filter: blur(21px) saturate(142%); }
}

.site-header { position: sticky; top: .75rem; z-index: 10; height: 0; }
.site-nav-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(.7rem, 2vw, 1.9rem);
  width: calc(100% - clamp(1.05rem, 4vw, 3rem));
  max-width: 84rem;
  min-height: 4.36rem;
  margin: .8rem auto 0;
  padding: .48rem .55rem .48rem .8rem;
  border-radius: 3rem;
  color: var(--ink);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .62rem;
  flex: 0 0 auto;
  min-width: 0;
}
.brand-mark {
  display: grid;
  flex: 0 0 auto;
  width: 2.45rem;
  height: 2.45rem;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: .16rem;
  padding: .55rem .52rem;
  border-radius: .76rem;
  background: linear-gradient(145deg, #533722, #29201a);
  box-shadow: inset 0 1px 1px #ffffff3b, 0 4px 9px #2b190c26;
}
.brand-mark i { display: block; height: 38%; background: #f8dbaf; border-radius: .07rem; }
.brand-mark i:nth-child(2) { height: 64%; }
.brand-mark i:nth-child(3) { height: 94%; }
.brand-text { display: grid; gap: .2rem; line-height: 1; }
.brand-text strong { font-weight: 680; letter-spacing: -.035em; white-space: nowrap; }
.brand-text small { color: var(--muted); font-size: .65rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; }
#site-nav { display: flex; align-items: center; justify-content: center; gap: .15rem; margin-inline: auto; }
.nav-link {
  padding: .55rem .7rem;
  border-radius: 1.2rem;
  font-size: .91rem;
  font-weight: 580;
  white-space: nowrap;
  transition: color .2s, background .2s;
}
.nav-link:is(:hover, [aria-current="page"]) { background: #6f4c2313; color: #5d3b22; }
.nav-cta { flex: 0 0 auto; }
.menu-toggle { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  max-width: 100%;
  gap: .5rem;
  padding: .74rem 1.16rem;
  border: 1px solid transparent;
  border-radius: 1rem;
  font-weight: 680;
  line-height: 1.2;
  text-align: center;
  transition: transform .24s var(--easing), box-shadow .3s var(--easing), background .3s ease, color .3s ease;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: none; }
.button-small, .nav-cta { min-height: 2.68rem; padding: .55rem .9rem; border-radius: 2rem; font-size: .88rem; }
.button-primary, .nav-cta {
  background: linear-gradient(140deg, #4a3225, #302219);
  color: #fff8ec;
  box-shadow: inset 0 1px 1px #ffffff2d, 0 5px 14px #26150c20;
}
.button-primary:hover, .nav-cta:hover { background: #573b2b; box-shadow: 0 9px 25px #26150c32; }
.button-glass {
  background: #ffffff10;
  border-color: #a88665;
  box-shadow: inset 0 1px 1px #ffffff28, 0 4px 10px #351a0a13;
  backdrop-filter: blur(16px) saturate(138%);
}
.button-glass:hover { background: #ffffff24; }
.button-outline { border-color: #bda994; background: transparent; color: #4c3120; }
.button-outline:hover { background: #efe2d0; }
.text-link { display: inline-block; color: #674520; font-weight: 660; text-decoration: underline; text-underline-offset: .23em; text-decoration-color: #b39a80; }
.text-link:hover { text-decoration-color: currentColor; }
.kicker {
  display: block;
  color: var(--bronze);
  font-size: .72rem;
  font-weight: 730;
  line-height: 1.4;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 400; text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 6.65vw, 6.4rem); line-height: .99; letter-spacing: -.073em; }
h2 { font-size: clamp(2.35rem, 4.9vw, 4.45rem); line-height: 1.03; letter-spacing: -.066em; }
h3 { font-size: clamp(1.45rem, 2.42vw, 2.18rem); line-height: 1.1; letter-spacing: -.046em; }
.section { padding-block: clamp(3.65rem, 7.45vw, 6.9rem); }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem clamp(1.2rem, 4vw, 4rem);
  margin-bottom: clamp(1.35rem, 3.25vw, 2.6rem);
}
.section-head .kicker { margin-bottom: .7rem; }
.section-head p:not(.kicker) { max-width: 27rem; color: var(--muted); }
.section--soft { background: var(--paper-deep); border-block: 1px solid var(--line); }
.section--dark { background: var(--walnut); color: var(--white); }
.section--dark :is(.kicker, .text-link) { color: var(--champagne); }
.section--dark .section-head p:not(.kicker) { color: #ebdece; }

.home-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: stretch;
  min-height: clamp(41rem, 88svh, 52rem);
  margin: .63rem clamp(.4rem, 1.25vw, 1.5rem) 0;
  overflow: hidden;
  border-radius: clamp(1.15rem, 3vw, 2.05rem);
  background: var(--walnut-deep);
  color: var(--white);
}
.hero-image, .hero-shade { position: absolute; inset: 0; display: block; }
.hero-image { z-index: -2; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-position, 60% 53%); }
.hero-shade {
  z-index: -1;
  background: linear-gradient(90deg, #1b120df5 0%, #20150de7 19%, #21160d9c 43%, #21160d26 69%, #21160d00 100%),
    linear-gradient(0deg, #181009c2, transparent 40%, transparent 82%, #27160b48);
}
.hero-inner { position: relative; display: flex; align-items: center; min-height: inherit; padding-block: 9rem 7.2rem; }
.hero-copy { width: min(100%, 46rem); }
.hero-copy .kicker { color: #f4d4ac; margin-bottom: 1.03rem; }
.hero-copy h1 { max-width: 12ch; color: #fff8ef; }
.hero-copy h1 em { color: var(--champagne); font-weight: 400; }
.hero-copy p:not(.kicker) { max-width: 35rem; margin-top: 1.16rem; color: #f2e6d9; font-size: clamp(1rem, 1.5vw, 1.19rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.65rem; }
.home-hero .button-primary, .cta-panel .button-primary {
  background: linear-gradient(142deg, #ffedcd, #e9c795);
  color: #322114;
  border-color: #fff1d499;
  box-shadow: inset 0 1px 1px #ffffffa4, 0 7px 23px #1f100954;
}
.home-hero .button-primary:hover, .cta-panel .button-primary:hover { background: #ffedcf; }
.home-hero .button-glass, .cta-panel .button-glass { color: #fff6e7; border-color: #f4dcc198; }
.hero-caption {
  position: absolute;
  right: 0;
  bottom: 1.65rem;
  max-width: min(20rem, 90%);
  padding: .58rem .84rem;
  border-radius: .75rem;
  --glass-base: #30241dca;
  --glass-stroke: #f4d8bb70;
  color: #fff0dc;
  font-size: .82rem;
  line-height: 1.45;
}

.page-hero {
  padding-top: clamp(8.4rem, 12vw, 11rem);
  padding-bottom: clamp(2.8rem, 5.5vw, 4.5rem);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(115deg, #f8f5ef, #ece2d4);
}
.page-hero h1 { max-width: 16ch; }
.page-hero .kicker, .detail-copy .kicker { margin-block: .65rem .75rem; }
.page-hero p:not(.kicker) { max-width: 42rem; margin-top: .9rem; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.2rem); }
.breadcrumbs { margin-bottom: 1.2rem; color: var(--muted); font-size: .85rem; }
.breadcrumbs ol, ol.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .7rem; list-style: none; margin: 0 0 1.2rem; padding: 0; }
.breadcrumbs li + li::before { content: '\002F'; margin-right: .7rem; color: #a48d77; }
.breadcrumbs a:hover { text-decoration: underline; text-underline-offset: .2em; }

.filters { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.45rem; }
.filter {
  min-height: 2.53rem;
  padding: .4rem .78rem;
  border: 1px solid #c8b9a6;
  border-radius: .62rem;
  background: #fcf8f0;
  color: #4d3726;
  font-size: .91rem;
  font-weight: 640;
  transition: color .2s, background .2s, border .2s;
}
.filter:hover { background: #ebe0d0; }
.filter[aria-pressed="true"] { border-color: #50382a; background: #50382a; color: #fff9ef; }
.grid-meta { margin-bottom: .88rem; color: var(--muted); font-size: .9rem; }
.project-grid, .type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.75rem, 2vw, 1.4rem);
}
.project-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 24px #442c1710;
  transition: transform .42s var(--easing), box-shadow .36s var(--easing), border-color .3s;
}
.project-card:hover { transform: translateY(-4px); border-color: #cbb39b; box-shadow: 0 13px 29px #442c1725; }
.project-media { display: block; overflow: hidden; aspect-ratio: 4 / 3; margin: 0; background: #4c3629; }
.project-media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--photo-position, center); transition: transform .63s var(--easing); }
.project-card:hover .project-media img { transform: scale(1.05); }
.project-body { display: grid; align-content: start; gap: .5rem; flex: 1; padding: clamp(.96rem, 2.2vw, 1.46rem); }
.project-body p:not(.kicker) { color: var(--muted); line-height: 1.52; }

.type-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: .65rem;
  padding: clamp(1rem, 2.8vw, 1.8rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.type-top { display: flex; width: 100%; align-items: center; gap: .8rem; }
.type-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2.8rem;
  min-height: 2.8rem;
  padding: .38rem;
  border: 1px solid #d8c5ad;
  border-radius: .85rem;
  background: #f8eee0;
  color: #744822;
  font-size: 1.35rem;
  line-height: 1;
}
.type-icon > * { max-width: 100%; }
.type-card p { color: var(--muted); margin-bottom: .28rem; }
.type-card :is(.button, .text-link) { margin-top: auto; }

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(1.35rem, 5.1vw, 4.55rem);
  padding-top: clamp(8rem, 11vw, 10.6rem);
  padding-bottom: clamp(2.75rem, 6vw, 5.25rem);
}
.detail-copy h1 { font-size: clamp(2.5rem, 5.2vw, 4.95rem); }
.detail-copy p:not(.kicker) { margin-top: .8rem; color: var(--muted); }
.detail-copy .hero-actions { margin-top: 1.4rem; }
.detail-cover, .photo-card {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: #4b372b;
  box-shadow: 0 8px 24px #35211616;
}
.detail-cover { aspect-ratio: 1 / 1.01; }
.detail-cover img, .photo-card img { width: 100%; height: 100%; object-fit: cover; object-position: var(--photo-position, center); transition: transform .55s var(--easing); }
.detail-cover:hover img, .photo-card:hover img { transform: scale(1.045); }
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.55rem, 2vw, 1.15rem); }
.photo-card { aspect-ratio: 4 / 3; }
.photo-card > span, .detail-cover > span {
  position: absolute;
  right: .6rem;
  bottom: .6rem;
  max-width: calc(100% - 1.2rem);
  padding: .35rem .65rem;
  border: 1px solid #ffffff53;
  border-radius: .55rem;
  background: #251a13bf;
  backdrop-filter: blur(12px);
  color: var(--white);
  line-height: 1.2;
}

.wide-panel {
  padding: clamp(1.2rem, 4.2vw, 3.35rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffaf1;
}
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: clamp(1.25rem, 5vw, 4.5rem); }
.split :is(h2, h3) + p, .split .kicker + h2 { margin-top: .75rem; }
.split p:not(.kicker) { color: var(--muted); }
.fact-list { margin: 0; padding: 0; }
.fact-list :is(div, li) { padding: .8rem 0; border-bottom: 1px solid var(--line); }
.fact-list :is(dt, strong) { font-weight: 670; }
.fact-list dd { margin: .24rem 0 0; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.8rem, 2.5vw, 1.65rem); list-style: none; margin: 0; padding: 0; counter-reset: stage; }
.steps li { min-width: 0; padding: 1.13rem .2rem .3rem 0; border-top: 1px solid #af967e; counter-increment: stage; }
.steps li::before { content: counter(stage, decimal-leading-zero); display: block; margin-bottom: .6rem; color: var(--bronze); font-size: .78rem; font-weight: 690; letter-spacing: .08em; }
.steps li p { margin-top: .45rem; color: var(--muted); }
.faq-list { display: grid; gap: .72rem; }
.faq-list details { overflow: hidden; padding: 0 1rem; border: 1px solid var(--line); border-radius: .85rem; background: #fffaf1; }
.faq-list summary { padding: .85rem .1rem; color: var(--ink); font-weight: 660; cursor: pointer; }
.faq-list summary::marker { color: var(--bronze); }
.faq-list details > :not(summary) { margin: 0 .1rem .95rem; color: var(--muted); }
.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(.9rem, 3vw, 2.5rem);
  padding: clamp(1.65rem, 5.2vw, 4rem);
  border: 1px solid #7b5d43;
  border-radius: calc(var(--radius) + .4rem);
  background: linear-gradient(126deg, #4a3225, #261b16 78%);
  color: #fff8ee;
  box-shadow: 0 17px 40px #3f281e24;
}
.cta-panel .kicker { margin-bottom: .65rem; color: #e8cda7; }
.cta-panel p:not(.kicker) { max-width: 35rem; margin-top: .65rem; color: #eee0d2; }
.cta-panel :is(.button, .hero-actions) { margin-top: .2rem; justify-self: start; }
.contact-links { display: flex; flex-wrap: wrap; gap: .6rem; margin-block: 1rem; }

.brief-form { display: grid; gap: 1rem; min-width: 0; padding: clamp(1rem, 3.4vw, 2.25rem); border-color: #d8c9b8; border-radius: var(--radius); }
.brief-form > .button { justify-self: start; }
.form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.field { display: grid; min-width: 0; align-content: start; gap: .33rem; color: #423227; font-size: .92rem; font-weight: 640; }
.field--wide, .field-wide, .full-width { grid-column: 1 / -1; }
.brief-form :is(input, select, textarea), .result-panel textarea {
  min-width: 0;
  width: 100%;
  padding: .65rem .72rem;
  border: 1px solid #c6b6a6;
  border-radius: .65rem;
  background-color: #fffdfa;
  color: var(--ink);
  font-weight: 450;
}
.brief-form :is(input, select) { min-height: 2.75rem; }
.brief-form textarea, .result-panel textarea { min-height: 5.2rem; resize: vertical; }
.form-help { color: var(--muted); font-size: .87rem; }
.result-panel { display: grid; gap: .6rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.result-panel :is(.button, .text-link) { justify-self: start; }
#brief-status { color: #5d4027; font-size: .9rem; }
#brief-status:empty { display: none; }

.site-footer { padding-block: 2.8rem 1.1rem; background: #241a15; color: #e9daca; }
.site-footer .brand, .site-footer strong { color: #fff5e8; }
.site-footer .brand-text small, .site-footer .kicker { color: #e9c79f; }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 1.2rem 2.4rem; align-items: start; }
.footer-grid p:not(.kicker) { max-width: 24rem; margin-top: .65rem; }
.footer-grid :is(nav, ul) { display: grid; gap: .25rem; list-style: none; margin: .55rem 0 0; padding: 0; }
.footer-grid a:not(.brand):hover { color: #ffdfb1; text-decoration: underline; text-underline-offset: .22em; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .35rem 1rem; margin-top: 2rem; padding-top: .82rem; border-top: 1px solid #82654c; color: #d7c4b2; font-size: .83rem; }

.photo-dialog {
  width: max-content;
  max-width: min(56rem, calc(100vw - 1.15rem));
  max-height: 92vh;
  max-height: 92dvh;
  margin: auto;
  overflow: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff8ee;
}
.photo-dialog::backdrop { background: #1a110ed5; backdrop-filter: blur(13px); }
.photo-dialog[open] { animation: enter-dialog .35s var(--easing) both; }
@keyframes enter-dialog { from { opacity: 0; transform: translateY(.5rem) scale(.97); } to { opacity: 1; transform: none; } }
.dialog-shell { position: relative; display: grid; min-width: min(20rem, 89vw); gap: .52rem; justify-items: center; padding: .65rem; border-radius: var(--radius); --glass-base: #2e211ce8; --glass-stroke: #ffffff42; }
.dialog-media { display: grid; justify-items: center; gap: .58rem; }
.dialog-media img, #dialog-image { width: auto; height: auto; max-width: 100%; max-height: min(70vh, max(5rem, calc(92dvh - 7.2rem)), 54rem); object-fit: contain; border-radius: .88rem; }
.dialog-media figcaption, #dialog-caption { padding-inline: .3rem; text-align: center; font-size: .92rem; }
.dialog-nav { display: flex; gap: .52rem; }
.dialog-control, .dialog-close { display: grid; width: 2.68rem; height: 2.68rem; place-items: center; padding: 0; border: 1px solid #ffffff78; border-radius: 50%; background: #32241ce8; color: #fff; font-size: 1.25rem; line-height: 1; }
.dialog-control:hover, .dialog-close:hover { background: #654731; }
.dialog-control:disabled { opacity: .55; }
.dialog-close { position: absolute; z-index: 1; top: .97rem; right: .97rem; }

@media (prefers-reduced-motion: no-preference) {
  html.can-reveal [data-reveal] { opacity: 0; transform: translateY(.9rem); transition: opacity .55s var(--easing), transform .55s var(--easing); }
  html.can-reveal [data-reveal]:is(.is-visible, :focus-within) { opacity: 1; transform: none; }
}
@media (max-width: 56rem) {
  .site-nav-wrap { gap: .65rem; }
  .nav-link { padding-inline: .45rem; }
  .section-head { align-items: start; flex-direction: column; }
  .project-grid, .type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-hero { min-height: clamp(38rem, 80svh, 49rem); }
  .detail-hero { gap: 1.5rem; }
}
@media (max-width: 45rem) {
  .site-header { top: .48rem; }
  .site-nav-wrap { min-height: 3.6rem; margin-top: .48rem; padding: .34rem .39rem .34rem .58rem; gap: .4rem; }
  .site-header .brand { margin-right: auto; }
  .site-header .brand-mark { width: 2rem; height: 2rem; padding: .42rem; }
  .site-header .brand-text strong { font-size: .94rem; }
  .site-header .brand-text small { font-size: .54rem; }
  #site-nav {
    position: absolute;
    inset: calc(100% + .58rem) .15rem auto;
    display: none;
    max-height: calc(100dvh - 5rem);
    overflow: auto;
    align-items: stretch;
    padding: .54rem;
    border: 1px solid #f5e6d5;
    border-radius: .95rem;
    background: #fff9eff5;
    box-shadow: 0 12px 28px #37201429;
    backdrop-filter: blur(20px) saturate(145%);
  }
  .nav-open #site-nav { display: grid; }
  .nav-link { padding: .59rem .73rem; }
  .menu-toggle {
    display: grid;
    place-content: center;
    place-items: center;
    min-width: 2.55rem;
    min-height: 2.55rem;
    padding: .25rem;
    border: 1px solid #bca98f;
    border-radius: 50%;
    background: #fcf6eb;
    color: #443020;
    line-height: 1;
  }
  .menu-toggle > :is(i, span):empty { width: .9rem; height: 1px; margin-block: .09rem; background: currentColor; }
  .nav-cta { min-height: 2.45rem; padding-inline: .55rem; font-size: .77rem; }
  .hero-image img { object-position: var(--hero-position-mobile, 59% 45%); }
  .hero-shade { background: linear-gradient(0deg, #1b120dfc 0%, #1b120dce 37%, #1b120d61 68%, #1b120d25 100%); }
  .hero-inner { align-items: end; padding-block: 7.3rem 5.5rem; }
  .hero-caption { bottom: .72rem; }
  .page-hero, .detail-hero { padding-top: 7rem; }
  .detail-hero, .split, .cta-panel { grid-template-columns: 1fr; }
  .detail-cover { aspect-ratio: 5 / 4; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 30rem) {
  .home-hero { min-height: max(37rem, min(80svh, 46rem)); }
  .hero-inner { width: calc(100% - 1.6rem); }
  .home-hero h1 { font-size: clamp(2.8rem, 10.8vw, 3.9rem); }
  .hero-copy p:not(.kicker) { margin-top: .8rem; }
  .hero-actions { margin-top: 1.1rem; }
  .hero-actions .button { min-height: 2.9rem; padding-inline: .78rem; font-size: .9rem; }
  .site-header .brand { gap: .35rem; }
  .site-header .brand-text strong { font-size: .86rem; }
  .site-header .brand-text small { letter-spacing: .06em; }
  .site-nav-wrap > .nav-cta { max-width: 7rem; }
  .project-grid, .type-grid, .steps { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid > :nth-last-child(1):nth-child(odd) { grid-column: 1 / -1; }
  .field :is(input, select, textarea) { font-size: 1rem; }
}
@media (max-width: 23rem) {
  .site-header .brand-text small { display: none; }
  .site-nav-wrap > .nav-cta { max-width: 6.4rem; font-size: .71rem; }
  .menu-toggle { min-width: 2.39rem; min-height: 2.39rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Site pages */
.section--compact { padding-top: clamp(1.5rem, 3.7vw, 3.1rem); }
.section-actions { margin-top: clamp(1.25rem, 3vw, 2.35rem); }
.hero-image { inset-inline-start: 25%; }
.hero-shade {
  background: linear-gradient(90deg, #241810 0 23%, #241810f3 29%, #241810b5 40%, #24181037 57%, #24181000 74%),
    linear-gradient(0deg, #181009b8, transparent 36%, transparent 83%, #27160b40);
}
.hero-caption strong, .hero-caption span { display: block; }
.hero-caption strong { font-size: 1rem; }
.wide-panel.split { align-items: center; }
.feature-image { overflow: hidden; aspect-ratio: 7 / 5; border-radius: calc(var(--radius) - .25rem); }
.feature-image img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 57%; }
.feature-copy .button, .brief-tips .text-link { margin-top: 1.2rem; }
.footer-links { display: grid; justify-items: start; align-content: start; gap: .35rem; }
.footer-links strong { margin-bottom: .2rem; }
.type-icon { position: relative; }
.type-icon i { position: absolute; width: 1.08rem; height: .16rem; border-radius: .15rem; background: currentColor; }
.shape-straight i:nth-child(1) { transform: translate(-.25rem,.39rem); }
.shape-straight i:nth-child(2) { transform: translateY(.04rem); }
.shape-straight i:nth-child(3) { transform: translate(.25rem,-.31rem); }
.shape-turn i:nth-child(1) { width: .92rem; transform: translate(-.08rem,.37rem); }
.shape-turn i:nth-child(2) { width: .9rem; transform: translate(.3rem,-.02rem) rotate(90deg); }
.shape-turn i:nth-child(3) { width: .52rem; transform: translate(.5rem,-.44rem); }
.shape-return i:nth-child(1) { width: .98rem; transform: translate(-.42rem,.03rem) rotate(90deg); }
.shape-return i:nth-child(2) { width: .98rem; transform: translateY(-.43rem); }
.shape-return i:nth-child(3) { width: .98rem; transform: translate(.42rem,.03rem) rotate(90deg); }
.detail-copy .type-icon { margin-bottom: 1rem; }
.split .steps { grid-template-columns: 1fr; gap: .6rem; }
body[data-page="kak-zakazat"] .steps { grid-template-columns: repeat(4, minmax(0,1fr)); }
.brief-form select {
  appearance: none; padding-right: 2.3rem;
  background-image: linear-gradient(45deg, transparent 49%, #795b41 50%), linear-gradient(135deg, #795b41 49%, transparent 50%);
  background-position: calc(100% - 1.13rem) 52%, calc(100% - .82rem) 52%;
  background-size: .34rem .34rem; background-repeat: no-repeat;
}
@media (max-width: 45rem) {
  .hero-image { inset-inline-start: 0; }
  .hero-shade {
    background: linear-gradient(0deg, #241810 0 9%, #241810e8 33%, #24181075 55%, #24181017 84%, #27160b58);
  }
  body[data-page="kak-zakazat"] .steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 30rem) {
  body[data-page="kak-zakazat"] .steps { grid-template-columns: 1fr; }
}
.brief-form .button:disabled { opacity: .6; cursor: default; transform: none; }
.project-meta { color: var(--muted); font-size: .87rem; margin-top: .18rem; }
