/* Tripbae Blog — shared styles for every page under /blog/ */

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

:root {
  --orange: #FF6A00;
  --orange-warm: #FF8A3C;
  --orange-glow: #FFB37A;
  --orange-deep: #E85A00;
  --orange-ink: #7A2E00;
  --link: #C24E00; /* AA contrast on white, unlike the brand orange */

  --white: #FFFFFF;
  --cream: #FBF8F4;
  --cream-2: #F5F4F1;
  --tint: #FFF5EC;
  --line: rgba(255,106,0,0.14);
  --line-2: rgba(20,14,10,0.08);

  --ink: #14100C;
  --ink-2: rgba(20,14,10,0.76);
  --ink-3: rgba(20,14,10,0.62);
  --ink-4: rgba(20,14,10,0.42);

  --shadow-sm: 0 6px 24px -12px rgba(255,106,0,0.28), 0 2px 8px -4px rgba(20,14,10,0.06);
  --shadow-md: 0 24px 60px -24px rgba(255,106,0,0.30), 0 8px 24px -12px rgba(20,14,10,0.08);
  --shadow-lg: 0 40px 90px -40px rgba(255,106,0,0.55), 0 18px 40px -24px rgba(20,14,10,0.12);

  --radius: 22px;
  --radius-sm: 14px;
  --radius-lg: 32px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 112px; scrollbar-color: var(--orange) transparent; scrollbar-width: thin; }
body {
  font-family: var(--sans);
  background: #FFFFFF;
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24'%3E%3Cg transform='rotate(-110 12 12)'%3E%3Cpath fill='%23FF6A00' stroke='white' stroke-width='0.8' d='M2 21L23 12 2 3v7l15 2-15 2z'/%3E%3C/g%3E%3C/svg%3E") 10 2, auto;
}
a, button, summary, label, [role="button"] {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24'%3E%3Cg transform='rotate(-110 12 12)'%3E%3Cpath fill='%23FF6A00' stroke='white' stroke-width='0.8' d='M2 21L23 12 2 3v7l15 2-15 2z'/%3E%3C/g%3E%3C/svg%3E") 10 2, pointer;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; }
::selection { background: var(--orange); color: var(--white); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--orange-warm), var(--orange)); border-radius: 10px; border: 2px solid #fff; }
:focus-visible { outline: 3px solid rgba(255,106,0,0.55); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
  font-size: 14px; font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ── Reading progress ── */
.read-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 101;
  background: linear-gradient(90deg, var(--orange), var(--orange-warm));
  transform: scaleX(0); transform-origin: 0 50%;
  pointer-events: none;
}

