:root {
  --ink: #17201d;
  --forest: #173f35;
  --forest-dark: #0d2b24;
  --paper: #f7f3e9;
  --sand: #e8dcc4;
  --blue: #cbdde0;
  --copper: #d4774c;
  --white: #fffdf8;
  --line: rgba(23, 32, 29, 0.16);
  --shell: min(1160px, calc(100% - 40px));
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

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

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

h1 {
  font-size: clamp(3.4rem, 8vw, 7.5rem);
}

h2 {
  font-size: clamp(2.7rem, 5.5vw, 5.4rem);
}

h3 {
  line-height: 1.2;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: white;
  background: var(--forest-dark);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 4px;
}

.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--shell);
  min-height: 92px;
  margin-inline: auto;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--forest-dark);
  font-size: 1.15rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
}

.site-header nav a {
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.site-header nav a:not(.nav-cta):hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.nav-cta {
  padding: 10px 16px;
  color: white;
  background: var(--forest);
  border-radius: 3px;
  white-space: nowrap;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(290px, 0.75fr);
  gap: clamp(40px, 8vw, 110px);
  align-items: end;
  padding-block: clamp(70px, 10vw, 140px);
}

.eyebrow {
  margin-bottom: 22px;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 32px;
}

.hero h1 em {
  color: var(--forest);
  font-weight: inherit;
}

.hero-intro {
  max-width: 680px;
  margin-bottom: 32px;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.55;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 13px 22px;
  border: 1px solid var(--forest);
  border-radius: 3px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: white;
  background: var(--forest);
}

.button-primary:hover {
  background: var(--forest-dark);
}

.button-secondary {
  color: var(--forest);
  background: transparent;
}

.availability {
  margin: 18px 0 0;
  color: rgba(23, 32, 29, 0.7);
  font-size: 0.85rem;
}

.hero-panel {
  position: relative;
  min-height: 420px;
  padding: 34px;
  overflow: hidden;
  color: white;
  background: var(--forest);
  border-radius: 3px;
}

.hero-panel > * {
  position: relative;
  z-index: 1;
}

.panel-label {
  margin-bottom: 52px;
  color: #e3b69f;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-panel dl {
  margin: 0 0 48px;
}

.hero-panel dl div {
  padding-block: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-panel dt {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.hero-panel dd {
  margin: 2px 0 0;
  font-family: var(--serif);
  font-size: 1.35rem;
}

.hero-panel a {
  font-weight: 750;
  text-decoration: none;
}

.hero-panel a span,
.text-link span {
  display: inline-block;
  margin-left: 8px;
  transition: transform 160ms ease;
}

.hero-panel a:hover span,
.text-link:hover span {
  transform: translateX(5px);
}

.contour-lines {
  position: absolute;
  z-index: 0;
  inset: -80px -100px auto auto;
  width: 320px;
  height: 250px;
  opacity: 0.12;
  border: 2px solid white;
  border-radius: 45% 55% 50% 42%;
  box-shadow: 0 0 0 22px var(--forest), 0 0 0 24px white, 0 0 0 46px var(--forest), 0 0 0 48px white;
  transform: rotate(-18deg);
}

.trust-strip {
  display: flex;
  justify-content: center;
  gap: clamp(28px, 7vw, 100px);
  padding: 24px 20px;
  color: white;
  background: var(--forest-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.trust-strip span + span::before {
  content: "·";
  margin-right: clamp(28px, 7vw, 100px);
  color: var(--copper);
}

.services {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.4fr);
  gap: clamp(45px, 8vw, 110px);
  padding-block: clamp(90px, 12vw, 160px);
}

.section-heading h2 {
  margin-bottom: 30px;
}

.section-heading > p:last-child {
  max-width: 480px;
}

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

.service-card {
  min-height: 335px;
  padding: clamp(25px, 3vw, 38px);
  border-radius: 3px;
}

.service-number {
  display: block;
  margin-bottom: 45px;
  font-size: 0.75rem;
  font-weight: 800;
}

.service-card h3 {
  margin-bottom: 22px;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
}

.service-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  padding-block: 5px;
  font-size: 0.92rem;
}

.service-card li::before {
  content: "—";
  margin-right: 8px;
  opacity: 0.6;
}

.card-green {
  color: white;
  background: var(--forest);
}

.card-sand {
  background: var(--sand);
}

.card-blue {
  background: var(--blue);
}

.card-copper {
  background: #e8b59c;
}

.family-help {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.2fr);
  gap: clamp(45px, 9vw, 130px);
  align-items: center;
  padding-block: clamp(70px, 9vw, 120px);
  border-block: 1px solid var(--line);
}

.family-help h2 {
  max-width: 750px;
  margin-bottom: 28px;
}

.family-help p:last-child {
  max-width: 650px;
  font-size: 1.1rem;
}

.family-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 390px;
  overflow: hidden;
  background: var(--sand);
  border-radius: 50%;
}

.signal {
  position: absolute;
  bottom: -20%;
  left: 50%;
  border: 12px solid var(--forest);
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
  transform: translateX(-50%);
}

.signal-one {
  width: 42%;
  height: 42%;
}

.signal-two {
  width: 70%;
  height: 70%;
}

.signal-three {
  width: 98%;
  height: 98%;
}

.signal-dot {
  position: absolute;
  bottom: 13%;
  left: 50%;
  width: 28px;
  height: 28px;
  background: var(--copper);
  border-radius: 50%;
  transform: translateX(-50%);
}

.about {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(50px, 10vw, 150px);
  padding-block: clamp(100px, 13vw, 180px);
}

.about-copy {
  padding-top: 42px;
}

.about-copy .lead {
  color: var(--forest);
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1.2;
}

.boundary-note {
  margin-top: 35px;
  padding: 22px;
  background: var(--sand);
  border-left: 4px solid var(--copper);
  font-size: 0.9rem;
}

.process-section {
  padding-block: clamp(80px, 10vw, 130px);
  color: white;
  background: var(--forest);
}

.process-section .section-shell {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(45px, 8vw, 100px);
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  padding-block: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.steps li > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--forest);
  background: var(--paper);
  border-radius: 50%;
  font-weight: 800;
}

