/* ============================================================
   THE CLOSED SESSION — Stylesheet
   Design: deep Chamber slate, Vellum ground, Brass accent
   Type: Cormorant Garamond (display) + Inter (body/UI)
   ============================================================ */

/* --- TOKENS --- */
:root {
  --vellum:   #F7F4EF;   /* page ground */
  --felt:     #EDEAD8;   /* card/section surface */
  --chamber:  #1D2F38;   /* brand primary — deep slate */
  --ink:      #1C1C1C;   /* body text */
  --slate:    #5E6A70;   /* muted/secondary text */
  --brass:    #A87D35;   /* accent — used sparingly */
  --brass-lt: #C9A262;   /* hover state of brass */
  --rule:     #DDD9CF;   /* border/divider */
  --white:    #FFFFFF;

  --font-disp: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --mw: 1080px;
  --pw: 700px;   /* prose max-width */

  /* spacing scale */
  --s1: 0.5rem;
  --s2: 1rem;
  --s3: 1.5rem;
  --s4: 2.5rem;
  --s5: 4rem;
  --s6: 6.5rem;
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--vellum);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* --- BASE TYPOGRAPHY --- */
h1, h2, h3, h4 {
  font-family: var(--font-disp);
  font-weight: 400;
  line-height: 1.15;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.1rem; font-weight: 500; }
p  { margin-bottom: var(--s2); }
p:last-child { margin-bottom: 0; }

/* --- LAYOUT UTILITIES --- */
.container {
  max-width: var(--mw);
  margin: 0 auto;
  padding: 0 var(--s3);
}
.prose { max-width: var(--pw); }

/* --- SHARED: EYEBROW LABEL --- */
.label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: var(--s1);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--vellum);
  border-bottom: 1px solid var(--rule);
  padding: 1.125rem 0;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
}
.site-logo {
  font-family: var(--font-disp);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.site-logo em {
  font-style: normal;
  color: var(--brass);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: var(--s4);
  list-style: none;
}
.site-nav a {
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.65;
  transition: opacity 0.18s;
}
.site-nav a:hover { opacity: 1; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--chamber);
  color: var(--white);
  padding: var(--s5) 0 var(--s3);
  margin-top: var(--s6);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
  padding-bottom: var(--s4);
  margin-bottom: var(--s4);
  border-bottom: 1px solid rgba(255 255 255 / 0.12);
}
.footer-col .label { color: var(--brass-lt); }
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.footer-links a {
  text-decoration: none;
  font-size: 0.875rem;
  opacity: 0.65;
  transition: opacity 0.18s;
}
.footer-links a:hover { opacity: 1; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s2);
  font-size: 0.78rem;
  opacity: 0.45;
}
.footer-bottom a { color: inherit; opacity: 1; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.875rem 1.875rem;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--chamber);
  color: var(--white);
}
.btn-primary:hover { background: var(--brass); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-outline:hover {
  background: var(--chamber);
  color: var(--white);
  border-color: var(--chamber);
}
.btn-brass {
  background: var(--brass);
  color: var(--white);
}
.btn-brass:hover { background: var(--brass-lt); }
.btn-white {
  background: var(--white);
  color: var(--chamber);
}
.btn-white:hover { background: var(--vellum); }

/* ============================================================
   HOMEPAGE — HERO
   ============================================================ */
.hero {
  padding: var(--s6) 0 var(--s5);
  border-bottom: 1px solid var(--rule);
}
.hero-body {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--s5);
  align-items: start;
}
.hero-h1 { margin-bottom: var(--s3); }
.hero-line-two {
  color: var(--slate);
  display: block;
}
.hero-lead {
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--slate);
  margin-bottom: var(--s4);
  max-width: 520px;
}
.hero-actions {
  display: flex;
  gap: var(--s2);
  flex-wrap: wrap;
}
.hero-aside {
  padding-top: 0.5rem;
}
.hero-stat {
  border-left: 3px solid var(--brass);
  padding: var(--s2) var(--s3);
  background: var(--felt);
  margin-bottom: var(--s2);
}
.hero-stat-number {
  font-family: var(--font-disp);
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1;
  color: var(--chamber);
}
.hero-stat-label {
  font-size: 0.8rem;
  color: var(--slate);
  margin-top: 0.25rem;
  line-height: 1.5;
}
.hero-gd-link {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brass);
  text-decoration: none;
  border-bottom: 1px solid var(--brass);
  padding-bottom: 1px;
  transition: color 0.18s, border-color 0.18s;
  display: inline-block;
}
.hero-gd-link:hover { color: var(--brass-lt); border-color: var(--brass-lt); }

/* ============================================================
   HOMEPAGE — PRODUCTS
   ============================================================ */
