/* =========================================================
   GLOBALSPAHUB — Premium spa & wellness growth platform
   Design system: editorial warmth × corporate clarity
   ========================================================= */

:root {
  --bg:           #f6f1ea;
  --bg-warm:      #ede4d6;
  --paper:        #fdfaf4;
  --ink:          #161614;
  --ink-soft:     #3f3f3c;
  --ink-mute:     #76746f;
  --line:         rgba(22, 22, 20, 0.12);
  --line-soft:    rgba(22, 22, 20, 0.06);
  --sage:         #7a8471;
  --sage-deep:    #5e6a55;
  --terracotta:   #c45c3a;
  --gold:         #b08947;
  --cream:        #f8f3e9;
  --rose:         #e8c4b8;
  --plum:         #58324a;

  --grad-warm:    linear-gradient(135deg, #c45c3a 0%, #b08947 60%, #5e6a55 100%);
  --grad-cool:    linear-gradient(135deg, #5e6a55 0%, #58324a 60%, #161614 100%);
  --grad-soft:    linear-gradient(135deg, #ede4d6 0%, #f8f3e9 50%, #e8c4b8 100%);

  --display: 'Fraunces', 'Times New Roman', serif;
  --body:    'Outfit', system-ui, -apple-system, sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, monospace;

  --container: 1360px;
  --gutter: clamp(1.25rem, 3vw, 2.5rem);
  --ease:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);

  --shadow-sm: 0 2px 8px rgba(22,22,20,0.04), 0 1px 2px rgba(22,22,20,0.06);
  --shadow-md: 0 12px 36px rgba(22,22,20,0.07), 0 2px 6px rgba(22,22,20,0.04);
  --shadow-lg: 0 28px 64px rgba(22,22,20,0.12), 0 4px 14px rgba(22,22,20,0.06);
  --shadow-glow: 0 28px 80px rgba(196, 92, 58, 0.22);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
::selection { background: var(--sage); color: var(--paper); }

/* ===== Container & section primitives ===== */

.container       { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container-wide  { max-width: 1500px; margin: 0 auto; padding: 0 var(--gutter); }
.container-tight { max-width: 980px;  margin: 0 auto; padding: 0 var(--gutter); }
.container-text  { max-width: 760px;  margin: 0 auto; padding: 0 var(--gutter); }

.section        { padding: clamp(4rem, 9vw, 8rem) 0; }
.section-tight  { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-loose  { padding: clamp(5rem, 11vw, 10rem) 0; }

.bg-paper { background: var(--paper); }
.bg-warm  { background: var(--bg-warm); }
.bg-ink   { background: var(--ink); color: var(--paper); }
.bg-ink * { color: inherit; }
.bg-cream { background: var(--cream); }

/* ===== Typography ===== */

.display-xl, .display-lg, .display-md, h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.04;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 50;
}

.display-xl { font-size: clamp(3rem, 8vw, 7rem); }
.display-lg { font-size: clamp(2.4rem, 6vw, 5rem); }
.display-md { font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.06; }

h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); line-height: 1.2; }
h4 { font-size: 1.15rem; line-height: 1.3; }

p { color: var(--ink-soft); max-width: 68ch; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--sage-deep);
  font-weight: 500;
}

.lede {
  font-family: var(--display);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.45;
  color: var(--ink-soft);
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.005em;
  max-width: 56ch;
}

.kicker {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

em.serif-em { font-style: italic; color: var(--sage-deep); }

/* ===== Navigation — sticky, mega-style ===== */

.nav {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(246, 241, 234, 0.86);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 400ms var(--ease), background 400ms var(--ease);
}
.nav.scrolled { border-color: var(--line); background: rgba(246, 241, 234, 0.94); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.18rem;
  letter-spacing: -0.012em;
  flex-shrink: 0;
}
.brand__dot {
  width: 7px; height: 7px;
  background: var(--terracotta);
  border-radius: 50%;
  display: inline-block;
  align-self: center;
  animation: pulse-soft 2.4s ease-in-out infinite;
}
.brand__mark { font-style: italic; }
.brand__mark em { color: var(--sage-deep); font-style: italic; }

@keyframes pulse-soft {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.55; transform: scale(1.35); }
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  list-style: none;
  flex-wrap: nowrap;
}
.nav__links a {
  font-size: 0.88rem;
  color: var(--ink-soft);
  position: relative;
  transition: color 240ms var(--ease);
  white-space: nowrap;
}
.nav__links a:hover, .nav__links a.is-current { color: var(--ink); }
.nav__links a.is-current { font-weight: 500; }
.nav__links li.has-menu > a::after {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  margin-left: 0.4rem;
  vertical-align: middle;
  opacity: 0.6;
}

/* Mega panel */
.nav__panel {
  position: absolute;
  left: 50%;
  top: calc(100% + 4px);
  transform: translateX(-50%) translateY(-8px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.4rem;
  min-width: 540px;
  box-shadow: var(--shadow-lg);
  display: none;
  z-index: 90;
}
.nav__panel.is-open { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; animation: panel-in 240ms var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateX(-50%) translateY(-4px);} to { opacity: 1; transform: translateX(-50%) translateY(0);} }
.nav__panel a {
  display: block;
  padding: 0.7rem 0.8rem;
  border-radius: 8px;
  transition: background 200ms;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.nav__panel a strong { display: block; color: var(--ink); font-weight: 500; font-family: var(--display); font-size: 1rem; }
.nav__panel a:hover { background: var(--bg); }

.nav__cta {
  font-size: 0.84rem;
  padding: 0.62rem 1.15rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: background 280ms var(--ease), color 280ms var(--ease);
  white-space: nowrap;
  flex-shrink: 0;
}
.nav__cta:hover { background: var(--ink); color: var(--paper); }

.nav__toggle { display: none; }

@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
  }
  .nav__toggle span {
    width: 22px; height: 1.5px;
    background: var(--ink);
    display: block;
    transition: transform 300ms var(--ease);
  }
  .nav.open .nav__toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav.open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav__toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .nav.open .nav__links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    inset: 100% 0 auto 0;
    background: var(--paper);
    padding: 1rem var(--gutter) 2rem;
    border-bottom: 1px solid var(--line);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
  }
  .nav.open .nav__links li { padding: 0.85rem 0; border-bottom: 1px solid var(--line-soft); }
  .nav.open .nav__panel { display: none !important; }
}

