:root {
  --navy: #0d314e;
  --navy-dark: #08263f;
  --ink: #18283a;
  --muted: #5f6872;
  --gold: #b79a78;
  --gold-light: #d8c5ad;
  --line: #e7e0d8;
  --paper: #fffdfa;
  --soft: #f6f1eb;
  --white: #ffffff;
  --shadow: 0 18px 55px rgba(13, 49, 78, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden-field {
  display: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(16px, 2.3vw, 32px);
  min-height: 116px;
  padding: 22px clamp(20px, 3.6vw, 52px);
  background: rgba(255, 253, 250, 0.94);
  border-bottom: 1px solid rgba(231, 224, 216, 0.78);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  min-width: 180px;
}

.brand-mark {
  width: 180px;
  height: auto;
  object-fit: contain;
}

.brand-copy {
  display: none;
  gap: 1px;
  color: var(--navy);
  text-transform: uppercase;
}

.brand-small {
  font-size: 0.73rem;
  letter-spacing: 0.22em;
}

.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1;
  letter-spacing: 0.08em;
}

.brand-name::after {
  content: "";
  display: inline-block;
  width: 0.4em;
}

.brand-tagline {
  font-size: 0.64rem;
  letter-spacing: 0.24em;
  color: #53606b;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2vw, 30px);
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav a {
  position: relative;
  padding: 12px 0;
  color: #17283a;
}

.nav a::after {
  position: absolute;
  left: 0;
  bottom: 7px;
  width: 100%;
  height: 2px;
  content: "";
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav a:hover::after,
.nav a.active::after {
  transform: scaleX(1);
}

.button,
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.header-cta,
.button-dark {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 12px 24px rgba(13, 49, 78, 0.18);
}

.button-gold,
.button-light {
  color: var(--white);
  background: var(--gold);
}

.button-light {
  color: var(--navy);
  background: var(--gold-light);
}

.menu-toggle {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(360px, 1.18fr);
  min-height: 440px;
  background: linear-gradient(90deg, #fffdfa 0%, #fffdfa 34%, rgba(255, 253, 250, 0) 58%),
    var(--soft);
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: 570px;
  padding: clamp(36px, 5vw, 64px) clamp(24px, 5vw, 72px);
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--gold);
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.7;
  text-transform: uppercase;
}

.eyebrow::after {
  display: block;
  width: 36px;
  height: 2px;
  margin-top: 16px;
  content: "";
  background: var(--gold);
}

h1,
h2 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.05;
}

h1 {
  max-width: 560px;
  font-size: clamp(2.25rem, 3.4vw, 2.85rem);
}

h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.9rem);
}

h3 {
  margin: 0;
  color: var(--navy);
  font-size: 0.93rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero p:not(.eyebrow),
.resources p {
  color: var(--muted);
  font-size: 1.03rem;
}

.hero p:not(.eyebrow) {
  max-width: 410px;
  margin: 24px 0 26px;
}

.hero-image {
  position: relative;
  min-height: 440px;
}

.hero-image img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  object-position: center;
}

.hero-image::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, #fffdfa 0%, rgba(255, 253, 250, 0.7) 22%, rgba(255, 253, 250, 0) 48%);
}

.section {
  padding: clamp(58px, 8vw, 86px) clamp(20px, 5vw, 72px);
}

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

.section-heading p:not(.eyebrow) {
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1.03rem;
}

.section-heading .eyebrow {
  margin-bottom: 8px;
}

.section-heading .eyebrow::after {
  display: none;
}

.services-story {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(300px, 1fr);
  max-width: 1080px;
  margin: 0 auto;
  background: #fffaf4;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.services-intro,
.services-included {
  padding: clamp(30px, 5vw, 52px);
}

.services-intro h2 {
  max-width: 640px;
  margin-bottom: 24px;
}

.services-intro p,
.services-included li,
.timeline p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.services-intro p + p {
  margin-top: 16px;
}

.services-included {
  border-left: 1px solid var(--line);
}

.services-included h3 {
  margin-bottom: 22px;
}

.services-included ul {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.services-included li {
  position: relative;
  padding-left: 24px;
}

.services-included li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  content: "";
  background: var(--gold);
  border-radius: 50%;
}

.service-free-note {
  margin: 24px 0 0;
  padding-top: 18px;
  color: var(--navy);
  font-weight: 700;
  border-top: 1px solid var(--line);
}

.center {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.process {
  background: linear-gradient(180deg, #fffdfa, #f8f4ef);
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 980px;
  margin: 0 auto;
  gap: 34px;
}

.timeline::before {
  position: absolute;
  top: 18px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  content: "";
  background: var(--line);
}

.timeline article {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
}

.step-number {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--white);
  font-weight: 800;
  border-radius: 50%;
  background: var(--gold);
}

.step-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--navy);
  font-size: 2rem;
}

