/* Qualita Living · brand: Dark Wine #811619, Dust Grey #D1C9C3, White, Black.
   Headline font: Adam (brand) — Questrial is the web stand-in. Body: Poppins. */
:root {
  --wine: #811619;
  --wine-deep: #5c0e11;
  --wine-ink: #6d1215;
  --grey: #d1c9c3;
  --grey-soft: #f2efec;
  --grey-line: #e3ddd8;
  --ink: #000;
  --ink-2: rgba(0, 0, 0, .7);
  --ink-3: rgba(0, 0, 0, .56);
  --white: #fff;
  --head: "Adam", "Questrial", "Poppins", system-ui, sans-serif;
  --body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --pad: clamp(20px, 5vw, 48px);
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--wine); text-underline-offset: 3px; }
a:hover { color: var(--wine-deep); }
:focus-visible { outline: 3px solid var(--wine); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--white); padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.narrow { max-width: 820px; }

/* Type */
.display { font-family: var(--head); font-size: clamp(48px, 9vw, 112px); line-height: .98; letter-spacing: -.01em; }
.h1 { font-family: var(--head); font-size: clamp(38px, 6vw, 72px); line-height: 1.05; max-width: 16ch; }
.h2 { font-family: var(--head); font-size: clamp(30px, 4vw, 48px); line-height: 1.1; }
.h3 { font-family: var(--head); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; }
.h2-light { color: var(--white); }
.h2 + p, .h2 + .prose-p, .h3 + p { margin-top: 18px; }
.lead { font-size: clamp(18px, 2vw, 22px); line-height: 1.55; max-width: 44ch; font-weight: 300; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--grey); margin-bottom: 18px; }
.eyebrow-wine { color: var(--wine); }
.prose p, .prose-p { color: var(--ink-2); max-width: 60ch; }
.prose-p.light { color: rgba(255, 255, 255, .78); }
.source-note { font-size: 13px; color: var(--ink-3); margin-top: 28px; }
.link-arrow { display: inline-flex; gap: 10px; align-items: center; font-weight: 500; text-decoration: none; margin-top: 8px; }
.link-arrow::after { content: ""; width: 26px; height: 1.5px; background: currentColor; transition: width .3s var(--ease); }
.link-arrow:hover::after { width: 40px; }
.link-light { color: var(--white); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 28px; border-radius: 999px; font: 500 16px/1 var(--body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-wine { background: var(--wine); color: var(--white); }
.btn-wine:hover { background: var(--wine-deep); color: var(--white); }
.btn-light { background: var(--white); color: var(--wine); }
.btn-light:hover { background: var(--grey); color: var(--wine-deep); }
.btn-ghost { border-color: var(--wine); color: var(--wine); background: transparent; }
.btn-ghost:hover { background: var(--wine); color: var(--white); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .7); color: var(--white); background: transparent; }
.btn-ghost-light:hover { background: var(--white); color: var(--wine); }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.is-scrolled { border-bottom-color: var(--grey-line); box-shadow: 0 8px 30px rgba(0, 0, 0, .05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 24px; }
.brand img { width: 160px; height: auto; }
.nav-menu { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-menu a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; border-radius: 999px; position: relative; }
.nav-menu a:not(.btn):hover { color: var(--wine); }
.nav-menu a[aria-current="page"]:not(.btn) { color: var(--wine); }
.nav-menu a[aria-current="page"]:not(.btn)::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; background: var(--wine); }
.nav-cta { margin-left: 10px; }
.nav-menu .btn { color: var(--white); }
.nav-toggle { display: none; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; border-radius: 12px; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 24px; height: 2px; background: var(--ink); margin: 0 auto; position: relative; transition: transform .3s var(--ease), background .3s; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -7px; } .nav-toggle .bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav-menu { position: fixed; inset: 84px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); padding: 12px var(--pad) 28px; border-bottom: 1px solid var(--grey-line); box-shadow: 0 20px 40px rgba(0, 0, 0, .08); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
  .nav-menu.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-menu a { min-height: 54px; font-size: 18px; border-bottom: 1px solid var(--grey-soft); border-radius: 0; padding: 0 4px; }
  .nav-menu a[aria-current="page"]:not(.btn)::after { display: none; }
  .nav-cta { margin: 18px 0 0; }
  .nav-cta .btn { width: 100%; border-radius: 999px; border-bottom: 0; }
}

