:root {
  --milk: #fffaf7;
  --paper: #ffffff;
  --blush: #e9afa1;
  --rose: #a75b5f;
  --rose-soft: #d89a8e;
  --sage: #91aa99;
  --sage-dark: #526b5a;
  --ink: #2f2926;
  --muted: #746a65;
  --line: #eadfd8;
  --aqua: #92c9c2;
  --shadow: 0 26px 80px rgba(72, 50, 42, 0.13);
  --soft-shadow: 0 14px 42px rgba(72, 50, 42, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--milk);
  color: var(--ink);
  font-family: "Nunito Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(255, 250, 247, 0.9);
  border-bottom: 1px solid rgba(234, 222, 213, 0.85);
  box-shadow: 0 10px 34px rgba(72, 50, 42, 0.05);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 88px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.brand-logo {
  display: block;
  width: 84px;
  height: 84px;
  padding: 3px;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(145deg, rgba(255, 250, 247, 0.96), rgba(223, 190, 163, 0.36));
  border: 1px solid rgba(196, 154, 122, 0.38);
  box-shadow:
    0 16px 34px rgba(72, 50, 42, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: transform 280ms ease, box-shadow 280ms ease;
}

.brand:hover .brand-logo,
.brand:focus-visible .brand-logo {
  transform: translateY(-1px) scale(1.035);
  box-shadow:
    0 20px 42px rgba(72, 50, 42, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  line-height: 1;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.logo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    radial-gradient(circle at center, rgba(255, 250, 247, 0.8), rgba(70, 47, 39, 0.36)),
    rgba(47, 41, 38, 0.24);
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(10px);
  transition: opacity 360ms ease;
  cursor: zoom-out;
}

.logo-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.logo-lightbox img {
  width: min(76vw, 560px);
  max-height: min(76vh, 560px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(210, 173, 143, 0.58);
  box-shadow:
    0 32px 90px rgba(48, 36, 31, 0.28),
    0 0 0 12px rgba(255, 250, 247, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
  transform: translateY(14px) scale(0.86);
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.logo-lightbox.is-open img {
  transform: translateY(0) scale(1);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2.4vw, 34px);
  font-size: 15px;
  font-weight: 700;
}

.main-nav a {
  position: relative;
  color: #493c37;
  transition: color 240ms ease, transform 240ms ease;
}

.main-nav a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity 240ms ease, transform 240ms ease;
}

.main-nav a:hover,
.text-link:hover {
  color: var(--rose);
}

.main-nav a:hover::after {
  opacity: 0.45;
  transform: scaleX(1);
}

.nav-cta,
.button {
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  line-height: 1;
}

.nav-cta {
  padding: 13px 18px;
  background: var(--sage-dark);
  color: #fff !important;
  box-shadow: 0 12px 30px rgba(82, 107, 90, 0.18);
  transition: background 240ms ease, box-shadow 240ms ease, transform 240ms ease;
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  min-height: calc(100vh - 82px);
  padding: clamp(42px, 8vw, 96px) clamp(20px, 5vw, 72px) clamp(34px, 6vw, 74px);
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
}

.hero::before {
  background:
    linear-gradient(90deg, var(--milk) 0%, rgba(255, 250, 246, 0.98) 28%, rgba(255, 250, 246, 0.58) 48%, rgba(255, 250, 246, 0.1) 76%),
    linear-gradient(180deg, rgba(255, 250, 246, 0) 70%, var(--milk) 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--rose);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 1.02;
}

h1 {
  max-width: 720px;
  color: var(--rose);
  font-size: clamp(50px, 6.4vw, 86px);
}

h2 {
  max-width: 760px;
  font-size: clamp(38px, 5vw, 70px);
}

h3 {
  font-size: 34px;
}

.hero-professions {
  margin: 18px 0 0;
  color: var(--rose);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(18px, 1.65vw, 25px);
  font-style: italic;
  font-weight: 600;
  line-height: 1.28;
}

.hero-welcome {
  max-width: 620px;
  margin-top: 32px;
  color: var(--sage-dark);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.08;
}

.plain-section-title {
  margin-bottom: 26px;
  font-size: clamp(52px, 7vw, 92px);
}

.menu-section-title {
  color: var(--rose);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(44px, 5.4vw, 78px);
  font-weight: 600;
  line-height: 1.04;
}

.lead,
.hero-intro {
  max-width: 600px;
  color: var(--muted);
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.76;
}

.lead {
  margin: 24px 0 0;
}

.hero-intro {
  margin: 14px 0 0;
}

.hero-intro strong {
  color: var(--sage-dark);
  font-weight: 900;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 16px 22px;
  cursor: pointer;
  box-shadow: var(--soft-shadow);
  transition: border-color 240ms ease, background 240ms ease, box-shadow 240ms ease, color 240ms ease, transform 240ms ease;
}

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

.button.primary:hover {
  background: #934d51;
  box-shadow: 0 16px 36px rgba(167, 91, 95, 0.24);
}

.button.secondary {
  border-color: var(--sage);
  color: var(--sage-dark);
  background: rgba(255, 255, 255, 0.64);
}

.button.secondary:hover {
  border-color: var(--rose-soft);
  color: var(--rose);
  background: rgba(255, 255, 255, 0.86);
}

.hero-photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  width: min(66vw, 980px);
  min-height: 100%;
  margin-right: 0;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  opacity: 0.78;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, black 22%, black 100%),
    linear-gradient(180deg, black 0%, black 82%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0%, black 22%, black 100%),
    linear-gradient(180deg, black 0%, black 82%, transparent 100%);
  mask-composite: intersect;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: 44% 42%;
  filter: saturate(0.82) brightness(1.18) contrast(0.88);
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.intro-band div {
  min-height: 138px;
  padding: 28px clamp(20px, 4vw, 54px);
  background: var(--paper);
}

.intro-band strong {
  display: block;
  color: var(--sage-dark);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 30px;
  line-height: 1.05;
}

.intro-band span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.section,
.split-section,
.contact-section,
.welcome-section,
.help-section,
.rules-section {
  position: relative;
  padding: clamp(64px, 9vw, 118px) clamp(20px, 5vw, 72px);
}

main > section:not(.hero)::before {
  position: absolute;
  top: 18px;
  left: 50%;
  width: min(260px, 54vw);
  height: 20px;
  content: "";
  transform: translateX(-50%);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 430 34'%3E%3Cg fill='none' stroke='%239b896f' stroke-width='2' stroke-linecap='round' opacity='.78'%3E%3Cpath d='M42 17h112M276 17h112'/%3E%3Cpath d='M81 19c-16-8-29-7-42 2M97 18c-15-13-31-15-48-8M112 16c-11-15-25-20-43-17M349 19c16-8 29-7 42 2M333 18c15-13 31-15 48-8M318 16c11-15 25-20 43-17'/%3E%3C/g%3E%3Cg fill='%2398a085' opacity='.82'%3E%3Cellipse cx='50' cy='18' rx='12' ry='5' transform='rotate(-17 50 18)'/%3E%3Cellipse cx='66' cy='12' rx='12' ry='5' transform='rotate(18 66 12)'/%3E%3Cellipse cx='83' cy='8' rx='12' ry='5' transform='rotate(36 83 8)'/%3E%3Cellipse cx='380' cy='18' rx='12' ry='5' transform='rotate(17 380 18)'/%3E%3Cellipse cx='364' cy='12' rx='12' ry='5' transform='rotate(-18 364 12)'/%3E%3Cellipse cx='347' cy='8' rx='12' ry='5' transform='rotate(-36 347 8)'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.9;
  pointer-events: none;
}

main > section:not(.hero)::after {
  position: absolute;
  top: 18px;
  left: 50%;
  width: min(260px, 54vw);
  height: 20px;
  content: "♡";
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e9afa1;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 22px;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(167, 91, 95, 0.12);
  transform: translateX(-50%);
  pointer-events: none;
}

.section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.78fr);
  gap: clamp(36px, 6vw, 82px);
  align-items: center;
}

.section-copy p:not(.eyebrow),
.contact-copy p,
.narrow-copy p:not(.eyebrow) {
  max-width: 670px;
  color: var(--muted);
  font-size: 18px;
}

.welcome-section {
  background: var(--paper);
}

.narrow-copy {
  max-width: 920px;
  margin: 0 auto;
}

.narrow-copy p:not(.eyebrow) {
  max-width: none;
  font-size: 19px;
}

.feature-image,
.wide-image {
  margin: 0;
}

.feature-image img,
.wide-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-image figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.services-section {
  display: block;
  background: #f4fbfa;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 36px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 330px;
  padding: 30px;
  border: 1px solid #d8ece8;
  border-radius: 8px;
  background: var(--paper);
}

.service-number {
  display: inline-block;
  margin-bottom: 36px;
  color: var(--aqua);
  font-weight: 800;
}

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

.help-section {
  background: linear-gradient(180deg, #fff6f2 0%, var(--milk) 100%);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

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

.help-copy {
  max-width: 1040px;
  margin: 0 auto;
}

.help-copy h2,
.services-section .section-heading h2 {
  margin-bottom: 28px;
}

.help-copy ul {
  margin: 0;
  padding-left: 24px;
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.72;
}

.help-copy li + li {
  margin-top: 4px;
}

.help-copy li span {
  display: block;
  padding-left: 10px;
  color: #827570;
  font-size: 0.94em;
}

.help-subtitle,
.help-lines,
.help-note {
  max-width: 1100px;
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.72;
}

.help-subtitle {
  margin: 42px 0 0;
  color: var(--sage-dark);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 600;
}

.help-lines {
  margin: 0;
}

.help-note {
  margin-top: 34px;
  padding: 22px 24px;
  border-left: 4px solid var(--rose-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: var(--soft-shadow);
}

.help-note strong {
  font-weight: 900;
}

.price-card {
  min-height: 360px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(216, 236, 232, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(10px);
}

.price-card.featured {
  border-color: rgba(169, 79, 88, 0.34);
  box-shadow: var(--shadow);
}

.muted-card {
  background: #fbf7f2;
}

.price {
  margin: 14px 0 18px;
  color: var(--rose);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 800;
}

.price-card p:not(.price),
.rules-grid p {
  color: var(--muted);
}

.price-card p {
  margin: 12px 0;
}

.price-card ul {
  margin: 8px 0 18px;
  padding-left: 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.price-card li + li {
  margin-top: 5px;
}

.card-label {
  margin-top: 18px !important;
  color: var(--sage-dark) !important;
  font-weight: 800;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 0.8fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: center;
  background: var(--paper);
}

.text-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--sage-dark);
  font-weight: 800;
  border-bottom: 2px solid var(--aqua);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 0.75fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: start;
  background: #fff4f0;
}

.rules-section {
  background: var(--milk);
}

.rules-grid article {
  padding: 28px;
  border-left: 4px solid var(--sage);
  border-radius: 8px;
  background: var(--paper);
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  color: var(--sage-dark);
  font-weight: 800;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.legal-links a {
  color: var(--rose);
  font-weight: 800;
  border-bottom: 2px solid rgba(169, 79, 88, 0.3);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(169, 79, 88, 0.18);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px 15px;
  color: var(--ink);
  background: #fffdfb;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  outline: 3px solid rgba(140, 200, 197, 0.4);
  border-color: var(--aqua);
}

.check-row {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.check-row input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--rose);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(220px, 0.8fr) 1fr;
  align-items: center;
  gap: 24px;
  min-height: 190px;
  margin-top: 48px;
  padding: 62px clamp(20px, 5vw, 72px) 34px;
  color: #fff;
  background: var(--sage-dark);
}

.site-footer::before {
  position: absolute;
  right: 0;
  bottom: calc(100% - 1px);
  left: 0;
  height: 64px;
  content: "";
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23526b5a' d='M0 70C170 34 337 10 520 34c206 27 350 92 577 88 130-2 235-28 343-54v52H0Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 100% 100%;
  pointer-events: none;
}

.site-footer > * {
  position: relative;
  z-index: 1;
}

.footer-copy {
  display: grid;
  gap: 4px;
  align-self: start;
}

.footer-copy strong,
.footer-copy span {
  display: block;
}

.footer-center {
  display: grid;
  justify-items: center;
  gap: 26px;
  text-align: center;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  box-shadow: 0 16px 32px rgba(47, 41, 38, 0.2);
  transition: background 240ms ease, border-color 240ms ease, transform 240ms ease;
}

.social-link:hover,
.social-link:focus-visible {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.social-link svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.4;
}

.footer-legal a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.48);
  transition: color 220ms ease, border-color 220ms ease;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.9);
}

.legal-page {
  padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

.legal-page h1 {
  margin-bottom: 24px;
}

.legal-page h2 {
  margin-top: 42px;
  font-size: clamp(32px, 4vw, 48px);
}

.legal-page ul {
  color: var(--muted);
  font-size: 18px;
}

.legal-page li + li {
  margin-top: 8px;
}

.reveal-section {
  opacity: 0;
  transform: translateY(46px);
  will-change: opacity, transform;
  transition: opacity 1900ms ease, transform 1900ms ease;
}

.reveal-section > * {
  opacity: 0;
  transform: translateY(38px);
  will-change: opacity, transform;
  transition: opacity 1700ms ease, transform 1700ms ease;
}

.reveal-section .menu-section-title {
  opacity: 0;
  transform: translateX(-120px);
  will-change: opacity, transform;
}

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

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

.reveal-section.is-visible .menu-section-title {
  animation: titleSlideIn 2200ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.reveal-section.is-visible > *:nth-child(2) {
  transition-delay: 360ms;
}

.reveal-section.is-visible > *:nth-child(3) {
  transition-delay: 680ms;
}

.reveal-section.is-visible > *:nth-child(4) {
  transition-delay: 940ms;
}

.reveal-section.is-visible .price-card,
.reveal-section.is-visible .rules-grid article,
.reveal-section.is-visible .help-copy li {
  animation: softRise 1700ms ease both;
}

.reveal-section.is-visible .price-card:nth-child(2),
.reveal-section.is-visible .rules-grid article:nth-child(2),
.reveal-section.is-visible .help-copy li:nth-child(2) {
  animation-delay: 80ms;
}

.reveal-section.is-visible .price-card:nth-child(3),
.reveal-section.is-visible .rules-grid article:nth-child(3),
.reveal-section.is-visible .help-copy li:nth-child(3) {
  animation-delay: 140ms;
}

.reveal-section.is-visible .price-card:nth-child(4),
.reveal-section.is-visible .help-copy li:nth-child(4) {
  animation-delay: 200ms;
}

.reveal-section.is-visible .price-card:nth-child(5),
.reveal-section.is-visible .help-copy li:nth-child(5) {
  animation-delay: 260ms;
}

.reveal-section.is-visible .price-card:nth-child(6),
.reveal-section.is-visible .help-copy li:nth-child(6) {
  animation-delay: 320ms;
}

.section-pulse {
  animation: sectionPulse 900ms ease both;
}

@keyframes softRise {
  0% {
    opacity: 0;
    transform: translateY(34px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes titleSlideIn {
  0% {
    opacity: 0;
    transform: translateX(-120px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes sectionPulse {
  0% {
    opacity: 0.18;
    transform: translateY(14px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reveal-section {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .static-nav {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    box-shadow: none;
  }

  .main-nav a {
    padding: 13px 12px;
  }

  .nav-cta {
    text-align: center;
  }

  .hero,
  .section,
  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: 210px;
    text-align: center;
  }

  .footer-copy {
    align-self: auto;
  }

  .hero {
    min-height: auto;
    padding-top: 60px;
  }

  .hero-photo {
    position: absolute;
    width: 100%;
    min-height: 100%;
    opacity: 0.32;
    -webkit-mask-image: linear-gradient(180deg, black 0%, black 78%, transparent 100%);
    mask-image: linear-gradient(180deg, black 0%, black 78%, transparent 100%);
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(255, 250, 246, 0) 78%, var(--milk) 100%);
  }

  .hero-photo img {
    object-position: 58% 42%;
  }

  .intro-band,
  .service-grid,
  .pricing-grid,
  .rules-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 74px;
    padding-inline: 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 58px;
    height: 58px;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 38px;
  }

  .hero {
    padding-inline: 16px;
  }

  .hero-photo {
    width: 100%;
    min-height: 100%;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .section,
  .split-section,
  .contact-section,
  .welcome-section,
  .help-section,
  .rules-section {
    padding-inline: 16px;
  }
}
