/* style.css — Off Script Consulting */

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

/* ─── Tokens ─────────────────────────────────────────────────────────────── */
:root {
  /* Type scale */
  --text-xs:   clamp(0.85rem, 0.8rem + 0.3vw, 0.98rem);
  --text-sm:   clamp(0.95rem, 0.9rem + 0.35vw, 1.1rem);
  --text-base: clamp(1.05rem, 1rem + 0.35vw, 1.2rem);
  --text-md:   clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem);
  --text-lg:   clamp(1.2rem, 1rem + 1vw, 1.8rem);
  --text-xl:   clamp(1.8rem, 1.2rem + 2.5vw, 3.2rem);
  --text-2xl:  clamp(2.4rem, 1.4rem + 4vw, 5rem);
  --text-hero: clamp(3rem, 1.5rem + 6vw, 6rem);

  /* Spacing */
  --s1: 0.25rem; --s2: 0.5rem; --s3: 0.75rem; --s4: 1rem;
  --s5: 1.25rem; --s6: 1.5rem; --s8: 2rem; --s10: 2.5rem;
  --s12: 3rem; --s16: 4rem; --s20: 5rem; --s24: 6rem; --s32: 8rem;

  /* Brand palette */
  --black:      #0a0a0a;
  --off-black:  #111111;
  --charcoal:   #1c1c1c;
  --stone:      #b5b0a8;
  --warm-gray:  #8a8680;
  --linen:      #f0ece4;
  --cream:      #f8f5f0;
  --accent:     #c9b48a;
  --accent-dk:  #a08a62;
  --white:      #ffffff;

  /* Semantic roles */
  --color-bg:       var(--cream);
  --color-text:     var(--black);
  --color-accent:   var(--accent);
  --color-muted:    var(--warm-gray);

  /* Fonts */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', 'Helvetica Neue', sans-serif;

  /* Radius / Shadow / Transition */
  --radius-sm: 2px;
  --radius-md: 4px;
  --shadow-card: 0 2px 16px rgba(10,10,10,0.08);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 300ms;
}

/* ─── Layout helpers ─────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 5vw, 4rem);
}

section { padding-block: clamp(var(--s12), 8vw, var(--s24)); }

/* ─── Typography helpers ─────────────────────────────────────────────────── */
.label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-dk);
  display: block;
  margin-bottom: var(--s4);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 300;
  line-height: 1.1;
}

.section-title em { font-style: italic; color: var(--accent-dk); }

.body-text {
  font-size: var(--text-sm);
  line-height: 1.9;
  color: var(--warm-gray);
  font-weight: 300;
}