/* Hero (home) */
.hero { position: relative; overflow: hidden; background: var(--wine); color: var(--white); padding: clamp(80px, 12vw, 150px) 0 0; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(1200px 600px at 85% 20%, rgba(255, 255, 255, .08), transparent 60%); pointer-events: none; }
.hero-inner { position: relative; z-index: 2; }
.hero .display span { color: var(--grey); }
.hero .lead { color: rgba(255, 255, 255, .86); margin-top: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero-rings { position: absolute; right: -8vw; top: 50%; width: min(70vw, 760px); transform: translateY(-46%); z-index: 1; }
.rings-svg { width: 100%; height: auto; overflow: visible; }
.rings-svg circle, .rings-svg line { fill: none; stroke: rgba(209, 201, 195, .2); stroke-width: 14; stroke-linecap: square; stroke-dasharray: 1900; stroke-dashoffset: 1900; animation: draw 2.6s var(--ease) forwards; }
.rings-svg circle:nth-child(2) { animation-delay: .25s; } .rings-svg circle:nth-child(3) { animation-delay: .5s; }
.rings-svg line { animation-delay: 1s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-strip { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(70px, 10vw, 120px); border-top: 1px solid rgba(209, 201, 195, .3); }
.hero-strip > div { padding: 26px 0 30px; border-right: 1px solid rgba(209, 201, 195, .2); padding-left: 22px; }
.hero-strip > div:first-child { padding-left: 0; }
.hero-strip > div:last-child { border-right: 0; }
.hero-strip strong { display: block; font-family: var(--head); font-weight: 400; font-size: 24px; }
.hero-strip span { font-size: 14px; color: var(--grey); }
@media (max-width: 760px) {
  .hero-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-strip > div { border-right: 0; padding-left: 0; border-bottom: 1px solid rgba(209, 201, 195, .2); }
  .hero-rings { width: 110vw; right: -45vw; opacity: .7; }
}

/* Page hero (inner pages) */
.page-hero { position: relative; overflow: hidden; background: var(--wine); color: var(--white); padding: clamp(80px, 11vw, 140px) 0 clamp(70px, 9vw, 110px); }
.page-hero-short { padding-bottom: clamp(56px, 7vw, 80px); }
.page-hero .lead { color: rgba(255, 255, 255, .84); margin-top: 22px; }
.ph-rings { position: absolute; right: -120px; top: -60px; width: 520px; opacity: .1; pointer-events: none; }

/* Sections */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-head { margin-bottom: clamp(36px, 5vw, 56px); }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split-wide { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; }
.split-form { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
@media (max-width: 900px) { .split, .split-wide, .split-form { grid-template-columns: 1fr; } }

/* Stats */
.numbers { background: var(--grey-soft); }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--wine); }
.stat { padding: 30px 26px 10px 0; border-right: 1px solid var(--grey-line); margin-right: 26px; }
.stat:last-child { border-right: 0; margin-right: 0; }
.stat-num { display: block; font-family: var(--head); font-size: clamp(40px, 4.4vw, 58px); line-height: 1; color: var(--wine); margin-bottom: 14px; white-space: nowrap; }
.stat-label { font-size: 15px; color: var(--ink-2); line-height: 1.5; }
@media (max-width: 900px) {
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2) { border-right: 0; margin-right: 0; }
  .stat { border-bottom: 1px solid var(--grey-line); padding-bottom: 26px; }
}
@media (max-width: 520px) { .stat-grid { grid-template-columns: 1fr; } .stat { border-right: 0; margin-right: 0; } }

/* Principles band */
.principles-band { background: var(--ink); color: var(--white); position: relative; overflow: hidden; }
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pcard { position: relative; padding: 34px 28px 32px; border: 1px solid rgba(209, 201, 195, .22); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, 0)); transition: border-color .35s var(--ease), transform .35s var(--ease), background .35s; }
.pcard:hover { border-color: var(--grey); transform: translateY(-4px); background: rgba(129, 22, 25, .35); }
.pnum { font-family: var(--head); font-size: 15px; color: var(--grey); letter-spacing: .1em; }
.pcard h3 { font-family: var(--head); font-size: 26px; margin: 46px 0 12px; }
.pcard p { color: rgba(255, 255, 255, .72); font-size: 15.5px; margin: 0; }
@media (max-width: 1000px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .card-grid { grid-template-columns: 1fr; } }

