/*
  Bark In Dubai. Baseline stylesheet.
  Warm light default + dark theme via [data-theme="dark"] (toggled by theme.php cookie).
  Brand palette sampled from the BarkInDubai logo (orange + teal on cream).
  Cormorant Garamond loaded by head.php (unused). Poppins = display, Inter = body.
  Website developed by pressific.com Dileep C. Kaluaratchie and Emily Park.
*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800&display=swap');

:root {
  /* Warm light = default. Surfaces are cream/sand; ink is dark brown for warmth. */
  --ink:        #f7f1e3;
  --ink-2:      #efe6cf;
  --surface:    #ffffff;
  --cream:      #1c1813;
  --cream-soft: rgba(28, 24, 19, 0.74);
  --muted:      #6b6457;
  --line:       rgba(28, 24, 19, 0.14);
  --line-2:     rgba(28, 24, 19, 0.08);

  /* Logo palette. */
  --orange:     #ee6a23;
  --orange-ink: #ad440e;
  --teal:       #16a38c;
  --teal-ink:   #0e7a6a;
  --sun:        #f5a623;

  /* Legacy gold tokens — kept so scaffold/footer CSS keeps working. */
  --gold:       #ad440e;
  --gold-2:     #ee6a23;

  --serif:   "Cormorant Garamond", "Times New Roman", serif;
  --sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Poppins", "Inter", -apple-system, sans-serif;
  --ease:    cubic-bezier(0.22, 0.61, 0.36, 1);

  --container: 1180px;
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --shadow-card: 0 1px 2px rgba(28,24,19,.04), 0 8px 28px rgba(28,24,19,.08);
}

[data-theme="dark"] {
  --ink:        #0f0d0a;
  --ink-2:      #181410;
  --surface:    #1f1a14;
  --cream:      #f5efdf;
  --cream-soft: rgba(245, 239, 223, 0.74);
  --muted:      #9a9181;
  --line:       rgba(245, 239, 223, 0.16);
  --line-2:     rgba(245, 239, 223, 0.08);
  --shadow-card: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px rgba(0,0,0,.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.3s var(--ease); }
a:hover { color: var(--orange); }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--orange); color: #fff; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.05;
  color: var(--cream);
}

/* Scroll reveal: opacity + translate-up driven by IntersectionObserver in index.php */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}
[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal-stagger].is-in > *:nth-child(1) { transition-delay: 0ms; }
[data-reveal-stagger].is-in > *:nth-child(2) { transition-delay: 90ms; }
[data-reveal-stagger].is-in > *:nth-child(3) { transition-delay: 180ms; }
[data-reveal-stagger].is-in > *:nth-child(4) { transition-delay: 270ms; }
[data-reveal-stagger].is-in > * { opacity: 1; transform: none; }

/* Word-split hero headline */
.split-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40%);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.split-word.is-in { opacity: 1; transform: none; }

/* ============================================================
   1. Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--ink) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 24px;
  max-width: var(--container);
  margin: 0 auto;
  transition: padding .3s var(--ease);
}
.site-header.is-scrolled .site-header__inner { padding: 9px 24px; }
.site-header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--cream);
  letter-spacing: -0.01em;
}
.site-header__logo img {
  height: 100px;
  width: auto;
  background: #fff;
  padding: 9px 14px;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(28,24,19,.12), inset 0 0 0 1px rgba(28,24,19,.05);
  transition: height .3s var(--ease), padding .3s var(--ease), border-radius .3s var(--ease);
}
.site-header.is-scrolled .site-header__logo img {
  height: 66px;
  padding: 7px 11px;
  border-radius: 11px;
}
[data-theme="dark"] .site-header__logo img {
  box-shadow: 0 1px 8px rgba(0,0,0,.4), inset 0 0 0 1px rgba(255,255,255,.08);
}
.site-header__logo span .accent { color: var(--orange); }
.site-nav {
  display: none;
  gap: 28px;
  margin-left: 12px;
  flex: 1;
}
.site-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--cream);
  position: relative;
  padding: 4px 0;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.search {
  display: none;
  position: relative;
}
.search input {
  background: var(--ink-2);
  border: 1px solid var(--line);
  color: var(--cream);
  padding: 9px 14px 9px 36px;
  border-radius: 999px;
  font-size: 0.88rem;
  width: 220px;
  font-family: inherit;
  transition: border-color .2s var(--ease), width .25s var(--ease);
}
.search input::placeholder { color: var(--muted); }
.search input:focus {
  outline: none;
  border-color: var(--orange);
  width: 260px;
}
.search svg {
  position: absolute;
  left: 12px; top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  color: var(--muted);
}

.theme-toggle, .mobile-toggle {
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  background: var(--ink-2);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.theme-toggle:hover, .mobile-toggle:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.theme-toggle svg, .mobile-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.mobile-toggle { display: inline-flex; }
.mobile-drawer {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--ink-2);
  padding: 16px 24px 24px;
}
.mobile-drawer.is-open { display: block; }
.mobile-drawer a {
  display: block;
  padding: 12px 0;
  font-weight: 500;
  border-bottom: 1px solid var(--line-2);
}
.mobile-drawer .search { display: block; margin-top: 16px; }
.mobile-drawer .search input { width: 100%; }

@media (min-width: 880px) {
  .site-nav { display: flex; }
  .search { display: block; }
  .mobile-toggle { display: none; }
  .mobile-drawer { display: none !important; }
}

/* ============================================================
   2. Critical Safety Alert
   ============================================================ */
