/* ============================================================
   KIRA — Brand stylesheet
   v2 · "Warm Dawn" · Unified editorial system
   ------------------------------------------------------------
   One system for every page. Mirrors the homepage's editorial
   language: Fraunces (optical sizing) display type, fluid
   clamp() scale, sunrise palette, borderless editorial cards.
   Brand reference: kira.lk/brand/
   ============================================================ */

/* ---- 1. Tokens ---------------------------------------------- */
:root {
  /* Warm Dawn palette */
  --c-primary:        #FF6B35;   /* sunrise orange — CTAs, key accents   */
  --c-primary-hover:  #E04E1A;   /* burnt orange — hover states          */
  --c-ember:          #C2410C;   /* deep ember — small text links (AA)   */
  --c-secondary:      #C2410C;   /* legacy alias → ember                  */
  --c-accent:         #FFA62B;   /* amber — decorative only, never text  */
  --c-peach:          #FFE4D1;   /* dawn tint — washes, gradient stop    */
  --c-dawn:           #FDF1E5;   /* pale gold — section washes           */
  --c-ink:            #0A2540;   /* pre-dawn navy — text, dark sections  */
  --c-ink-2:          #122F50;   /* navy hover                            */
  --c-text:           #0A2540;   /* legacy alias → ink                    */
  --c-text-soft:      #6E6358;   /* warm stone — muted text              */
  --c-slate:          #6E6358;   /* legacy alias → warm stone            */
  --c-bg:             #FFFFFF;
  --c-surface:        #FFF8F3;   /* cream                                 */
  --c-cream:          #FFF8F3;   /* alias                                 */
  --c-cream-deep:     #F5EBE0;
  --c-border:         #E8E2DA;   /* sand                                  */
  --c-sand:           #E8E2DA;   /* alias                                 */
  --c-success:        #2D9D78;
  --c-error:          #D64545;

  /* Signature gradients */
  --g-firstlight: linear-gradient(180deg, #FFF8F3 0%, #FDF1E5 60%, #FFE4D1 100%);
  --g-dawn-tile:  linear-gradient(150deg, #FDF1E5 0%, #FFE4D1 55%, #FFD9BC 100%);

  /* Typography */
  --f-head: 'Fraunces', 'Noto Serif Sinhala', Georgia, serif;
  --f-body: 'Inter', 'Noto Sans Sinhala', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --s-xs: 4px;
  --s-sm: 8px;
  --s-md: 16px;
  --s-lg: 24px;
  --s-xl: 48px;
  --s-2xl: 96px;

  /* Layout */
  --container: 1320px;
  --pad: clamp(16px, 4vw, 40px);
  --r-sm: 6px;
  --r-md: 10px;
  --r-img: 4px;
  --shadow-card: 0 1px 3px rgba(10, 37, 64, 0.06), 0 4px 12px rgba(10, 37, 64, 0.04);
  --shadow-card-hover: 0 8px 24px rgba(10, 37, 64, 0.10);
}

/* ---- 2. Reset ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, svg { max-width: 100%; display: block; }
a { color: var(--c-ember); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--c-primary); color: #fff; }
:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 {
  font-family: var(--f-head);
  font-weight: 500;
  margin: 0 0 var(--s-md);
  letter-spacing: -0.018em;
  line-height: 1.08;
  color: var(--c-ink);
  font-variation-settings: "opsz" 90;
}
p { margin: 0 0 var(--s-md); }

/* ---- 3. Typography scale (fluid, matches homepage) ----------- */
.h1, h1 { font-size: clamp(38px, 5vw, 64px);  line-height: 1.04; letter-spacing: -0.022em; }
.h2, h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1;  letter-spacing: -0.018em; }
.h3, h3 { font-size: clamp(20px, 2vw, 26px);   line-height: 1.25; }
.h4, h4 { font-size: 18px; line-height: 1.35; font-family: var(--f-body); font-weight: 600; font-variation-settings: normal; }
.body-lg { font-size: 17px; line-height: 1.6; }
.small  { font-size: 14px; line-height: 1.5; color: var(--c-text-soft); }
.caption {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--c-text-soft);
}

