/* ============================================================
   STILL HAUS COLLECTIVE — Global Stylesheet
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

/* ─── Custom Properties ──────────────────────────────────── */
:root {
  --ivory:    #F7F3EC;
  --sand:     #E9DFD2;
  --stone:    #D8D0C5;
  --taupe:    #B8AA9A;
  --espresso: #2B211C;
  --black:    #15110E;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  --max-w: 1280px;
  --section-pad: clamp(5rem, 10vw, 9rem);
  --radius: 2px;

  --transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-fast: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--espresso);
  background-color: var(--ivory);
  line-height: 1.7;
  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 ─────────────────────────────────────────── */
.serif { font-family: var(--font-serif); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(3rem, 7vw, 6.5rem); font-weight: 300; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 300; }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
h4 { font-size: 1.25rem; }

p {
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  color: var(--espresso);
  opacity: 0.85;
  max-width: 60ch;
}

.lead {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 300;
  line-height: 1.8;
  opacity: 0.9;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--taupe);
  display: block;
  margin-bottom: 1.5rem;
}

/* ─── Layout ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 5rem);
}

.container--narrow {
  max-width: 860px;
}

.container--wide {
  max-width: 1440px;
}

.section { padding: var(--section-pad) 0; }
.section--tight { padding: clamp(3rem, 6vw, 5rem) 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }

/* ─── Divider / Ornament ─────────────────────────────────── */
.divider {
  width: 60px;
  height: 1px;
  background: var(--taupe);
  margin: 2rem 0;
}

.divider--center { margin: 2rem auto; }

.ornament {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: var(--taupe);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.ornament::before,
.ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--stone);
}

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.25rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--espresso);
  color: var(--ivory);
}

.btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--black);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
  z-index: -1;
}

.btn--primary:hover::after { transform: scaleX(1); }
.btn--primary:hover { color: var(--sand); }

.btn--outline {
  border: 1px solid var(--espresso);
  color: var(--espresso);
  background: transparent;
}

.btn--outline:hover {
  background: var(--espresso);
  color: var(--ivory);
}

.btn--ghost {
  color: var(--espresso);
  padding-left: 0;
  padding-right: 0;
  border-bottom: 1px solid var(--taupe);
  border-radius: 0;
}

.btn--ghost:hover { border-color: var(--espresso); }

.btn--light {
  background: var(--ivory);
  color: var(--espresso);
}

.btn--light:hover {
  background: var(--sand);
}

.btn-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--taupe);
  transition: var(--transition-fast);
  position: relative;
}

.btn-arrow::after {
  content: '→';
  transition: transform var(--transition-fast);
}

.btn-arrow:hover { color: var(--espresso); }
.btn-arrow:hover::after { transform: translateX(4px); }

/* ─── Navigation ─────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.75rem clamp(1.5rem, 5vw, 5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), padding var(--transition),
              box-shadow var(--transition);
}

.nav.scrolled {
  background: rgba(247, 243, 236, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
  box-shadow: 0 1px 0 rgba(43, 33, 28, 0.08);
}

.nav__logo {
  height: 36px;
  width: auto;
  display: block;
}

.nav__logo-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ivory);
  transition: color var(--transition);
}

.nav.scrolled .nav__logo-text {
  color: var(--espresso);
}

/* ─── Logo Image Swap ────────────────────────────────────── */
.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav__logo-img {
  height: 100px;
  width: auto;
  display: block;
  transition: opacity var(--transition);
}

/* Default: dark bg — show light logo, hide dark logo */
.nav__logo-img--dark  { display: none; }
.nav__logo-img--light { display: block; }

/* Scrolled: ivory bg — show dark logo, hide light logo */
.nav.scrolled .nav__logo-img--light { display: none; }
.nav.scrolled .nav__logo-img--dark  { display: block; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav__link {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ivory);
  opacity: 0.8;
  transition: opacity var(--transition-fast), color var(--transition-fast);
  position: relative;
}