.alert-bar {
  background: linear-gradient(90deg, var(--orange), var(--sun));
  color: #fff;
}
.alert-bar__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  line-height: 1.45;
}
.alert-bar__icon {
  flex: 0 0 auto;
  width: 22px; height: 22px;
}
.alert-bar strong { font-weight: 700; }
.alert-bar a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.alert-bar a:hover { color: #fff; opacity: 0.85; }

/* ============================================================
   3. Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: min(880px, 92vh);
  display: flex;
  align-items: flex-end;
  background-image:
    linear-gradient(180deg, rgba(15,13,10,0) 28%, rgba(15,13,10,.32) 66%, rgba(15,13,10,.82) 100%),
    linear-gradient(90deg, rgba(15,13,10,.55) 0%, rgba(15,13,10,.18) 38%, rgba(15,13,10,0) 66%),
    url('../img/hero-marina.jpg');
  background-size: cover;
  background-position: center 62%;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 22%, rgba(245,166,35,.30), transparent 55%);
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 140px 24px 72px;
  width: 100%;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 28px;
}
.hero__eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--sun);
  box-shadow: 0 0 0 0 rgba(245,166,35,.7);
  animation: hero-pulse 2.4s var(--ease) infinite;
}
@keyframes hero-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(245,166,35,.7); }
  70%  { box-shadow: 0 0 0 12px rgba(245,166,35,0); }
  100% { box-shadow: 0 0 0 0 rgba(245,166,35,0); }
}
.hero h1 {
  font-size: clamp(2.6rem, 7.2vw, 5.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: .98;
  color: #fff;
  max-width: 14ch;
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0,0,0,.18);
}
.hero h1 .accent { color: var(--sun); font-style: italic; font-weight: 700; }
.hero p {
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  max-width: 540px;
  color: rgba(255,255,255,.94);
  margin-bottom: 36px;
  line-height: 1.5;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.22);
  max-width: 640px;
}
.hero__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.86rem;
  color: rgba(255,255,255,.92);
}
.hero__trust-item svg { width: 18px; height: 18px; color: var(--sun); flex: 0 0 auto; }
.hero__scroll {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 2;
  width: 56px; height: 56px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.4);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  color: #fff;
  animation: hero-bounce 2.2s var(--ease) infinite;
}
.hero__scroll svg { width: 18px; height: 18px; }
@keyframes hero-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}
@media (min-width: 880px) {
  .hero__scroll { display: inline-flex; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  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(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-ink); color: #fff; }
.btn--ghost { background: rgba(255,255,255,.10); color: #fff; border-color: rgba(255,255,255,.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255,255,255,.18); color: #fff; }
.btn--teal { background: var(--teal); color: #fff; }
.btn--teal:hover { background: var(--teal-ink); color: #fff; }

/* ============================================================
   Section scaffolding
   ============================================================ */
.section { padding: 110px 0; }
.section--tight { padding: 72px 0; }
.section--cream { background: var(--ink-2); }
.section--dark {
  background: #0f0d0a;
  color: #f5efdf;
}
.section--dark h2, .section--dark h3 { color: #f5efdf; }
.section--dark .section__eyebrow { color: var(--sun); }
.section--dark .section__head p { color: rgba(245,239,223,.72); }
.section__head {
  max-width: 760px;
  margin: 0 auto 64px;
  text-align: center;
}
.section__head--start { text-align: left; margin-left: 0; }
.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-ink);
  margin-bottom: 18px;
}
.section__eyebrow::before {
  content: "";
  width: 28px;
  height: 1.5px;
  background: currentColor;
  opacity: .55;
}
[data-theme="dark"] .section__eyebrow { color: var(--teal); }
.section__head h2 {
  font-size: clamp(2.1rem, 5.2vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.028em;
  margin-bottom: 16px;
}
.section__head h2 .accent { color: var(--orange); font-style: italic; font-weight: 700; }
.section--dark .section__head h2 .accent { color: var(--sun); }
.section__head p {
  color: var(--cream-soft);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================================
   4. Core Categories — bento (1 large feature + 3 stacked)
   ============================================================ */
.pillars {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) {
  .pillars {
    grid-template-columns: 1.15fr 1fr;
    grid-template-rows: auto;
    gap: 22px;
  }
  .pillars__feature { grid-row: span 3; }
  .pillars__list {
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr;
    grid-row: span 3;
  }
}

.pillar {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  box-shadow: var(--shadow-card);
}
.pillar:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
  box-shadow: 0 1px 2px rgba(28,24,19,.04), 0 18px 40px rgba(28,24,19,.12);
}
.pillar__num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.pillar__num::after {
  content: "";
  width: 18px; height: 1.5px;
  background: currentColor;
  opacity: .4;
}
.pillar__icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--orange) 12%, transparent);
  color: var(--orange-ink);
  margin-bottom: 18px;
}
.pillar--teal .pillar__icon { background: color-mix(in srgb, var(--teal) 14%, transparent); color: var(--teal-ink); }
.pillar--sun  .pillar__icon { background: color-mix(in srgb, var(--sun) 20%, transparent); color: #8a5a08; }
[data-theme="dark"] .pillar--teal .pillar__icon { color: var(--teal); }
[data-theme="dark"] .pillar--sun  .pillar__icon { color: var(--sun); }
.pillar__icon svg { width: 24px; height: 24px; }
.pillar h3 {
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1.15;
  margin-bottom: 8px;
}
.pillar p {
  color: var(--cream-soft);
  font-size: 0.96rem;
  margin-bottom: 18px;
  flex: 1;
}
.pillar__more {
  margin-top: auto;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--orange-ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
[data-theme="dark"] .pillar__more { color: var(--orange); }
.pillar__more::after {
  content: "→";
  transition: transform .2s var(--ease);
}
.pillar:hover .pillar__more::after { transform: translateX(5px); }

/* Featured (large) pillar with photo background */
.pillar--feature {
  min-height: 460px;
  padding: 40px;
  color: #fff;
  border: 0;
  background:
    linear-gradient(180deg, rgba(15,13,10,.2) 0%, rgba(15,13,10,.85) 100%),
    url('../img/hydration.jpg');
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 50px rgba(28,24,19,.18);
}
.pillar--feature h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #fff;
  margin-bottom: 12px;
  max-width: 14ch;
}
.pillar--feature p {
  color: rgba(255,255,255,.92);
  font-size: 1.02rem;
  max-width: 36ch;
}
.pillar--feature .pillar__num { color: var(--sun); }
.pillar--feature .pillar__num::after { background: var(--sun); opacity: .85; }
.pillar--feature .pillar__icon {
  background: rgba(255,255,255,.16);
  color: #fff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.pillar--feature .pillar__more { color: var(--sun); }
.pillar--feature:hover {
  transform: translateY(-4px);
}
.pillar--feature .pillar__tag {
  position: absolute;
  top: 24px; right: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--orange);
  color: #fff;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.pillar--feature .pillar__tag .dot {
  width: 6px; height: 6px; border-radius: 50%; background: #fff;
  animation: hero-pulse 2.4s var(--ease) infinite;
}

/* ============================================================
   5. Featured Articles
   ============================================================ */
.articles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 720px) { .articles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .articles { grid-template-columns: repeat(3, 1fr); } }

