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

:root {
  --ink:       #1a1714;
  --ash:       #2e2b28;
  --stone:     #7a746e;
  --mist:      #c9c3bb;
  --parchment: #f5f2ee;
  --cream:     #faf8f5;
  --warm:      #fffdf9;
  --accent:    #b8a99a;
}

html { scroll-behavior: smooth; }

body {
  background: var(--warm);
  color: var(--ink);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

/* ─── TYPOGRAPHY ───────────────────────────── */
.display {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.display em, .display-italic {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  line-height: 1.1;
}
.eyebrow {
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
}

/* ─── LOGO SVG ─────────────────────────────── */
.logo-svg { display: block; }
.logo-svg--light .logo-text { fill: var(--warm); }
.logo-svg--dark  .logo-text { fill: var(--ink); }
.logo-svg--stone .logo-text { fill: var(--mist); }

/* ─── NAV ──────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 52px;
  transition: background 0.4s, padding 0.3s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
nav.scrolled {
  background: rgba(255,253,249,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 18px 52px;
  border-bottom-color: var(--mist);
}
/* when nav is over dark hero */
nav.nav-dark .nav-links a,
nav.nav-dark .nav-cta { color: var(--warm); }
nav.nav-dark .nav-cta { border-bottom-color: rgba(255,253,249,0.5); }
nav.scrolled .nav-links a,
nav.scrolled .nav-cta { color: var(--ink); }
nav.scrolled .nav-cta { border-bottom-color: var(--ink); }

.nav-logo { text-decoration: none; line-height: 1; }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

/* ─── BUTTONS ──────────────────────────────── */
.btn-ghost {
  display: inline-block;
  font-size: 10px; font-weight: 300;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--warm);
  border: 1px solid rgba(255,253,249,0.45);
  padding: 14px 36px;
  text-decoration: none;
  transition: background 0.25s, border-color 0.25s;
}
.btn-ghost:hover { background: rgba(255,253,249,0.1); border-color: rgba(255,253,249,0.8); }

.btn-dark {
  display: inline-block;
  font-size: 10px; font-weight: 300;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 14px 36px;
  text-decoration: none;
  transition: background 0.25s, color 0.25s;
  align-self: flex-start;
}
.btn-dark:hover { background: var(--ink); color: var(--warm); }

.btn-light {
  display: inline-block;
  font-size: 10px; font-weight: 300;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--ink);
  background: var(--warm);
  padding: 16px 40px;
  text-decoration: none;
  transition: background 0.25s;
  align-self: flex-start;
}
.btn-light:hover { background: var(--parchment); }

/* ─── PAGE HERO (inner pages) ──────────────── */
.page-hero {
  min-height: 55vh;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 120px 52px 72px;
  position: relative;
  overflow: hidden;
}
.page-hero-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 30%;
  opacity: 0.45;
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero-eyebrow { color: var(--accent); margin-bottom: 20px; }
.page-hero-title {
  font-size: clamp(48px, 6vw, 96px);
  color: var(--warm);
}
.page-hero-sub {
  font-size: 14px; color: var(--mist);
  max-width: 520px; line-height: 1.9;
  margin-top: 24px;
}

/* ─── MARQUEE ──────────────────────────────── */
.marquee-wrap {
  overflow: hidden;
  background: var(--ink);
  padding: 14px 0;
}
.marquee-track {
  display: flex;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}
.marquee-item {
  font-size: 10px; font-weight: 200;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--mist); padding: 0 36px;
}
.marquee-dot { color: var(--accent); padding: 0 4px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── FOOTER ───────────────────────────────── */
footer {
  background: var(--ash);
  padding: 0 52px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
  padding: 56px 0 40px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-logo { text-decoration: none; }
.footer-nav {
  display: flex; gap: 28px; list-style: none;
  justify-content: center;
}
.footer-nav a {
  font-size: 10px; font-weight: 200;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--stone); text-decoration: none;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--mist); }
.footer-social {
  display: flex; gap: 20px; justify-content: flex-end; align-items: center;
}
.footer-social a {
  font-size: 10px; font-weight: 200; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--stone);
  text-decoration: none; transition: color 0.2s;
}
.footer-social a:hover { color: var(--mist); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0;
}
.footer-copy, .footer-credit {
  font-size: 10px; font-weight: 200; letter-spacing: 0.12em;
  color: var(--stone);
}
.footer-credit a { color: var(--stone); text-decoration: none; }

/* ─── SCROLL REVEAL ────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s cubic-bezier(0.25,0.46,0.45,0.94),
              transform 0.75s cubic-bezier(0.25,0.46,0.45,0.94);
}
.reveal.visible { opacity: 1; transform: none; }
.rd1 { transition-delay: 0.1s; }
.rd2 { transition-delay: 0.22s; }
.rd3 { transition-delay: 0.34s; }
.rd4 { transition-delay: 0.46s; }

/* ─── CONTENT SECTIONS ─────────────────────── */
.section { padding: 110px 52px; }
.section--dark { background: var(--ink); }
.section--parchment { background: var(--parchment); }
.section--cream { background: var(--cream); }

.section-header { margin-bottom: 64px; }
.section-title { font-size: clamp(34px, 3.5vw, 58px); }
.section-title--light { color: var(--warm); }

/* split layout */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
}
.split--60-40 { grid-template-columns: 60% 40%; }
.split--40-60 { grid-template-columns: 40% 60%; }