.products-section {
  padding: var(--s5) 0;
  border-bottom: 1px solid var(--rule);
}
.products-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--s3);
  margin-bottom: var(--s4);
}
.products-header h2 { margin: 0; }
.product-count {
  font-size: 0.8rem;
  color: var(--slate);
  white-space: nowrap;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s2);
}
.product-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--chamber);
  padding: var(--s3);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: border-top-color 0.18s, box-shadow 0.18s;
}
.product-card:hover {
  border-top-color: var(--brass);
  box-shadow: 0 4px 20px rgba(29 47 56 / 0.08);
}
.product-card--coming .product-card-title,
.product-card--coming .product-card-desc {
  opacity: 0.5;
}
.product-family-tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: var(--s1);
}
.product-card-title {
  font-family: var(--font-disp);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: var(--s2);
}
.product-card-desc {
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.7;
  flex: 1;
  margin-bottom: var(--s3);
}
.product-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s2);
  border-top: 1px solid var(--rule);
  padding-top: var(--s2);
  margin-top: auto;
}
.product-card-price {
  font-family: var(--font-disp);
  font-size: 1.75rem;
  font-weight: 300;
  color: var(--chamber);
  line-height: 1;
}
.product-card-action {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--brass);
}
.coming-tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--felt);
  color: var(--slate);
  padding: 0.25rem 0.6rem;
}

/* ============================================================
   HOMEPAGE — ABOUT
   ============================================================ */
.about-section {
  background: var(--chamber);
  color: var(--white);
  padding: var(--s5) 0;
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--s5);
  align-items: start;
}
.about-identity .label { color: var(--brass-lt); }
.about-name {
  font-family: var(--font-disp);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.2;
  margin: var(--s1) 0 0.25rem;
}
.about-role {
  font-size: 0.85rem;
  opacity: 0.55;
  line-height: 1.5;
}
.about-body {
  font-size: 1rem;
  line-height: 1.9;
  opacity: 0.82;
}
.about-body p { margin-bottom: var(--s2); }
.about-body a { color: var(--brass-lt); }
.gd-stat {
  display: inline-block;
  font-family: var(--font-disp);
  font-size: 1.1rem;
  font-weight: 300;
  opacity: 1;
}

/* ============================================================
   HOMEPAGE — EMAIL CAPTURE
   ============================================================ */
.capture-section {
  padding: var(--s5) 0;
}
.capture-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s5);
  align-items: start;
}
.capture-copy h2 { margin-bottom: var(--s2); }
.capture-copy p {
  font-size: 0.975rem;
  color: var(--slate);
  line-height: 1.8;
}
.capture-box {
  background: var(--white);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--brass);
  padding: var(--s3) var(--s3) var(--s3) calc(var(--s3) - 3px);
}
.capture-box .label { margin-bottom: var(--s2); }
/* Beehiiv embed drops in here */
.beehiiv-placeholder {
  background: var(--felt);
  border: 1.5px dashed var(--rule);
  padding: var(--s3);
  text-align: center;
  font-size: 0.85rem;
  color: var(--slate);
  font-style: italic;
  line-height: 1.6;
}

/* ============================================================
   PRODUCT PAGE
   ============================================================ */
.product-hero {
  padding: var(--s5) 0 var(--s4);
  border-bottom: 1px solid var(--rule);
}
.product-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--chamber);
  color: var(--white);
  padding: 0.3rem 0.75rem;
  margin-bottom: var(--s2);
}
.product-hero-title {
  margin-bottom: var(--s2);
  max-width: 780px;
}
.product-hero-promise {
  font-size: 1.1rem;
  color: var(--slate);
  line-height: 1.85;
  max-width: 640px;
  margin-bottom: var(--s3);
}
.product-price-row {
  display: flex;
  align-items: center;
  gap: var(--s3);
  flex-wrap: wrap;
}
.product-price {
  font-family: var(--font-disp);
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--chamber);
  line-height: 1;
}

/* THE SIGNATURE ELEMENT:
   Scene text — large italic Cormorant with brass left-border.
   Used consistently across all product pages to create
   a recognisable motif: the moment inside the room.       */
.product-scene {
  border-left: 3px solid var(--brass);
  padding: var(--s3) var(--s4);
  margin: var(--s4) 0;
  background: var(--white);
}
.product-scene p {
  font-family: var(--font-disp);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 0;
}

/* product body sections */
.product-body {
  padding: var(--s5) 0;
}
.product-section {
  margin-bottom: var(--s5);
  padding-bottom: var(--s5);
  border-bottom: 1px solid var(--rule);
  max-width: var(--pw);
}
.product-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
.product-section .label { margin-bottom: var(--s2); }
.product-section h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  margin-bottom: var(--s3);
}
.product-section > p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--ink);
}