.article-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.article-card:hover { transform: translateY(-4px); }
.article-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ink-2);
}
.article-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.article-card:hover .article-card__media img { transform: scale(1.05); }
.article-card__body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.article-card__tag {
  align-self: flex-start;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--teal) 14%, transparent);
  color: var(--teal-ink);
  margin-bottom: 14px;
}
[data-theme="dark"] .article-card__tag { color: var(--teal); }
.article-card h3 {
  font-size: 1.18rem;
  margin-bottom: 10px;
  line-height: 1.3;
}
.article-card__link {
  margin-top: auto;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--orange-ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
[data-theme="dark"] .article-card__link { color: var(--orange); }
.article-card__link::after { content: "→"; transition: transform .2s var(--ease); }
.article-card:hover .article-card__link::after { transform: translateX(4px); }

/* ============================================================
   6. Dubai Dog Life spotlight — Instagram-feed mockup tiles
   ============================================================ */
.spotlight {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 720px) { .spotlight { grid-template-columns: repeat(3, 1fr); } }

.ig-card {
  background: #1a1611;
  border: 1px solid rgba(245,239,223,.08);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.ig-card:hover { transform: translateY(-4px); border-color: rgba(245,239,223,.22); }

.ig-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 14px 12px;
}
.ig-card__avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--sun));
  position: relative;
}
.ig-card__avatar::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: #1a1611;
}
.ig-card__avatar::before {
  content: "B";
  position: absolute;
  inset: 0;
  display: grid; place-items: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.78rem;
  color: var(--sun);
  z-index: 1;
}
.ig-card__handle {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.85rem;
  color: #f5efdf;
  line-height: 1.1;
}
.ig-card__meta {
  font-size: 0.72rem;
  color: rgba(245,239,223,.55);
  line-height: 1.2;
  margin-top: 2px;
}
.ig-card__more {
  margin-left: auto;
  color: rgba(245,239,223,.5);
  font-size: 1rem;
  letter-spacing: 2px;
}

