/* ══════════════════════════════════════════
   PRAESUM.AI — STYLESHEET
   Edit freely in Cursor.
   Deployment: Cloudflare Pages (static)
═══════════════════════════════════════════ */

/* ── CUSTOM PROPERTIES ── */
:root {
  --ink:        #0d0c0a;
  --ink-2:      #141310;
  --ink-3:      #1c1a17;
  --surface:    #f0ece3;
  --surface-2:  #e3dfd5;
  --surface-3:  #cdc8bc;
  --gold:       #c9a84c;
  --gold-light: #e8c97a;
  --gold-pale:  rgba(201,168,76,0.08);
  --muted:      #7a7568;
  --muted-2:    #5a5650;
  --white:      #faf8f4;
  --rule:       rgba(201,168,76,0.18);
  --rule-light: rgba(201,168,76,0.07);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-sans:    'DM Sans', system-ui, -apple-system, sans-serif;

  --container:      1140px;
  --container-hero: 1320px;
  --pad-x:     48px;
  --section-y: 120px;

  --transition: 0.25s ease;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background:  var(--ink);
  color:       var(--surface);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size:   16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── TYPOGRAPHY HELPERS ── */
.display { font-family: var(--font-display); font-weight: 300; }

/* ── LAYOUT ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.section { padding: var(--section-y) 0; }

.h-rule {
  display: block;
  width: 100%;
  height: 0.5px;
  background: var(--rule-light);
}

/* ── SECTION META LABEL ── */
.section-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 40px;
}
.section-meta::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 0.5px;
  background: var(--gold);
  flex-shrink: 0;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background:     var(--gold);
  color:          var(--ink);
  font-size:      12px;
  font-weight:    500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding:        14px 32px;
  transition:     background var(--transition);
}
.btn-primary:hover { background: var(--gold-light); }

.btn-ghost {
  display:        inline-flex;
  align-items:    center;
  gap:            10px;
  font-size:      12px;
  font-weight:    400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color:          var(--muted);
  transition:     color var(--transition);
}
.btn-ghost::after {
  content:    '→';
  font-size:  14px;
  transition: transform var(--transition);
}
.btn-ghost:hover            { color: var(--surface); }
.btn-ghost:hover::after     { transform: translateX(4px); }


/* ══════════════════════════════════════════
   NAV
═══════════════════════════════════════════ */
#nav {
  position:          fixed;
  top: 0; left: 0; right: 0;
  z-index:           100;
  padding:           22px 0;
  border-bottom:     0.5px solid rgba(201,168,76,0.1);
  background:        rgba(13,12,10,0.92);
  backdrop-filter:   blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition:        padding var(--transition);
}
#nav.scrolled { padding: 16px 0; }

.nav-inner {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
}

.logo {
  font-family:    var(--font-display);
  font-size:      20px;
  font-weight:    400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color:          var(--surface);
}
.logo span { color: var(--gold); }

.nav-links {
  display:     flex;
  align-items: center;
  gap:         36px;
}
.nav-links a {
  font-size:      13px;
  font-weight:    400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color:          var(--muted);
  transition:     color var(--transition);
}
.nav-links a:hover { color: var(--surface); }

.nav-cta {
  font-size:      12px !important;
  letter-spacing: 0.08em !important;
  color:          var(--gold) !important;
  border:         0.5px solid var(--rule);
  padding:        8px 20px;
  transition:     border-color var(--transition), color var(--transition) !important;
}
.nav-cta:hover {
  border-color: var(--gold) !important;
  color:        var(--gold-light) !important;
}

/* Hamburger */
.nav-hamburger {
  display:        none;
  flex-direction: column;
  gap:            5px;
  padding:        6px;
}
.nav-hamburger span {
  display:          block;
  width:            22px;
  height:           1px;
  background:       var(--surface);
  transition:       transform var(--transition), opacity var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  display:    none;
  padding:    16px var(--pad-x) 24px;
  border-top: 0.5px solid var(--rule-light);
}
.nav-mobile.open { display: block; }
.nav-mobile ul   { display: flex; flex-direction: column; gap: 0; }
.nav-mobile li a {
  display:        block;
  padding:        14px 0;
  font-size:      14px;
  font-weight:    400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color:          var(--muted);
  border-bottom:  0.5px solid var(--rule-light);
  transition:     color var(--transition);
}
.nav-mobile li a:hover { color: var(--surface); }


