/* ==========================================================================
   Asaya Interiors — site styles
   Palette and shapes come straight from the logo: linen ground, cocoa type,
   a clay sun, and two overlapping arches (ochre + taupe).
   ========================================================================== */
:root {
  --linen: #f2eae2;
  --paper: #fbf7f2;
  --sand: #e7d9cc;
  --blush: #e6cbbb;
  --espresso: #2e1f18;
  --espresso-2: #3d2a20;
  --cocoa: #6f4330;
  --clay: #c98a6e;
  --clay-deep: #a86a4f;
  --ochre: #d6a962;
  --taupe: #a48778;
  --ink: #2e1f18;
  --muted: #7b6358;
  --line: rgba(111, 67, 48, 0.16);
  --focus: #a86a4f;

  --display: "Marcellus", "Cormorant Garamond", Georgia, serif;
  --body: "Jost", "Segoe UI", system-ui, sans-serif;

  --radius: 14px;
  --arch: 999px 999px 0 0;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 120px);
  --shadow: 0 1px 2px rgba(46, 31, 24, 0.05), 0 12px 32px -12px rgba(46, 31, 24, 0.18);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--cocoa); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--clay-deep); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.12; margin: 0 0 .5em; color: var(--espresso); letter-spacing: -0.005em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.i { width: 1.15em; height: 1.15em; flex: none; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--espresso); color: var(--paper); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.center .hero-actions { justify-content: center; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.section { padding-block: var(--section); }
.section + .section { padding-top: 0; }
.dark + .section, .section + .dark { padding-top: var(--section); }

.eyebrow {
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 500;
  color: var(--clay-deep); margin-bottom: 1rem; display: flex; align-items: center; gap: .7em;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.section-title { margin-bottom: .8em; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.section-head .section-title { margin-bottom: 0; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 62ch; font-weight: 300; }

/* ---------- buttons & links ---------- */
.btn {
  --b: var(--espresso);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.6em; border-radius: 999px; border: 1px solid var(--b);
  background: var(--b); color: var(--paper); font: 500 .95rem/1 var(--body); letter-spacing: .02em;
  text-decoration: none; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.btn:hover { background: var(--clay-deep); border-color: var(--clay-deep); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--espresso); }
.btn-ghost:hover { background: var(--espresso); color: var(--paper); border-color: var(--espresso); }
.btn-sm { padding: .7em 1.2em; font-size: .85rem; }
.btn-block { width: 100%; }
.btn .i { width: 1.1em; height: 1.1em; }
.text-link { display: inline-flex; align-items: center; gap: .5em; font-weight: 500; text-decoration: none; color: var(--cocoa); border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.text-link:hover { border-color: currentColor; }
.text-link .i { transition: transform .25s; }
.text-link:hover .i { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: border-color .3s; }
/* Blur lives on a pseudo-element so the header does not become the containing block of the fixed mobile menu. */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(242, 234, 226, .9); backdrop-filter: saturate(1.2) blur(12px); -webkit-backdrop-filter: saturate(1.2) blur(12px); }
.site-header.is-scrolled { border-color: var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; height: 78px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cocoa); flex: none; }
.mark { width: 42px; height: 42px; }
.wordmark { display: flex; flex-direction: column; line-height: 1; }
.wm-top { font-family: var(--display); font-size: 1.6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--cocoa); }
.wm-sub { font-size: .62rem; letter-spacing: .5em; text-transform: uppercase; color: var(--cocoa); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link { padding: 10px 12px; text-decoration: none; color: var(--espresso); font-size: .95rem; border-radius: 999px; }
.nav-link:hover, .nav-link.is-active { color: var(--clay-deep); }
.nav-phone { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 999px; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--espresso); cursor: pointer; }
.menu-toggle .i { width: 22px; height: 22px; }
.nav-item { position: relative; }
.mega {
  position: absolute; left: 50%; top: calc(100% + 10px); transform: translate(-40%, 8px);
  width: min(860px, 90vw); display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: 28px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-40%, 0); }
.mega-title { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--clay-deep); margin-bottom: 10px; font-weight: 500; }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega-col:nth-child(2) ul { columns: 2; column-gap: 20px; }
.mega a { display: block; padding: 5px 0; text-decoration: none; color: var(--espresso); font-size: .93rem; }
.mega a:hover { color: var(--clay-deep); }

