/* =========================================================
   Badam ki Jali · Aziz Bagh — draft website stylesheet
   A small design system: tokens, base, layout, components.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --ivory: #f8f3e9;
  --cream: #fffbf3;
  --sand: #e9dcc3;
  --sand-2: #d9c9a8;
  --green: #163d33;
  --green-2: #215446;
  --green-3: #2f6b58;
  --gold: #b3903c;
  --gold-2: #d8b86a;
  --gold-3: #f0dfae;
  --maroon: #7b2233;
  --ink: #262421;
  --ink-2: #4a463f;
  --muted: #6f695e;
  --white: #ffffff;

  --font-display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(38, 36, 33, 0.08), 0 2px 6px rgba(38, 36, 33, 0.05);
  --shadow-lg: 0 24px 60px rgba(22, 61, 51, 0.18);
  --container: 1180px;
  --header-h: 76px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--green-2); text-decoration: none; }
a:hover { color: var(--maroon); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  color: var(--green);
  margin: 0 0 .5em;
  letter-spacing: .005em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: .8rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px; height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: .6rem;
}
.urdu, .hindi { font-family: "Noto Nastaliq Urdu", "Noto Naskh Arabic", var(--font-display); }
.container { width: min(var(--container), calc(100% - 2.5rem)); margin-inline: auto; }
.container.narrow { width: min(820px, calc(100% - 2.5rem)); }
section { padding: clamp(3.2rem, 7vw, 6rem) 0; }
section.tight { padding: clamp(2rem, 4vw, 3.4rem) 0; }
.bg-cream { background: var(--cream); }
.bg-green { background: var(--green); color: #eae4d6; }
.bg-green h2, .bg-green h3 { color: var(--gold-3); }
.bg-green .eyebrow { color: var(--gold-2); }
.bg-green a { color: var(--gold-3); }
.bg-green .lead { color: #d9d2c2; }
.bg-jali { position: relative; }
.bg-jali::before {
  content: "";
  position: absolute; inset: 0;
  background: url("../img/jali-pattern.svg") center / 220px 220px repeat;
  opacity: .11;
  pointer-events: none;
}
.bg-jali > * { position: relative; }
.divider {
  width: 100%; height: 34px;
  background: url("../img/ornament.svg") center / auto 34px no-repeat;
  margin: .2rem auto 1.6rem;
}
.divider.left { background-position: left center; }
.section-head { max-width: 760px; margin-bottom: clamp(1.6rem, 3vw, 2.6rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head h2 span, .hero h1 span, .accent { color: var(--maroon); font-style: italic; font-weight: 500; }
.bg-green .section-head h2 span, .bg-green h2 span, .bg-green .accent, .cta-band h2 span { color: var(--gold-2); }
.grid { display: grid; gap: 1.6rem; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; } }
.two-col { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.two-col.reverse > :first-child { order: 2; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } .two-col.reverse > :first-child { order: 0; } }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--green); color: #fff; padding: .5rem .9rem; border-radius: 6px; z-index: 1000;
}
.skip-link:focus { left: 8px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248, 243, 233, .86);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(179, 144, 60, .25);
}
.site-header .bar {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .8rem; color: var(--green); }
.brand:hover { color: var(--green); }
.brand .mark { width: 44px; height: 44px; flex: none; }
.brand .word { display: flex; flex-direction: column; line-height: 1.05; }
.brand .word b { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: .01em; }
.brand .word small { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-top: .2rem; }
.nav { display: flex; align-items: center; gap: .2rem; }
.nav a {
  padding: .55rem .8rem; border-radius: 999px;
  font-size: .93rem; font-weight: 500; color: var(--ink-2);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav a:hover { background: rgba(179,144,60,.14); color: var(--green); }
.nav a[aria-current="page"] { color: var(--green); background: rgba(22,61,51,.08); font-weight: 600; }
.nav a.cta { background: var(--green); color: #fff; margin-left: .4rem; }
.nav a.cta:hover { background: var(--green-2); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--sand-2); border-radius: 10px;
  width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; color: var(--green);
}
.nav-toggle svg { width: 24px; height: 24px; }
@media (max-width: 1040px) {
  .nav a { padding: .5rem .6rem; font-size: .88rem; }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: .1rem;
    background: var(--cream); border-bottom: 1px solid var(--sand);
    padding: .8rem 1.2rem 1.2rem; box-shadow: var(--shadow);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: .8rem 1rem; border-radius: 10px; font-size: 1rem; }
  .nav a.cta { margin: .5rem 0 0; text-align: center; }
}

/* ---------- Draft ribbon ---------- */
.draft-ribbon {
  position: fixed; right: -46px; top: 22px; z-index: 200;
  transform: rotate(45deg);
  background: var(--maroon); color: #fff;
  font-size: .68rem; letter-spacing: .28em; text-transform: uppercase; font-weight: 700;
  padding: .35rem 3.2rem; box-shadow: 0 4px 14px rgba(0,0,0,.2);
  pointer-events: none;
}
@media (max-width: 900px) { .draft-ribbon { top: 14px; right: -52px; font-size: .6rem; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.5rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--green); color: #fff; }
.btn.primary:hover { background: var(--green-2); color: #fff; }
.btn.gold { background: var(--gold); color: #fff; }
.btn.gold:hover { background: #a3822f; color: #fff; }
.btn.outline { border-color: var(--green); color: var(--green); background: transparent; }
.btn.outline:hover { background: var(--green); color: #fff; }
.btn.light { background: rgba(255,255,255,.92); color: var(--green); }
.btn.light:hover { background: #fff; color: var(--green); }
.btn.ghost-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn.ghost-light:hover { background: rgba(255,255,255,.14); color: #fff; }
.btn svg { width: 18px; height: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(88vh, 760px); padding: 0;
  display: grid; align-items: end;
  color: #fff; overflow: hidden; background: var(--green);
}
.hero .media { position: absolute; inset: 0; }
.hero .media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero .media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22,61,51,.15) 0%, rgba(22,61,51,.55) 55%, rgba(14,40,33,.92) 100%);
}
.hero .content { position: relative; padding: clamp(5rem, 12vw, 9rem) 0 clamp(2.6rem, 6vw, 4.5rem); max-width: 780px; }
.hero .eyebrow { color: var(--gold-2); }
.hero .eyebrow::before { background: var(--gold-2); }
.hero h1 { color: #fff; margin-bottom: .35em; text-shadow: 0 2px 20px rgba(0,0,0,.25); }
.hero h1 span { color: var(--gold-3); }
.hero .lead { color: rgba(255,255,255,.88); font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.hero .credit { position: absolute; right: 1rem; bottom: .6rem; font-size: .68rem; color: rgba(255,255,255,.55); }
.hero .credit a { color: rgba(255,255,255,.7); }
.hero.compact { min-height: 46vh; }
.hero.compact .content { padding-top: clamp(3.5rem, 8vw, 6rem); }

/* Page banner (inner pages) */
.page-banner {
  position: relative; background: var(--green); color: #fff; overflow: hidden;
  padding: clamp(3rem, 7vw, 5.4rem) 0 clamp(2.4rem, 5vw, 3.6rem);
}
.page-banner .media { position: absolute; inset: 0; }
.page-banner .media img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.page-banner .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22,61,51,.96) 0%, rgba(22,61,51,.75) 55%, rgba(22,61,51,.35) 100%); }
.page-banner .content { position: relative; max-width: 760px; }
.page-banner h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.8rem); }
.page-banner h1 span { color: var(--gold-3); font-style: italic; font-weight: 500; }
.page-banner .lead { color: rgba(255,255,255,.86); }
.page-banner .eyebrow { color: var(--gold-2); }
.page-banner .eyebrow::before { background: var(--gold-2); }
.page-banner .credit { position: absolute; right: 1rem; bottom: .5rem; font-size: .68rem; color: rgba(255,255,255,.6); max-width: 60%; text-align: right; }
.page-banner .credit a { color: rgba(255,255,255,.78); }
.breadcrumb { font-size: .82rem; color: rgba(255,255,255,.7); margin-bottom: 1rem; }
.breadcrumb a { color: rgba(255,255,255,.85); }
.breadcrumb span { margin: 0 .4rem; opacity: .6; }

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat { text-align: center; padding: 1.4rem 1rem; border: 1px solid rgba(179,144,60,.35); border-radius: var(--radius); background: rgba(255,255,255,.55); }
.stat b { display: block; font-family: var(--font-display); font-size: 2.3rem; color: var(--green); line-height: 1; }
.stat span { font-size: .85rem; color: var(--muted); letter-spacing: .04em; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Cards ---------- */
.card {
  background: var(--cream); border: 1px solid var(--sand);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 1px 2px rgba(38,36,33,.04);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-2); }
.card .thumb { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .thumb img { transform: scale(1.04); }
.card .thumb .tag {
  position: absolute; left: .8rem; top: .8rem;
  background: rgba(22,61,51,.85); color: #fff; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  padding: .3rem .6rem; border-radius: 999px; font-weight: 600;
}
.card .body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.card h3 { margin: 0; font-size: 1.45rem; }
.card p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.card .meta { margin-top: auto; padding-top: .8rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.chip {
  display: inline-block; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase;
  border: 1px solid var(--sand-2); color: var(--muted); padding: .22rem .6rem; border-radius: 999px; background: #fff;
}
.chip.gold { border-color: var(--gold-2); color: var(--gold); background: #fffdf6; }
.chip.green { border-color: var(--green-3); color: var(--green-2); background: #f2f8f5; }
.card .more { margin-top: .6rem; font-weight: 600; font-size: .9rem; color: var(--green-2); }
.card .more::after { content: " →"; }
.card.link-card { color: inherit; }
.card.link-card:hover { color: inherit; }
.card.feature { grid-column: span 2; flex-direction: row; }
.card.feature .thumb { aspect-ratio: auto; flex: 1 1 52%; min-height: 320px; }
.card.feature .body { flex: 1 1 48%; padding: 2rem; justify-content: center; }
@media (max-width: 860px) { .card.feature { grid-column: span 1; flex-direction: column; } .card.feature .thumb { min-height: 240px; aspect-ratio: 4/3; } }

/* Credit under images */
figure { margin: 0; }
figure.frame { border-radius: var(--radius); overflow: hidden; background: var(--sand); position: relative; }
figure.frame img { width: 100%; height: 100%; object-fit: cover; }
figure.frame.tall img { aspect-ratio: 4 / 5; }
figure.frame.wide img { aspect-ratio: 16 / 10; }
figure.frame.square img { aspect-ratio: 1 / 1; }
figcaption, .credit { font-size: .74rem; color: var(--muted); }
figure.frame figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: .55rem .9rem; color: rgba(255,255,255,.85);
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.55));
}
figure.frame figcaption a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.4); }
figure.frame.gold-edge { box-shadow: 0 0 0 1px var(--gold-2), 0 0 0 8px var(--cream), 0 0 0 9px var(--gold-2), var(--shadow); }
.img-fallback { object-fit: contain !important; padding: 12%; background: linear-gradient(135deg, var(--sand) 0%, var(--gold-3) 100%) !important; opacity: .95; }

