/* Lakdi Home: cream, sheesham brown, terracotta and olive. Playfair Display for headings, Karla for text.
   Change the colours and fonts here; base.css reads these variables. */
:root {
  --bg: #F6F0E8;
  --surface: #FFFCF7;
  --soft: #EDE3D4;
  --ink: #2B2119;
  --muted: #6B5D50;
  --line: #E1D5C3;
  --line-strong: #C9B79F;
  --brand: #6B3E26;
  --brand-hover: #55301C;
  --brand-ink: #FFFCF7;
  --brand-text: #6B3E26;
  --terracotta: #C0703F;
  --olive: #6B7244;
  --eyebrow: #6B7244;
  --badge-bg: #C0703F;
  --announce-bg: #6B3E26;
  --announce-ink: #F6F0E8;
  --head: "Playfair Display", Georgia, serif;
  --body: "Karla", system-ui, sans-serif;
  --radius: 4px;
  --radius-lg: 6px;
  --btn-radius: 2px;
  --wrap: 1240px;
  --gap: 22px;
}
h1, h2, h3 { font-weight: 600; }
h1 em, h2 em, .f-statement em { font-style: italic; color: var(--terracotta); }
.eyebrow { letter-spacing: .2em; font-size: .72rem; }
.btn { font-weight: 700; letter-spacing: .04em; }
.p-body h3 { font-weight: 700; }

/* header */
.header { background: rgba(246,240,232,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header .wrap { gap: 18px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brand); }
.logo-mark { width: 36px; height: 36px; }
.logo span { display: grid; line-height: 1; }
.logo b { font: 700 1.6rem var(--head); color: var(--ink); }
.logo small { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.nav a { font-weight: 600; }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--terracotta); border-radius: 0; }
@media (max-width: 960px) { .h-tools { order: 2; margin-left: auto; } .nav-toggle { order: 3; margin-left: 0; } .header .logo { margin-right: 0; } }

/* hero */
.hero { padding-block: clamp(32px, 5vw, 72px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); line-height: 1.04; margin: 16px 0 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-room { position: relative; aspect-ratio: 1.2; background: linear-gradient(180deg, #EDE3D4 0 72%, #D9C6AC 72%); border-radius: var(--radius-lg); overflow: hidden; }
.hr { position: absolute; }
.hr svg { width: 100%; height: auto; display: block; }
.hr-1 { left: 4%; bottom: 6%; width: 64%; }
.hr-2 { right: 4%; bottom: 10%; width: 30%; }
.hr-3 { left: 40%; bottom: -4%; width: 36%; }
.wood-band { background: var(--brand); color: #EADBC9; }
.wood-band .eyebrow { color: #E3B58E; }
.wood-band .sec-title { color: #fff; }
.wood-band .lede { color: #DCCBB8; }
.wood { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .wood { grid-template-columns: minmax(0, 1fr); } }
.wood-facts { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.18); }
.wood-facts li { display: grid; gap: 4px; padding: 20px; background: var(--brand); }
.wood-facts b { font: 600 1.8rem var(--head); color: #fff; }

/* room planner */
.rp { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: clamp(16px, 3vw, 32px); align-items: start; }
@media (max-width: 900px) { .rp { grid-template-columns: minmax(0, 1fr); } }
.rp-side { display: grid; gap: 18px; }
.choice input, .rp-items input { accent-color: var(--brand); }
.rp-items { display: grid; gap: 6px; max-height: 420px; overflow-y: auto; }
.rp-items label { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; font-size: .92rem; }
.rp-items span { display: grid; }
.rp-items small { color: var(--muted); }
.rp-stage { padding: 14px; background: repeating-linear-gradient(0deg, transparent 0 19px, rgba(107,62,38,.06) 19px 20px), repeating-linear-gradient(90deg, transparent 0 19px, rgba(107,62,38,.06) 19px 20px), var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); touch-action: none; }
.rp-room { position: relative; margin: 0 auto; background: #EAD9BF; border: 4px solid var(--ink); }
.rp-piece { position: absolute; display: grid; place-items: center; padding: 2px; border: 2px solid var(--brand); background: rgba(192,112,63,.85); color: #fff; font-size: .7rem; font-weight: 700; text-align: center; line-height: 1.1; cursor: grab; user-select: none; overflow: hidden; }
.rp-piece.is-rug { background: repeating-linear-gradient(45deg, rgba(107,114,68,.35) 0 6px, rgba(107,114,68,.2) 6px 12px); border-style: dashed; color: var(--ink); z-index: 0; }
.rp-piece:not(.is-rug) { z-index: 1; }
.rp-piece.is-sel { outline: 3px solid var(--ink); outline-offset: 2px; z-index: 3; }
.rp-piece.is-bad { background: rgba(180,35,24,.85); border-color: #7A1810; }
.rp-piece.is-tight { box-shadow: 0 0 0 3px #E8A33D; }
.rp-piece:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 2px; }
.rp-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; }
.rp-status { font-weight: 600; }
.rp-status.is-bad { color: #B42318; }
.rp-status.is-ok { color: #3E6B2E; }

/* inner pages */
.page-head { border-bottom: 1px solid var(--line); margin-bottom: clamp(24px, 4vw, 40px); }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }

/* CTA + footer */
.cta-band { padding-block: clamp(48px, 7vw, 88px); background: var(--soft); }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.cta-band h2 { font-size: clamp(1.9rem, 4.4vw, 2.8rem); }
.cta-band p { color: var(--muted); margin-top: 8px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.footer { background: var(--ink); color: #C9BBAA; --footer-line: rgba(255,255,255,.14); }
.f-statement { font: 600 clamp(2.2rem, 6vw, 4rem)/1.05 var(--head); color: #F6F0E8; margin-bottom: 44px; }
.footer .logo { color: #E3B58E; }
.footer .logo b { color: #F6F0E8; }
.footer h2 { color: #F6F0E8; }
.f-about { margin-top: 12px; max-width: 34ch; }
.footer .credit a { color: #F6F0E8; }
