/* ============================================================
   TENURE — Premium Editorial Stylesheet
   Rhone / GQ / Hugo Boss aesthetic
   ============================================================ */

/* Custom Properties */
:root {
  --charcoal: #1C1C1C;
  --warm-white: #FAF9F6;
  --cream: #F5F3EE;
  --slate: #64748B;
  --accent: #8B7355;
  --accent-light: #A8906C;
  --light-line: rgba(28, 28, 28, 0.08);
  --medium-line: rgba(28, 28, 28, 0.15);

  --font-heading: 'Space Grotesk', -apple-system, sans-serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;

  --section-padding: clamp(4rem, 8vw, 7rem);
  --container-max: 1200px;
  --container-padding: clamp(1.5rem, 5vw, 3rem);
}

/* Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--warm-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.65;
  font-size: clamp(15px, 1.1vw, 17px);
}

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

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
}

h4 {
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  font-weight: 600;
}

p {
  max-width: 65ch;
  color: #3a3a3a;
}

.eyebrow {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 1.25rem;
}

.pullquote {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--charcoal);
  font-style: italic;
  border-left: 3px solid var(--accent);
  padding-left: 1.5rem;
  margin: 2rem 0;
}

/* ============================================================
   LAYOUT
   ============================================================ */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

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

/* ============================================================
   NAV
   ============================================================ */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem var(--container-padding);
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  transition: all 0.3s ease;
}

.site-nav-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-nav-wrap.scrolled {
  background: rgba(250, 249, 246, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--light-line);
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--charcoal);
  text-decoration: none;
}

.nav-cta {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--warm-white);
  background: var(--charcoal);
  padding: 0.6rem 1.4rem;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
  background: #333;
  transform: translateY(-1px);
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  padding-top: 5rem;
  overflow: hidden;
  background: var(--warm-white);
}

.hero-content {
  padding: var(--section-padding) var(--container-padding) var(--section-padding) clamp(1.5rem, 8vw, 6rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

.hero-tagline {
  font-size: clamp(0.65rem, 0.9vw, 0.75rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: var(--font-heading);
  font-weight: 600;
}

.hero h1 {
  color: var(--charcoal);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--slate);
  max-width: 44ch;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.btn-primary {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--warm-white);
  background: var(--charcoal);
  padding: 0.9rem 2rem;
  border-radius: 2px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.btn-primary:hover {
  background: #333;
  transform: translateY(-1px);
}

.btn-secondary {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--slate);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: color 0.2s ease;
}

.btn-secondary:hover {
  color: var(--charcoal);
}

.hero-image {
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ============================================================
   PROBLEM SECTION
   ============================================================ */

.section-problem {
  background: var(--charcoal);
  color: var(--warm-white);
  padding: var(--section-padding) 0;
}

.section-problem p {
  color: rgba(250, 249, 246, 0.7);
}

.section-problem h2 {
  color: var(--warm-white);
}

.section-problem .eyebrow {
  color: var(--accent-light);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem 6rem;
  align-items: start;
  margin-top: 3rem;
}

.problem-stat {
  border-top: 1px solid rgba(250, 249, 246, 0.15);
  padding-top: 1.5rem;
}

.problem-stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.problem-stat p {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ============================================================
   STORY SECTION
   ============================================================ */

.section-story {
  background: var(--cream);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.story-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.story-divider {
  flex: 1;
  height: 1px;
  background: var(--light-line);
}

.story-body p {
  margin-bottom: 1.25rem;
  font-size: 1rem;
  line-height: 1.75;
}

.story-body p:last-child {
  margin-bottom: 0;
}

.story-aside {
  padding-top: 2rem;
  position: sticky;
  top: 6rem;
}

.story-aside-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--charcoal);
  border-left: 3px solid var(--accent);
  padding-left: 1.5rem;
  margin-bottom: 2rem;
}

.story-aside-meta {
  font-size: 0.85rem;
  color: var(--slate);
  font-style: italic;
}

/* ============================================================
   TIMELINE SECTION
   ============================================================ */

.section-timeline {
  background: var(--warm-white);
  overflow: hidden;
}

.timeline-header {
  text-align: center;
  margin-bottom: 3rem;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--light-line);
  border: 1px solid var(--light-line);
}

.timeline-item {
  background: var(--warm-white);
  display: flex;
  flex-direction: column;
}

.timeline-photo {
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
}

.timeline-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease;
}

.timeline-item:hover .timeline-photo img {
  transform: scale(1.03);
}

.timeline-caption {
  padding: 1.25rem 1.5rem 1.5rem;
  border-top: 1px solid var(--light-line);
}

.timeline-age {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.4rem;
}

.timeline-caption p {
  font-size: 0.85rem;
  color: var(--slate);
  line-height: 1.4;
  max-width: none;
}

/* Timeline connector dots */
.timeline-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin: 2.5rem 0;
  padding: 0 var(--container-padding);
}

.timeline-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.timeline-line {
  flex: 1;
  height: 1px;
  background: var(--medium-line);
}

/* ============================================================
   METHOD SECTION
   ============================================================ */

.section-method {
  background: var(--cream);
}

.method-header {
  margin-bottom: 3.5rem;
}

.method-header h2 {
  max-width: 15ch;
}

.method-header-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: end;
}

.method-header-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--slate);
  max-width: 50ch;
}

.method-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--light-line);
  border: 1px solid var(--light-line);
}

.method-card {
  background: var(--cream);
  padding: 2rem;
  transition: background 0.2s ease;
}

.method-card:hover {
  background: var(--warm-white);
}