.nav.scrolled .nav__link {
  color: var(--espresso);
  opacity: 0.7;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: rgba(247, 243, 236, 0.5);
  transition: width var(--transition), background var(--transition);
}

.nav.scrolled .nav__link::after {
  background: var(--taupe);
}

.nav__link:hover { opacity: 1; }
.nav__link:hover::after,
.nav__link.active::after { width: 100%; }
.nav__link.active { opacity: 1; }

.nav__cta {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(247, 243, 236, 0.6);
  padding: 0.6rem 1.5rem;
  transition: var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
  color: var(--ivory);
}

.nav.scrolled .nav__cta {
  border-color: var(--espresso);
  color: var(--espresso);
}

.nav__cta:hover {
  background: var(--ivory);
  color: var(--espresso);
  border-color: var(--ivory);
}

.nav.scrolled .nav__cta:hover {
  background: var(--espresso);
  color: var(--ivory);
  border-color: var(--espresso);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  padding: 4px 0;
}

.nav__hamburger span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--ivory);
  transition: var(--transition), background var(--transition);
  transform-origin: center;
}

.nav.scrolled .nav__hamburger span {
  background: var(--espresso);
}

.nav__hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav__hamburger.open span { background: var(--espresso); }

/* Mobile menu open — swap to dark logo */
.nav:has(.nav__hamburger.open) .nav__logo-img--light { display: none; }
.nav:has(.nav__hamburger.open) .nav__logo-img--dark  { display: block; }

.nav__mobile {
  position: fixed;
  inset: 0;
  background: var(--ivory);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.nav__mobile.open {
  opacity: 1;
  pointer-events: all;
}

.nav__mobile .nav__link {
  font-size: 1.8rem;
  font-family: var(--font-serif);
  letter-spacing: 0.05em;
  color: var(--espresso);
  opacity: 0.6;
  text-transform: none;
}

.nav__mobile .nav__link::after { display: none; }

.nav__mobile .nav__link:hover { opacity: 1; }

/* ─── Hero ───────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 10rem clamp(1.5rem, 5vw, 5rem) 6rem;
  position: relative;
  overflow: hidden;
  background: var(--black);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    #1a1310 0%,
    #2b211c 40%,
    #1a1310 100%
  );
  z-index: 0;
}

.hero__texture {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(184, 170, 154, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(247, 243, 236, 0.04) 0%, transparent 50%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 4rem;
}

.hero__eyebrow {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero__eyebrow::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--taupe);
  opacity: 0.6;
}

.hero__headline {
  color: var(--ivory);
  font-weight: 300;
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.75rem;
  padding-bottom: 0.4rem;
}

.hero__headline em {
  font-style: italic;
  color: var(--sand);
}

.hero__right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-bottom: 0.5rem;
}

.hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.8;
  color: var(--stone);
  font-weight: 300;
  max-width: 42ch;
}

.hero__actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero__actions .btn--primary {
  background: var(--ivory);
  color: var(--espresso);
}

.hero__actions .btn--primary:hover {
  background: var(--sand);
  color: var(--espresso);
}

.hero__actions .btn--outline {
  border-color: rgba(247, 243, 236, 0.3);
  color: var(--stone);
}

.hero__actions .btn--outline:hover {
  border-color: var(--stone);
  color: var(--ivory);
  background: transparent;
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: var(--taupe);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--taupe), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ─── Brand Intro ────────────────────────────────────────── */
.intro {
  background: var(--sand);
}

.intro__inner {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
}

.intro__label {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--espresso);
}

.intro__label span { color: var(--taupe); font-style: italic; }

.intro__text p {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.85;
  opacity: 0.85;
  margin-bottom: 1.5rem;
  max-width: 55ch;
}

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

.intro__stats {
  display: flex;
  gap: 3.5rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--stone);
}

.stat__number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--espresso);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat__label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--taupe);
}

/* ─── Problem Section ────────────────────────────────────── */
.problem {
  background: var(--ivory);
  color: var(--espresso);
}

.problem__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.problem__left h2 { color: var(--espresso); font-weight: 300; }
.problem__left h2 em { color: var(--black); font-style: italic; }