/* Corridor */
.corridor-map { margin: 0; background: var(--grey-soft); border-radius: var(--radius); padding: clamp(18px, 3vw, 34px); }
.corridor-map svg { width: 100%; height: auto; overflow: visible; }
.road { fill: none; stroke: var(--grey); stroke-width: 18; stroke-linecap: round; }
.road-glow { fill: none; stroke: var(--wine); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 900; stroke-dashoffset: 900; transition: stroke-dashoffset 2.2s var(--ease); }
.corridor-map.is-in .road-glow { stroke-dashoffset: 0; }
.stop circle { fill: var(--white); stroke: var(--ink); stroke-width: 3; }
.stop text { font: 500 15px var(--body); fill: var(--ink); text-anchor: middle; }
.stop-key circle { fill: var(--wine); stroke: var(--wine); }
.stop-key text { font: 600 18px var(--body); fill: var(--wine); }
.pulse { fill: none !important; stroke: var(--wine) !important; stroke-width: 2 !important; transform-origin: 330px 170px; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }
.corridor-map figcaption { font-size: 13px; color: var(--ink-3); margin-top: 10px; }

/* Listings */
.featured { background: var(--grey-soft); }
.listing-feature, .listing { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--white); border-radius: calc(var(--radius) + 6px); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(92, 14, 17, .25); }
.listing-list { display: grid; gap: 32px; }
.listing { border: 1px solid var(--grey-line); box-shadow: none; }
.lf-visual { position: relative; background: var(--wine); color: var(--white); padding: 44px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 340px; overflow: hidden; }
.lf-visual img { position: absolute; right: -70px; top: -50px; width: 360px; opacity: .14; }
.lf-big { position: relative; font-family: var(--head); font-size: clamp(34px, 3.8vw, 54px); line-height: 1; white-space: nowrap; }
.lf-sub { position: relative; color: var(--grey); margin-top: 10px; font-size: 18px; }
.lf-body { padding: clamp(28px, 4vw, 52px); }
.lf-body > p { color: var(--ink-2); }
.badges { display: flex; gap: 8px; flex-wrap: wrap; }
.badge { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; background: var(--wine); color: var(--white); }
.badge-outline { background: transparent; color: var(--wine); border: 1.5px solid var(--wine); }
.lf-body .h3 { margin: 16px 0 12px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 26px 0; padding: 22px 0; border-top: 1px solid var(--grey-line); border-bottom: 1px solid var(--grey-line); }
.facts-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.facts dt { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.facts dd { margin: 0; font-size: 16px; }
.facts small { color: var(--ink-3); font-size: 13px; }
.ticks { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.ticks li { position: relative; padding-left: 24px; font-size: 15px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 7px; border-left: 2px solid var(--wine); border-bottom: 2px solid var(--wine); transform: rotate(-45deg); }
.lf-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.listing-soon { grid-template-columns: 1fr; background: var(--grey-soft); border-style: dashed; border-color: var(--grey); }
.soon-inner { padding: clamp(28px, 4vw, 48px); }
.soon-inner p:last-child { color: var(--ink-2); max-width: 62ch; margin: 12px 0 0; }
@media (max-width: 860px) {
  .listing-feature, .listing { grid-template-columns: 1fr; }
  .lf-visual { min-height: 220px; padding: 32px; }
  .facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) { .facts, .facts-2 { grid-template-columns: 1fr; } }

/* Insights */
.icard-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.icard { display: flex; flex-direction: column; padding: 30px; border-radius: var(--radius); border: 1px solid var(--grey-line); color: var(--ink); text-decoration: none; min-height: 250px; transition: border-color .3s, transform .3s var(--ease), box-shadow .3s; }
.icard:hover { color: var(--ink); border-color: var(--wine); transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(92, 14, 17, .35); }
.itag { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--wine); }
.icard h3 { font-family: var(--head); font-size: 25px; line-height: 1.25; margin: 22px 0 12px; }
.icard p { color: var(--ink-3); margin: auto 0 0; font-size: 15px; }
@media (max-width: 900px) { .icard-grid { grid-template-columns: 1fr; } .icard { min-height: 0; } }
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.chip { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--grey); background: var(--white); font: 500 14px var(--body); cursor: pointer; color: var(--ink); }
.chip:hover { border-color: var(--wine); }
.chip.is-on { background: var(--wine); border-color: var(--wine); color: var(--white); }
.article-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.article { padding: 32px; border: 1px solid var(--grey-line); border-radius: var(--radius); background: var(--white); }
.article[hidden] { display: none; }
.article .h3 { margin: 16px 0 12px; }
.article-intro { color: var(--ink-2); }
.article details summary { cursor: pointer; font-weight: 500; color: var(--wine); min-height: 44px; display: inline-flex; align-items: center; list-style: none; }
.article details summary::-webkit-details-marker { display: none; }
.article details summary::after { content: "+"; margin-left: 10px; font-size: 22px; line-height: 1; }
.article details[open] summary::after { content: "−"; }
.article details p { color: var(--ink-2); }
.take { background: var(--grey-soft); padding: 16px 18px; border-radius: 12px; color: var(--ink) !important; }
@media (max-width: 860px) { .article-list { grid-template-columns: 1fr; } }