.method-card-icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.method-card h4 {
  margin-bottom: 0.6rem;
  color: var(--charcoal);
}

.method-card p {
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.55;
  max-width: none;
}

/* ============================================================
   CREDIBILITY SECTION
   ============================================================ */

.section-credibility {
  background: var(--charcoal);
  color: var(--warm-white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
  padding: 0;
  overflow: hidden;
}

.credibility-image {
  overflow: hidden;
  position: relative;
}

.credibility-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.credibility-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 6vw, 5rem);
  gap: 1.5rem;
}

.credibility-content .eyebrow {
  color: var(--accent-light);
}

.credibility-content h2 {
  color: var(--warm-white);
  font-size: clamp(1.8rem, 3vw, 2.75rem);
}

.credibility-content p {
  color: rgba(250, 249, 246, 0.7);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 48ch;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */

.section-testimonials {
  background: var(--warm-white);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 3rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--cream);
  padding: 2rem;
  border-top: 2px solid var(--accent);
}

.testimonial-quote {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
  max-width: none;
  font-style: italic;
}

.testimonial-quote::before {
  content: '\201C';
  font-size: 2rem;
  color: var(--accent);
  font-family: var(--font-heading);
  line-height: 0;
  vertical-align: -0.5rem;
  margin-right: 0.2rem;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.testimonial-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--charcoal);
}

.testimonial-title {
  font-size: 0.8rem;
  color: var(--slate);
}

/* ============================================================
   AUDIENCE SECTION
   ============================================================ */

.section-audience {
  background: var(--cream);
}

.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 6rem;
  align-items: start;
  margin-top: 3rem;
}

.audience-intro {
  max-width: 50ch;
}

.audience-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.audience-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--charcoal);
}

.audience-list li::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--accent);
  margin-top: 0.7em;
  flex-shrink: 0;
}

/* ============================================================
   CTA / WAITLIST SECTION
   ============================================================ */

.section-cta {
  background: var(--charcoal);
  color: var(--warm-white);
  text-align: center;
}

.section-cta .eyebrow {
  color: var(--accent-light);
}

.section-cta h2 {
  color: var(--warm-white);
  max-width: 20ch;
  margin: 0 auto 1rem;
}

.section-cta .lead {
  font-size: 1.05rem;
  color: rgba(250, 249, 246, 0.65);
  max-width: 50ch;
  margin: 0 auto 2.5rem;
}

.waitlist-form {
  max-width: 480px;
  margin: 0 auto;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.waitlist-form input[type="text"],
.waitlist-form input[type="email"] {
  width: 100%;
  padding: 1rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--warm-white);
  border: none;
  border-radius: 2px;
  outline: none;
  transition: box-shadow 0.2s ease;
}

.waitlist-form input:focus {
  box-shadow: 0 0 0 2px var(--accent);
}

.waitlist-form input::placeholder {
  color: #999;
}

.btn-waitlist {
  width: 100%;
  padding: 1rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal);
  background: var(--warm-white);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-waitlist:hover:not(:disabled) {
  background: #F0EDE8;
  transform: translateY(-1px);
}

.btn-waitlist:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-guarantee {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: rgba(250, 249, 246, 0.45);
}

.form-success {
  display: none;
  background: rgba(139, 115, 85, 0.2);
  border: 1px solid var(--accent);
  border-radius: 2px;
  padding: 1.25rem;
  text-align: center;
}

.form-success.visible {
  display: block;
}

.form-success h4 {
  color: var(--warm-white);
  font-family: var(--font-heading);
  margin-bottom: 0.4rem;
}

.form-success p {
  font-size: 0.9rem;
  color: rgba(250, 249, 246, 0.65);
  max-width: none;
}

.form-error {
  display: none;
  color: #ff8080;
  font-size: 0.85rem;
  margin-top: 0.5rem;
  text-align: left;
}

.form-error.visible {
  display: block;
}

/* ============================================================
   FAQ SECTION
   ============================================================ */

.section-faq {
  background: var(--warm-white);
}

.faq-header {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--light-line);
}

.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: -0.01em;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 0 1.5rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--slate);
  max-width: 60ch;
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--charcoal);
  color: rgba(250, 249, 246, 0.5);
  padding: 3rem var(--container-padding);
}

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: rgba(250, 249, 246, 0.8);
  letter-spacing: -0.02em;
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(250, 249, 246, 0.45);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: rgba(250, 249, 246, 0.8);
}

.footer-copy {
  font-size: 0.78rem;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   RESPONSIVE — 1024px (Tablet)
   ============================================================ */

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-content {
    padding: 8rem var(--container-padding) 3rem;
    order: 1;
  }

  .hero-image {
    height: 60vw;
    max-height: 550px;
    order: 2;
  }

  .problem-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .story-aside {
    position: static;
  }

  .timeline-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline-dots {
    display: none;
  }

  .method-header-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .method-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-credibility {
    grid-template-columns: 1fr;
  }

  .credibility-image {
    height: 50vw;
    max-height: 450px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .audience-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ============================================================
   RESPONSIVE — 768px (Mobile)
   ============================================================ */

@media (max-width: 768px) {
  .hero-content {
    padding-top: 6rem;
  }

  .timeline-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .method-cards {
    grid-template-columns: 1fr;
  }

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

/* ============================================================
   RESPONSIVE — 480px (Small Mobile)
   ============================================================ */

@media (max-width: 480px) {
  .timeline-grid {
    grid-template-columns: 1fr;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-cta {
    display: none;
  }
}