/* ---- 4. Layout utilities ------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.section { padding-block: clamp(56px, 9vw, 120px); }
.section--sm { padding-block: clamp(28px, 4vw, 48px); }
.section--surface { background: var(--c-surface); }
.section--cream { background: var(--c-surface); }
.section--dawn { background: var(--g-firstlight); }
.section--ink { background: var(--c-ink); color: var(--c-surface); }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: var(--c-surface); }

.grid { display: grid; gap: var(--s-lg); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 768px) {
  .grid--2 { grid-template-columns: 1fr 1fr; }
  .grid--3 { grid-template-columns: 1fr 1fr 1fr; }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--c-text-soft);
  margin-bottom: var(--s-md);
}
.text-soft { color: var(--c-text-soft); }
.text-center { text-align: center; }

/* ---- 5. Buttons (homepage geometry) -------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--f-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn .arr { transition: transform 0.25s ease; display: inline-block; }
.btn:hover .arr { transform: translateX(3px); }
.btn--primary { background: var(--c-primary); color: #fff; }
.btn--primary:hover { background: var(--c-primary-hover); color: #fff; }
.btn--secondary { background: transparent; color: var(--c-ink); border-color: var(--c-ink); }
.btn--secondary:hover { background: var(--c-ink); color: #fff; }
.btn--text { background: none; color: var(--c-ember); padding: 6px 0; border: none; border-radius: 0; }
.btn--text:hover { color: var(--c-primary-hover); text-decoration: underline; text-underline-offset: 4px; }
.btn--full { width: 100%; }
.btn-row { display: flex; flex-direction: column; gap: var(--s-md); }
@media (min-width: 768px) { .btn-row { flex-direction: row; } }

/* ---- 6. Announcement bar ------------------------------------- */
.announcement {
  background: var(--c-ink);
  color: var(--c-cream);
  text-align: center;
  padding: 9px 16px;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.01em;
}
.announcement a { color: var(--c-accent); font-weight: 500; }

/* ---- 7. Header (matches homepage) ----------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--c-sand);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: var(--s-lg); }
.header__logo {
  display: inline-block;
  width: 132px; height: 30px;
  background-image: url('/assets/images/kira-logo.svg');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left center;
  text-indent: -9999px; overflow: hidden; white-space: nowrap;
}
.header__logo:hover { text-decoration: none; }
.header__logo .dot { display: none; }
.header__nav { display: none; }
@media (min-width: 1024px) { .header__nav { display: flex; gap: 30px; } }
.header__nav a { color: var(--c-ink); font-size: 14px; font-weight: 500; position: relative; }
.header__nav a:hover { text-decoration: none; }
.header__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: var(--c-primary); transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s ease;
}
.header__nav a:hover::after { transform: scaleX(1); }
.header__cta { display: none; }
@media (min-width: 1024px) { .header__cta { display: flex; gap: 18px; align-items: center; } }
.header__cta a:not(.btn) { color: var(--c-text-soft); font-size: 13.5px; font-weight: 500; }
.header__cta a:not(.btn):hover { color: var(--c-ink); text-decoration: none; }

.menu-toggle { background: none; border: none; padding: 8px; display: flex; flex-direction: column; gap: 5px; position: relative; z-index: 102; }
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.menu-toggle span { display: block; width: 22px; height: 1.6px; background: var(--c-ink); border-radius: 1px; transition: transform 0.25s ease, opacity 0.25s ease; }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 101;
  background: var(--c-cream); padding: 96px var(--pad) var(--pad);
  flex-direction: column; gap: 8px; overflow-y: auto;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a {
  font-family: var(--f-head); font-weight: 500; font-size: 28px; color: var(--c-ink);
  padding: 12px 0; border-bottom: 1px solid var(--c-sand); letter-spacing: -0.01em;
}
.mobile-menu a:hover { text-decoration: none; }
.mobile-menu a.btn { margin-top: 16px; border-bottom: none; font-size: 15px; font-family: var(--f-body); font-weight: 600; color: #fff; }
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }

/* ---- 8. Page header (inner pages — dawn wash) ----------------- */
.page-head {
  padding: clamp(40px, 6vw, 80px) 0 clamp(32px, 5vw, 64px);
  background: var(--g-firstlight);
  border-bottom: 1px solid var(--c-sand);
}
.page-head h1 { margin-bottom: var(--s-md); max-width: 18ch; }
.page-head__sub { font-size: clamp(16px, 1.3vw, 19px); color: var(--c-text-soft); max-width: 52ch; line-height: 1.55; }
.breadcrumbs {
  font-size: 12px; color: var(--c-text-soft); margin-bottom: var(--s-lg);
  letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500;
}
.breadcrumbs a { color: var(--c-text-soft); }
.breadcrumbs a:hover { color: var(--c-ember); text-decoration: none; }