/* ─── Divider ────────────────────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.25;
  margin-inline: clamp(1.5rem, 5vw, 4rem);
}

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--dur) var(--ease);
  cursor: pointer;
  border: none;
}

.btn-gold {
  background: var(--accent);
  color: var(--black);
}
.btn-gold:hover { background: var(--accent-dk); color: var(--white); }

.btn-dark {
  background: var(--black);
  color: var(--white);
}
.btn-dark:hover { background: var(--charcoal); }

/* ─── NAV ────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px clamp(1.5rem, 5vw, 3rem);
  background: rgba(10,10,10,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200,184,154,0.12);
  transition: box-shadow var(--dur) var(--ease);
}

.nav--scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.4); }

.nav-logo img {
  height: 72px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 1;
}

.nav-links {
  display: flex;
  gap: clamp(1rem, 3vw, 2rem);
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #aaa;
  text-decoration: none;
}
.nav-links a:hover { color: var(--accent); }

.nav-cta {
  background: var(--accent) !important;
  color: var(--black) !important;
  padding: 8px 20px !important;
  font-weight: 500 !important;
}
.nav-cta:hover { background: var(--accent-dk) !important; color: var(--white) !important; }

/* Ghost/outline variant — replaces solid fill in the nav */
.nav-cta-ghost {
  background: transparent !important;
  color: var(--accent) !important;
  border: 1px solid var(--accent) !important;
  padding: 7px 20px !important;
}
.nav-cta-ghost:hover {
  background: rgba(201,180,138,0.12) !important;
  color: var(--accent) !important;
  border-color: var(--accent) !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: #aaa;
  transition: all var(--dur) var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─── HERO ───────────────────────────────────────────────────────────────── */
.hero {
  background: var(--black);
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: clamp(7rem, 12vw, 10rem) clamp(1.5rem, 5vw, 4rem) clamp(4rem, 7vw, 6rem);
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 30%;
  z-index: 0;
  opacity: 1;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Heavier overlay for bright photo — left is dark for text, right reveals subjects */
  background:
    linear-gradient(to right, rgba(8,6,4,0.92) 0%, rgba(8,6,4,0.72) 40%, rgba(8,6,4,0.25) 70%, rgba(8,6,4,0.10) 100%),
    linear-gradient(to top,   rgba(8,6,4,0.55) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content { max-width: 780px; position: relative; z-index: 2; }

.hero-tag {
  font-size: var(--text-xs);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: var(--s3);
}

.hero-qualifier {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  font-weight: 300;
  letter-spacing: 0.04em;
  margin-bottom: var(--s6);
  font-style: italic;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 300;
  line-height: 1.02;
  color: var(--white);
  margin-bottom: var(--s6);
}

.hero-headline em {
  font-style: italic;
  color: var(--accent);
  display: block;
}

.hero-sub {
  font-size: var(--text-base);
  line-height: 1.85;
  color: var(--stone);
  max-width: 580px;
  font-weight: 300;
  margin-bottom: var(--s10);
}

/* Hero CTA — larger and more commanding than a standard btn */
.btn-hero-cta {
  font-size: var(--text-sm);
  padding: 18px 48px;
  letter-spacing: 0.2em;
  box-shadow: 0 4px 32px rgba(201,180,138,0.25);
}
.btn-hero-cta:hover {
  box-shadow: 0 6px 40px rgba(201,180,138,0.35);
  transform: translateY(-1px);
}

/* Proof line beneath hero CTA */
.hero-proof {
  margin-top: var(--s2);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  font-style: italic;
  letter-spacing: 0.01em;
  line-height: 1.5;
}
.hero-proof strong {
  color: rgba(255,255,255,0.75);
  font-style: normal;
  font-weight: 500;
}

.hero-quote {
  font-size: var(--text-sm);
  line-height: 1.85;
  color: var(--warm-gray);
  max-width: 580px;
  font-weight: 300;
  border-left: 2px solid var(--accent);
  padding-left: var(--s5);
  margin-bottom: var(--s12);
}

.hero-quote em { color: var(--accent); font-style: italic; }

/* ─── PHILOSOPHY ─────────────────────────────────────────────────────────── */
.philosophy { background: var(--off-black); position: relative; overflow: hidden; }

.philosophy .label { color: var(--accent); }
.philosophy .section-title { color: var(--white); }

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

.philosophy-manifesto {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  font-style: italic;
  color: rgba(255,255,255,0.85);
  line-height: 1.65;
  margin-bottom: var(--s8);
  padding-bottom: var(--s8);
  border-bottom: 1px solid rgba(201,180,138,0.2);
}

.philosophy-manifesto em { color: var(--accent); font-style: italic; }

.philosophy-right p {
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.95;
  color: var(--stone);
  font-weight: 300;
  margin-bottom: var(--s4);
}

.philosophy-right strong { color: var(--white); font-weight: 400; }

.pullquote {
  border-left: 2px solid var(--accent);
  padding-left: var(--s6);
  margin-top: var(--s8);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  font-style: italic;
  color: var(--white);
  line-height: 1.55;
}

.philosophy-stamp {
  position: absolute;
  bottom: var(--s8);
  right: clamp(1.5rem, 5vw, 4rem);
  width: 100px;
  opacity: 0.45;
  pointer-events: none;
  filter: brightness(0) invert(1);
}

/* ─── SERVICES ───────────────────────────────────────────────────────────── */
.services { background: var(--black); }

.services .label { color: var(--accent); }

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  gap: var(--s6);
}

.services-header .section-title { color: var(--white); }

.services-note {
  font-size: var(--text-xs);
  color: var(--warm-gray);
  max-width: 220px;
  text-align: right;
  line-height: 1.75;
  font-style: italic;
}

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

.service-card {
  background: #161616;
  padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.5rem);
  border-top: 2px solid var(--accent);
  transition: background var(--dur) var(--ease);
  position: relative;
}

.service-card:hover { background: #1e1c17; }

.service-icon {
  font-size: 1.4rem;
  margin-bottom: var(--s4);
  opacity: 0.7;
}

.service-name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--white);
  margin-bottom: var(--s4);
  line-height: 1.2;
}

.service-desc {
  font-size: var(--text-sm);
  color: var(--warm-gray);
  line-height: 1.85;
  font-weight: 300;
}

.service-desc strong { color: var(--accent); font-weight: 400; }

/* ─── PRICING ────────────────────────────────────────────────────────────── */
.pricing { background: var(--cream); }

.discovery-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.09);
  padding: clamp(1.5rem, 4vw, 2.75rem) clamp(1.5rem, 4vw, 2.75rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s8);
  transition: border-color var(--dur) var(--ease);
}
.discovery-card:hover { border-color: var(--accent); }