/* ===== Buttons & links ===== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: transform 220ms var(--ease), background 280ms var(--ease), color 280ms var(--ease), box-shadow 280ms;
  border: 1px solid transparent;
  white-space: nowrap;
  cursor: pointer;
}
.btn:active { transform: translateY(1px) scale(0.985); }

.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--sage-deep); }

.btn--ghost { color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }

.btn--sage { background: var(--sage); color: var(--paper); }
.btn--sage:hover { background: var(--sage-deep); }

.btn--paper { background: var(--paper); color: var(--ink); }
.btn--paper:hover { background: var(--cream); }

.btn--terra { background: var(--terracotta); color: var(--paper); }
.btn--terra:hover { background: #a84a2d; box-shadow: var(--shadow-glow); }

.btn--lg { padding: 1.1rem 1.9rem; font-size: 1rem; }

.btn .arrow {
  width: 14px; height: 14px;
  transition: transform 240ms var(--ease);
}
.btn:hover .arrow { transform: translateX(4px); }

.link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition: gap 240ms var(--ease);
}
.link:hover { gap: 0.7rem; }

.link-soft {
  color: var(--sage-deep);
  border-bottom: 1px dotted var(--sage);
  transition: color 200ms;
}
.link-soft:hover { color: var(--terracotta); border-bottom-color: var(--terracotta); }

/* ===== Reveal-on-scroll ===== */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ===== HERO variants ===== */

.hero {
  padding-top: clamp(3rem, 6vw, 6rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  position: relative;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}
@media (max-width: 920px) { .hero__grid { grid-template-columns: 1fr; } }

.hero__title {
  font-family: var(--display);
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  font-weight: 300;
}
.hero__title em {
  font-style: italic;
  color: var(--sage-deep);
  font-weight: 300;
}

.hero__meta {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}
.hero__meta p { max-width: 52ch; }
.hero__actions { display: flex; gap: 0.8rem; flex-wrap: wrap; align-items: center; }

.hero__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-warm);
}
.hero__visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.02);
  transition: transform 9s var(--ease-out);
}
.hero__visual:hover img { transform: scale(1.04); }

.hero__caption {
  position: absolute;
  left: 1.25rem; bottom: 1rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
  mix-blend-mode: difference;
}

