/* Haath Crafts: warm paper, madder, turmeric and teal. Yeseva One for headings, Mukta for text.
   Change the colours and fonts here; base.css reads these variables. */
:root {
  --bg: #FFF8EC;
  --surface: #FFFFFF;
  --soft: #F4E6CF;
  --ink: #22181A;
  --muted: #64544E;
  --line: #EADBC3;
  --line-strong: #D3BC98;
  --brand: #7A1F2B;
  --brand-hover: #621823;
  --brand-ink: #FFF8EC;
  --brand-text: #7A1F2B;
  --turmeric: #F2A93B;
  --teal: #1F6F6B;
  --eyebrow: #1F6F6B;
  --badge-bg: #F2A93B;
  --badge-ink: #22181A;
  --announce-bg: #F2A93B;
  --announce-ink: #22181A;
  --head: "Yeseva One", Georgia, serif;
  --body: "Mukta", system-ui, sans-serif;
  --fs-body: 1.05rem;
  --radius: 8px;
  --radius-lg: 14px;
  --btn-radius: 999px;
  --wrap: 1240px;
  --gap: 20px;
}
h1, h2, h3 { font-weight: 400; }
h1 em, h2 em, .f-statement em { font-style: normal; color: var(--brand); background: linear-gradient(transparent 62%, rgba(242,169,59,.55) 62%); }
.btn { font-weight: 700; }
.p-body h3 { font-weight: 700; }

/* header */
.header { background: var(--bg); border-bottom: 3px solid var(--ink); }
.header .wrap { gap: 18px; }
.logo { display: flex; align-items: baseline; gap: 6px; text-decoration: none; }
.logo-hand { font-size: 1.3rem; }
.logo b { font: 400 1.8rem var(--head); color: var(--brand); }
.logo small { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .72rem; color: var(--teal); }
.nav a { font-weight: 700; }
.nav a[aria-current="page"] { background: var(--turmeric); }
@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, 1.05fr) minmax(0, 1fr); 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.2rem); line-height: 1.08; margin: 14px 0 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hm { display: block; border-radius: var(--radius-lg); overflow: hidden; border: 3px solid var(--ink); }
.hm svg { width: 100%; height: auto; display: block; transition: transform .4s; }
.hm:hover svg { transform: scale(1.05); }
.hm-0 { border-radius: 50% 50% var(--radius-lg) var(--radius-lg); } .hm-3 { border-radius: var(--radius-lg) var(--radius-lg) 50% 50%; }
.cat-tiles svg { border: 3px solid var(--ink); }
.promise-band { background: var(--ink); color: #EADBC3; }
.promise-band .sec-title { color: #fff; }
.promise-band .lede { color: #CBB9A6; margin-top: 16px; }
.split-bar { display: flex; border-radius: var(--radius); overflow: hidden; min-height: 64px; }
.split-bar span { display: grid; align-content: center; padding: 8px 10px; color: var(--ink); font-weight: 700; font-size: .9rem; min-width: 0; overflow: hidden; }
.split-bar b { display: block; font: 400 1.3rem var(--head); }
.split-bar span:nth-child(2), .split-bar span:nth-child(3) { color: #fff; }
@media (max-width: 600px) { .split-bar { flex-direction: column; } .split-bar span { flex: none !important; } }

/* craft map */
.cmap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .cmap { grid-template-columns: minmax(0, 1fr); } }
.tiles { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); grid-template-rows: repeat(var(--rows), auto); gap: 5px; }
.tile { aspect-ratio: 1; display: grid; place-items: center; border: 0; border-radius: 6px; background: #E9DCC6; color: #A99883; font: 700 clamp(.6rem, 1.4vw, .85rem) var(--body); }
.tile.has-craft { background: var(--teal); color: #fff; cursor: pointer; transition: transform .15s; }
.tile.has-craft:hover { transform: scale(1.08); }
.tile[aria-pressed="true"] { background: var(--turmeric); color: var(--ink); box-shadow: 0 0 0 3px var(--ink); }
.tile:disabled { cursor: default; }
.cmap-panel { position: sticky; top: 96px; display: grid; gap: 12px; }
.cmap-panel h2 { font-size: 2rem; }
.cm-products { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.cm-products a { display: grid; gap: 6px; text-decoration: none; font-weight: 600; font-size: .92rem; }
.cm-products svg { width: 100%; height: auto; border-radius: var(--radius); }
.legend-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 6px 20px; margin-top: 28px; color: var(--muted); font-size: .92rem; }
.legend-list b { display: inline-block; min-width: 30px; color: var(--teal); }

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

/* CTA + footer */
.cta-band { padding-block: clamp(48px, 7vw, 88px); text-align: center; background: var(--turmeric); }
.cta-band h2 { font-size: clamp(2rem, 4.6vw, 3rem); }
.cta-band p { margin: 10px auto 0; max-width: 50ch; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.cta-band .btn-ghost { border-color: var(--ink); }
.footer { background: var(--brand); color: #F1D9C9; --footer-line: rgba(255,255,255,.18); }
.f-statement { font: 400 clamp(2.2rem, 6vw, 4rem)/1.1 var(--head); color: #FFF8EC; margin-bottom: 44px; }
.f-statement em { background: none; color: var(--turmeric); }
.footer .logo b { color: #FFF8EC; }
.footer .logo small { color: var(--turmeric); }
.footer h2 { color: #FFF8EC; }
.f-about { margin-top: 12px; max-width: 34ch; }
.footer .credit a { color: #FFF8EC; }
