:root {
  --font-body: "Mulish", Arial, Helvetica, sans-serif;
  --font-heading: "DM Sans", Arial, Helvetica, sans-serif;
  --font-accent: "Lora", Georgia, "Times New Roman", serif;
  --ink: #111827;
  --muted: #4b5563;
  --paper: #fff8fb;
  --soft: #f7e8ef;
  --blue: #526f86;
  --rose: #d85f93;
  --plum: #4d365f;
  --gold: #9a7443;
  --line: rgba(75, 85, 99, 0.16);
  --shadow: 0 24px 70px rgba(75, 85, 99, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  align-items: center;
  background: rgba(255, 248, 251, 0.94);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  padding: 12px clamp(18px, 4vw, 56px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
}

.brand {
  align-items: center;
  display: flex;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.brand img {
  background: transparent;
  border: 0;
  border-radius: 0;
  height: 78px;
  object-fit: contain;
  padding: 0;
  width: 330px;
}

nav {
  align-items: center;
  display: flex;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  gap: 20px;
}

nav a {
  text-decoration: none;
}

.nav-button {
  background: var(--plum);
  border-radius: 999px;
  color: #fff;
  padding: 9px 15px;
}

.hero {
  --hero-top-space: 142px;
  --jess-window-drop: clamp(42px, 5.1vw, 70px);
  --background-tail: clamp(44px, 5vw, 78px);
  --banner-quote-space: clamp(220px, 30vh, 340px);
  background: var(--paper);
  display: grid;
  grid-template-rows: var(--banner-quote-space) auto;
  margin-bottom: clamp(64px, 8vw, 104px);
  min-height: 78vh;
  padding: var(--hero-top-space) clamp(22px, 6vw, 88px) 0;
  position: relative;
}

.hero::before {
  background:
    linear-gradient(rgba(17, 24, 39, 0.24), rgba(17, 24, 39, 0.42)),
    url("images/heritage-background-optimized.png") center 8% / cover;
  content: "";
  filter: blur(1.5px) saturate(0.82) brightness(0.92);
  height: calc(var(--hero-top-space) + var(--banner-quote-space) + var(--jess-window-drop) + var(--background-tail));
  left: -8px;
  position: absolute;
  right: -8px;
  top: -8px;
  z-index: 0;
}

.hero-quote {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 0;
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  text-align: center;
  z-index: 1;
}

.hero-quote h1 {
  color: #fff8fb;
  font-size: clamp(2rem, 4.8vw, 5rem);
  font-weight: 700;
  line-height: 1.02;
  margin: 0;
  max-width: 940px;
  text-shadow: 0 4px 24px rgba(21, 16, 24, 0.62);
}

.hero-panel {
  align-self: end;
  background: #fff;
  border: 1px solid rgba(77, 54, 95, 0.14);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 28px 80px rgba(77, 54, 95, 0.18);
  display: grid;
  gap: clamp(22px, 4vw, 48px);
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  margin: 0 auto;
  max-width: 980px;
  padding: clamp(28px, 5vw, 56px);
  position: relative;
  transform: translateY(var(--jess-window-drop));
  width: 100%;
  z-index: 1;
}

main > section {
  scroll-margin-top: 104px;
}

.eyebrow {
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 5.2rem);
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 0.98;
  margin-bottom: 24px;
  max-width: 780px;
}

h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  font-family: var(--font-accent);
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.35rem;
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
}

.hero-copy {
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  text-decoration: none;
}

.button.primary {
  background: var(--rose);
  color: #fff;
}

.button.secondary {
  background: transparent;
  border-color: rgba(69, 79, 94, 0.28);
  color: var(--plum);
}

.hero-portrait {
  align-self: stretch;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(69, 79, 94, 0.18);
  min-height: 390px;
  overflow: hidden;
}

.hero-portrait img {
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  width: 100%;
}

.intro-section,
.section,
.band,
.contact-section {
  padding: clamp(64px, 8vw, 104px) clamp(22px, 6vw, 88px);
}

.intro-grid {
  align-items: start;
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  margin: 0 auto;
  max-width: 1160px;
}

.intro-copy {
  align-self: stretch;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(75, 85, 99, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px, 4vw, 40px);
}

.intro-copy h2 {
  font-size: clamp(1.9rem, 3vw, 3.1rem);
  margin-bottom: 18px;
}

.intro-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 460px;
}

.intro-note {
  border-left: 4px solid var(--rose);
  margin-top: 18px;
  padding-left: 16px;
}

.strengths {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, 1fr);
}

.strengths article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(75, 85, 99, 0.08);
  min-height: 0;
  padding: 22px;
}

.strengths h3 {
  color: var(--plum);
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.strengths p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
  margin-bottom: 0;
}

.section-heading {
  margin: 0 auto 36px;
  max-width: 860px;
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.1rem;
}

.service-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1160px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 38px rgba(69, 79, 94, 0.08);
  padding: 28px;
}

.service-card.featured {
  border-color: rgba(216, 95, 147, 0.42);
  box-shadow: var(--shadow);
}

.price {
  color: var(--rose);
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--muted);
}

