/* Studio Aangan: lime-plaster cream, terracotta, sage and teak. DM Serif Display for headings, DM Sans for text.
   Change the colours and fonts here; base.css reads these variables. */
:root {
  --bg: #F4EFE6;
  --surface: #FFFDF8;
  --soft: #EBE3D6;
  --ink: #2A2420;
  --muted: #645950;
  --line: #DED4C5;
  --line-strong: #C4B6A2;
  --brand: #9A4E28;
  --brand-hover: #803F1F;
  --brand-ink: #FFFDF8;
  --brand-text: #8C4723;
  --sage: #6B7F5E;
  --eyebrow: #5E7152;
  --ok: #4F7A45;
  --head: "DM Serif Display", Georgia, serif;
  --body: "DM Sans", system-ui, sans-serif;
  --radius: 4px;
  --radius-lg: 8px;
  --btn-radius: 4px;
  --wrap: 1200px;
  --gap: 24px;
  --est-bg: #2A2420;
  --est-ink: #F4EFE6;
}
h1, h2, h3 { font-weight: 400; letter-spacing: -.01em; }
h1 em, h2 em, .f-statement em { font-style: italic; color: var(--brand); }
.eyebrow { letter-spacing: .18em; font-size: .74rem; }
.btn { font-weight: 600; }
.w-cover { border-radius: var(--radius); }
.w-text h3 { font-family: var(--head); font-weight: 400; font-size: 1.45rem; }

/* header */
.header { background: rgba(244,239,230,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark { width: 36px; height: 36px; }
.logo span { display: grid; line-height: 1.05; }
.logo b { font: 400 1.5rem var(--head); }
.logo small { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.nav a { font-weight: 500; color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--brand); border-radius: 0; }

/* hero */
.hero { padding-block: clamp(36px, 6vw, 88px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.02; margin: 16px 0 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-plan { margin: 0; background: var(--surface); padding: 14px; border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(42,36,32,.35); transform: rotate(-1.2deg); }
.hero-plan figcaption { margin-top: 10px; font-size: .82rem; color: var(--muted); }
.facts-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
@media (max-width: 760px) { .facts-row { grid-template-columns: 1fr 1fr; } }
.facts-row div { display: grid; gap: 4px; padding: 24px 16px; border-left: 1px solid var(--line); }
.facts-row div:first-child { border-left: 0; }
.facts-row b { font: 400 clamp(2.4rem, 5vw, 3.4rem)/1 var(--head); color: var(--brand); }
.facts-row span { color: var(--muted); }

/* materials */
.materials-band { background: var(--soft); }
.mat { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .mat { grid-template-columns: minmax(0, 1fr); } }
.mat-detail { margin-top: 24px; padding: 20px; background: var(--surface); border-left: 4px solid var(--brand); min-height: 110px; }
.mat-detail b { font: 400 1.5rem var(--head); }
.mat-detail p { color: var(--muted); margin-top: 6px; }
.mat-board { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 520px) { .mat-board { grid-template-columns: 1fr 1fr; } }
.mat-board button { display: grid; gap: 10px; width: 100%; padding: 10px; border: 2px solid transparent; background: var(--surface); text-align: left; font-weight: 600; cursor: pointer; }
.mat-board button[aria-pressed="true"] { border-color: var(--ink); }
.sw { display: block; aspect-ratio: 1; background: var(--sw); background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1.5px), radial-gradient(rgba(0,0,0,.08) 1px, transparent 1.5px); background-size: 9px 9px, 13px 13px; }

/* cost estimator */
.ce { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .ce { grid-template-columns: minmax(0, 1fr); } }
.ce-in { display: grid; gap: 26px; }
.ce-bhk input, .ce-rooms input, .ce-levels input { accent-color: var(--brand); width: 18px; height: 18px; flex: none; }
.ce-rooms { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 8px; }
.ce-rooms label, .ce-levels label { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1.5px solid var(--line-strong); background: var(--surface); border-radius: var(--radius); cursor: pointer; }
.ce-rooms label:has(input:checked), .ce-levels label:has(input:checked) { border-color: var(--brand); background: #FBF1EA; }
.ce-levels { display: grid; gap: 8px; }
.ce-levels span { display: grid; }
.ce-levels small { color: var(--muted); }
.ce-out { position: sticky; top: 96px; display: grid; gap: 14px; padding: clamp(22px, 3vw, 32px); background: var(--ink); color: #F4EFE6; border-radius: var(--radius-lg); }
.ce-out .eyebrow { color: #C8D3BE; }
.ce-total b { font: 400 clamp(2.2rem, 4.6vw, 3.2rem)/1.05 var(--head); }
.ce-per { color: #CFC5B8; font-size: .92rem; }
.ce-bar { display: flex; height: 14px; border-radius: 999px; overflow: hidden; background: #3A322C; }
.ce-bar span { display: block; height: 100%; transition: width .3s; }
.ce-split { list-style: none; display: grid; gap: 6px; font-size: .92rem; }
.ce-split li { display: grid; grid-template-columns: 12px 1fr auto; gap: 10px; align-items: center; }
.ce-split i { width: 12px; height: 12px; border-radius: 3px; }
.ce-split b { font-variant-numeric: tabular-nums; font-weight: 600; }
.ce-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0 0; }
.ce-facts div { padding: 12px; background: #3A322C; border-radius: var(--radius); }
.ce-facts dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: #C8D3BE; }
.ce-facts dd { margin: 4px 0 0; font-weight: 600; }
.ce-pay { border-color: #4A413A; }
.ce-pay summary { padding: 12px 0; }
.ce-pay ol { padding: 0 0 12px 1.2em; display: grid; gap: 4px; color: #CFC5B8; }
.ce-out .form-note { color: #A99E91; }
.ce-out .btn-primary { background: #F4EFE6; color: var(--ink); }

/* inner pages */
.page-head { border-bottom: 1px solid var(--line); margin-bottom: clamp(28px, 4vw, 48px); }
.page-head h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
.cs-results dt { color: var(--brand); font-weight: 400; }
.svc { border-radius: var(--radius); }
.svc-from b { font-weight: 400; }
.process-band { background: var(--soft); }
.steps li { border-top-color: var(--sage); }
.quotes blockquote p { font: italic 400 1.25rem/1.45 var(--head); }

/* CTA + footer */
.cta-band { padding-block: clamp(56px, 8vw, 96px); background: var(--brand); color: #FFF7EF; }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; }
.cta-band h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.cta-band h2 em { color: #FFE1C7; }
.cta-band p { margin-top: 10px; max-width: 52ch; color: #F8E3D3; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-primary { background: #FFF7EF; color: var(--brand); }
.cta-band .btn-ghost { color: #FFF7EF; border-color: rgba(255,247,239,.7); }
.footer { background: #2A2420; color: #BFB3A5; --footer-line: rgba(255,255,255,.14); }
.f-statement { font: 400 clamp(2.4rem, 6vw, 4.4rem)/1.02 var(--head); color: #F4EFE6; margin-bottom: 48px; }
.f-statement em { color: #E3A47E; }
.footer .logo { color: #F4EFE6; }
.footer .logo small { color: #9F9386; }
.footer h2 { color: #F4EFE6; }
.f-about { margin-top: 14px; max-width: 34ch; }
.footer .credit a { color: #F4EFE6; }