/* ---------- hero (home) ---------- */
.hero { padding-block: clamp(28px, 5vw, 64px) clamp(56px, 8vw, 110px); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-tag { font-family: var(--display); font-size: clamp(3rem, 7.2vw, 6.1rem); line-height: .98; color: var(--espresso); margin: 0 0 .35em; letter-spacing: -0.01em; }
.hero-tag em { font-style: normal; color: var(--cocoa); position: relative; }
.hero-h1 { font-family: var(--body); font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.6; font-weight: 400; color: var(--muted); max-width: 46ch; margin-bottom: 1.8em; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 1.6em 0 0; }
.hero-copy .hero-actions { margin-top: 0; }
.hero-facts { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.hero-facts li { padding: 16px 16px 0 0; }
.hero-facts li + li { padding-left: 16px; border-left: 1px solid var(--line); }
.hero-facts strong { display: block; font-family: var(--display); font-weight: 400; font-size: 1.1rem; color: var(--espresso); }
.hero-facts span { font-size: .85rem; color: var(--muted); }

/* The signature: video inside the logo's arch, with the ochre outline arch and clay sun. */
.arch-stage, .arch-frame { position: relative; width: min(100%, 500px); margin-inline: auto; padding: 44px 0 0 34px; }
.arch-video, .arch-img {
  position: relative; z-index: 2; aspect-ratio: 4 / 5; border-radius: var(--arch); overflow: hidden;
  background: var(--sand); box-shadow: 0 40px 80px -40px rgba(46, 31, 24, .45);
}
.arch-video video, .arch-img img { width: 100%; height: 100%; object-fit: cover; }
.arch-line {
  position: absolute; z-index: 1; left: 0; top: 0; width: calc(100% - 70px); height: calc(100% - 20px);
  border: 2px solid var(--ochre); border-radius: var(--arch); pointer-events: none;
}
.sun {
  position: absolute; z-index: 3; left: -6px; top: 10px; width: clamp(64px, 9vw, 104px); aspect-ratio: 1;
  border-radius: 50%; background: var(--clay); mix-blend-mode: multiply;
}
.stripes { position: absolute; z-index: 3; right: -18px; bottom: 40px; display: grid; gap: 7px; width: 120px; }
.stripes i { display: block; height: 6px; border-radius: 6px; background: var(--blush); }
.video-toggle {
  position: absolute; z-index: 4; left: 50px; bottom: 16px; font: 500 .72rem var(--body); letter-spacing: .12em; text-transform: uppercase;
  background: rgba(251, 247, 242, .85); color: var(--espresso); border: 0; border-radius: 999px; padding: 8px 12px; cursor: pointer;
}
@media (prefers-reduced-motion: no-preference) {
  .arch-line { animation: draw 1.4s cubic-bezier(.2, .7, .2, 1) both .2s; }
  .sun { animation: rise 1.2s cubic-bezier(.2, .7, .2, 1) both .5s; }
  .arch-video, .page-hero .arch-img { animation: open 1.1s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-tag, .hero-h1, .hero-copy .hero-actions, .hero-facts { animation: up .9s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-h1 { animation-delay: .12s; }
  .hero-copy .hero-actions { animation-delay: .2s; }
  .hero-facts { animation-delay: .28s; }
}
@keyframes draw { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes rise { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes open { from { clip-path: inset(18% 12% 0 12% round 999px 999px 0 0); opacity: .4; } to { clip-path: inset(0 0 0 0 round 999px 999px 0 0); opacity: 1; } }
@keyframes up { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- intro statement ---------- */
.intro { border-top: 1px solid var(--line); }
.intro-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 96px); padding-top: var(--section); }
.intro.section { padding-top: 0; }
.statement { font-size: clamp(1.7rem, 3vw, 2.45rem); line-height: 1.22; }
.statement em { font-style: normal; color: var(--clay-deep); }
.intro-text p { color: var(--muted); }

/* ---------- cards ---------- */
.cards { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--paper); border-radius: 22px; overflow: hidden; border: 1px solid var(--line); transition: transform .35s, box-shadow .35s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.card-media { display: block; margin: 12px 12px 0; border-radius: 999px 999px 10px 10px; overflow: hidden; aspect-ratio: 4 / 3.2; background: var(--sand); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 22px 24px; }
.card-kicker { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--clay-deep); font-weight: 500; }
.card-title { font-family: var(--display); font-size: 1.35rem; line-height: 1.2; color: var(--espresso); }
.card-text { font-size: .92rem; color: var(--muted); line-height: 1.55; }

.service-index { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 32px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.link-list { list-style: none; margin: 0; padding: 0; }
.service-index > div:nth-child(2) .link-list { columns: 2; column-gap: 24px; }
.link-list a { display: inline-block; padding: 4px 0; text-decoration: none; color: var(--espresso); }
.link-list a:hover { color: var(--clay-deep); }

/* ---------- work (dark) ---------- */
.dark { background: var(--espresso); color: var(--sand); }
.dark h2, .dark .section-title { color: var(--paper); }
.dark .eyebrow { color: var(--ochre); }
.dark .text-link { color: var(--blush); border-color: rgba(230, 203, 187, .3); }
.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 10px; gap: 14px; }
.work-item { margin: 0; position: relative; overflow: hidden; border-radius: 16px; grid-row: span 34; background: var(--espresso-2); }
.work-item.w0 { grid-row: span 44; border-radius: 999px 999px 16px 16px; }
.work-item.w1, .work-item.w6 { grid-row: span 30; }
.work-item.w3 { grid-row: span 44; border-radius: 999px 999px 16px 16px; }
.work-item.w5 { grid-row: span 26; }
.work-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.work-item:hover img { transform: scale(1.05); }
.work-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px; color: var(--paper); font-family: var(--display); font-size: 1.05rem; line-height: 1.25;
  background: linear-gradient(transparent, rgba(30, 20, 15, .82));
}
.work-item figcaption span { display: block; font: 500 .66rem var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--blush); margin-bottom: 4px; }
.ig-line { margin: 36px 0 0; text-align: center; }
.ig-line a { display: inline-flex; gap: 10px; align-items: center; color: var(--blush); text-decoration: none; }

/* ---------- process ---------- */
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: step; border-top: 1px solid var(--line); }
.steps li { counter-increment: step; padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); }
.steps li:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--display); color: var(--clay); font-size: 1.1rem; margin-bottom: 18px; }
.steps h3 { font-size: 1.3rem; }
.steps p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- costs ---------- */
.costs { background: var(--paper); padding-top: var(--section) !important; }
.costs-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.costs-grid .btn { margin: 8px 20px 12px 0; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 500; color: var(--cocoa); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; background: var(--linen); }
.cost-table td:last-child { font-family: var(--display); font-size: 1.1rem; white-space: nowrap; color: var(--espresso); }
.cost-table a { text-decoration: none; color: var(--espresso); }
.cost-table a:hover { color: var(--clay-deep); }

