/* ─────────────────────────────────────────────
   Rosalind Moore Movement — Global Stylesheet
   ───────────────────────────────────────────── */

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

/* ── Tokens ── */
:root {
  --bg:           #F8F6F2;
  --bg-alt:       #EDEAE4;
  --white:        #FFFFFF;
  --text:         #1A1916;
  --text-muted:   #6B6860;
  --accent:       #7A9478;
  --accent-light: #C6D4C5;
  --border:       #D9D5CE;
  --nav-h:        68px;
  --max-w:        1160px;
  --serif:        'Cormorant Garamond', Georgia, serif;
  --sans:         'DM Sans', system-ui, sans-serif;
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── 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(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
}
h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
p  { max-width: 64ch; }

/* ── Layout helpers ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}
.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}
section { padding: 5.5rem 2rem; }
.bg-alt   { background: var(--bg-alt); }
.bg-white { background: var(--white); }

/* ── Navigation ── */
nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
}
.nav-brand {
  font-family: var(--serif);
  font-size: 1.3rem;
  letter-spacing: 0.01em;
  font-weight: 400;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s var(--ease);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  border-bottom-color: var(--text);
}

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.85rem 2.25rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--text);
  color: var(--text);
  background: transparent;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.btn:hover {
  background: var(--text);
  color: var(--white);
}
.btn-filled {
  background: var(--text);
  color: var(--white);
}
.btn-filled:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}
.btn-accent:hover {
  background: #698068;
  border-color: #698068;
}

/* ── Page offset for fixed nav ── */
main { padding-top: var(--nav-h); }

/* ── Hero ── */
.hero {
  min-height: calc(100svh - var(--nav-h));
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 2rem;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 110%, var(--accent-light) 0%, transparent 70%);
  opacity: 0.45;
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 860px; }
.hero-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.75rem;
}
.hero h1 { margin-bottom: 1.75rem; color: var(--text); }
.hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--text-muted);
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 0 auto 2.75rem;
  max-width: 52ch;
  line-height: 1.75;
}
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Image block ── */
.img-wrap {
  overflow: hidden;
  background: var(--bg-alt);
}
.img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.img-wrap:hover img { transform: scale(1.025); }
.img-portrait { aspect-ratio: 2/3; }
.img-32      { aspect-ratio: 3/2; }
.img-landscape { aspect-ratio: 16/9; }
.img-square { aspect-ratio: 1/1; }

/* Mixed-orientation studio pair: column widths sized so each
   cell renders at its native aspect ratio with matching heights.
   Math: landscape (3:2) at 9fr → height = 9/1.5 = 6;
         portrait  (2:3) at 4fr → height = 4×1.5 = 6. */
.studio-pair {
  display: grid;
  grid-template-columns: 9fr 4fr;
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  max-width: 880px;
  margin: 0 auto;
}

/* ── Intro strip ── */
.intro-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.intro-strip .text-col { padding: 1rem 0; }
.intro-strip h2 { margin-bottom: 1.5rem; }
.intro-strip p  { color: var(--text-muted); margin-bottom: 1.5rem; }

/* ── Pillars ── */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
}
.pillar {
  background: var(--white);
  padding: 2.5rem 2rem;
}
.pillar-num {
  font-family: var(--serif);
  font-size: 3rem;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 1rem;
}
.pillar h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.pillar p  { font-size: 0.95rem; color: var(--text-muted); }

/* ── Quote band ── */
.quote-band {
  background: var(--text);
  color: var(--white);
  text-align: center;
  padding: 5rem 2rem;
}
.quote-band blockquote {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2.25rem);
  font-weight: 300;
  font-style: italic;
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.5;
}
.quote-band cite {
  display: block;
  margin-top: 1.5rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #9B978F;
  font-style: normal;
}

/* ── CTA strip ── */
.cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-strip h2 { margin-bottom: 0.5rem; }
.cta-strip p  { color: var(--text-muted); }

/* ── Footer ── */
footer {
  background: var(--text);
  color: var(--bg);
  padding: 4rem 2.5rem 2.5rem;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #2E2C28;
}
.footer-brand {
  font-family: var(--serif);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}
