:root {
  /* CougarNaai: warm confident light theme, bronze-gold + deep charcoal (from the gold/charcoal serif logo + warm studio hero). */
  --charcoal: #22201d;    /* deep charcoal, dark anchor (footer) */
  --gold: #a9772f;        /* bronze-gold, primary accent / CTA (gradient start) */
  --gold-deep: #8c5f21;   /* deeper bronze, gradient end / hover */
  --gold-bright: #d0a355; /* light gold (hero accent / hover) */

  --ink: #26221d;         /* warm near-black headings */
  --body: #524b42;        /* warm brown-grey body text */
  --muted: #8a8074;

  --bg: #ffffff;
  --bg-soft: #f7f2ea;     /* warm cream */
  --line: #eee6d9;        /* warm cream line */

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 56px);

  --head: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--body);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 8px; top: 8px; z-index: 999; background: var(--charcoal); color: #fff; padding: 10px 16px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.16; color: var(--ink); letter-spacing: -0.005em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3rem); }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); }
p { color: var(--body); }

.eyebrow {
  display: inline-block; font-family: var(--sans);
  font-size: .8rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: #fff; opacity: .92; margin-bottom: 16px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap;
  font-family: var(--sans); font-weight: 700; font-size: .98rem;
  padding: 15px 32px; border: 2px solid transparent; border-radius: 999px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-join {
  background: linear-gradient(120deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: #fff; box-shadow: 0 8px 20px -8px rgba(169, 119, 47, 0.5);
}
.btn-join:hover { background: linear-gradient(120deg, var(--gold-deep) 0%, #6f4a17 100%); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px -8px rgba(169, 119, 47, 0.6); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.85); }
.btn-ghost:hover { background: #fff; color: var(--charcoal); }
.btn-lg { padding: 17px 40px; font-size: 1.05rem; }

.site-header {
  position: relative; z-index: 40; background: #ffffff;
  border-bottom: 1px solid var(--line); box-shadow: 0 2px 16px -8px rgba(34, 32, 29, 0.25);
}
.site-header .inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--gutter); }
.brand img { width: clamp(170px, 22vw, 290px); height: auto; max-width: 100%; }
.header-right { display: flex; align-items: center; gap: clamp(10px, 1.8vw, 20px); }
.login-link { font-family: var(--sans); font-size: .92rem; font-weight: 600; color: var(--charcoal); }
.login-link:hover { color: var(--gold); }
.header-right .btn { padding: 11px 24px; font-size: .92rem; }

/* Hero (warm portrait on the right, charcoal scrim on the left for white text) */
.hero {
  position: relative; display: flex; align-items: center;
  min-height: min(72vh, 620px); padding: clamp(48px, 8vw, 92px) 0;
  background:
    linear-gradient(95deg, rgba(24,21,18,0.92) 0%, rgba(34,32,29,0.74) 38%, rgba(34,32,29,0.24) 66%, rgba(34,32,29,0) 100%),
    url('/images/hero-desktop.jpg?v=8') right center / cover no-repeat,
    var(--charcoal);
}
.hero-inner { max-width: 600px; }
.hero .hero-heading { font-family: var(--head); font-weight: 800; line-height: 1.1; letter-spacing: -0.01em; color: #fff; font-size: clamp(2.4rem, 5.6vw, 4rem); margin-bottom: 16px; text-shadow: 0 2px 16px rgba(0,0,0,0.45); }
.hero .hero-heading .accent { color: var(--gold-bright); }
.hero-sub { color: rgba(255,255,255,0.96); font-size: 1.2rem; margin-bottom: 28px; max-width: 46ch; text-shadow: 0 1px 10px rgba(0,0,0,0.45); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* Feature trio */
.features { padding: clamp(44px, 7vw, 76px) 0; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 30px 28px; box-shadow: 0 14px 40px -26px rgba(34,32,29,0.4); }
.feature-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%); color: #fff;
}
.feature-card h3 { font-size: 1.2rem; color: var(--ink); margin-bottom: 8px; }
.feature-card p { font-size: 1rem; line-height: 1.65; color: var(--body); margin: 0; }

/* Story long-form */
.story { padding: clamp(56px, 8vw, 100px) 0 clamp(30px, 5vw, 50px); background: var(--bg); }
.story .container { max-width: 1000px; }
.story-intro { max-width: 800px; margin: 0 auto; text-align: center; }
.story-intro h1 { color: var(--ink); margin-bottom: 18px; }
.story-intro p { font-size: 1.16rem; line-height: 1.85; color: var(--body); margin-bottom: 16px; }
.story-intro p.lead { font-size: 1.24rem; color: var(--ink); font-weight: 500; }
.story-intro p:last-child { margin-bottom: 0; }
.story-block { max-width: 780px; margin: 0 auto; }
.story-block h2, .story-block h3 { color: var(--ink); }
.story-block h2 { margin-bottom: 14px; }
.story-block h3 { margin: 26px 0 10px; }
.story-block p { font-size: 1.12rem; line-height: 1.9; color: var(--body); margin-bottom: 18px; }
.story-block p:last-child { margin-bottom: 0; }
.story-cta {
  font-size: 1.16rem; line-height: 1.65; color: var(--ink); font-family: var(--head); font-weight: 600;
  margin: 26px 0 0; padding: 20px 24px;
  background: var(--bg-soft); border-left: 4px solid var(--gold); border-radius: 0 12px 12px 0;
}
.story-intro + .story-block, .story-block + .story-block { margin-top: clamp(30px, 4vw, 44px); }

.cta-band {
  text-align: center; padding: clamp(56px, 8vw, 100px) 0;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%); color: #fff;
}
.cta-band .eyebrow { color: #fff; opacity: .92; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.94); max-width: 48ch; margin: 0 auto 28px; font-size: 1.12rem; }
.cta-band .btn-join { background: #fff; color: var(--gold-deep); border-color: #fff; box-shadow: 0 10px 24px -10px rgba(0,0,0,0.3); }
.cta-band .btn-join:hover { background: #fff; color: var(--gold-deep); transform: translateY(-2px); }

.site-footer { background: var(--charcoal); color: #fff; padding: 48px 0 34px; text-align: center; }
.footer-logo { display: inline-block; background: #fff; padding: 12px 20px; border-radius: 12px; margin-bottom: 22px; }
.footer-logo img { width: clamp(190px, 26vw, 260px); height: auto; max-width: 100%; display: block; }
.footer-disclaimer { max-width: 720px; margin: 0 auto 24px; font-size: .86rem; line-height: 1.7; color: rgba(255,255,255,0.72); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.14); border-bottom: 1px solid rgba(255,255,255,0.14); }
.footer-links a { color: rgba(255,255,255,0.82); text-decoration: underline; font-size: .9rem; }
.footer-links a:hover { color: var(--gold-bright); }
.footer-copy { margin-top: 18px; font-size: .85rem; color: rgba(255,255,255,0.6); }

.cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--charcoal); color: #fff; padding: 16px var(--gutter);
  transform: translateY(120%); transition: transform .4s ease;
}
.cookie.show { transform: translateY(0); }
.cookie-inner { max-width: var(--maxw); margin: 0 auto; display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cookie p { font-size: .95rem; color: rgba(255,255,255,0.92); margin: 0; flex: 1; min-width: 240px; }
.cookie a { color: var(--gold-bright); text-decoration: underline; }
.cookie .btn { padding: 11px 26px; background: var(--gold); color: #fff; border-color: var(--gold); }

/* Reveal-on-scroll: visible by default; only hidden/animated when JS is active. */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 900px) {
  .features-grid { grid-template-columns: 1fr; gap: 16px; max-width: 560px; margin: 0 auto; }
}
@media (max-width: 860px) {
  .hero { display: block; min-height: 0; padding: 0; background: var(--charcoal); }
  .hero::before {
    content: ''; display: block; width: 100%; aspect-ratio: 767 / 710;
    background: url('/images/hero-mobile.jpg?v=8') center top / cover no-repeat;
  }
  .hero .container { padding-top: 30px; padding-bottom: 36px; }
  .hero-inner { max-width: 100%; }
  .hero .hero-heading { font-size: clamp(2rem, 8.5vw, 2.7rem); margin-bottom: 14px; }
  .hero-sub { font-size: 1.06rem; margin-bottom: 22px; }
  .hero-ctas { gap: 10px; }
  .hero-ctas .btn { flex: 1; padding: 14px 12px; font-size: .9rem; }
  .header-right { gap: 12px; }
  .brand img { width: clamp(140px, 42vw, 190px); }
  .header-right .btn { padding: 10px 16px; font-size: .85rem; }
  .login-link { font-size: .85rem; }
}
@media (max-width: 400px) {
  .brand img { width: 150px; }
  .header-right { gap: 9px; }
  .header-right .btn { padding: 9px 13px; font-size: .8rem; }
  .login-link { font-size: .8rem; }
}
