*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img[src*="trembli-logo"] { background: transparent !important; }

:root {
  --bg:          #F7F1E4;
  --bg-soft:     #efe6d1;
  --card:        #fdf9ee;
  --ink:         #1A1410;
  --ink-muted:   #5a4f3e;
  --ink-faint:   #5f5340;
  --accent:      #0B4F5C;
  --accent-shade:#03252B; --accent-on-dark: #FFD23F;
  --sage:        #3d6649;
  --sage-soft:   #d9e8dc;
  --online:      #4a7a5a;
  --online-soft: #d9e8dc;
  --alert:       #b8522a;
  --alert-soft:  #f3dfcf;
  --rule:        rgba(40, 28, 16, 0.10);
  --navy:        var(--ink);
  --coral:       var(--accent);
  --coral-dark:  var(--accent-shade);
  --white:       var(--card);
  --light-bg:    var(--bg-soft);
  --text:        var(--ink);
  --text-light:  var(--ink-muted);
  --border:      var(--rule);
  --radius-btn:  10px;
  --radius-card: 18px;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px; font-weight: 400; line-height: 1.5;
  color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--accent-shade); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-weight: 500; color: var(--ink);
}
em { font-style: italic; font-family: 'Fraunces', Georgia, serif; font-weight: 500; }

a:focus-visible, button:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ── NAV (matches live homepage) ── */
nav { position: sticky; top: 0; z-index: 100; background: var(--bg);
      border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
nav.scrolled { border-bottom-color: var(--rule); box-shadow: 0 2px 12px rgba(40,28,16,.05); }
.nav-inner { max-width: 1140px; margin: 0 auto; padding: 0 24px; height: 72px;
             display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo svg { flex-shrink: 0; }
.nav-logo .wordmark {
  font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: 24px;
  color: var(--ink); letter-spacing: -0.4px;
}
.nav-links { display: flex; align-items: center; gap: 18px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none; white-space: nowrap; }
.nav-links a:hover { color: var(--accent-shade); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--sage); font-weight: 600; }
.nav-signin { color: var(--ink) !important; border: 1.5px solid var(--ink); padding: 9px 18px;
              border-radius: var(--radius-btn); font-weight: 600; font-size: 14px; transition: .2s; }
.nav-signin:hover { background: var(--ink); color: var(--bg) !important; text-decoration: none !important; }
.nav-cta { background: var(--ink); color: var(--bg) !important; padding: 10px 22px;
           border-radius: var(--radius-btn); font-weight: 600; font-size: 14px; transition: background .2s; }
.nav-cta:hover { background: #2a2118; text-decoration: none !important; }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; transition: .3s; }
@media (max-width: 768px) {
  .hamburger { display: block; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0;
               background: var(--bg); flex-direction: column; padding: 24px; gap: 16px;
               border-bottom: 1px solid var(--rule); box-shadow: 0 8px 24px rgba(40,28,16,.08); }
  .nav-links.open { display: flex; }
  .nav-signin { text-align: center; width: 100%; }
  .nav-cta { text-align: center; width: 100%; }
}

/* ── FOOTER (matches live homepage) ── */
footer { background: var(--ink); color: rgba(247,241,228,.7); padding: 64px 0 0; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 14px; color: rgba(247,241,228,.55); margin-top: 10px; line-height: 1.6; }
.footer-col h4 {
  font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: rgba(247,241,228,.55); margin-bottom: 16px;
}
.footer-col a { display: block; font-size: 14px; color: rgba(247,241,228,.72);
                margin-bottom: 10px; text-decoration: none; }
.footer-col a:hover { color: var(--bg); text-decoration: none; }
.footer-bar { border-top: 1px solid rgba(247,241,228,.1); padding: 24px 0; text-align: center;
              font-size: 13px; color: rgba(247,241,228,.5); }
.footer-bar a { color: rgba(247,241,228,.65); }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ── BLOG ── */
.blog-main { flex: 1; padding: 56px 0 96px; }
.blog-wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.blog-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Inter', sans-serif; font-weight: 700;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 16px;
}
.blog-kicker::before {
  content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--sage);
}
.blog-index-title {
  font-size: clamp(2.2rem, 5vw, 56px); line-height: 1.05;
  letter-spacing: -0.025em; margin-bottom: 16px;
}
.blog-index-lede {
  font-family: 'Fraunces', Georgia, serif; font-weight: 400;
  font-size: 20px; line-height: 1.5; color: var(--ink-muted);
  margin-bottom: 48px;
}
.blog-rss {
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600;
  color: var(--sage);
}
.blog-rss:hover { color: var(--accent-shade); }