.footer-tagline {
  font-size: 0.875rem;
  color: #9B978F;
  max-width: 30ch;
  line-height: 1.6;
}
.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #9B978F;
  margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col a {
  font-size: 0.9rem;
  color: #C8C4BC;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--bg); }
.footer-bottom {
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #6B6860;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ── Page header ── */
.page-header {
  padding: 4.5rem 2rem 4rem;
  text-align: center;
}
.page-header .section-label { margin-bottom: 1.25rem; }
.page-header h1 { margin-bottom: 1rem; }
.page-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin: 0 auto;
  max-width: 56ch;
  line-height: 1.75;
}

/* ── About specifics ── */
.about-bio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.about-bio-text h2 { margin-bottom: 1.5rem; }
.about-bio-text p  { color: var(--text-muted); margin-bottom: 1.25rem; }

.credentials {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 2.5rem;
  border-top: 1px solid var(--border);
}
.credential-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 1.25rem;
  align-items: baseline;
}
.credential-item .year {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  min-width: 40px;
  font-family: var(--sans);
}
.credential-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: none;
  margin: 0;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 3rem;
}
.approach-card {
  background: var(--white);
  padding: 2.25rem;
}
.approach-card .section-label { margin-bottom: 0.75rem; }
.approach-card h3 { margin-bottom: 0.75rem; font-size: 1.4rem; }
.approach-card p  { font-size: 0.95rem; color: var(--text-muted); }

/* ── Contact specifics ── */
.contact-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 5rem;
  align-items: start;
}
.contact-info { padding-top: 0.5rem; }
.contact-info h2 { margin-bottom: 1.5rem; }
.contact-info p  { color: var(--text-muted); margin-bottom: 2rem; font-size: 0.975rem; }

.contact-detail {
  margin-bottom: 1.75rem;
}
.contact-detail .label {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.35rem;
}
.contact-detail p { font-size: 0.95rem; color: var(--text-muted); margin: 0; max-width: none; }
.contact-detail a { color: var(--text-muted); transition: color 0.2s; }
.contact-detail a:hover { color: var(--text); }

.contact-form-wrap {
  background: var(--white);
  padding: 2.75rem;
  border: 1px solid var(--border);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
  transition: border-color 0.2s var(--ease);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--text); background: var(--white); }
.form-group textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* ── Results / Testimonials ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
}
.testimonial {
  background: var(--white);
  padding: 2.75rem;
}
.testimonial blockquote {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 1.75rem;
}
.testimonial blockquote::before {
  content: '\201C';
  font-size: 3rem;
  color: var(--accent-light);
  font-family: var(--serif);
  line-height: 0;
  vertical-align: -0.6em;
  margin-right: 0.15em;
}
.testimonial-meta { display: flex; align-items: center; gap: 1rem; }
.testimonial-meta .line { flex: 0 1 3rem; min-width: 1rem; height: 1px; background: var(--border); }
.testimonial cite {
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.results-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  text-align: center;
  background: var(--text);
  color: var(--white);
}
.stat {
  padding: 3.5rem 2rem;
  border-right: 1px solid #2E2C28;
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-weight: 300;
}
.stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #9B978F;
}

/* ── Divider ── */
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ── Utility ── */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-sm { margin-top: 1rem; }
.mt-md { margin-top: 2rem; }
.mt-lg { margin-top: 3rem; }
.mb-sm { margin-bottom: 1rem; }
.mb-md { margin-bottom: 2rem; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .intro-strip,
  .about-bio,
  .about-bio-text,
  .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .pillars-grid { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: 1fr; }
  .studio-pair { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .results-stats { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid #2E2C28; }
  .stat:last-child { border-bottom: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > div:first-child { grid-column: 1 / -1; }
  .cta-strip { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  :root { --nav-h: 60px; }
  nav { padding: 0 1.25rem; }
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--border); }
  .nav-links a {
    display: block;
    padding: 1rem 1.5rem;
    font-size: 0.8rem;
    border-bottom: none;
  }
  .nav-toggle { display: flex; }
  section { padding: 3.5rem 1.25rem; }
  .page-header { padding: 3rem 1.25rem; }
  .contact-form-wrap { padding: 1.75rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: center; }
  .testimonial { padding: 2rem 1.5rem; }
}