/* ── Nav (scoped so breadcrumb <nav>s are not affected) ── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 10px 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: transparent; border-bottom: 1px solid transparent;
  transition: padding .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
}
.site-nav.scrolled {
  padding: 8px 40px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-color: var(--line);
}
.brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand-mark { height: 96px; width: auto; display: block; transition: transform .4s var(--ease-spring), height .35s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-3deg) scale(1.05); }
.site-nav.scrolled .brand-mark { height: 80px; }

.nav-links {
  list-style: none; display: flex; gap: 22px; align-items: center;
  background: rgba(255,255,255,0.6); border: 1px solid var(--line);
  padding: 8px 22px; border-radius: 999px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px -8px rgba(255,106,0,0.15);
}
.nav-links a {
  color: var(--ink-2); text-decoration: none; font-size: 13px; font-weight: 500;
  letter-spacing: 0.01em; position: relative; white-space: nowrap;
  transition: color .25s var(--ease);
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--orange); border-radius: 2px;
  transform: scaleX(0); transition: transform .35s var(--ease-spring);
}
.nav-links a:hover, .nav-links a[aria-current] { color: var(--orange); }
.nav-links a:hover::after, .nav-links a[aria-current]::after { transform: scaleX(1); }

.nav-cta {
  display: inline-flex; align-items: center; flex-shrink: 0;
  background: var(--ink); color: var(--white);
  padding: 11px 20px; border-radius: 999px;
  text-decoration: none; font-size: 13px; font-weight: 600;
  position: relative; overflow: hidden;
  box-shadow: 0 8px 24px -8px rgba(20,14,10,0.35);
  transition: transform .35s var(--ease-spring), box-shadow .35s var(--ease);
}
.nav-cta::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--orange), var(--orange-warm));
  transform: translateY(101%); transition: transform .4s var(--ease-out);
}
.nav-cta span { position: relative; z-index: 1; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(255,106,0,0.5); }
.nav-cta:hover::before { transform: translateY(0); }

.nav-toggle {
  display: none; background: none; border: 0; color: var(--ink);
  width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 12px;
}
.nav-panel {
  position: fixed; top: 76px; left: 12px; right: 12px; z-index: 99;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line); border-radius: 20px;
  padding: 14px 22px; display: none; flex-direction: column;
  box-shadow: var(--shadow-md);
}
.nav-panel.open { display: flex; }
.nav-panel a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: 15px; padding: 12px 6px; border-bottom: 1px solid var(--line-2); }
.nav-panel a:last-child { border-bottom: 0; color: var(--orange); font-weight: 700; }
.nav-panel a[aria-current] { color: var(--orange); font-weight: 700; }

/* ── Shared layout ── */
.blog-main { padding-top: 132px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.wrap-mid { max-width: 900px; margin: 0 auto; padding: 0 24px; }

/* ── Breadcrumbs ── */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-3); }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: '›'; color: var(--ink-4); font-size: 15px; line-height: 1; }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--ink-2); }

/* ── Article header ── */
.post-head { padding-top: 6px; animation: rise .7s var(--ease-out) both; }
.post-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,106,0,0.07); border: 1px solid rgba(255,106,0,0.2);
  color: var(--link); padding: 6px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; margin: 26px 0 18px;
}
.post-title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(34px, 5.6vw, 58px); line-height: 1.07; letter-spacing: -0.028em;
  color: var(--ink); max-width: 900px;
}
.post-title em, .hub-title em {
  font-style: italic; font-weight: 500;
  background: linear-gradient(90deg, var(--orange), var(--orange-warm));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  padding-right: 0.06em;
}
.post-dek { font-size: clamp(17px, 2vw, 20px); line-height: 1.6; color: var(--ink-2); max-width: 720px; margin-top: 18px; }

.byline { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; margin-top: 26px; font-size: 14px; color: var(--ink-3); }
.byline-author { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; text-decoration: none; }
.byline-author img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 4px 12px -4px rgba(255,106,0,0.45); }
.byline-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-4); }

