/* ─── Joe's Websites — Main stylesheet ───────────────────────────────────────
 * Neutral cream / ink / green design (2026 redesign).
 * Tokens + utilities live in shared.css.
 */


/* ── Base ─────────────────────────────────────────────────────────────────── */

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

html { scroll-padding-top: 90px; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--ink); }

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

section { padding: 5rem 0; border-top: 1px solid var(--border); }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; color: var(--ink); }

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.section-intro {
  color: var(--text-muted);
  max-width: 720px;
  font-size: 1.05rem;
}
.section-head-center { text-align: center; }
.section-head-center .section-intro { margin: 0 auto; }

/* ── Buttons ──────────────────────────────────────────────────────────────── */

.btn {
  display: inline-block;
  padding: .8rem 1.6rem;
  border-radius: var(--radius-btn);
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), opacity var(--transition), transform var(--transition);
}
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-light { background: var(--white); color: var(--ink); border-color: var(--border); box-shadow: var(--shadow-sm); }
.btn-light:hover { transform: translateY(-2px); }
.btn-sm { padding: .5rem 1.1rem; font-size: .85rem; }

/* Hero CTA pair — borderless with a soft shadow */
.hero-actions .btn-primary { box-shadow: var(--shadow-md); }
.hero-actions .btn-light  { border-color: transparent; box-shadow: var(--shadow-md); }

/* ── Navigation ───────────────────────────────────────────────────────────── */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  padding: 1.4rem 0;
  transition: box-shadow var(--transition);
}
.site-nav.is-scrolled { box-shadow: var(--shadow-sm); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.nav-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--ink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: .95rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.nav-cta {
  display: inline-block;
  background: var(--ink);
  color: var(--white);
  padding: .7rem 1.4rem;
  border-radius: var(--radius-btn);
  font-family: var(--font-head);
  font-weight: 600;
  transition: color var(--transition), transform var(--transition);
}
.nav-links a.nav-cta:hover { color: var(--white); transform: translateY(-2px); }

.burger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
}
.burger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform var(--transition), opacity var(--transition);
}

/* ── Hero ─────────────────────────────────────────────────────────────────── */

.hero { padding: 5rem 0 4.5rem; border-top: none; }
.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  max-width: 900px;
}
.hero-sub {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 820px;
  margin-top: 1.5rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }

/* ── Success stories carousel ─────────────────────────────────────────────── */

.stories { padding-top: 0; border-top: none; }

/* Horizontal slide carousel: the track is a flex row of full-width cards that
   translateX one card-width per step (JS sets the transform); the container clips
   the overflow so only the active card shows. align-items:stretch keeps every
   card the height of the tallest — no jump between slides. */
.story-viewport { overflow: hidden; border-radius: var(--radius-lg); user-select: none; cursor: pointer; }
.story-track {
  display: flex;
  align-items: stretch;
  transition: transform .6s ease;
  will-change: transform;
}
.story-card.is-clone { user-select: none; pointer-events: none; }
.story-card {
  position: relative;
  flex: 0 0 100%;
  display: grid;
  background: var(--story-bg, var(--navy));
  padding: 2.75rem 3rem;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (prefers-reduced-motion: reduce) {
  .story-track { transition: none; }
  .faq-anim-ready .faq-a { transition-duration: .01ms; }
  .faq-item, .faq-list.faq-switching { transition: none; }
}

/* Preview doubles as a click-to-advance control (JS wires the handler). */
.story-shot { position: relative; cursor: pointer; transition: opacity .45s ease; }
.story-body { transition: opacity .45s ease; }

/* MacBook photo frame (assets/img/laptop.png) over the site preview.
   The screen is a transparent cutout in the PNG; the preview sits behind it.
   Cutout measured at left 10.09% / top 2.40% / 79.73% × 85.44% of the frame. */
.laptop { position: relative; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35)); }
.laptop-frame { position: relative; width: 100%; display: block; }
.laptop-screen {
  position: absolute;
  left: 10.09%;
  top: 2.4%;
  width: 79.73%;
  height: 85.44%;
  background: var(--white);
  overflow: hidden;
}
.laptop-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.story-quote {
  color: var(--white);
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.story-meta {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  margin-top: 1.6rem;
  font-size: .95rem;
}
.story-meta span { color: var(--story-text, rgba(255, 255, 255, .72)); }
.story-meta a { color: var(--story-text, #fff); text-decoration: none; }
.story-meta a:hover { text-decoration: underline; }

/* "Live soon" card: website line is a button (no stale href) that opens the note below. */
.story-soon-trigger {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--story-text, #fff);
  cursor: pointer;
}
.story-soon-trigger:hover { text-decoration: underline; }

/* Centered "not yet live" note — fades in over the faded-out card content. */
.story-card.is-soon-open .story-shot,
.story-card.is-soon-open .story-body { opacity: 0; pointer-events: none; }
.story-soon-note {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: .6rem;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s ease;
}
.story-card.is-soon-open .story-soon-note { opacity: 1; }
.story-soon-eyebrow {
  color: var(--story-text, rgba(255, 255, 255, .72));
  font-size: .9rem;
  letter-spacing: .02em;
}
.story-soon-msg {
  color: var(--white);
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 600;
  line-height: 1.35;
}

.story-dots {
  display: flex;
  justify-content: center;
  gap: .55rem;
  margin-top: 1.5rem;
}
.story-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), transform var(--transition);
}
.story-dots button.is-active { background: var(--ink); transform: scale(1.2); }

/* ── USP cards ────────────────────────────────────────────────────────────── */

.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.usp-card {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-md);
}
.usp-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: .8rem;
}
.usp-card h3 {
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
}
.usp-icon { flex-shrink: 0; color: var(--ink); }
.usp-card p { color: var(--text-muted); font-size: .95rem; }