.steps h3 {
  margin: 0 0 5px;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
}

.steps p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.pricing {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) 1.2fr;
  gap: clamp(55px, 11vw, 160px);
  align-items: center;
  padding-block: clamp(90px, 12vw, 160px);
}

.price-card {
  padding: clamp(30px, 5vw, 55px);
  background: var(--sand);
  border-radius: 3px;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.price strong {
  font-family: var(--serif);
  font-size: clamp(4rem, 7vw, 6.5rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 1;
}

.price-card hr {
  margin-block: 30px;
  border: 0;
  border-top: 1px solid rgba(23, 32, 29, 0.25);
}

.travel-price {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.travel-price strong {
  font-family: var(--serif);
  font-size: 2.3rem;
  font-weight: 400;
}

.tax-note {
  margin: 28px 0 0;
  font-size: 0.75rem;
  line-height: 1.5;
}

.pricing-copy h2 {
  margin-bottom: 30px;
}

.pricing-copy > p:not(.eyebrow) {
  max-width: 580px;
  font-size: 1.08rem;
}

.text-link {
  display: inline-block;
  margin-top: 15px;
  color: var(--forest);
  font-weight: 800;
  text-decoration: none;
}

.closing-cta {
  padding-block: clamp(85px, 11vw, 140px);
  color: white;
  background: var(--forest-dark);
  text-align: center;
}

.closing-cta h2 {
  margin-bottom: 25px;
}

.closing-cta p:not(.eyebrow) {
  max-width: 650px;
  margin: 0 auto 32px;
  color: rgba(255, 255, 255, 0.74);
}

.centered {
  justify-content: center;
}

.button-light {
  color: var(--forest-dark);
  background: var(--paper);
  border-color: var(--paper);
}

.button-outline {
  color: white;
  border-color: rgba(255, 255, 255, 0.55);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 50px;
  align-items: center;
  width: var(--shell);
  min-height: 150px;
  margin-inline: auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand div,
.footer-contact {
  display: flex;
  flex-direction: column;
}

.footer-brand span {
  color: rgba(23, 32, 29, 0.65);
  font-size: 0.75rem;
}

.footer-contact a,
.site-footer nav a {
  font-size: 0.83rem;
  font-weight: 650;
  text-underline-offset: 4px;
}

.site-footer nav {
  display: flex;
  gap: 20px;
}

/* QR contact page */
.qr-page {
  min-height: 100svh;
  color: white;
  background: var(--forest-dark);
}

.qr-page main {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: min(560px, calc(100% - 32px));
  min-height: 100svh;
  margin-inline: auto;
  padding-block: max(28px, env(safe-area-inset-top)) max(28px, env(safe-area-inset-bottom));
}

.qr-brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  width: max-content;
  color: white;
  text-decoration: none;
}

.qr-brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.qr-brand strong {
  font-size: 1.2rem;
}

.qr-brand small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
}

.qr-contacts {
  display: grid;
  gap: 12px;
  margin-block: auto;
  padding-block: 50px;
}

.qr-contacts a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 148px;
  padding: 25px;
  color: var(--forest-dark);
  background: var(--paper);
  border-radius: 4px;
  text-decoration: none;
}

.qr-contacts a:last-child {
  background: var(--copper);
}

.qr-contacts span {
  margin-bottom: 7px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.qr-contacts strong {
  overflow-wrap: anywhere;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 7vw, 2.6rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

/* Legal and error pages */
.legal-content {
  max-width: 820px;
  padding-block: clamp(70px, 10vw, 120px);
}

.legal-content h1 {
  margin-bottom: 70px;
}

.legal-content section {
  margin-bottom: 42px;
}

.legal-content h2 {
  margin-bottom: 18px;
  font-family: var(--sans);
  font-size: 1.25rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.legal-content address {
  font-style: normal;
}

.legal-content a {
  text-underline-offset: 3px;
}

.legal-updated {
  margin-top: -55px;
  margin-bottom: 65px;
  color: rgba(23, 32, 29, 0.6);
}

.error-page {
  min-height: 100svh;
  background: var(--sand);
}

.error-page main {
  width: var(--shell);
  margin-inline: auto;
  padding-block: 40px 100px;
}

.error-page .eyebrow {
  margin-top: 15vh;
}

.error-page h1 {
  margin-bottom: 28px;
}

@media (max-width: 800px) {
  :root {
    --shell: min(100% - 30px, 680px);
  }

  html {
    scroll-behavior: auto;
  }

  .site-header {
    min-height: 78px;
  }

  .site-header nav a:not(.nav-cta) {
    display: none;
  }

  .hero,
  .services,
  .family-help,
  .about,
  .process-section .section-shell,
  .pricing {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-block: 65px 75px;
  }

  .hero-panel {
    min-height: 385px;
  }

  .trust-strip {
    align-items: center;
    gap: 8px;
    padding-block: 18px;
    font-size: 0.68rem;
  }

  .trust-strip span + span::before {
    margin-right: 8px;
  }

  .services {
    gap: 35px;
  }

  .family-visual {
    width: min(75vw, 320px);
    margin-inline: auto;
  }

  .about-copy {
    padding-top: 0;
  }

  .process-section .section-shell {
    gap: 25px;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    padding-block: 35px;
  }

  .site-footer nav {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: clamp(3.05rem, 15vw, 4.5rem);
  }

  h2 {
    font-size: clamp(2.5rem, 12vw, 3.8rem);
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

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

  .nav-cta {
    padding: 9px 12px;
  }

  .button-row .button {
    width: 100%;
  }

  .trust-strip {
    flex-direction: column;
  }

  .trust-strip span + span::before {
    content: none;
  }

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

  .service-card {
    min-height: 300px;
  }

  .price,
  .travel-price {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    grid-column: auto;
  }

  .qr-page main {
    width: calc(100% - 24px);
  }

  .qr-contacts a {
    min-height: 135px;
    padding: 22px;
  }
}

@media (max-width: 360px) {
  .site-header .brand span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