.problem__left p {
  color: var(--espresso);
  opacity: 0.75;
  margin-top: 1.5rem;
  max-width: 40ch;
}

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

.problem__item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(43, 33, 28, 0.15);
  transition: var(--transition-fast);
}

.problem__item:first-child { border-top: 1px solid rgba(43, 33, 28, 0.15); }

.problem__num {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 300;
  color: var(--espresso);
  opacity: 0.4;
  min-width: 2.5rem;
  padding-top: 0.05rem;
  flex-shrink: 0;
}

.problem__text {
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  color: var(--espresso);
  opacity: 0.8;
  line-height: 1.5;
}

.problem__text strong {
  color: var(--black);
  opacity: 1;
  font-weight: 500;
  display: block;
  margin-bottom: 0.2rem;
}

.problem__cta {
  margin-top: 3rem;
  padding-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.problem__cta p {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--espresso);
  opacity: 1;
  max-width: 30ch;
}

/* ─── Services ───────────────────────────────────────────── */
.services {
  background: var(--sand);
}

.services__header {
  text-align: center;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.services__header h2 { color: var(--espresso); }

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5px;
  background: var(--stone);
  border: 1.5px solid var(--stone);
}

.service-card {
  background: var(--sand);
  padding: clamp(2.5rem, 5vw, 3.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: background var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--taupe);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover { background: var(--ivory); }
.service-card:hover::before { transform: scaleX(1); }

.service-card__number {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--stone);
  line-height: 1;
  transition: color var(--transition);
}

.service-card:hover .service-card__number { color: var(--taupe); }

.service-card__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--espresso);
  line-height: 1.2;
}

.service-card__desc {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--espresso);
  opacity: 0.75;
  max-width: 38ch;
  flex: 1;
}

.service-card .btn-arrow { margin-top: 0.5rem; }

/* ─── Philosophy ─────────────────────────────────────────── */
.philosophy {
  background: var(--ivory);
  text-align: center;
}

.philosophy__inner {
  max-width: 860px;
  margin: 0 auto;
}

.philosophy h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--espresso);
  margin-bottom: 2rem;
}

.philosophy h2 em { font-style: italic; color: var(--taupe); }

.philosophy p {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.85;
  opacity: 0.8;
  margin: 0 auto 1.5rem;
  max-width: 58ch;
}

.philosophy__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  text-align: left;
}

.pillar {
  padding: 2.5rem 2rem;
  border: 1px solid var(--stone);
  transition: border-color var(--transition);
}

.pillar:hover { border-color: var(--taupe); }

.pillar__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1.5rem;
  opacity: 0.5;
}

.pillar h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--espresso);
}

.pillar p {
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: none;
}

/* ─── Founder ────────────────────────────────────────────── */
.founder {
  background: var(--black);
  overflow: hidden;
}

.founder__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 580px;
}

.founder__image {
  position: relative;
  background: var(--espresso);
  overflow: hidden;
}

.founder__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
}

.founder__image-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    #2b211c 0%,
    #1a1310 50%,
    #3a2d25 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 3rem;
}

.founder__image-label {
  font-family: var(--font-serif);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe);
  opacity: 0.6;
}

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

.founder__quote {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 300;
  font-style: italic;
  color: var(--ivory);
  line-height: 1.4;
  margin-bottom: 2.5rem;
  position: relative;
}

.founder__quote::before {
  content: '\201C';
  position: absolute;
  top: -1.5rem;
  left: -0.5rem;
  font-size: 6rem;
  color: var(--taupe);
  opacity: 0.15;
  line-height: 1;
  font-family: var(--font-serif);
}

.founder__body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.founder__body p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--stone);
  opacity: 0.85;
  max-width: 46ch;
}

.founder__sig {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(247, 243, 236, 0.1);
}

.founder__name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--sand);
  display: block;
  margin-bottom: 0.3rem;
}

.founder__title {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe);
}

/* ─── Process ────────────────────────────────────────────── */
.process {
  background: var(--sand);
}

.process__header {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--stone);
}

