/* KalaSutra – House of Art, v3
   Ivory gallery ground so colourful artwork leads; deep peacock teal for structure; gold used sparingly. */
:root {
  --ivory: #f6f1e7;
  --paper: #fffdf8;
  --line: #e3d9c6;
  --teal-deep: #123f3f;
  --teal: #1d5c5a;
  --gold: #a87a2f;
  --gold-light: #d9b56f;
  --ink: #1f2625;
  --ink-soft: #4b5552;
  --wa: #1d7348;
  --display: "Marcellus", Georgia, serif;
  --body: "Karla", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 10px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); }
p { margin: 0 0 1em; max-width: 66ch; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: var(--paper); padding: 8px 12px; z-index: 30; }
.skip:focus { left: 8px; }

/* Header */
.site-header { background: var(--teal-deep); color: var(--ivory); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 66px; flex-wrap: wrap; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.05; }
.brand-name { font-family: var(--display); font-size: 1.5rem; color: #fff; }
.brand-sub { font-size: .78rem; color: var(--gold-light); letter-spacing: .06em; }
.header-tools { display: flex; align-items: center; gap: 8px; order: 2; }
.nav { display: flex; gap: 2px; align-items: center; order: 1; margin-left: auto; }
.nav a { text-decoration: none; padding: 10px 11px; border-radius: 6px; font-size: .95rem; color: var(--ivory); }
.nav a:hover { background: rgba(255,255,255,.08); }
.nav a[aria-current="page"] { color: var(--gold-light); }
.nav .nav-cta { border: 1px solid var(--gold-light); color: #fff; margin-left: 6px; }
.shortlist-link { text-decoration: none; font-size: .92rem; padding: 9px 12px; border-radius: 6px; border: 1px solid rgba(255,255,255,.25); white-space: nowrap; }
.shortlist-link .count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--gold-light); color: var(--teal-deep); font-weight: 600; font-size: .8rem; margin-left: 4px; }
.nav-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: 6px; padding: 9px 12px; font: inherit; min-height: 44px; }
@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .nav { display: none; order: 3; width: 100%; flex-direction: column; align-items: stretch; padding: 4px 0 16px; border-top: 1px solid rgba(255,255,255,.12); }
  .nav.open { display: flex; }
  .nav a { padding: 13px 6px; }
  .nav .nav-cta { margin: 8px 0 0; text-align: center; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; text-decoration: none; font-weight: 600; font-size: 1rem; padding: 11px 20px; border-radius: 8px; border: 1px solid transparent; cursor: pointer; font-family: var(--body); line-height: 1.2; }
