/* ============================================================
   SOFT MAN BRAND — Design System v10
   
   COLOR LOGIC:
   - Every section background:      #F2EDE5  (lifted warm linen)
   - Chrome (nav, dividers, footer): #EAE4D8  (earthy cream)
   - Chrome border/divider:         #1C1510  (near-black dark brown)
   - All structural borders/rules:  #1C1510  (near-black dark brown)
   - Button:                        #B08D57  (gold) with dark text
   - Plum commitment strip:         REMOVED
   - Gold Star cards:               #0D0D0D  (their own world)
   ============================================================ */

:root {
  /* Page — every section background */
  --bg:             #F2EDE5;
  --bg-alt:         #F2EDE5;
  --surface:        #F2EDE5;
  
  /* Chrome — nav, section dividers, footer */
  --chrome:         #EAE4D8;
  --chrome-dark:    #D4CCBF;

  /* Structural borders — near-black dark brown */
  --rule:           #1C1510;
  --rule-light:     rgba(28, 21, 16, 0.18);

  /* Text */
  --text:           #1E1E18;
  --text-muted:     #6B5B50;
  --text-faint:     #9A8878;

  /* Gold */
  --gold:           #B08D57;
  --gold-light:     #CDA96E;
  --gold-dim:       rgba(176, 141, 87, 0.45);

  /* Button — gold bg, near-black text */
  --btn-bg:         #B08D57;
  --btn-hover:      #9A7A48;
  --btn-text:       #1C1510;

  /* Gold Star world */
  --gs-bg:          #0D0D0D;
  --gs-surface:     #1A1A1A;
  --gs-border:      #2C2C2C;
  --gs-border-hvr:  #B08D57;
  --gs-text:        #FFFFFF;
  --gs-muted:       #999999;
  --gs-gold:        #B08D57;
  --gs-gold-lt:     #CDA96E;

  /* Type */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* Layout */
  --max-w:      1100px;
  --max-narrow: 680px;
  --r-sm:       0.375rem;
  --r-md:       0.75rem;
  --r-lg:       1.25rem;

  --shadow-card: 0 2px 14px rgba(30,20,10,0.08);
  --shadow-gs:   0 8px 40px rgba(0,0,0,0.55);
  --ease:        180ms cubic-bezier(0.16,1,0.3,1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; scroll-padding-top: 68px; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  min-height: 100dvh;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: none; font: inherit; color: inherit; }

/* SVG seals inherit text color — on cream bg = near-black lines */
.nav-seal,
.hero-seal-main,
.hero-flank-seal,
.hero-bottom-seal,
.seal-meaning-mark img,
.footer-seal {
  color: var(--text);
}

/* ──────────────────────────────────────────────
   TYPOGRAPHY SYSTEM
────────────────────────────────────────────── */
.eyebrow {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.625rem;
  text-align: center;
}

.heading-section {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 1.6rem + 2.7vw, 3.75rem);
  font-weight: 600;
  line-height: 1.08;
  color: var(--gold);
  text-align: center;
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
}

.heading-pillar {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.heading-card {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--gs-text);
  line-height: 1.2;
  margin: 0.35rem 0 0;
}

.heading-journal {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.2;
}

.lead-text {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-muted);
  text-align: center;
  max-width: 52ch;
  margin: 0 auto 3rem;
}

.body-text {
  font-family: var(--font-body);
  font-size: 0.975rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.body-text:last-child { margin-bottom: 0; }

.body-text-sm {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-muted);
}

.body-text-gs {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--gs-muted);
  flex: 1;
}

.body-italic {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-faint);
  text-align: center;
}

.body-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.55;
  color: var(--gold);
  margin-top: 1.5rem;
}

.section-sub {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-faint);
  text-align: center;
  max-width: 50ch;
  margin: 0 auto 2.5rem;
}

.btn-coming-soon {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  border: 1px solid var(--rule-light);
  padding: 0.4rem 0.875rem;
  border-radius: var(--r-sm);
}

.journal-philosophy {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.75;
  color: var(--text-muted);
  text-align: center;
  max-width: 56ch;
  margin: 0 auto 2.5rem;
}

/* ──────────────────────────────────────────────
   BUTTONS
────────────────────────────────────────────── */