.process__step {
  padding: 3rem 2.5rem 3rem 0;
  border-right: 1px solid var(--stone);
  padding-right: 2.5rem;
}

.process__step:last-child { border-right: none; }

.process__step-num {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--taupe);
  line-height: 1;
  margin-bottom: 1.5rem;
}

.process__step h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--espresso);
  margin-bottom: 0.75rem;
}

.process__step p {
  font-size: 0.88rem;
  line-height: 1.7;
  opacity: 0.7;
  max-width: 28ch;
}

/* ─── CTA Banner ─────────────────────────────────────────── */
.cta-banner {
  background: var(--espresso);
  padding: clamp(4rem, 8vw, 7rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(184, 170, 154, 0.06) 0%, transparent 60%),
    radial-gradient(circle at 70% 50%, rgba(247, 243, 236, 0.03) 0%, transparent 60%);
}

.cta-banner__inner {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  color: var(--ivory);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 300;
  max-width: 16ch;
  margin: 0 auto 1.5rem;
}

.cta-banner h2 em { font-style: italic; color: var(--sand); }

.cta-banner p {
  color: var(--stone);
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  max-width: 50ch;
  margin: 0 auto 2.5rem;
  opacity: 0.85;
}

/* ─── Footer ─────────────────────────────────────────────── */
.footer {
  background: var(--black);
  color: var(--ivory);
  padding: 5rem 0 2.5rem;
}

.footer__main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(247, 243, 236, 0.08);
  margin-bottom: 2.5rem;
}

.footer__brand {}

.footer__brand-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--ivory);
  margin-bottom: 0.75rem;
  display: block;
}

.footer__tagline {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--taupe);
  max-width: 28ch;
  margin-bottom: 2rem;
  opacity: 1;
}

.footer__email-link {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--stone);
  border-bottom: 1px solid rgba(247, 243, 236, 0.2);
  padding-bottom: 2px;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.footer__email-link:hover {
  color: var(--ivory);
  border-color: var(--ivory);
}

.footer__col-title {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 1.5rem;
}

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

.footer__link {
  font-size: 0.88rem;
  color: var(--stone);
  opacity: 0.7;
  transition: opacity var(--transition-fast), color var(--transition-fast);
}

.footer__link:hover { opacity: 1; color: var(--ivory); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer__copy {
  font-size: 0.72rem;
  color: var(--taupe);
  opacity: 0.6;
}

.footer__legal {
  display: flex;
  gap: 2rem;
}

.footer__legal a {
  font-size: 0.72rem;
  color: var(--taupe);
  opacity: 0.6;
  transition: opacity var(--transition-fast);
}

.footer__legal a:hover { opacity: 1; }

/* ─── Page Headers ───────────────────────────────────────── */
.page-header {
  background: var(--black);
  padding: clamp(8rem, 15vw, 13rem) 0 clamp(4rem, 7vw, 6rem);
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 60% 40%, rgba(184, 170, 154, 0.07) 0%, transparent 55%);
}

.page-header__inner {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  color: var(--ivory);
  font-weight: 300;
  max-width: 18ch;
}

.page-header h1 em { font-style: italic; color: var(--sand); }

.page-header p {
  color: var(--stone);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  max-width: 50ch;
  margin-top: 1.5rem;
  opacity: 0.85;
}

/* ─── About Page ─────────────────────────────────────────── */
.about-story__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.about-story__sticky {
  position: sticky;
  top: 7rem;
}

.about-story__sticky h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 1.5rem;
}

.about-story__sticky p {
  margin-bottom: 1rem;
  max-width: 42ch;
}

.about-story__content p {
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 1.75rem;
  max-width: 58ch;
}

.about-values {
  background: var(--sand);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--stone);
}

.value-card {
  background: var(--sand);
  padding: 3rem 2.5rem;
  transition: background var(--transition);
}

.value-card:hover { background: var(--ivory); }

.value-card__num {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--stone);
  margin-bottom: 1.5rem;
  display: block;
}

.value-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--espresso);
}