/* ── Hero art ── */
.post-hero { margin-top: 36px; animation: rise .8s .08s var(--ease-out) both; }
.hero-photo { border-radius: var(--radius-lg); overflow: hidden; background: #FDF6EA; box-shadow: var(--shadow-lg); }
.hero-photo img { display: block; width: 100%; height: auto; }
.hero-card {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #FF6A00 0%, #FF8A3C 58%, #FFB37A 100%);
  min-height: 340px; display: flex; align-items: flex-end; justify-content: center;
  box-shadow: var(--shadow-lg);
}
.hero-card::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 16% 22%, rgba(255,255,255,0.26), transparent 42%),
    radial-gradient(circle at 86% 80%, rgba(255,255,255,0.16), transparent 40%);
}
.hero-card::after {
  content: ''; position: absolute; right: -80px; top: -90px; width: 320px; height: 320px; z-index: -1;
  border-radius: 50%; background: rgba(255,255,255,0.09);
}
.hero-mascot { position: relative; z-index: 1; filter: drop-shadow(0 26px 36px rgba(122,46,0,0.38)); }
.hero-mascot.is-portrait { width: 230px; margin-top: 26px; }
.hero-mascot.is-wide { width: min(520px, 86%); margin-top: 40px; }
.hero-chip {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.95); border-radius: 16px;
  padding: 10px 14px 10px 10px;
  box-shadow: 0 18px 40px -16px rgba(122,46,0,0.45);
  animation: floaty 6s ease-in-out infinite;
}
.hero-chip:nth-of-type(2) { animation-delay: -2s; }
.hero-chip:nth-of-type(3) { animation-delay: -4s; }
.hero-chip-ico {
  width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 17px;
  background: linear-gradient(135deg, rgba(255,106,0,0.14), rgba(255,138,60,0.22));
}
.hero-chip b { display: block; font-size: 13.5px; color: var(--ink); line-height: 1.25; }
.hero-chip small { display: block; font-size: 11.5px; color: var(--ink-3); line-height: 1.3; }
.chip-tl { left: 6%; top: 14%; }
.chip-bl { left: 8%; bottom: 14%; }
.chip-tr { right: 6%; top: 18%; }
.chip-br { right: 7%; bottom: 16%; }
.hero-card.art-right { justify-content: flex-end; padding-right: 3%; }
.hero-card.art-right .hero-mascot.is-wide { width: min(500px, 60%); }
.chip-l1 { left: 5%; top: 15%; }
.chip-l2 { left: 10%; top: 42%; }
.chip-l3 { left: 5%; top: 69%; }

/* ── Answer-first box (AEO) ── */
.answer {
  position: relative; margin-top: 44px;
  padding: 26px 28px 24px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #FFF4EA 0%, #FFFFFF 100%);
  border: 1px solid rgba(255,106,0,0.24);
  box-shadow: var(--shadow-sm);
}
.answer::before {
  content: ''; position: absolute; left: 0; top: 22px; bottom: 22px; width: 4px;
  border-radius: 0 4px 4px 0; background: linear-gradient(180deg, var(--orange), var(--orange-warm));
}
.answer-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--link); margin-bottom: 10px;
}
.answer p { font-size: 18px; line-height: 1.72; color: var(--ink); }