.ig-card__media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #0f0d0a;
}
.ig-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.ig-card:hover .ig-card__media img { transform: scale(1.05); }

.ig-card__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px 6px;
  color: rgba(245,239,223,.85);
}
.ig-card__actions svg { width: 22px; height: 22px; }
.ig-card__actions svg:hover { color: var(--orange); cursor: pointer; }
.ig-card__bookmark { margin-left: auto; }
.ig-card__caption {
  padding: 4px 14px 16px;
  font-size: 0.84rem;
  color: rgba(245,239,223,.75);
  line-height: 1.5;
}
.ig-card__caption strong {
  color: #f5efdf;
  font-family: var(--display);
  font-weight: 600;
  margin-right: 6px;
}
.ig-card__caption em {
  font-style: normal;
  color: var(--sun);
}

.spotlight__cta {
  margin-top: 48px;
  text-align: center;
}
.spotlight__cta .btn--ghost {
  background: rgba(255,255,255,.06);
  border-color: rgba(245,239,223,.3);
  color: #f5efdf;
}
.spotlight__cta .btn--ghost:hover {
  background: var(--sun);
  border-color: var(--sun);
  color: #0f0d0a;
}

/* ============================================================
   7. Newsletter
   ============================================================ */
.newsletter {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-ink) 100%);
  border-radius: var(--radius-lg);
  padding: 56px 32px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.newsletter::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.newsletter::after {
  content: "";
  position: absolute;
  bottom: -60px; left: -60px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.newsletter__inner { position: relative; max-width: 620px; margin: 0 auto; }
.newsletter h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3.2vw, 2.1rem);
  margin-bottom: 12px;
}
.newsletter p {
  color: rgba(255,255,255,.9);
  margin-bottom: 28px;
  font-size: 1rem;
}
.newsletter__success {
  color: #fff;
  font-family: var(--display);
  font-weight: 600;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 12px;
  padding: 12px 18px;
  margin-bottom: 20px;
}
.newsletter__form {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}
@media (min-width: 620px) {
  .newsletter__form {
    grid-template-columns: 1fr 1fr auto;
    align-items: center;
  }
}
.newsletter__form input {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 13px 18px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,.95);
  color: #1c1813;
}
.newsletter__form input:focus { outline: 2px solid var(--sun); outline-offset: 2px; }
.newsletter__form .btn--primary {
  justify-content: center;
  background: var(--orange);
}
.newsletter__form .btn--primary:hover { background: #fff; color: var(--orange-ink); }

/* ============================================================
   8. Pre-footer (sits above locked Pressific footer)
   ============================================================ */
.prefooter {
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  padding: 56px 0 40px;
}
.prefooter__grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .prefooter__grid { grid-template-columns: 2fr 1fr 1fr; }
}
.prefooter__brand img {
  height: 40px;
  width: auto;
  margin-bottom: 16px;
  background: #fff;
  padding: 8px 13px;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(28,24,19,.12), inset 0 0 0 1px rgba(28,24,19,.05);
}
[data-theme="dark"] .prefooter__brand img {
  box-shadow: 0 2px 10px rgba(0,0,0,.4), inset 0 0 0 1px rgba(255,255,255,.08);
}
.prefooter__brand p {
  font-size: 0.9rem;
  color: var(--cream-soft);
  max-width: 340px;
}
.prefooter h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 14px;
}
.prefooter__copyright {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 10px;
}
.prefooter ul { list-style: none; display: grid; gap: 8px; }
.prefooter ul a {
  font-size: 0.92rem;
  color: var(--cream-soft);
}
.prefooter ul a:hover { color: var(--orange); }
.prefooter__social {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.prefooter__social a {
  width: 38px; height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  transition: border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease);
}
.prefooter__social a:hover {
  border-color: var(--orange);
  color: #fff;
  background: var(--orange);
}
.prefooter__social svg { width: 16px; height: 16px; }
.prefooter__disclaimer {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
  max-width: 760px;
  line-height: 1.55;
}