/* ---------- areas ---------- */
.areas { padding-top: var(--section) !important; }
.area-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.area-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 20px 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--espresso); font-family: var(--display); font-size: 1.3rem; }
.area-list li:not(:nth-child(3n + 1)) a { padding-left: 20px; border-left: 1px solid var(--line); }
.area-list a:hover { color: var(--clay-deep); }
.area-list .i { color: var(--clay); transition: transform .25s; }
.area-list a:hover .i { transform: translateX(4px); }

/* ---------- FAQ ---------- */
.faq { margin-top: 48px; }
.faq h2 { margin-bottom: 18px; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-family: var(--display); font-size: 1.2rem; color: var(--espresso); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 1.5px solid var(--clay-deep); border-bottom: 1.5px solid var(--clay-deep); transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-a { padding: 0 0 20px; color: var(--muted); }

/* ---------- CTA band + forms ---------- */
.cta-band { background: var(--espresso); color: var(--sand); padding-block: var(--section); position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 560px; border: 2px solid rgba(214, 169, 98, .25); border-radius: var(--arch); pointer-events: none; }
.cta-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 80px); align-items: start; position: relative; z-index: 1; }
.cta-band h2 { color: var(--paper); }
.cta-copy p { color: var(--blush); font-weight: 300; }
.cta-mark { width: 64px; height: 64px; margin-bottom: 24px; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.contact-list a, .contact-list span { display: inline-flex; gap: 12px; align-items: flex-start; text-decoration: none; color: inherit; }
.contact-list .i { margin-top: 3px; color: var(--clay); }
.cta-band .contact-list a { color: var(--paper); }
.contact-list.big { font-size: 1.1rem; }

.lead-form { background: var(--paper); color: var(--ink); border-radius: 24px; padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow); }
.lead-form.is-compact { padding: 0; background: none; box-shadow: none; }
.form-title { font-family: var(--display); font-size: 1.5rem; margin-bottom: 18px; color: var(--espresso); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.is-compact .field-grid { grid-template-columns: 1fr; gap: 10px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: .82rem; color: var(--muted); }
.field em { font-style: normal; opacity: .75; }
.field-wide { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem var(--body); color: var(--ink); background: #fff; border: 1px solid rgba(111, 67, 48, .22);
  border-radius: 12px; padding: 12px 14px; min-height: 48px; transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--cocoa) 50%), linear-gradient(135deg, var(--cocoa) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--clay-deep); box-shadow: 0 0 0 3px rgba(201, 138, 110, .22); }