.disc-tag {
  font-size: var(--text-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-dk);
  display: block;
  margin-bottom: var(--s2);
}

.disc-name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 300;
  color: var(--black);
}

.disc-desc {
  font-size: var(--text-sm);
  color: var(--warm-gray);
  line-height: 1.85;
  margin-top: var(--s2);
  font-weight: 300;
  max-width: 520px;
}

.disc-price {
  text-align: right;
  flex-shrink: 0;
}

.disc-price .price {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--accent-dk);
  line-height: 1;
}

.disc-price .sub {
  font-size: var(--text-xs);
  color: var(--warm-gray);
  margin-top: var(--s1);
  letter-spacing: 0.06em;
}

.pricing-note {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--warm-gray);
  font-style: italic;
  margin-top: var(--s8);
  max-width: 560px;
  margin-inline: auto;
  line-height: 1.75;
}

.pricing-scarcity {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--accent);
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-top: var(--s4);
  max-width: 480px;
  margin-inline: auto;
  line-height: 1.6;
  border-top: 1px solid rgba(201,180,138,0.2);
  padding-top: var(--s4);
}

/* ─── TEAM ───────────────────────────────────────────────────────────────── */
.team { background: var(--off-black); }

.team .label { color: var(--accent); }
.team .section-title { color: var(--white); }

.team-intro { color: var(--stone); max-width: 680px; margin-top: var(--s6); }
.team-intro p { font-size: var(--text-sm); line-height: 1.9; font-weight: 300; margin-bottom: var(--s4); }
.team-intro p.accent-quote {
  color: var(--accent);
  font-style: italic;
  font-family: var(--font-display);
  font-size: var(--text-md);
  line-height: 1.6;
  margin-top: var(--s6);
}

.team-photo-wrap {
  width: 100%;
  max-height: 480px;
  overflow: hidden;
  margin-block: clamp(2.5rem, 5vw, 4rem);
}

.team-photo-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center 25%;
}

.team-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s6);
}

.team-card {
  background: var(--charcoal);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-left: 3px solid var(--accent);
  display: flex;
  gap: var(--s6);
  align-items: flex-start;
}

.team-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(200,184,154,0.4);
}

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

.team-name {
  font-family: var(--font-display);
  font-size: var(--text-md);
  color: var(--white);
  margin-bottom: var(--s1);
  font-weight: 400;
}

.team-role {
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: var(--s3);
}

.team-bio {
  font-size: var(--text-xs);
  color: var(--stone);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: var(--s3);
}

.team-bio strong { color: var(--white); font-weight: 400; }

.team-bio.accent-italic {
  color: var(--accent);
  font-style: italic;
  font-family: var(--font-display);
  font-size: var(--text-sm);
}

/* ─── THE STORY ──────────────────────────────────────────────────────────── */
.story {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: clamp(3rem, 6vw, 5.5rem) clamp(1.75rem, 5vw, 4rem);
  isolation: isolate;
}

.story > .label,
.story-title,
.story-body,
.story-closing { position: relative; z-index: 2; }

.story::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right, rgba(8,6,4,0.92) 0%, rgba(8,6,4,0.74) 42%, rgba(8,6,4,0.30) 72%, rgba(8,6,4,0.12) 100%),
    linear-gradient(to top, rgba(8,6,4,0.60) 0%, transparent 55%);
  pointer-events: none;
}

.story-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 300;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: var(--s8);
}

.story-title em { font-style: italic; color: var(--accent); }

.story-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  overflow: hidden;
}

.story-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 42%;
}

.story-body {
  font-size: var(--text-sm);
  color: var(--stone);
  line-height: 1.95;
  font-weight: 300;
  max-width: 780px;
  margin-bottom: var(--s4);
}

.story-closing {
  color: var(--accent);
  font-style: italic;
  font-family: var(--font-display);
  font-size: var(--text-md);
  line-height: 1.6;
  max-width: 780px;
  margin-top: var(--s8);
  border-left: 2px solid var(--accent);
  padding-left: var(--s6);
}

/* ─── TESTIMONIALS ───────────────────────────────────────────────────────── */
.testimonials { background: var(--cream); }

.testi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s6);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.testi-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.testi-card:hover { border-color: var(--accent); transform: translateY(-3px); }

.testi-result {
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-dk);
  margin-bottom: var(--s3);
  font-weight: 500;
}

.testi-quote {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.65;
  margin-bottom: var(--s5);
}

.testi-author {
  font-size: var(--text-xs);
  color: var(--warm-gray);
}