/* ============================================================
   Locked Pressific footer (existing classes — re-skinned).
   ============================================================ */
.footer {
  border-top: 1px solid var(--line);
  padding: 28px 32px;
  text-align: center;
  color: var(--cream-soft);
  background: var(--ink);
}
.footer__brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--cream);
  margin-bottom: 6px;
}
.footer__copy {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.footer__credit {
  font-size: 0.72rem;
  color: var(--muted);
}
.footer__credit a {
  color: var(--cream-soft);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
}
.footer__credit a:hover { color: var(--orange); border-bottom-color: var(--orange); }

/* ============================================================
   Accessibility helper (used by site-header search labels etc.)
   ============================================================ */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ============================================================
   Guides index + article (prose) pages
   ============================================================ */
.page-hero {
  position: relative;
  padding: 150px 0 60px;
  background: var(--ink-2);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 120% at 85% -10%, rgba(245,166,35,.18), transparent 60%);
  pointer-events: none;
}
.page-hero__inner { position: relative; max-width: 820px; }
.page-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-weight: 600;
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--orange-ink);
}
[data-theme="dark"] .page-hero__eyebrow { color: var(--sun); }
.page-hero__eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.page-hero h1 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem); line-height: 1.06;
  margin: 14px 0 0; letter-spacing: -0.02em;
}
.page-hero h1 .accent { color: var(--orange); font-style: italic; }
[data-theme="dark"] .page-hero h1 .accent { color: var(--sun); }
.page-hero__lead {
  margin-top: 18px; max-width: 640px;
  font-size: 1.12rem; color: var(--cream-soft);
}
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a:hover { color: var(--orange); }
.crumbs span { opacity: .6; }

