@font-face {
  font-family: "Raleway";
  src: url("../fonts/raleway-variable.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Dancing Script";
  src: url("../fonts/dancing-script-variable.woff2") format("woff2-variations");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-sage: #96cc9b;
  --color-sage-dark: #96cc9b;
  --color-sage-soft: #e8f4e9;
  --color-ink: #000000;
  --color-muted: #000000;
  --color-cream: #ffffff;
  --color-linen: #e8f4e9;
  --color-white: #ffffff;
  --color-shadow: rgba(0, 0, 0, 0.12);
  --container: min(1120px, calc(100% - 40px));
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-ink);
  background: var(--color-cream);
  font-family: "Raleway", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

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

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

a:hover {
  color: var(--color-sage-dark);
}

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  font-weight: 600;
}

h1 {
  max-width: 780px;
  font-size: clamp(2.45rem, 6vw, 5.15rem);
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.8rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  transform: translateY(-160%);
  padding: 10px 14px;
  background: var(--color-ink);
  color: var(--color-white);
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 6px max(20px, calc((100vw - 1120px) / 2));
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(150, 204, 155, 0.38);
  backdrop-filter: blur(14px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  font-weight: 600;
}

.brand img {
  width: 136px;
  height: 54px;
  object-fit: contain;
}

.footer-brand {
  gap: 12px;
}

.footer-brand img {
  width: 96px;
  height: 48px;
  object-fit: contain;
}

.brand span,
.footer-brand span {
  font-family: "Dancing Script", cursive;
  font-size: 1.7rem;
  color: var(--color-ink);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.nav-cta {
  padding: 6px 12px !important;
  color: var(--color-ink);
  font-size: inherit;
  line-height: 1;
  background: rgba(150, 204, 155, 0.72);
  border-radius: 999px;
}

.nav-cta:hover {
  color: var(--color-ink);
  background: var(--color-sage);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(150, 204, 155, 0.6);
  border-radius: 999px;
  background: var(--color-white);
}

.nav-toggle span:not(.visually-hidden) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--color-ink);
}

.section {
  position: relative;
}

.section-inner {
  width: var(--container);
  margin: 0 auto;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.service-panel.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.hero {
  min-height: calc(100svh - 68px);
  display: grid;
  align-items: center;
  padding: 72px max(20px, calc((100vw - 1120px) / 2)) 58px;
  overflow: hidden;
  color: var(--color-white);
  scroll-margin-top: 68px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.5) 38%, rgba(0, 0, 0, 0.16) 70%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.32));
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% 50%;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1400ms ease, transform 6500ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide:nth-child(2) {
  object-position: 52% 50%;
}

.hero-slide:nth-child(3) {
  object-position: 52% 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 850px;
}

.hero-kicker {
  margin: 0 0 12px;
  color: var(--color-sage);
  font-family: "Dancing Script", cursive;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

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

.hero-copy {
  max-width: 620px;
  margin-top: 26px;
  margin-bottom: 0;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.9);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  max-width: 680px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding: 0 0 0 16px;
  color: var(--color-white);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  background: var(--color-sage);
  border-radius: 999px;
  transform: translateY(-50%);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.2;
}

.button-primary {
  color: var(--color-ink);
  background: var(--color-sage);
  box-shadow: 0 12px 32px rgba(150, 204, 155, 0.34);
}

.button-primary:hover {
  color: var(--color-ink);
  background: var(--color-sage);
}

.button-secondary {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover {
  color: var(--color-white);
  border-color: var(--color-white);
}

.intro {
  padding: 86px 0;
  background: var(--color-cream);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(190px, 0.8fr) minmax(0, 1.6fr);
  gap: clamp(28px, 7vw, 90px);
  align-items: start;
}

.script-title,
.signature {
  margin: 0;
  color: var(--color-sage-dark);
  font-family: "Dancing Script", cursive;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
}

.intro p:not(.script-title),
.section-heading p,
.about-copy p,
.contact-copy p {
  max-width: 720px;
  color: var(--color-muted);
  font-size: 1.05rem;
}

.contact-copy h2 + p {
  margin-top: 24px;
}

.intro h2 + p {
  margin-top: 28px;
}

.services {
  padding: 98px 0;
  background: var(--color-linen);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-heading .eyebrow,
.about-copy .eyebrow,
.contact-copy .eyebrow,
.legal-content .eyebrow {
  color: var(--color-sage-dark);
}

.section-heading p {
  margin-top: 18px;
}

.service-stack {
  display: grid;
  gap: clamp(42px, 10svh, 86px);
}

.service-panel {
  position: sticky;
  top: 86px;
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(22px, 4.2vw, 52px);
  align-items: center;
  padding: clamp(18px, 3vw, 32px);
  background: var(--color-cream);
  background-color: var(--color-cream);
  border: 1px solid rgba(150, 204, 155, 0.42);
  border-radius: var(--radius);
  box-shadow: 0 22px 60px var(--color-shadow);
  isolation: isolate;
  overflow: hidden;
}

.service-panel:nth-child(1) {
  z-index: 1;
}

.service-panel:nth-child(2) {
  z-index: 2;
}

.service-panel:nth-child(3) {
  z-index: 3;
}

.service-panel:nth-child(4) {
  z-index: 4;
}

.service-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--color-cream);
}

.service-panel-image img {
  width: 100%;
  height: clamp(320px, 50svh, 500px);
  min-height: 0;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 18px 46px var(--color-shadow);
}

.about-image img {
  width: 100%;
  height: clamp(360px, 42vw, 500px);
  min-height: 0;
  object-fit: cover;
  object-position: center 38%;
  border-radius: var(--radius);
  box-shadow: 0 18px 46px var(--color-shadow);
}

.service-panel-image {
  background: var(--color-cream);
}