.hero__stats {
  margin-top: 2.4rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
@media (max-width: 760px) { .hero__stats { grid-template-columns: repeat(2, 1fr); } }
.hero__stat strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.hero__stat span {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 0.25rem;
  display: block;
}

.hero__ticker {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
  display: flex;
  gap: 3.5rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  overflow: hidden;
  white-space: nowrap;
}
.hero__ticker__track {
  display: flex;
  gap: 3.5rem;
  animation: ticker 40s linear infinite;
}
.hero__ticker span::before {
  content: '◦';
  display: inline-block;
  margin-right: 1.25rem;
  color: var(--terracotta);
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Service-page hero (narrower, centered) */
.hero--service { padding-top: clamp(2.5rem, 5vw, 5rem); padding-bottom: clamp(2rem, 4vw, 3rem); }
.hero--service .hero__grid { grid-template-columns: 1fr; gap: 2rem; }
.hero--service .hero__title { font-size: clamp(2.4rem, 5.5vw, 4.6rem); }
.hero--service .hero__visual { aspect-ratio: 21 / 9; margin-top: 2rem; }
.hero--service .hero__visual img { filter: none; }

/* ===== Breadcrumbs ===== */

.crumbs {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 1.8rem;
}
.crumbs a:hover { color: var(--ink); }
.crumbs span { color: var(--line); margin: 0 0.5rem; }

/* ===== Stat strip ===== */

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 760px) { .stat-strip { grid-template-columns: repeat(2, 1fr); } }
.stat {
  padding: 1.4rem 1.2rem;
  background: var(--paper);
  border-radius: 10px;
  border: 1px solid var(--line-soft);
}
.stat strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.stat span {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: block;
  margin-top: 0.3rem;
}
.stat p { margin-top: 0.6rem; font-size: 0.9rem; }

/* ===== Services / feature grids ===== */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 980px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }

.feature-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .feature-grid--2 { grid-template-columns: 1fr; } }
.feature-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .feature-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .feature-grid--4 { grid-template-columns: 1fr; } }

.feature {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 1.8rem 1.6rem;
  transition: transform 360ms var(--ease), border-color 360ms, box-shadow 360ms;
  display: flex;
  flex-direction: column;
  min-height: 260px;
}
.feature:hover { transform: translateY(-4px); border-color: var(--line); box-shadow: var(--shadow-md); }

.feature__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--bg-warm);
  color: var(--terracotta);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.feature h3 {
  font-family: var(--display);
  font-size: 1.4rem;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.feature p {
  margin-top: 0.7rem;
  font-size: 0.96rem;
  color: var(--ink-soft);
}
.feature .link, .feature .link-soft { margin-top: auto; padding-top: 1.2rem; font-size: 0.85rem; }

/* Service card variant (with number) */
.service-card { position: relative; }
.service-card__num {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--terracotta);
  margin-bottom: 0.6rem;
  display: block;
}

/* ===== Two-column long-form ===== */

