/* ============================================
   WATTIE ADVISORY — Global Styles
   Aesthetic: Refined editorial. Warm ivory ground.
   Cormorant for display, DM Sans for body.
   ============================================ */

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

:root {
  --ivory:       #F9F6F0;
  --warm-white:  #FDFBF8;
  --parchment:   #EDE8DF;
  --stone:       #C9C1B4;
  --ink:         #1C1814;
  --ink-soft:    #3D3730;
  --ink-muted:   #6B6259;
  --gold:        #A8873F;
  --gold-light:  #C9A85C;
  --deep:        #0F0D0B;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --max-w: 1140px;
  --section-gap: 120px;
  --text-gap: 1.75rem;
}

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

body {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
}

/* ---- TYPOGRAPHY ---- */

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

h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.25rem; }

p { max-width: 68ch; }

a {
  color: inherit;
  text-decoration: none;
}

strong { font-weight: 500; }

em { font-style: italic; }

/* ---- LAYOUT ---- */

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: var(--section-gap) 0;
}

/* ---- HEADER ---- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(249, 246, 240, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--parchment);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  text-decoration: none;
}

.logo-main {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.logo-sub {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

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

.main-nav a {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.2s;
}

.main-nav a:hover { color: var(--gold); }

.nav-cta {
  background: var(--ink) !important;
  color: var(--ivory) !important;
  padding: 0.6rem 1.4rem !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.1em !important;
  transition: background 0.2s !important;
}

.nav-cta:hover {
  background: var(--gold) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  transition: all 0.3s;
}

/* ---- BUTTONS ---- */

.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
  border: none;
}

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

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

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

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

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

.btn-gold:hover {
  background: var(--ink);
}

/* ---- DIVIDERS ---- */

.rule {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 1.5rem 0;
}

.rule-center {
  margin: 1.5rem auto;
}

/* ---- PULL QUOTE ---- */

.pull-quote {
  border-left: 2px solid var(--gold);
  padding: 1.5rem 0 1.5rem 2rem;
  margin: 3rem 0;
}

.pull-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 300;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.5;
  max-width: 55ch;
}

.pull-quote cite {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-style: normal;
}

/* ---- TESTIMONIAL ---- */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2px;
  background: var(--parchment);
}

.testimonial-item {
  background: var(--warm-white);
  padding: 2.5rem;
}

.testimonial-item p {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}

.testimonial-item cite {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-style: normal;
}

/* ---- LABEL / EYEBROW ---- */

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--font-body);
  font-weight: 400;
}

/* ---- DARK SECTION ---- */

.section-dark {
  background: var(--ink);
  color: var(--ivory);
}

.section-dark h2,
.section-dark h3,
.section-dark p {
  color: var(--ivory);
}

.section-dark .eyebrow {
  color: var(--gold-light);
}

.section-dark .rule {
  background: var(--gold-light);
}

/* ---- PARCHMENT SECTION ---- */

.section-parchment {
  background: var(--parchment);
}

/* ---- PROCESS STEPS ---- */

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px;
  background: var(--stone);
  margin-top: 3rem;
}

.process-step {
  background: var(--ivory);
  padding: 2.5rem 2rem;
}

.section-dark .process-steps {
  background: rgba(255,255,255,0.1);
}

.section-dark .process-step {
  background: rgba(255,255,255,0.04);
}

.step-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--stone);
  line-height: 1;
  margin-bottom: 1rem;
}

.section-dark .step-number {
  color: rgba(255,255,255,0.15);
}

.process-step h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.process-step p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--ink-muted);
}

.section-dark .process-step p {
  color: rgba(249,246,240,0.6);
}

/* ---- BLOG ---- */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2px;
  background: var(--parchment);
  margin-top: 3rem;
}

.blog-card {
  background: var(--warm-white);
  padding: 2.5rem;
  transition: background 0.2s;
}

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

.blog-card .eyebrow {
  margin-bottom: 0.75rem;
}

.blog-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.blog-card p {
  font-size: 0.88rem;
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.blog-card .read-more {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: color 0.2s;
}

.blog-card:hover .read-more {
  color: var(--ink);
  border-color: var(--ink);
}

/* ---- FOOTER ---- */

.site-footer {
  background: var(--deep);
  color: rgba(249,246,240,0.7);
  padding: 5rem 0 2.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(249,246,240,0.1);
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--ivory);
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  max-width: 100%;
}

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

.footer-links a {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--ivory);
}

.footer-contact p,
.footer-contact a {
  font-size: 0.82rem;
  display: block;
  margin-bottom: 0.4rem;
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: var(--ivory);
}

.footer-bottom {
  padding-top: 2rem;
  font-size: 0.75rem;
  color: rgba(249,246,240,0.35);
  letter-spacing: 0.05em;
}

/* ---- RESPONSIVE ---- */

@media (max-width: 900px) {
  :root { --section-gap: 80px; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--ivory);
    border-bottom: 1px solid var(--parchment);
    padding: 1.5rem 2rem;
    gap: 1.25rem;
    align-items: flex-start;
  }

  .main-nav.open { display: flex; }

  .nav-toggle { display: flex; }

  .site-header { position: relative; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  :root { --section-gap: 60px; }

  .process-steps {
    grid-template-columns: 1fr;
  }
}