/* ══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero .container {
  max-width: var(--container-hero);
}
.hero {
  min-height:      100vh;
  display:         flex;
  flex-direction:  column;
  justify-content: flex-end;
  padding-top:     96px;
  padding-bottom:  80px;
  position:        relative;
  overflow:        hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 100%);
  pointer-events: none;
}

.hero-label {
  font-size:      11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color:          var(--gold);
  margin-bottom:  32px;
  display:        flex;
  align-items:    center;
  gap:            12px;
  animation:      fadeUp 0.8s ease both 0.1s;
}
.hero-label::before {
  content:    '';
  display:    inline-block;
  width:      24px;
  height:     0.5px;
  background: var(--gold);
}

.hero-headline {
  font-family:    var(--font-display);
  font-size:      clamp(52px, 8.5vw, 112px);
  font-weight:    300;
  letter-spacing: -0.02em;
  line-height:    1;
  color:          var(--white);
  margin-bottom:  16px;
  animation:      fadeUp 0.9s ease both 0.25s;
}
.hero-headline em {
  font-style: italic;
  color:      var(--gold);
}

.hero-subtitle {
  font-family:    var(--font-display);
  font-size:      clamp(18px, 2.5vw, 28px);
  font-weight:    300;
  font-style:     italic;
  color:          var(--muted);
  margin-bottom:  44px;
  letter-spacing: 0.01em;
  animation:      fadeUp 0.9s ease both 0.38s;
}

.hero-body {
  max-width:     720px;
  font-size:     16px;
  color:         var(--muted);
  line-height:   1.8;
  margin-bottom: 48px;
  animation:     fadeUp 0.9s ease both 0.5s;
}
.hero-body strong { color: var(--surface); font-weight: 400; }

.hero-actions {
  display:     flex;
  align-items: center;
  gap:         28px;
  flex-wrap:   wrap;
  animation:   fadeUp 0.9s ease both 0.62s;
}

.hero-stats {
  display:       flex;
  gap:           48px;
  margin-top:    72px;
  padding-top:   36px;
  border-top:    0.5px solid var(--rule-light);
  animation:     fadeUp 0.9s ease both 0.74s;
}
.stat-num {
  font-family:   var(--font-display);
  font-size:     34px;
  font-weight:   300;
  color:         var(--white);
  display:       block;
  line-height:   1;
  margin-bottom: 6px;
}
.stat-label {
  font-size:      11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color:          var(--muted);
}


/* ══════════════════════════════════════════
   BOARD QUESTION
═══════════════════════════════════════════ */
.board-section { background: var(--ink-2); }

.board-inner {
  display:       grid;
  grid-template-columns: 1fr 1fr;
  gap:           80px;
  align-items:   start;
}

.board-headline {
  font-family: var(--font-display);
  font-size:   clamp(28px, 3.8vw, 50px);
  font-weight: 300;
  line-height: 1.15;
  color:       var(--white);
}
.board-headline em { font-style: italic; color: var(--gold); }

.board-coda {
  margin-top:  36px;
  padding-top: 36px;
  border-top:  0.5px solid var(--rule);
}
.board-coda p {
  font-family: var(--font-display);
  font-size:   20px;
  font-weight: 300;
  font-style:  italic;
  color:       var(--surface-2);
  line-height: 1.55;
}
.board-coda strong { font-style: normal; font-weight: 500; color: var(--white); }

.board-questions-label {
  font-size:      12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color:          var(--muted-2);
  margin-bottom:  8px;
}
.board-q {
  padding:    22px 0;
  border-bottom: 0.5px solid var(--rule-light);
  font-size:  15px;
  color:      var(--muted);
  display:    flex;
  align-items: baseline;
  gap:        16px;
  transition: color var(--transition);
}
.board-q::before {
  content:    '—';
  color:      var(--gold);
  font-size:  12px;
  flex-shrink: 0;
}
.board-q:hover { color: var(--surface-2); }