.field.has-error input { border-color: #b3261e; }
.form-note { font-size: .82rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
.form-note.is-error { color: #b3261e; }
.form-note.is-ok { color: #2f6b3a; font-weight: 500; }
.lead-form button[disabled] { opacity: .6; cursor: progress; }
.form-done { text-align: center; padding: 24px 8px; }
.form-done h3 { margin-bottom: 8px; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(20px, 3vw, 40px) clamp(48px, 6vw, 88px); }
.page-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); }
.page-hero-simple { border-bottom: 1px solid var(--line); }
.page-hero-simple h1 { max-width: 20ch; }
.page-hero .arch-frame { width: min(100%, 420px); }
.crumbs ol { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .82rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--clay-deep); }
.byline { font-size: .9rem; color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.ticks li { display: flex; gap: 10px; align-items: center; font-size: .95rem; }
.ticks .i { color: var(--paper); background: var(--clay); border-radius: 50%; padding: 3px; width: 20px; height: 20px; }
.price-note { margin-top: 20px; font-size: .88rem; color: var(--cocoa); background: var(--paper); border: 1px dashed rgba(111, 67, 48, .3); display: inline-block; padding: 8px 14px; border-radius: 10px; }
.preview-bar { background: var(--ochre); color: var(--espresso); text-align: center; padding: 8px; font-size: .9rem; }
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.filter a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--espresso); font-size: .88rem; }
.filter a[aria-current] { background: var(--espresso); color: var(--paper); border-color: var(--espresso); }

/* ---------- article ---------- */
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; padding-block: 12px var(--section); }
.prose { max-width: 740px; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-top: 1.9em; }
.prose-section:first-of-type h2 { margin-top: .6em; }
.prose h3 { margin-top: 1.5em; font-size: 1.3rem; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--clay); }
.prose table { margin: 1.4em 0; background: var(--paper); border-radius: 12px; overflow: hidden; display: block; overflow-x: auto; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 2px solid var(--ochre); font-family: var(--display); font-size: 1.3rem; color: var(--cocoa); }
.prose img { border-radius: 14px; margin: 1em 0; }
.toc { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 20px 24px; margin-bottom: 12px; }
.toc-title { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--clay-deep); margin-bottom: 8px; font-weight: 500; }
.toc ol { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 28px; font-size: .92rem; }
.toc a { text-decoration: none; color: var(--espresso); }
.toc a:hover { color: var(--clay-deep); }
.inline-gallery { display: grid; gap: 12px; margin: 32px 0; }
.inline-gallery.g-2 { grid-template-columns: 1fr 1fr; }
.inline-gallery.g-3 { grid-template-columns: 1.3fr 1fr 1fr; }
.inline-gallery figure { margin: 0; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 5; }
.inline-gallery figure:first-child { border-radius: 999px 999px 16px 16px; }
.inline-gallery img { width: 100%; height: 100%; object-fit: cover; margin: 0; border-radius: 0; }
.chips { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { margin: 0; padding: 6px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; }
.side { position: sticky; top: 100px; display: grid; gap: 16px; }
.side-card { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 24px; }
.side-title { font-family: var(--display); font-size: 1.45rem; margin-bottom: 4px; color: var(--espresso); }
.side-text { font-size: .9rem; color: var(--muted); }
.side-contact p { margin: 0 0 8px; display: flex; gap: 10px; align-items: flex-start; }
.side-contact a { display: inline-flex; gap: 10px; text-decoration: none; color: var(--espresso); }
.side-contact .i { color: var(--clay); margin-top: 3px; }
.related { background: var(--paper); padding-top: var(--section) !important; }

/* ---------- blog index ---------- */
.feature-post { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; text-decoration: none; color: inherit; margin-bottom: 48px; }
.feature-media { border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--sand); }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-body { display: flex; flex-direction: column; gap: 12px; }
.feature-title { font-family: var(--display); font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.15; color: var(--espresso); }
.feature-post:hover .feature-title { color: var(--clay-deep); }