.service-card ul {
  margin: 22px 0 0;
  padding-left: 18px;
}

.service-card li {
  margin: 8px 0;
}

.band {
  background: linear-gradient(135deg, #4d365f 0%, #526f86 100%);
  color: #fff;
}

.compact {
  text-align: left;
}

.band .section-heading {
  max-width: 1160px;
}

.band .eyebrow {
  color: #b8d4e4;
}

.process-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1160px;
}

.process-grid > div {
  border-top: 1px solid rgba(255, 255, 255, 0.32);
  padding-top: 22px;
}

.process-grid p {
  color: rgba(255, 255, 255, 0.82);
}

.case-section {
  background: #fff;
}

.case-grid {
  display: grid;
  gap: 22px;
  margin: 0 auto;
  max-width: 1040px;
}

.case-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(75, 85, 99, 0.08);
  padding: clamp(26px, 4vw, 42px);
}

.case-card h3 {
  color: var(--plum);
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  margin-bottom: 24px;
}

.case-card h4 {
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 24px 0 8px;
  text-transform: uppercase;
}

.case-card p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.72;
}

.case-card p:last-child {
  margin-bottom: 0;
}

.research-disclaimer {
  background: rgba(82, 111, 134, 0.1);
  border-left: 4px solid var(--blue);
  border-radius: 0 8px 8px 0;
  color: var(--muted);
  font-size: 0.98rem;
  margin: 24px auto 0;
  max-width: 1040px;
  padding: 18px 20px;
}

.about-section {
  align-items: center;
  display: grid;
  gap: clamp(28px, 6vw, 76px);
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  margin: 0 auto;
  max-width: 1220px;
}

.portrait-wrap {
  background: var(--soft);
  border-radius: 8px;
  overflow: hidden;
}

.portrait-wrap img {
  aspect-ratio: 4 / 5;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  width: 100%;
}

.about-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.faq-section {
  background: #fff;
}

.faq-grid {
  display: grid;
  gap: 16px;
  margin: 0 auto;
  max-width: 1060px;
}

.faq-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 34px rgba(69, 79, 94, 0.06);
  padding: clamp(22px, 3vw, 30px);
}

.faq-card h3 {
  color: var(--plum);
  font-size: 1.22rem;
  margin-bottom: 10px;
}

.faq-card p {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.7;
}

.faq-card p:last-child {
  margin-bottom: 0;
}

.contact-section {
  background:
    linear-gradient(rgba(255, 248, 251, 0.95), rgba(255, 248, 251, 0.95)),
    url("images/heritage-background-optimized.png") center / cover;
}

.contact-inner {
  display: grid;
  gap: clamp(28px, 5vw, 72px);
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  margin: 0 auto;
  max-width: 1160px;
}

.contact-copy {
  max-width: 560px;
}

.contact-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-note {
  border-left: 4px solid var(--blue);
  padding-left: 16px;
}

.direct-email {
  font-family: var(--font-heading);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.direct-email a {
  color: var(--plum);
}

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
}

.website-field {
  height: 1px;
  left: -9999px;
  overflow: hidden;
  position: absolute;
  top: auto;
  width: 1px;
}

label {
  color: var(--ink);
  display: grid;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 800;
  gap: 7px;
}

input,
select,
textarea {
  border: 1px solid rgba(69, 79, 94, 0.24);
  border-radius: 6px;
  color: var(--ink);
  font: 1rem var(--font-body);
  min-height: 46px;
  padding: 12px;
  width: 100%;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(82, 111, 134, 0.16);
  outline: none;
}

.checkbox-label {
  align-items: start;
  display: grid;
  gap: 10px;
  grid-template-columns: 18px 1fr;
  line-height: 1.45;
}

.checkbox-label input {
  min-height: 18px;
  margin-top: 3px;
}

.form-button {
  border: 0;
  width: fit-content;
}

.form-status {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.92rem;
  margin-bottom: 0;
}

footer {
  align-items: center;
  background: var(--paper);
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  font-family: var(--font-heading);
  gap: 20px;
  justify-content: space-between;
  padding: 24px clamp(22px, 6vw, 88px);
}

footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    position: absolute;
  }

  nav {
    display: none;
  }

  .hero {
    --hero-top-space: 118px;
    --jess-window-drop: 42px;
    --background-tail: 58px;
    --banner-quote-space: 170px;
    margin-bottom: 72px;
    min-height: 72vh;
  }

  .intro-grid,
  .hero-panel,
  .service-grid,
  .process-grid,
  .about-section,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .compact {
    text-align: left;
  }

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

  .portrait-wrap {
    max-width: 520px;
  }

  .hero-panel {
    padding: 26px;
  }

  .hero-portrait {
    max-width: 420px;
    min-height: 430px;
  }
}

@media (max-width: 520px) {
  .brand span {
    font-size: 0.8rem;
  }

  h1 {
    font-size: 3.1rem;
  }

  .hero {
    --jess-window-drop: 31px;
    --background-tail: 42px;
    margin-bottom: 56px;
  }

  .hero-actions,
  footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .form-button {
    width: 100%;
  }
}