/* ══════════════════════════════════════════
   THREE PILLARS
═══════════════════════════════════════════ */
.pillars-section { background: var(--ink); }

.pillars-header {
  display:       grid;
  grid-template-columns: 1fr 1fr;
  gap:           40px;
  align-items:   end;
  margin-bottom: 72px;
}
.pillars-title {
  font-family: var(--font-display);
  font-size:   clamp(32px, 4.5vw, 58px);
  font-weight: 300;
  line-height: 1.1;
  color:       var(--white);
}
.pillars-title em { font-style: italic; color: var(--gold); }
.pillars-intro {
  font-size:   15px;
  color:       var(--muted);
  line-height: 1.8;
}

.pillars-grid {
  display:    grid;
  grid-template-columns: repeat(3, 1fr);
  gap:        1px;
  background: var(--rule-light);
}

.pillar {
  background: var(--ink);
  padding:    52px 40px;
  position:   relative;
  overflow:   hidden;
  transition: background var(--transition);
}
.pillar:hover { background: var(--ink-2); }

.pillar-number {
  font-family:    var(--font-display);
  font-size:      88px;
  font-weight:    300;
  color:          rgba(201,168,76,0.06);
  line-height:    1;
  position:       absolute;
  top:            16px;
  right:          20px;
  letter-spacing: -0.04em;
  user-select:    none;
  pointer-events: none;
}
.pillar-name {
  font-size:      11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color:          var(--gold);
  margin-bottom:  14px;
  display:        block;
}
.pillar-title {
  font-family:   var(--font-display);
  font-size:     30px;
  font-weight:   300;
  color:         var(--white);
  line-height:   1.2;
  margin-bottom: 20px;
}
.pillar-body {
  font-size:     14px;
  color:         var(--muted);
  line-height:   1.85;
  margin-bottom: 32px;
}
.pillar-outcome {
  border-top:  0.5px solid var(--rule-light);
  padding-top: 24px;
}
.pillar-outcome-label {
  font-size:      10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color:          var(--gold);
  display:        block;
  margin-bottom:  8px;
}
.pillar-outcome-text {
  font-family: var(--font-display);
  font-size:   16px;
  font-style:  italic;
  color:       var(--surface-2);
  line-height: 1.6;
}


/* ══════════════════════════════════════════
   OFFER
═══════════════════════════════════════════ */
.offer-section { background: var(--ink-2); }

.offer-inner {
  display:       grid;
  grid-template-columns: 5fr 7fr;
  gap:           80px;
  align-items:   start;
}

.offer-title {
  font-family:   var(--font-display);
  font-size:     clamp(32px, 4vw, 52px);
  font-weight:   300;
  line-height:   1.1;
  color:         var(--white);
  margin-bottom: 18px;
}
.offer-title em { font-style: italic; color: var(--gold); }

.offer-subtitle {
  font-family:   var(--font-display);
  font-size:     18px;
  font-style:    italic;
  color:         var(--muted);
  margin-bottom: 28px;
  line-height:   1.5;
}
.offer-desc {
  font-size:     15px;
  color:         var(--muted);
  line-height:   1.8;
  margin-bottom: 40px;
}

.offer-deliverables {
  border:     0.5px solid var(--rule);
  padding:    32px 36px;
  background: rgba(201,168,76,0.025);
}
.deliverables-title {
  font-size:      11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color:          var(--gold);
  margin-bottom:  20px;
  display:        block;
}
.deliverables-list {
  display:        flex;
  flex-direction: column;
  gap:            12px;
}
.deliverables-list li {
  font-size:   14px;
  color:       var(--surface-2);
  display:     flex;
  align-items: baseline;
  gap:         12px;
}
.deliverables-list li::before {
  content:    '→';
  color:      var(--gold);
  font-size:  12px;
  flex-shrink: 0;
}