/* ---- 9. Section heading --------------------------------------- */
.section-head { display: flex; flex-direction: column; gap: var(--s-sm); margin-bottom: clamp(32px, 4vw, 56px); }
.section-head__row { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-md); flex-wrap: wrap; }
.section-head__row .h2 { margin-bottom: 0; }
.section-head__link { font-size: 15px; font-weight: 600; color: var(--c-ember); }
.section-head__subhead { color: var(--c-text-soft); max-width: 52ch; margin: 0; }

/* ---- 10. Cards (editorial — borderless, like homepage) -------- */
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-lg); }
@media (min-width: 768px) { .product-grid { grid-template-columns: 1fr 1fr 1fr; gap: clamp(24px, 3vw, 40px); } }

.card { display: block; color: var(--c-ink); transition: transform 0.35s ease; }
.card:hover { text-decoration: none; }
.card--clickable:hover { transform: translateY(-4px); }
.card__media {
  aspect-ratio: 1; background: var(--c-cream-deep); position: relative;
  overflow: hidden; border-radius: var(--r-img); margin-bottom: 14px;
}
.card__media img {
  width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.card--clickable:hover .card__media img { transform: scale(1.04); }
.card__badge {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  background: rgba(255, 255, 255, 0.88); color: var(--c-ink);
  font-size: 11px; font-weight: 500; padding: 6px 12px; border-radius: 999px;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.card__body { padding: 0; }
.card__eyebrow { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; color: var(--c-text-soft); margin-bottom: 6px; }
.card__title { font-family: var(--f-body); font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: var(--c-ink); margin-bottom: 4px; font-variation-settings: normal; }
.card__hint { font-size: 14px; color: var(--c-text-soft); margin-bottom: var(--s-sm); }
.card__price { font-size: 15px; font-weight: 600; color: var(--c-ink); }

/* Large feature card (cross-links) */
.feature-card { display: block; color: var(--c-ink); transition: transform 0.35s ease; }
.feature-card:hover { text-decoration: none; transform: translateY(-4px); }
.feature-card__media {
  aspect-ratio: 4 / 5; background: var(--c-cream-deep); position: relative;
  overflow: hidden; border-radius: var(--r-img); margin-bottom: 16px;
}
.feature-card__media img {
  width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.feature-card:hover .feature-card__media img { transform: scale(1.04); }
.feature-card__body { padding: 0; }
.feature-card__eyebrow { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; color: var(--c-text-soft); margin-bottom: 6px; }
.feature-card__title { font-family: var(--f-head); font-size: clamp(24px, 2.2vw, 32px); font-weight: 500; letter-spacing: -0.018em; margin-bottom: var(--s-sm); }
.feature-card__sub { color: var(--c-text-soft); font-size: 15px; margin-bottom: var(--s-md); max-width: 36ch; }
.feature-card__cta { color: var(--c-primary); font-weight: 600; font-size: 14px; }

/* ---- 11. How-to cards (contact page) --------------------------- */
.how-card {
  background: var(--c-bg); border: 1px solid var(--c-sand); border-radius: var(--r-md);
  padding: clamp(24px, 2.5vw, 36px); display: flex; flex-direction: column;
}
.how-card__icon { width: 30px; height: 30px; color: var(--c-primary); margin-bottom: var(--s-md); }
.how-card__title { font-size: 18px; font-weight: 600; font-family: var(--f-body); font-variation-settings: normal; margin-bottom: var(--s-sm); }
.how-card__body { font-size: 14.5px; color: var(--c-text-soft); line-height: 1.55; flex-grow: 1; }
.how-card__cta { margin-top: var(--s-md); font-size: 14px; font-weight: 600; color: var(--c-ember); }

/* ---- 12. Journal cards ----------------------------------------- */
.journal-cards { display: grid; grid-template-columns: 1fr; gap: clamp(24px, 3vw, 40px); }
@media (min-width: 768px) { .journal-cards { grid-template-columns: 1fr 1fr 1fr; } }
.journal-card { display: block; color: var(--c-ink); transition: transform 0.35s ease; }
.journal-card:hover { text-decoration: none; transform: translateY(-4px); }
.journal-card__media {
  aspect-ratio: 16 / 10; background: var(--c-cream-deep); overflow: hidden;
  border-radius: var(--r-img); margin-bottom: 16px; position: relative;
}
.journal-card__media img {
  width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.journal-card:hover .journal-card__media img { transform: scale(1.04); }
.journal-card__body { padding: 0; }
.journal-card__eyebrow { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-text-soft); font-weight: 500; margin-bottom: 6px; }
.journal-card__title { font-family: var(--f-head); font-size: clamp(21px, 1.9vw, 25px); font-weight: 500; letter-spacing: -0.015em; margin-bottom: var(--s-sm); }
.journal-card__excerpt { font-size: 15px; color: var(--c-text-soft); margin-bottom: var(--s-sm); line-height: 1.55; }
.journal-card__meta { font-size: 12px; color: var(--c-text-soft); letter-spacing: 0.1em; text-transform: uppercase; }

/* ---- 13. Category story ----------------------------------------- */
.cat-story { background: var(--c-surface); padding-block: clamp(56px, 8vw, 110px); }
.cat-story__inner { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 1024px) { .cat-story__inner { grid-template-columns: 1fr 1fr; gap: clamp(48px, 6vw, 96px); } }
.cat-story__media { aspect-ratio: 4 / 3; background: var(--c-cream-deep); border-radius: var(--r-img); overflow: hidden; position: relative; }
.cat-story__media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }

/* ---- 14. FAQ ------------------------------------------------------ */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--c-sand); }
.faq-item:first-child { border-top: 1px solid var(--c-sand); }
.faq-q {
  width: 100%; background: none; border: none;
  padding: var(--s-lg) 0; display: flex; justify-content: space-between;
  align-items: center; gap: var(--s-md);
  font-family: var(--f-body); font-size: 16.5px; font-weight: 600;
  color: var(--c-ink); text-align: left; cursor: pointer;
}
.faq-q__icon { flex-shrink: 0; width: 20px; height: 20px; transition: transform 0.25s; color: var(--c-text-soft); }
.faq-item.is-open .faq-q__icon { transform: rotate(45deg); color: var(--c-primary); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.25s; }
.faq-item.is-open .faq-a { max-height: 600px; padding-bottom: var(--s-lg); }
.faq-a p { color: var(--c-text-soft); margin: 0; line-height: 1.65; }
.faq-a p + p { margin-top: var(--s-sm); }