.service-panel-copy {
  max-width: 590px;
}

.service-panel-copy span {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--color-sage-dark);
  font-weight: 800;
  letter-spacing: 0.14em;
}

.service-panel-copy h3 {
  font-family: "Dancing Script", cursive;
  font-size: clamp(2.7rem, 5vw, 5rem);
  font-weight: 700;
  line-height: 1;
}

.service-panel-copy p {
  margin: 22px 0 0;
  color: var(--color-muted);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
}

.service-note {
  color: var(--color-ink) !important;
  font-weight: 800;
}

.about {
  padding: 104px 0;
  background: var(--color-cream);
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 82px);
  align-items: center;
}

.about-copy {
  max-width: 640px;
}

.about-copy p {
  margin-top: 20px;
}

.signature {
  margin-top: 24px;
}

.contact {
  padding: 96px 0;
  background: var(--color-sage-soft);
}

.contact .button-secondary {
  color: var(--color-ink);
  border-color: rgba(150, 204, 155, 0.7);
  background: rgba(255, 255, 255, 0.48);
}

.contact .button-secondary:hover {
  color: var(--color-sage-dark);
  border-color: var(--color-sage-dark);
}

.contact-list {
  display: grid;
  gap: 12px;
  max-width: 560px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 72px;
  border-top: 1px solid rgba(150, 204, 155, 0.6);
}

.contact-list strong {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.qr-card {
  justify-self: center;
  width: fit-content;
  max-width: 100%;
  padding: 20px 22px;
  text-align: center;
  background: var(--color-white);
  border: 1px solid rgba(150, 204, 155, 0.46);
  border-radius: var(--radius);
  box-shadow: 0 14px 38px var(--color-shadow);
}

.qr-card img {
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
}

.qr-card p {
  margin: 14px 0 0;
  color: var(--color-muted);
  font-weight: 700;
}

.site-footer {
  padding: 18px 0;
  background: var(--color-sage-soft);
  color: var(--color-ink);
}

.footer-inner {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.site-footer img {
  width: 104px;
  height: 36px;
  object-fit: contain;
}

.site-footer .footer-brand span {
  color: var(--color-ink);
  font-size: 1.45rem;
}

.site-footer nav {
  display: flex;
  gap: 18px;
  justify-self: end;
}

.site-footer p {
  margin: 0;
  justify-self: center;
  text-align: center;
}

.legal-page {
  background: var(--color-cream);
}

.legal-main {
  width: var(--container);
  margin: 0 auto;
  padding: 76px 0 96px;
}

.legal-content {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(12px, 3vw, 30px) 0;
}

.legal-content h1 {
  margin-bottom: 34px;
  color: var(--color-ink);
  font-size: clamp(2.4rem, 6vw, 4rem);
}

.legal-content h2 {
  margin-top: 30px;
  margin-bottom: 10px;
  font-size: 1.28rem;
}

.legal-content a {
  color: var(--color-sage-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 900px) {
  .site-header {
    min-height: 64px;
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: var(--color-white);
    border: 1px solid rgba(150, 204, 155, 0.46);
    border-radius: var(--radius);
    box-shadow: 0 16px 42px var(--color-shadow);
  }

  .primary-nav.is-open,
  .legal-nav {
    display: flex;
  }

  .legal-nav {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    width: auto;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .primary-nav a {
    padding: 13px 14px;
  }

  .nav-cta {
    margin-top: 6px;
    text-align: center;
  }

  .hero {
    min-height: 720px;
    padding-top: 74px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.9));
  }

  .intro-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-panel {
    position: relative;
    top: auto;
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .service-panel-image img,
  .about-image img {
    height: auto;
    min-height: auto;
    aspect-ratio: 4 / 3;
  }

  .about-image img {
    object-position: center 38%;
  }

  .qr-card {
    justify-self: center;
  }
}

@media (max-height: 760px) and (min-width: 901px) {
  .service-panel {
    top: 74px;
    gap: clamp(18px, 3vw, 34px);
    padding: clamp(16px, 2.2vw, 24px);
  }

  .service-panel-image img {
    height: clamp(240px, 38svh, 340px);
  }

  .service-panel-copy span {
    margin-bottom: 12px;
  }

  .service-panel-copy h3 {
    font-size: clamp(2.35rem, 4.1vw, 3.7rem);
  }

  .service-panel-copy p {
    margin-top: 12px;
    font-size: clamp(0.92rem, 1.25vw, 1rem);
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100% - 28px, 1120px);
  }

  body {
    font-size: 15px;
  }

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

  .brand img {
    width: 120px;
    height: 48px;
  }

  .hero {
    min-height: 680px;
    padding: 76px 14px 46px;
  }

  .hero-slide {
    object-position: 56% 50%;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .intro,
  .services,
  .about,
  .contact {
    padding: 68px 0;
  }

  .service-stack {
    gap: clamp(34px, 12svh, 76px);
  }

  .service-panel {
    position: sticky;
    top: 74px;
    gap: 18px;
    padding: 16px;
    align-content: center;
  }

  .service-panel-image img {
    height: clamp(190px, 32svh, 260px);
    aspect-ratio: auto;
  }

  .service-panel-copy {
    max-width: 100%;
    min-width: 0;
  }

  .service-panel-copy h3 {
    max-width: 100%;
    font-size: clamp(2rem, 9vw, 2.75rem);
    line-height: 1.08;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .service-panel-copy p {
    margin-top: 14px;
    max-width: 100%;
    font-size: 0.98rem;
    overflow-wrap: break-word;
  }

  .contact-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .qr-card {
    justify-self: center;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .site-footer nav {
    justify-content: center;
    flex-wrap: wrap;
    justify-self: center;
  }

  .site-footer p {
    justify-self: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