.sample-banner {
  background: var(--sage-soft);
  border: 1px solid var(--sage);
  color: #1f4a2b;
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 16px; line-height: 1.5;
  margin-bottom: 32px;
}
.sample-banner strong {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 4px;
}

.badge-sample {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #1f4a2b; background: var(--sage-soft);
  border: 1px solid var(--sage);
  border-radius: 999px;
  padding: 3px 9px;
  margin-right: 8px;
  vertical-align: middle;
}

.post-list { list-style: none; display: flex; flex-direction: column; gap: 0; }
.post-card {
  display: block;
  padding: 28px 0;
  border-top: 1px solid var(--rule);
  text-decoration: none;
  color: inherit;
}
.post-card:last-child { border-bottom: 1px solid var(--rule); }
.post-card:hover { text-decoration: none; }
.post-card:hover .post-card-title { color: var(--accent-shade); }
.post-card-meta {
  font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 500;
  color: var(--sage);
  margin-bottom: 8px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
}
.post-card-title {
  font-size: clamp(1.5rem, 3vw, 28px); line-height: 1.2;
  letter-spacing: -0.02em; margin-bottom: 10px;
  color: var(--ink);
  transition: color .15s;
}
.post-card-desc {
  font-size: 18px; line-height: 1.6; color: var(--ink-muted);
  margin: 0;
}
.post-card-byline {
  margin-top: 10px;
  font-size: 15px; color: var(--ink-faint);
}

.pagination {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 8px; margin-top: 48px;
}
.pagination a, .pagination span {
  min-width: 44px; min-height: 44px;
  padding: 10px 14px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  font-family: 'Inter', sans-serif; font-size: 16px; font-weight: 600;
  text-decoration: none;
}
.pagination a {
  color: var(--ink); border: 1.5px solid var(--rule); background: var(--card);
}
.pagination a:hover { border-color: var(--sage); color: var(--sage); text-decoration: none; }
.pagination .is-current {
  background: var(--ink); color: var(--bg); border: 1.5px solid var(--ink);
}
.pagination .is-disabled { color: var(--ink-faint); border: 1.5px solid transparent; }

/* Post page */
.article-header { margin-bottom: 32px; }
.article-title {
  font-size: clamp(2rem, 5vw, 48px); line-height: 1.1;
  letter-spacing: -0.025em; margin-bottom: 16px;
}
.article-meta {
  font-size: 16px; line-height: 1.5; color: var(--ink-muted);
}
.article-meta time { color: var(--sage); font-weight: 600; }
.article-hero {
  margin: 0 0 36px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--rule);
}
.article-hero img {
  display: block; width: 100%; height: auto;
}

.article-body {
  font-size: 18px; line-height: 1.7; color: var(--ink);
}
.article-body p { font-size: 18px; line-height: 1.7; margin-bottom: 1.15em; color: var(--ink); }
.article-body h2 {
  font-size: 28px; line-height: 1.2; letter-spacing: -0.02em;
  margin: 2em 0 0.7em;
}
.article-body h3 {
  font-size: 22px; line-height: 1.25; margin: 1.6em 0 0.6em;
}
.article-body ul, .article-body ol {
  margin: 0 0 1.15em 1.3em;
}
.article-body li { margin-bottom: 0.4em; }
.article-body a { text-decoration: underline; text-underline-offset: 2px; }
.article-body blockquote {
  border-left: 3px solid var(--sage);
  padding: 4px 0 4px 20px;
  margin: 0 0 1.15em;
  color: var(--ink-muted);
  font-family: 'Fraunces', Georgia, serif;
  font-size: 20px;
}
.article-body img { max-width: 100%; height: auto; border-radius: 12px; margin: 0.5em 0 1.15em; }
.article-body hr { border: 0; border-top: 1px solid var(--rule); margin: 2em 0; }
.article-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
  background: var(--bg-soft);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.sources {
  margin-top: 48px;
  padding: 28px 0 0;
  border-top: 1px solid var(--rule);
}
.sources h2 {
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 14px;
}
.sources ol {
  margin: 0 0 0 1.2em;
  font-size: 16px; line-height: 1.6; color: var(--ink-muted);
}
.sources li { margin-bottom: 8px; }
.sources a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.sources a:hover { color: var(--accent-shade); }

.safety-note {
  margin-top: 36px;
  padding: 18px 20px;
  background: var(--bg-soft);
  border-radius: 12px;
  font-size: 16px; line-height: 1.55;
  color: var(--ink-muted);
}