/* ---- 15. PDP -------------------------------------------------------- */
.pdp__head { display: grid; grid-template-columns: 1fr; gap: var(--s-xl); padding-block: clamp(28px, 4vw, 56px); }
@media (min-width: 1024px) { .pdp__head { grid-template-columns: 7fr 5fr; gap: clamp(48px, 5vw, 80px); } }
.pdp__gallery { display: grid; gap: var(--s-md); }
.pdp__gallery-main { aspect-ratio: 1; background: var(--c-cream-deep); border-radius: var(--r-img); overflow: hidden; }
.pdp__gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.pdp__gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-sm); }
.pdp__thumb { aspect-ratio: 1; background: var(--c-cream-deep); border-radius: var(--r-img); overflow: hidden; cursor: pointer; transition: opacity 0.2s; }
.pdp__thumb:hover { opacity: 0.85; }
.pdp__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp__sidebar { position: relative; }
@media (min-width: 1024px) { .pdp__sidebar { position: sticky; top: 96px; align-self: start; } }
.pdp__title {
  font-family: var(--f-body);
  font-weight: 600;
  font-variation-settings: normal;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: var(--s-sm);
}
.pdp__short { font-size: 16.5px; color: var(--c-text-soft); margin-bottom: var(--s-lg); line-height: 1.6; }
.pdp__price { font-family: var(--f-head); font-size: clamp(28px, 2.6vw, 36px); font-weight: 500; margin-bottom: var(--s-xs); }
.pdp__variant-note { font-size: 14px; color: var(--c-text-soft); margin-bottom: var(--s-lg); }

