/* ── Variables ── */
:root {
  --navy:   #22277A;
  --navy2:  #1B3A5C;
  --gold:   #B9BFFF;  /* new color */
  --gold2:  #bd2e95;
  --cream:  #F7F5F0;
  --white:  #FFFFFF;
  --gray:   #6B7280;
  --lgray:  #E5E7EB;
  --text:   #1F2937;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── Nav ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--navy);
  backdrop-filter: blur(8px);
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
  border-bottom: 1px solid rgba(201,168,76,0.2);
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--white);
  letter-spacing: 0.03em;
  cursor: pointer;
}
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold2); }
.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 0.5rem 1.2rem;
  border-radius: 3px;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--gold2) !important; color: var(--navy) !important; }

/* ── Pages ── */
.page { display: none; padding-top: 68px; min-height: 100vh; }
.page.active { display: block; }

/* ══════════════════════════════
   HOME PAGE
══════════════════════════════ */

/* Hero */
#bayesiancontent {
  background-image: url('../images/malebrot.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: repeat;
  position: relative;
}

#bayesiancontent::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(34, 39, 122, 0.9); /* 80% dark overlay */
  z-index: 0;
}

#bayesiancontent > * {
  position: relative;
  z-index: 1; /* keeps content above the overlay */
}



#gotocontact {
  background-image: url('../images/mointains01.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: repeat;
  position: relative;
}

#gotocontact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(185, 191, 255, 0.8); /* 80% dark overlay */
  z-index: 0;
}

#gotocontact > * {
  position: relative;
  z-index: 1; /* keeps content above the overlay */
}
  #herocontent {
  background-image: url('../images/julia06.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: repeat;
  position: relative;
}

#herocontent::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(34, 39, 122, 0.9); /* 80% dark overlay */
  z-index: 0;
}

#herocontent > * {
  position: relative;
  z-index: 1; /* keeps content above the overlay */
}

.hero {
  background: var(--navy);
  min-height: calc(100vh - 68px);
  display: flex; align-items: center;
  position: relative;
  overflow: hidden;
  padding: 6rem 5%;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 780px;
}
.hero-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.4);
  padding: 0.35rem 0.9rem;
  border-radius: 2px;
  margin-bottom: 2rem;
  animation: fadeUp 0.6s ease both;
}
.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.6s 0.1s ease both;
}
.hero-headline em {
  font-style: normal;
  color: var(--gold);
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  max-width: 580px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
  animation: fadeUp 0.6s 0.2s ease both;
}
.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
  animation: fadeUp 0.6s 0.3s ease both;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  padding: 0.85rem 2rem;
  border: none; border-radius: 3px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--gold2); transform: translateY(-1px); }
.btn-secondary {
  background: transparent;
  color: rgba(255,255,255,0.8);
  padding: 0.85rem 2rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 3px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }

/* Track Record Strip */
.trackrecord {
  background: var(--white);
  padding: 2.5rem 5%;
  border-bottom: 1px solid var(--lgray);
  text-align: center;
}
.trackrecord p {
  max-width: 820px;
  margin: 0 auto;
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.8;
  font-style: italic;
}
.trackrecord p strong { color: var(--navy); font-style: normal; }

/* Problem section */
.problem {
  padding: 6rem 5%;
  background: var(--cream);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.section-body {
  color: var(--gray);
  line-height: 1.85;
  margin-bottom: 1.2rem;
  font-size: 0.975rem;
}
.problem-visual {
  background: var(--navy);
  border-radius: 6px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}
.problem-visual::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.05) 1px, transparent 1px);
  background-size: 30px 30px;
}
.problem-quote {
  position: relative; z-index: 2;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--white);
  line-height: 1.6;
  font-style: italic;
}
.problem-quote strong {
  display: block;
  font-style: normal;
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 1.5rem;
  font-family: 'DM Sans', sans-serif;
}

/* How I work */
.how {
  background: var(--navy);
  padding: 6rem 5%;
}
.how-inner { max-width: 1000px; margin: 0 auto; }
.how-header { text-align: center; margin-bottom: 3.5rem; }
.how-header .section-title { color: var(--white); }
.how-header .section-eyebrow { color: var(--gold); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 6px;
  padding: 2rem;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  cursor: pointer;
}
.service-card:hover {
  background: rgba(201,168,76,0.07);
  border-color: var(--gold);
  transform: translateY(-3px);
}
.service-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: rgba(201,168,76,0.3);
  line-height: 1;
  margin-bottom: 1rem;
}

.service-card--featured {
  border-left: 3px solid var(--gold);
  background: var(--navy);
  color: var(--white);
}
.service-card--featured .service-num { color: var(--gold); }
.service-card--featured .service-name { color: var(--white); }
.service-card--featured .service-duration { color: rgba(255,255,255,0.6); }
.service-card--featured .service-desc { color: rgba(255,255,255,0.75); }
.service-process {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--lgray);
}
.service-process-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.service-process-steps { display: flex; flex-direction: column; gap: 0.75rem; }
.service-process-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.service-process-step span {
  width: 24px; height: 24px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--navy);
  flex-shrink: 0;
  margin-top: 2px;
}
.service-process-step strong {
  font-size: 0.875rem;
  color: var(--navy);
  display: block;
  margin-bottom: 0.2rem;
}
.service-process-step p {
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.5;
  margin: 0;
}
.service-full-note {
  font-size: 0.85rem;
  color: var(--gray);
  font-style: italic;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--lgray);
}  .service-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.service-duration {
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 500;
}
.service-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

