@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Symbols+2&display=swap');

/* ═══════════════════════════════════════════════════════════
   GHOST THEME STYLESHEET
   Shares the same design system as the booking site:
   black/white brutalist monospace, animated dither background,
   thin nav strip, black header bars.
═══════════════════════════════════════════════════════════ */

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

:root { --font: 'Roboto Mono', 'Noto Sans Symbols 2', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Courier New', monospace; }

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

body {
  background: #000;
  color: #000;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  padding: 2rem 1.25rem;
}

a { color: inherit; }

::selection { background: #000; color: #fff; }

/* ── DITHER CANVAS ── */
#bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

/* ── TRANSIT MARQUEE ── */
.transit-marquee {
  overflow: hidden;
  white-space: nowrap;
  background: #000;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 0.38rem 0;
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.8);
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
}
.marquee-track {
  display: inline-block;
  padding-left: 100%;
  will-change: transform;
}
.marquee-track.go {
  animation: marquee-scroll var(--marquee-dur, 60s) linear infinite;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

/* ═══════════════════════════════════════════════════════════
   NAV: bordered-box chip style
   Desktop : sticky bar. Brand + every nav item is its own
             same-height bordered box in one flat flex row.
             display:contents trick flattens .nav-links and
             .nav-items so their <a> tags join the bar's flex
             context directly.
   Mobile  : brand bar + hamburger. Tap → full-screen black
             overlay with Bayer-dither pixel-dissolve animation.
═══════════════════════════════════════════════════════════ */

.site-nav {
  background: #000;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  position: relative;
  z-index: 100;
}

/* ── Mobile brand bar ── */
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  gap: 10px;
}

/* Brand: bordered box, star mark plus name */
.nav-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  border: 1px solid #fff;
  padding: 10px 14px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.1;
  white-space: nowrap;
}
.nav-brand:hover { background: rgba(255,255,255,0.08); text-decoration: none; }
.nav-brand-mark { font-weight: 400; opacity: 0.7; font-size: 14px; }