.two-col {
  display: grid;
  grid-template-columns: 0.85fr 1.4fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
@media (max-width: 880px) { .two-col { grid-template-columns: 1fr; } }
.two-col__head { position: sticky; top: 6rem; }
@media (max-width: 880px) { .two-col__head { position: static; } }

.long-body p + p,
.long-body ul + p,
.long-body ol + p,
.long-body p + ul,
.long-body p + ol,
.long-body p + h3,
.long-body p + h2 { margin-top: 1.2rem; }
.long-body h2 { font-family: var(--display); font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 2.4rem 0 1rem; letter-spacing: -0.018em; }
.long-body h3 { font-family: var(--display); font-size: 1.35rem; margin: 1.8rem 0 0.7rem; letter-spacing: -0.012em; }
.long-body p { font-size: 1.02rem; line-height: 1.72; color: var(--ink-soft); }
.long-body ul, .long-body ol { padding-left: 1.4rem; color: var(--ink-soft); }
.long-body li { margin-bottom: 0.6rem; line-height: 1.65; }
.long-body strong { color: var(--ink); font-weight: 500; }
.long-body a { color: var(--ink); border-bottom: 1px solid var(--terracotta); }
.long-body a:hover { background: rgba(196, 92, 58, 0.08); }
.long-body blockquote {
  margin: 2rem 0;
  padding: 1.2rem 1.4rem 1.2rem 1.6rem;
  border-left: 3px solid var(--terracotta);
  font-family: var(--display);
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.4;
  color: var(--ink);
  background: var(--paper);
  border-radius: 0 8px 8px 0;
}

/* ===== Tables / comparison ===== */

.table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  -webkit-overflow-scrolling: touch;
}
table.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 600px;
}
table.compare th, table.compare td {
  text-align: left;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
table.compare thead th {
  background: var(--bg-warm);
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
table.compare th:first-child, table.compare td:first-child { color: var(--ink); font-weight: 500; }
table.compare tr:last-child td { border-bottom: none; }
table.compare td .ok { color: var(--sage-deep); font-weight: 500; }
table.compare td .no { color: var(--terracotta); font-weight: 500; }

/* ===== FAQ accordion ===== */

.faq { display: grid; gap: 0.6rem; max-width: 920px; margin: 0 auto; }
.faq__item {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 240ms;
}
.faq__item.is-open { border-color: var(--line); box-shadow: var(--shadow-sm); }
.faq__q {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 1.4rem;
  font-family: var(--display);
  font-size: 1.12rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
  cursor: pointer;
}
.faq__q::after {
  content: '+';
  font-family: var(--mono);
  font-size: 1.4rem;
  color: var(--terracotta);
  transition: transform 280ms var(--ease);
  display: inline-block;
}
.faq__item.is-open .faq__q::after { transform: rotate(45deg); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 380ms var(--ease);
  padding: 0 1.4rem;
}
.faq__item.is-open .faq__a { max-height: 800px; padding-bottom: 1.3rem; }
.faq__a p { font-size: 0.98rem; line-height: 1.65; color: var(--ink-soft); }
.faq__a p + p { margin-top: 0.7rem; }

/* ===== Pricing card ===== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
@media (max-width: 880px) { .pricing-grid { grid-template-columns: 1fr; } }

.price-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.is-featured {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.price-card.is-featured h3, .price-card.is-featured strong { color: var(--paper); }
.price-card.is-featured p, .price-card.is-featured li { color: rgba(253,250,244,0.78); }
.price-card.is-featured .price-card__num { color: var(--paper); }
.price-card .pill-featured {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--terracotta);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
}
.price-card h3 { font-family: var(--display); font-size: 1.4rem; letter-spacing: -0.012em; }
.price-card__num {
  font-family: var(--display);
  font-size: 2.6rem;
  font-weight: 400;
  margin-top: 0.4rem;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.price-card__num small { font-size: 0.95rem; color: var(--ink-mute); font-family: var(--body); margin-left: 0.2rem; }
.price-card ul { list-style: none; margin-top: 1.4rem; padding: 1.4rem 0 0; border-top: 1px solid var(--line-soft); flex: 1; }
.price-card.is-featured ul { border-top-color: rgba(253,250,244,0.18); }
.price-card li {
  padding: 0.45rem 0;
  font-size: 0.94rem;
  display: flex;
  gap: 0.55rem;
  color: var(--ink-soft);
}
.price-card li::before {
  content: '◆';
  color: var(--terracotta);
  font-size: 0.7rem;
  margin-top: 0.32rem;
}
.price-card .btn { margin-top: 1.4rem; justify-content: center; }

/* ===== Bento / mixed grid ===== */

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 1rem;
}
@media (max-width: 880px) { .bento { grid-template-columns: repeat(2, 1fr); } }
.bento__card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 1.6rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.bento__card--wide { grid-column: span 4; }
.bento__card--tall { grid-column: span 2; grid-row: span 2; }
.bento__card--small { grid-column: span 2; }
.bento__card--image { padding: 0; background: var(--bg-warm); position: relative; }
.bento__card--image img { width: 100%; height: 100%; object-fit: cover; }
.bento__card--ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.bento__card--ink h3, .bento__card--ink p { color: inherit; }
.bento__card--ink p { color: rgba(253,250,244,0.78); }
@media (max-width: 880px) {
  .bento__card--wide, .bento__card--tall, .bento__card--small { grid-column: span 2; grid-row: auto; }
}

/* ===== CTA bar (premium $15/day callout) ===== */

.cta-bar {
  margin: clamp(3rem, 6vw, 5rem) auto;
  padding: 0 var(--gutter);
}
.cta-bar__inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  border-radius: 22px;
  padding: clamp(2.4rem, 5vw, 4rem) clamp(2rem, 5vw, 4rem);
  background: var(--grad-warm);
  color: var(--paper);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-bar__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,0.16), transparent 38%),
    radial-gradient(circle at 88% 82%, rgba(0,0,0,0.18), transparent 42%);
  pointer-events: none;
}
.cta-bar__inner * { position: relative; }
.cta-bar__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
}
@media (max-width: 880px) { .cta-bar__grid { grid-template-columns: 1fr; } }