/* Posts preview */
.posts-section {
  padding: 6rem 5%;
  background: var(--cream);
}
.posts-inner { max-width: 1000px; margin: 0 auto; }
.posts-header { margin-bottom: 3rem; }
.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.post-card {
  background: var(--white);
  border-radius: 6px;
  padding: 2rem;
  border-left: 3px solid var(--gold);
  transition: transform 0.2s, box-shadow 0.2s;
}
.post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.post-date {
  font-size: 0.75rem;
  color: var(--gray);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.post-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.post-excerpt {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.post-link {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.post-link:hover { text-decoration: underline; }

/* CTA Band */
.cta-band {
  background: var(--gold);
  padding: 4rem 5%;
  text-align: center;
}
.cta-band h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--navy);
  margin-bottom: 1rem;
  font-weight: 700;
}
.cta-band p {
  color: rgba(18,36,58,0.7);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}
.btn-dark {
  background: var(--navy);
  color: var(--white);
  padding: 0.85rem 2rem;
  border: none; border-radius: 3px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem; font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-dark:hover { background: var(--gold2); }

/* ══════════════════════════════
   ABOUT PAGE
══════════════════════════════ */
.about-hero {
  background: var(--navy);
  padding: 5rem 5% 4rem;
  position: relative;
  overflow: hidden;
}
.about-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.about-hero-inner {
  position: relative; z-index: 2;
  max-width: 1000px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
}
.about-hero-text { max-width: 620px; }
.about-photo-wrap {
  position: relative;
  flex-shrink: 0;
}
.about-photo {
  width: 220px;
  height: 244px;
  border-radius: 6px;
  object-fit: cover;
  object-position: center top;
  display: block;
  border: 3px solid rgba(201,168,76,0.4);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
.about-photo-placeholder {
  width: 200px;
  height: 240px;
  border-radius: 4px;
  border: 2px dashed rgba(201,168,76,0.5);
  background: rgba(255,255,255,0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
  text-align: center;
  padding: 1rem;
  font-family: "DM Sans", sans-serif;
}
.about-photo-placeholder svg {
  width: 40px; height: 40px;
  opacity: 0.35;
}
@media (max-width: 768px) {
  .about-hero-inner { grid-template-columns: 1fr; }
  .about-photo-placeholder, .about-photo { width: 160px; height: 178px; margin: 0 auto; }
}
.about-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.about-hero h1 em { font-style: normal; color: var(--gold); }
.about-hero p {
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
  line-height: 1.8;
}

.about-body {
  max-width: 1000px;
  margin: 0 auto;
  padding: 5rem 5%;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 5rem;
  align-items: start;
}
.about-text p {
  color: var(--gray);
  line-height: 1.85;
  margin-bottom: 1.4rem;
  font-size: 0.975rem;
}
.about-text p strong { color: var(--navy); font-weight: 600; }
.about-sidebar {}
.sidebar-block {
  background: var(--white);
  border-radius: 6px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-top: 3px solid var(--gold);
}
.sidebar-block h4 {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1rem;
}
.sidebar-block ul {
  list-style: none;
  padding: 0;
}
.sidebar-block ul li {
  font-size: 0.875rem;
  color: var(--gray);
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--lgray);
  line-height: 1.5;
}
.sidebar-block ul li:last-child { border-bottom: none; }
.sidebar-block ul li strong { color: var(--navy); }

/* ══════════════════════════════
   SERVICES PAGE
══════════════════════════════ */
.services-hero {
  background: var(--navy);
  padding: 5rem 5% 4rem;
  position: relative; overflow: hidden;
}
.services-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.services-hero-inner { position: relative; z-index: 2; max-width: 650px; }
.services-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.services-hero h1 em { font-style: normal; color: var(--gold); }
.services-hero p {
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
  line-height: 1.8;
}

.services-body {
  max-width: 900px;
  margin: 0 auto;
  padding: 5rem 5%;
}
.service-full {
  background: var(--white);
  border-radius: 6px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: start;
  border-left: 4px solid var(--gold);
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-full:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

/* ── Featured service card (Fractional) — must come AFTER .service-full base rules ── */
.service-full--featured {
  background: var(--navy) !important;
  border-left: 4px solid var(--gold);
}
.service-full--featured .service-full-num { color: var(--gold) !important; }
.service-full--featured .service-full-content h3 { color: var(--white) !important; }
.service-full--featured .service-full-tag {
  color: var(--gold) !important;
  background: rgba(201,168,76,0.12);
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  margin-bottom: 1rem;
}
.service-full--featured .service-full-desc { color: rgba(255,255,255,0.82) !important; }
.service-full--featured .service-bullets li { color: rgba(255,255,255,0.78) !important; }
.service-full--featured .service-bullets li::before { color: var(--gold) !important; }
.service-full--featured .service-full-note {
  color: rgba(255,255,255,0.5) !important;
  border-top-color: rgba(255,255,255,0.1) !important;
}
.service-full--featured:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 24px rgba(201,168,76,0.2);
}
.service-full-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: var(--lgray);
  line-height: 1;
  font-weight: 700;
  min-width: 60px;
}
.service-full-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.service-full-tag {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.service-full-desc {
  font-size: 0.925rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 1.2rem;
}
.service-bullets {
  list-style: none;
  padding: 0;
}
.service-bullets li {
  font-size: 0.875rem;
  color: var(--gray);
  padding: 0.3rem 0;
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.6;
}
.service-bullets li::before {
  content: '→';
  position: absolute; left: 0;
  color: var(--gold);
  font-size: 0.85rem;
}

.process-section {
  background: var(--navy);
  padding: 5rem 5%;
  margin-top: 2rem;
}
.process-inner { max-width: 900px; margin: 0 auto; }
.process-header { text-align: center; margin-bottom: 3rem; }
.process-header .section-title { color: var(--white); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px; left: 12.5%; right: 12.5%;
  height: 1px;
  background: rgba(201,168,76,0.3);
}
.step {
  text-align: center;
  padding: 1.5rem 1rem;
}
.step-num {
  width: 56px; height: 56px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  position: relative; z-index: 1;
}
.step h4 {
  font-size: 0.875rem;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.step p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

/* ══════════════════════════════
   CONTACT PAGE
══════════════════════════════ */
.contact-hero {
  background: var(--navy);
  padding: 5rem 5% 4rem;
  position: relative; overflow: hidden;
}
.contact-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.contact-hero-inner { position: relative; z-index: 2; max-width: 600px; }
.contact-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.contact-hero h1 em { font-style: normal; color: var(--gold); }
.contact-hero p {
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
  line-height: 1.8;
}

.contact-body {
  max-width: 900px;
  margin: 0 auto;
  padding: 5rem 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 1rem;
  font-weight: 700;
}
.contact-info p {
  color: var(--gray);
  font-size: 0.925rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--navy);
}
.contact-detail-icon {
  width: 36px; height: 36px;
  background: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg { width: 16px; height: 16px; fill: var(--gold); }
.contact-form { background: var(--white); border-radius: 6px; padding: 2.5rem; }
.contact-form h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 1.5rem;
  font-weight: 700;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--lgray);
  border-radius: 3px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--cream);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit {
  width: 100%;
  background: var(--navy);
  color: var(--white);
  padding: 0.9rem;
  border: none; border-radius: 3px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem; font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: background 0.2s;
  margin-top: 0.5rem;
}
.form-submit:hover { background: var(--navy2); }
.form-note {
  font-size: 0.78rem;
  color: var(--gray);
  text-align: center;
  margin-top: 0.75rem;
}
.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}
.form-success h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.form-success p { color: var(--gray); font-size: 0.9rem; }

/* ── Footer ── */
footer {
  background: var(--navy);
  padding: 2.5rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(201,168,76,0.15);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--white);
}
.footer-logo span { color: var(--gold); }
footer p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
footer a {
  color: var(--gold);
  text-decoration: none;
  font-size: 0.8rem;
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .problem { grid-template-columns: 1fr; gap: 2.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: 1fr; }
  .about-body { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-body { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-full { grid-template-columns: 1fr; gap: 1rem; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
}
.service-how {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--lgray);
}
.service-how-title {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.service-how-steps {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.service-how-steps span {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.6;
}
.service-how-steps span strong {
  color: var(--navy);
}

/* ── Mobile Nav ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: var(--navy);
  backdrop-filter: blur(8px);
  z-index: 99;
  padding: 1.5rem 5%;
  border-bottom: 1px solid rgba(201,168,76,0.2);
  flex-direction: column;
  gap: 0;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  letter-spacing: 0.03em;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a.nav-cta {
  color: var(--gold);
  font-weight: 600;
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links { display: none !important; }

  /* Hero */
  .hero { padding: 4rem 5%; min-height: auto; }
  .hero-headline { font-size: 2rem; }
  .hero-sub { font-size: 0.975rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions button { width: 100%; }

  /* Who This Is For inline grid */
  .who-grid { grid-template-columns: 1fr !important; }

  /* From the Work metadata */
  .case-meta { flex-direction: column !important; gap: 1.25rem !important; }

  /* About body */
  .about-body { grid-template-columns: 1fr !important; gap: 2.5rem !important; }

  /* Services full */
  .service-full { grid-template-columns: 1fr !important; }

  /* Contact body */
  .contact-body { grid-template-columns: 1fr !important; }

  /* Posts grid */
  .posts-grid { grid-template-columns: 1fr !important; }

  /* Services grid */
  .services-grid { grid-template-columns: 1fr !important; }

  /* CTA band */
  .cta-band h2 { font-size: 1.4rem; }

  /* Footer */
  footer { padding: 2rem 5%; text-align: center; }
}
