/* ============================================================
   Style & Stage — Prototype Stylesheet
   Brand: Premium, Scandinavian-inspired, clean
   ============================================================ */

/* --- Fonts --- */
@font-face {
  font-family: 'Avenir';
  src: url('../fonts/avenir-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Avenir';
  src: url('../fonts/avenir-400-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Avenir';
  src: url('../fonts/avenir-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Avenir';
  src: url('../fonts/avenir-500-italic.woff2') format('woff2');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

/* --- Variables --- */
:root {
  --cream:      #F5F1EC;
  --cream-dark: #EDE8E1;
  --charcoal:   #2A2724;
  --mid:        #6B6460;
  --accent:     #9B8876;
  --white:      #FFFFFF;
  --serif:      'Avenir', 'Avenir Next', 'Gill Sans', 'Trebuchet MS', 'Helvetica Neue', Arial, sans-serif;
  --sans:       'Avenir', 'Avenir Next', 'Gill Sans', 'Trebuchet MS', 'Helvetica Neue', Arial, sans-serif;
  --max-w:      1180px;
  --section-pad: 100px 24px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--charcoal);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Utility --- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section    { padding: var(--section-pad); }
.section--dark { background: var(--charcoal); color: var(--cream); }
.section--white { background: var(--white); }
.section--accent { background: var(--cream-dark); }

.tag {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
}
.tag--light { color: var(--cream-dark); opacity: 0.7; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; }

h1 { font-size: clamp(2.8rem, 6vw, 5rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.2rem; }

p { font-size: 1rem; color: var(--mid); max-width: 640px; }
p.intro { font-size: 1.1rem; }

.divider {
  width: 40px;
  height: 1px;
  background: var(--accent);
  margin: 24px 0;
}
.divider--center { margin: 24px auto; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 16px 36px;
  border: 1px solid currentColor;
  transition: background 0.25s ease, color 0.25s ease;
  cursor: pointer;
}
.btn--dark {
  color: var(--charcoal);
  border-color: var(--charcoal);
}
.btn--dark:hover {
  background: var(--charcoal);
  color: var(--cream);
}
.btn--light {
  color: var(--cream);
  border-color: var(--cream);
}
.btn--light:hover {
  background: var(--cream);
  color: var(--charcoal);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.nav.scrolled {
  background: var(--cream);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}
.nav__logo {
  display: flex;
  align-items: center;
}
.nav__logo img {
  height: 64px;
  width: auto;
  max-width: none;
  display: block;
}
.nav__links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav__links a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--charcoal);
  opacity: 0.75;
  transition: opacity 0.2s;
}
.nav__links a:hover { opacity: 1; }
.nav__cta {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 11px 24px;
  border: 1px solid var(--charcoal);
  color: var(--charcoal);
  opacity: 1 !important;
  transition: background 0.2s, color 0.2s;
}
.nav__cta:hover { background: var(--charcoal); color: var(--cream); }

/* Mobile nav toggle */
.nav__toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav__toggle span { display: block; width: 24px; height: 1px; background: var(--charcoal); transition: 0.3s; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 0 40px 80px;
  position: relative;
  overflow: hidden;
  background: var(--cream-dark);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  opacity: 0.45;
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}
.hero__eyebrow {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.hero__title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.05;
  color: var(--charcoal);
  margin-bottom: 32px;
}
.hero__title em { font-style: italic; }
.hero__sub {
  font-size: 1rem;
  color: var(--mid);
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.8;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ============================================================
   STATS BAND
   ============================================================ */
.stats {
  background: #2f0000;
  padding: 80px 24px;
}
.stats__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  text-align: center;
}
.stat__number {
  font-family: var(--serif);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 500;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 16px;
}
.stat__text {
  font-size: 0.85rem;
  color: rgba(245,241,236,0.85);
  line-height: 1.65;
  max-width: 200px;
  margin: 0 auto;
}
.stat__text strong { color: var(--cream); font-weight: 400; }

/* ============================================================
   INTRO / ABOUT SNIPPET
   ============================================================ */
.intro-section {
  padding: 120px 24px;
  background: #CEBDA9;
}
.intro-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.intro-section h2 { margin-bottom: 24px; }
.intro-section p { margin-bottom: 16px; }
.intro-section .btn { margin-top: 24px; }
.intro__image {
  aspect-ratio: 3/4;
  background: var(--cream-dark);
  overflow: hidden;
}
.intro__image img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding: 120px 24px;
  background: #F5F1EC;
}
.services__header {
  text-align: center;
  margin-bottom: 72px;
}
.services__header h2 { margin-bottom: 16px; }
.services__header p { margin: 0 auto; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.service-card {
  background: var(--cream);
  padding: 60px 40px;
  position: relative;
  transition: background 0.3s;
}
.service-card:hover { background: var(--cream-dark); }
.service-card__num {
  font-family: var(--serif);
  font-size: 4rem;
  font-weight: 400;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 24px;
}
.service-card h3 { margin-bottom: 16px; }
.service-card p { font-size: 0.95rem; margin-bottom: 32px; }
.service-card .arrow-link {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--charcoal);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: gap 0.2s;
}
.service-card .arrow-link:hover { gap: 16px; }
.service-card .arrow-link::after { content: '→'; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.process {
  padding: 120px 24px;
  background: #2f0000;
  color: var(--cream);
}
.process__header {
  text-align: center;
  margin-bottom: 80px;
}
.process__header .tag { color: var(--accent); }
.process__header h2 { color: var(--cream); margin-bottom: 16px; }
.process__header p { color: rgba(245,241,236,0.85); margin: 0 auto; }
.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.process__step {
  border-top: 1px solid rgba(245,241,236,0.15);
  padding-top: 32px;
}
.process__step-num {
  font-family: var(--serif);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--accent);
  margin-bottom: 20px;
}
.process__step h4 {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--cream);
  margin-bottom: 12px;
  font-weight: 400;
}
.process__step p {
  font-size: 0.9rem;
  color: rgba(245,241,236,0.85);
  max-width: 100%;
}

/* ============================================================
   WHO WE HELP + WHY CHOOSE
   ============================================================ */
.two-col-section {
  padding: 120px 24px;
  background: #CEBDA9;
}
.two-col-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.two-col-section h2 { margin-bottom: 32px; }
.check-list li {
  display: flex;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--mid);
  padding: 14px 0;
  border-bottom: 1px solid rgba(42,39,36,0.08);
  line-height: 1.5;
}
.check-list li::before {
  content: '—';
  color: var(--accent);
  flex-shrink: 0;
  font-family: var(--serif);
}

/* ============================================================
   ABOUT FULL
   ============================================================ */
.about {
  padding: 120px 24px;
  background: #F5F1EC;
}
.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about__image {
  aspect-ratio: 4/5;
  background: var(--cream-dark);
  overflow: hidden;
}
.about__image img { width: 100%; height: 100%; object-fit: cover; }
.about__content h2 { margin-bottom: 24px; }
.about__content p { margin-bottom: 16px; }
.about__publications {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--cream-dark);
}
.about__publications .tag { margin-bottom: 12px; }
.about__pub-list {
  font-family: var(--serif);
  font-style: italic;
  color: var(--mid);
  font-size: 0.95rem;
  line-height: 2;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  padding: 100px 0;
  background: #F5F1EC;
  overflow: hidden;
}
.testimonials__header {
  text-align: center;
  margin-bottom: 56px;
}
.testimonials__header h2 { margin: 0 auto; }
.testimonials__header .divider { margin: 24px auto; }
.testimonials__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.testimonials__stars {
  color: #C4955A;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
}
.testimonials__score {
  font-size: 0.82rem;
  color: var(--mid);
  max-width: none;
}
.testimonials__score a {
  color: var(--charcoal);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.testimonials__score a:hover { color: var(--white); }

.testimonials__track-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: calc(var(--max-w) + 96px);
  margin: 0 auto;
  padding: 0 24px;
}
.testimonials__track {
  display: flex;
  gap: 24px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.testimonial-card {
  background: var(--white);
  padding: 36px 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
  transition: box-shadow 0.2s ease;
}
.testimonial-card:hover { box-shadow: 0 8px 32px rgba(42,39,36,0.08); }

.testimonial-card__quote {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.65;
  color: var(--charcoal);
  flex: 1;
  margin-bottom: 24px;
}
.testimonial-card__quote::before {
  content: '\201C';
  font-size: 3rem;
  line-height: 0.6;
  color: var(--accent);
  opacity: 0.4;
  display: block;
  margin-bottom: 8px;
  font-style: normal;
}
.testimonial-card__footer { border-top: 1px solid var(--cream-dark); padding-top: 16px; }
.testimonial-card__stars {
  color: #C4955A;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.testimonial-card__name {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.testimonial-card__date {
  font-size: 0.75rem;
  color: var(--mid);
  margin-top: 2px;
}

.testimonials__nav {
  background: none;
  border: 1px solid var(--charcoal);
  color: var(--charcoal);
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.testimonials__nav:hover { background: var(--charcoal); color: var(--cream); }
.testimonials__nav:disabled { opacity: 0.25; cursor: default; }

.testimonials__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}
.testimonials__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--charcoal);
  opacity: 0.25;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: opacity 0.2s;
}
.testimonials__dot.active { opacity: 1; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  padding: 120px 24px;
  background: #CEBDA9;
  text-align: center;
}
.cta-band h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--charcoal);
  margin-bottom: 16px;
}
.cta-band p {
  color: rgba(42,39,36,0.85);
  margin: 0 auto 40px;
  font-size: 1rem;
}
.cta-band .btn { margin: 0 8px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #2F0000;
  border-top: 1px solid rgba(245,241,236,0.08);
  padding: 60px 24px 40px;
}
.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(245,241,236,0.08);
  margin-bottom: 32px;
}
.footer__logo {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--cream);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer__logo span { font-style: italic; }
.footer__tagline {
  font-size: 0.85rem;
  color: rgba(245,241,236,0.75);
  line-height: 1.7;
  max-width: 240px;
}
.footer__col-title {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,241,236,0.75);
  margin-bottom: 20px;
}
.footer__col ul li {
  margin-bottom: 10px;
}
.footer__col ul li a {
  font-size: 0.88rem;
  color: rgba(245,241,236,0.85);
  transition: color 0.2s;
}
.footer__col ul li a:hover { color: var(--cream); }
.footer__bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(245,241,236,0.65);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .stats__grid         { grid-template-columns: repeat(2, 1fr); }
  .services__grid      { grid-template-columns: 1fr; gap: 2px; }
  .process__steps      { grid-template-columns: repeat(2, 1fr); }
  .intro-section .container,
  .about .container,
  .two-col-section .container { grid-template-columns: 1fr; gap: 48px; }
  .intro__image,
  .about__image        { aspect-ratio: 16/9; }
  .footer__inner       { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --section-pad: 72px 20px; }
  .nav { padding: 18px 20px; }
  .nav__links { display: none; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--cream);
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 99;
  }
  .nav__links a { font-size: 1rem; }
  .nav__toggle { display: flex; z-index: 101; }
  .hero { padding: 0 20px 60px; }
  .stats__grid  { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process__steps { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* Contrast fixes for taupe (#9F8C76) section backgrounds */
.intro-section .tag,
.two-col-section .tag,
.testimonials .tag { color: var(--charcoal); }

.intro-section .divider,
.two-col-section .divider,
.testimonials .divider { background: rgba(42,39,36,0.35); }