.cta-bar .eyebrow { color: rgba(253,250,244,0.85); }
.cta-bar h2 {
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-top: 0.7rem;
  font-weight: 400;
}
.cta-bar p.lede {
  color: rgba(253,250,244,0.86);
  font-style: normal;
  font-family: var(--body);
  font-size: 1.02rem;
  margin-top: 1rem;
}

.cta-bar__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.4rem;
}
.cta-bar__chips span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(253,250,244,0.14);
  border: 1px solid rgba(253,250,244,0.22);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper);
  backdrop-filter: blur(6px);
}

.cta-bar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.8rem;
}
.cta-bar .btn--paper { background: var(--paper); color: var(--ink); }
.cta-bar .btn--paper:hover { background: var(--cream); transform: translateY(-2px); }
.cta-bar .btn--outline {
  color: var(--paper); border: 1px solid rgba(253,250,244,0.5); background: transparent;
}
.cta-bar .btn--outline:hover { background: rgba(253,250,244,0.12); }

.cta-bar__side {
  display: grid;
  gap: 0.6rem;
}
.cta-bar__service {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1.1rem;
  background: rgba(253,250,244,0.10);
  border: 1px solid rgba(253,250,244,0.18);
  border-radius: 12px;
  backdrop-filter: blur(8px);
}
.cta-bar__service__icon {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: rgba(253,250,244,0.18);
  border-radius: 8px;
  font-size: 1.05rem;
}
.cta-bar__service strong { display: block; font-family: var(--display); font-size: 1.02rem; font-weight: 500; color: var(--paper); letter-spacing: -0.01em; }
.cta-bar__service span { font-size: 0.82rem; color: rgba(253,250,244,0.72); }

/* CTA bar — cool variant */
.cta-bar--cool .cta-bar__inner { background: var(--grad-cool); }

/* CTA bar — soft inline variant */
.cta-bar--soft .cta-bar__inner { background: var(--grad-soft); color: var(--ink); box-shadow: var(--shadow-md); }
.cta-bar--soft h2, .cta-bar--soft .eyebrow { color: var(--ink); }
.cta-bar--soft p.lede { color: var(--ink-soft); }
.cta-bar--soft .cta-bar__chips span { background: rgba(22,22,20,0.06); border-color: rgba(22,22,20,0.12); color: var(--ink-soft); }
.cta-bar--soft .cta-bar__service { background: rgba(255,255,255,0.55); border-color: rgba(22,22,20,0.10); color: var(--ink); }
.cta-bar--soft .cta-bar__service strong { color: var(--ink); }
.cta-bar--soft .cta-bar__service span { color: var(--ink-mute); }
.cta-bar--soft .btn--outline { color: var(--ink); border-color: var(--ink); }
.cta-bar--soft .btn--outline:hover { background: var(--ink); color: var(--paper); }

/* ===== Sticky bottom CTA (mobile-first) ===== */

.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 1.1rem;
  transform: translateX(-50%) translateY(140%);
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.7rem 0.85rem 0.7rem 1.2rem;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  transition: transform 420ms var(--ease);
  max-width: calc(100vw - 2rem);
}
.sticky-cta.is-visible { transform: translateX(-50%) translateY(0); }
.sticky-cta strong { font-family: var(--display); font-size: 0.95rem; font-weight: 500; }
.sticky-cta .btn { padding: 0.55rem 1rem; font-size: 0.84rem; background: var(--terracotta); color: var(--paper); }
.sticky-cta .btn:hover { background: #a84a2d; }
.sticky-cta__close {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  font-size: 1rem;
  line-height: 1;
}
.sticky-cta__close:hover { background: rgba(255,255,255,0.18); }
@media (max-width: 540px) { .sticky-cta strong { display: none; } }

/* ===== WhatsApp floating button ===== */

.whatsapp-fab {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 75;
  width: 56px; height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
  transition: transform 280ms var(--ease), box-shadow 280ms;
}
.whatsapp-fab:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 16px 38px rgba(37, 211, 102, 0.55); }
.whatsapp-fab svg { width: 26px; height: 26px; fill: currentColor; }
.whatsapp-fab::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.45);
  animation: pulse-ring 2.2s ease-out infinite;
  pointer-events: none;
}
@keyframes pulse-ring {
  0% { transform: scale(0.85); opacity: 0.8; }
  100% { transform: scale(1.45); opacity: 0; }
}