.value-card p { font-size: 0.9rem; max-width: none; }

/* ─── Services Page ──────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--stone);
  border: 1.5px solid var(--stone);
}

.pricing-card {
  background: var(--ivory);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  transition: background var(--transition);
}

.pricing-card--featured {
  background: var(--espresso);
}

.pricing-card--featured * { color: var(--ivory) !important; }
.pricing-card--featured .pricing-card__price { color: var(--sand) !important; }
.pricing-card--featured p { color: var(--stone) !important; opacity: 0.85; }
.pricing-card--featured .pricing-card__feature { border-color: rgba(247,243,236,0.12) !important; color: var(--stone) !important; }

/* Ensure the CTA button inside the featured card stays legible */
.pricing-card--featured .btn--light { color: var(--espresso) !important; }
.pricing-card--featured .btn--light:hover { color: var(--espresso) !important; }

.pricing-card__badge {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 0.5rem;
}

.pricing-card--featured .pricing-card__badge { color: var(--sand); }

.pricing-card__title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--espresso);
}

.pricing-card__price {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--espresso);
  line-height: 1;
  margin: 0.5rem 0;
}

.pricing-card__price span {
  font-size: 1.2rem;
  vertical-align: super;
  font-family: var(--font-sans);
  font-weight: 400;
}

.pricing-card__desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--espresso);
  opacity: 0.75;
  max-width: 36ch;
  margin-bottom: 0.5rem;
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--stone);
}

.pricing-card__feature {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--stone);
  font-size: 0.88rem;
  color: var(--espresso);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.pricing-card__feature:last-child { border-bottom: none; }

.pricing-card__feature::before {
  content: '—';
  color: var(--taupe);
  flex-shrink: 0;
}

.pricing-card__cta { margin-top: 2rem; }

/* ─── Products Page ──────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.product-card {
  display: flex;
  flex-direction: column;
}

.product-card__image {
  aspect-ratio: 4/3;
  background: var(--sand);
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.product-card__image-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card__tag {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 0.75rem;
}

.product-card__title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--espresso);
  margin-bottom: 0.75rem;
}

.product-card p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 1rem; }

.product-card__price {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--espresso);
  margin-bottom: 1rem;
}

/* ─── Contact Page ───────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(3rem, 8vw, 8rem);
}

.contact-info h2 { margin-bottom: 1.5rem; }
.contact-info p { margin-bottom: 1rem; max-width: 38ch; }

.contact-details {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-detail__label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 0.35rem;
  display: block;
}

.contact-detail__value {
  font-size: 0.95rem;
  color: var(--espresso);
}

.form-group {
  margin-bottom: 1.75rem;
}

.form-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 0.6rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 1rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--stone);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--espresso);
  outline: none;
  transition: border-color var(--transition-fast);
  border-radius: 0;
  appearance: none;
  accent-color: var(--espresso);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--espresso);
}

.form-textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.6;
}

/* ─── Custom Select Dropdown ─────────────────────────────── */
.custom-select {
  position: relative;
  width: 100%;
}

.custom-select__hidden {
  display: none;
}

.custom-select__trigger {
  width: 100%;
  padding: 1rem 2rem 1rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--stone);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--espresso);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: border-color var(--transition-fast);
  text-align: left;
  outline: none;
  user-select: none;
}

.custom-select__trigger:focus,
.custom-select.open .custom-select__trigger {
  border-color: var(--espresso);
}

.custom-select__trigger span {
  opacity: 0.5;
}

.custom-select__trigger.has-value span {
  opacity: 1;
}

.custom-select__arrow {
  width: 10px;
  height: 10px;
  border-right: 1px solid var(--taupe);
  border-bottom: 1px solid var(--taupe);
  transform: rotate(45deg) translateY(-3px);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
  margin-left: 1rem;
}

.custom-select.open .custom-select__arrow {
  transform: rotate(-135deg) translateY(-3px);
}

.custom-select__dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--ivory);
  border: 1px solid var(--stone);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  max-height: 260px;
  overflow-y: auto;
}