.btn-teal { background: var(--teal-deep); color: #fff; }
.btn-teal:hover { background: var(--teal); }
.btn-gold { background: var(--gold-light); color: var(--teal-deep); }
.btn-gold:hover { background: #e4c483; }
.btn-line-dark { border-color: var(--teal-deep); color: var(--teal-deep); background: transparent; }
.btn-line-dark:hover { background: rgba(18,63,63,.06); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #175d3a; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.text-link { color: var(--teal); font-weight: 600; text-underline-offset: 4px; }

/* Hero (ivory, artwork leads) */
.hero, .page-hero { background: var(--ivory); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(32px, 5vw, 64px); }
.hero-copy { min-width: 0; }
.lede { font-size: 1.12rem; color: var(--ink-soft); }
.hero-art { margin: 0; justify-self: center; max-width: 520px; width: 100%; }
.hero-art img { width: 100%; max-height: 640px; object-fit: contain; background: var(--paper); padding: 12px; border: 1px solid var(--line); box-shadow: 0 1px 0 var(--line); }
.hero-art figcaption { font-size: .88rem; color: var(--ink-soft); margin-top: 10px; }
.page-hero h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
.page-hero.slim .wrap { padding-top: 40px; padding-bottom: 32px; }
.note-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; font-size: .95rem; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { max-width: 420px; } .hero-art img { max-height: 520px; } }

/* Sections */
.section { padding-top: clamp(48px, 7vw, 84px); padding-bottom: clamp(48px, 7vw, 84px); }
.section-white { background: var(--paper); }
.section-teal { background: var(--teal-deep); color: var(--ivory); }
.section-teal h2, .section-teal h3 { color: #fff; }
.section-teal p, .section-teal li { color: #dbe4e0; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.intro-p { color: var(--ink-soft); }
.small-note { font-size: .9rem; color: var(--ink-soft); margin-top: 16px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split > * { min-width: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.feature-img { margin: 0; }
.feature-img img { width: 100%; max-height: 560px; object-fit: contain; background: var(--paper); padding: 10px; border: 1px solid var(--line); }
.section-teal .feature-img img { border-color: rgba(255,255,255,.15); }
.feature-img.small { max-width: 420px; justify-self: center; }
.craft-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.craft-pair img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }

/* Routes */
.routes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 8px; }
.route { text-decoration: none; display: block; }
.route figure { margin: 0 0 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.route img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.route p { color: var(--ink-soft); font-size: .98rem; }
.route .go { font-weight: 600; color: var(--teal); text-decoration: underline; text-underline-offset: 4px; }
.route:hover .go { color: var(--teal-deep); }
@media (max-width: 860px) { .routes { grid-template-columns: 1fr; max-width: 480px; } }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 32px 24px; }
.card { display: flex; flex-direction: column; min-width: 0; }
.card-open { all: unset; cursor: pointer; display: block; border-radius: var(--radius); }
.card-open:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.card-fig { margin: 0; position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 4 / 5; display: grid; place-items: center; overflow: hidden; }
.card-fig img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.card-fig.illus svg { width: 62%; height: 62%; }
.concept { position: absolute; left: 10px; bottom: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; font-size: .78rem; padding: 3px 10px; color: var(--ink-soft); }
.card-body { display: block; padding-top: 12px; }
.card-cat { display: block; font-size: .82rem; color: var(--gold); font-weight: 600; margin-bottom: 2px; }
.card-title { display: block; font-family: var(--display); font-size: 1.18rem; line-height: 1.25; }
.card-desc { display: block; font-size: .93rem; color: var(--ink-soft); margin-top: 4px; }
.card-open:hover .card-title { text-decoration: underline; text-underline-offset: 3px; }
.card-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding-top: 10px; }
.price { font-family: var(--display); font-size: 1.25rem; color: var(--teal-deep); font-variant-numeric: tabular-nums; }
.tag { font-size: .86rem; color: var(--ink-soft); font-weight: 600; }
.shortlist-btn { background: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; min-height: 40px; font: inherit; font-size: .86rem; color: var(--teal-deep); cursor: pointer; }
.shortlist-btn[aria-pressed="true"] { background: var(--teal-deep); color: #fff; border-color: var(--teal-deep); }
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 22px 12px; }
  .card-title { font-size: 1.02rem; }
  .card-desc { display: none; }
  .card-meta { flex-direction: column; align-items: stretch; }
  .shortlist-btn { width: 100%; }
}

/* Collections and subnav */
.subnav { position: sticky; top: 66px; z-index: 10; background: var(--ivory); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 8px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; }
.subnav a { white-space: nowrap; text-decoration: none; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: .92rem; background: var(--paper); }
.collection { padding: 56px 0 8px; scroll-margin-top: 130px; }
.collection-head { max-width: 720px; margin-bottom: 26px; }
.collection-head p { color: var(--ink-soft); }

/* Filters */
.filter-bar { padding: 28px 0 24px; display: flex; flex-direction: column; gap: 10px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-size: .92rem; padding: 8px 14px; min-height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; }
.filter-count { font-size: .9rem; color: var(--ink-soft); margin: 4px 0 0; }
.empty { padding: 24px 0; color: var(--ink-soft); }
.spacer { height: 56px; }

/* Budget guide */
.budgets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.budget { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.budget h3 { color: var(--teal-deep); }
.budget ul { margin: 0; padding-left: 18px; color: var(--ink-soft); }
.budget li { margin-bottom: 6px; }
@media (max-width: 860px) { .budgets { grid-template-columns: 1fr; } }

/* Lists, steps */
.ticks { list-style: none; padding: 0; margin: 0 0 18px; }
.ticks li { padding: 9px 0 9px 26px; position: relative; border-bottom: 1px solid var(--line); }
.section-teal .ticks li { border-color: rgba(255,255,255,.14); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 18px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold-light); }
.steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: s; }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--gold); font-family: var(--display); color: var(--teal-deep); margin-bottom: 12px; }
.steps p { color: var(--ink-soft); font-size: .96rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.steps-v { padding-left: 20px; color: var(--ink-soft); }
.steps-v li { margin-bottom: 8px; }
.crafts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 32px; margin-top: 18px; }
@media (max-width: 860px) { .crafts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .crafts { grid-template-columns: 1fr; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-family: var(--display); font-size: 1.15rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; min-height: 32px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.4rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; color: var(--ink-soft); }

/* Forms */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: clamp(18px, 3vw, 28px); min-width: 0; }
.section-white .form-card { background: var(--ivory); }
.form-card h2 { font-size: 1.7rem; }
.enquire-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 40px; align-items: start; }
.aside h2 { font-size: 1.5rem; }
@media (max-width: 860px) { .enquire-grid { grid-template-columns: 1fr; } }
.field { margin: 0 0 14px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 600; font-size: .94rem; margin-bottom: 6px; padding: 0; }
.req { font-weight: 400; color: var(--ink-soft); font-size: .82rem; margin-left: 4px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: 11px 12px; min-height: 46px; border: 1px solid #c9bda6; border-radius: 8px; background: #fff; color: var(--ink); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #a3332b; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.choices { display: flex; flex-direction: column; gap: 6px; }
.choice { display: flex; align-items: center; gap: 10px; font-weight: 400 !important; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; min-height: 46px; }
.choice input { width: 18px; height: 18px; min-height: 0; margin: 0; accent-color: var(--teal-deep); }
.field-hint { font-size: .88rem; color: var(--ink-soft); margin: -4px 0 14px; }
.form-error { background: #fbeceb; border: 1px solid #e3b4af; color: #7d221b; border-radius: 8px; padding: 12px 14px; font-size: .95rem; }
.form-note { font-size: .86rem; color: var(--ink-soft); margin-top: 14px; }
.form-success { background: #eef6f1; border: 1px solid #b9dcc6; border-radius: 10px; padding: 20px; }
.form-success h3 { color: var(--wa); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.test-banner { background: #fff4d6; border: 1px solid #e8cf86; padding: 10px 14px; border-radius: 8px; font-size: .92rem; margin-bottom: 14px; }
.shortlist-panel { border-bottom: 1px solid var(--line); margin-bottom: 18px; padding-bottom: 12px; }
.shortlist-panel h2 { font-size: 1.4rem; }
.shortlist-items { list-style: none; padding: 0; margin: 0; }
.shortlist-items li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.shortlist-items button { background: none; border: 0; color: var(--teal); text-decoration: underline; font: inherit; font-size: .88rem; cursor: pointer; min-height: 36px; }

/* Detail dialog */
.detail { border: 0; padding: 0; border-radius: 14px; width: min(980px, calc(100vw - 32px)); max-height: calc(100vh - 32px); background: var(--paper); color: var(--ink); }
.detail::backdrop { background: rgba(18, 30, 30, .55); }
.detail-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; position: relative; }
.detail-media { background: var(--ivory); display: grid; place-items: center; padding: 18px; min-height: 280px; }
.detail-media img { max-height: calc(100vh - 140px); width: auto; max-width: 100%; object-fit: contain; }
.detail-media .illus svg { width: 70%; }
.detail-media a { display: block; }
.zoom-link { display: inline-block; margin-top: 10px; font-size: .9rem; color: var(--teal); font-weight: 600; }
.detail-info { padding: 28px 28px 24px; overflow: auto; }
.detail-cat { color: var(--gold); font-weight: 600; font-size: .88rem; margin-bottom: 4px; }
.detail-price { font-family: var(--display); font-size: 1.5rem; color: var(--teal-deep); }
.detail-list { padding-left: 18px; color: var(--ink-soft); }
.detail-custom { font-size: .95rem; }
.detail-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.detail-note { font-size: .86rem; color: var(--ink-soft); margin-top: 14px; }
.detail-close { position: absolute; right: 12px; top: 12px; z-index: 2; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; min-height: 40px; font: inherit; cursor: pointer; }
@media (max-width: 760px) { .detail-inner { grid-template-columns: 1fr; } .detail-media img { max-height: 52vh; } .detail-info { padding: 20px; } }

/* Footer and floating WhatsApp */
.site-footer { background: #0d3030; color: #b8c8c3; font-size: .94rem; padding-bottom: 90px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; padding-top: 40px; padding-bottom: 24px; }
.site-footer a { color: #e2ebe8; }
.footer-brand { font-family: var(--display); font-size: 1.25rem; color: #fff; }
.footer-h { color: #fff; font-weight: 600; margin-bottom: 6px; }
.footer-links { display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
/* Bottom-left so it never sits under the host's "Powered by Netlify" badge (bottom-right). */
.wa-float { position: fixed; left: calc(16px + env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 15; background: var(--wa); color: #fff; text-decoration: none; font-weight: 600; padding: 12px 18px; min-height: 46px; border-radius: 999px; box-shadow: 0 6px 18px rgba(0,0,0,.18); font-size: .95rem; display: inline-flex; align-items: center; }
.wa-float:hover { background: #175d3a; }
/* Card proportions: square by default (festive product shots are mostly landscape/square);
   portrait frame on Signature Art where most pieces are tall paintings. Images are never cropped (contain). */
.card-fig { aspect-ratio: 1 / 1; }
.art-cards .card-fig { aspect-ratio: 4 / 5; }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .wa-float { padding: 10px 14px; min-height: 44px; font-size: .9rem; } }
/* v3.1: WhatsApp lives in the nav (no floating button), wide cards for landscape product photos */
.wa-float { display: none; }
.site-footer { padding-bottom: 24px; }
.nav .nav-wa { color: #bfe6cf; }
.hero-wa { margin-top: 16px; font-size: .96rem; color: var(--ink-soft); }
.card-wide { grid-column: span 2; }
.card-wide .card-fig { aspect-ratio: 2 / 1; }
.art-cards .card-wide .card-fig { aspect-ratio: 2 / 1; }
@media (max-width: 560px) { .card-wide .card-desc { display: block; } .card-wide .card-meta { flex-direction: row; align-items: center; } .card-wide .shortlist-btn { width: auto; } }
.grid { grid-auto-flow: row dense; }
.text-link { display: inline-block; padding: 10px 0; }


/* KS-TESTIMONIALS */
.ks-feature { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
@media (max-width: 760px) { .ks-feature { grid-template-columns: 1fr; } }
.ks-video, .ks-card-media { margin: 0; }
.ks-video video, .ks-card-media video, .ks-card-media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: var(--teal-deep); border-radius: var(--radius); border: 1px solid var(--line); }
.ks-video { max-width: 400px; width: 100%; justify-self: center; padding: 10px; background: var(--ivory); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); }
.ks-eyebrow { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 10px; }
.ks-quote { margin: 0 0 16px; padding: 0 0 0 18px; border-left: 2px solid var(--gold-light); }
.ks-quote p { font-family: var(--display); font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.3; color: var(--teal-deep); margin: 0; }
.ks-who { display: flex; flex-direction: column; margin-bottom: 4px; }
.ks-who strong { font-weight: 600; color: var(--ink); }
.ks-who span { color: var(--ink-soft); font-size: .95rem; }
.ks-order { font-size: .95rem; color: var(--ink-soft); margin-bottom: 10px; }
.ks-note { font-size: .85rem; color: var(--ink-soft); font-style: italic; }
.ks-hero { padding-top: 40px; padding-bottom: 32px; }
.ks-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; margin-top: 20px; }
.ks-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.ks-card .ks-quote p { font-size: 1.25rem; }
.ks-card-media { margin: -8px -8px 12px; }
.ks-story h3 { color: var(--teal-deep); }
.ks-story p { color: var(--ink-soft); }
.ks-cta p { max-width: 60ch; }
.btn-line-light { border-color: var(--gold-light); color: #fff; background: transparent; }
/* /KS-TESTIMONIALS */

/* v13: Heritage Seal logo in header */
.brand-logo { height: 52px; width: auto; display: block; }
@media (max-width: 560px) { .brand-logo { height: 36px; } .site-header .wrap { gap: 8px; } }
@media (max-width: 380px) { .brand-logo { height: 30px; } }

/* v14: responsive fixes (phone / tablet / laptop review, 10 Nov 2026) */
/* Enquiry form choices: .field label was overriding .choice, so radios sat in the corner */
.field .choice { display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin: 0; font-weight: 400; font-size: 1rem; }
/* Long table runners are wide photos: give their tiles a wide frame instead of a square */
.card-fig:has(img[src*="long-runner-"]) { aspect-ratio: 16 / 9; }
.card-fig:has(img[src*="long-runner-"]) img { padding: 4px; }
/* Bigger tap targets for footer links on phones and tablets */
@media (max-width: 1180px) {
  .site-footer a { display: inline-block; padding: 8px 0; }
  .footer-links { gap: 0; }
}
/* Very small phones (320-360px): keep header on one row */
@media (max-width: 360px) {
  .site-header .shortlist-link { padding: 8px 8px; font-size: .85rem; }
  .site-header .nav-toggle { padding: 8px 9px; }
  .header-tools { gap: 6px; }
}
@media (max-width: 340px) {
  .brand-logo { height: 27px; }
  .site-header .wrap { padding-left: 12px; padding-right: 12px; }
}

/* v15: never crop artwork or products - every photo shows in full (Vidya, 10 Nov 2026) */
.card-fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.route img, .craft-pair img { object-fit: contain; background: var(--paper); padding: 8px; border: 1px solid var(--line); border-radius: var(--radius); }
.ks-video video, .ks-card-media video, .ks-card-media img { object-fit: contain; }


/* v16 platform: art categories, artists, workshops, join (11 Nov 2026). Images are never cropped (contain). */
/* Desktop header: logo and tools on top, full menu on its own row so all sections fit */
@media (min-width: 1181px) {
  .site-header .wrap { row-gap: 0; }
  .header-tools { margin-left: auto; }
  .nav { order: 3; width: 100%; justify-content: center; margin: 0; border-top: 1px solid rgba(255,255,255,.12); padding: 2px 0; }
  .nav a { padding: 8px 12px; }
}
.crumb { font-size: .9rem; color: var(--ink-soft); margin-bottom: 10px; }
.crumb a { color: var(--teal); }
.hero-grid.one { grid-template-columns: 1fr; }
.section-tight { padding-top: 28px; }
.card-artist { display: block; font-size: .85rem; color: var(--gold); font-weight: 600; margin: 2px 0 4px; }

/* Category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 960px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cat-grid { grid-template-columns: 1fr; } }
.cat-tile { display: flex; flex-direction: column; text-decoration: none; background: var(--paper); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.cat-tile:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(18,63,63,.10); }
.cat-fig { margin: 0; position: relative; aspect-ratio: 4 / 3; background: var(--ivory); border-bottom: 1px solid var(--line); }
.cat-fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.cat-fig-fabric { display: grid; place-items: center; background: linear-gradient(135deg, #f3e6d3, #e9d8c0); }
.fabric-swatches { display: flex; gap: 0; width: 70%; height: 62%; }
.fabric-swatches i { flex: 1; border-radius: 0 0 40% 40% / 0 0 12% 12%; box-shadow: inset -6px 0 10px rgba(0,0,0,.06); }
.fabric-swatches i:nth-child(1) { background: linear-gradient(180deg, #1d5c5a, #2f7c78); }
.fabric-swatches i:nth-child(2) { background: linear-gradient(180deg, #c9a14a, #e2c27a); }
.fabric-swatches i:nth-child(3) { background: linear-gradient(180deg, #b0344d, #cf5c72); }
.fabric-swatches i:nth-child(4) { background: linear-gradient(180deg, #f6f1e7, #e7dcc7); }
.fabric-swatches i:nth-child(5) { background: linear-gradient(180deg, #5b3f7a, #7d62a0); }
.cat-fig .soon { position: absolute; top: 12px; left: 12px; background: var(--teal-deep); color: #fff; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.cat-body { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 20px; }
.cat-num { font-family: var(--display); color: var(--gold); font-size: .95rem; letter-spacing: .1em; }
.cat-name { font-family: var(--display); font-size: 1.35rem; color: var(--teal-deep); line-height: 1.2; }
.cat-subs { font-size: .92rem; color: var(--ink-soft); }
.cat-count { font-size: .85rem; font-weight: 600; color: var(--teal); margin-top: 6px; }
.cat-switch { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.cat-switch a { text-decoration: none; font-size: .92rem; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.cat-switch a[aria-current="page"] { background: var(--teal-deep); color: #fff; border-color: var(--teal-deep); }
.soon-box { margin-top: 36px; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--gold-light); border-radius: var(--radius); padding: 24px clamp(18px, 3vw, 32px); }
.soon-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 14px; }
.soon-list li, .chip-list li { border: 1px dashed var(--gold); border-radius: 999px; padding: 6px 14px; font-size: .92rem; }
.chip-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 4px 0 0; }
.chip-list li { border-style: solid; border-color: var(--line); background: var(--paper); }

/* Artists */
.artist-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
@media (max-width: 860px) { .artist-grid { grid-template-columns: 1fr; } }
.artist-card { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 22px; text-decoration: none; background: var(--paper); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: 18px; }
@media (max-width: 560px) { .artist-card { grid-template-columns: 1fr; } }
.artist-card-soon { grid-template-columns: 1fr; background: var(--ivory); border-style: dashed; }
.artist-fig { margin: 0; position: relative; aspect-ratio: 4 / 5; background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); }
.artist-fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.artist-body { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; justify-content: center; }
.artist-name { font-family: var(--display); font-size: 1.9rem; color: var(--teal-deep); line-height: 1.1; }
.artist-forms { color: var(--ink-soft); }
.artist-stat { font-size: .9rem; color: var(--ink-soft); }
.artist-card .go { font-weight: 600; color: var(--teal); text-decoration: underline; text-underline-offset: 4px; }
.facts { margin: 0; background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 20px; }
.facts div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { font-weight: 600; color: var(--teal-deep); }
.facts dd { margin: 0; color: var(--ink-soft); }

/* Workshops */
.ws-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 760px) { .ws-grid { grid-template-columns: 1fr; } }
.ws-card { background: var(--paper); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); overflow: hidden; display: flex; flex-direction: column; }
.ws-body { padding: 16px 20px 18px; }
.ws-body p { color: var(--ink-soft); }
.thanks-msg { display: none; background: #e6f2ea; border: 1px solid #9cc7ab; border-radius: var(--radius); padding: 12px 16px; }
.thanks-msg:target { display: block; }
.field .choice input { width: auto; min-height: 0; }
.choice.consent { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0 16px; font-size: .95rem; }
.choice.consent input { margin-top: 4px; }
.split-top { align-items: start; }
.steps-6 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .steps-6 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps-6 { grid-template-columns: 1fr; } }

/* About */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 520px) { .pillars { grid-template-columns: 1fr; } }
.pillars > div { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.pillars p { color: var(--ink-soft); font-size: .96rem; margin: 0; }
.routes:has(.route:nth-child(4)) { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .routes:has(.route:nth-child(4)) { grid-template-columns: 1fr 1fr; max-width: none; } }
@media (max-width: 560px) { .routes:has(.route:nth-child(4)) { grid-template-columns: 1fr; } }
.route h3 { color: var(--teal-deep); }

/* Home: artists + workshops strip */
.mini-strip { display: grid; gap: 16px; }
.mini-card { display: flex; flex-direction: column; gap: 6px; text-decoration: none; background: var(--paper); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: 22px; }
.mini-card-teal { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; }
.mini-card-teal .ks-eyebrow { color: var(--gold-light); }
.mini-title { font-family: var(--display); font-size: 1.35rem; line-height: 1.25; }
.mini-card .go { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; color: var(--teal); }
.mini-card-teal .go { color: var(--gold-light); }
.facts div { grid-template-columns: minmax(0, 120px) minmax(0, 1fr); }
.facts dd { overflow-wrap: anywhere; }
@media (max-width: 400px) { .facts div { grid-template-columns: 1fr; gap: 2px; } }
.artist-role { display: inline-block; font-style: italic; color: var(--gold); margin-bottom: 8px; }
/* Hero painting: frame hugs the painting (no empty side bands), always shown in full */
.hero-art { display: flex; flex-direction: column; align-items: center; }
.hero-art img { width: auto; height: auto; max-width: 100%; }
.hero-art figcaption { align-self: stretch; text-align: center; }
/* Workshop card without a photo */
.ws-card-text { background: var(--ivory); border-style: dashed; }
.ws-card-text .ws-body { flex: 1; display: flex; flex-direction: column; justify-content: center; }
/* Prices hidden for now. To show them again, delete this block and set SHOW_PRICES to true in site.js. */
.price, .filters[aria-label="Filter by price"], #budgets, a[href="#budgets"] { display: none !important; }
.card-meta > .shortlist-btn { margin-left: auto; }

/* v19 Art Forms of India guide */
.af-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; padding: 0; list-style: none; }
.af-jump a { display: inline-block; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); text-decoration: none; font-size: .95rem; }
.af-jump a:hover { border-color: var(--gold); }
.af-index { margin-top: 22px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.af-index h3 { font-size: 1.05rem; margin-bottom: 6px; }
.af-index ul { list-style: none; margin: 0; padding: 0; font-size: .95rem; }
.af-index li { margin: 0 0 4px; }
.af-index a { color: var(--teal); }
.af-region { scroll-margin-top: 120px; }
.af-region > .wrap > h2 { margin-bottom: 4px; }
.af-region-note { color: var(--ink-soft); margin-bottom: 22px; }
.af-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: start; }
.af-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px clamp(18px, 2.6vw, 28px); scroll-margin-top: 120px; min-width: 0; }
.section-white .af-card { background: var(--ivory); }
.af-card h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); margin-bottom: 6px; }
.af-state { display: inline-block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 4px; }
.af-era { font-size: .92rem; color: var(--ink-soft); margin-bottom: 12px; font-style: italic; }
.af-facts { margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); }
.af-facts dt { font-weight: 600; font-size: .9rem; color: var(--teal-deep); }
.af-facts dd { margin: 0 0 10px; color: var(--ink-soft); font-size: .97rem; }
.af-fig { margin: 4px 0 14px; display: flex; flex-direction: column; align-items: center; }
.af-fig img { width: auto; height: auto; max-width: 100%; max-height: 360px; object-fit: contain; background: var(--paper); padding: 8px; border: 1px solid var(--line); }
.af-fig figcaption { font-size: .85rem; color: var(--ink-soft); margin-top: 8px; text-align: center; }
.af-figs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; margin: 4px 0 0; }
.af-figs .af-fig { margin: 0; }
.af-figs-stack { grid-template-columns: 1fr; }
.af-figs .af-fig img { max-height: 300px; }
.af-figs-note { font-size: .85rem; color: var(--ink-soft); text-align: center; margin: 6px auto 14px; }
.af-link { display: inline-block; margin-top: 4px; color: var(--teal); font-weight: 600; }
@media (min-width: 1181px) { .nav a { white-space: nowrap; padding: 10px 9px; } }
.af-sample-tag { display: inline-block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-right: 4px; }
.af-fig figcaption a { color: var(--teal); }
.af-note { font-size: .92rem; color: var(--ink-soft); }
@media (max-width: 980px) { .af-index { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .af-grid { grid-template-columns: 1fr; } .af-index { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