/* ---------- Filter bar (varieties) ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.2rem 0 2rem; }
.filter-bar button {
  border: 1px solid var(--sand-2); background: #fff; color: var(--ink-2);
  padding: .5rem 1rem; border-radius: 999px; font-size: .88rem; font-weight: 500; cursor: pointer;
  transition: all .2s var(--ease);
}
.filter-bar button:hover { border-color: var(--gold); color: var(--green); }
.filter-bar button.active { background: var(--green); border-color: var(--green); color: #fff; }
.card[hidden] { display: none; }
.filter-count { font-size: .85rem; color: var(--muted); align-self: center; margin-left: auto; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--gold-2), var(--sand)); }
.timeline li { position: relative; padding: 0 0 2rem 3rem; }
.timeline li::before { content: ""; position: absolute; left: 3px; top: .5rem; width: 18px; height: 18px; border-radius: 50%; background: var(--cream); border: 3px solid var(--gold); box-shadow: 0 0 0 4px var(--ivory); }
.timeline .when { font-family: var(--font-display); font-size: 1.5rem; color: var(--maroon); font-weight: 600; line-height: 1.1; }
.timeline h4 { margin: .2rem 0 .3rem; }
.timeline p { margin: 0; color: var(--ink-2); font-size: .97rem; }

/* ---------- Process steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; background: var(--cream); border: 1px solid var(--sand); border-radius: var(--radius); padding: 1.6rem 1.4rem 1.4rem 1.4rem; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: var(--gold-2); line-height: 1;
  display: block; margin-bottom: .4rem;
}
.step h3 { font-size: 1.35rem; margin-bottom: .3rem; }
.step p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.step .thumb { border-radius: var(--radius-sm); overflow: hidden; margin: -.2rem 0 1rem; aspect-ratio: 16/9; background: var(--sand); }
.step .thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Quote / press ---------- */
.press { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
@media (max-width: 980px) { .press { grid-template-columns: 1fr; } }
blockquote.press-quote {
  margin: 0; padding: 1.6rem 1.6rem 1.4rem; background: rgba(255,255,255,.06);
  border: 1px solid rgba(240,223,174,.25); border-radius: var(--radius); position: relative;
}
blockquote.press-quote::before { content: "\201C"; position: absolute; left: 1rem; top: -.4rem; font-family: var(--font-display); font-size: 4.2rem; color: var(--gold-2); line-height: 1; opacity: .8; }
blockquote.press-quote p { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.35; margin: 1.2rem 0 .8rem; color: #f4efe2; }
blockquote.press-quote cite { font-style: normal; font-size: .82rem; color: var(--gold-3); letter-spacing: .04em; }
blockquote.press-quote cite a { color: var(--gold-3); text-decoration: underline; text-decoration-color: rgba(240,223,174,.4); }
.pull {
  border-left: 3px solid var(--gold); padding: .4rem 0 .4rem 1.3rem; margin: 1.6rem 0;
  font-family: var(--font-display); font-size: 1.5rem; line-height: 1.3; color: var(--green-2);
}
.pull small { display: block; font-family: var(--font-body); font-size: .8rem; color: var(--muted); margin-top: .5rem; }

/* ---------- Definition list / spec table ---------- */
.spec { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; margin: 0; }
.spec div { padding: .8rem 0; border-bottom: 1px solid var(--sand); }
.spec dt { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.spec dd { margin: .15rem 0 0; color: var(--ink-2); }
@media (max-width: 620px) { .spec { grid-template-columns: 1fr; } }
table.plain { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.plain th, table.plain td { text-align: left; padding: .7rem .6rem; border-bottom: 1px solid var(--sand); vertical-align: top; }
table.plain th { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.table-wrap { overflow-x: auto; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--sand); padding: .2rem 0; }
.faq summary { cursor: pointer; padding: 1rem 0; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--green); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-body); font-size: 1.4rem; color: var(--gold); flex: none; transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 1rem; color: var(--ink-2); max-width: 70ch; }

/* ---------- Gallery ---------- */
.masonry { columns: 3 300px; column-gap: 1.2rem; }
.masonry figure { break-inside: avoid; margin: 0 0 1.2rem; border-radius: var(--radius-sm); overflow: hidden; position: relative; background: var(--sand); cursor: zoom-in; }
.masonry figure img { width: 100%; display: block; transition: transform .5s var(--ease); }
.masonry figure:hover img { transform: scale(1.03); }
.masonry figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: .55rem .8rem; color: #fff; font-size: .74rem; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.6)); }
.lightbox { position: fixed; inset: 0; background: rgba(14, 30, 26, .94); display: none; align-items: center; justify-content: center; z-index: 500; padding: 2rem; }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1200px, 100%); max-height: 82vh; object-fit: contain; border-radius: 6px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox .cap { position: absolute; left: 0; right: 0; bottom: 1.2rem; text-align: center; color: rgba(255,255,255,.8); font-size: .85rem; padding: 0 2rem; }
.lightbox .cap a { color: #fff; text-decoration: underline; }
.lightbox button { position: absolute; top: 1rem; right: 1rem; background: rgba(255,255,255,.12); border: 0; color: #fff; width: 44px; height: 44px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; }
.lightbox .prev, .lightbox .next { top: 50%; transform: translateY(-50%); right: auto; left: 1rem; }
.lightbox .next { left: auto; right: 1rem; }
.lightbox .close { top: 1rem; right: 1rem; left: auto; transform: none; }

/* ---------- Forms (draft, non-functional) ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: .35rem; }
.form input, .form select, .form textarea {
  width: 100%; padding: .8rem .9rem; border: 1px solid var(--sand-2); border-radius: var(--radius-sm);
  font: inherit; font-size: .95rem; background: #fff; color: var(--ink);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--gold-2); outline-offset: 1px; border-color: var(--gold); }
.form textarea { min-height: 120px; resize: vertical; }
.form .note { font-size: .82rem; color: var(--muted); }
@media (max-width: 620px) { .form { grid-template-columns: 1fr; } }
.notice { background: #fff8e6; border: 1px solid var(--gold-2); border-radius: var(--radius-sm); padding: .9rem 1.1rem; font-size: .9rem; color: var(--ink-2); }
.notice b { color: var(--maroon); }

/* ---------- Info cards ---------- */
.info { background: var(--cream); border: 1px solid var(--sand); border-radius: var(--radius); padding: 1.6rem; }
.info h3 { font-size: 1.4rem; margin-bottom: .4rem; }
.info p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.info .icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(179,144,60,.14); display: grid; place-items: center; margin-bottom: .9rem; color: var(--gold); }
.info .icon svg { width: 24px; height: 24px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--green) 0%, var(--green-2) 60%, #2a5f4f 100%); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: rgba(255,255,255,.85); }
.cta-band .inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: #0f2a23; color: #cfc8b7; padding: 3.5rem 0 2rem; font-size: .92rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
@media (max-width: 900px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer .cols { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--gold-3); font-family: var(--font-body); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: .9rem; }
.site-footer a { color: #e6dfcd; }
.site-footer a:hover { color: var(--gold-2); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .45rem; }
.site-footer .brand { color: #f4efe2; margin-bottom: .8rem; }
.site-footer .brand .word small { color: var(--gold-2); }
.site-footer .bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.4rem; padding-top: 1.2rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .8rem; color: #9f978a; }
.site-footer .draft-note { font-size: .8rem; color: #a89f8e; line-height: 1.5; }

/* ---------- WordPress compatibility (core classes + editor content) ---------- */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); border: 0; word-wrap: normal !important; }
.screen-reader-text:focus { clip: auto !important; clip-path: none; position: absolute !important; left: 8px; top: 8px; width: auto; height: auto; padding: .6rem 1rem; background: var(--green); color: #fff; z-index: 100000; border-radius: 6px; }
.alignleft { float: left; margin: .4rem 1.6rem 1rem 0; }
.alignright { float: right; margin: .4rem 0 1rem 1.6rem; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignwide { width: min(var(--container), calc(100% - 2.5rem)); margin-inline: auto; }
.alignfull { width: 100%; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .wp-block-image figcaption, .wp-element-caption { font-size: .8rem; color: var(--muted); text-align: center; margin-top: .4rem; }
.sticky { position: relative; }
.gallery-caption { font-size: .8rem; color: var(--muted); }
.bypostauthor { font-weight: 600; }
.entry-content > * { max-width: 72ch; }
.entry-content--wide > * { max-width: none; }
.entry-content > .alignwide, .entry-content > .alignfull, .entry-content > .wp-block-columns, .entry-content > .wp-block-gallery, .entry-content > .wp-block-group { max-width: none; }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content blockquote { border-left: 3px solid var(--gold); padding: .4rem 0 .4rem 1.3rem; margin: 1.6rem 0; font-family: var(--font-display); font-size: 1.35rem; color: var(--green-2); }
.entry-content ul, .entry-content ol { padding-left: 1.4rem; }
.entry-content li { margin-bottom: .35rem; }
.entry-content h2, .entry-content h3 { margin-top: 1.6em; }
.entry-content .wp-block-button__link { border-radius: 999px; background: var(--green); font-weight: 600; }
.entry-content .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; border-color: var(--green); color: var(--green); }
.page-links { margin: 2rem 0; font-size: .9rem; }
.page-links a, .page-links > span { display: inline-block; padding: .2rem .6rem; border: 1px solid var(--sand-2); border-radius: 6px; margin-right: .3rem; }
.nav-links, .navigation.pagination { display: flex; gap: .6rem; flex-wrap: wrap; margin: 2rem 0; }
.navigation .page-numbers { display: inline-block; padding: .4rem .8rem; border: 1px solid var(--sand-2); border-radius: 999px; font-size: .9rem; }
.navigation .page-numbers.current { background: var(--green); color: #fff; border-color: var(--green); }
.search-form { display: flex; gap: .5rem; max-width: 460px; }
.search-form input[type="search"] { flex: 1; padding: .7rem .9rem; border: 1px solid var(--sand-2); border-radius: var(--radius-sm); font: inherit; }
.search-form input[type="submit"], .search-form button { padding: .7rem 1.2rem; border-radius: 999px; border: 0; background: var(--green); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.entry-summary h2 a { color: var(--green); }
.comment-list { list-style: none; padding: 0; }
.comment-body { border-bottom: 1px solid var(--sand); padding: 1rem 0; }
.comment-form input, .comment-form textarea { width: 100%; padding: .7rem .9rem; border: 1px solid var(--sand-2); border-radius: var(--radius-sm); font: inherit; }
.comment-form .submit { margin-top: .6rem; padding: .7rem 1.4rem; border-radius: 999px; border: 0; background: var(--green); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.custom-logo-link img.mark, img.mark { width: 44px; height: 44px; object-fit: contain; }

/* ---------- Contact Form 7 (embedded on the contact page in WordPress) ---------- */
.wpcf7 { margin-top: 1.4rem; }
.wpcf7 form { display: grid; gap: .8rem; }
.wpcf7 label { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.wpcf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]), .wpcf7 textarea, .wpcf7 select {
  width: 100%; padding: .8rem .9rem; border: 1px solid var(--sand-2); border-radius: var(--radius-sm); font: inherit; font-size: .95rem; background: #fff; color: var(--ink); margin-top: .3rem;
}
.wpcf7 textarea { min-height: 130px; }
.wpcf7 input[type="submit"] { display: inline-flex; padding: .85rem 1.5rem; border-radius: 999px; border: 0; background: var(--green); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.wpcf7 input[type="submit"]:hover { background: var(--green-2); }
.wpcf7 .wpcf7-response-output { border-radius: var(--radius-sm); padding: .8rem 1rem; margin: 1rem 0 0; }
.wpcf7 .wpcf7-not-valid-tip { color: var(--maroon); font-size: .8rem; }

/* ---------- WooCommerce (store, checkout, account) ---------- */
.woocommerce-wrap { padding-top: .5rem; }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin: 0 0 2rem; padding: 0; list-style: none; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: auto !important; float: none !important; margin: 0 !important; background: var(--cream); border: 1px solid var(--sand); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-align: left; }
.woocommerce ul.products li.product a img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin: 0; }
.woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product h2 { font-family: var(--font-display); font-size: 1.3rem; color: var(--green); padding: 1rem 1.2rem .2rem; }
.woocommerce ul.products li.product .price { padding: 0 1.2rem; color: var(--maroon); font-weight: 600; font-size: 1.05rem; }
.woocommerce ul.products li.product .button { margin: .8rem 1.2rem 1.2rem; align-self: flex-start; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .woocommerce #respond input#submit.alt {
  background: var(--green) !important; color: #fff !important; border-radius: 999px !important; font-weight: 600 !important; padding: .75rem 1.3rem !important; font-family: var(--font-body) !important;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { background: var(--green-2) !important; }
.woocommerce .woocommerce-ordering select, .woocommerce .woocommerce-result-count { margin-bottom: 1.2rem; }
.woocommerce .woocommerce-ordering select { padding: .5rem .8rem; border: 1px solid var(--sand-2); border-radius: var(--radius-sm); font: inherit; }
.woocommerce nav.woocommerce-pagination ul { border: 0; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { padding: .5rem .9rem; border: 1px solid var(--sand-2); border-radius: 999px; margin: 0 .2rem; }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--green); color: #fff; border-color: var(--green); }
.woocommerce div.product .product_title { font-size: clamp(2rem, 4vw, 2.8rem); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--maroon); font-size: 1.4rem; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: var(--cream); border-color: var(--sand); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: #fff; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { font-weight: 600; color: var(--green); }
.woocommerce table.shop_table { border: 1px solid var(--sand); border-radius: var(--radius-sm); }
.woocommerce table.shop_table th { color: var(--gold); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { padding: .7rem .9rem; border: 1px solid var(--sand-2); border-radius: var(--radius-sm); font: inherit; }
.woocommerce .woocommerce-message, .woocommerce .woocommerce-info, .woocommerce .woocommerce-error { border-top-color: var(--gold); background: var(--cream); border-radius: var(--radius-sm); }
.woocommerce .woocommerce-message::before, .woocommerce .woocommerce-info::before { color: var(--gold); }
.woocommerce .star-rating span::before, .woocommerce p.stars a { color: var(--gold); }
.woocommerce span.onsale { background: var(--maroon); border-radius: 999px; padding: .3rem .8rem; min-height: 0; line-height: 1.4; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation li { padding: .5rem 0; border-bottom: 1px solid var(--sand); }
@media (max-width: 980px) { .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .woocommerce ul.products { grid-template-columns: 1fr; } }
/* WooCommerce content injected into normal pages (shortcodes) needs the full width */
.entry-content > .woocommerce, .entry-content > .wc-block-grid, .entry-content > .woocommerce-shortcode { max-width: none; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .draft-ribbon, .nav-toggle, .lightbox, .cta-band { display: none !important; }
  body { background: #fff; color: #000; }
}