.appointment {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(360px, 1.2fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: start;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.appointment-copy {
  max-width: 500px;
}

.appointment-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.03rem;
}

.appointment-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(24px, 4vw, 38px);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.appointment-form label {
  display: grid;
  gap: 8px;
}

.appointment-form .full {
  grid-column: 1 / -1;
}

.appointment-form span {
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.appointment-form input,
.appointment-form select,
.appointment-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  color: var(--ink);
  font: inherit;
  background: var(--white);
  border: 1px solid #d7cec4;
  border-radius: 6px;
}

.appointment-form textarea {
  min-height: 130px;
  resize: vertical;
}

.appointment-form input:focus,
.appointment-form select:focus,
.appointment-form textarea:focus {
  outline: 3px solid rgba(183, 154, 120, 0.28);
  border-color: var(--gold);
}

.appointment-form .button {
  justify-self: start;
  cursor: pointer;
}

.form-note {
  align-self: center;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-note a {
  color: var(--navy);
  font-weight: 800;
}

.question-band {
  display: grid;
  grid-template-columns: auto 1fr auto minmax(250px, auto);
  align-items: center;
  gap: clamp(20px, 4vw, 48px);
  padding: 34px clamp(20px, 6vw, 86px);
  color: var(--white);
  background: linear-gradient(120deg, var(--navy-dark), var(--navy));
}

.question-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  font-size: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
}

.question-band h2 {
  color: var(--white);
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
}

.question-band p {
  margin: 4px 0 0;
}

address {
  display: grid;
  gap: 8px;
  padding-left: clamp(20px, 4vw, 44px);
  font-style: normal;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.resources {
  max-width: 850px;
  margin: 0 auto;
  padding: 56px 24px;
  text-align: center;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 28px clamp(20px, 5vw, 72px);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.footer-brand .brand-mark {
  width: 185px;
  height: auto;
}

.site-footer nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.thanks-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 32px 20px;
  background: linear-gradient(180deg, #fffdfa, #f6f1eb);
}

.thanks-brand {
  position: absolute;
  top: 26px;
  left: clamp(20px, 5vw, 72px);
}

.thanks-panel {
  width: min(720px, 100%);
  padding: clamp(34px, 6vw, 62px);
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.thanks-panel .eyebrow::after {
  margin-left: auto;
  margin-right: auto;
}

.thanks-panel h1 {
  font-size: clamp(2.1rem, 4vw, 3rem);
}

.thanks-panel p:not(.eyebrow) {
  max-width: 540px;
  margin: 20px auto 28px;
  color: var(--muted);
  font-size: 1.05rem;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    justify-self: end;
    display: grid;
    gap: 5px;
    width: 44px;
    height: 44px;
    place-content: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--white);
  }

  .menu-toggle span:not(.sr-only) {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--navy);
  }

  .nav,
  .header-cta {
    display: none;
  }

  .site-header.is-open .nav {
    display: grid;
    grid-column: 1 / -1;
    justify-content: stretch;
    gap: 0;
    padding-top: 16px;
  }

  .site-header.is-open .header-cta {
    display: inline-flex;
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: 14px;
  }

  .site-header.is-open .nav a {
    padding: 14px 0;
    border-top: 1px solid var(--line);
  }

  .services-story {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .site-header {
    min-height: 86px;
    padding: 18px 20px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 150px;
    height: auto;
  }

  .brand-tagline {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    background: var(--paper);
  }

  .hero-copy {
    padding-bottom: 28px;
  }

  .hero-image {
    min-height: 320px;
    order: -1;
  }

  .hero-image img {
    min-height: 320px;
  }

  .hero-image::before {
    background: linear-gradient(0deg, #fffdfa 0%, rgba(255, 253, 250, 0) 35%);
  }

  .services-story,
  .timeline,
  .appointment,
  .appointment-form,
  .question-band,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .services-intro,
  .services-included {
    padding: 24px 20px;
  }

  .services-included {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .timeline {
    gap: 28px;
  }

  .timeline::before {
    display: none;
  }

  .question-band {
    text-align: center;
  }

  .question-icon {
    margin: 0 auto;
  }

  address {
    padding-left: 0;
    border-left: 0;
  }

  .appointment-form .button {
    justify-self: stretch;
  }

  .site-footer,
  .site-footer nav {
    justify-items: center;
    text-align: center;
  }
}

@media (max-width: 460px) {
  h1 {
    font-size: 2.35rem;
  }

  .brand-name {
    font-size: 1rem;
  }

  .brand-small {
    font-size: 0.62rem;
  }

  .brand-mark {
    width: 136px;
  }

  .button,
  .header-cta {
    width: 100%;
    min-height: 44px;
    padding: 0 16px;
    white-space: normal;
    text-align: center;
  }
}