/* Primary — gold bg, dark text */
.btn-primary {
  display: inline-block;
  padding: 0.65rem 1.1rem;
  background: var(--btn-bg);
  color: var(--btn-text);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  transition: background var(--ease), transform var(--ease);
  white-space: nowrap;
}
.btn-primary:hover { background: var(--btn-hover); color: #fff; transform: translateY(-1px); }

/* Gold Star buttons */
.btn-gs {
  display: inline-block;
  padding: 0.4rem 1.1rem;
  background: var(--gs-gold);
  color: #0D0D0D;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--r-sm);
  white-space: nowrap;
  transition: background var(--ease), transform var(--ease);
}
.btn-gs:hover { background: var(--gs-gold-lt); transform: translateY(-1px); }

/* Secondary — understated text link below primary CTA */
.btn-secondary {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  border-bottom: 1px solid var(--rule-light);
  padding-bottom: 1px;
  transition: color var(--ease), border-color var(--ease);
}
.btn-secondary:hover { color: var(--gold); border-color: var(--gold); }

/* Outline — journals */
.btn-outline {
  display: inline-block;
  padding: 0.4rem 1.25rem;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--rule-light);
  border-radius: var(--r-sm);
  transition: border-color var(--ease), color var(--ease);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ──────────────────────────────────────────────
   NAV — dusty rose chrome
────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--chrome);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.875rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.625rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--text);
}
.nav-seal {
  width: 26px; height: 30px;
  object-fit: contain;
}
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-subscribe {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold) !important;
  border: 1px solid var(--gold-dim);
  padding: 0.3rem 0.875rem;
  border-radius: 2px;
  transition: background var(--ease), color var(--ease);
}
.nav-subscribe:hover { background: var(--gold); color: var(--rule) !important; }
.theme-toggle {
  display: flex; align-items: center;
  color: var(--text-faint);
  transition: color var(--ease);
}
.theme-toggle:hover { color: var(--text); }

/* ──────────────────────────────────────────────
   HERO
────────────────────────────────────────────── */
.hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.5rem 4rem;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}

.hero-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 660px;
}

.hero-seal-top { margin-bottom: 1.5rem; }
.hero-seal-main {
  width: clamp(100px, 13.75vw, 150px);
  height: auto;
  margin: 0 auto;
  opacity: 0.9;
}

.hero-wordmark-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  margin-bottom: 1.5rem;
}
.hero-flank-seal {
  width: clamp(29px, 4.2vw, 48px);
  height: auto;
  opacity: 0.55;
  flex-shrink: 0;
}
.hero-wordmark {
  font-family: var(--font-display);
  font-size: clamp(2.64rem, 1.68rem + 3.6vw, 4.8rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--text);
  line-height: 1;
  white-space: nowrap;
}

.hero-rule {
  width: 120px; height: 1px;
  background: var(--gold);
  margin: 0 auto 1.5rem;
  transition: width 0.3s ease;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 0.9rem + 1vw, 1.5rem);
  font-weight: 300;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 1.25rem;
}
.hero-tagline em { color: var(--gold); font-style: italic; }

.hero-sub {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 2rem;
}

.hero-cta-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.hero-cta-subscribe {
  display: inline-block;
  padding: 0.65rem 1.1rem;
  background: var(--btn-bg);
  color: var(--btn-text);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  transition: background var(--ease), transform var(--ease);
  white-space: nowrap;
}
.hero-cta-subscribe:hover { background: var(--btn-hover); color: #fff; transform: translateY(-1px); }

.hero-bottom-mark { margin-top: 3.5rem; }
.hero-bottom-seal { width: 28px; opacity: 0.22; margin: 0 auto; }

/* Hero nav-style page buttons — match btn-primary */
.btn-hero-nav {
  display: inline-block;
  padding: 0.65rem 1.1rem;
  background: var(--btn-bg);
  color: var(--btn-text);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  transition: background var(--ease), transform var(--ease);
  white-space: nowrap;
}
.btn-hero-nav:hover { background: var(--btn-hover); color: #fff; transform: translateY(-1px); }

/* ──────────────────────────────────────────────
   CHROME STRIPS — all share dusty rose + rule border
   (quote strip, resource strip)
────────────────────────────────────────────── */
.quote-strip {
  padding: 1.25rem 1.5rem;
  background: var(--chrome);
  border-bottom: 1px solid var(--rule);
  text-align: center;
}
.quote-strip-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(0.95rem, 0.85rem + 0.4vw, 1.15rem);
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
}

/* Digital & Physical Resources strip */
.chrome-strip {
  padding: 0.875rem 1.5rem;
  background: var(--chrome);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  text-align: center;
}
.chrome-strip span {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ──────────────────────────────────────────────
   SHARED SECTION STRUCTURE
────────────────────────────────────────────── */
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.section-inner--narrow { max-width: var(--max-narrow); }

.section-rule {
  height: 4px;
  background: var(--chrome);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  width: 100%;
}

/* ──────────────────────────────────────────────
   THE SEAL SECTION
────────────────────────────────────────────── */
.seal-meaning {
  padding: clamp(4rem, 8vw, 6rem) 1.5rem;
  background: var(--surface);
  border-bottom: 1px solid var(--rule-light);
}

.seal-meaning-layout {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 3.5rem;
  align-items: start;
  margin-top: 2.5rem;
  text-align: left;
}

.seal-meaning-mark img {
  width: 140px;
  opacity: 0.8;
  margin-top: 0.5rem;
}

.seal-meaning-content .body-text,
.seal-meaning-content .body-quote { text-align: left; }

/* ──────────────────────────────────────────────
   PURPOSE SECTION
────────────────────────────────────────────── */
.purpose {
  padding: clamp(4rem, 8vw, 6rem) 1.5rem;
  background: var(--bg);
  border-bottom: 1px solid var(--rule-light);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 3.5rem;
  text-align: left;
}
.pillar { display: flex; flex-direction: column; }
.pillar-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.625rem;
  opacity: 0.85;
}

.dedication {
  border-top: 1px solid var(--rule-light);
  padding-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
  max-width: 52ch;
  margin: 0 auto;
}

/* ──────────────────────────────────────────────
   GOLD STAR PRODUCTS
────────────────────────────────────────────── */
.products {
  padding: clamp(4rem, 8vw, 6rem) 1.5rem;
  background: var(--bg);
  border-bottom: 1px solid var(--rule-light);
}

.gs-divider {
  display: flex; align-items: center; gap: 1.25rem;
  margin: 0 auto 2rem;
  max-width: var(--max-w);
}
.gs-divider::before, .gs-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gold-dim);
}
.gs-divider span {
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
  white-space: nowrap;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.product-card {
  background: var(--gs-bg);
  border: 1px solid var(--gs-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-gs);
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
  position: relative;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--gs-border-hvr);
  box-shadow: 0 16px 56px rgba(0,0,0,0.65);
}
.product-card--featured { border-color: var(--gs-gold); }