/* ===== Mission / lead-in ===== */

.mission {
  background: var(--paper);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.mission__grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
@media (max-width: 820px) { .mission__grid { grid-template-columns: 1fr; } }
.mission__body p + p { margin-top: 1.25rem; }

/* ===== Section heads ===== */

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 3rem;
  gap: 2rem;
}
.section-head h2 { max-width: 16ch; margin-top: 0.6rem; }
@media (max-width: 720px) {
  .section-head { flex-direction: column; align-items: stretch; gap: 1rem; }
}

/* ===== Card-post (blog teasers) ===== */

.card-post {
  display: block;
  position: relative;
  transition: transform 480ms var(--ease);
}
.card-post:hover { transform: translateY(-3px); }
.card-post__media {
  aspect-ratio: 4 / 3;
  background: var(--bg-warm);
  overflow: hidden;
  border-radius: 6px;
  margin-bottom: 1.2rem;
}
.card-post__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.card-post:hover .card-post__media img { transform: scale(1.06); }
.card-post--feature .card-post__media { aspect-ratio: 4 / 5; }
.card-post__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.7rem;
}
.card-post__meta .dot { width: 3px; height: 3px; background: currentColor; border-radius: 50%; }
.card-post__title {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  line-height: 1.12;
  letter-spacing: -0.018em;
  font-weight: 400;
  color: var(--ink);
}
.card-post--feature .card-post__title { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.card-post__excerpt { margin-top: 0.7rem; font-size: 0.96rem; color: var(--ink-soft); max-width: 56ch; }

/* ===== Posts/grids ===== */

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem) clamp(1.25rem, 2.5vw, 2.25rem);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}
@media (max-width: 980px) { .posts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .posts-grid { grid-template-columns: 1fr; } }
.posts-grid .card-post:nth-child(7n+1) .card-post__media { aspect-ratio: 4 / 5; }
.posts-grid .card-post:nth-child(7n+4) .card-post__media { aspect-ratio: 1 / 1; }

/* ===== Case study cards ===== */

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 2.4rem);
}
@media (max-width: 760px) { .case-grid { grid-template-columns: 1fr; } }
.case-card {
  background: var(--paper);
  border-radius: 14px;
  border: 1px solid var(--line-soft);
  overflow: hidden;
  transition: transform 360ms var(--ease), box-shadow 360ms;
  display: flex;
  flex-direction: column;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.case-card__media { aspect-ratio: 16 / 9; background: var(--bg-warm); overflow: hidden; }
.case-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.case-card:hover .case-card__media img { transform: scale(1.04); }
.case-card__body { padding: 1.6rem 1.6rem 1.8rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.case-card__meta {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.case-card h3 { font-family: var(--display); font-size: 1.5rem; letter-spacing: -0.015em; line-height: 1.15; }
.case-card__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  margin-top: 0.9rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
}
.case-card__stats div strong {
  display: block; font-family: var(--display); font-size: 1.35rem; color: var(--terracotta); font-weight: 400; letter-spacing: -0.015em;
}
.case-card__stats div span { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); }

/* ===== Process / steps ===== */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  counter-reset: step;
}
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 1.6rem 1.4rem 1.4rem;
  position: relative;
  counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--terracotta);
  display: block;
  margin-bottom: 0.6rem;
}
.step h4 { font-family: var(--display); font-size: 1.15rem; letter-spacing: -0.012em; }
.step p { margin-top: 0.5rem; font-size: 0.92rem; color: var(--ink-soft); }

/* ===== Trust / logo bar ===== */

.trust {
  padding: 1.4rem 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
  flex-wrap: wrap;
}
.trust span { display: inline-flex; align-items: center; gap: 0.45rem; }
.trust span::before { content: '◦'; color: var(--terracotta); }