/* Filter chips */
.guide-filters {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 0 0 40px;
}
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--line);
  font-family: var(--display); font-weight: 600; font-size: .85rem;
  color: var(--cream-soft); background: var(--surface);
  transition: all .25s var(--ease);
}
.chip:hover { color: var(--orange); border-color: var(--orange); transform: translateY(-1px); }
.chip--active { background: var(--orange); color: #fff; border-color: var(--orange); }
.chip--active:hover { color: #fff; background: var(--orange-ink); }
.chip__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .8; }

/* Article meta inside cards */
.article-card__meta {
  display: flex; align-items: center; gap: 10px;
  font-size: .8rem; color: var(--muted); margin-top: 12px;
}
.article-card__excerpt {
  font-size: .95rem; color: var(--cream-soft); margin-top: 10px;
}

/* Post (article) reading column */
.post { padding: 56px 0 24px; }
.prose {
  max-width: 720px; margin: 0 auto;
  font-size: 1.075rem; line-height: 1.78;
}
.prose > * + * { margin-top: 1.25rem; }
.prose p { color: var(--cream); }
.prose .lead {
  font-size: 1.28rem; line-height: 1.6; color: var(--cream-soft);
  font-family: var(--display); font-weight: 500;
}
.prose h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.5rem, 3.4vw, 2rem); line-height: 1.2;
  margin-top: 2.8rem; letter-spacing: -0.01em;
}
.prose h3 {
  font-family: var(--display); font-weight: 600;
  font-size: 1.25rem; margin-top: 2rem;
}
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin-top: .55rem; color: var(--cream); }
.prose li::marker { color: var(--orange); }
.prose a { color: var(--orange-ink); text-decoration: underline; text-underline-offset: 3px; }
[data-theme="dark"] .prose a { color: var(--sun); }
.prose strong { font-weight: 700; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.6rem 0; }
.prose figure { margin: 2.2rem 0; }
.prose figure img { border-radius: var(--radius); box-shadow: var(--shadow-card); }
.prose figcaption { font-size: .85rem; color: var(--muted); margin-top: .6rem; text-align: center; }

.prose blockquote {
  border-left: 3px solid var(--orange);
  padding: .4rem 0 .4rem 1.25rem; margin: 2rem 0;
  font-family: var(--display); font-weight: 500; font-style: italic;
  font-size: 1.2rem; color: var(--cream-soft);
}

/* Callout / safety box */
.callout {
  display: flex; gap: 14px;
  padding: 18px 20px; border-radius: var(--radius);
  background: rgba(22,163,140,.10); border: 1px solid rgba(22,163,140,.30);
  margin: 2rem 0;
}
.callout svg { flex: 0 0 22px; width: 22px; height: 22px; color: var(--teal-ink); margin-top: 2px; }
[data-theme="dark"] .callout svg { color: var(--teal); }
.callout p { margin: 0; font-size: .98rem; }
.callout strong { font-family: var(--display); }
.callout--warn { background: rgba(238,106,35,.10); border-color: rgba(238,106,35,.30); }
.callout--warn svg { color: var(--orange-ink); }
[data-theme="dark"] .callout--warn svg { color: var(--orange); }

/* [TO CONFIRM] placeholder marker for client-specific facts */
.confirm {
  display: inline; padding: 1px 7px; border-radius: 5px;
  background: rgba(245,166,35,.18); border: 1px dashed var(--orange-ink);
  font-family: var(--display); font-weight: 600; font-size: .82em;
  color: var(--orange-ink); white-space: nowrap;
}
[data-theme="dark"] .confirm { color: var(--sun); border-color: var(--sun); }

/* Key-takeaways panel */
.takeaways {
  margin: 2.4rem 0; padding: 24px 26px;
  border-radius: var(--radius-lg); background: var(--ink-2);
  border: 1px solid var(--line);
}
.takeaways h2 { margin: 0 0 .75rem; font-size: 1.15rem; }
.takeaways ul { padding-left: 1.2rem; }
.takeaways li { margin-top: .5rem; }

/* Post footer disclaimer + related */
.post-foot {
  max-width: 720px; margin: 2.5rem auto 0;
  padding-top: 1.75rem; border-top: 1px solid var(--line);
  font-size: .9rem; color: var(--muted);
}
.related { padding: 64px 0; }

/* ============================================================
   Mobile tuning
   ============================================================ */
@media (max-width: 720px) {
  .site-header__logo img { height: 68px; padding: 7px 11px; }
  .site-header.is-scrolled .site-header__logo img { height: 50px; padding: 6px 9px; }
  .section { padding: 64px 0; }
  .section--tight { padding: 48px 0; }
  .section__head { margin-bottom: 36px; }
  .hero { min-height: 78vh; align-items: center; }
  .hero__inner { padding: 110px 24px 56px; }
  .hero__trust { gap: 10px 18px; padding-top: 22px; }
  .hero__trust-item { font-size: 0.8rem; }
  .pillar--feature { min-height: 340px; padding: 28px 24px; }
  .pillar--feature h3 { font-size: 1.55rem; }
  .newsletter { padding: 44px 22px; }
  .newsletter__form { grid-template-columns: 1fr; }
  .page-hero { padding: 120px 0 44px; }
  .prose { font-size: 1.02rem; }
  .prose .lead { font-size: 1.12rem; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}
