/* ══════════════════════════════════════════════════════════
   THRASHER & VINE — style.css
   Brand: Vine green, warm paper, gold accents
   Tone: Editorial / refined / high-conviction
   ══════════════════════════════════════════════════════════ */

:root {
  --ink:        #0d0f0c;
  --paper:      #f3efe6;
  --mist:       #e6e1d6;
  --smoke:      #8a8780;
  --vine:       #162b1f;
  --vine-mid:   #1f3d2c;
  --vine-light: #2a5139;
  --gold:       #b8973e;
  --gold-light: #d4b060;
  --gold-pale:  #f0e4c0;
  --white:      #ffffff;
  --red-alert:  #c0392b;

  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:  'DM Sans', 'Helvetica Neue', sans-serif;

  --max-w: 1160px;
  --pad-x: clamp(1.5rem, 5vw, 5rem);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
img  { display: block; max-width: 100%; }
a    { text-decoration: none; color: inherit; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.7;
  overflow-x: hidden;
}

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

/* ── SECTION LABELS ── */
.section-label {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 2rem;
  height: 1px;
  background: var(--gold);
}
.section-label.light { color: var(--gold-light); }
.section-label.light::before { background: var(--gold-light); }

/* ── SECTION HEADLINES ── */
.section-headline {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.section-headline.light { color: var(--white); }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--gold);
  color: var(--vine);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.9rem 2rem;
  border-radius: 2px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(184,151,62,0.25);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(184,151,62,0.35);
}
.btn-primary.dark {
  background: var(--gold);
  color: var(--vine);
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--white);
  color: var(--vine);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  padding: 1.1rem 2.5rem;
  border-radius: 2px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.btn-cta:hover {
  background: var(--gold-pale);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

/* ── ANIMATIONS ── */
[data-anim="fade-up"] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--d, 0s);
}
[data-anim="fade-up"].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ════════════════════════════════════════
   HERO
   ════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--vine);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8rem var(--pad-x) 6rem;
  overflow: hidden;
  text-align: center;
}

/* Grain texture overlay */
.hero-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.5;
}

/* Radial green glow */
.hero::before {
  content: '';
  position: absolute;
  top: -15%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 70%;
  background: radial-gradient(ellipse, rgba(42,81,57,0.7) 0%, transparent 70%);
  pointer-events: none;
}

/* Bottom fade into paper */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--paper));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.logo-lockup {
  margin-bottom: 2.5rem;
}
.logo-text {
  font-family: var(--serif);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.amp { color: var(--gold); }

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 1.75rem;
}
.hero-headline em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 300;
  color: rgba(255,255,255,0.72);
  max-width: 620px;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4caf70;
  box-shadow: 0 0 0 3px rgba(76,175,112,0.25);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(76,175,112,0.25); }
  50%       { box-shadow: 0 0 0 6px rgba(76,175,112,0.1); }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: var(--pad-x);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  z-index: 2;
}
.scroll-line {
  width: 40px;
  height: 1px;
  background: rgba(255,255,255,0.25);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: var(--gold);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { left: -100%; }
  50%  { left: 0; }
  100% { left: 100%; }
}

/* ════════════════════════════════════════
   PROBLEM
   ════════════════════════════════════════ */
.problem {
  padding: clamp(5rem, 10vw, 9rem) var(--pad-x);
  background: var(--paper);
}
.problem .container {
  max-width: var(--max-w);
  margin: 0 auto;
}
.problem .section-headline {
  max-width: 740px;
  margin-bottom: 3.5rem;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5px;
  background: var(--mist);
  border: 1.5px solid var(--mist);
}

.problem-card {
  background: var(--paper);
  padding: 2.5rem 2rem;
  transition: background 0.2s;
}
.problem-card:hover { background: #f9f6ef; }

.problem-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mist);
  border-radius: 4px;
  color: var(--vine-light);
  margin-bottom: 1.25rem;
}
.problem-card h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--ink);
}
.problem-card p {
  font-size: 0.92rem;
  color: #4a4844;
  line-height: 1.7;
}

/* ════════════════════════════════════════
   SOLUTION
   ════════════════════════════════════════ */
.solution {
  position: relative;
  background: var(--vine);
  padding: clamp(5rem, 10vw, 9rem) var(--pad-x);
  overflow: hidden;
}