.custom-select.open .custom-select__dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.custom-select__option {
  padding: 0.85rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--espresso);
  cursor: pointer;
  transition: background var(--transition-fast);
  border-bottom: 1px solid rgba(184, 170, 154, 0.2);
}

.custom-select__option:last-child {
  border-bottom: none;
}

.custom-select__option:hover {
  background: var(--sand);
}

.custom-select__option.selected {
  background: var(--stone);
  color: var(--espresso);
}

.form-select {
  cursor: pointer;
}

/* ─── Journal / Blog ─────────────────────────────────────── */
.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.journal-card {}

.journal-card__image {
  aspect-ratio: 16/9;
  background: var(--sand);
  margin-bottom: 1.5rem;
  overflow: hidden;
  position: relative;
}

.journal-card__date {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 0.75rem;
}

.journal-card__title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--espresso);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.journal-card p { font-size: 0.88rem; line-height: 1.7; margin-bottom: 1rem; }

/* ─── Animations (progressive enhancement — hidden only when JS loads) ── */
.js-loaded .fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-loaded .fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.js-loaded .fade-in {
  opacity: 0;
  transition: opacity 0.9s ease;
}

.js-loaded .fade-in.visible { opacity: 1; }

/* Image styles */
.site-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

/* ─── Utilities ──────────────────────────────────────────── */
.text-center { text-align: center; }
.text-ivory { color: var(--ivory); }
.text-taupe { color: var(--taupe); }
.text-sand { color: var(--sand); }

.bg-ivory   { background: var(--ivory); }
.bg-sand    { background: var(--sand); }
.bg-espresso{ background: var(--espresso); }
.bg-black   { background: var(--black); }

/* ─── Image Placeholders ─────────────────────────────────── */
.img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--sand) 0%, var(--stone) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-placeholder--dark {
  background: linear-gradient(135deg, #2b211c 0%, #1a1310 100%);
}

.img-placeholder-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe);
  opacity: 0.5;
}

/* ─── Testimonials ───────────────────────────────────────── */
.testimonial {
  text-align: center;
  max-width: 56ch;
  margin: 0 auto;
}

.testimonial__avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  margin: 0 auto 1.75rem;
  overflow: hidden;
  background: var(--stone);
  border: 1px solid rgba(184, 170, 154, 0.35);
}

.testimonial__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial__quote {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.5;
  color: var(--espresso);
  margin: 0 auto 1.75rem;
  position: relative;
  max-width: 50ch;
}

.testimonial__quote::before {
  content: '\201C';
  display: block;
  font-family: var(--font-serif);
  font-size: 4rem;
  line-height: 0.3;
  color: var(--taupe);
  opacity: 0.35;
  margin-bottom: 1.25rem;
}

.testimonial__attribution {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--taupe);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.testimonials-grid .testimonial {
  max-width: none;
}

/* ─── Scenarios Grid (Services page) ────────────────────── */
.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .scenarios-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__main { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .process__steps { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .philosophy__pillars { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }

  .hero__content { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__headline { font-size: clamp(2.8rem, 10vw, 4.5rem); }

  .intro__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .intro__stats { flex-wrap: wrap; gap: 2rem; }

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

  .services__grid { grid-template-columns: 1fr; }
  .scenarios-grid { grid-template-columns: 1fr; }

  .founder__inner { grid-template-columns: 1fr; }
  .founder__image { display: none; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .beliefs-grid { grid-template-columns: 1fr 1fr !important; }
  .products-grid { grid-template-columns: 1fr; }
  .journal-grid { grid-template-columns: 1fr; }
  .philosophy__pillars { grid-template-columns: 1fr; }
  .about-story__inner { grid-template-columns: 1fr; }
  .about-story__sticky { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__main { grid-template-columns: 1fr; gap: 2.5rem; }
  .process__steps { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 3.5rem; }
}

@media (max-width: 480px) {
  .beliefs-grid { grid-template-columns: 1fr !important; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .cta-banner { text-align: left; }
  .cta-banner h2, .cta-banner p { text-align: left; margin-left: 0; }
}