/* About */
.values { background: var(--grey-soft); }
.value-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.vcard { background: var(--white); border-radius: var(--radius); padding: 36px 32px; }
.vcard img { width: 52px; height: 52px; margin-bottom: 30px; }
.vcard h3 { font-family: var(--head); font-size: 28px; margin-bottom: 12px; }
.vcard p { color: var(--ink-2); margin: 0; }
@media (max-width: 900px) { .value-grid { grid-template-columns: 1fr; } }
.lead-quote blockquote { margin: 0; }
.lead-quote blockquote p { font-family: var(--head); font-size: clamp(26px, 3.4vw, 40px); line-height: 1.3; color: var(--ink); }
.lead-quote blockquote footer { font-size: 15px; color: var(--ink-3); margin-top: 20px; }

/* Approach */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: s; }
.tl-step { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 28px; padding: 34px 0; border-top: 1px solid var(--grey-line); align-items: start; }
.tl-step:last-child { border-bottom: 1px solid var(--grey-line); }
.tl-num { font-family: var(--head); font-size: 64px; line-height: .9; color: var(--wine); }
.tl-step h3 { font-family: var(--head); font-size: 30px; margin-bottom: 8px; }
.tl-step p { color: var(--ink-2); max-width: 66ch; margin: 0; }
@media (max-width: 600px) { .tl-step { grid-template-columns: 56px 1fr; gap: 16px; } .tl-num { font-size: 44px; } }
.checks-band { background: var(--wine); color: var(--white); }
.checks { border-top: 1px solid rgba(209, 201, 195, .35); }
.check { border-bottom: 1px solid rgba(209, 201, 195, .35); }
.check button { width: 100%; display: flex; align-items: center; gap: 18px; min-height: 68px; background: none; border: 0; color: var(--white); font: 400 21px var(--head); text-align: left; cursor: pointer; padding: 10px 0; }
.check button:focus-visible { outline-color: var(--white); }
.cnum { display: inline-grid; place-items: center; flex: 0 0 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--grey); font: 500 14px var(--body); color: var(--grey); }
.check button[aria-expanded="true"] .cnum { background: var(--white); border-color: var(--white); color: var(--wine); }
.chev { margin-left: auto; width: 12px; height: 12px; border-right: 2px solid var(--grey); border-bottom: 2px solid var(--grey); transform: rotate(45deg); transition: transform .3s var(--ease); }
.check button[aria-expanded="true"] .chev { transform: rotate(-135deg); }
.check-body p { color: rgba(255, 255, 255, .8); padding: 0 0 22px 54px; margin: 0; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--grey-line); }
.compare { width: 100%; border-collapse: collapse; min-width: 680px; font-size: 15px; }
.compare th, .compare td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--grey-line); vertical-align: top; }
.compare thead th { font-family: var(--head); font-weight: 400; font-size: 18px; background: var(--grey-soft); }
.compare tbody th { font-weight: 600; font-size: 14px; color: var(--ink-2); }
.compare .hl { background: rgba(129, 22, 25, .06); }
.compare thead .hl { background: var(--wine); color: var(--white); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.never { background: var(--grey-soft); }
.never-list { list-style: none; padding: 0; margin: 0; }
.never-list li { font-family: var(--head); font-size: clamp(24px, 3vw, 34px); padding: 18px 0 18px 54px; border-bottom: 1px solid var(--grey-line); position: relative; }
.never-list li::before, .never-list li::after { content: ""; position: absolute; left: 6px; top: 50%; width: 26px; height: 2.5px; background: var(--wine); }
.never-list li::before { transform: rotate(45deg); } .never-list li::after { transform: rotate(-45deg); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--wine-deep); color: var(--white); padding: clamp(70px, 9vw, 110px) 0; text-align: center; }
.cta-rings { position: absolute; left: 50%; top: 50%; width: 760px; transform: translate(-50%, -50%); opacity: .08; pointer-events: none; }
.cta-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.cta-inner .h2 { max-width: 22ch; }
.cta-inner p { color: rgba(255, 255, 255, .8); max-width: 52ch; margin: 0; }
.cta-inner .btn { margin-top: 10px; }