.testi-author strong { color: var(--charcoal); font-weight: 500; }

/* ─── CASE STUDY ─────────────────────────────────────────────────────────── */
.case-study { background: var(--off-black); }

.case-study .label { color: var(--accent); }
.case-study .section-title { color: var(--white); }

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  background: #1a1a1a;
}

.case-col {
  background: var(--off-black);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.case-col-label {
  font-size: var(--text-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: var(--s4);
}

.case-text {
  font-size: var(--text-sm);
  color: var(--stone);
  line-height: 1.85;
  font-weight: 300;
}

.case-result {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  margin-top: var(--s6);
}

.case-result-label {
  font-size: var(--text-xs);
  color: var(--warm-gray);
  margin-top: var(--s1);
}

/* ─── CTA SECTION ────────────────────────────────────────────────────────── */
.cta-section {
  background: var(--black);
  text-align: center;
  padding-block: clamp(5rem, 10vw, 8rem);
}

.cta-section .label {
  color: var(--accent);
  display: block;
  text-align: center;
  margin-bottom: var(--s6);
}

.cta-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: var(--s6);
}

.cta-title em { font-style: italic; color: var(--accent); }

.cta-sub {
  font-size: var(--text-sm);
  color: var(--stone);
  max-width: 420px;
  margin-inline: auto;
  margin-bottom: var(--s12);
  line-height: 1.85;
  font-weight: 300;
}

/* ─── CONTACT ────────────────────────────────────────────────────────────── */
.contact { background: var(--cream); }

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

.contact-info-list {
  margin-top: var(--s8);
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}

.contact-info-item {
  display: flex;
  gap: var(--s4);
  align-items: center;
  font-size: var(--text-sm);
  color: var(--charcoal);
}

.contact-icon {
  width: 36px;
  height: 36px;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  color: var(--white);
}

/* Form */
.contact-form { display: flex; flex-direction: column; gap: var(--s4); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--warm-gray);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.1);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--black);
  outline: none;
  transition: border-color var(--dur) var(--ease);
  border-radius: 0;
  -webkit-appearance: none;
}

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

.form-group textarea { resize: vertical; min-height: 90px; }

.form-success {
  display: none;
  margin-top: var(--s2);
  font-size: var(--text-sm);
  color: var(--accent);
  font-style: italic;
  letter-spacing: 0.03em;
  line-height: 1.6;
}

/* ─── FOOTER ─────────────────────────────────────────────────────────────── */
footer {
  background: var(--off-black);
  padding: clamp(2rem, 5vw, 3rem) clamp(1.5rem, 5vw, 4rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #1a1a1a;
  gap: var(--s6);
  flex-wrap: wrap;
}

.footer-logo img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.footer-tagline {
  font-size: var(--text-xs);
  color: var(--warm-gray);
  letter-spacing: 0.1em;
  margin-top: var(--s2);
}

.footer-links { display: flex; gap: clamp(1rem, 2.5vw, 1.75rem); flex-wrap: wrap; }

.footer-links a {
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm-gray);
  text-decoration: none;
}
.footer-links a:hover { color: var(--accent); }

.footer-copy { font-size: var(--text-xs); color: #3a3a3a; }

/* ─── SCROLL ANIMATIONS ──────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; flex-direction: column; gap: var(--s5); position: fixed; top: 72px; left: 0; right: 0; background: rgba(10,10,10,0.98); padding: var(--s8) var(--s6); border-bottom: 1px solid rgba(200,184,154,0.12); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  .philosophy-grid,
  .contact-grid { grid-template-columns: 1fr; gap: var(--s10); }

  .services-header { flex-direction: column; align-items: flex-start; }
  .services-note { text-align: left; max-width: 100%; }
  .services-grid,
  .case-grid { grid-template-columns: 1fr; gap: 2px; }
  .case-grid { background: none; gap: var(--s4); }

  .team-cards { grid-template-columns: 1fr; }
  .team-photo-wrap { max-height: 300px; }
  .team-photo-wrap img { height: 300px; }

  /* Narrow screens: text spans full width, so darken the story photo more evenly */
  .story::before {
    background:
      linear-gradient(to right, rgba(8,6,4,0.90) 0%, rgba(8,6,4,0.78) 100%),
      linear-gradient(to top, rgba(8,6,4,0.55) 0%, transparent 75%);
  }
  .story-photo img { object-position: 65% 45%; }

  .discovery-card { flex-direction: column; align-items: flex-start; gap: var(--s5); }
  .disc-price { text-align: left; }

  .testi-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero { min-height: 90vh; }
  .team-card { flex-direction: column; }
}