.offer-steps {
  display:        flex;
  flex-direction: column;
}
.offer-step {
  display:     grid;
  grid-template-columns: 80px 1fr;
  gap:         28px;
  padding:     28px 0;
  border-bottom: 0.5px solid var(--rule-light);
}
.offer-step:first-child { border-top: 0.5px solid var(--rule-light); }
.step-week {
  font-size:      11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color:          var(--gold);
  padding-top:    3px;
}
.step-title {
  font-size:     15px;
  font-weight:   500;
  color:         var(--white);
  margin-bottom: 6px;
}
.step-body {
  font-size:   14px;
  color:       var(--muted);
  line-height: 1.75;
}


/* ══════════════════════════════════════════
   POSITIONING TABLE
═══════════════════════════════════════════ */
.position-section { background: var(--ink); }

.position-title {
  font-family: var(--font-display);
  font-size:   clamp(28px, 3.8vw, 50px);
  font-weight: 300;
  line-height: 1.12;
  color:       var(--white);
  max-width:   560px;
  margin-bottom: 60px;
}
.position-title em { font-style: italic; color: var(--gold); }

.position-table-wrap { overflow-x: auto; }

.position-table {
  width:           100%;
  border-collapse: collapse;
}
.position-table th {
  font-size:      11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color:          var(--muted);
  font-weight:    400;
  text-align:     left;
  padding:        16px 0;
  border-bottom:  0.5px solid var(--rule);
}
.position-table th:not(:first-child) { text-align: center; padding-left: 24px; }
.position-table td {
  padding:       20px 0;
  border-bottom: 0.5px solid var(--rule-light);
  font-size:     14px;
  color:         var(--muted);
  vertical-align: top;
}
.position-table td:first-child {
  font-size:      12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color:          var(--muted-2);
  min-width:      140px;
}
.position-table td:nth-child(2) {
  color:        var(--surface-2);
  font-size:    14px;
  padding-left: 24px;
  text-align:   center;
}
.position-table td:nth-child(3) {
  padding-left: 24px;
  text-align:   center;
  font-size:    14px;
}
.col-praesum {
  font-family:    var(--font-display);
  font-size:      13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color:          var(--gold);
  font-weight:    400;
}
.col-rest {
  font-size:      13px;
  letter-spacing: 0.04em;
  color:          var(--muted-2);
}


/* ══════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════ */
.about-section { background: var(--ink-2); }

.about-inner {
  display:     grid;
  grid-template-columns: 1fr 1fr;
  gap:         80px;
  align-items: center;
}
.about-title {
  font-family:   var(--font-display);
  font-size:     clamp(36px, 5vw, 62px);
  font-weight:   300;
  line-height:   1.08;
  color:         var(--white);
  margin-bottom: 32px;
}
.about-title em { font-style: italic; color: var(--gold); }
.about-body {
  font-size:   15px;
  color:       var(--muted);
  line-height: 1.85;
}
.about-body p + p { margin-top: 20px; }
.about-body strong { color: var(--surface); font-weight: 400; }

.about-manifesto {
  border-left: 1px solid var(--gold);
  padding:     32px 36px;
  background:  rgba(201,168,76,0.025);
}
.manifesto-quote {
  font-family:   var(--font-display);
  font-size:     22px;
  font-weight:   300;
  font-style:    italic;
  color:         var(--surface);
  line-height:   1.55;
  margin-bottom: 20px;
}
.manifesto-attr {
  font-size:      11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color:          var(--gold);
  font-style:     normal;
}


/* ══════════════════════════════════════════
   THOUGHT LEADERSHIP
═══════════════════════════════════════════ */
.tl-section { background: var(--ink); }

.tl-headline {
  font-family:   var(--font-display);
  font-size:     clamp(26px, 3.5vw, 44px);
  font-weight:   300;
  color:         var(--white);
  line-height:   1.2;
  max-width:     600px;
  margin-bottom: 60px;
}
.tl-headline em { font-style: italic; color: var(--gold); }