/* ── About ────────────────────────────────────────────────────────────────── */

.about-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3.5rem;
  align-items: start;
  max-width: 1060px;
  margin: 0 auto;
}
.about-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}
.about-text p {
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--ink);
}
.about-text p.about-name { margin-top: 1.2rem; color: var(--text-muted); font-size: 1rem; font-family: var(--font-head); font-weight: 400; }
.about-links a {
  color: var(--text-muted);
  font-size: .95rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  text-decoration: none;
}
.about-links a:hover { color: var(--ink); }

/* ── Pricing ──────────────────────────────────────────────────────────────── */

.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
  align-items: center;
}
.tier-card {
  display: block;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}
/* Hover-lift rides on the independent `translate` property, NOT `transform`:
   .tier-grid is a data-reveal-stagger container whose reveal rule owns `transform`
   (and its slow 0.9s + staggered transition). Using `translate` gives the lift its
   own fast timeline (see the tier-card transition override in the scroll-reveal block)
   with no value or timing conflict against the entrance animation. */
.tier-grid .tier-card:hover { translate: 0 -3px; }
.tier-grid .tier-card.tier-featured:hover { translate: 0 -3px; box-shadow: var(--shadow-lg); }
.tier-head {
  text-align: center;
  padding: 1.8rem 1.5rem 1.4rem;
  border-bottom: 1px solid var(--border);
}
.tier-head h3 { font-size: 1.3rem; font-weight: 600; }
.tier-price { color: var(--green); font-weight: 600; font-size: 1.1rem; margin-top: .3rem; }
.tier-list { list-style: none; padding: .6rem 1.6rem 1.4rem; }
.tier-list li {
  display: flex;
  gap: .6rem;
  align-items: baseline;
  padding: .8rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .93rem;
  color: var(--text-muted);
}
.tier-list li:last-child { border-bottom: none; }
.tier-check { color: var(--text-light); flex-shrink: 0; font-weight: 600; }

