/*
 * TwistFolio Confectionery Almanac — Asymmetric Bento & Editorial Stylesheet
 * System Typography Pairing: Serif Display + Crisp Geometric Sans Body
 */

:root {
  --paper-cream: #FFFBF6;
  --paper-peach: #FFF2E6;
  --paper-mint: #EBF9F6;
  --paper-lilac: #F4EEFF;
  --card-surface: #FFFFFF;
  --plum-ink: #2A1B2E;
  --plum-muted: #5A465C;
  --raspberry-accent: #D93B52;
  --raspberry-deep: #AD2439;
  --tangerine-glow: #FF8C42;
  --mint-ribbon: #189A8B;
  --mint-soft: #CCF2EC;
  --butter-tint: #FFE69E;
  --border-warm: #E8D7CA;
  --border-strong: #2A1B2E;
  --shadow-soft: 0 14px 34px rgba(42, 27, 46, 0.07);
  --shadow-crisp: 4px 4px 0 rgba(42, 27, 46, 0.9);
  --font-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-pill: 999px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--paper-cream);
  color: var(--plum-ink);
  font-family: var(--font-sans);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--raspberry-deep);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

a:hover,
a:focus-visible {
  color: var(--plum-ink);
}

[hidden] {
  display: none !important;
}

.tf-skip-anchor {
  position: absolute;
  top: -120px;
  left: 16px;
  background-color: var(--plum-ink);
  color: var(--card-surface);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  z-index: 900;
  font-weight: 600;
  text-decoration: none;
}

.tf-skip-anchor:focus {
  top: 16px;
}

/* Top Issue Ribbon */
.tf-edition-strip {
  background-color: var(--plum-ink);
  color: #FCEFE5;
  font-size: 0.84rem;
  padding: 9px 20px;
  letter-spacing: 0.03em;
}

.tf-edition-inner {
  max-width: 1220px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.tf-edition-pill {
  background-color: var(--raspberry-accent);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-right: 8px;
}

/* Masthead Navigation */
.tf-masthead {
  position: sticky;
  top: 0;
  z-index: 200;
  background-color: rgba(255, 251, 246, 0.96);
  border-bottom: 2px solid var(--border-warm);
  backdrop-filter: blur(8px);
}

.tf-masthead-shell {
  max-width: 1220px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.tf-crest-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.tf-crest-img {
  width: 174px;
  height: 54px;
}

.tf-nav-toggle {
  display: none;
  background-color: var(--card-surface);
  color: var(--plum-ink);
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.tf-ribbon-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.tf-ribbon-nav a {
  text-decoration: none;
  color: var(--plum-ink);
  font-weight: 600;
  font-size: 0.93rem;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
}

.tf-ribbon-nav a:hover,
.tf-ribbon-nav a:focus-visible {
  background-color: var(--paper-peach);
  border-color: var(--border-warm);
}

.tf-ribbon-nav a.tf-nav-highlight {
  background-color: var(--mint-soft);
  color: #0E5E54;
  border-color: #93DBD0;
}

/* Main Layout Frame */
.tf-folio-frame {
  max-width: 1220px;
  margin: 0 auto;
  padding: 36px 24px 72px;
}

/* Hero Asymmetric Split Showcase */
.tf-hero-bento {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 52px;
}

.tf-hero-story {
  background: linear-gradient(145deg, #FFFFFF 0%, #FFF4EA 100%);
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 42px 40px;
  box-shadow: var(--shadow-crisp);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tf-kicker-tag {
  display: inline-block;
  align-self: flex-start;
  background-color: var(--butter-tint);
  color: var(--plum-ink);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.tf-hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 3.6vw, 3.15rem);
  line-height: 1.15;
  margin: 0 0 18px;
  color: var(--plum-ink);
  letter-spacing: -0.015em;
}

.tf-hero-lead {
  font-size: 1.08rem;
  color: var(--plum-muted);
  margin: 0 0 26px;
  max-width: 58ch;
}

.tf-cta-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.tf-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--raspberry-accent);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.96rem;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--border-strong);
  text-decoration: none;
  box-shadow: 3px 3px 0 var(--border-strong);
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.tf-btn-primary:hover,
.tf-btn-primary:focus-visible {
  background-color: var(--raspberry-deep);
  color: #FFFFFF;
  transform: translate(-1px, -1px);
}

.tf-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--card-surface);
  color: var(--plum-ink);
  font-weight: 700;
  font-size: 0.96rem;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--border-strong);
  text-decoration: none;
}