/* Forms */
.form-section { background: var(--grey-soft); }
.form-section .h3 { margin-bottom: 22px; }
.enquiry { background: var(--white); border-radius: calc(var(--radius) + 4px); padding: clamp(24px, 4vw, 44px); box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .25); }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field-full { grid-column: 1 / -1; }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 7px; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 16px; border: 1.5px solid var(--grey); border-radius: 12px; font: 400 16px var(--body); color: var(--ink); background: var(--white); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(0, 0, 0, .5); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 4px rgba(129, 22, 25, .12); }
.field.has-error input, .field.has-error select { border-color: #b3261e; }
.field .err { color: #b3261e; font-size: 13px; margin-top: 6px; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 24px 0; font-size: 14px; color: var(--ink-2); }
.consent input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--wine); flex: 0 0 auto; }
.consent.has-error label { color: #b3261e; }
.form-alt { font-size: 14px; color: var(--ink-3); margin: 18px 0 0; }
.form-status p { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; }
.form-status .ok { background: #e7f2ea; color: #1d5b2c; }
.form-status .bad { background: #fbeaea; color: #8a1c17; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.enquiry.is-done .field-grid, .enquiry.is-done .consent, .enquiry.is-done [data-submit] { display: none; }
@media (max-width: 640px) { .field-grid { grid-template-columns: 1fr; } }
.contact-card { position: relative; overflow: hidden; background: var(--wine); color: var(--white); border-radius: calc(var(--radius) + 4px); padding: clamp(28px, 4vw, 44px); }
.contact-card .h3 { margin-bottom: 26px; }
.contact-list { list-style: none; padding: 0; margin: 0; position: relative; z-index: 1; }
.contact-list li { padding: 16px 0; border-top: 1px solid rgba(209, 201, 195, .3); display: grid; gap: 2px; }
.contact-list span { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); }
.contact-list a { color: var(--white); font-size: 18px; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; color: var(--white); }
.cc-mark { position: absolute; right: -60px; bottom: -60px; width: 260px; opacity: .12; filter: brightness(3); }

/* Legal */
.legal h2 { font-family: var(--head); font-size: 26px; margin: 36px 0 10px; }

/* Footer */
.site-footer { position: relative; overflow: hidden; background: var(--ink); color: var(--grey); padding: 80px 0 30px; }
.footer-rings { position: absolute; right: -140px; bottom: -180px; width: 560px; opacity: .06; pointer-events: none; }
.footer-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-brand img { width: 140px; }
.footer-tag { font-family: var(--head); font-size: 22px; color: var(--white); margin-top: 24px; }
.footer-h { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(209, 201, 195, .7); margin-bottom: 16px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.footer-links a { color: var(--white); text-decoration: none; }
.footer-links a:hover { color: var(--grey); text-decoration: underline; }
.footer-base { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(209, 201, 195, .2); font-size: 13px; color: rgba(209, 201, 195, .75); }
.footer-base p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .rings-svg circle, .rings-svg line { animation: none; stroke-dashoffset: 0; }
  .road-glow { transition: none; stroke-dashoffset: 0; }
  .pulse { animation: none; display: none; }
  .btn:hover, .pcard:hover, .icard:hover { transform: none; }
}

/* ===== One-page layout: services, projects ===== */
html { scroll-padding-top: 96px; }
.hero-compact { padding-bottom: clamp(90px, 12vw, 150px); }
.hero-compact .hero-cta { margin-top: 44px; }
.services { background: var(--ink); color: var(--white); }
.card-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .card-grid-3 { grid-template-columns: 1fr; } }
.card-grid-3 .pcard h3 { margin-top: 36px; }
.projects-alt { background: var(--grey-soft); }
.count-note { color: var(--ink-3); font-size: 15px; margin: 0; }
.proj-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
@media (max-width: 860px) { .proj-grid { grid-template-columns: 1fr; } }
.proj { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--grey-line); border-radius: calc(var(--radius) + 4px); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.proj:hover { transform: translateY(-4px); border-color: var(--grey); box-shadow: 0 30px 60px -36px rgba(92, 14, 17, .35); }
.proj-media { position: relative; aspect-ratio: 16 / 9; background: var(--wine); overflow: hidden; display: flex; align-items: flex-end; padding: 28px; }
.proj-media > img:not(.proj-rings) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.proj-rings { position: absolute; right: -50px; top: -60px; width: 300px; opacity: .14; }
.proj-size { position: relative; font-family: var(--head); font-size: clamp(30px, 3.4vw, 44px); color: var(--white); line-height: 1; }
.proj-body { padding: 28px 30px 30px; display: flex; flex-direction: column; flex: 1; }
.proj-title { font-family: var(--head); font-size: 28px; line-height: 1.2; margin: 14px 0 4px; }
.proj-loc { color: var(--ink-3); font-size: 15px; margin: 0 0 14px; }
.proj-sum { color: var(--ink-2); margin: 0 0 22px; }
.proj-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: auto 0 0; padding-top: 18px; border-top: 1px solid var(--grey-line); }
.proj-meta dt { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.proj-meta dd { margin: 4px 0 0; font-size: 15.5px; }
.proj.is-placeholder { border-style: dashed; border-color: var(--grey); }
.proj.is-placeholder .proj-media { background: #9b8f88; }
.proj.is-placeholder .proj-title, .proj.is-placeholder .proj-loc, .proj.is-placeholder .proj-sum, .proj.is-placeholder dd, .proj.is-placeholder .itag { color: rgba(0, 0, 0, .5); }
.proj-note { font-size: 13px; font-weight: 600; color: var(--wine); background: rgba(129, 22, 25, .07); border-radius: 8px; padding: 8px 12px; margin: 0 0 16px; }
.contact-card .eyebrow { color: var(--grey); }
.contact-card .cc-mark { filter: none; }

/* Founders */
.founders { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: clamp(40px, 6vw, 64px); }
.founder { background: var(--grey-soft); border-radius: var(--radius); padding: 32px 30px 30px; border-top: 3px solid var(--wine); }
.founder-big { display: block; font-family: var(--head); font-size: clamp(40px, 4vw, 54px); line-height: 1; color: var(--wine); margin-bottom: 22px; }
.founder h3 { font-family: var(--head); font-size: 24px; margin-bottom: 10px; }
.founder p { color: var(--ink-2); margin: 0; font-size: 16px; }
.founders-close { font-family: var(--head); font-size: clamp(22px, 2.4vw, 28px); margin: 34px 0 0; color: var(--ink); }
@media (max-width: 900px) { .founders { grid-template-columns: 1fr; } }
.services-intro { color: rgba(255, 255, 255, .72); margin: 16px 0 0; max-width: 60ch; }
.services-more { color: rgba(255, 255, 255, .72); margin: 30px 0 0; }
.services-more a { color: var(--white); }

/* ===== Completed timeline ===== */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 118px; top: 10px; bottom: 10px; width: 1px; background: var(--grey); }
.tl-item { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 0 46px; padding: 0 0 34px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: 112px; top: 12px; width: 13px; height: 13px; border-radius: 50%; background: var(--wine); box-shadow: 0 0 0 5px var(--grey-soft); }
.tl-year { font-family: var(--head); font-size: clamp(30px, 3vw, 38px); line-height: 1; color: var(--wine); padding-top: 2px; }
.tl-body { background: var(--white); border: 1px solid var(--grey-line); border-radius: var(--radius); padding: 24px 28px 24px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.tl-body:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -34px rgba(92, 14, 17, .35); }
.tl-title { font-family: var(--head); font-size: clamp(22px, 2.2vw, 26px); line-height: 1.25; margin: 12px 0 2px; }
.tl-loc { color: var(--ink-3); font-size: 15px; margin: 0 0 10px; }
.tl-sum { color: var(--ink-2); margin: 0; }
@media (max-width: 640px) {
  .timeline::before { left: 6px; }
  .tl-item { grid-template-columns: 1fr; padding-left: 34px; gap: 12px; }
  .tl-item::before { left: 0; top: 8px; }
  .tl-year { font-size: 28px; }
  .tl-body { padding: 20px 22px; }
}