/* deliverables list */
.deliverables {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-top: var(--s3);
}
.deliverables li {
  display: flex;
  gap: var(--s2);
  font-size: 0.975rem;
  line-height: 1.65;
}
.deliverables li::before {
  content: '—';
  color: var(--brass);
  flex-shrink: 0;
  font-family: var(--font-disp);
  font-size: 1.1rem;
  margin-top: 0.1em;
}

/* use-cases */
.use-cases {
  display: flex;
  flex-direction: column;
  gap: var(--s1);
  margin-top: var(--s3);
}
.use-case {
  background: var(--felt);
  padding: 0.875rem var(--s3);
  font-size: 0.95rem;
  line-height: 1.65;
  border-left: 2px solid var(--rule);
}

/* outcomes */
.outcomes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: var(--s3);
}
.outcomes li {
  padding: 0.875rem var(--s3);
  background: var(--white);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--chamber);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* who section */
.audience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s1);
  margin-top: var(--s3);
}
.audience-tag {
  background: var(--chamber);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.875rem;
}

/* GD arc link */
.gd-arc-note {
  margin-top: var(--s4);
  padding: var(--s2) var(--s3);
  background: var(--felt);
  border-left: 2px solid var(--brass);
  font-size: 0.875rem;
  color: var(--slate);
}
.gd-arc-note a { color: var(--brass); }

/* PRODUCT CTA BAND */
.product-cta-band {
  background: var(--chamber);
  color: var(--white);
  padding: var(--s5) 0;
  margin-top: var(--s5);
}
.product-cta-band .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s4);
  flex-wrap: wrap;
}
.cta-copy h2 {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  margin-bottom: 0.375rem;
}
.cta-price-note {
  font-size: 1rem;
  opacity: 0.6;
  font-family: var(--font-disp);
  font-weight: 300;
}
.cta-actions {
  display: flex;
  align-items: center;
  gap: var(--s2);
  flex-wrap: wrap;
  flex-shrink: 0;
}
.cta-free-read {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255 255 255 / 0.55);
  text-decoration: none;
  border-bottom: 1px solid rgba(255 255 255 / 0.25);
  padding-bottom: 1px;
  letter-spacing: 0.03em;
  transition: color 0.18s, border-color 0.18s;
}
.cta-free-read:hover {
  color: var(--white);
  border-color: rgba(255 255 255 / 0.6);
}

/* ============================================================
   COMING SOON PAGE
   ============================================================ */
.coming-hero {
  padding: var(--s6) 0 var(--s5);
}
.coming-hero .product-badge { opacity: 0.5; }
.coming-hero h1 { margin-bottom: var(--s2); opacity: 0.5; }
.coming-tagline {
  font-size: 1.05rem;
  color: var(--slate);
  max-width: 520px;
  margin-bottom: var(--s4);
  line-height: 1.8;
}
.coming-divider {
  width: 40px;
  height: 3px;
  background: var(--brass);
  margin: var(--s4) 0;
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-hero {
  padding: var(--s5) 0 var(--s3);
  border-bottom: 1px solid var(--rule);
  margin-bottom: var(--s4);
}
.legal-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.legal-updated {
  font-size: 0.82rem;
  color: var(--slate);
  margin-top: var(--s1);
}
.legal-body {
  max-width: var(--pw);
  padding-bottom: var(--s6);
}
.legal-body h2 {
  font-size: 1.25rem;
  font-family: var(--font-disp);
  font-weight: 500;
  margin-top: var(--s4);
  margin-bottom: var(--s2);
  padding-bottom: var(--s1);
  border-bottom: 1px solid var(--rule);
}
.legal-body h3 {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  margin-top: var(--s3);
  margin-bottom: 0.5rem;
}
.legal-body p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--ink);
  margin-bottom: var(--s2);
}
.legal-body ul, .legal-body ol {
  margin: var(--s1) 0 var(--s2) var(--s3);
}
.legal-body li {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 0.375rem;
  color: var(--ink);
}
.legal-body a { color: var(--brass); }
.legal-intro {
  background: var(--felt);
  border-left: 3px solid var(--chamber);
  padding: var(--s2) var(--s3);
  margin-bottom: var(--s3);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .hero-body { grid-template-columns: 1fr; }
  .hero-aside { display: none; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .about-inner { grid-template-columns: 1fr; gap: var(--s3); }
  .capture-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-cta-band .container { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  :root { --s5: 2.75rem; --s6: 4rem; }
  .site-nav { display: none; }
  .product-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .product-price-row { flex-direction: column; align-items: flex-start; gap: var(--s2); }
  .cta-actions { flex-direction: column; align-items: flex-start; }
  .products-header { flex-direction: column; align-items: flex-start; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
