/*
Theme Name: AS Kvadro Premium
Theme URI: https://as-kvadro.ru/
Author: Ideal Web
Description: Премиальная одностраничная тема для архитектурно-строительной компании АС КВАДРО.
Version: 1.3.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: ask-kvadro
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
:root {
  --ink: #171714;
  --ink-soft: #34332f;
  --ivory: #f1eee7;
  --paper: #f8f6f1;
  --warm: #c2aa8b;
  --line: rgba(23, 23, 20, 0.16);
  --line-light: rgba(255, 255, 255, 0.24);
  --serif: "Roboto Flex", Arial, sans-serif;
  --sans: "Roboto Flex", Arial, sans-serif;
  --shell: min(100% - 80px, 1500px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  transform: translateY(-160%);
  background: #fff;
  color: #000;
}
.skip-link:focus { transform: none; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.page-shell { width: var(--shell); margin-inline: auto; }
.page-grid {
  width: var(--shell);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}

.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 50;
  width: min(calc(100% - 48px), 1500px);
  height: 72px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 44px;
  color: #fff;
  transform: translateX(-50%);
  background: rgba(13, 15, 14, .68);
  border: 1px solid rgba(255,255,255,.24);
  box-shadow: 0 14px 40px rgba(0,0,0,.16);
  backdrop-filter: blur(16px) saturate(120%);
  transition: background .35s ease, height .35s ease, border-color .35s ease, top .35s ease;
}
.site-header.is-scrolled {
  top: 8px;
  height: 68px;
  color: var(--ink);
  background: rgba(248,246,241,.96);
  border-color: var(--line);
  box-shadow: 0 10px 32px rgba(26,25,22,.10);
}
.brand { display: inline-flex; flex-direction: column; text-transform: uppercase; white-space: nowrap; }
.brand__name { font-size: 18px; line-height: 1.1; letter-spacing: .32em; font-weight: 500; }
.brand__descriptor { margin-top: 6px; font-size: 7px; letter-spacing: .25em; opacity: .68; }
.site-nav { display: flex; justify-content: center; gap: clamp(22px, 3vw, 54px); font-size: 12px; }
.site-nav a { position: relative; padding-block: 8px; }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 1px;
  background: currentColor;
  transition: right .25s ease;
}
.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; }
.header-cta {
  min-width: 176px;
  height: 48px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid currentColor;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  transition: background .25s ease, color .25s ease;
}
.header-cta:hover { background: #fff; color: var(--ink); }
.is-scrolled .header-cta:hover { background: var(--ink); color: #fff; }
.menu-toggle { display: none; }

.hero {
  position: relative;
  min-height: 720px;
  height: min(90vh, 840px);
  color: #fff;
  background-image: url("assets/hero-residence.png");
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, rgba(8,11,10,.80) 0%, rgba(8,11,10,.47) 38%, rgba(8,11,10,.06) 72%);
}
.hero__shade {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  z-index: -1;
  background: linear-gradient(0deg, rgba(7,8,7,.68), transparent);
}
.hero__content { height: 100%; align-items: center; padding-top: 78px; }
.hero__copy { grid-column: 1 / span 8; margin-top: -18px; }
.eyebrow {
  margin: 0 0 22px;
  color: #796a59;
  font-size: 10px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.eyebrow--light { color: rgba(255,255,255,.66); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 {
  font-family: var(--serif);
  font-weight: 360;
  font-optical-sizing: auto;
}
h1 {
  margin-bottom: 30px;
  font-size: clamp(56px, 6.4vw, 108px);
  line-height: 1.02;
  letter-spacing: -.035em;
  text-wrap: balance;
}
h1 .accent, h2 .accent { color: #cab698; font-style: normal; }
.hero__lead { max-width: 690px; margin-bottom: 36px; color: rgba(255,255,255,.8); font-size: clamp(16px, 1.35vw, 21px); line-height: 1.65; }
.hero__actions { display: flex; align-items: center; gap: 38px; }
.button {
  min-height: 58px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border: 0;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 10px;
  font-weight: 600;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.button:hover { transform: translateY(-2px); }
.button--solid { background: #f5f1ea; color: var(--ink); min-width: 224px; }
.button--solid:hover { background: #fff; }
.button--dark { width: 100%; min-height: 62px; background: var(--ink); color: #fff; }
.button--dark:hover { background: #393732; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 5px;
  font-size: 10px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: .15em;
}
.text-link span { transition: transform .25s ease; }
.text-link:hover span { transform: translate(3px, -2px); }
.text-link--light { color: rgba(255,255,255,.86); }
.hero__note { grid-column: 10 / -1; align-self: end; margin-bottom: 138px; display: grid; gap: 4px; font-size: 9px; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; }
.hero__note strong { font-size: 11px; font-weight: 500; }
.hero__note i { margin-bottom: 8px; color: #d1bea1; font-size: 24px; }
.hero__qualifiers {
  position: absolute;
  inset: auto max(40px, calc((100vw - 1500px) / 2)) 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-light);
}
.hero__qualifiers div { min-height: 88px; padding: 20px 34px 18px 0; display: flex; gap: 18px; align-items: center; border-right: 1px solid var(--line-light); }
.hero__qualifiers div + div { padding-left: 34px; }
.hero__qualifiers div:last-child { border-right: 0; }
.hero__qualifiers i { color: #d1bea1; font-size: 22px; }
.hero__qualifiers strong { font-size: clamp(15px, 1.15vw, 19px); line-height: 1.35; font-weight: 650; }
.hero__visual-label { position: absolute; right: 18px; top: 50%; writing-mode: vertical-rl; transform: rotate(180deg); color: rgba(255,255,255,.38); font-size: 7px; letter-spacing: .22em; text-transform: uppercase; }

.section { padding: 92px 0; }
.section-head { align-items: end; margin-bottom: 38px; }
.section-head > div { grid-column: 1 / span 6; }
.section-head__copy { grid-column: 7 / span 4; margin: 0; max-width: 510px; color: #69665f; font-size: 14px; line-height: 1.8; }
.section-head > .text-link { grid-column: 11 / -1; justify-self: end; margin-bottom: 8px; }
h2 { margin-bottom: 0; font-size: clamp(44px, 4.4vw, 74px); line-height: 1.14; letter-spacing: -.035em; }

.projects { background: var(--ivory); }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 20px; }
.project-card--wide { grid-column: 1 / -1; }
.project-card__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: #d9d5cd; }
.project-card--wide .project-card__media { aspect-ratio: 2.2 / 1; }
.project-card__media img { height: 100%; object-fit: cover; filter: saturate(.72) contrast(1.03); transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .4s ease; }
.project-card:hover .project-card__media img { transform: scale(1.035); filter: saturate(.95) contrast(1.03); }
.project-card__index { position: absolute; left: 18px; top: 17px; padding: 7px 9px; color: #fff; background: rgba(15,15,13,.66); backdrop-filter: blur(8px); font-size: 8px; letter-spacing: .16em; }
.project-card__arrow { position: absolute; right: 18px; bottom: 18px; width: 48px; height: 48px; display: grid; place-items: center; background: rgba(245,242,235,.92); font-size: 18px; transition: transform .3s ease; }
.project-card:hover .project-card__arrow { transform: rotate(45deg); }
.project-card__meta { display: flex; justify-content: space-between; gap: 30px; padding: 20px 2px 0; border-top: 1px solid transparent; }
.project-card__meta h3 { margin-bottom: 4px; font-family: var(--serif); font-size: 24px; font-weight: 400; }
.project-card__meta p { margin: 0; color: #7c776e; font-size: 9px; text-transform: uppercase; letter-spacing: .13em; }
.project-card__meta dl { display: flex; gap: 46px; margin: 3px 0 0; }
.project-card__meta dl div { display: grid; gap: 1px; }
.project-card__meta dt { color: #8a857d; font-size: 8px; text-transform: uppercase; letter-spacing: .13em; }
.project-card__meta dd { margin: 0; font-family: var(--serif); font-size: 18px; }
.source-note { margin-top: 28px; color: #8b877e; font-size: 9px; letter-spacing: .07em; }

.advantages { color: #f3f0e9; background: #20211e; }
.advantages__head { align-items: end; margin-bottom: 44px; }
.advantages__head > div { grid-column: 1 / span 8; }
.advantages__head > p { grid-column: 9 / -1; margin: 0 0 8px; color: rgba(255,255,255,.58); font-size: 13px; line-height: 1.75; }
.advantages__head h2 { max-width: 1050px; font-size: clamp(42px, 4vw, 66px); }
.advantages__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.advantage-card { min-height: 240px; padding: 26px 28px; display: grid; grid-template-columns: 1fr auto; align-content: start; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.advantage-card > i { color: #cbb698; font-size: 28px; }
.advantage-card > span { color: rgba(255,255,255,.34); font-size: 9px; }
.advantage-card h3 { grid-column: 1 / -1; margin: 42px 0 10px; font-size: 20px; line-height: 1.35; }
.advantage-card p { grid-column: 1 / -1; max-width: 390px; margin: 0; color: rgba(255,255,255,.54); font-size: 11px; line-height: 1.7; }
.advantage-card--accent { background: #292824; }

.statement { background: var(--paper); }
.statement__intro { grid-column: 1 / span 6; align-self: start; position: sticky; top: 100px; }
.statement__intro h2 { font-size: clamp(44px, 4.2vw, 70px); }
.statement__body { grid-column: 7 / -1; }
.statement__lead { max-width: 680px; margin-bottom: 42px; color: #4d4b45; font-size: clamp(20px, 1.65vw, 27px); line-height: 1.5; font-weight: 520; }
.benefit-list { border-top: 1px solid var(--line); }
.benefit-list article { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 22px 0 24px; border-bottom: 1px solid var(--line); }
.benefit-list__marker { display: flex; flex-direction: column; gap: 14px; color: #96836d; font-size: 9px; }
.benefit-list__marker i { font-size: 22px; }
.benefit-list h3 { margin-bottom: 10px; font-family: var(--serif); font-size: 22px; font-weight: 400; }
.benefit-list p { max-width: 580px; margin: 0; color: #77736b; font-size: 13px; line-height: 1.8; }

.craft { min-height: 600px; display: grid; grid-template-columns: 56% 44%; background: #e5e0d7; }
.craft__image { position: relative; overflow: hidden; min-height: 560px; }
.craft__image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,15,13,.52), transparent 38%); }
.craft__image img { height: 100%; object-fit: cover; object-position: center; filter: saturate(.58) contrast(.95); }
.craft__caption { position: absolute; z-index: 1; left: 8%; right: 8%; bottom: 46px; display: flex; align-items: center; gap: 16px; color: rgba(255,255,255,.82); text-transform: uppercase; letter-spacing: .15em; font-size: 8px; }
.craft__caption .line { flex: 1; height: 1px; background: rgba(255,255,255,.35); }
.craft__content { padding: 70px clamp(44px, 6vw, 96px); display: flex; flex-direction: column; justify-content: center; }
.craft__content h2 { margin-bottom: 24px; font-size: clamp(40px, 3.6vw, 60px); }
.craft__content > p:not(.eyebrow) { max-width: 590px; color: #656159; font-size: 14px; line-height: 1.9; }
.craft blockquote { margin: 32px 0 30px; padding: 22px 0 0; border-top: 1px solid rgba(23,23,20,.2); font-size: clamp(18px, 1.5vw, 23px); line-height: 1.55; font-weight: 600; }
.craft .text-link { align-self: flex-start; }

.cycle { color: #efede7; background: #161816; }
.cycle__top { align-items: end; margin-bottom: 42px; }
.cycle__top > div { grid-column: 1 / span 8; }
.cycle__top > p { grid-column: 9 / -1; margin: 0 0 10px; color: rgba(255,255,255,.56); font-size: 13px; line-height: 1.8; }
.cycle-list { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.cycle-item { min-height: 330px; padding: 24px 22px; border-right: 1px solid var(--line-light); display: flex; flex-direction: column; }
.cycle-item:last-child { border-right: 0; }
.cycle-item__number { color: rgba(255,255,255,.38); font-size: 9px; }
.cycle-item__icon { margin: 38px 0 26px; color: #c5b298; font-size: 34px; line-height: 1; }
.cycle-item h3 { margin-bottom: 14px; font-size: 20px; line-height: 1.35; }
.cycle-item p { color: rgba(255,255,255,.55); font-size: 12px; line-height: 1.8; }
.cycle-item__tag { margin-top: auto; color: rgba(255,255,255,.35); font-size: 8px; text-transform: uppercase; letter-spacing: .14em; }
.cycle__promise { margin-top: 26px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-light); }
.cycle__promise span { min-height: 62px; padding: 16px 20px; display: flex; align-items: center; gap: 12px; border-right: 1px solid var(--line-light); color: rgba(255,255,255,.72); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.cycle__promise span:last-child { border-right: 0; }
.cycle__promise i { color: #c5b298; font-size: 18px; }

.estimate { position: relative; padding-bottom: 100px; color: #f3f0ea; background: #151613; }
.estimate__visual { position: relative; min-height: 880px; overflow: hidden; }
.estimate__visual > img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: center; }
.estimate__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,11,9,.96) 0%, rgba(10,11,9,.86) 40%, rgba(10,11,9,.25) 76%, rgba(10,11,9,.08) 100%), linear-gradient(0deg, rgba(10,11,9,.82), transparent 35%); }
.estimate__content { position: relative; z-index: 1; padding-top: 86px; padding-bottom: 190px; }
.estimate__content h2 { max-width: 920px; margin-bottom: 26px; font-size: clamp(47px, 4.8vw, 78px); line-height: 1.05; }
.estimate__lead { max-width: 720px; margin-bottom: 34px; color: rgba(255,255,255,.65); font-size: 14px; line-height: 1.85; }
.estimate-audit { width: min(780px, 62vw); margin-bottom: 30px; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid rgba(202,182,152,.45); border-left: 1px solid rgba(202,182,152,.45); }
.estimate-audit article { position: relative; min-height: 150px; padding: 20px 22px; border-right: 1px solid rgba(202,182,152,.45); border-bottom: 1px solid rgba(202,182,152,.45); background: rgba(18,19,16,.58); backdrop-filter: blur(8px); }
.estimate-audit article > span { position: absolute; right: 18px; top: 18px; color: rgba(255,255,255,.34); font-size: 9px; }
.estimate-audit i { color: #c7a87f; font-size: 24px; }
.estimate-audit h3 { margin: 22px 0 6px; font-size: 17px; }
.estimate-audit p { margin: 0; color: rgba(255,255,255,.52); font-size: 10px; line-height: 1.65; }
.button--sand { min-width: 270px; justify-content: space-between; color: #171714; background: #cfb28a; border-color: #cfb28a; }
.button--sand:hover { color: #171714; background: #e1c79f; }
.package-builder { position: relative; z-index: 2; margin-top: -132px; display: grid; grid-template-columns: minmax(310px, .72fr) minmax(0, 1.28fr); color: var(--ink); background: #eee9df; box-shadow: 0 30px 80px rgba(0,0,0,.28); }
.package-builder__intro { padding: 44px 42px; border-right: 1px solid var(--line); }
.package-builder__intro h3 { margin-bottom: 14px; font-size: clamp(30px, 2.5vw, 44px); line-height: 1.12; }
.package-builder__intro > p:not(.eyebrow) { color: #716b62; font-size: 12px; line-height: 1.75; }
.package-tabs { margin-top: 34px; display: grid; border-top: 1px solid var(--line); }
.package-tabs button { min-height: 58px; padding: 0; display: flex; align-items: center; justify-content: space-between; color: #7b756c; background: transparent; border: 0; border-bottom: 1px solid var(--line); font-size: 12px; text-align: left; }
.package-tabs button span { font-size: 8px; }
.package-tabs button.is-selected { color: var(--ink); font-weight: 700; }
.package-tabs button.is-selected::before { content: ""; width: 7px; height: 7px; margin-right: 12px; border-radius: 50%; background: #aa8760; }
.package-tabs button.is-selected span { margin-left: auto; }
.package-panels { min-width: 0; padding: 46px 48px 32px; display: flex; flex-direction: column; background: #f8f6f1; }
.package-panel[hidden] { display: none; }
.package-panel__head { display: flex; align-items: center; justify-content: space-between; color: #9a8366; font-size: 9px; text-transform: uppercase; letter-spacing: .13em; }
.package-panel__head i { font-size: 28px; }
.package-panel h3 { max-width: 700px; margin: 46px 0 16px; font-size: clamp(30px, 3vw, 50px); line-height: 1.12; }
.package-panel > p { max-width: 780px; color: #706a62; font-size: 13px; line-height: 1.8; }
.package-panel ul { margin: 34px 0 42px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); list-style: none; border-top: 1px solid var(--line); }
.package-panel li { min-height: 48px; padding: 14px 12px 10px 0; border-bottom: 1px solid var(--line); color: #5f5a52; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.package-panel li:nth-child(odd) { border-right: 1px solid var(--line); }
.package-panel li:nth-child(even) { padding-left: 18px; }
.package-panel__footer { margin-top: auto; padding-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 22px; border-top: 1px solid var(--line); color: #887e71; font-size: 8px; letter-spacing: .12em; }
.package-panel__footer a { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-size: 10px; text-transform: uppercase; }

.materials { background: #ded8cd; }
.materials__head { align-items: end; margin-bottom: 46px; }
.materials__head > div { grid-column: 1 / span 7; }
.materials__head > p { grid-column: 9 / -1; margin: 0 0 10px; color: #6b655d; font-size: 13px; line-height: 1.8; }
.materials-lab { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(430px, .9fr); box-shadow: 0 24px 70px rgba(37,33,28,.16); }
.materials-lab__image { position: relative; min-height: 700px; overflow: hidden; background: #8b7764; }
.materials-lab__image > img { height: 100%; object-fit: cover; }
.materials-lab__image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12,12,10,.48), transparent 45%); pointer-events: none; }
.material-tag { position: absolute; z-index: 1; padding: 8px 11px; display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.86); background: rgba(16,17,14,.74); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(8px); font-size: 8px; text-transform: uppercase; letter-spacing: .1em; }
.material-tag i { width: 7px; height: 7px; border: 1px solid #d3b990; border-radius: 50%; box-shadow: 0 0 0 5px rgba(211,185,144,.16); }
.material-tag--stone { left: 7%; bottom: 18%; }
.material-tag--control { left: 39%; top: 31%; }
.material-tag--glass { right: 7%; bottom: 12%; }
.materials-lab__content { min-width: 0; color: #f0ede6; background: #1b1c19; }
.technology-tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line-light); }
.technology-tabs button { min-height: 64px; padding: 0 15px; color: rgba(255,255,255,.46); background: transparent; border: 0; border-right: 1px solid var(--line-light); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.technology-tabs button:last-child { border-right: 0; }
.technology-tabs button.is-selected { color: #fff; background: #2a2924; }
.technology-panel { padding: 48px 42px 36px; }
.technology-panel[hidden] { display: none; }
.technology-panel > span { color: #bca27f; font-size: 9px; text-transform: uppercase; letter-spacing: .13em; }
.technology-panel h3 { margin: 42px 0 20px; font-size: clamp(30px, 2.8vw, 46px); line-height: 1.15; }
.technology-panel > p { color: rgba(255,255,255,.57); font-size: 12px; line-height: 1.85; }
.technology-points { margin-top: 38px; border-top: 1px solid var(--line-light); }
.technology-points > div { min-height: 74px; padding: 14px 0; display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; align-items: center; border-bottom: 1px solid var(--line-light); }
.technology-points i { grid-row: 1 / 3; color: #c5ab86; font-size: 22px; }
.technology-points strong { font-size: 12px; }
.technology-points small { color: rgba(255,255,255,.42); font-size: 9px; }

.management { background: #e9e5dd; }
.management__title { grid-column: 1 / span 7; }
.management__title h2 { font-size: clamp(42px, 3.8vw, 64px); }
.management__lead { grid-column: 9 / -1; align-self: end; margin: 0 0 7px; color: #6d685f; font-size: 13px; line-height: 1.75; }
.management__metrics { grid-column: 1 / -1; margin-top: 38px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.management__metrics article { position: relative; min-height: 205px; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.management__metrics article > i { color: #9b8b75; font-size: 24px; }
.management__metrics span { color: #9b8b75; font-size: 9px; }
.management__metrics article > span { position: absolute; right: 22px; top: 24px; }
.management__metrics h3 { margin: 40px 0 10px; font-size: 21px; }
.management__metrics p { margin: 0; color: #777169; font-size: 12px; line-height: 1.75; }

.about { display: grid; grid-template-columns: 50% 50%; background: var(--paper); }
.about__content { padding: 88px clamp(40px, 6vw, 104px); }
.about__content h2 { margin-bottom: 40px; font-size: clamp(42px, 4vw, 66px); }
.about__content > p:not(.eyebrow) { max-width: 670px; color: #666159; font-size: 14px; line-height: 1.9; }
.about__facts { margin-top: 40px; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.about__facts div { padding: 22px 20px 0 0; display: grid; border-right: 1px solid var(--line); }
.about__facts div + div { padding-left: 28px; border-right: 0; }
.about__facts span { font-family: var(--serif); font-size: 24px; }
.about__facts small { color: #89847b; text-transform: uppercase; letter-spacing: .12em; font-size: 8px; }
.about__image { position: relative; min-height: 620px; overflow: hidden; }
.about__image img { height: 100%; object-fit: cover; filter: saturate(.62) contrast(1.02); transform: scale(1.15); }
.about__image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(9,10,9,.5), transparent 36%); }
.about__image span { position: absolute; z-index: 1; left: 40px; bottom: 36px; color: rgba(255,255,255,.8); font-size: 9px; text-transform: uppercase; letter-spacing: .14em; }

.team { color: #f0ede7; background: #171815; }
.team__head { align-items: end; margin-bottom: 44px; }
.team__head > div { grid-column: 1 / span 8; }
.team__head > p { grid-column: 9 / -1; margin: 0 0 10px; color: rgba(255,255,255,.52); font-size: 13px; line-height: 1.8; }
.team-grid { display: grid; grid-template-columns: 1.15fr .85fr; border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.team-card { position: relative; min-height: 260px; padding: 28px; display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto 1fr; gap: 0 24px; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); overflow: hidden; }
.team-card--lead { background: #26251f; }
.team-card__monogram { width: 64px; height: 64px; grid-row: 1 / 3; display: grid; place-items: center; border: 1px solid rgba(202,182,152,.55); border-radius: 50%; color: #d2b78f; font-size: 24px; }
.team-card__monogram i { font-size: 23px; }
.team-card__number { justify-self: end; color: rgba(255,255,255,.3); font-size: 9px; }
.team-card__body { align-self: end; }
.team-card__body p { margin-bottom: 8px; color: #aa916e; font-size: 8px; text-transform: uppercase; letter-spacing: .14em; }
.team-card__body h3 { margin-bottom: 8px; font-size: clamp(22px, 2vw, 32px); line-height: 1.2; }
.team-card__body span { color: rgba(255,255,255,.44); font-size: 9px; text-transform: uppercase; letter-spacing: .09em; }
.team-card > i { position: absolute; right: 26px; bottom: 26px; color: rgba(202,182,152,.55); font-size: 20px; }
.team__promise { margin-top: 24px; min-height: 84px; padding: 18px 22px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; border: 1px solid var(--line-light); }
.team__promise > i { color: #c5ab86; font-size: 24px; }
.team__promise p { margin: 0; color: rgba(255,255,255,.6); font-size: 11px; }
.team__promise strong { color: #fff; }
.team__promise a { display: flex; align-items: center; gap: 12px; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }

.reviews { background: var(--ivory); }
.reviews__head { align-items: end; margin-bottom: 44px; }
.reviews__head > div:first-child { grid-column: 1 / span 8; }
.reviews__source { grid-column: 9 / -1; margin-bottom: 10px; display: grid; gap: 8px; }
.reviews__source > span { color: #9a8a75; font-size: 8px; text-transform: uppercase; letter-spacing: .13em; }
.reviews__source a { display: flex; align-items: center; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 11px; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.review-card { min-height: 370px; padding: 28px; display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #f8f6f1; }
.review-card--dark { color: #f2efe8; background: #20211e; }
.review-card__top { display: flex; align-items: center; justify-content: space-between; color: #9a8366; font-size: 9px; letter-spacing: .11em; }
.review-card__top div { color: #af916d; font-size: 11px; letter-spacing: .2em; }
.review-card blockquote { margin: 64px 0 42px; font-size: clamp(19px, 1.65vw, 27px); line-height: 1.5; }
.review-card footer { margin-top: auto; display: grid; gap: 4px; }
.review-card footer strong { font-size: 12px; }
.review-card footer span { color: #928b80; font-size: 8px; text-transform: uppercase; letter-spacing: .12em; }
.review-card--dark footer span { color: rgba(255,255,255,.4); }

.format { color: #f1eee8; background: #1c1d1b; }
.format__intro { align-items: end; }
.format__intro > div { grid-column: 1 / span 7; }
.format__intro > p { grid-column: 9 / -1; margin: 0 0 10px; color: rgba(255,255,255,.54); font-size: 13px; line-height: 1.8; }
.project-filter { margin-top: 42px; display: grid; grid-template-columns: minmax(0, 2fr) minmax(330px, .86fr); border: 1px solid var(--line-light); }
.project-filter__controls { display: grid; grid-template-columns: repeat(2, 1fr); }
.project-filter fieldset { min-width: 0; min-height: 180px; margin: 0; padding: 24px 26px; border: 0; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.project-filter fieldset:nth-child(2n) { border-right: 0; }
.project-filter fieldset:nth-last-child(-n+2) { border-bottom: 0; }
.project-filter legend { width: 100%; padding: 0; display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.48); font-size: 9px; line-height: 1.4; text-transform: uppercase; letter-spacing: .13em; }
.project-filter legend i { color: #c5b298; font-size: 17px; }
.filter-options { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 7px; }
.filter-option { min-height: 38px; padding: 9px 13px; border: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.56); background: transparent; font-size: 10px; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.filter-option:hover { color: #fff; border-color: rgba(255,255,255,.5); }
.filter-option.is-selected { color: var(--ink); border-color: #d0bea4; background: #d0bea4; }
.filter-result { padding: 28px 30px; display: flex; flex-direction: column; background: #292824; border-left: 1px solid var(--line-light); }
.filter-result__top { display: flex; align-items: center; justify-content: space-between; color: rgba(255,255,255,.42); font-size: 9px; text-transform: uppercase; letter-spacing: .14em; }
.filter-result__top i { color: #c5b298; font-size: 22px; }
.filter-result > p { margin: 62px 0 18px; color: #f1eee8; font-size: clamp(22px, 2vw, 30px); line-height: 1.35; font-weight: 700; }
.filter-result small { margin-bottom: 36px; color: rgba(255,255,255,.5); font-size: 10px; line-height: 1.7; }
.filter-result .button { margin-top: auto; min-width: 100%; }
.filter-result .button i { font-size: 15px; }

.faq { background: #e8e3da; }
.faq__intro { grid-column: 1 / span 5; align-self: start; }
.faq__intro h2 { margin-bottom: 28px; font-size: clamp(42px, 4vw, 66px); }
.faq__intro > p:not(.eyebrow) { max-width: 440px; color: #716b62; font-size: 13px; line-height: 1.8; }
.faq__intro .text-link { margin-top: 28px; }
.faq-list { grid-column: 6 / -1; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { min-height: 82px; padding: 20px 4px; display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 14px; cursor: pointer; list-style: none; font-size: clamp(17px, 1.45vw, 23px); font-weight: 700; line-height: 1.35; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: #9a8366; font-size: 9px; font-weight: 500; }
.faq-list summary i { color: #8c765d; font-size: 16px; transition: transform .25s ease; }
.faq-list details[open] summary i { transform: rotate(45deg); }
.faq-list details p { max-width: 760px; margin: -4px 46px 28px 60px; color: #6e685f; font-size: 12px; line-height: 1.85; }

.brief { display: grid; grid-template-columns: 41% 59%; background: var(--ivory); }
.brief__intro { padding: 88px clamp(40px, 6vw, 100px); background: #ded8cd; }
.brief__intro h2 { margin-bottom: 34px; }
.brief__intro > p:not(.eyebrow) { max-width: 450px; color: #69645b; font-size: 13px; line-height: 1.85; }
.brief__privacy { margin-top: 46px; display: flex; align-items: center; gap: 10px; color: #7b756c; font-size: 8px; text-transform: uppercase; letter-spacing: .13em; }
.brief__privacy i { font-size: 16px; }
.brief-form { padding: 80px clamp(40px, 7vw, 118px); }
.brief-form fieldset { padding: 0 0 32px; margin: 0 0 32px; border: 0; border-bottom: 1px solid var(--line); }
.brief-form legend { margin-bottom: 20px; font-family: var(--serif); font-size: 18px; }
.brief-form legend span { margin-right: 16px; color: #9b8972; font-family: var(--sans); font-size: 9px; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { padding: 11px 16px; border: 1px solid var(--line); background: transparent; color: #777168; font-size: 10px; }
.choice:hover, .choice.is-selected { color: #fff; background: var(--ink); border-color: var(--ink); }
.brief-form__split { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.brief-form label { display: grid; gap: 9px; margin-bottom: 24px; color: #6a655d; font-size: 9px; text-transform: uppercase; letter-spacing: .11em; }
.brief-form input, .brief-form select, .brief-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(23,23,20,.28);
  border-radius: 0;
  padding: 12px 0;
  outline: none;
  color: var(--ink);
  background: transparent;
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
  transition: border-color .2s ease;
}
.brief-form select { appearance: none; background-image: linear-gradient(45deg,transparent 50%,#777 50%),linear-gradient(135deg,#777 50%,transparent 50%); background-position: calc(100% - 8px) 50%,100% 50%; background-size: 8px 8px,8px 8px; background-repeat: no-repeat; }
.brief-form input:focus, .brief-form select:focus, .brief-form textarea:focus { border-color: var(--ink); }
.brief-form textarea { resize: vertical; min-height: 92px; }
.brief-form__submit { margin-top: 16px; display: grid; grid-template-columns: minmax(240px, 1fr) 1fr; align-items: center; gap: 24px; }
.brief-form__submit p { margin: 0; color: #969087; font-size: 8px; line-height: 1.6; }
.form-status { min-height: 24px; margin: 16px 0 0; color: #52654c; font-size: 12px; }

.footer { padding: 56px 0 24px; color: rgba(255,255,255,.77); background: #121311; }
.footer__top { align-items: start; padding-bottom: 68px; }
.brand--footer { grid-column: 1 / span 4; }
.footer__contact { grid-column: 6 / span 3; display: grid; gap: 5px; font-size: 13px; }
.footer__contact span { margin-bottom: 12px; color: rgba(255,255,255,.38); font-size: 8px; text-transform: uppercase; letter-spacing: .15em; }
.footer__contact a:hover { color: #fff; }
.footer__nav { grid-column: 10 / -1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; font-size: 10px; }
.footer__nav a:hover { color: #fff; }
.footer__bottom { padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.35); font-size: 8px; text-transform: uppercase; letter-spacing: .12em; }
.footer__bottom a { color: rgba(255,255,255,.7); }

h1,
h2,
h3 {
  font-weight: 700;
  font-style: normal;
}

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1120px) {
  :root { --shell: min(100% - 48px, 1500px); }
  .site-header { padding-inline: 24px; gap: 22px; }
  .site-nav { gap: 20px; }
  .header-cta { min-width: 150px; }
  .hero__qualifiers { inset-inline: 24px; }
  .statement__intro { grid-column: 1 / span 5; }
  .statement__body { grid-column: 6 / -1; }
  .craft { grid-template-columns: 50% 50%; }
  .cycle-list { grid-template-columns: repeat(2, 1fr); }
  .cycle-item:nth-child(even) { border-right: 0; }
  .cycle-item:nth-child(-n+4) { border-bottom: 1px solid var(--line-light); }
  .cycle-item:nth-child(5) { border-right: 1px solid var(--line-light); }
  .estimate-audit { width: min(760px, 72vw); }
  .package-builder { grid-template-columns: minmax(290px, .8fr) minmax(0, 1.2fr); }
  .materials-lab { grid-template-columns: 48% 52%; }
  .materials-lab__image { min-height: 740px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .management__metrics { grid-template-columns: repeat(2, 1fr); }
  .brief { grid-template-columns: 36% 64%; }
}

@media (max-width: 860px) {
  :root { --shell: calc(100% - 36px); }
  .site-header { top: 10px; width: calc(100% - 20px); height: 64px; padding-inline: 16px; grid-template-columns: 1fr auto; }
  .site-header.is-scrolled { top: 6px; height: 60px; }
  .header-cta { display: none; }
  .menu-toggle { position: relative; z-index: 3; width: 46px; height: 46px; padding: 0; display: grid; place-content: center; gap: 7px; color: inherit; border: 1px solid currentColor; background: transparent; }
  .menu-toggle span:not(.visually-hidden) { display: block; width: 18px; height: 1px; background: currentColor; transition: transform .25s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 0; padding: 120px 30px 40px; display: flex; flex-direction: column; justify-content: flex-start; gap: 12px; color: var(--ivory); background: #181916; transform: translateX(100%); transition: transform .35s ease; }
  .site-nav.is-open { transform: none; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.16); font-family: var(--serif); font-size: 30px; }
  .page-grid { grid-template-columns: repeat(6, 1fr); gap: 18px; }
  .hero { min-height: 780px; height: 100svh; background-position: 62% center; }
  .hero__copy { grid-column: 1 / -1; margin-top: 40px; }
  .hero__lead { max-width: 550px; }
  .hero__note { display: none; }
  .hero__qualifiers { grid-template-columns: 1fr; border: 0; bottom: 16px; }
  .hero__qualifiers div { display: none; min-height: auto; border: 0; }
  .hero__qualifiers div:first-child { display: flex; padding: 14px 0; border-top: 1px solid var(--line-light); }
  .hero__visual-label { display: none; }
  .section { padding: 72px 0; }
  .section-head > div, .section-head__copy, .section-head > .text-link { grid-column: 1 / -1; }
  .section-head__copy { margin-top: 16px; }
  .section-head > .text-link { justify-self: start; margin-top: 18px; }
  .project-card--wide .project-card__media { aspect-ratio: 16/10; }
  .advantages__head > div, .advantages__head > p { grid-column: 1 / -1; }
  .advantages__head > p { margin-top: 20px; }
  .advantages__grid { grid-template-columns: repeat(2, 1fr); }
  .statement__intro, .statement__body { grid-column: 1 / -1; }
  .statement__intro { position: static; margin-bottom: 38px; }
  .statement__lead { margin-bottom: 30px; }
  .craft { grid-template-columns: 1fr; }
  .craft__image { min-height: 500px; }
  .craft__content { padding: 62px 36px; }
  .cycle__top > div, .cycle__top > p { grid-column: 1 / -1; }
  .cycle__top > p { margin-top: 18px; }
  .cycle__promise { grid-template-columns: 1fr; }
  .cycle__promise span { border-right: 0; border-bottom: 1px solid var(--line-light); }
  .cycle__promise span:last-child { border-bottom: 0; }
  .estimate__visual { min-height: 1050px; }
  .estimate__shade { background: linear-gradient(90deg, rgba(10,11,9,.96), rgba(10,11,9,.67) 70%, rgba(10,11,9,.32)), linear-gradient(0deg, rgba(10,11,9,.82), transparent 35%); }
  .estimate__content { padding-bottom: 210px; }
  .estimate-audit { width: min(100%, 720px); }
  .package-builder { margin-top: -150px; grid-template-columns: 1fr; }
  .package-builder__intro { border-right: 0; border-bottom: 1px solid var(--line); }
  .package-tabs { grid-template-columns: repeat(3, 1fr); }
  .package-tabs button { padding: 0 12px; border-right: 1px solid var(--line); }
  .package-tabs button:last-child { border-right: 0; }
  .package-tabs button.is-selected::before { display: none; }
  .materials__head > div, .materials__head > p { grid-column: 1 / -1; }
  .materials__head > p { margin-top: 20px; }
  .materials-lab { grid-template-columns: 1fr; }
  .materials-lab__image { min-height: 560px; }
  .technology-panel { min-height: 590px; }
  .management__title, .management__lead, .management__metrics { grid-column: 1 / -1; }
  .management__lead { margin-top: 20px; }
  .management__metrics { margin-top: 30px; }
  .about { grid-template-columns: 1fr; }
  .about__image { min-height: 520px; order: -1; }
  .team__head > div, .team__head > p { grid-column: 1 / -1; }
  .team__head > p { margin-top: 20px; }
  .team-grid { grid-template-columns: 1fr; }
  .team__promise { grid-template-columns: auto 1fr; }
  .team__promise a { grid-column: 2; justify-self: start; }
  .reviews__head > div:first-child, .reviews__source { grid-column: 1 / -1; }
  .reviews__source { margin-top: 20px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .review-card { min-height: 310px; }
  .format__intro > div, .format__intro > p { grid-column: 1 / -1; }
  .format__intro > p { margin-top: 24px; }
  .project-filter { grid-template-columns: 1fr; }
  .filter-result { min-height: 320px; border-left: 0; border-top: 1px solid var(--line-light); }
  .faq__intro, .faq-list { grid-column: 1 / -1; }
  .faq-list { margin-top: 42px; }
  .brief { grid-template-columns: 1fr; }
  .brief__privacy { margin-top: 38px; }
  .brief-form { padding-block: 62px; }
  .footer__top > * { grid-column: auto; }
  .brand--footer { grid-column: 1 / span 3; }
  .footer__contact { grid-column: 4 / -1; }
  .footer__nav { grid-column: 1 / -1; margin-top: 40px; }
}

@media (max-width: 600px) {
  :root { --shell: calc(100% - 30px); }
  body { font-size: 14px; }
  .brand__name { font-size: 15px; }
  .brand__descriptor { font-size: 6px; }
  .hero { min-height: 680px; height: 100svh; background-position: 66% center; }
  .hero::before { background: linear-gradient(90deg, rgba(8,11,10,.86), rgba(8,11,10,.35) 80%); }
  h1 { font-size: clamp(41px, 13vw, 62px); }
  h2 { font-size: clamp(37px, 11vw, 52px); }
  .hero__lead { font-size: 14px; }
  .hero__actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .button--solid { min-width: 210px; }
  .project-grid { grid-template-columns: 1fr; gap: 46px; }
  .project-card--wide { grid-column: auto; }
  .project-card__media, .project-card--wide .project-card__media { aspect-ratio: 4/3; }
  .project-card__meta { align-items: flex-start; }
  .project-card__meta dl { gap: 16px; }
  .project-card__meta dl div:nth-child(2) { display: none; }
  .advantages__grid { grid-template-columns: 1fr; }
  .advantage-card { min-height: 210px; }
  .craft__image { min-height: 390px; }
  .craft__content { padding: 54px 24px; }
  .cycle-list { grid-template-columns: 1fr; }
  .cycle-item { min-height: 270px; border-right: 0 !important; border-bottom: 1px solid var(--line-light); }
  .cycle-item:last-child { border-bottom: 0; }
  .cycle-item__icon { margin: 28px 0 20px; }
  .estimate { padding-bottom: 70px; }
  .estimate__visual { min-height: 1360px; }
  .estimate__visual > img { object-position: 62% center; }
  .estimate__shade { background: linear-gradient(90deg, rgba(10,11,9,.96), rgba(10,11,9,.74)), linear-gradient(0deg, rgba(10,11,9,.84), transparent 35%); }
  .estimate__content { padding-top: 70px; padding-bottom: 150px; }
  .estimate__content h2 { font-size: clamp(36px, 10.5vw, 48px); }
  .estimate-audit { grid-template-columns: 1fr; }
  .estimate-audit article { min-height: 132px; }
  .package-builder { width: calc(100% - 30px); margin-top: -90px; }
  .package-builder__intro, .package-panels { padding: 34px 22px; }
  .package-tabs { grid-template-columns: 1fr; }
  .package-tabs button { border-right: 0; }
  .package-tabs button.is-selected::before { display: block; }
  .package-panel h3 { margin-top: 34px; }
  .package-panel ul { grid-template-columns: 1fr; }
  .package-panel li:nth-child(odd) { border-right: 0; }
  .package-panel li:nth-child(even) { padding-left: 0; }
  .package-panel__footer { align-items: flex-start; flex-direction: column; }
  .materials-lab { width: 100%; }
  .materials-lab__image { min-height: 430px; }
  .material-tag { font-size: 7px; }
  .material-tag--stone { left: 5%; bottom: 10%; }
  .material-tag--control { left: 28%; top: 28%; }
  .material-tag--glass { display: none; }
  .technology-tabs button { min-height: 56px; padding-inline: 8px; font-size: 8px; }
  .technology-panel { min-height: 630px; padding: 38px 22px 28px; }
  .technology-panel h3 { margin-top: 32px; }
  .management__metrics { grid-template-columns: 1fr; }
  .management__metrics article { min-height: 170px; }
  .management__metrics h3 { margin-top: 30px; }
  .about__image { min-height: 430px; }
  .about__content { padding: 58px 22px; }
  .about__facts { grid-template-columns: 1fr; }
  .about__facts div { padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .about__facts div + div { padding-left: 0; border-bottom: 0; }
  .team-card { min-height: 250px; padding: 22px; grid-template-columns: auto 1fr; gap: 0 18px; }
  .team-card__monogram { width: 52px; height: 52px; }
  .team-card__number { position: absolute; right: 22px; top: 22px; }
  .team-card > i { right: 22px; bottom: 22px; }
  .team__promise { grid-template-columns: 1fr; padding: 22px; }
  .team__promise a { grid-column: 1; }
  .review-card { min-height: 300px; padding: 24px 20px; }
  .review-card blockquote { margin-top: 44px; font-size: 20px; }
  .project-filter__controls { grid-template-columns: 1fr; }
  .project-filter fieldset { min-height: 150px; border-right: 0; border-bottom: 1px solid var(--line-light) !important; }
  .project-filter fieldset:last-child { border-bottom: 0 !important; }
  .filter-result { min-height: 290px; padding: 24px 20px; }
  .filter-result > p { margin-top: 42px; }
  .faq-list summary { min-height: 72px; grid-template-columns: 28px 1fr auto; gap: 10px; font-size: 16px; }
  .faq-list details p { margin: 0 28px 24px 38px; }
  .brief__intro, .brief-form { padding-inline: 22px; }
  .brief-form__split, .brief-form__submit { grid-template-columns: 1fr; gap: 0; }
  .brief-form__submit { gap: 16px; }
  .footer__top { gap: 44px; }
  .brand--footer, .footer__contact, .footer__nav { grid-column: 1 / -1; }
  .footer__contact { margin-top: 0; }
  .footer__nav { margin-top: 0; }
  .footer__bottom { flex-direction: column; }
}

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


/* WordPress integration */
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { width: auto; max-width: 210px; max-height: 48px; }
.site-nav__list,
.footer-menu { margin: 0; padding: 0; list-style: none; }
.site-nav__list { display: flex; align-items: center; justify-content: center; gap: clamp(22px, 3vw, 54px); }
.footer__nav .footer-menu { display: contents; }
.brief-form__website { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-status--error { color: #8c3028; }
.wp-content { width: var(--shell); min-height: 60vh; margin: 0 auto; padding: 150px 0 90px; }
.wp-content article { max-width: 900px; }
.wp-content h1 { font-size: clamp(42px, 6vw, 82px); }
.wp-content a:not(.button) { text-decoration: underline; text-underline-offset: 3px; }
.wp-content .post-meta { color: #777168; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.admin-bar .site-header { top: 46px; }
.admin-bar .site-header.is-scrolled { top: 40px; }

@media (max-width: 860px) {
  .site-nav__list { width: 100%; flex-direction: column; align-items: stretch; gap: 0; }
  .admin-bar .site-header { top: 56px; }
  .admin-bar .site-header.is-scrolled { top: 52px; }
}

@media screen and (max-width: 782px) {
  .admin-bar .site-header { top: 56px; }
  .admin-bar .site-header.is-scrolled { top: 52px; }
}