/* ── Boxes: takeaways + table of contents ── */
.box { margin-top: 24px; padding: 24px 26px; border-radius: var(--radius); border: 1px solid var(--line-2); }
.box-tint { background: var(--cream-2); }
.box-title { font-family: var(--sans); font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.ticks { list-style: none; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 34px; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.ticks strong { color: var(--ink); }
.toc ol { list-style: none; counter-reset: toc; columns: 2; column-gap: 32px; }
.toc li { counter-increment: toc; break-inside: avoid; padding: 6px 0; }
.toc a { display: flex; gap: 10px; color: var(--ink-2); text-decoration: none; font-size: 15px; line-height: 1.45; }
.toc a::before { content: counter(toc, decimal-leading-zero); font-size: 12px; font-weight: 700; color: var(--link); padding-top: 2px; min-width: 20px; }
.toc a:hover { color: var(--link); }

/* ── Prose ── */
.prose { margin-top: 8px; }
.prose > h2 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(26px, 3.4vw, 34px); line-height: 1.18; letter-spacing: -0.02em;
  color: var(--ink); margin: 68px 0 16px;
}
.prose h3 { font-size: 20px; font-weight: 700; line-height: 1.35; color: var(--ink); margin: 40px 0 10px; letter-spacing: -0.01em; }
.prose p { font-size: 18px; line-height: 1.78; color: var(--ink-2); margin: 0 0 18px; }
.prose ul:not(.ticks):not(.checklist), .prose ol:not(.steps-mini) { padding-left: 1.3em; margin: 0 0 22px; }
.prose li { font-size: 17.5px; line-height: 1.72; color: var(--ink-2); margin-bottom: 10px; padding-left: 4px; }
.prose li::marker { color: var(--orange); font-weight: 700; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a, .author-box a {
  color: var(--link); text-decoration: underline; text-decoration-thickness: 1.5px;
  text-underline-offset: 3px; transition: color .2s;
}
.prose a:hover, .author-box a:hover { color: var(--orange-deep); }
.prose .lead-answer { font-size: 19px; color: var(--ink); }
.prose .lead-answer strong { font-weight: 700; }
.prose .ticks { margin: 0 0 24px; }
.prose .ticks li { padding-left: 34px; margin: 0; font-size: 17px; }

/* Tables */
.table-wrap { margin: 24px 0 28px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); overflow-x: auto; -webkit-overflow-scrolling: touch; background: #fff; }
.table-wrap table { width: 100%; min-width: 540px; border-collapse: collapse; font-size: 15.5px; }
.table-wrap caption { caption-side: top; text-align: left; padding: 14px 16px 0; font-size: 13px; font-weight: 700; color: var(--ink-3); letter-spacing: 0.02em; }
.table-wrap th { text-align: left; background: var(--cream-2); color: var(--ink-3); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 12px 16px; }
.table-wrap td { padding: 13px 16px; border-top: 1px solid var(--line-2); color: var(--ink-2); vertical-align: top; line-height: 1.55; }
.table-wrap td:first-child { color: var(--ink); font-weight: 600; }
.table-wrap tfoot td { background: var(--cream); font-weight: 700; color: var(--ink); }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.pill-owed { background: rgba(255,106,0,0.12); color: var(--orange-ink); }
.pill-owes { background: rgba(20,14,10,0.06); color: var(--ink-2); }
.pill-shared { background: rgba(255,106,0,0.12); color: var(--orange-ink); }
.pill-selective { background: #FFF1D6; color: #7A4A00; }
.pill-solo { background: rgba(20,14,10,0.06); color: var(--ink-2); }

/* Callouts + worked examples */
.callout { display: flex; gap: 14px; margin: 26px 0; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--tint); border: 1px solid rgba(255,106,0,0.2); }
.callout-ico { font-size: 22px; line-height: 1.3; flex-shrink: 0; }
.callout p { font-size: 16.5px; line-height: 1.68; margin: 0; }
.callout p + p { margin-top: 8px; }
.example { margin: 26px 0; padding: 22px 24px; border-radius: var(--radius); border: 1px dashed rgba(255,106,0,0.45); background: #fff; }
.example-label { font-size: 12px !important; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--link) !important; margin-bottom: 8px !important; }
.example p, .example li { font-size: 16.5px; }
.example p:last-child { margin-bottom: 0; }

/* 3-bucket cards */
.buckets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 26px 0 30px; }
.bucket { padding: 22px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease-spring), box-shadow .35s var(--ease); }
.bucket:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.bucket-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; background: linear-gradient(135deg, rgba(255,106,0,0.12), rgba(255,179,122,0.3)); margin-bottom: 14px; }
.prose .bucket h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; margin: 0 0 8px; }
.bucket .pill { margin-bottom: 12px; }
.prose .bucket p { font-size: 15.5px; line-height: 1.62; margin: 0; }

/* Settle-up transfers */
.transfers { list-style: none; display: grid; gap: 10px; margin: 6px 0 24px; padding: 0 !important; }
.transfers li { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0; padding: 14px 18px; border-radius: var(--radius-sm); background: var(--cream-2); border: 1px solid var(--line-2); font-size: 16.5px; color: var(--ink); }
.transfers li::marker { content: ''; }
.transfers .arrow { color: var(--orange); font-weight: 800; }
.transfers .amt { margin-left: auto; font-weight: 800; font-variant-numeric: tabular-nums; }
.steps-mini { padding-left: 1.4em; margin: 0 0 22px; }

/* Screenshots */
.shots {
  margin: 30px 0 34px; padding: 30px 24px 22px; border-radius: var(--radius-lg);
  background: radial-gradient(circle at 30% 20%, rgba(255,179,122,0.35), transparent 55%), var(--cream);
  border: 1px solid var(--line-2);
}
.shots-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: end; }
.shots img { width: 100%; max-width: 230px; margin: 0 auto; filter: drop-shadow(0 26px 30px rgba(20,14,10,0.18)); }
.shots figcaption { margin-top: 18px; text-align: center; font-size: 14.5px; line-height: 1.6; color: var(--ink-3); }