/* ---------- portfolio ---------- */
.masonry { columns: 3; column-gap: 22px; }
.m-item { break-inside: avoid; margin: 0 0 22px; background: var(--paper); border-radius: 20px; overflow: hidden; border: 1px solid var(--line); }
.m-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.m-open img { width: 100%; }
.m-item figcaption { padding: 16px 18px 20px; display: grid; gap: 4px; }
.m-item strong { font-family: var(--display); font-weight: 400; font-size: 1.2rem; }
.m-item figcaption > span:not(.card-kicker) { font-size: .9rem; color: var(--muted); }
.m-item .text-link { justify-self: start; margin-top: 6px; font-size: .88rem; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 92vh; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 14px; }
.lightbox::backdrop { background: rgba(20, 13, 10, .88); }

/* ---------- about ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { background: var(--paper); border: 1px solid var(--line); border-radius: 999px 999px 22px 22px; padding: 48px 24px 28px; text-align: center; }
.value-mark { width: 48px; height: 48px; margin: 0 auto 16px; }
.value p { color: var(--muted); font-size: .95rem; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.map-wrap iframe { width: 100%; height: 380px; border: 0; border-radius: 22px; filter: sepia(.25) saturate(.8); }
.map-wrap.small iframe { height: 260px; margin-top: 20px; }

/* ---------- calculator ---------- */
.calc { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.calc-form { display: grid; gap: 22px; }
.calc fieldset { border: 0; padding: 0; margin: 0; }
.calc legend { font-size: .82rem; color: var(--muted); margin-bottom: 8px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(111, 67, 48, .25); cursor: pointer; background: #fff; }
.seg input:checked + span { background: var(--espresso); color: var(--paper); border-color: var(--espresso); }
.seg input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.checks label { display: flex; gap: 10px; align-items: center; cursor: pointer; }
.checks input { width: 18px; height: 18px; accent-color: var(--cocoa); }
.calc-result { position: sticky; top: 100px; background: var(--espresso); color: var(--sand); border-radius: 28px 28px 22px 22px; padding: 32px; }
.calc-result .eyebrow { color: var(--ochre); }
.calc-total { font-family: var(--display); font-size: clamp(2rem, 4vw, 2.8rem); color: var(--paper); line-height: 1.1; }
.calc-lines { list-style: none; padding: 0; margin: 0 0 16px; font-size: .92rem; }
.calc-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(230, 203, 187, .15); }
.calc-result .muted { color: var(--blush); opacity: .8; }
.calc-result .btn { background: var(--clay); border-color: var(--clay); }

/* ---------- footer ---------- */
.site-footer { background: #241812; color: var(--blush); padding-top: 72px; font-size: .93rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.brand-light .wm-top, .brand-light .wm-sub { color: var(--paper); }
.footer-tag { font-family: var(--display); font-size: 1.3rem; color: var(--paper); margin: 18px 0 8px; }
.footer-h { color: var(--ochre); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 12px; font-weight: 500; }
.footer-col ul { list-style: none; margin: 0 0 28px; padding: 0; }
.footer-col a, .site-footer .contact-list a { color: var(--blush); text-decoration: none; display: inline-block; padding: 3px 0; }
.footer-col a:hover, .site-footer .contact-list a:hover { color: var(--paper); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid rgba(230, 203, 187, .14); margin-top: 40px; padding-block: 22px 96px; font-size: .82rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--blush); }

/* ---------- mobile dock + dialog ---------- */
.dock { position: fixed; z-index: 40; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; gap: 6px; padding: 6px; background: rgba(46, 31, 24, .94); border-radius: 999px; box-shadow: 0 12px 40px -10px rgba(0, 0, 0, .45); backdrop-filter: blur(8px); }
.dock-btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 999px; color: var(--paper); text-decoration: none; font-size: .88rem; font-weight: 500; }
.dock-btn:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.dock-wa .i { color: #7fd69a; }
.dock-main { background: var(--clay); }
.dock-main:hover { background: var(--clay-deep); }
.enquiry-dialog { width: min(640px, 94vw); max-height: 92vh; border: 0; border-radius: 26px; padding: 32px; background: var(--paper); color: var(--ink); overflow: auto; }
.enquiry-dialog::backdrop { background: rgba(30, 20, 15, .6); backdrop-filter: blur(3px); }
.enquiry-dialog .lead-form { padding: 0; box-shadow: none; }
.dialog-close { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); cursor: pointer; display: grid; place-items: center; color: var(--espresso); }
.lightbox .dialog-close { position: fixed; right: 20px; top: 20px; }
.thanks-mark { width: 88px; height: 88px; margin: 0 auto 24px; }