.tf-btn-secondary:hover,
.tf-btn-secondary:focus-visible {
  background-color: var(--paper-mint);
}

.tf-hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-top: 22px;
  border-top: 1.5px dashed var(--border-warm);
}

.tf-metric-tile strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--plum-ink);
}

.tf-metric-tile span {
  font-size: 0.83rem;
  color: var(--plum-muted);
}

.tf-hero-showcase-card {
  background-color: var(--paper-peach);
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-crisp);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0;
}

.tf-hero-showcase-card img {
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-warm);
  width: 100%;
  height: auto;
}

.tf-hero-caption {
  font-size: 0.86rem;
  color: var(--plum-muted);
  padding: 14px 6px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.tf-caption-badge {
  background-color: var(--card-surface);
  border: 1px solid var(--border-warm);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--mint-ribbon);
  white-space: nowrap;
}

/* Section Headers */
.tf-chapter-heading {
  margin-bottom: 28px;
}

.tf-chapter-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mint-ribbon);
  margin: 0 0 8px;
}

.tf-chapter-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 2.8vw, 2.4rem);
  line-height: 1.22;
  margin: 0 0 12px;
  color: var(--plum-ink);
}

.tf-chapter-deck {
  font-size: 1.04rem;
  color: var(--plum-muted);
  max-width: 70ch;
  margin: 0;
}

/* Bento Editorial Trio Grid */
.tf-pillar-section {
  margin-bottom: 64px;
}

.tf-bento-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tf-editorial-card {
  background-color: var(--card-surface);
  border: 2px solid var(--border-warm);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.tf-card-art-wrap {
  margin: 0;
  padding: 16px 16px 0;
}

.tf-card-art-wrap img {
  border-radius: var(--radius-md);
  width: 100%;
  height: auto;
}

.tf-card-prose {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tf-card-tag {
  align-self: flex-start;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background-color: var(--paper-lilac);
  color: #552CB8;
  margin-bottom: 12px;
}

.tf-card-prose h3 {
  font-family: var(--font-serif);
  font-size: 1.38rem;
  margin: 0 0 10px;
  line-height: 1.3;
}

.tf-card-prose p {
  margin: 0 0 16px;
  color: var(--plum-muted);
  font-size: 0.96rem;
}

.tf-bullet-notes {
  margin: auto 0 0;
  padding: 14px 0 0 18px;
  border-top: 1px solid var(--border-warm);
  font-size: 0.89rem;
  color: var(--plum-ink);
}

.tf-bullet-notes li {
  margin-bottom: 6px;
}

/* Deep-Dive Feature Spread: Pressed Tablets vs Hard-Crack Lollies */
.tf-alchemy-spread {
  background: linear-gradient(135deg, var(--paper-mint) 0%, #FFF9F2 100%);
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 64px;
  box-shadow: var(--shadow-crisp);
}

.tf-spread-columns {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 32px;
  align-items: center;
}

.tf-spread-figure {
  margin: 0;
}

.tf-spread-figure img {
  border-radius: var(--radius-md);
  border: 2px solid var(--border-warm);
  background-color: var(--card-surface);
}

.tf-spread-figure figcaption {
  font-size: 0.84rem;
  color: var(--plum-muted);
  margin-top: 10px;
}

.tf-comparison-ledger {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 22px;
}

.tf-ledger-box {
  background-color: var(--card-surface);
  border: 1.5px solid var(--border-warm);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.tf-ledger-box h4 {
  font-family: var(--font-serif);
  margin: 0 0 6px;
  font-size: 1.08rem;
  color: var(--plum-ink);
}

.tf-ledger-box p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--plum-muted);
}

/* Interactive Widget 1: Botanical & Fruit Pairing Explorer */
.tf-widget-pavilion {
  background-color: var(--card-surface);
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 38px;
  margin-bottom: 64px;
  box-shadow: var(--shadow-crisp);
}

.tf-pairing-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: start;
  margin-top: 24px;
}

.tf-chord-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.tf-chord-btn {
  background-color: var(--paper-cream);
  color: var(--plum-ink);
  border: 2px solid var(--border-warm);
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
}

.tf-chord-btn:hover,
.tf-chord-btn:focus-visible {
  border-color: var(--plum-ink);
  background-color: var(--paper-peach);
}

.tf-chord-btn.is-selected-chord {
  background-color: var(--plum-ink);
  color: #FFFFFF;
  border-color: var(--plum-ink);
}

.tf-tasting-dossier {
  background-color: var(--paper-cream);
  border: 2px solid var(--border-warm);
  border-radius: var(--radius-md);
  padding: 26px;
}

.tf-dossier-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.tf-dossier-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin: 0;
}

