/* Hastkala Handicrafts: ivory, terracotta, antique brass and ink. Prata for headings, Karla for text.
   Change the colours and fonts here; base.css reads these variables. */
:root {
  --bg: #FBF5EA;
  --surface: #FFFCF6;
  --soft: #F3E9D6;
  --ink: #2A2320;
  --muted: #65574D;
  --line: #E6D8BF;
  --line-strong: #CDB893;
  --brand: #A4442A;
  --brand-hover: #873520;
  --brand-ink: #FFFCF6;
  --brand-text: #93391F;
  --brass: #C79A3B;
  --eyebrow: #93391F;
  --head: "Prata", Georgia, serif;
  --body: "Karla", system-ui, sans-serif;
  --radius: 4px;
  --radius-lg: 6px;
  --btn-radius: 2px;
  --wrap: 1180px;
  --menu-bg: #FBF5EA;
  --announce-bg: #2A2320;
  --announce-ink: #F3E9D6;
}
h1, h2, h3 { font-weight: 400; letter-spacing: 0; }
h3 { font-family: var(--body); font-weight: 700; }
.eyebrow { letter-spacing: .18em; }
.btn { font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .88rem; }

.header { background: var(--bg); border-bottom: 1px solid var(--line-strong); }
.header::after { content: ""; display: block; height: 4px; background: repeating-linear-gradient(90deg, var(--brand) 0 20px, var(--brass) 20px 40px, #2E3A5C 40px 60px); }
.logo b { font: 400 1.5rem/1 var(--head); }
.logo small { color: var(--muted); font-size: .76rem; letter-spacing: .06em; }
.nav a { font-weight: 600; color: var(--ink); }
.nav a:hover { color: var(--brand); }
.nav a[aria-current="page"] { color: var(--brand); text-decoration: underline; text-underline-offset: 6px; }

.hero { padding-block: clamp(32px, 5vw, 64px) clamp(48px, 7vw, 96px); text-align: center; }
.gallery-wall { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: clamp(10px, 2vw, 24px); align-items: end; max-width: 880px; margin: 0 auto clamp(28px, 4vw, 48px); }
.fr { margin: 0; padding: clamp(6px, 1vw, 12px); background: #fff; border: 1px solid var(--line-strong); box-shadow: 0 20px 30px -24px rgba(42,35,32,.6), inset 0 0 0 4px var(--brass); }
.fr svg { width: 100%; height: auto; display: block; }
.fr-1 { transform: rotate(-2deg); } .fr-3 { transform: rotate(2deg); }
.fr-2 { border-radius: 200px 200px 0 0; padding-top: 18px; }
.fr-2 svg { border-radius: 190px 190px 0 0; }
.hero h1 { font-size: clamp(2.3rem, 5.6vw, 4.4rem); line-height: 1.08; margin: 14px auto 18px; max-width: 18ch; }
.hero h1 em { color: var(--brand); }
.hero .lede { margin-inline: auto; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.stats { text-align: center; }
.stats b { color: var(--brand); font-weight: 400; }
.prod { border-color: var(--line-strong); }
.prod-art { border-bottom: 4px solid var(--brass); }
.band-terra { background: var(--brand); color: #FCEFE6; }
.band-terra .eyebrow { color: #F2C98F; }
.band-terra .lede { color: #F3D7C8; }
.band-terra .btn-primary { background: var(--brass); color: var(--ink); margin-top: 24px; }
.tiers-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .tiers-in { grid-template-columns: minmax(0, 1fr); } }
.tier-demo { width: 100%; border-collapse: collapse; background: var(--surface); color: var(--ink); }
.tier-demo caption { text-align: left; padding: 0 0 10px; font-family: var(--head); font-size: 1.2rem; color: #FCEFE6; }
.tier-demo th, .tier-demo td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; }
.tier-demo th { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.tier-demo td:last-child { font-weight: 700; text-align: right; }
.tier-demo tr:last-child td { background: #FFF3D6; }
.split-x { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .split-x { grid-template-columns: minmax(0, 1fr); } }
.buyers-t { margin: 22px 0 10px; font-size: 1rem; }
.quotes li { border-top: 4px solid var(--brass); }
.quotes blockquote { font: 400 1.12rem/1.5 var(--head); }

/* wholesale */
.ws-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.ws-list { list-style: none; display: grid; gap: 12px; }
.ws-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) 132px; gap: 14px; align-items: start; padding: 14px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); }
.ws-row.is-active { border-color: var(--brand); box-shadow: inset 4px 0 0 var(--brand); }
.ws-row .sw { width: 96px; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); }
.ws-row .sw svg { width: 100%; height: 100%; transform: scale(1.3); }
.ws-info h3 { font-size: 1.05rem; }
.ws-tiers { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ws-tiers li { display: grid; padding: 4px 10px; border: 1px solid var(--line-strong); border-radius: 3px; font-size: .8rem; line-height: 1.3; }
.ws-tiers li span { color: var(--muted); }
.ws-tiers li.is-on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.ws-tiers li.is-on span { color: #D9CBB4; }
.ws-act { display: grid; gap: 6px; }
.ws-act .input { min-height: 44px; padding: 8px 10px; }
.ws-sample { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-weight: 600; font-size: .9rem; cursor: pointer; }
.ws-sample input { width: 18px; height: 18px; accent-color: var(--brand); }
.ws-msg { grid-column: 2 / -1; min-height: 0; }
.ws-msg:empty { display: none; }
@media (max-width: 560px) { .ws-row { grid-template-columns: 72px minmax(0, 1fr); } .ws-row .sw { width: 72px; } .ws-act { grid-column: 1 / -1; grid-template-columns: auto 1fr auto; align-items: center; } .ws-msg { grid-column: 1 / -1; } }
.tool-out { background: var(--ink); color: var(--bg); border: 0; }
.tool-out .eyebrow, .tool-out .docs-t { color: #F2C98F; }
.docs-t { font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px; }
.tool-total { color: #fff; }
.tool-out .tool-range, .tool-out .tool-note, .tool-out .tool-lines dt, .tool-out .mini { color: #CDBFAE; }
.tool-out .tool-lines div { border-color: #463C36; }
.tool-out .btn-primary { background: var(--brass); color: var(--ink); }
.tool-out .btn-ghost { color: #fff; border-color: #6D6058; }

.page-head { text-align: center; background: var(--soft); border-bottom: 1px solid var(--line-strong); margin-bottom: clamp(24px, 4vw, 44px); }
.page-head .lede { margin-inline: auto; }
.cta-band { background: var(--soft); border-top: 1px solid var(--line-strong); }
.footer { background: var(--ink); color: #CDBFAE; --footer-line: #463C36; }
.footer .logo b { color: #fff; }
.footer h2 { color: #F2C98F; opacity: 1; }
.footer .credit a { color: #fff; }