/* ---------- reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav { position: fixed; inset: 78px 0 0 0; background: var(--linen); flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 120px; overflow-y: auto; transform: translateX(100%); transition: transform .3s; margin: 0; }
  .nav.is-open { transform: none; }
  .nav-link { font-family: var(--display); font-size: 1.5rem; padding: 14px 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-phone { display: flex; gap: 10px; align-items: center; padding: 20px 0; font-size: 1.1rem; color: var(--cocoa); text-decoration: none; }
  .mega { position: static; transform: none; opacity: 1; visibility: visible; width: auto; grid-template-columns: 1fr; box-shadow: none; border: 0; background: transparent; padding: 8px 0 16px; gap: 16px; display: none; }
  .has-mega.is-open .mega { display: grid; }
  .has-mega:hover .mega, .has-mega:focus-within .mega { transform: none; }
  .mega-col:nth-child(2) ul { columns: 2; }
  .menu-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: 1fr 1fr; }
  .work-grid { grid-template-columns: repeat(3, 1fr); }
  .article-grid { grid-template-columns: 1fr; }
  .side { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-grid, .page-hero-grid, .intro-grid, .costs-grid, .cta-grid, .contact-grid, .calc, .feature-post { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .arch-stage { width: min(88%, 420px); }
  .page-hero-media { max-width: 380px; }
  .cards-3 { grid-template-columns: 1fr 1fr; }
  .steps, .area-list { grid-template-columns: 1fr 1fr; }
  .steps li, .steps li:not(:nth-child(3n + 1)) { padding: 24px 20px 24px 0; border-left: 0; }
  .steps li:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--line); }
  .area-list li:not(:nth-child(3n + 1)) a { padding-left: 0; border-left: 0; }
  .area-list li:nth-child(2n) a { padding-left: 20px; border-left: 1px solid var(--line); }
  .service-index { grid-template-columns: 1fr; }
  .masonry { columns: 2; }
  .calc-result { position: static; }
  .side { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-row { height: 68px; gap: 12px; }
  .nav { top: 68px; }
  .mark { width: 36px; height: 36px; }
  .wm-top { font-size: 1.3rem; }
  .header-actions .btn-sm { display: none; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts li, .hero-facts li + li { padding: 12px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .cards-3, .steps, .area-list, .values, .ticks, .checks, .field-grid { grid-template-columns: 1fr; }
  .steps li, .steps li:nth-child(2n) { padding: 22px 0; border-left: 0; }
  .area-list li:nth-child(2n) a { padding-left: 0; border-left: 0; }
  .work-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .masonry { columns: 1; }
  .toc ol { columns: 1; }
  .inline-gallery.g-3 { grid-template-columns: 1fr 1fr; }
  .inline-gallery.g-3 figure:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .footer-top { grid-template-columns: 1fr; }
  .stripes { width: 72px; right: 0; bottom: -18px; gap: 5px; }
  .stripes i { height: 4px; }
  .arch-stage, .arch-frame { padding: 32px 0 0 22px; }
  .dock { left: 12px; right: 12px; transform: none; justify-content: space-between; }
  .dock-btn { padding: 11px 12px; }
  .dock-btn span { font-size: .82rem; }
  .enquiry-dialog { padding: 24px 18px; }
  .mega-col:nth-child(2) ul { columns: 1; }
}
@media (min-width: 1101px) {
  .dock-btn:not(.dock-main) span { display: none; }
  .dock { opacity: 0; pointer-events: none; transform: translate(-50%, 20px); transition: opacity .3s, transform .3s; }
  .dock.is-shown { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
}
