:root {
  --ink: #191a17;
  --ink-soft: #4e5049;
  --paper: #f7f4ee;
  --paper-2: #efe9de;
  --white: #fffdfa;
  --line: #ddd5c8;
  --gold: #9a752f;
  --gold-deep: #76571e;
  --gold-soft: #eadfca;
  --olive: #334940;
  --olive-2: #496258;
  --olive-soft: #dce5df;
  --danger: #9b443d;
  --shadow: 0 24px 70px rgba(30, 28, 21, .12);
  --shadow-sm: 0 12px 34px rgba(30, 28, 21, .09);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }

.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 1000;
  transform: translateY(-160%); padding: 10px 14px; border-radius: 8px;
  background: var(--ink); color: white;
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-paper { background: var(--paper); }
.section-dark { background: var(--ink); color: white; }
.section-olive { background: var(--olive); color: white; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  margin: 0 0 16px; font-size: .76rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold-deep);
}
.section-dark .eyebrow, .section-olive .eyebrow { color: #e4c985; }
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.kicker { color: var(--gold-deep); font-weight: 750; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.035em; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
h1 { font-size: clamp(3rem, 7vw, 5.9rem); max-width: 900px; }
h2 { font-size: clamp(2.2rem, 4.4vw, 4.1rem); }
h3 { font-size: 1.22rem; letter-spacing: -.02em; }
p { margin: 0; }
.lead { margin-top: 24px; max-width: 760px; font-size: clamp(1.08rem, 1.7vw, 1.3rem); color: var(--ink-soft); }
.section-dark .lead, .section-olive .lead { color: rgba(255,255,255,.77); }
.muted { color: var(--ink-soft); }
.small { font-size: .88rem; color: var(--ink-soft); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 253, 250, .96); border-bottom: 1px solid rgba(221,213,200,.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 30px rgba(32, 29, 23, .035);
}
.nav-wrap { min-height: 82px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: 0 0 auto; }
.brand-mark {
  display: block; width: 44px; height: 44px; border: 0; border-radius: 0;
  background: transparent url("../img/logo.jpg") center / contain no-repeat; color: transparent;
  font-size: 0; box-shadow: none; mix-blend-mode: multiply;
}
.brand-copy { display: grid; line-height: 1.08; }
.brand-name { font-family: Georgia, serif; font-size: 1.3rem; letter-spacing: -.02em; }
.brand-edition { margin-top: 3px; font-size: .68rem; text-transform: uppercase; letter-spacing: .11em; color: var(--ink-soft); font-weight: 750; }
.nav { display: flex; align-items: center; justify-content: center; gap: 6px; margin-left: auto; }
.nav-link, .nav-trigger {
  display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 13px;
  border: 0; border-radius: 10px; background: transparent; color: #393b36; text-decoration: none;
  font: inherit; font-size: .89rem; font-weight: 750; cursor: pointer;
}
.nav-link:focus-visible, .nav-trigger:focus-visible, .nav-signin:focus-visible, .mobile-toggle:focus-visible {
  outline: 2px solid rgba(181, 142, 66, .72); outline-offset: 2px;
}
.nav-link:hover, .nav-link[aria-current="page"], .nav-trigger:hover, .nav-group.has-current > .nav-trigger, .nav-group.open > .nav-trigger {
  color: var(--gold-deep); background: #f6f1e8;
}
.nav-group { position: relative; }
.nav-chevron {
  width: 7px; height: 7px; margin-top: -4px; border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .18s ease;
}
.nav-group.open .nav-chevron { margin-top: 3px; transform: rotate(225deg); }
.nav-dropdown {
  display: none; position: absolute; top: calc(100% + 13px); left: 50%; z-index: 110;
  width: 390px; padding: 12px; border: 1px solid var(--line); border-radius: 17px;
  background: rgba(255, 254, 251, .99); box-shadow: 0 22px 60px rgba(34, 31, 25, .14);
  transform: translateX(-50%);
}
.nav-dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-dropdown-wide { width: 500px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
.nav-group.open > .nav-dropdown { display: grid; }
@media (hover: hover) and (pointer: fine) {
  .nav-group:hover > .nav-dropdown { display: grid; }
}
.nav-dropdown-link {
  display: grid; gap: 4px; padding: 14px; border-radius: 12px; color: var(--ink);
  text-decoration: none; transition: background .18s ease, transform .18s ease;
}
.nav-dropdown-link:hover, .nav-dropdown-link[aria-current="page"] { background: #f5f0e7; transform: translateY(-1px); }
.nav-dropdown-link strong { display: flex; align-items: center; gap: 9px; font-size: .9rem; }
.nav-dropdown-link strong::before { content: ""; width: 16px; height: 1px; background: var(--gold); }
.nav-dropdown-link small { padding-left: 25px; color: var(--ink-soft); font-size: .72rem; line-height: 1.45; }
.nav-actions { display: flex; align-items: center; gap: 15px; padding-left: 20px; border-left: 1px solid var(--line); }
.nav-signin { color: #46473f; font-size: .86rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
.nav-signin:hover { color: var(--gold-deep); }
.nav-actions .btn-primary { min-height: 44px; padding-inline: 18px; border-radius: 12px; white-space: nowrap; }
.nav-mobile-only { display: none; }
.mobile-toggle { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line); background: var(--white); border-radius: 10px; }
.mobile-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 4px auto; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px;
  padding: 0 18px; border-radius: 999px; text-decoration: none; border: 1px solid transparent;
  font-weight: 800; font-size: .9rem; transition: .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: white; }
.btn-primary:hover { background: #2b2c27; }
.btn-gold { background: var(--gold); color: white; }
.btn-gold:hover { background: var(--gold-deep); }
.btn-outline { border-color: var(--line); background: rgba(255,255,255,.5); }
.btn-outline:hover { border-color: #b8ad9b; }
.btn-light { background: white; color: var(--ink); }
.btn-link { min-height: unset; padding: 0; border-radius: 0; color: var(--gold-deep); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero { padding: 76px 0 70px; overflow: hidden; background: linear-gradient(180deg, #fffdfa 0%, #f8f4ed 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .98fr) minmax(420px, .82fr); gap: 68px; align-items: center; }
.hero h1 { font-size: clamp(3.2rem, 6.4vw, 5.7rem); }
.hero-visual { position: relative; min-height: 560px; }
.hero-photo {
  position: absolute; inset: 0 0 48px 48px; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); border-radius: inherit; }
.status-panel {
  position: absolute; left: 0; bottom: 0; width: min(390px, 88%); background: rgba(255,253,250,.97);
  border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); padding: 19px;
}
.status-head { display: flex; justify-content: space-between; align-items: start; gap: 20px; }
.status-title { font-weight: 850; }
.status-sub { font-size: .78rem; color: var(--ink-soft); margin-top: 2px; }
.status-badge { font-size: .7rem; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; color: #285d4b; background: #e3eee8; padding: 7px 9px; border-radius: 999px; }
.status-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 17px; }
.status-cell { background: var(--paper); border-radius: 10px; padding: 11px 8px; }
.status-cell strong { display: block; font-size: 1.06rem; }
.status-cell span { display: block; font-size: .68rem; color: var(--ink-soft); margin-top: 1px; }

.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.trust-grid { min-height: 86px; display: grid; grid-template-columns: repeat(5, 1fr); }
.trust-grid div { display: grid; place-items: center; text-align: center; font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #66685f; border-right: 1px solid var(--line); }
.trust-grid div:last-child { border-right: 0; }

.heading-row { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 44px; }
.heading-row > div:first-child { max-width: 790px; }
.heading-row p { max-width: 420px; color: var(--ink-soft); }

.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--white);
  box-shadow: 0 1px 0 rgba(0,0,0,.01); position: relative; overflow: hidden;
}
.card-dark { background: #23241f; color: white; border-color: #35362f; }
.card-soft { background: var(--paper); }
.card-number { font-family: Georgia, serif; font-size: 2.1rem; color: #bea160; line-height: 1; margin-bottom: 40px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: .94rem; }
.card-dark p { color: rgba(255,255,255,.68); }
.card-link { display: inline-flex; margin-top: 20px; text-decoration: none; font-weight: 800; color: var(--gold-deep); }
.card-dark .card-link { color: #e7ca82; }
.icon-tile { width: 42px; height: 42px; border-radius: 11px; background: var(--gold-soft); color: var(--gold-deep); display: grid; place-items: center; font-weight: 900; margin-bottom: 24px; }

.workflow { display: grid; grid-template-columns: repeat(7, 1fr); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: white; }
.workflow-step { padding: 22px 14px; min-height: 145px; border-right: 1px solid var(--line); }
.workflow-step:last-child { border-right: 0; }
.workflow-step span { display: block; color: var(--gold-deep); font-size: .72rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.workflow-step strong { display: block; margin-top: 24px; font-size: .93rem; line-height: 1.28; }
.workflow-step small { display: block; margin-top: 6px; color: var(--ink-soft); font-size: .72rem; line-height: 1.35; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 68px; align-items: center; }
.split.reverse .media { order: -1; }
.media { border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-sm); background: var(--paper-2); }
.media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.media-screenshot {
  padding: 14px;
  background: linear-gradient(145deg, #e9e4da, #f8f5ef);
  border: 1px solid var(--line);
}
.media-screenshot img {
  width: 100%;
  height: auto;
  max-height: 620px;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: top center;
  border-radius: 16px;
}
.checks { display: grid; gap: 12px; margin-top: 26px; padding: 0; list-style: none; }
.checks li { position: relative; padding-left: 30px; color: #3f413b; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--olive-soft); color: var(--olive); display: grid; place-items: center; font-size: .72rem; font-weight: 900; }

.data-panel { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: white; box-shadow: var(--shadow-sm); }
.data-panel-head { padding: 20px 22px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.data-panel-head strong { font-size: 1.03rem; }
.data-panel-head span { color: var(--ink-soft); font-size: .8rem; }
.data-row { display: grid; grid-template-columns: 1.6fr .8fr .8fr .8fr; gap: 12px; align-items: center; padding: 15px 22px; border-bottom: 1px solid #ece7de; font-size: .88rem; }
.data-row:last-child { border-bottom: 0; }
.data-row.head { background: #f7f3ec; color: #77796f; text-transform: uppercase; letter-spacing: .06em; font-size: .67rem; font-weight: 850; }
.data-item strong { display: block; }
.data-item span { display: block; font-size: .74rem; color: var(--ink-soft); margin-top: 2px; }
.tag { display: inline-flex; width: fit-content; padding: 5px 8px; border-radius: 999px; font-size: .7rem; font-weight: 850; background: #ece8df; color: #595a54; }
.tag-green { background: #dfece5; color: #2f5b4c; }
.tag-gold { background: #f0e4c9; color: #76571e; }
.tag-red { background: #f2dfdc; color: #82463e; }

.project-shell { border: 1px solid #dad3c6; border-radius: 22px; overflow: hidden; background: #fbfaf7; box-shadow: var(--shadow-sm); }
.project-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; background: white; border-bottom: 1px solid var(--line); }
.project-top strong { font-size: 1.03rem; }
.project-top small { display: block; color: var(--ink-soft); margin-top: 2px; }
.project-main { display: grid; grid-template-columns: 190px 1fr; min-height: 380px; }
.project-side { background: #24251f; color: white; padding: 18px 13px; }
.project-side div { padding: 10px 12px; border-radius: 8px; font-size: .8rem; color: rgba(255,255,255,.68); margin-bottom: 4px; }
.project-side div.active { background: rgba(206,168,84,.18); color: #f0d58e; }
.project-content { padding: 22px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.metric { border: 1px solid var(--line); background: white; border-radius: 12px; padding: 13px; }
.metric span { display: block; color: var(--ink-soft); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; }
.metric strong { display: block; margin-top: 3px; font-size: 1.15rem; }
.room-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 12px; margin-top: 12px; }
.room-card { border: 1px solid var(--line); background: white; border-radius: 12px; padding: 15px; }
.room-card h4 { margin: 0; font-size: .86rem; }
.room-card ul { list-style: none; padding: 0; margin: 12px 0 0; }
.room-card li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid #eee9e0; font-size: .78rem; }
.room-card li span:last-child { color: var(--ink-soft); }

.quote-band { border-radius: 26px; padding: 48px; background: var(--ink); color: white; display: grid; grid-template-columns: 1fr auto; gap: 38px; align-items: center; }
.quote-band h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
.quote-band p { margin-top: 15px; color: rgba(255,255,255,.7); max-width: 720px; }

.page-hero { padding: 78px 0 70px; background: var(--paper); border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .7fr); gap: 60px; align-items: center; }
.page-hero h1 { font-size: clamp(3rem, 6vw, 5.3rem); }
.page-hero .media img { aspect-ratio: 5/4; }
.page-hero .media-screenshot img { aspect-ratio: auto; }
.breadcrumb { font-size: .77rem; color: var(--ink-soft); margin-bottom: 22px; }
.breadcrumb a { text-decoration: none; }

.feature-list { display: grid; gap: 18px; }
.feature-line { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 21px 0; border-bottom: 1px solid var(--line); }
.feature-line:last-child { border-bottom: 0; }
.feature-line .n { font-family: Georgia, serif; font-size: 1.8rem; color: #b79550; line-height: 1; }
.feature-line p { margin-top: 6px; color: var(--ink-soft); }

.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 44px; }
.price-card { border: 1px solid var(--line); border-radius: 22px; padding: 28px; background: white; position: relative; }
.price-card.recommended { border-color: #ad8d4a; box-shadow: var(--shadow-sm); }
.price-card .label { color: var(--gold-deep); text-transform: uppercase; letter-spacing: .09em; font-size: .72rem; font-weight: 850; }
.price { font-family: Georgia, serif; font-size: 3rem; margin: 14px 0 0; }
.price small { font-family: inherit; font-size: 1rem; color: var(--ink-soft); }
.price-card > p { margin-top: 8px; color: var(--ink-soft); min-height: 70px; }
.price-card ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 11px; font-size: .88rem; }
.price-card li { position: relative; padding-left: 22px; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--olive); font-weight: 900; }

.form-shell { display: grid; grid-template-columns: .78fr 1.22fr; gap: 28px; align-items: start; }
.form-aside { position: sticky; top: 104px; border-radius: 22px; background: var(--ink); color: white; padding: 30px; }
.form-aside h2 { font-size: 2.2rem; }
.form-aside p { margin-top: 16px; color: rgba(255,255,255,.72); }
.form-points { margin-top: 24px; display: grid; gap: 13px; }
.form-point { border-top: 1px solid rgba(255,255,255,.14); padding-top: 13px; font-size: .87rem; color: rgba(255,255,255,.78); }
.form-card { border: 1px solid var(--line); border-radius: 22px; background: white; padding: 30px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
label { font-size: .8rem; font-weight: 800; color: #41433d; }
input, select, textarea { width: 100%; border: 1px solid #d7d0c4; border-radius: 10px; background: #fffefa; padding: 12px 13px; color: var(--ink); outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(154,117,47,.10); }
textarea { min-height: 125px; resize: vertical; }
.form-help { margin-top: 15px; font-size: .78rem; color: var(--ink-soft); }
.notice { border-radius: 12px; padding: 13px 15px; margin-bottom: 18px; font-size: .88rem; }
.notice-success { background: #e3eee8; color: #285d4b; }
.notice-error { background: #f3e2df; color: #7e433c; }
.hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.site-footer { background: #181914; color: white; padding: 60px 0 28px; }
.site-footer .brand-mark { filter: grayscale(1) invert(1); mix-blend-mode: screen; }
.footer-grid { display: grid; grid-template-columns: 1.35fr repeat(3, .8fr); gap: 40px; }
.footer-brand p { margin-top: 14px; max-width: 350px; color: rgba(255,255,255,.62); font-size: .9rem; }
.footer-title { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: #d5b96f; font-weight: 850; margin-bottom: 15px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: rgba(255,255,255,.72); text-decoration: none; font-size: .88rem; }
.footer-links a:hover { color: white; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.46); font-size: .76rem; }
.footer-bottom a { color: inherit; }

@media (max-width: 1100px) {
  .nav { display: none; position: absolute; top: 82px; left: 20px; right: 20px; max-height: calc(100vh - 100px); overflow-y: auto; background: #fffefa; border: 1px solid var(--line); border-radius: 18px; padding: 12px; box-shadow: var(--shadow-sm); flex-direction: column; align-items: stretch; gap: 3px; }
  .nav.open { display: flex; }
  .nav-link, .nav-trigger { width: 100%; justify-content: space-between; min-height: 46px; padding-inline: 13px; }
  .nav-group { width: 100%; }
  .nav-dropdown, .nav-dropdown-wide { position: static; width: auto; padding: 3px 0 8px 13px; border: 0; border-radius: 0; background: transparent; box-shadow: none; transform: none; grid-template-columns: 1fr; }
  .nav-dropdown::before { display: none; }
  .nav-dropdown-link { padding: 10px 13px; }
  .nav-dropdown-link small { display: none; }
  .nav-mobile-only { display: inline-flex; }
  .nav-mobile-demo { justify-content: center; margin-top: 4px; background: var(--ink); color: white; }
  .nav-mobile-demo:hover { background: #2b2c27; color: white; }
  .mobile-toggle { display: block; }
  .nav-actions { padding-left: 0; border-left: 0; }
  .nav-signin { display: none; }
  .hero-grid, .page-hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 500px; max-width: 720px; width: 100%; }
  .workflow { grid-template-columns: repeat(4,1fr); }
  .workflow-step { border-bottom: 1px solid var(--line); }
  .workflow-step:nth-child(4) { border-right: 0; }
  .workflow-step:nth-child(n+5) { border-bottom: 0; }
  .cards-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-grid > :last-child { grid-column: 2 / -1; }
}

@media (max-width: 800px) {
  .section { padding: 72px 0; }
  .container { width: min(calc(100% - 28px), var(--max)); }
  .hero { padding-top: 52px; }
  .hero-visual { min-height: 430px; }
  .hero-photo { left: 26px; }
  .split, .form-shell { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .media { order: 0; }
  .cards-2, .cards-3, .pricing-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2,1fr); }
  .trust-grid div { min-height: 66px; border-bottom: 1px solid var(--line); }
  .trust-grid div:nth-child(2n) { border-right: 0; }
  .trust-grid div:last-child { grid-column: 1/-1; border-bottom: 0; }
  .heading-row { align-items: start; flex-direction: column; }
  .workflow { grid-template-columns: repeat(2,1fr); }
  .workflow-step:nth-child(2n) { border-right: 0; }
  .workflow-step:nth-child(n) { border-bottom: 1px solid var(--line); }
  .workflow-step:last-child { border-bottom: 0; }
  .quote-band { grid-template-columns: 1fr; padding: 34px; }
  .project-main { grid-template-columns: 1fr; }
  .project-side { display: flex; overflow-x: auto; gap: 5px; }
  .project-side div { white-space: nowrap; }
  .metric-grid { grid-template-columns: repeat(2,1fr); }
  .form-aside { position: static; }
}

@media (max-width: 560px) {
  .brand-edition { display: none; }
  .nav-actions { display: none; }
  .nav-actions .btn { min-height: 42px; padding-inline: 13px; font-size: .78rem; }
  .hero h1, .page-hero h1 { font-size: clamp(2.75rem, 13vw, 4rem); }
  .hero-visual { min-height: 360px; }
  .hero-photo { inset: 0 0 54px 18px; }
  .status-panel { width: 96%; padding: 15px; }
  .status-grid { gap: 5px; }
  .status-cell { padding: 9px 6px; }
  .status-cell span { font-size: .59rem; }
  .workflow, .cards-4 { grid-template-columns: 1fr; }
  .workflow-step, .workflow-step:nth-child(2n) { border-right: 0; }
  .data-row { grid-template-columns: 1fr auto; }
  .data-row > :nth-child(3), .data-row > :nth-child(4) { display: none; }
  .room-grid, .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child, .footer-grid > :last-child { grid-column: 1/-1; }
  .footer-bottom { flex-direction: column; }
}

/* Homepage editorial refinements */
.hero-note { margin-top: 20px; max-width: 650px; }
.hero-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
  max-width: 680px;
}
.hero-proof > div {
  padding-top: 15px;
  border-top: 1px solid var(--line);
}
.hero-proof strong {
  display: block;
  font-size: .82rem;
  letter-spacing: -.01em;
}
.hero-proof span {
  display: block;
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: .76rem;
  line-height: 1.45;
}

.design-story-section { padding-top: 82px; padding-bottom: 92px; }
.story-heading { margin-bottom: 36px; }
.design-story {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(310px, .72fr);
  grid-template-rows: repeat(2, minmax(230px, 1fr));
  gap: 18px;
  min-height: 650px;
}
.story-card {
  position: relative;
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  background: var(--paper-2);
  box-shadow: var(--shadow-sm);
  isolation: isolate;
}
.story-card-large { grid-row: 1 / 3; }
.story-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.story-card:hover img { transform: scale(1.015); }
.story-card::after {
  content: "";
  position: absolute;
  inset: 38% 0 0;
  background: linear-gradient(180deg, transparent, rgba(17,18,15,.74));
  z-index: 1;
  pointer-events: none;
}
.story-card figcaption {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  bottom: 21px;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  color: white;
}
.story-card figcaption > span {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.5);
  font-size: .68rem;
  font-weight: 850;
}
.story-card figcaption strong { display: block; font-size: .96rem; }
.story-card figcaption small {
  display: block;
  margin-top: 3px;
  color: rgba(255,255,255,.76);
  font-size: .74rem;
  line-height: 1.4;
}
.story-card-large figcaption { left: 28px; right: 28px; bottom: 28px; }
.story-card-large figcaption strong { font-size: 1.15rem; }
.story-card-large figcaption small { font-size: .81rem; }
.media-editorial img { aspect-ratio: 5 / 4; }

@media (min-width: 1061px) {
  .hero-grid { grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr); gap: 62px; }
  .hero h1 { max-width: 700px; }
  .hero-visual { min-height: 600px; }
  .hero-photo { inset: 0 0 54px 42px; }
}

@media (max-width: 800px) {
  .design-story { grid-template-columns: 1fr 1fr; grid-template-rows: 410px 270px; min-height: 0; }
  .story-card-large { grid-column: 1 / -1; grid-row: auto; }
  .hero-proof { max-width: none; }
}

@media (max-width: 560px) {
  .hero-proof { grid-template-columns: 1fr; gap: 10px; }
  .design-story { display: grid; grid-template-columns: 1fr; grid-template-rows: none; }
  .story-card, .story-card-large { grid-column: auto; grid-row: auto; min-height: 270px; }
  .story-card-large { min-height: 360px; }
  .story-card figcaption, .story-card-large figcaption { left: 18px; right: 18px; bottom: 18px; }
}