.tf-dossier-ribbon {
  background-color: var(--butter-tint);
  color: var(--plum-ink);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
}

.tf-dossier-summary {
  color: var(--plum-muted);
  margin: 0 0 20px;
  font-size: 0.98rem;
}

.tf-dossier-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.tf-spec-cell {
  background-color: var(--card-surface);
  border: 1px solid var(--border-warm);
  border-radius: 12px;
  padding: 12px 14px;
}

.tf-spec-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--raspberry-deep);
  margin-bottom: 4px;
}

.tf-spec-value {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--plum-ink);
}

.tf-pairing-art {
  margin: 0;
}

.tf-pairing-art img {
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-warm);
}

/* Interactive Widget 2: Seasonal Batch & Jar Ratio Estimator */
.tf-batch-atelier {
  background: linear-gradient(140deg, #FFF3E8 0%, #FCE9EC 100%);
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 38px;
  margin-bottom: 64px;
  box-shadow: var(--shadow-crisp);
}

.tf-atelier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 24px;
  align-items: start;
}

.tf-control-stack {
  background-color: var(--card-surface);
  border: 2px solid var(--border-warm);
  border-radius: var(--radius-md);
  padding: 24px;
}

.tf-step-label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--plum-ink);
  margin: 0 0 10px;
}

.tf-choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.tf-choice-row:last-child {
  margin-bottom: 0;
}

.tf-tier-chip,
.tf-venue-chip {
  background-color: var(--paper-cream);
  color: var(--plum-ink);
  border: 1.8px solid var(--border-warm);
  border-radius: 12px;
  padding: 9px 15px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.tf-tier-chip:hover,
.tf-venue-chip:hover {
  border-color: var(--plum-ink);
}

.tf-tier-chip.is-picked-tier,
.tf-venue-chip.is-picked-venue {
  background-color: var(--mint-ribbon);
  color: #FFFFFF;
  border-color: var(--plum-ink);
}

.tf-blueprint-board {
  background-color: var(--card-surface);
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 26px;
}

.tf-blueprint-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1.5px dashed var(--border-warm);
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.tf-blueprint-top h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin: 0;
}

.tf-total-counter {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--raspberry-accent);
}

.tf-ratio-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.tf-ratio-stat {
  background-color: var(--paper-cream);
  border: 1px solid var(--border-warm);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}

.tf-ratio-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--plum-ink);
}

.tf-ratio-caption {
  font-size: 0.78rem;
  color: var(--plum-muted);
}

.tf-vessel-note {
  margin: 0;
  background-color: var(--paper-mint);
  border-left: 4px solid var(--mint-ribbon);
  padding: 12px 15px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--plum-ink);
}

/* Pantry & Seasonal Dual Editorial Showcase */
.tf-curated-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 56px;
}

.tf-duo-article {
  background-color: var(--card-surface);
  border: 2px solid var(--border-warm);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.tf-duo-article figure {
  margin: 0 0 20px;
}

.tf-duo-article img {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-warm);
}

.tf-duo-article h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin: 0 0 12px;
}

.tf-duo-article p {
  color: var(--plum-muted);
  margin: 0 0 14px;
}

/* Reference Matrix Table */
.tf-etiquette-ledger {
  background-color: var(--card-surface);
  border: 2px solid var(--border-warm);
  border-radius: var(--radius-lg);
  padding: 34px;
  margin-bottom: 24px;
}

.tf-table-scroll {
  overflow-x: auto;
  margin-top: 20px;
}

.tf-candy-matrix {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}

.tf-candy-matrix th,
.tf-candy-matrix td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-warm);
}

.tf-candy-matrix th {
  background-color: var(--paper-peach);
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--plum-ink);
}

.tf-candy-matrix tr:last-child td {
  border-bottom: none;
}