/* ── Hamburger ── */
.nav-burger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 40px;
  height: 36px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.7);
  padding: 8px 9px;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-burger span {
  display: block;
  height: 2px;
  background: #fff;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Full-screen mobile overlay ── */
.nav-links {
  display: none;
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 999;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.nav-links.open { display: flex; }

.nav-dither {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}
.nav-close-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  gap: 10px;
}
.nav-close-bar-brand {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}
.nav-close-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.7);
  color: #fff;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1;
  width: 38px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-close-btn:hover { background: #fff; color: #000; }

.nav-items {
  display: flex;
  flex-direction: column;
  padding: 10px 12px;
  gap: 6px;
  position: relative;
  z-index: 1;
}
.nav-items a,
.nav-items button {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.45);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 16px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  min-height: 48px;
  transition: border-color 0.1s, background 0.1s, color 0.1s;
}
.nav-items a::before,
.nav-items button::before {
  content: '▸';
  font-size: 0.7rem;
  opacity: 0;
  flex-shrink: 0;
  transition: opacity 0.05s;
}
.nav-items a:hover::before,
.nav-items button:hover::before { opacity: 0.7; }
.nav-items a:hover,
.nav-items button:hover { border-color: rgba(255,255,255,0.85); color: #fff; }
.nav-items a.current { background: #fff; color: #000; border-color: #fff; }
.nav-items a.current::before { opacity: 1; color: #000; }
.nav-items a:active,
.nav-items button:active { background: #fff; color: #000; border-color: #fff; }

/* ── DESKTOP: sticky flat row of bordered-box chips ── */
@media (min-width: 680px) {
  .site-nav {
    position: sticky;
    top: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.25);
  }
  /* nav-bar shrinks to just hold the brand */
  .nav-bar { padding: 0; border: none; }
  .nav-burger { display: none; }

  /* Escape the wrapper boxes so <a> tags join site-nav's flex directly */
  .nav-links { display: contents !important; }
  .nav-dither, .nav-close-bar { display: none; }
  .nav-items { display: contents; padding: 0; gap: 0; }

  .nav-items a,
  .nav-items button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: auto;
    height: 34px;              /* uniform height for text + icon buttons */
    line-height: 1;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.09em;
    padding: 0 14px;           /* height is fixed, so vertical padding is 0 */
    border: 1px solid rgba(255,255,255,0.4);
    color: rgba(255,255,255,0.75);
    min-height: unset;
  }
  .nav-items a::before,
  .nav-items button::before { display: none; }
  .nav-items a:hover,
  .nav-items button:hover {
    border-color: rgba(255,255,255,0.9);
    color: #fff;
    background: transparent;
  }
  .nav-items a.current {
    background: #fff;
    color: #000;
    border-color: #fff;
  }
  .nav-items a:active,
  .nav-items button:active { background: #fff; color: #000; }

  /* Search + toggle float right */
  .nav-items .nav-search-btn { margin-left: auto; }
}

/* ── WRAPPER ── */
.site-wrapper {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  position: relative;
  z-index: 1;
}

/* ── DOC HEADER (black bar, used on every page type) ── */
.doc-header {
  background: #000;
  color: #fff;
  padding: 1.5rem 1.75rem;
}
.doc-eyebrow {
  font-size: 0.57rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 0.7rem;
}
.doc-eyebrow-tag { opacity: 0.85; letter-spacing: 0.1em; }
.doc-title {
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: bold;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
}
.doc-subtitle {
  font-size: 0.73rem;
  opacity: 0.85;
  margin-top: 0.55rem;
  line-height: 1.6;
}
.members-flag {
  border: 1px solid rgba(255,255,255,0.65);
  padding: 0.1rem 0.4rem;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── BODY ── */
.doc-body { padding: 2rem 1.75rem 2.5rem; }

.empty-state {
  font-size: 0.85rem;
  opacity: 0.8;
  padding: 2rem 0;
  text-align: center;
}

/* ── SECTION HEADINGS (used for "More Like This") ── */
.section-label {
  font-size: 0.62rem;
  font-weight: bold;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  opacity: 0.8;
}
.section-label::before { content: '\25B8  '; }

/* ═══════════════════════════════════════════════════════════
   POST LIST / POST CARDS
   Each card is a fully bordered box divided into sections:
   .top (glyph + title + date + tag chips), optional .cardThumb
   (feature image), .mid (excerpt).
   Full-card is clickable via an absolutely-positioned .cardLink.
═══════════════════════════════════════════════════════════ */

.post-list {
  display: grid;
  grid-template-columns: 1fr;    /* full-width horizontal cards, like the featured slide */
  gap: 1px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
}
body[data-theme="void"] .post-list {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
}

.card {
  border: 1px solid rgba(255,255,255,0.2);
  background: #000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 160px;
}

.postCard {
  position: relative;
  flex-direction: row;          /* thumbnail left, content right */
  align-items: stretch;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
}
/* right-hand content column */
.cardMain {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* full-card link overlay */
.cardLink {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: block;
  text-decoration: none;
}
.cardLink:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -2px;
}
.postCard > :not(.cardLink) { position: relative; z-index: 2; }

/* Hover: invert (default) */
.postCard:hover { background: #fff; color: #000; border-color: rgba(0,0,0,0.2); }
.postCard:hover .top { background: #fff; border-bottom-color: rgba(0,0,0,0.12); }
.postCard:hover .mid { background: #fff; }
.postCard:hover .chip { background: #fff; color: #000; border-color: rgba(0,0,0,0.4); }
.postCard:hover .date,
.postCard:hover .excerpt { color: rgba(0,0,0,0.65); }

/* Hover: borders only variant */
body[data-hover="borders"] .postCard:hover { background: #000; color: #fff; border-color: #fff; }
body[data-hover="borders"] .postCard:hover .top { background: #000; border-bottom-color: rgba(255,255,255,0.2); }
body[data-hover="borders"] .postCard:hover .mid { background: #000; }
body[data-hover="borders"] .postCard:hover .chip { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
body[data-hover="borders"] .postCard:hover .date,
body[data-hover="borders"] .postCard:hover .excerpt { color: rgba(255,255,255,0.75); }

/* .top: weekday glyph + title + date */
.top {
  padding: 12px 12px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  background: #000;
}
.dow {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
}
.name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}
.name .t {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dowGlyph { font-size: 18px; line-height: 1; font-weight: 400; flex-shrink: 0; }
.date {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  white-space: nowrap;
  flex-shrink: 0;
}

/* chip row inside .top */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* feature image, left column */
.cardThumb {
  flex: 0 0 200px;
  align-self: stretch;
  overflow: hidden;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.cardThumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.05);
}
.postCard:hover .cardThumb { border-color: rgba(0,0,0,0.12); }
body[data-hover="borders"] .postCard:hover .cardThumb { border-color: rgba(255,255,255,0.2); }

/* .mid: excerpt */
.mid {
  padding: 12px 12px 14px;
  flex: 1;
  background: #000;
}
.excerpt {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255,255,255,0.65);
}

@media (max-width: 520px) {
  .postCard { flex-direction: column; }
  .cardThumb {
    flex-basis: auto;
    width: 100%;
    height: 170px;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }
}

/* ═══════════════════════════════════════════════════════════
   SINGLE POST
═══════════════════════════════════════════════════════════ */

.post-feature-image {
  width: 100%;
  height: 220px;
  background-size: cover;
  background-position: center;
  background-color: #f2f2f2;
  filter: grayscale(100%) contrast(1.05);
}

.post-content { font-size: 0.88rem; line-height: 1.85; }

.post-content > *:first-child { margin-top: 0; }

.post-content p { margin-bottom: 1.1rem; }

.post-content h1, .post-content h2, .post-content h3, .post-content h4 {
  font-weight: bold;
  letter-spacing: 0.02em;
  line-height: 1.35;
}
.post-content h1 {
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 1.8rem 0 0.85rem;
}
.post-content h2 {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid #000;
  border-style: var(--lineStyle, solid);
  border-radius: var(--radius, 0);
  padding: 0.55rem 1rem;
  margin: 2rem 0 1.1rem;
}
.post-content h3 {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid rgba(0,0,0,0.55);
  border-style: var(--lineStyle, solid);
  border-radius: var(--radius, 0);
  padding: 0.35rem 0.75rem;
  margin: 1.5rem 0 0.85rem;
  opacity: 0.75;
}
.post-content h4 { font-size: 0.88rem; opacity: 0.95; margin: 1.8rem 0 0.85rem; }

.post-content h2 + h2, .post-content h2 + h3, .post-content h3 + h2, .post-content h3 + h3 {
  margin-top: 0.6rem;
}

.post-content a {
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(0,0,0,0.45);
}
.post-content a:hover { text-decoration-color: #000; }
.post-content a:visited { color: inherit !important; }
.doc-cta-btn:visited { color: inherit !important; }

.post-content strong { font-weight: bold; }
.post-content em { font-style: italic; opacity: 0.85; }

.post-content ul, .post-content ol {
  padding-left: 1.3rem;
  margin-bottom: 1.1rem;
}
.post-content li { margin-bottom: 0.4rem; }
.post-content ul ul, .post-content ol ol, .post-content ul ol, .post-content ol ul {
  margin-top: 0.4rem;
  margin-bottom: 0;
}

.post-content blockquote {
  border-left: 3px solid #000;
  padding: 0.2rem 0 0.2rem 1.1rem;
  margin: 1.4rem 0;
  font-style: italic;
  opacity: 0.85;
}

.post-content hr {
  border: none;
  border-top: 1px solid rgba(0,0,0,0.15);
  margin: 2rem 0;
}

.post-content code {
  font-family: var(--font);
  background: rgba(0,0,0,0.05);
  padding: 0.1rem 0.35rem;
  font-size: 0.85em;
}

.post-content pre {
  background: #000;
  color: #fff;
  padding: 1rem 1.1rem;
  overflow-x: auto;
  margin: 1.4rem 0;
  font-size: 0.78rem;
  line-height: 1.6;
}
.post-content pre code {
  background: none;
  padding: 0;
  color: inherit;
}

.post-content img {
  max-width: 100%;
  height: auto;
  display: block;
  filter: grayscale(100%) contrast(1.05);
}

.post-content figure { margin: 1.6rem 0; }
.post-content figcaption {
  font-size: 0.7rem;
  opacity: 0.75;
  text-align: center;
  margin-top: 0.5rem;
  font-style: italic;
}

.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4rem 0;
  font-size: 0.8rem;
  border: 1px solid #000;
  border-style: var(--lineStyle, solid);
  border-radius: var(--radius, 0);
  overflow: hidden;
}
.post-content th {
  background: #000;
  color: #fff;
  padding: 0.5rem 0.7rem;
  text-align: left;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: bold;
}
.post-content td {
  padding: 0.5rem 0.7rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  border-bottom-style: var(--lineStyle, solid);
}
.post-content tbody tr:nth-child(even) td {
  background: rgba(0,0,0,0.025);
}
.post-content tbody tr:last-child td {
  border-bottom: none;
}

/* ── KOENIG EDITOR CARDS (Ghost's rich content blocks) ── */
.post-content .kg-card { margin: 1.6rem 0; }
.post-content .kg-width-wide { width: calc(100% + 3rem); margin-left: -1.5rem; max-width: none; }
.post-content .kg-width-full { width: calc(100% + 3.5rem); margin-left: -1.75rem; max-width: none; }
.post-content .kg-bookmark-card a {
  display: block;
  border: 1px solid rgba(0,0,0,0.15);
  padding: 1rem 1.1rem;
  text-decoration: none;
  color: #000;
}
.post-content .kg-bookmark-title { font-weight: bold; font-size: 0.85rem; margin-bottom: 0.3rem; }
.post-content .kg-bookmark-description { font-size: 0.78rem; opacity: 0.8; }
.post-content .kg-callout-card {
  border: 1px solid #000;
  padding: 0.85rem 1rem;
  display: flex;
  gap: 0.6rem;
  font-size: 0.85rem;
  background: rgba(0,0,0,0.02);
}
.post-content .kg-blockquote-alt {
  border: none;
  font-size: 1.1rem;
  text-align: center;
  font-style: normal;
  font-weight: bold;
  padding: 1rem 0;
}

/* ── PAYWALL ──
   Ghost automatically injects its own default "Subscribers Only"
   CTA inside {{content}} for restricted posts (the bright pink/
   accent-colored block). Since this theme renders its own custom
   paywall-card below, Ghost's built-in one is hidden here to
   avoid showing two stacked paywalls. */
.post-content .gh-post-upgrade-cta,
.post-content .gh-post-upgrade-cta-content,
.post-content [class*="post-upgrade-cta"] {
  display: none !important;
}

/* ═══════════════════════════════════════════════════════════
   CHIPS: shared base for tags, badges, and glyph chips.
   Matches old Astro Specter .chip style exactly.
═══════════════════════════════════════════════════════════ */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  border-style: var(--lineStyle, solid);
  border-radius: var(--radius, 0);
  padding: 5px 9px;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
  line-height: 1;
  user-select: none;
}
.chip-glyph { opacity: 0.85; }
.chip-dim { opacity: 0.55; }

.paywall-card {
  background: #000;
  color: #fff;
  padding: 1.75rem 1.5rem;
  margin-top: 1.75rem;
  text-align: center;
}
.paywall-eyebrow {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 0.7rem;
}
.paywall-card h3 {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 0.6rem;
  text-transform: none;
  letter-spacing: 0.02em;
}
.paywall-card p {
  font-size: 0.78rem;
  opacity: 0.85;
  margin-bottom: 1.1rem;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}
.paywall-btn {
  display: inline-block;
  background: #fff;
  color: #000;
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: bold;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.6rem 1.4rem;
  border: 2px solid #fff;
  border-radius: var(--radius, 0);
  transition: background 0.1s, color 0.1s;
}
.paywall-btn:hover { background: transparent; color: #fff; }

/* ── TAGS ── */
.post-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(0,0,0,0.1);
}
.post-tag {
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(0,0,0,0.75);
  border-color: rgba(0,0,0,0.5);
}
.post-tag:hover { color: #000; border-color: #000; }

/* ── RELATED POSTS ── */
.related-posts { border-top: 2px solid #000; }

/* ═══════════════════════════════════════════════════════════
   PAGINATION
   Ghost's {{pagination}} helper outputs:
   <nav class="pagination"><a class="newer-posts">…</a>
   <span class="page-number">…</span><a class="older-posts">…</a></nav>
═══════════════════════════════════════════════════════════ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0,0,0,0.1);
  font-size: 0.7rem;
}
.pagination a {
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.65rem;
  color: #000;
  border: 1px solid #000;
  border-radius: var(--radius, 0);
  padding: 0.45rem 0.9rem;
}
.pagination a:hover { background: #000; color: #fff; }
.pagination .page-number { opacity: 0.7; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.62rem; }
.pagination .older-posts { margin-left: auto; }

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.site-footer {
  padding: 1rem 1.75rem;
  border-top: 1px solid rgba(0,0,0,0.1);
  font-size: 0.57rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.65;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════
   NAV: SEARCH BUTTON
   Sizing/border/padding come from .nav-links button (see NAV
   section above) so it matches every other nav item.
═══════════════════════════════════════════════════════════ */
.nav-search-btn { font-weight: bold; }

/* ═══════════════════════════════════════════════════════════
   NIGHT (VOID): the universal dark theme.
   Nav/header/footer/paywall/code blocks are built dark-first and
   already correct. This section flips the white reading-card
   content area dark, with every border going white not black.
═══════════════════════════════════════════════════════════ */
body[data-theme="void"] .site-wrapper {
  background: #000;
  color: #fff;
  border: 1px solid #fff;
}

body[data-theme="void"] .post-card {
  background: #000;
  border-color: rgba(255,255,255,0.55);
}
body[data-theme="void"] .post-card-image {
  border-color: rgba(255,255,255,0.4);
}

body[data-theme="void"] .chip,
body[data-theme="void"] .post-tag,
body[data-theme="void"] .member-badge {
  border-color: rgba(255,255,255,0.6);
}
body[data-theme="void"] .post-tag { color: rgba(255,255,255,0.8); }
body[data-theme="void"] .post-tag:hover { color: #fff; border-color: #fff; }

body[data-theme="void"] .post-content h2,
body[data-theme="void"] .post-content h3 {
  border-color: rgba(255,255,255,0.7);
}

body[data-theme="void"] .post-content a {
  text-decoration-color: rgba(255,255,255,0.5);
}
body[data-theme="void"] .post-content a:hover { text-decoration-color: #fff; }

body[data-theme="void"] .post-content blockquote { border-left-color: #fff; }
body[data-theme="void"] .post-content hr { border-top-color: rgba(255,255,255,0.3); }
body[data-theme="void"] .post-content code { background: rgba(255,255,255,0.1); }

body[data-theme="void"] .post-content table { border-color: #fff; }
body[data-theme="void"] .post-content td { border-bottom-color: rgba(255,255,255,0.12); }
body[data-theme="void"] .post-content tbody tr:nth-child(even) td { background: rgba(255,255,255,0.04); }

body[data-theme="void"] .post-footer-actions,
body[data-theme="void"] .post-tags,
body[data-theme="void"] .related-posts {
  border-color: rgba(255,255,255,0.15);
}

body[data-theme="void"] .post-footer-btn {
  background: #fff;
  color: #000;
  border-color: #fff;
}
body[data-theme="void"] .post-footer-btn.ghost {
  background: transparent;
  color: #fff;
}
body[data-theme="void"] .post-footer-btn.ghost:hover { background: rgba(255,255,255,0.08); }

body[data-theme="void"] .pagination { border-top-color: rgba(255,255,255,0.15); }
body[data-theme="void"] .pagination a { color: #fff; border-color: #fff; }
body[data-theme="void"] .pagination a:hover { background: #fff; color: #000; }
body[data-theme="void"] .pagination .page-number { opacity: 0.7; }

body[data-theme="void"] .tool-frame-wrap { background: #000; }
body[data-theme="void"] .tool-frame { border-color: rgba(255,255,255,0.4); }

/* ═══════════════════════════════════════════════════════════
   HOMEPAGE MAST: live date/time plus cycling curated transits
═══════════════════════════════════════════════════════════ */
.mast {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.mast-chip {
  border-color: rgba(255,255,255,0.6);
}
.mast-chip-dim { opacity: 0.7; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.58rem; }
.mast-chip-value { flex: 1; min-width: 9rem; opacity: 1; }

.planet-glyph { opacity: 0.85; margin-right: 0.15rem; }

/* ═══════════════════════════════════════════════════════════
   POST FOOTER ACTIONS: Back to Blog / Support
═══════════════════════════════════════════════════════════ */
.post-footer-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(0,0,0,0.1);
}
.post-footer-btn {
  display: inline-block;
  background: #000;
  color: #fff;
  font-family: var(--font);
  font-size: 0.65rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 1px solid #000;
  border-radius: var(--radius, 0);
}
.post-footer-btn:hover { opacity: 0.75; }
.post-footer-btn.ghost {
  background: transparent;
  color: #000;
}
.post-footer-btn.ghost:hover { background: rgba(0,0,0,0.05); }

/* ═══════════════════════════════════════════════════════════
   EMBEDDED TOOL (Astro Forecast Cards iframe page)
═══════════════════════════════════════════════════════════ */
.tool-frame-wrap {
  padding: 1.25rem;
}
.tool-frame {
  width: 100%;
  height: 80vh;
  min-height: 560px;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: var(--radius, 0);
  display: block;
}

/* ═══════════════════════════════════════════════════════════
   PREDICTIONS PAGE
═══════════════════════════════════════════════════════════ */

/* Hero sits transparent so the starfield shows straight through
   it instead of being hidden behind a solid black bar. */
.predictions-hero {
  background: transparent;
  padding: 4.5rem 1.75rem 3.5rem;
  text-align: center;
}
.predictions-hero .doc-eyebrow { justify-content: center; }
.predictions-title {
  font-size: clamp(2.2rem, 7vw, 3.4rem);
  letter-spacing: 0.12em;
}
.predictions-hero .doc-subtitle {
  max-width: 460px;
  margin: 0.85rem auto 0;
  text-align: center;
}

.prediction-section {
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.prediction-section:last-of-type { border-bottom: none; }

.field-hint-static {
  font-size: 0.72rem;
  opacity: 0.8;
  margin: -0.6rem 0 1rem;
  line-height: 1.6;
}

.prediction-list { display: flex; flex-direction: column; }

.prediction-row {
  display: grid;
  grid-template-columns: 5.5rem 1fr auto;
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.82rem;
}
.prediction-row:last-child { border-bottom: none; }

.prediction-date {
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.7;
}
.prediction-label { font-weight: bold; }
.prediction-detail {
  font-size: 0.72rem;
  opacity: 0.8;
  white-space: nowrap;
}

.prediction-empty {
  font-size: 0.8rem;
  opacity: 0.7;
  padding: 0.5rem 0;
}

@media (max-width: 480px) {
  .prediction-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

.predictions-cta {
  text-align: center;
  padding: 2.5rem 1rem 1rem;
}
.predictions-cta-title {
  font-size: 1.05rem;
  font-weight: bold;
  margin-bottom: 0.7rem;
}
.predictions-cta-text {
  font-size: 0.8rem;
  opacity: 0.85;
  max-width: 420px;
  margin: 0 auto 1.4rem;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════
   ABOUT PAGE
═══════════════════════════════════════════════════════════ */
.about-photo-strip {
  width: 100%;
  max-height: 380px;
  overflow: hidden;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}
.about-photo-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%) contrast(1.05);
}
body[data-theme="void"] .about-photo-strip { border-bottom-color: rgba(255,255,255,0.12); }

.about-content { max-width: 620px; }

/* ═══════════════════════════════════════════════════════════
   RESOURCES PAGE
═══════════════════════════════════════════════════════════ */
.resources-intro {
  font-size: 0.88rem;
  line-height: 1.8;
  opacity: 0.82;
  margin-bottom: 2rem;
  max-width: 560px;
}

.resources-section { margin-bottom: 2.5rem; }

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1px;
  background: rgba(0,0,0,0.12);
  border: 1px solid #000;
}
body[data-theme="void"] .tool-grid { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.3); }

.tool-card {
  background: #fff;
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.1rem;
  text-decoration: none;
  color: #000;
  min-height: 200px;
  transition: background 0.1s, color 0.1s;
}
body[data-theme="void"] .tool-card { background: #000; color: #fff; }

.tool-card:hover { background: #000; color: #fff; text-decoration: none; }
body[data-theme="void"] .tool-card:hover { background: #fff; color: #000; }

.tool-card-disabled { cursor: default; opacity: 0.55; }
.tool-card-disabled:hover { background: #fff; color: #000; }
body[data-theme="void"] .tool-card-disabled:hover { background: #000; color: #fff; }

.tool-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.tool-glyph {
  font-size: 1.5rem;
  line-height: 1;
  opacity: 0.7;
}

.tool-badge {
  font-size: 0.55rem;
  font-weight: bold;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.22rem 0.5rem;
  border: 1px solid currentColor;
}
.tool-badge-live { opacity: 1; }
.tool-badge-beta { opacity: 0.75; }
.tool-badge-soon { opacity: 0.5; }

.tool-name {
  font-size: 0.82rem;
  font-weight: bold;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
  line-height: 1.3;
}

.tool-desc {
  font-size: 0.75rem;
  line-height: 1.7;
  opacity: 0.72;
  flex: 1;
  margin-bottom: 1rem;
}

.tool-cta {
  font-size: 0.6rem;
  font-weight: bold;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: auto;
}
.tool-cta-dim { opacity: 0.4; }

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  .marquee-track.go { animation: none; }
}

/* ═══════════════════════════════════════════════════════════
   V2 ADDITIONS: dual navs, day-mode card fixes, featured
   slideshow, topics row, subscribe blocks, comments, embedded
   booking-page content styles, thumbnail inversion.
═══════════════════════════════════════════════════════════ */

/* ── NAV SWITCHING: blog nav by default, booking nav on
      booking pages (matched by Ghost's page-{slug} body class) ── */
.nav-booking { display: none !important; }
body:is(.page-services, .page-how-to-book, .page-terms, .page-faq, .page-store, .page-book, .page-booked, .page-survey, .page-survey-thanks, .page-reviews) .nav-blog { display: none !important; }
body:is(.page-services, .page-how-to-book, .page-terms, .page-faq, .page-store, .page-book, .page-booked, .page-survey, .page-survey-thanks, .page-reviews) .nav-booking { display: block !important; }
@media (min-width: 680px) {
  body:is(.page-services, .page-how-to-book, .page-terms, .page-faq, .page-store, .page-book, .page-booked, .page-survey, .page-survey-thanks, .page-reviews) .nav-booking { display: flex !important; }
}

/* URL chip brand, reads like a terminal address */
.nav-brand-url { letter-spacing: 0.12em; }
.aw-day-glyph { display: inline-block; opacity: 0.7; font-weight: 400; margin-right: 0.4em; }
.aw-day-glyph:empty::before { content: '\2734'; }

/* Lit CTA chip (Book An Analysis / Book Now) */
.nav-items a.nav-item-cta {
  background: #fff;
  color: #000 !important;
  border-color: #fff !important;
  font-weight: 700;
}
.nav-items a.nav-item-cta:hover { background: rgba(255,255,255,0.85); }

/* Blog chip at the tail of the booking nav */
.nav-items a.nav-item-blogchip { border-style: dashed; }

/* Icon buttons (☉/☽ and ▦ background toggle) stay compact */
.nav-icon-btn { font-size: 14px !important; padding: 10px 12px !important; }

@media (min-width: 680px) {
  /* Search/toggles float right; CTA sits at the very end */
  .nav-blog .nav-items .nav-search-btn { margin-left: auto; }
  .nav-booking .nav-items .nav-right { margin-left: auto; }
  .nav-blog .nav-items a.nav-item-cta,
  .nav-booking .nav-items a.nav-item-blogchip { order: 99; }
}


/* ── SMART THUMBNAIL INVERSION ── */
.thumb-inverted { filter: invert(1) grayscale(100%) contrast(1.05) !important; }

/* ── FEATURED SLIDESHOW ── */
.featured-slider {
  position: relative;
  border: 1px solid rgba(255,255,255,0.35);
  padding: 1.15rem 1.15rem 2.4rem;
  min-height: 260px;          /* consistent floor so slides don't jump height */
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.fs-label {
  position: absolute;
  top: -1px; left: -1px;
  background: #fff;
  color: #000;
  font-size: 0.55rem;
  font-weight: bold;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  z-index: 3;
}
.fs-slide {
  display: none;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  align-items: stretch;
}
.fs-slide.active { display: flex; min-height: 210px; }
.fs-thumb {
  flex: 0 0 220px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.25);
}
.fs-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.05);
  display: block;
}
.fs-body { min-width: 0; padding-top: 1.1rem; display: flex; flex-direction: column; }
.fs-meta {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 0.5rem;
}
.fs-title {
  font-size: clamp(1.2rem, 3.6vw, 1.7rem);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.22;
  margin-bottom: 0.55rem;
}
.fs-excerpt {
  font-size: 0.82rem;
  line-height: 1.65;
  opacity: 0.8;
  margin-bottom: 0.7rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fs-cta {
  font-size: 0.64rem;
  font-weight: bold;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: auto;
}
.fs-slide:hover .fs-title { text-decoration: underline; text-underline-offset: 3px; }
.fs-dots {
  position: absolute;
  bottom: 0.7rem; left: 1rem;
  display: flex;
  gap: 6px;
}
.fs-dot {
  width: 10px; height: 10px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.6);
  padding: 0;
  cursor: pointer;
}
.fs-dot.active { background: #fff; }
@media (max-width: 520px) {
  .fs-slide.active { flex-direction: column; min-height: 0; }
  .fs-thumb { flex-basis: auto; height: 190px; }
}

/* ── TOPICS ROW ── */
.topics-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}
.topics-label {
  font-size: 0.58rem;
  font-weight: bold;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-right: 0.3rem;
}
.topic-chip {
  text-decoration: none;
  color: rgba(0,0,0,0.75);
  border-color: rgba(0,0,0,0.45);
}
.topic-chip:hover { background: #000; color: #fff; border-color: #000; }
body[data-theme="void"] .topic-chip { color: rgba(255,255,255,0.8); border-color: rgba(255,255,255,0.5); }
body[data-theme="void"] .topic-chip:hover { background: #fff; color: #000; border-color: #fff; }

/* ── SUBSCRIBE BLOCKS ── */
.aw-subscribe-block {
  border: 1px solid #000;
  padding: 1.4rem 1.5rem 1.5rem;
  background: rgba(0,0,0,0.02);
}
.home-subscribe { margin-top: 2rem; }
.aw-subscribe-eyebrow {
  font-size: 0.6rem;
  font-weight: bold;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.aw-subscribe-copy {
  font-size: 0.78rem;
  line-height: 1.7;
  opacity: 0.8;
  margin-bottom: 0.9rem;
  max-width: 420px;
}
form.aw-subscribe {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
form.aw-subscribe input[type="email"] {
  flex: 1;
  min-width: 200px;
  background: transparent;
  border: 1px solid #000;
  font-family: var(--font);
  font-size: 16px; /* prevents iOS zoom */
  padding: 0.6rem 0.8rem;
  color: inherit;
}
form.aw-subscribe input[type="email"]:focus { outline: 2px solid #000; outline-offset: -1px; }
form.aw-subscribe button {
  background: #000;
  color: #fff;
  border: 1px solid #000;
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: bold;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.6rem 1.4rem;
  cursor: pointer;
}
form.aw-subscribe button:hover { opacity: 0.8; }
form.aw-subscribe button:disabled { opacity: 0.5; cursor: default; }
.aw-subscribe-msg { font-size: 0.72rem; margin-top: 0.6rem; min-height: 1em; }

body[data-theme="void"] .aw-subscribe-block { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.03); }
body[data-theme="void"] form.aw-subscribe input[type="email"] { border-color: rgba(255,255,255,0.6); color: #fff; }
body[data-theme="void"] form.aw-subscribe input[type="email"]:focus { outline-color: #fff; }
body[data-theme="void"] form.aw-subscribe button { background: #fff; color: #000; border-color: #fff; }

.site-footer-block { border-top: 1px solid rgba(0,0,0,0.1); }
.site-footer-block .aw-subscribe-block { border: none; border-bottom: 1px solid rgba(0,0,0,0.1); background: transparent; padding: 1.5rem 1.75rem; }
body[data-theme="void"] .site-footer-block { border-top-color: rgba(255,255,255,0.15); }
body[data-theme="void"] .site-footer-block .aw-subscribe-block { border-bottom-color: rgba(255,255,255,0.15); }
.site-footer-links a { text-decoration: none; }
.site-footer-links a:hover { text-decoration: underline; }

/* ── COMMENTS ── */
.post-comments-wrap {
  border-top: 2px solid #000;
  padding-top: 1.75rem;
}
body[data-theme="void"] .post-comments-wrap { border-top-color: #fff; }

/* ═══════════════════════════════════════════════════════════
   BOOKING PAGE CONTENT: styles for the Services / FAQ /
   Terms / How-to-Book / Store content now embedded straight
   into the theme templates.
═══════════════════════════════════════════════════════════ */
.doc-updated { font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.5; margin-bottom: 1.5rem; }
.doc-note { border: 1px solid rgba(0,0,0,0.2); padding: 0.75rem 1rem; font-size: 0.78rem; line-height: 1.7; margin: 1rem 0; background: rgba(0,0,0,0.015); }

.service-card { border: 1px solid rgba(0,0,0,0.2); margin-bottom: 1rem; overflow: hidden; }
.sc-header { background: #000; color: #fff; padding: 0.75rem 1rem; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.sc-name { font-size: 0.72rem; font-weight: bold; letter-spacing: 0.1em; text-transform: uppercase; }
.sc-meta { font-size: 0.6rem; opacity: 0.65; letter-spacing: 0.06em; margin-top: 0.2rem; }
.sc-price { font-size: 0.88rem; font-weight: bold; white-space: nowrap; }
.sc-price-unit { font-size: 0.6rem; font-weight: normal; opacity: 0.7; text-transform: lowercase; }
.sc-body { padding: 0.85rem 1rem; }
.sc-desc { font-size: 0.82rem; line-height: 1.75; margin-bottom: 0.6rem; }
.sc-includes { font-size: 0.7rem; opacity: 0.6; border-top: 1px solid rgba(0,0,0,0.08); padding-top: 0.55rem; margin-top: 0.55rem; font-style: italic; }

/* Most Popular badge */
.sc-badge-popular {
  display: inline-block;
  font-size: 0.56rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.18rem 0.45rem;
  border: 1px solid currentColor;
  margin-left: 0.5rem;
  vertical-align: middle;
  opacity: 0.85;
}
.service-card-popular { border-width: 2px; border-color: #000; }
body[data-theme="void"] .service-card-popular { border-color: #fff; }

/* Example Question toggle */
.sc-example-btn {
  display: inline-block;
  margin-top: 0.15rem;
  background: transparent;
  border: 1px solid currentColor;
  opacity: 0.6;
  font-family: var(--font);
  font-size: 0.6rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
  color: inherit;
}
.sc-example-btn:hover { opacity: 1; }
.sc-example-panel {
  display: none;
  margin-top: 0.65rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(0,0,0,0.1);
  font-size: 0.78rem;
  line-height: 1.7;
}
.sc-example-panel.open { display: block; }
.sc-example-panel ul { margin: 0; padding-left: 1.1rem; }
.sc-example-panel li { margin-bottom: 0.35rem; }
body[data-theme="void"] .sc-example-panel { border-top-color: rgba(255,255,255,0.12); }

/* The Club: recurring offer, styled to stand apart from one-off sessions */
.service-card-club { border-style: dashed; border-width: 2px; }

/* Monthly Special: solid heavy border, distinct from Most Popular and Club */
.service-card-special { border-width: 2px; border-style: double; }

.fw-item { padding: 0.4rem 0; border-bottom: 1px solid rgba(0,0,0,0.06); display: flex; gap: 0.75rem; align-items: baseline; font-size: 0.82rem; flex-wrap: wrap; }
.fw-item:last-child { border-bottom: none; }
.fw-name { font-weight: bold; min-width: 10rem; }
.fw-desc { opacity: 0.7; }

.faq-item { padding: 1rem 0; border-bottom: 1px solid rgba(0,0,0,0.08); }
.faq-item:first-child { padding-top: 0; }
.faq-item:last-child { border-bottom: none; }
.faq-q { font-size: 0.83rem; font-weight: bold; margin-bottom: 0.5rem; line-height: 1.5; }
.faq-a { font-size: 0.82rem; line-height: 1.8; opacity: 0.85; }
.faq-a p { margin-bottom: 0.6rem; }
.faq-a p:last-child { margin-bottom: 0; }

.step-item { display: grid; grid-template-columns: 2.5rem 1fr; gap: 0 1rem; padding: 1.5rem 0; border-bottom: 1px solid rgba(0,0,0,0.08); }
.step-item:first-child { padding-top: 0; }
.step-item:last-child { border-bottom: none; }
.step-num { font-size: 1.75rem; font-weight: bold; opacity: 0.15; line-height: 1.15; }
.step-body h3 { margin-top: 0 !important; margin-bottom: 0.45rem; }
.step-cta { display: inline-block; background: #000; color: #fff !important; font-family: var(--font); font-size: 0.65rem; font-weight: bold; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none !important; padding: 0.45rem 0.9rem; margin-top: 0.65rem; }
.step-cta:hover { opacity: 0.75; }

.tc-section { padding: 1.5rem 0; border-bottom: 1px solid rgba(0,0,0,0.08); }
.tc-section:last-child { border-bottom: none; padding-bottom: 0; }
.tc-num { font-size: 0.62rem; opacity: 0.45; letter-spacing: 0.08em; margin-bottom: 0.35rem; text-transform: uppercase; }
.tc-title { font-size: 0.78rem; font-weight: bold; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.85rem; }

.alt-pay { background: rgba(0,0,0,0.03); border: 1px solid rgba(0,0,0,0.12); padding: 1rem 1.25rem; margin: 1.25rem 0; }
.alt-pay h3 { margin-top: 0 !important; }

.doc-cta-row { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1rem; }
.doc-cta-btn { display: inline-block; background: #000; color: #fff !important; font-family: var(--font); font-size: 0.65rem; font-weight: bold; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none !important; padding: 0.45rem 0.9rem; }
.doc-cta-btn:hover { opacity: 0.75; }

/* Cross-link bar (Terms ⇄ FAQ) */
.crosslink-bar { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.crosslink-bar a { text-decoration: none; }

/* Night-mode flips for embedded booking content */
body[data-theme="void"] .doc-note { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.03); }
body[data-theme="void"] .service-card { border-color: rgba(255,255,255,0.35); }
body[data-theme="void"] .sc-header { background: #fff; color: #000; }
body[data-theme="void"] .sc-includes { border-top-color: rgba(255,255,255,0.12); }
body[data-theme="void"] .fw-item { border-bottom-color: rgba(255,255,255,0.1); }
body[data-theme="void"] .faq-item { border-bottom-color: rgba(255,255,255,0.12); }
body[data-theme="void"] .step-item { border-bottom-color: rgba(255,255,255,0.12); }
body[data-theme="void"] .step-cta,
body[data-theme="void"] .doc-cta-btn { background: #fff; color: #000 !important; }
body[data-theme="void"] .tc-section { border-bottom-color: rgba(255,255,255,0.12); }
body[data-theme="void"] .alt-pay { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.25); }

/* ── STORE ── */
.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1px;
  background: rgba(0,0,0,0.12);
  border: 1px solid #000;
}
body[data-theme="void"] .store-grid { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.3); }
.store-card {
  background: #fff;
  color: #000;
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.1rem;
  min-height: 220px;
}
body[data-theme="void"] .store-card { background: #000; color: #fff; }
.store-card-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 0.75rem; }
.store-glyph { font-size: 1.5rem; line-height: 1; opacity: 0.7; }
.store-price { font-size: 0.95rem; font-weight: bold; }
.store-name { font-size: 0.82rem; font-weight: bold; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 0.55rem; line-height: 1.3; }
.store-desc { font-size: 0.75rem; line-height: 1.7; opacity: 0.75; flex: 1; margin-bottom: 1rem; }
.store-buy {
  display: inline-block;
  align-self: flex-start;
  background: #000;
  color: #fff !important;
  font-family: var(--font);
  font-size: 0.62rem;
  font-weight: bold;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none !important;
  padding: 0.55rem 1.2rem;
  border: 1px solid #000;
}
.store-buy:hover { background: transparent; color: #000 !important; }
body[data-theme="void"] .store-buy { background: #fff; color: #000 !important; border-color: #fff; }
body[data-theme="void"] .store-buy:hover { background: transparent; color: #fff !important; }
.store-badge { font-size: 0.55rem; font-weight: bold; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.22rem 0.5rem; border: 1px solid currentColor; }
.store-note { font-size: 0.72rem; opacity: 0.7; margin-top: 1.25rem; line-height: 1.7; }

/* ── MOBILE POLISH ── */
@media (max-width: 679px) {
  body { padding: 1rem 0.6rem; }
  .doc-header { padding: 1.25rem 1.1rem; }
  .doc-body { padding: 1.5rem 1.1rem 2rem; }
  .sc-header { flex-wrap: wrap; }
}