/* Copy-paste pact */
.pact { margin: 26px 0 30px; border-radius: var(--radius); background: var(--ink); color: #fff; overflow: hidden; box-shadow: var(--shadow-md); }
.pact-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 14px 22px; border-bottom: 1px solid rgba(255,255,255,0.09); }
.pact-head > span { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.65); }
.pact pre { margin: 0; padding: 20px 22px 24px; white-space: pre-wrap; word-break: break-word; font-family: var(--sans); font-size: 15.5px; line-height: 1.75; color: rgba(255,255,255,0.92); }
.copy-btn {
  display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px;
  padding: 9px 16px; background: linear-gradient(90deg, var(--orange), var(--orange-warm));
  color: #fff; font-size: 13px; font-weight: 700;
  transition: transform .3s var(--ease-spring), box-shadow .3s;
}
.copy-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -8px rgba(255,106,0,0.6); }
.copy-btn.copied { background: #fff; color: var(--ink); }

/* Numbered steps (how-to) */
.prose h3.step-title { display: flex; align-items: flex-start; gap: 14px; font-family: var(--serif); font-size: clamp(21px, 2.6vw, 25px); font-weight: 600; letter-spacing: -0.015em; margin-top: 48px; }
.step-num {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 12px; margin-top: -2px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--orange), var(--orange-warm)); color: #fff;
  font-family: var(--sans); font-size: 16px; font-weight: 800;
  box-shadow: 0 10px 22px -10px rgba(255,106,0,0.7);
}
.pull { margin: 30px 0; padding: 6px 0 6px 22px; border-left: 4px solid var(--orange); font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.8vw, 27px); line-height: 1.4; color: var(--ink); }

/* Checklist */
.checklist-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0 10px; }
.check-group { padding: 20px 22px; border-radius: var(--radius); border: 1px solid var(--line-2); background: #fff; }
.prose .check-group h3 { font-family: var(--sans); font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--link); margin: 0 0 12px; }
.checklist { list-style: none; display: grid; gap: 4px; }
.checklist li { margin: 0; padding: 0; font-size: 16px; }
.checklist label { display: flex; align-items: flex-start; gap: 12px; padding: 7px 0; color: var(--ink-2); line-height: 1.5; }
.checklist input { flex-shrink: 0; width: 19px; height: 19px; margin-top: 2px; accent-color: var(--orange); }
.checklist input:checked + span { color: var(--ink-4); text-decoration: line-through; text-decoration-color: rgba(255,106,0,0.6); }

/* FAQ */
.faq-list { display: grid; gap: 12px; margin-top: 22px; }
.faq-item { border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: #fff; transition: border-color .25s, box-shadow .25s; }
.faq-item[open] { border-color: rgba(255,106,0,0.3); box-shadow: var(--shadow-sm); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; }
.faq-item summary::-webkit-details-marker { display: none; }
.prose .faq-item h3 { font-family: var(--sans); font-size: 17px; font-weight: 700; line-height: 1.45; margin: 0; }
.faq-icon { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,106,0,0.1); color: var(--orange); transition: transform .3s var(--ease-spring), background .25s; }
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--orange); color: #fff; }
.faq-answer { padding: 0 20px 18px; }
.prose .faq-answer p { font-size: 16.5px; margin: 0; }