.tier-featured {
  background: var(--ink);
  border-color: var(--ink);
  padding-top: 1.4rem;
  transform: scale(1.04);
  box-shadow: var(--shadow-lg);
}
.tier-featured .tier-head { border-bottom-color: rgba(255, 255, 255, .15); }
.tier-featured .tier-head h3 { color: var(--white); }
.tier-featured .tier-price { color: #80D7AC; }
.tier-featured .tier-list li { color: #d5d4d8; border-bottom-color: rgba(255, 255, 255, .12); }
.tier-featured .tier-check { color: #9a99a0; }
.tier-badge {
  display: block;
  width: fit-content;
  margin: 0 auto .6rem;
  background: var(--white);
  color: var(--ink);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  padding: .35rem 1rem;
  border-radius: var(--radius-pill);
}
.pricing-foot { text-align: center; margin-top: 2.5rem; }

/* ── Process ──────────────────────────────────────────────────────────────── */

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}
.process-num {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 2px solid var(--ink);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
}
.process-step:first-child .process-num { background: var(--ink); color: var(--white); }
.process-step h3 {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: .7rem;
}
.process-step p { color: var(--text-muted); font-size: .95rem; }
.process-step-link { text-decoration: none; color: inherit; cursor: pointer; }
.process-step-link .process-num { transition: transform var(--transition), box-shadow var(--transition); }
.process-step-link:hover .process-num { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ── CTA banner ───────────────────────────────────────────────────────────── */

.cta-section { border-top: none; padding-top: 0; }
.cta-banner {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(620px 460px at 12% 15%, var(--forest-mid) 0%, rgba(37, 63, 49, 0) 65%),
    radial-gradient(560px 420px at 88% 90%, var(--forest-mid) 0%, rgba(37, 63, 49, 0) 65%),
    radial-gradient(420px 320px at 60% 40%, #1a3628 0%, rgba(26, 54, 40, 0) 70%),
    var(--forest);
  border-radius: var(--radius-lg);
  padding: 5rem 2rem;
  text-align: center;
}
.cta-banner h2 {
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  max-width: 620px;
  margin: 0 auto 1.2rem;
}
.cta-banner p {
  color: #9fd4b8;
  max-width: 560px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}
.cta-banner .btn-light { border-color: transparent; }

/* ── FAQ ──────────────────────────────────────────────────────────────────── */

.faq-layout {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 3rem;
  margin-top: 3rem;
  align-items: start;
}
.faq-cats { list-style: none; }
.faq-cats button {
  display: block;
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text-light);
  cursor: pointer;
  padding: .45rem 0;
  text-align: left;
  width: 100%;
  transition: color var(--transition);
}
.faq-cats button:hover { color: var(--ink); }
.faq-cats button.is-active { color: var(--ink); font-weight: 600; }

.faq-item { border-bottom: 1px solid var(--border); transition: opacity .18s ease; }
/* Category switch: clip + ease the container height, crossfade the items, and snap the
   auto-opened item (suppress its accordion transition so it doesn't fight the height ease). */
.faq-list.faq-switching { overflow: hidden; }
.faq-list.faq-switching .faq-a { transition: none; }
.faq-list.faq-fading .faq-item { opacity: 0; }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  background: none;
  border: none;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-align: left;
  padding: 1.15rem 0;
  cursor: pointer;
}
.faq-q svg { flex-shrink: 0; transition: transform var(--transition); }
.faq-item.is-open .faq-q svg { transform: rotate(180deg); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  color: var(--text-muted);
  font-size: .95rem;
  max-width: 900px;
}
.faq-a-inner { min-height: 0; overflow: hidden; }
/* gate the transition so the category auto-open on load doesn't replay a flash */
.faq-anim-ready .faq-a { transition: grid-template-rows .35s ease; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
/* bottom padding rides on the inner element (outer clips its row at 0fr when closed) */
.faq-item.is-open .faq-a-inner { padding-bottom: 1.15rem; }
.faq-a a { color: var(--green); font-weight: 600; }

/* Invert text selection on dark surfaces (carousel, featured tier, CTA, footer) */
.story-card ::selection,
.tier-featured ::selection,
.cta-banner ::selection,
.post-cta ::selection,
.site-footer ::selection      { background: var(--white); color: var(--ink); }

.story-card ::-moz-selection,
.tier-featured ::-moz-selection,
.cta-banner ::-moz-selection,
.post-cta ::-moz-selection,
.site-footer ::-moz-selection { background: var(--white); color: var(--ink); }

/* ── Footer ───────────────────────────────────────────────────────────────── */

.site-footer {
  background: #111014;
  color: #b6b5ba;
  margin-top: 2rem;
  padding: 2.2rem 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem 2rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.footer-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.footer-copy { font-size: .8rem; color: #8b8a8f; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.6rem; }
.footer-links a {
  color: #d5d4d8;
  text-decoration: none;
  font-size: .92rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.4rem;
  margin-top: 1.6rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.footer-legal nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer-legal a {
  color: #8b8a8f;
  text-decoration: none;
  font-size: .8rem;
  transition: color var(--transition);
}
.footer-legal a:hover { color: var(--white); }

/* ── Forms (contact page + shared bits) ───────────────────────────────────── */

.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: .92rem;
  margin-bottom: .45rem;
}
.form-group .optional { color: var(--text-light); font-weight: 400; }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="url"],
.form-group textarea {
  width: 100%;
  padding: .85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: .95rem;
  color: var(--text);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--ink); }
.form-group textarea { min-height: 150px; resize: vertical; }

.contact-honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-status { margin-top: 1rem; padding: .85rem 1rem; border-radius: var(--radius); font-size: .95rem; }
.form-status.form-success { background: var(--success-bg); color: var(--success); border: 1px solid #b2dfbb; }
.form-status.form-error { background: var(--danger-bg); color: var(--danger); border: 1px solid #f5c6c2; }

.cf-turnstile { max-width: 0; }

/* ── Simple subpages (contact / blog / builders / designs gate) ───────────── */

.page-main { min-height: 60vh; padding: 3.5rem 0 5rem; }
.page-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.page-intro { color: var(--text-muted); font-size: 1.1rem; max-width: 720px; }
.page-narrow { max-width: 680px; }

.callout {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  background: var(--green-mint);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-size: .95rem;
  color: var(--ink);
}
.callout-icon { flex-shrink: 0; color: var(--ink); margin-top: .05rem; }

/* ── Contact layout (form + full-size Joe) ────────────────────────────────── */
.contact-layout {
  display: flex;
  align-items: flex-start;
  gap: clamp(2rem, 5vw, 4rem);
}
.contact-fig {
  flex: 1;
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}
.contact-fig img { width: clamp(160px, 20vw, 211px); height: auto; display: block; }
@media (max-width: 820px) {
  .contact-layout { flex-direction: column; align-items: center; }
  .contact-fig { display: none; }
}

/* ── Blog ─────────────────────────────────────────────────────────────────── */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.blog-card {
  border-radius: var(--radius-lg);
}
.blog-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform var(--transition);
}
.blog-card-link:hover { transform: translateY(-4px); }
.blog-card-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.blog-card-body { padding: 1.5rem 1.6rem 1.6rem; }
.blog-card-date {
  font-size: .8rem;
  font-weight: 600;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .5rem;
}
.blog-card h2 {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin-bottom: .6rem;
}
.blog-card p { color: var(--text-muted); font-size: .93rem; margin-bottom: .8rem; }
.blog-card-more { font-size: .9rem; font-weight: 600; color: var(--ink); }
.blog-card-featured { background: var(--green-mint); }

/* Blog post page */
.post { margin-inline: auto; }
.post-breadcrumb { margin-bottom: 1.5rem; }
.post-breadcrumb a { color: var(--text-muted); text-decoration: none; font-size: .9rem; }
.post-breadcrumb a:hover { color: var(--ink); }
.post-date {
  font-size: .85rem;
  font-weight: 600;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .6rem;
}
.post-hero-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  margin: 1.5rem 0 .5rem;
}
.post-body { margin-top: 2rem; }
.post-body h2 {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 2.8rem 0 .8rem;
}
.post-body h2:first-child { margin-top: 0; }
.post-body h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 1.8rem 0 .5rem;
}
.post-body p,
.post-body li {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
}
.post-body p { margin-bottom: 1rem; }
/* Lead paragraph — larger and darker to open the article with clear hierarchy */
.post-body > p:first-of-type {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 1.4rem;
}
.post-body ul,
.post-body ol { padding-left: 1.3rem; margin-bottom: 1rem; }
.post-body li { margin-bottom: .45rem; }
.post-body a { color: var(--ink); font-weight: 500; }
.post-body strong { color: var(--text); }
/* Pull-quote / key takeaway — markdown blockquote as a left-accented card */
.post-body blockquote {
  margin: 2rem 0;
  padding: 1.1rem 1.4rem;
  border-left: 4px solid var(--green);
  background: var(--green-mint);
  border-radius: var(--radius);
}
.post-body blockquote p { margin-bottom: 0; color: var(--text); }
.post-body blockquote p + p { margin-top: .8rem; }
/* Section-break rule */
.post-body hr {
  border: 0;
  height: 1px;
  background: var(--border);
  margin: 2.8rem auto;
}
/* Tag / topic chips at the foot of an article (reuses .platform-chips) */
.post-tags {
  margin-top: 2.8rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--border);
}
.post-tags-label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .2rem;
}
/* Post CTA reuses .cta-banner (forest gradient); scaled for the narrow column */
.post-cta { margin-top: 3rem; padding: 3.5rem 2rem; }
.post-cta h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.post-cta p { font-size: .97rem; }