.wtb { background: var(--c-surface); border: 1px solid var(--c-sand); border-radius: var(--r-md); padding: var(--s-lg); }
.wtb__cta-stack { display: flex; flex-direction: column; gap: var(--s-md); margin-bottom: var(--s-md); }
.wtb__trust { border-top: 1px solid var(--c-sand); padding-top: var(--s-md); display: flex; flex-direction: column; gap: var(--s-sm); }
.wtb__trust-row { display: flex; align-items: center; gap: var(--s-sm); font-size: 14px; color: var(--c-text-soft); }
.wtb__trust-row svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--c-success); }
.wtb__future { margin-top: var(--s-md); padding-top: var(--s-md); border-top: 1px solid var(--c-sand); font-size: 13px; color: var(--c-text-soft); font-style: italic; }

.pdp__body { padding-block: clamp(32px, 5vw, 72px); display: grid; grid-template-columns: 1fr; gap: clamp(40px, 6vw, 96px); }
@media (min-width: 1024px) { .pdp__body { grid-template-columns: 7fr 5fr; } }
.pdp__long h3 { font-size: clamp(21px, 1.9vw, 26px); margin-top: var(--s-xl); margin-bottom: var(--s-md); }
.pdp__long h3:first-child { margin-top: 0; }
.pdp__long p { font-size: 16.5px; line-height: 1.7; }
.pdp__long ul { padding-left: 1.25em; }
.pdp__long ul li { margin-bottom: var(--s-sm); line-height: 1.65; }

.specs { background: var(--c-surface); border-radius: var(--r-md); padding: var(--s-lg); }
.specs h3 { font-size: 13px; font-family: var(--f-body); font-weight: 600; font-variation-settings: normal; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-text-soft); margin-bottom: var(--s-md); }
.specs table { width: 100%; border-collapse: collapse; }
.specs th, .specs td { text-align: left; padding: 12px 0; font-size: 14px; border-bottom: 1px solid var(--c-sand); vertical-align: top; }
.specs th { font-weight: 500; color: var(--c-text-soft); width: 42%; }
.specs td { color: var(--c-ink); }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: none; }

/* ---- 16. Prose (about + journal articles) -------------------------- */
.prose { max-width: 720px; margin: 0 auto; }
.prose p { font-size: 17px; line-height: 1.75; }
.prose h2 { margin-top: clamp(48px, 6vw, 80px); font-size: clamp(26px, 2.6vw, 36px); }
.prose h2:first-child { margin-top: 0; }
.prose .lead {
  font-size: clamp(19px, 1.7vw, 23px); line-height: 1.5; color: var(--c-ink);
  margin-bottom: var(--s-xl); font-family: var(--f-head); font-weight: 500;
  letter-spacing: -0.01em;
}
.prose ul li, .prose ol li { margin-bottom: var(--s-sm); line-height: 1.65; }
.prose a { color: var(--c-ember); }

/* ---- 17. Image placeholders (dawn tiles) ---------------------------- */
.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--g-dawn-tile);
  color: rgba(10, 37, 64, 0.55);
  font-family: var(--f-head);
  font-style: italic;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: center;
  padding: var(--s-md);
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