/* ===== Form (contact / lead) ===== */

.form { display: grid; gap: 1.4rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.45rem; }
.field label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.field input, .field textarea, .field select {
  font: inherit;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  color: var(--ink);
  width: 100%;
  outline: none;
  transition: border-color 220ms, box-shadow 220ms;
  font-family: var(--body);
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--sage-deep);
  box-shadow: 0 0 0 4px rgba(94, 106, 85, 0.12);
}
.field textarea { min-height: 130px; resize: vertical; }
.field .helper { font-size: 0.78rem; color: var(--ink-mute); }
.form__notice { font-size: 0.85rem; color: var(--sage-deep); min-height: 1.1em; }

.lead-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-md);
}
.lead-form h3 { font-family: var(--display); font-size: 1.5rem; letter-spacing: -0.015em; }
.lead-form .form { margin-top: 1.2rem; }
.lead-form .btn { justify-content: center; }

/* ===== Newsletter (slim) ===== */

.newsletter {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.newsletter * { color: inherit; }
.newsletter__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}
@media (max-width: 820px) { .newsletter__grid { grid-template-columns: 1fr; } }
.newsletter h2 { color: var(--paper); max-width: 16ch; }
.newsletter p  { color: rgba(253, 250, 244, 0.74); }
.newsletter__form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
  border-bottom: 1px solid rgba(253, 250, 244, 0.35);
  padding-bottom: 0.5rem;
}
.newsletter__form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--paper);
  font-family: var(--body);
  font-size: 1rem;
  padding: 0.7rem 0;
}
.newsletter__form input::placeholder { color: rgba(253, 250, 244, 0.45); }
.newsletter__form button {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  transition: background 240ms var(--ease);
}
.newsletter__form button:hover { background: var(--sage); color: var(--paper); }
.newsletter__notice { margin-top: 0.8rem; font-size: 0.78rem; color: var(--sage); min-height: 1.1em; }

/* ===== Footer ===== */

.footer {
  background: var(--bg-warm);
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
  border-top: 1px solid var(--line-soft);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 980px) { .footer__grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 600px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .footer__grid { grid-template-columns: 1fr; } }

.footer h4 {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
  margin-bottom: 1.2rem;
}
.footer ul { list-style: none; }
.footer li { margin-bottom: 0.65rem; }
.footer a { color: var(--ink-soft); font-size: 0.92rem; transition: color 200ms; }
.footer a:hover { color: var(--ink); }
.footer__intro p { font-size: 0.95rem; margin-top: 1rem; max-width: 38ch; }
.footer__social { display: flex; gap: 0.8rem; margin-top: 1.4rem; }
.footer__social a {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 0.8rem;
  transition: background 200ms, color 200ms;
}
.footer__social a:hover { background: var(--ink); color: var(--paper); }

.footer__base {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--mono);
  font-size: 0.73rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ===== Page-head (interior pages) ===== */

.page-head {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0 clamp(2rem, 4vw, 4rem);
  border-bottom: 1px solid var(--line);
}
.page-head__grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}
@media (max-width: 820px) { .page-head__grid { grid-template-columns: 1fr; } }
.page-head h1 { max-width: 20ch; }
.page-head__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: 1.4rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ===== Filters ===== */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.filter {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  transition: all 220ms var(--ease);
  cursor: pointer;
  background: transparent;
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ===== About / values / team ===== */

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line);
  padding-top: clamp(2.5rem, 5vw, 4rem);
}
@media (max-width: 820px) { .values { grid-template-columns: 1fr; } }
.value__num { font-family: var(--mono); font-size: 0.78rem; color: var(--terracotta); letter-spacing: 0.18em; }
.value h3 { margin-top: 0.7rem; font-size: 1.35rem; font-family: var(--display); letter-spacing: -0.012em; }
.value p { margin-top: 0.7rem; font-size: 0.96rem; }

.team {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
@media (max-width: 880px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .team { grid-template-columns: 1fr; } }
.team__member__media { aspect-ratio: 3 / 4; background: var(--bg-warm); overflow: hidden; margin-bottom: 1rem; border-radius: 6px; }
.team__member__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.18); transition: filter 600ms var(--ease); }
.team__member:hover .team__member__media img { filter: grayscale(0); }
.team__member h3 { font-size: 1.25rem; font-family: var(--display); letter-spacing: -0.012em; }
.team__member .role { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); margin-top: 0.2rem; }