.back-link {
  display: inline-block;
  margin-bottom: 28px;
  font-size: 16px; font-weight: 600;
  color: var(--sage);
}
.back-link:hover { color: var(--accent-shade); }

@media (max-width: 768px) {
  .blog-main { padding: 36px 0 72px; }
  .article-body, .article-body p { font-size: 18px; }
  .post-card { padding: 24px 0; }
  .post-card-desc { font-size: 17px; }
}

.direct-answer {
  font-size: 20px; line-height: 1.6; color: var(--ink);
  background: var(--sage-soft);
  border-left: 4px solid var(--sage);
  border-radius: 0 12px 12px 0;
  padding: 16px 20px;
  margin: 0 0 32px;
}

.article-figure { margin: 0 0 1.4em; border-radius: 14px; overflow: hidden; border: 1px solid var(--rule); background: var(--bg-soft); }
.article-figure img, .article-hero img { display: block; width: 100%; height: auto; border-radius: 12px; }

.faq {
  margin-top: 48px;
  padding: 28px 0 0;
  border-top: 1px solid var(--rule);
}
.faq h2 {
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 20px;
}
.faq-item { margin-bottom: 22px; }
.faq-question {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 22px; line-height: 1.3; letter-spacing: -0.02em;
  margin: 0 0 8px; text-transform: none;
}
.faq-answer { font-size: 18px; line-height: 1.65; color: var(--ink-muted); margin: 0; }

.source-date { color: var(--ink-faint); font-size: 0.95em; }

.related-posts {
  margin-top: 48px;
  padding: 28px 0 0;
  border-top: 1px solid var(--rule);
}
.related-posts h2 {
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 16px;
}
.related-list { list-style: none; margin: 0; padding: 0; }
.related-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px;
  font-size: 18px;
}
.related-list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.related-list a:hover { color: var(--accent-shade); text-decoration: underline; }
.related-date { font-size: 15px; color: var(--sage); font-weight: 500; }
.related-links { margin-top: 20px; font-size: 16px; }
.related-links a { color: var(--sage); font-weight: 600; }
.related-links a:hover { color: var(--accent-shade); }


.article-hero figcaption, .article-figure figcaption {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink-muted);
  padding: 10px 12px 12px;
  margin: 0;
}
.article-hero, .article-figure {
  margin: 0 0 1.4em;
}
.disclaimer-box {
  margin-top: 36px;
  padding: 20px 22px;
  background: var(--bg-soft);
  border: 1px solid var(--rule);
  border-radius: 12px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
}
.disclaimer-box p { margin: 0 0 0.8em; }
.disclaimer-box p:last-child { margin-bottom: 0; }
.disclaimer-box a { color: var(--accent-shade); text-decoration: underline; text-underline-offset: 2px; }

/* Article type and hero scale.
   Body copy stays at least 16px with line-height above 1.5.
   Desktop hero is capped near 640px and centered.
   Mobile hero stays the full column width, with a shorter max height.
   Colors are unchanged. */
.article-title {
  font-size: clamp(1.75rem, 4vw, 42px);
  line-height: 1.15;
}
.article-body,
.article-body p {
  font-size: 16px;
  line-height: 1.65;
}
.article-body h2 {
  font-size: 25px;
  line-height: 1.25;
}
.article-body h3 {
  font-size: 20px;
  line-height: 1.3;
}
.article-body blockquote {
  font-size: 18px;
  line-height: 1.55;
}
.direct-answer {
  font-size: 18px;
  line-height: 1.55;
}
.faq-question {
  font-size: 20px;
  line-height: 1.35;
}
.faq-answer {
  font-size: 16px;
  line-height: 1.65;
}
.related-list {
  font-size: 16px;
  line-height: 1.5;
}
.article-hero {
  width: min(642px, 100%);
  max-width: 642px;
  margin-left: auto;
  margin-right: auto;
}
.article-hero img {
  width: 100%;
  max-width: 640px;
  height: auto;
  aspect-ratio: 1200 / 675;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 768px) {
  .article-body,
  .article-body p {
    font-size: 16px;
    line-height: 1.65;
  }
  .article-hero {
    width: 100%;
    max-width: 100%;
  }
  .article-hero img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 160px;
    aspect-ratio: 1200 / 675;
    object-fit: cover;
    object-position: center;
  }
}
footer :focus-visible, .section-navy :focus-visible, .section-coral :focus-visible, .price-featured :focus-visible { outline-color: var(--accent-on-dark); }