.product-badge {
  position: absolute; top: 0.875rem; right: 0.875rem;
  background: var(--gs-gold);
  color: #0D0D0D;
  font-size: 9px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 0.625rem;
  border-radius: 9999px; z-index: 1;
}

.product-img-app {
  background: #000;
  height: 190px;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
}
.app-icon-img {
  width: 80px; height: 80px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(0,0,0,0.6);
}
.product-img-wrap {
  background: #0D0D0D;
  height: 190px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.product-img-wrap img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 0.75rem;
}
.product-body {
  padding: 1.1rem;
  display: flex; flex-direction: column;
  gap: 0.25rem; flex: 1;
}
.product-label {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gs-gold);
  line-height: 1;
}
.product-footer {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-top: 0.875rem; padding-top: 0.875rem;
  border-top: 1px solid var(--gs-border);
}
.product-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--gs-text);
  line-height: 1;
}
.product-was {
  font-size: 0.8rem;
  color: #555;
  text-decoration: line-through;
  margin-left: 0.375rem;
}

/* ──────────────────────────────────────────────
   JOURNALS
────────────────────────────────────────────── */
.journals {
  background: var(--bg-alt);
  border-top: 1px solid var(--rule-light);
  padding: clamp(4rem, 8vw, 6rem) 1.5rem;
}
.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.journal-card {
  display: flex; flex-direction: column; gap: 1rem;
  transition: transform var(--ease);
}
.journal-card:hover { transform: translateY(-3px); }

.journal-img-wrap {
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
  border: 1px solid var(--rule-light);
}
.journal-img-wrap img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  display: block;
}
.journal-edition-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.58) 0%, transparent 100%);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  font-family: var(--font-body);
  font-weight: 400;
}
.journal-body {
  display: flex; flex-direction: column; gap: 0.5rem;
  padding: 0 0.25rem;
}

/* ──────────────────────────────────────────────
   FOOTER — dusty rose, matches all chrome elements
────────────────────────────────────────────── */
.footer {
  background: var(--chrome);
  padding: 3rem 1.5rem;
  border-top: 1px solid var(--rule);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex; flex-direction: column;
  align-items: center; gap: 1rem;
  text-align: center;
}
.footer-logo {
  display: flex; align-items: center; gap: 0.625rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: var(--text);
}
.footer-seal {
  width: 24px;
  height: 28px;
  object-fit: contain;
}
.footer-links {
  display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center;
}
.footer-links a {
  font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--ease);
}
.footer-links a:hover { color: var(--text); }
.footer-copy {
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.05em;
}
.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.footer-sub {
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 0.25rem;
}

/* ──────────────────────────────────────────────
   RESPONSIVE
────────────────────────────────────────────── */
@media (max-width: 1050px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .seal-meaning-layout { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
  .seal-meaning-mark { display: none; }
  .seal-meaning-content .body-text,
  .seal-meaning-content .body-quote { text-align: center; }
  .pillars { grid-template-columns: 1fr; gap: 2rem; }
  .pillar { text-align: center; }
  .journal-grid { gap: 1rem; }
}
@media (max-width: 640px) {
  .hero-wordmark { white-space: normal; text-align: center; font-size: clamp(2rem, 9vw, 2.9rem); }
  .product-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .journal-grid { grid-template-columns: 1fr; max-width: 280px; margin: 0 auto; }
  .nav-links { display: none; }
}