.tl-grid {
  display:    grid;
  grid-template-columns: repeat(3, 1fr);
  gap:        1px;
  background: var(--rule-light);
}

.tl-card {
  background: var(--ink);
  padding:    40px 36px 44px;
  transition: background var(--transition);
}
.tl-card:hover { background: var(--ink-2); }
.tl-tag {
  font-size:      10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color:          var(--gold);
  margin-bottom:  14px;
  display:        block;
}
.tl-title {
  font-family:   var(--font-display);
  font-size:     22px;
  font-weight:   300;
  color:         var(--white);
  line-height:   1.3;
  margin-bottom: 14px;
}
.tl-body {
  font-size:   13px;
  color:       var(--muted);
  line-height: 1.8;
}
.tl-read {
  display:        inline-flex;
  align-items:    center;
  gap:            8px;
  font-size:      11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color:          var(--gold);
  margin-top:     24px;
  transition:     gap var(--transition);
}
.tl-read::after { content: '→'; }
.tl-read:hover  { gap: 12px; }


/* ══════════════════════════════════════════
   CTA
═══════════════════════════════════════════ */
.cta-section { background: var(--ink-2); }
.cta-inner   { text-align: center; }

.cta-eyebrow {
  font-size:      11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color:          var(--gold);
  margin-bottom:  32px;
  display:        flex;
  align-items:    center;
  justify-content: center;
  gap:            14px;
}
.cta-eyebrow::before,
.cta-eyebrow::after {
  content:    '';
  display:    inline-block;
  width:      32px;
  height:     0.5px;
  background: var(--gold);
}
.cta-title {
  font-family:   var(--font-display);
  font-size:     clamp(40px, 6vw, 80px);
  font-weight:   300;
  line-height:   1.05;
  color:         var(--white);
  margin-bottom: 18px;
}
.cta-title em { font-style: italic; color: var(--gold); }
.cta-sub {
  font-family:   var(--font-display);
  font-size:     20px;
  font-style:    italic;
  color:         var(--muted);
  margin-bottom: 48px;
}
.cta-actions {
  display:         flex;
  align-items:     center;
  justify-content: center;
  gap:             32px;
  flex-wrap:       wrap;
}


/* ══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
footer {
  background:  var(--ink);
  padding:     56px 0;
  border-top:  0.5px solid var(--rule-light);
}
.footer-inner {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  flex-wrap:       wrap;
  gap:             24px;
}
.footer-logo {
  font-family:    var(--font-display);
  font-size:      16px;
  font-weight:    400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color:          var(--surface);
}
.footer-logo span { color: var(--gold); }
.footer-links {
  display: flex;
  gap:     28px;
}
.footer-links a {
  font-size:      11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color:          var(--muted-2);
  transition:     color var(--transition);
}
.footer-links a:hover { color: var(--muted); }
.footer-note {
  font-size: 12px;
  color:     var(--muted-2);
}


/* ══════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll-triggered fade-in */
.reveal {
  opacity:    0;
  transform:  translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity:   1;
  transform: translateY(0);
}


/* ══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  :root { --pad-x: 36px; --section-y: 96px; }
  .board-inner,
  .about-inner     { gap: 56px; }
  .offer-inner     { grid-template-columns: 1fr 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  :root { --pad-x: 24px; --section-y: 72px; }

  .nav-links           { display: none; }
  .nav-hamburger       { display: flex; }

  .hero-stats          { gap: 32px; flex-wrap: wrap; }

  .board-inner,
  .pillars-header,
  .offer-inner,
  .about-inner         { grid-template-columns: 1fr; gap: 40px; }

  .pillars-grid,
  .tl-grid             { grid-template-columns: 1fr; }

  .pillar,
  .tl-card             { padding: 40px 28px; }

  .position-table td:first-child { min-width: 110px; }

  .footer-inner        { flex-direction: column; align-items: flex-start; gap: 20px; }
}

@media (max-width: 480px) {
  :root { --pad-x: 20px; --section-y: 56px; }
  .hero-actions  { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cta-actions   { flex-direction: column; }
  .hero-stats    { gap: 24px; }
}