/* Legal pages (privacy / terms) */
.legal { margin-top: 2.5rem; }
.legal h2 {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 2.6rem 0 .9rem;
}
.legal h2:first-child { margin-top: 0; }
.legal h3 {
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 1.8rem 0 .55rem;
}
.legal p,
.legal li {
  color: var(--text-muted);
  font-size: .97rem;
  line-height: 1.7;
}
.legal p { margin-bottom: .9rem; }
.legal ul { padding-left: 1.25rem; margin-bottom: .9rem; }
.legal li { margin-bottom: .45rem; }
.legal a { color: var(--ink); }
.legal strong { color: var(--text); }
.legal-updated {
  margin-top: 2.5rem;
  font-size: .85rem;
  color: var(--text-light);
}

.platform-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.platform-chip {
  background: var(--chip);
  border-radius: var(--radius-pill);
  padding: .4rem 1rem;
  font-size: .85rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Designs gate */
.gate-card {
  max-width: 420px;
  margin: 4rem auto;
  background: var(--white);
  border: 1px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.2rem;
  box-shadow: 3px 4px 0 rgba(27, 26, 31, .06);
}
.gate-card h1 { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: .5rem; }
.gate-card p { color: var(--text-muted); font-size: .92rem; margin-bottom: 1.4rem; }
.gate-card input[type="password"] {
  width: 100%;
  padding: .85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: .95rem;
  margin-bottom: 1rem;
}
.gate-card input[type="password"]:focus { outline: none; border-color: var(--ink); }

/* ── Responsive ───────────────────────────────────────────────────────────── */

@media (max-width: 960px) {
  .usp-grid, .process-grid { grid-template-columns: 1fr 1fr; }
  .tier-grid { grid-template-columns: 1fr; }
  .tier-featured { transform: none; }
  .story-card { grid-template-columns: 1fr; padding: 2.5rem 2rem 3rem; align-content: center; }
  .story-quote { text-align: center; }
  .story-meta {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .35rem;
  }
}

@media (max-width: 768px) {
  section { padding: 3.5rem 0; }

  .burger-btn { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 1.4rem);
    left: -1.5rem;
    right: -1.5rem;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.5rem 1.5rem;
    gap: 1.1rem;
    box-shadow: var(--shadow-md);
  }
  .nav-links.is-open { display: flex; }

  .hero h1 .nowrap { white-space: normal; }
  .br-md { display: none; }
  .section-title .nowrap,
  .section-intro .nowrap { white-space: normal; }

  .usp-grid, .process-grid { grid-template-columns: 1fr; }
  .about-layout { grid-template-columns: 1fr; gap: 1.8rem; }
  .faq-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .faq-cats { display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-legal { flex-direction: column; align-items: flex-start; gap: .6rem; }
}

/* ── Scroll reveal ──────────────────────────────────────────────────────────
   Subtle fade + slide-up as elements enter the viewport. Hiding rules are scoped
   under html.reveal-ready (added by scroll-reveal.js) so content is never hidden
   when JS is off. Stagger delay is set per-child by the script via --reveal-delay. */
html.reveal-ready [data-reveal],
html.reveal-ready [data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.9s cubic-bezier(0.65, 0, 0.35, 1),
    transform 0.9s cubic-bezier(0.65, 0, 0.35, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
html.reveal-ready [data-reveal].is-visible,
html.reveal-ready [data-reveal-stagger].is-visible > * {
  opacity: 1;
  transform: none;
}
/* Tier cards: keep the staggered 0.9s reveal entrance (opacity + transform), but give
   the hover-lift (translate) and shadow their own fast, un-delayed timeline. Placed
   after the reveal block so it wins the 0,3,1 specificity tie on source order. */
html.reveal-ready .tier-grid[data-reveal-stagger] > .tier-card {
  transition:
    opacity 0.9s cubic-bezier(0.65, 0, 0.35, 1) var(--reveal-delay, 0ms),
    transform 0.9s cubic-bezier(0.65, 0, 0.35, 1) var(--reveal-delay, 0ms),
    translate var(--transition),
    box-shadow var(--transition);
}
@media (prefers-reduced-motion: reduce) {
  html.reveal-ready [data-reveal],
  html.reveal-ready [data-reveal-stagger] > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