/* ===== Location cards ===== */

.location-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 1000px) { .location-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .location-grid { grid-template-columns: 1fr; } }
.location-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 1.4rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: transform 360ms var(--ease), border-color 360ms;
}
.location-card:hover { transform: translateY(-3px); border-color: var(--line); }
.location-card__city { font-family: var(--display); font-size: 1.4rem; letter-spacing: -0.015em; }
.location-card__region { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); }
.location-card p { font-size: 0.92rem; margin-top: 0.4rem; }

/* ===== Resource list ===== */

.resource-list { list-style: none; }
.resource-list li {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line-soft);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.2rem;
  align-items: center;
}
.resource-list li:last-child { border-bottom: none; }
.resource-list__num { font-family: var(--mono); font-size: 0.78rem; color: var(--terracotta); letter-spacing: 0.18em; }
.resource-list h4 { font-family: var(--display); font-size: 1.05rem; letter-spacing: -0.012em; line-height: 1.2; }
.resource-list p { font-size: 0.88rem; margin-top: 0.25rem; }
.resource-list a.link { font-size: 0.82rem; }

/* ===== Post body ===== */

.post-body {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) var(--gutter);
}
.post-body > .lede { margin-bottom: 2rem; }
.post-body p {
  font-size: 1.06rem;
  line-height: 1.78;
  color: var(--ink-soft);
  margin-bottom: 1.4rem;
}
.post-body h2 {
  font-family: var(--display);
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: -0.018em;
  margin: 2.6rem 0 1rem;
  color: var(--ink);
}
.post-body h3 {
  font-family: var(--display);
  font-size: 1.4rem;
  margin: 1.8rem 0 0.7rem;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.post-body ul, .post-body ol { padding-left: 1.4rem; margin-bottom: 1.4rem; color: var(--ink-soft); }
.post-body li { margin-bottom: 0.6rem; line-height: 1.65; }
.post-body blockquote {
  margin: 2.2rem 0;
  padding: 1.2rem 1.4rem 1.2rem 1.6rem;
  border-left: 3px solid var(--terracotta);
  font-family: var(--display);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.4;
  color: var(--ink);
  background: var(--paper);
  border-radius: 0 8px 8px 0;
}
.post-body a { color: var(--ink); border-bottom: 1px solid var(--terracotta); transition: background 200ms; }
.post-body a:hover { background: rgba(196, 92, 58, 0.08); }
.post-body figure { margin: 2.2rem 0; }
.post-body figure img { width: 100%; border-radius: 6px; }
.post-body figcaption { margin-top: 0.6rem; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); }
.post-body hr { border: none; height: 1px; background: var(--line); margin: 3rem auto; width: 60%; }

.post-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2.5rem; }
.post-tags span {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-mute);
}

/* ===== Image gallery ===== */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin: 2rem 0;
}
@media (max-width: 720px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .gallery { grid-template-columns: 1fr; } }
.gallery img { aspect-ratio: 4/3; object-fit: cover; border-radius: 6px; }

/* ===== Related ===== */

.related { background: var(--bg-warm); }
.related h2 { font-size: 1.6rem; margin-bottom: 2rem; font-family: var(--display); }
.related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2vw, 2rem); }
@media (max-width: 820px) { .related__grid { grid-template-columns: 1fr; } }

/* ===== Inline callouts ===== */

.callout {
  margin: 2rem 0;
  padding: 1.4rem 1.6rem;
  border-radius: 12px;
  background: var(--bg-warm);
  border-left: 4px solid var(--sage-deep);
}
.callout strong { display: block; margin-bottom: 0.4rem; color: var(--ink); }
.callout p { color: var(--ink-soft); font-size: 0.96rem; }

.callout--terra { border-left-color: var(--terracotta); background: rgba(196, 92, 58, 0.06); }
.callout--gold  { border-left-color: var(--gold); background: rgba(176, 137, 71, 0.08); }

/* ===== Misc helpers ===== */

.center { text-align: center; }
.muted { color: var(--ink-mute); }
.divider { height: 1px; background: var(--line); width: 100%; margin: 2rem 0; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.8rem; }
.mt-2 { margin-top: 1.4rem; }
.mt-3 { margin-top: 2rem; }
.mt-4 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1.4rem; }
.text-center { text-align: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