/* ---- 18. Footer (ink, matches homepage) ------------------------------ */
.footer { background: var(--c-ink); color: var(--c-cream); }
.footer a { color: rgba(255, 248, 243, 0.75); }
.footer a:hover { color: var(--c-primary); text-decoration: none; }
.footer__inner { padding: clamp(48px, 7vw, 88px) 0 32px; display: grid; grid-template-columns: 1fr; gap: var(--s-xl); }
@media (min-width: 768px) { .footer__inner { grid-template-columns: 2fr 1fr 1fr; } }
@media (min-width: 1024px) { .footer__inner { grid-template-columns: 2.4fr 1fr 1fr 1fr 1.4fr; } }
.footer__brand .footer__logo {
  display: inline-block;
  width: 150px; height: 34px;
  background-image: url('/assets/images/kira-logo.svg');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left center;
  filter: brightness(0) invert(1);
  text-indent: -9999px; overflow: hidden; white-space: nowrap;
  margin-bottom: var(--s-md);
}
.footer__brand .footer__logo .dot { display: none; }
.footer__tagline { font-family: var(--f-head); font-style: italic; font-size: 17px; color: rgba(255, 248, 243, 0.85); margin-bottom: var(--s-md); }
.footer__about { font-size: 14px; color: rgba(255, 248, 243, 0.65); line-height: 1.6; max-width: 34ch; margin-bottom: var(--s-lg); }
.footer__social { display: flex; gap: var(--s-md); }
.footer__social a { color: rgba(255, 248, 243, 0.65); display: inline-flex; transition: color 0.15s; }
.footer__social a svg { width: 20px; height: 20px; display: block; }
.footer__social a:hover { color: var(--c-primary); }
.footer__col h5 {
  font-family: var(--f-body); font-size: 11px; font-weight: 600;
  color: rgba(255, 248, 243, 0.5); letter-spacing: 0.16em; text-transform: uppercase;
  margin: 0 0 var(--s-md);
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__col a { font-size: 14px; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08); padding: var(--s-lg) 0;
  display: flex; flex-direction: column; gap: var(--s-md); align-items: center;
  text-align: center; font-size: 13px; color: rgba(255, 248, 243, 0.55);
}
@media (min-width: 768px) { .footer__bottom { flex-direction: row; justify-content: space-between; text-align: left; } }

/* ---- 19. Shop FAB (floating BuyMe.lk link) ---------------------------- */
.shop-fab {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 80;
  height: 52px;
  padding: 0 20px 0 16px;
  border-radius: 999px;
  background: var(--c-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font: 600 15px/1 var(--f-body);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.38);
  animation: fab-pulse 4s ease infinite;
}
.shop-fab:hover { background: var(--c-primary-hover); text-decoration: none; }
.shop-fab svg { width: 22px; height: 22px; }
@media (min-width: 768px) { .shop-fab { bottom: 24px; right: 24px; } }
@keyframes fab-pulse {
  0%, 90%, 100% { transform: scale(1); }
  95% { transform: scale(1.05); }
}
@media (prefers-reduced-motion: reduce) {
  .shop-fab { animation: none; }
  .card, .feature-card, .journal-card, .card__media img, .feature-card__media img, .journal-card__media img { transition: none; }
}

/* ---- 20. Utilities ------------------------------------------------------ */
.mt-0 { margin-top: 0; } .mt-md { margin-top: var(--s-md); } .mt-lg { margin-top: var(--s-lg); } .mt-xl { margin-top: var(--s-xl); }
.mb-0 { margin-bottom: 0; } .mb-md { margin-bottom: var(--s-md); } .mb-lg { margin-bottom: var(--s-lg); } .mb-xl { margin-bottom: var(--s-xl); }
.hidden { display: none; }

/* ---- 21. Print ----------------------------------------------------------- */
@media print {
  .header, .footer, .shop-fab, .announcement, .mobile-menu { display: none; }
  body { color: #000; background: #fff; }
}
