/* Forbes Riley — brand site
   Layout: wide photo-led heroes, generous white space, one gold accent for every call to action,
   magenta reserved for SpinGym. Single light theme by design (set explicitly). */
:root {
  --paper: #fffdf9;
  --cream: #f7f0e4;
  --ink: #1b1619;
  --ink-soft: #3a3236;
  --mute: #6b6065;
  --line: #e6dccb;
  --gold: #b9892b;
  --gold-deep: #8d671a;
  --gold-pale: #f3e7c9;
  --pink: #d1267a;
  --pink-pale: #fbe7f1;
  --display: "Playfair Display", "Georgia", "Times New Roman", serif;
  --body: "Nunito Sans", "Helvetica Neue", Arial, sans-serif;
  --script: "Pinyon Script", "Snell Roundhand", cursive;
  --wrap: 1180px;
  --radius: 4px;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: 0; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.3rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
p { margin: 0; }
.lede { font-size: 1.2rem; line-height: 1.55; color: var(--ink-soft); max-width: 36em; }
.prose { max-width: 62ch; display: grid; gap: 1.1em; }
.prose p { color: var(--ink-soft); }
.prose h3 { margin-top: .6em; }
.eyebrow { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; margin-bottom: .9rem; }
.script { font-family: var(--script); font-size: 2.2rem; line-height: 1; color: var(--gold-deep); font-weight: 400; }
em.script { font-style: normal; font-size: 1.15em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.wrap { width: min(var(--wrap), 100% - 2rem); margin-inline: auto; }
.section { padding-block: clamp(4rem, 9vw, 8rem); }
.section-tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.cream { background: var(--cream); }
.dark { background: var(--ink); color: var(--paper); }
.dark .eyebrow { color: var(--gold); }
.dark .lede, .dark .prose p { color: #d9d0d4; }
.dark .script { color: var(--gold); }
.pinkwash { background: var(--pink-pale); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .95rem 1.7rem; border-radius: var(--radius); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: .82rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: var(--body); transition: transform .15s ease, background .15s ease, color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: linear-gradient(135deg, #d8b45a 0%, var(--gold) 55%, #9a7220 100%); color: #fff; border-color: transparent; box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.btn-gold:hover { filter: brightness(1.06); }
.btn-lg { padding: 1.15rem 2.2rem; font-size: .9rem; }
.btn-ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-ink:hover { background: #000; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.dark .btn-ghost { color: var(--paper); border-color: var(--paper); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.dark .btn-ghost:hover { background: var(--paper); color: var(--ink); }
.btn-pink { background: var(--pink); color: #fff; border-color: var(--pink); }
.btn-pink:hover { background: #ad1a62; border-color: #ad1a62; }
.btn-sm { padding: .6rem 1.1rem; font-size: .74rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.link { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.link:hover { color: var(--gold-deep); }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255, 253, 249, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 74px; }
.brand { text-decoration: none; display: flex; align-items: center; }
.brand-logo { height: 54px; width: auto; display: block; }
.brand-name { font-family: var(--display); font-size: 1.55rem; font-weight: 500; letter-spacing: .01em; }
.nav { display: flex; align-items: center; gap: 1.35rem; flex-wrap: wrap; justify-content: flex-end; }
.nav a { text-decoration: none; font-size: .9rem; font-weight: 600; color: var(--ink-soft); padding-block: .3rem; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"]:not(.btn) { color: var(--ink); border-bottom-color: var(--gold); }
.nav a.btn { color: #fff; border-bottom: 2px solid var(--gold); }
.nav-toggle, .nav-burger { display: none; }
@media (max-width: 1000px) {
  .nav-burger { display: grid; gap: 5px; width: 44px; height: 44px; place-content: center; cursor: pointer; }
  .nav-burger span { display: block; width: 24px; height: 2px; background: var(--ink); }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); padding: 1rem clamp(1rem, 4vw, 2rem) 1.5rem; flex-direction: column; align-items: flex-start; gap: .6rem; }
  .nav-toggle:checked ~ .nav { display: flex; }
  .nav a { font-size: 1.05rem; }
}

/* Hero (home) */
.hero { position: relative; isolation: isolate; color: var(--paper); background: var(--ink); overflow: hidden; }
.hero-img { position: absolute; inset: 0; z-index: -2; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(20, 14, 18, .88) 0%, rgba(20, 14, 18, .62) 45%, rgba(20, 14, 18, .18) 100%); }
.hero .wrap { padding-block: clamp(5rem, 12vw, 10rem) clamp(4rem, 9vw, 7rem); max-width: var(--wrap); }
.hero-copy { max-width: 42rem; display: grid; gap: 1.4rem; }
.hero-copy h1 { font-weight: 600; text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.hero-copy h1 em { font-style: italic; font-weight: 500; color: #e2c266; }
.hero-copy .lede { color: #e9e1e4; }
.hero .btn-ghost { color: var(--paper); border-color: var(--paper); }
.hero .btn-ghost:hover { background: var(--paper); color: var(--ink); }
.hero-sig { width: min(320px, 70%); height: auto; margin-bottom: .4rem; }
.hero-badge { display: inline-flex; align-items: center; gap: .6rem; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--gold); }
.hero-badge::before { content: ""; width: 2.2rem; height: 1px; background: var(--gold); }

/* Page hero (interior) */
.page-hero { padding-block: clamp(3.5rem, 8vw, 6rem) clamp(2.5rem, 5vw, 4rem); }
.page-hero h1 { max-width: 14em; }
.page-hero .lede { margin-top: 1.2rem; }
.page-hero-split { display: grid; gap: 2.5rem; align-items: end; grid-template-columns: 1.2fr .8fr; }
.page-hero-split img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 15%; width: 100%; }
@media (max-width: 760px) { .page-hero-split { grid-template-columns: 1fr; } }

/* Proof strip */
.proof { border-block: 1px solid var(--line); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-item { padding: 1.6rem 1.4rem; border-left: 1px solid var(--line); display: grid; gap: .25rem; }
.proof-item:first-child { border-left: 0; }
.proof-num { font-family: var(--display); font-size: 2.2rem; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.proof-label { font-size: .85rem; color: var(--mute); }
@media (max-width: 760px) { .proof-grid { grid-template-columns: 1fr 1fr; } .proof-item:nth-child(3) { border-left: 0; } .proof-item { padding: 1.2rem 1rem; } }

/* Split sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split.rev > :first-child { order: 2; }
.split img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; }
.split img.wide { aspect-ratio: 4 / 3; }
.split-copy { display: grid; gap: 1.3rem; }
.split img.sig-inline, .sig-inline { width: 150px; height: auto; aspect-ratio: auto; object-fit: contain; justify-self: start; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }

/* Cards */
.cards { display: grid; gap: 1.6rem; grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card { display: grid; gap: .8rem; align-content: start; text-decoration: none; min-width: 0; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card h3 { font-size: 1.25rem; line-height: 1.3; }
.card p { color: var(--ink-soft); font-size: .98rem; }
.card .kicker { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; }
a.card:hover h3 { color: var(--gold-deep); }
.card.boxed { background: var(--paper); border: 1px solid var(--line); padding: 1.6rem; }
.cream .card.boxed { background: #fff; }
.card.boxed.tall { padding: 2rem; }
@media (max-width: 900px) { .cards, .cards-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards, .cards-2, .cards-4 { grid-template-columns: 1fr; } }

/* Section heading row */
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: clamp(1.8rem, 4vw, 3rem); flex-wrap: wrap; }
.sec-head .lede { margin-top: .7rem; }

/* Quotes */
.quote { display: grid; gap: 1.2rem; max-width: 50rem; margin-inline: auto; text-align: center; }
.quote blockquote { margin: 0; font-family: var(--display); font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.4; font-style: italic; font-weight: 500; }
.quote cite { font-style: normal; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; }
.dark .quote cite { color: var(--gold); }
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.quote-grid .q { background: var(--paper); border: 1px solid var(--line); padding: 1.8rem; display: grid; gap: 1rem; align-content: start; }
.quote-grid blockquote { margin: 0; font-family: var(--display); font-size: 1.15rem; line-height: 1.45; font-style: italic; font-weight: 500; }
.quote-grid cite { font-style: normal; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; }
@media (max-width: 820px) { .quote-grid { grid-template-columns: 1fr; } }

/* Logo strip */
.logos { display: flex; flex-wrap: wrap; gap: .8rem 2.4rem; justify-content: center; align-items: center; }
.logos span { font-family: var(--display); font-size: 1.2rem; letter-spacing: .02em; color: var(--mute); font-weight: 600; }

/* Timeline */
.timeline { display: grid; gap: 0; border-left: 2px solid var(--gold-pale); margin-left: .5rem; }
.tl { display: grid; grid-template-columns: 7rem 1fr; gap: 1.5rem; padding: 1.2rem 0 1.2rem 1.6rem; position: relative; }
.tl::before { content: ""; position: absolute; left: -7px; top: 1.75rem; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); }
.tl time { font-family: var(--display); font-size: 1.2rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.tl p { color: var(--ink-soft); }
.tl strong { display: block; color: var(--ink); font-weight: 700; }
@media (max-width: 560px) { .tl { grid-template-columns: 1fr; gap: .3rem; } }

/* Photo grid / gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 20%; }
.gallery .span2 { grid-column: span 2; grid-row: span 2; }
.gallery .span2 img { aspect-ratio: auto; height: 100%; }
@media (max-width: 700px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* Lists */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.checks li { padding-left: 1.8rem; position: relative; color: var(--ink-soft); }
.checks li::before { content: ""; position: absolute; left: 0; top: .55em; width: .9rem; height: .5rem; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.2rem; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; counter-increment: s; }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--display); font-size: 1.6rem; color: var(--gold); line-height: 1.1; grid-row: 1 / span 2; }
.steps li > * { grid-column: 2; }
.steps strong { display: block; }
.steps p { color: var(--ink-soft); }

/* Event blocks */
.event { display: grid; grid-template-columns: 11rem 1fr auto; gap: 2rem; align-items: center; padding: 1.8rem 0; border-top: 1px solid var(--line); }
.event:last-child { border-bottom: 1px solid var(--line); }
.event .when { font-family: var(--display); font-size: 1.35rem; font-weight: 600; line-height: 1.2; }
.event .when small { display: block; font-family: var(--body); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; margin-top: .3rem; }
.event p { color: var(--ink-soft); }
@media (max-width: 760px) { .event { grid-template-columns: 1fr; gap: .8rem; } }

/* Journal */
.journal-feature { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; align-items: center; margin-bottom: 3rem; }
.journal-feature img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 820px) { .journal-feature { grid-template-columns: 1fr; } }
.filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter button { font: inherit; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .5rem 1rem; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; cursor: pointer; color: var(--ink-soft); }
.filter button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.article { max-width: 68ch; margin-inline: auto; display: grid; gap: 1.2rem; }
.article img { margin-block: 1rem; }

/* Recipes */
.recipe { background: #fff; border: 1px solid var(--line); padding: 1.8rem; display: grid; gap: 1rem; align-content: start; }
.recipe h3 { font-size: 1.4rem; }
.recipe ul { margin: 0; padding-left: 1.1rem; color: var(--ink-soft); font-size: .95rem; display: grid; gap: .25rem; }
.recipe .meta { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; }

/* Press */
.press-list { display: grid; gap: 0; }
.press-item { display: grid; grid-template-columns: 9rem 1fr; gap: 1.5rem; padding: 1.2rem 0; border-top: 1px solid var(--line); }
.press-item:last-child { border-bottom: 1px solid var(--line); }
.press-item .outlet { font-weight: 700; }
.press-item p { color: var(--ink-soft); }
@media (max-width: 560px) { .press-item { grid-template-columns: 1fr; gap: .2rem; } }
.copyblock { background: #fff; border: 1px solid var(--line); padding: 1.6rem; display: grid; gap: .8rem; align-content: start; }
.copyblock p { color: var(--ink-soft); font-size: .98rem; }
.copyblock > * { justify-self: start; }
.copyblock p { justify-self: stretch; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 1rem; }
.form label { display: grid; gap: .35rem; font-size: .85rem; font-weight: 700; letter-spacing: .04em; }
.form input, .form select, .form textarea, .signup-form input { font: inherit; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); width: 100%; }
.form textarea { min-height: 8rem; resize: vertical; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.contact-aside { display: grid; gap: 1.6rem; align-content: start; }
.contact-aside h3 { font-size: 1.25rem; }
.contact-aside p { color: var(--ink-soft); }
.thanks { font-weight: 700; color: var(--gold-deep); }

/* Signup band + footer */
.signup { background: var(--gold-pale); padding-block: clamp(3rem, 6vw, 5rem); }
.signup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.signup-grid p { color: var(--ink-soft); margin-top: .8rem; }
.signup-cta { display: grid; gap: .9rem; justify-items: start; }
.signup-cta .fine { font-size: .85rem; color: var(--mute); margin: 0; }
@media (max-width: 820px) { .signup-grid { grid-template-columns: 1fr; } }
.site-footer { background: var(--ink); color: #cfc4c9; padding-block: 3.5rem 2rem; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 2fr; gap: 3rem; }
.foot-brand { display: grid; gap: .9rem; align-content: start; justify-items: start; }
.foot-monogram { width: 92px; height: auto; }
.foot-signature { width: 190px; height: auto; }
.foot-tag { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.foot-contact { font-size: .95rem; line-height: 1.7; }
.foot-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.foot-nav div { display: grid; gap: .5rem; align-content: start; }
.foot-nav a { text-decoration: none; color: #cfc4c9; font-size: .95rem; }
.foot-nav a:hover { color: var(--paper); }
.foot-head { color: var(--gold); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; margin-bottom: .3rem; }
.foot-base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid #3a3136; font-size: .8rem; color: #9a8f94; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .foot-nav { grid-template-columns: 1fr 1fr; } }

/* Small helpers */
.stack { display: grid; gap: 1.4rem; }
.stack-lg { display: grid; gap: clamp(2.5rem, 6vw, 5rem); }
.center { text-align: center; }
.center .lede, .center .prose { margin-inline: auto; }
.mt { margin-top: 2rem; }
.card .tag, .card .kicker { justify-self: start; }
.tag { display: inline-block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--pink); background: var(--pink-pale); padding: .3rem .7rem; border-radius: 999px; }
.tag.gold { color: var(--gold-deep); background: var(--gold-pale); }
.num { font-family: var(--display); font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; color: var(--gold-deep); font-variant-numeric: tabular-nums; }
.dark .num { color: var(--gold); }
.caption { font-size: .82rem; color: var(--mute); margin-top: .5rem; }
.breadcrumb { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--mute); margin-bottom: 1.2rem; }
.breadcrumb a { text-decoration: none; color: var(--gold-deep); }

/* Posts and archive pages */
.post-head { padding-block: clamp(3rem, 7vw, 5rem) 1.5rem; max-width: 60rem; }
.post-head h1 { font-size: clamp(2rem, 5vw, 3.6rem); }
.post-meta { color: var(--mute); font-size: .9rem; margin-top: 1rem; }
.post-body { max-width: 60rem; padding-bottom: clamp(3rem, 7vw, 5rem); }
.post-hero { width: 100%; max-height: 34rem; object-fit: cover; margin-bottom: 2rem; }
.prose-wide { display: grid; gap: 1.1em; max-width: 68ch; color: var(--ink-soft); }
.prose-wide h1, .prose-wide h2, .prose-wide h3, .prose-wide h4 { color: var(--ink); margin-top: .8em; }
.prose-wide h2 { font-size: 1.8rem; } .prose-wide h3 { font-size: 1.4rem; } .prose-wide h4 { font-size: 1.15rem; }
.prose-wide img { margin-block: .6rem; max-height: 40rem; object-fit: contain; object-position: left; }
.prose-wide ul, .prose-wide ol { padding-left: 1.3rem; display: grid; gap: .3rem; }
.prose-wide blockquote { margin: 0; padding-left: 1.2rem; border-left: 3px solid var(--gold); font-family: var(--display); font-size: 1.15rem; font-weight: 500; font-style: italic; color: var(--ink); }
.prose-wide table { border-collapse: collapse; font-size: .95rem; }
.prose-wide td, .prose-wide th { border: 1px solid var(--line); padding: .4rem .7rem; vertical-align: top; }
.prose-wide a { color: var(--gold-deep); }
.embed-card { display: inline-block; }
.embed-card a, a.embed-card { display: inline-flex; gap: .5rem; align-items: center; padding: .7rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-weight: 700; color: var(--ink); background: #fff; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.post-nav a { text-decoration: none; font-family: var(--display); font-size: 1.05rem; font-weight: 600; display: grid; gap: .2rem; min-width: 0; }
.post-nav a:last-child { text-align: right; }
.post-nav small { font-family: var(--body); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; }
.journal-tools { display: grid; grid-template-columns: 1fr auto; gap: .8rem 1rem; align-items: center; margin-bottom: 1.5rem; max-width: 46rem; }
.journal-tools input, .journal-tools select { font: inherit; padding: .9rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; width: 100%; color: var(--ink); }
.journal-tools select { min-width: 14rem; }
.journal-tools .caption { grid-column: 1 / -1; margin: 0; }
@media (max-width: 560px) { .journal-tools { grid-template-columns: 1fr; } }
.journal-tools .filter { margin-bottom: 0; }
.year { font-size: 1.8rem; color: var(--gold-deep); margin: 2.5rem 0 1rem; padding-bottom: .4rem; border-bottom: 1px solid var(--line); }
.post-list { display: grid; gap: 0; }
.post-row { display: grid; grid-template-columns: 9rem 1fr; gap: 1.4rem; padding: 1.1rem 0; border-top: 1px solid var(--line); text-decoration: none; align-items: center; }
.post-row:last-child { border-bottom: 1px solid var(--line); }
.post-row img, .post-row .noimg { width: 9rem; aspect-ratio: 4 / 3; object-fit: cover; background: var(--cream); display: block; }
.post-row.slim { grid-template-columns: 1fr; }
.post-row-body { display: grid; gap: .25rem; min-width: 0; grid-column: 2; }
@media (max-width: 560px) { .post-row-body { grid-column: 1; } }
.post-row.slim .post-row-body { grid-column: 1; }
.post-row.no-thumb { grid-template-columns: 1fr; }
.post-row.no-thumb .post-row-body { grid-column: 1; }
.post-row h3 { font-size: 1.2rem; line-height: 1.3; }
.post-row p { color: var(--ink-soft); font-size: .95rem; }
.post-row:hover h3 { color: var(--gold-deep); }
@media (max-width: 560px) { .post-row { grid-template-columns: 1fr; gap: .6rem; } .post-row img, .post-row .noimg { width: 100%; } .post-nav { grid-template-columns: 1fr; } .post-nav a:last-child { text-align: left; } }
.photo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin-block: 1rem; }
.photo-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin: 0; max-height: none; }
.photo-grid img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
@media (max-width: 560px) { .photo-grid { grid-template-columns: 1fr; } }

/* Category tiles carried over from the original Forbes Factor home page */
.tiles { display: grid; grid-template-columns: repeat(8, 1fr); gap: .9rem; }
@media (max-width: 760px) {
  /* phones: one swipeable row, like a shelf of cards */
  .tiles { display: flex; gap: .7rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .2rem 0 .8rem; margin-inline: calc(50% - 50vw); padding-inline: 1rem; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
  .tiles .tile { flex: 0 0 138px; scroll-snap-align: start; }
  .tiles-hint { display: block !important; font-size: .78rem; color: var(--mute); margin: 0 0 .6rem; }
}
.tiles-hint { display: none; }
.tile { display: block; background: #fff; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
.tile img { width: 100%; height: auto; display: block; }
.tile:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(27,22,25,.12); }
.tiles-wrap { padding-top: 0; }

/* The Forbes Factor band (home) */
.factor { background: #fff; border-top: 1px solid var(--line); }
.factor-banner { width: min(900px, 100%); height: auto; margin: 0 auto 1.5rem; display: block; }
.factor-intro { text-align: center; max-width: 44rem; margin: 0 auto 2.2rem; display: grid; gap: .8rem; justify-items: center; }
.factor-intro h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.factor-intro h2::after { content: ""; display: block; width: 3rem; height: 3px; background: var(--gold); margin: .9rem auto 0; }
.factor-cta { justify-content: center; margin-top: 2rem; }

/* Reader comments carried over from the original site */
.comments { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); max-width: 68ch; }
.comments h2 { font-size: 1.3rem; margin-bottom: 1rem; }
.comments ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.comments li { background: var(--cream); padding: 1rem 1.2rem; border-radius: var(--radius); }
.comments .c-meta { font-size: .82rem; color: var(--mute); margin-bottom: .3rem; }
.comments li p:last-child { color: var(--ink-soft); font-size: .97rem; }

/* Sparkle on the Forbes Factor banner */
.factor-art { position: relative; width: min(900px, 100%); margin: 0 auto 1.5rem; isolation: isolate; }
.factor-art .factor-banner { margin: 0; width: 100%; }
.sparkle { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); pointer-events: none;
  background: radial-gradient(circle, #fff 0 22%, #e9c75a 45%, rgba(233,199,90,0) 72%);
  filter: drop-shadow(0 0 4px rgba(233,199,90,.9)) drop-shadow(0 0 10px rgba(233,199,90,.5));
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  opacity: 0; transform: scale(.3) rotate(0deg); animation: twinkle var(--d) ease-in-out var(--dl) infinite; }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.3) rotate(0deg); } 50% { opacity: 1; transform: scale(1.15) rotate(25deg); } }
.sheen { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light;
  background: linear-gradient(105deg, rgba(255,255,255,0) 35%, rgba(255,250,220,.9) 48%, rgba(255,255,255,0) 60%);
  background-size: 250% 100%; animation: sheen 7s ease-in-out infinite; }
@keyframes sheen { 0% { background-position: 120% 0; } 60%, 100% { background-position: -40% 0; } }
@media (prefers-reduced-motion: reduce) { .sparkle { animation: none; opacity: .8; transform: scale(.8); } .sheen { animation: none; display: none; } }

figure.cap { margin: .6rem 0 1rem; }
figure.cap img { margin: 0; }
figure.cap figcaption { font-size: .85rem; color: var(--mute); margin-top: .4rem; font-style: italic; }

/* Photo archive */
.photo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .5rem; margin-bottom: 2rem; }
.photo-wall .ph { display: block; aspect-ratio: 1; overflow: hidden; background: var(--cream); border-radius: 3px; }
.photo-wall img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s ease; }
.photo-wall .ph:hover img { transform: scale(1.04); }
.filter button small { font-weight: 400; opacity: .7; margin-left: .2rem; }

.archive-links { margin-bottom: 2.5rem; }
.archive-links .card h3 { font-size: 1.1rem; }