/* Legal & Subpage Prose Styling */
.tf-subpage-shell {
  max-width: 880px;
  margin: 0 auto;
  padding: 44px 24px 80px;
}

.tf-subpage-card {
  background-color: var(--card-surface);
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-crisp);
}

.tf-subpage-meta {
  display: inline-block;
  background-color: var(--paper-mint);
  color: #0F6358;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.tf-subpage-card h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin: 0 0 18px;
  line-height: 1.2;
}

.tf-subpage-card h2 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin: 32px 0 12px;
  color: var(--plum-ink);
}

.tf-subpage-card p,
.tf-subpage-card li {
  color: var(--plum-muted);
  font-size: 1rem;
}

.tf-subpage-card ul {
  padding-left: 22px;
}

.tf-desk-callout {
  background-color: var(--paper-peach);
  border: 1.5px solid var(--border-warm);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin-top: 28px;
}

.tf-desk-callout h3 {
  font-family: var(--font-serif);
  margin: 0 0 8px;
}

/* Comprehensive Footer */
.tf-colophon {
  background-color: var(--plum-ink);
  color: #F7EAE1;
  border-top: 4px solid var(--raspberry-accent);
  padding: 56px 24px 36px;
}

.tf-colophon-grid {
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.tf-colophon-brand p {
  color: #D8C5DA;
  font-size: 0.93rem;
  max-width: 38ch;
  margin: 14px 0 0;
}

.tf-colophon h4 {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  color: #FFE69E;
  margin: 0 0 14px;
}

.tf-colophon-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tf-colophon-links li {
  margin-bottom: 9px;
}

.tf-colophon-links a,
.tf-colophon-desk a {
  color: #FCEFE5;
  text-decoration: none;
  font-size: 0.92rem;
}

.tf-colophon-links a:hover,
.tf-colophon-desk a:hover {
  color: var(--butter-tint);
  text-decoration: underline;
}

.tf-colophon-desk p {
  margin: 0 0 8px;
  font-size: 0.92rem;
  color: #D8C5DA;
}

.tf-colophon-base {
  max-width: 1220px;
  margin: 24px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.84rem;
  color: #C7B2C9;
}

/* Storage / Cookie Consent Notice Banner */
.tf-storage-toast {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 780px;
  margin: 0 auto;
  background-color: var(--plum-ink);
  color: #FFFDF9;
  border: 2px solid var(--butter-tint);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  z-index: 600;
  box-shadow: 0 18px 40px rgba(20, 11, 23, 0.35);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.tf-storage-copy {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  flex: 1 1 420px;
  color: #F4E6EC;
}

.tf-storage-copy a {
  color: var(--butter-tint);
  font-weight: 600;
}

.tf-storage-actions {
  display: flex;
  gap: 10px;
}

.tf-consent-btn {
  background-color: var(--butter-tint);
  color: var(--plum-ink);
  border: none;
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
}

.tf-consent-btn:hover,
.tf-consent-btn:focus-visible {
  background-color: #FFD76B;
}

.tf-consent-secondary {
  background-color: transparent;
  color: #FFFDF9;
  border: 1.5px solid rgba(255, 253, 249, 0.55);
  border-radius: var(--radius-pill);
  padding: 9px 16px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.86rem;
  cursor: pointer;
}

/* Responsive Breakpoints */
@media (max-width: 980px) {
  .tf-hero-bento,
  .tf-spread-columns,
  .tf-pairing-layout,
  .tf-atelier-grid,
  .tf-curated-duo {
    grid-template-columns: 1fr;
  }

  .tf-bento-trio {
    grid-template-columns: 1fr 1fr;
  }

  .tf-colophon-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .tf-nav-toggle {
    display: inline-block;
  }

  .tf-ribbon-nav {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 10px;
  }

  .tf-ribbon-nav[hidden] {
    display: none !important;
  }

  .tf-bento-trio,
  .tf-hero-metrics,
  .tf-comparison-ledger,
  .tf-dossier-specs,
  .tf-ratio-cards,
  .tf-colophon-grid {
    grid-template-columns: 1fr;
  }

  .tf-hero-story,
  .tf-alchemy-spread,
  .tf-widget-pavilion,
  .tf-batch-atelier,
  .tf-subpage-card {
    padding: 26px 20px;
  }
}