.split-img {
  overflow: hidden;
  position: relative;
}
.split-img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 7s ease;
}
.split-img:hover img { transform: scale(1.04); }

.split-content {
  padding: 80px 72px;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--warm);
}
.split-content--dark { background: var(--ink); }
.split-content--parchment { background: var(--parchment); }

/* ─── MASONRY / GALLERY GRID ───────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.gallery-item {
  overflow: hidden;
  position: relative;
  background: var(--parchment);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item--tall { grid-row: span 2; }

.gallery-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 48px 20px 18px;
  background: linear-gradient(transparent, rgba(26,23,20,0.65));
  opacity: 0; transition: opacity 0.3s;
}
.gallery-item:hover .gallery-label { opacity: 1; }
.gallery-label span {
  font-size: 10px; font-weight: 200;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--warm);
}

/* ─── TESTIMONIAL ──────────────────────────── */
.testimonial-section {
  padding: 130px 52px;
  background: var(--parchment);
  text-align: center;
}
.testimonial-inner { max-width: 860px; margin: 0 auto; }
.testimonial-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-weight: 300;
  font-size: clamp(20px, 2.4vw, 32px);
  line-height: 1.6; color: var(--ink);
  margin-bottom: 36px;
}
.testimonial-author {
  font-size: 10px; font-weight: 200;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--stone); margin-bottom: 52px;
}
.t-dots { display: flex; justify-content: center; gap: 10px; }
.t-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--mist); border: none; cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.t-dot.active { background: var(--ink); transform: scale(1.4); }
.t-panel { display: none; }
.t-panel.active { display: block; }

/* ─── CONTACT FORM ─────────────────────────── */
.contact-form {
  display: grid; gap: 20px;
  max-width: 560px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: 9px; font-weight: 200; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--stone);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--mist);
  padding: 10px 0;
  font-family: 'Jost', sans-serif; font-weight: 300;
  font-size: 14px; color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-bottom-color: var(--ink); }
.form-group textarea { resize: vertical; min-height: 100px; }

/* ─── CTA STRIP ─────────────────────────────── */
.cta-strip {
  background: var(--ink);
  padding: 100px 52px;
  display: flex; align-items: center;
  justify-content: space-between; gap: 40px;
}
.cta-strip-text .display { font-size: clamp(32px, 3.5vw, 56px); color: var(--warm); }

/* ─── RESPONSIVE ───────────────────────────── */
@media (max-width: 960px) {
  nav { padding: 22px 24px; }
  nav.scrolled { padding: 14px 24px; }
  .nav-links { display: none; }

  /* HAMBURGER MENU */
  .nav-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
    z-index: 300;
  }
  .nav-hamburger span {
    display: block;
    width: 24px;
    height: 1px;
    background: var(--warm);
    transition: all 0.3s;
  }
  nav.scrolled .nav-hamburger span { background: var(--ink); }
  nav.scrolled .nav-hamburger span { background: var(--ink); }

  .nav-mobile-open {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--ink);
    z-index: 250;
    justify-content: center;
    align-items: center;
    gap: 32px;
    list-style: none;
  }
  .nav-mobile-open li a {
    font-size: 13px;
    font-weight: 200;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--warm);
    text-decoration: none;
  }
  .nav-mobile-close {
    position: fixed;
    top: 28px; right: 24px;
    background: none;
    border: none;
    color: var(--warm);
    font-size: 28px;
    cursor: pointer;
    z-index: 260;
    line-height: 1;
  }

  .page-hero { padding: 100px 24px 56px; min-height: 50vh; }

  .section { padding: 72px 24px; }
  .split, .split--60-40, .split--40-60 { grid-template-columns: 1fr; }
  .split-img { height: 58vw; }
  .split-content { padding: 52px 24px; }

  /* FIX PORTRAIT CROP — show top of image not middle */
  .ai-right img { object-position: top center; }

  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item--tall { grid-row: span 1; }

  .testimonial-section { padding: 80px 24px; }

  .footer-inner { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .footer-nav { flex-wrap: wrap; gap: 16px; }
  .footer-social { justify-content: center; }
  footer { padding: 0 24px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }

  .cta-strip { flex-direction: column; text-align: center; padding: 72px 24px; }
  .cta-strip .btn-light { align-self: center; }

  /* FIX TEAM GRID — 2 columns on mobile */
  .team-grid { grid-template-columns: 1fr 1fr !important; gap: 24px !important; }

  /* FIX PRICING TABLE — stack on mobile */
  .pricing-table { display: none; }
  .pricing-mobile { display: block; }
}

@media (min-width: 961px) {
  .nav-hamburger { display: none; }
  .pricing-mobile { display: none; }
}

/* PRICING MOBILE CARDS */
.pricing-mobile { padding: 0; }
.pm-card {
  background: var(--ash);
  padding: 32px 24px;
  margin-bottom: 2px;
}
.pm-card-hours {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 300;
  color: var(--warm);
  line-height: 1;
  margin-bottom: 6px;
}
.pm-card-label {
  font-size: 10px;
  font-weight: 200;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 24px;
}
.pm-card-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.pm-card-row:last-child { border-bottom: none; }
.pm-card-type {
  font-size: 10px;
  font-weight: 200;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
}
.pm-card-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 300;
  color: #5bbcb8;
}