/* Post footer: author, share */
.post-foot { margin-top: 56px; }
.author-box { display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border-radius: var(--radius); background: var(--cream-2); border: 1px solid var(--line-2); }
.author-box img { width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0; }
.author-box p { font-size: 15.5px; line-height: 1.65; color: var(--ink-2); }
.author-box .author-name { font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.updated-note { margin-top: 14px; font-size: 13.5px; color: var(--ink-3); }
.share { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.share-label { font-size: 14px; font-weight: 700; color: var(--ink); margin-right: 4px; }
.share-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff;
  color: var(--ink-2); font-size: 13.5px; font-weight: 600; text-decoration: none;
  transition: border-color .2s, color .2s, transform .3s var(--ease-spring);
}
.share-btn:hover { border-color: rgba(255,106,0,0.45); color: var(--link); transform: translateY(-1px); }
.share-btn svg { width: 16px; height: 16px; }

/* CTA */
.cta-card {
  position: relative; overflow: hidden; isolation: isolate;
  margin-top: 72px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #FF6A00 0%, #FF8A3C 60%, #FFB37A 100%);
  padding: 44px 44px 0; color: #fff;
  display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 20px; align-items: end;
  box-shadow: var(--shadow-lg);
}
.cta-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 18% 24%, rgba(255,255,255,0.24), transparent 45%); }
.cta-copy { padding-bottom: 44px; }
.cta-card h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 3.6vw, 38px); line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 12px; }
.cta-card p { font-size: 16.5px; line-height: 1.65; color: rgba(255,255,255,0.92); max-width: 460px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn-white, .btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; font-size: 14.5px; font-weight: 700; text-decoration: none;
  transition: transform .3s var(--ease-spring), box-shadow .3s, background .2s;
}
.btn-white { background: #fff; color: var(--orange-ink); box-shadow: 0 14px 30px -12px rgba(122,46,0,0.5); }
.btn-white:hover { transform: translateY(-2px) scale(1.02); }
.btn-ghost { color: #fff; border: 1.5px solid rgba(255,255,255,0.7); }
.btn-ghost:hover { background: rgba(255,255,255,0.14); transform: translateY(-2px); }
.cta-art { align-self: end; justify-self: center; width: 100%; max-width: 230px; filter: drop-shadow(0 22px 32px rgba(122,46,0,0.4)); }

/* Related + hub cards */
.section-label { display: flex; align-items: center; gap: 14px; font-size: 12.5px; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 22px; }
.section-label::after { content: ''; flex: 1; height: 1px; background: var(--line-2); }
.related { margin-top: 72px; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: inherit;
  transition: transform .35s var(--ease-spring), box-shadow .35s var(--ease), border-color .3s;
}
a.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(255,106,0,0.2); }
.card-media { position: relative; height: 178px; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; font-size: 54px; }
.card-media.is-emoji { align-items: center; }
.card-media img { height: 92%; width: auto; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(122,46,0,0.35)); transition: transform .5s var(--ease-out); }
a.card:hover .card-media img { transform: translateY(-4px) scale(1.04); }
.card-media.is-photo { align-items: stretch; }
.card-media.is-photo img, .featured-media.is-photo img { width: 100%; height: 100%; max-width: none; object-fit: cover; filter: none; }
a.card:hover .card-media.is-photo img { transform: scale(1.06); }
.card-media.is-float img, .featured-media.is-float img { animation: float 4.5s ease-in-out infinite; }
.card-media.is-float, .featured-media.is-float { background-size: 200% 200%; animation: gradshift 8s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes gradshift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@media (prefers-reduced-motion: reduce) { .card-media.is-float, .card-media.is-float img, .featured-media.is-float, .featured-media.is-float img { animation: none; } }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card-tag { font-size: 11.5px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: var(--link); margin-bottom: 10px; }
.card-title { font-family: var(--serif); font-weight: 600; font-size: 20px; line-height: 1.28; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 8px; }
.card-excerpt { font-size: 14.5px; line-height: 1.65; color: var(--ink-3); flex: 1; }
.card-meta { display: flex; gap: 14px; margin-top: 16px; font-size: 12.5px; color: var(--ink-3); }
.card.is-soon { background: var(--cream); }
.card.is-soon .card-media { filter: saturate(0.55); opacity: 0.75; }
.soon-badge { position: absolute; top: 14px; right: 14px; z-index: 2; background: rgba(20,14,10,0.78); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.grad-orange { background: linear-gradient(135deg, #FF6A00, #FF8A3C 60%, #FFB37A); }
.grad-sun { background: linear-gradient(135deg, #FFB347, #FF6A00); }
.grad-peach { background: linear-gradient(135deg, #FFD0A0, #FF8A3C); }
.grad-dusk { background: linear-gradient(135deg, #FF8A3C, #E85A00); }
.grad-sand { background: linear-gradient(135deg, #F5F4F1, #FFD9B8); }

/* ── Hub ── */
.hub-head { padding: 14px 0 6px; animation: rise .7s var(--ease-out) both; }
.hub-head .crumbs { margin-bottom: 26px; }
.hub-kicker { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,106,0,0.07); border: 1px solid rgba(255,106,0,0.2); color: var(--link); padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 20px; }
.hub-title { font-family: var(--serif); font-weight: 600; font-size: clamp(38px, 6vw, 64px); line-height: 1.04; letter-spacing: -0.03em; max-width: 820px; }
.hub-sub { font-size: clamp(17px, 2vw, 19px); line-height: 1.65; color: var(--ink-2); max-width: 600px; margin-top: 18px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 40px 0 34px; }
.filter-btn { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-size: 13.5px; font-weight: 600; color: var(--ink-2); transition: all .2s var(--ease); }
.filter-btn:hover { border-color: rgba(255,106,0,0.4); color: var(--link); }
.filter-btn[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: #fff; box-shadow: 0 10px 22px -10px rgba(255,106,0,0.7); }

.featured {
  display: grid; grid-template-columns: 1.05fr 1fr; overflow: hidden;
  border-radius: var(--radius-lg); border: 1px solid var(--line-2); background: var(--cream-2);
  text-decoration: none; color: inherit; margin-bottom: 56px;
  transition: transform .35s var(--ease-spring), box-shadow .35s var(--ease);
}
.featured:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.featured-media { position: relative; min-height: 340px; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.featured-media img { width: 92%; max-width: 520px; filter: drop-shadow(0 22px 30px rgba(122,46,0,0.35)); transition: transform .6s var(--ease-out); }
.featured:hover .featured-media img { transform: translateY(-6px) scale(1.03); }
.featured-body { padding: 40px 40px 40px 36px; display: flex; flex-direction: column; justify-content: center; }
.featured-body .card-title { font-size: clamp(24px, 2.8vw, 32px); line-height: 1.18; margin-bottom: 12px; }
.featured-body .card-excerpt { font-size: 16px; flex: 0; }
.read-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; color: var(--link); font-size: 14.5px; font-weight: 700; }
.featured:hover .read-more { gap: 10px; }
.hub-section + .hub-section { margin-top: 56px; }

.newsletter { margin-top: 80px; padding: 48px 40px; border-radius: var(--radius-lg); background: var(--cream-2); border: 1px solid var(--line-2); text-align: center; }
.newsletter h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.02em; margin-bottom: 10px; }
.newsletter p { font-size: 16px; color: var(--ink-3); max-width: 480px; margin: 0 auto; }
.newsletter-form { display: flex; gap: 10px; max-width: 440px; margin: 24px auto 0; }
.newsletter-form input { flex: 1; min-width: 0; padding: 13px 18px; border: 1px solid var(--line-2); border-radius: 999px; font: inherit; font-size: 15px; background: #fff; outline: none; transition: border-color .2s, box-shadow .2s; }
.newsletter-form input:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,106,0,0.12); }
.newsletter-form button { padding: 13px 24px; border: 0; border-radius: 999px; background: var(--orange); color: #fff; font-weight: 700; font-size: 14px; transition: background .2s, transform .2s; }
.newsletter-form button:hover { background: var(--orange-deep); transform: translateY(-1px); }
.newsletter-form button:disabled { opacity: 0.6; }
.form-status { min-height: 22px; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--link); }

/* ── Footer ── */
.site-foot { background: var(--cream-2); color: var(--ink-3); padding: 60px 40px 40px; margin-top: 96px; border-top: 1px solid var(--line); }
.foot-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 40px; }
.foot-brand img { height: 80px; width: auto; margin: 0 0 -20px -20px; }
.foot-brand p { font-size: 14px; color: var(--ink-3); max-width: 300px; line-height: 1.6; }
.foot-title { color: var(--ink); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; }
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot-col a { color: var(--ink-2); text-decoration: none; font-size: 14px; transition: color .25s var(--ease); }
.foot-col a:hover, .foot-col a[aria-current] { color: var(--orange); }
.foot-bottom { max-width: 1200px; margin: 0 auto; padding-top: 24px; border-top: 1px solid var(--line-2); font-size: 12.5px; color: var(--ink-3); text-align: center; }

/* ── Motion ── */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ── Responsive ── */
@media (max-width: 1180px) {
  .site-nav, .site-nav.scrolled { padding-left: 24px; padding-right: 24px; }
  .nav-links { gap: 16px; padding: 8px 18px; }
}
@media (max-width: 1040px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-nav { padding-top: 8px; padding-bottom: 8px; }
  .brand-mark, .site-nav.scrolled .brand-mark { height: 72px; }
  .nav-cta { margin-left: auto; }
}
@media (max-width: 860px) {
  .card-grid { grid-template-columns: 1fr 1fr; }
  .featured { grid-template-columns: 1fr; }
  .featured-media { min-height: 260px; }
  .featured-body { padding: 28px; }
  .buckets { grid-template-columns: 1fr; }
  .cta-card { grid-template-columns: 1fr; padding: 36px 28px 0; }
  .cta-copy { padding-bottom: 0; }
  .cta-art { max-width: 190px; margin-top: 6px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .blog-main { padding-top: 104px; }
  html { scroll-padding-top: 92px; }
  .nav-cta { display: none; }
  .nav-panel { top: 70px; }
  .wrap { padding: 0 18px; }
  .wrap-narrow, .wrap-mid { padding: 0 18px; }
  .hero-card { min-height: 300px; }
  .hero-mascot.is-portrait { width: 180px; }
  .hero-chip { padding: 8px 12px 8px 8px; }
  .hero-chip-ico { width: 30px; height: 30px; font-size: 15px; }
  .hero-chip b { font-size: 12.5px; }
  .hero-chip small { font-size: 11px; }
  .chip-tl { left: 4%; top: 6%; }
  .chip-tr { right: 4%; top: 30%; }
  .chip-bl { left: 4%; bottom: 8%; }
  .chip-br { display: none; }
  .hero-card.art-right { justify-content: center; padding-right: 0; }
  .hero-card.art-right .hero-mascot.is-wide { width: 94%; }
  .chip-l1 { left: 4%; top: 6%; }
  .chip-l2, .chip-l3 { display: none; }
  .answer { padding: 22px 20px 20px; }
  .answer p { font-size: 17px; }
  .box { padding: 20px; }
  .toc ol { columns: 1; }
  .prose p { font-size: 17px; }
  .prose li { font-size: 16.5px; }
  .prose .lead-answer { font-size: 17.5px; }
  .prose > h2 { margin-top: 56px; }
  .shots { padding: 22px 14px 18px; }
  .shots-row { gap: 10px; }
  .checklist-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .newsletter { padding: 36px 22px; }
  .newsletter-form { flex-direction: column; }
  .site-foot { padding: 44px 22px 24px; }
}
@media (max-width: 420px) {
  .foot-grid { grid-template-columns: 1fr; }
  .transfers .amt { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
@media print {
  .site-nav, .nav-panel, .read-progress, .share, .cta-card, .related, .site-foot, .skip-link { display: none !important; }
  .blog-main { padding-top: 0; }
  .faq-item { break-inside: avoid; }
}