.solution-bg-accent {
  position: absolute;
  top: 0; right: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(135deg, transparent 60%, rgba(42,81,57,0.4) 100%);
  pointer-events: none;
}

.solution .section-headline,
.section-intro.light {
  color: var(--white);
}
.section-intro {
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  max-width: 660px;
  margin-bottom: 4rem;
  line-height: 1.75;
}
.section-intro.light { color: rgba(255,255,255,0.7); }

.services-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 0.25rem 0;
}

.service-row {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 2rem;
  align-items: start;
  padding: 2.5rem 0;
}

.service-number {
  font-family: var(--mono, monospace);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.08em;
  padding-top: 0.35rem;
}

.service-content {
  display: grid;
  grid-template-columns: 3.5rem 1fr auto;
  gap: 1.5rem;
  align-items: start;
}

.service-icon-wrap {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  color: var(--gold-light);
  flex-shrink: 0;
}

.service-text h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.service-text p {
  font-size: 0.93rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.7;
  max-width: 520px;
}

.service-tags {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: flex-end;
  flex-shrink: 0;
}
.service-tags span {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  white-space: nowrap;
}

/* ════════════════════════════════════════
   MODEL
   ════════════════════════════════════════ */
.model {
  background: var(--paper);
  padding: clamp(5rem, 10vw, 9rem) var(--pad-x);
}

.model-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

/* Copy sits left, cards sit right — explicit order */
.model-copy { order: 1; }
.model-cards { order: 2; }

.model-copy p {
  color: #3d3a35;
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.model-copy .btn-primary { margin-top: 1rem; }

.model-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.model-card {
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: 4px;
  padding: 1.4rem 1.5rem;
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  gap: 0.85rem;
  align-items: start;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.model-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(184,151,62,0.1);
}
.model-card--accent {
  background: var(--vine);
  border-color: var(--vine);
}
.model-card--accent:hover {
  border-color: var(--vine-light);
  box-shadow: 0 4px 20px rgba(22,43,31,0.2);
}

.model-card-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}
.model-card--accent .model-card-icon { color: var(--gold-light); }

.model-card-body { min-width: 0; }

.model-card h4 {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.3rem;
  line-height: 1.3;
}
.model-card--accent h4 { color: var(--white); }

.model-card p {
  font-size: 0.84rem;
  color: #555;
  line-height: 1.6;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.model-card--accent p { color: rgba(255,255,255,0.65); }

/* ════════════════════════════════════════
   WHY
   ════════════════════════════════════════ */
.why {
  background: var(--vine-mid);
  padding: clamp(5rem, 10vw, 9rem) var(--pad-x);
  position: relative;
  overflow: hidden;
}
.why::before {
  content: '';
  position: absolute;
  bottom: -10%;
  right: -5%;
  width: 50%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(184,151,62,0.08) 0%, transparent 65%);
  pointer-events: none;
}

.why-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.why-text .section-headline { margin-bottom: 1.5rem; }
.light-p {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.why-stats {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 1.5rem;
}

.stat-item {
  padding: 2rem 2.25rem;
}
.stat-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
}
.stat-num {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 0.4rem;
}
.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

/* ════════════════════════════════════════
   CTA SECTION
   ════════════════════════════════════════ */
.cta-section {
  background: var(--vine);
  padding: clamp(5rem, 12vw, 11rem) var(--pad-x);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(42,81,57,0.6) 0%, transparent 65%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.cta-eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.cta-headline {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.cta-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.cta-note {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.05em;
}

/* ════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════ */
.footer {
  background: var(--ink);
  padding: 2rem var(--pad-x);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-logo {
  font-family: var(--serif);
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
}
.footer-logo .amp { color: var(--gold); }
.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}

/* ════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════ */
@media (max-width: 900px) {
  .model-grid,
  .why-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .service-content {
    grid-template-columns: 3rem 1fr;
  }
  .service-tags {
    display: none;
  }
  .why-stats { margin-top: 0; }
}

@media (max-width: 640px) {
  .hero-headline { font-size: 2.6rem; }
  .service-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .service-number { display: none; }
  .service-content {
    grid-template-columns: 1fr;
  }
  .service-icon-wrap { display: none; }
  .hero-scroll-hint { display: none; }
}

/* ════════════════════════════════════════
   UTILITY
   ════════════════════════════════════════ */
.br-desktop { display: block; }
@media (max-width: 640px) { .br-desktop { display: none; } }
