:root {
  color-scheme: light;
  --ink: #073d34;
  --ink-2: #112f2a;
  --muted: #68756f;
  --soft: #f6f3ef;
  --cream: #fbf8f5;
  --paper: #fffdfb;
  --line: rgba(7, 61, 52, 0.13);
  --line-strong: rgba(7, 61, 52, 0.22);
  --sage: #638973;
  --sage-dark: #4f735f;
  --clay: #a77545;
  --brass: #d8c2a6;
  --dark: #062b25;
  --dark-2: #0d3b33;
  --white: #ffffff;
  --shadow-soft: 0 22px 58px rgba(32, 45, 39, 0.1);
  --shadow-lift: 0 30px 80px rgba(32, 45, 39, 0.15);
  --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

#hero-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  background: var(--soft);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 13px max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0);
  color: rgba(255, 255, 255, 0.9);
  animation: headerIn 900ms var(--ease-premium) both;
  transition: background 260ms ease, color 260ms ease, border-color 260ms ease, backdrop-filter 260ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(246, 243, 239, 0.82);
  backdrop-filter: blur(24px);
}

.brand,
.nav-links,
.header-action {
  display: flex;
  align-items: center;
}

.brand {
  gap: 11px;
  font-size: 0.94rem;
  font-weight: 700;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background: rgba(251, 248, 245, 0.94);
  font-size: 0.72rem;
  transition: transform 260ms var(--ease-premium), background 260ms ease, border-color 260ms ease;
}

.brand-mark img {
  display: block;
  width: 23px;
  height: 23px;
  object-fit: contain;
}

.site-header.is-scrolled .brand-mark {
  border-color: var(--line);
  background: var(--paper);
}

.brand:hover .brand-mark {
  transform: translateY(-1px);
}

.nav-links {
  gap: 30px;
  font-size: 0.86rem;
  font-weight: 650;
  color: inherit;
}

.nav-links a,
.header-action,
.button {
  transition: opacity 220ms ease, transform 260ms var(--ease-premium), background 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.nav-links a:hover,
.header-action:hover {
  opacity: 0.72;
}

.header-action {
  min-height: 40px;
  padding: 0 17px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.11);
}

.site-header.is-scrolled .header-action {
  border-color: var(--line);
  background: var(--paper);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) 410px;
  align-items: center;
  gap: 74px;
  min-height: 100svh;
  padding: 140px max(24px, calc((100vw - 1180px) / 2)) 78px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(6, 43, 37, 0.1), rgba(6, 43, 37, 0.94)),
    radial-gradient(circle at 74% 18%, rgba(216, 194, 166, 0.16), transparent 32%),
    linear-gradient(135deg, #062b25 0%, #0d3b33 58%, #092620 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.62), transparent 78%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 18vh;
  background: linear-gradient(180deg, transparent, var(--soft));
  pointer-events: none;
}

.hero-inner,
.hero-signal {
  position: relative;
  z-index: 2;
}

.hero-inner {
  max-width: 720px;
}

.hero .eyebrow,
.hero h1,
.hero-copy,
.hero-actions,
.hero-stats {
  animation: riseIn 1000ms var(--ease-premium) both;
}

.hero .eyebrow {
  animation-delay: 120ms;
}

.hero h1 {
  animation-delay: 220ms;
}

.hero-copy {
  animation-delay: 340ms;
}

.hero-actions {
  animation-delay: 460ms;
}

.hero-stats {
  animation-delay: 580ms;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--sage-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow,
.section-dark .eyebrow,
.section-contact .eyebrow {
  color: var(--brass);
}

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

h1 {
  max-width: 720px;
  margin-bottom: 26px;
  font-size: clamp(3.45rem, 6.1vw, 5.1rem);
  line-height: 0.98;
  font-weight: 720;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.35rem, 4.1vw, 4.4rem);
  line-height: 1;
  font-weight: 720;
}

h3 {
  margin-bottom: 12px;
  color: var(--ink-2);
  font-size: 1.12rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.12rem;
  line-height: 1.68;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 760;
  white-space: nowrap;
  will-change: transform;
}

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

.button-primary {
  background: var(--sage);
  color: var(--white);
  box-shadow: 0 16px 36px rgba(4, 31, 26, 0.22);
}

.button-primary:hover {
  background: var(--sage-dark);
  box-shadow: 0 20px 50px rgba(4, 31, 26, 0.3);
}

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

.section-contact .button-secondary {
  border-color: rgba(255, 255, 255, 0.22);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 700px;
  margin: 46px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
}

.hero-stats div {
  padding: 20px 20px 18px;
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(18px);
  transition: background 300ms ease;
}

.hero-stats div:hover {
  background: rgba(255, 255, 255, 0.075);
}

.hero-stats dt {
  margin-bottom: 7px;
  font-size: 1.36rem;
  font-weight: 780;
}

.hero-stats dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.86rem;
}

.hero-signal {
  align-self: center;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(251, 248, 245, 0.94);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.26);
  color: var(--ink);
  animation: panelIn 1150ms var(--ease-premium) 500ms both, floatPanel 7s ease-in-out 1700ms infinite;
  transform-origin: center;
}

.signal-topline {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
}

.signal-topline span:last-child {
  color: var(--sage-dark);
}

.signal-metric {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.signal-metric strong {
  font-size: 4.5rem;
  line-height: 0.86;
  font-weight: 720;
}

.signal-metric span {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.signal-list {
  display: grid;
  gap: 1px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.signal-list div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 15px;
  background: var(--paper);
}

.signal-list span {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
}

.signal-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

.signal-flow {
  position: relative;
  height: 4px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(7, 61, 52, 0.12);
}

.signal-flow span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 34%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--sage-dark), var(--clay));
  animation: flow 3.4s ease-in-out infinite;
}

.section {
  position: relative;
  padding: 118px max(24px, calc((100vw - 1180px) / 2));
}

.section-light {
  background: var(--soft);
}

.section-dark {
  color: var(--white);
  background:
    radial-gradient(circle at 88% 10%, rgba(216, 194, 166, 0.12), transparent 34%),
    linear-gradient(135deg, var(--dark), var(--dark-2));
}

.section-contact {
  padding-top: 82px;
  color: var(--white);
  background: var(--soft);
}

.section-inner {
  width: 100%;
}

.section-heading {
  max-width: 900px;
  margin-bottom: 50px;
}

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

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

.section-heading p:not(.eyebrow) {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.06rem;
  line-height: 1.75;
}

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

.service-card,
.process-row article,
.timeline article {
  border-radius: 8px;
}

.service-card {
  position: relative;
  min-height: 358px;
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 251, 0.82);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6), 0 20px 48px rgba(32, 45, 39, 0.055);
  transition: transform 380ms var(--ease-premium), box-shadow 380ms ease, border-color 380ms ease, background 380ms ease;
  will-change: transform;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--line-strong);
  background: var(--paper);
  box-shadow: var(--shadow-lift);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #f0ece6;
  font-size: 0.8rem;
  font-weight: 820;
  transition: transform 380ms var(--ease-premium), color 380ms ease, background 380ms ease;
}

.service-card:hover .service-icon {
  transform: translateY(-3px);
  color: var(--white);
  background: var(--sage);
}

.service-card p,
.process-row p {
  color: var(--muted);
  line-height: 1.68;
}

.service-card ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  color: #30403a;
  font-size: 0.91rem;
}

.service-card li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--sage);
  vertical-align: 2px;
}

.proof-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(440px, 1fr);
  gap: 78px;
  align-items: start;
}

.timeline {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.timeline article {
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  background: transparent;
  transition: transform 380ms var(--ease-premium), border-color 380ms ease;
}

.timeline article:hover {
  transform: translateX(6px);
  border-color: rgba(216, 194, 166, 0.34);
}

.timeline time,
.process-row span {
  display: block;
  margin-bottom: 12px;
  color: var(--brass);
  font-size: 0.72rem;
  font-weight: 820;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.timeline h3 {
  color: var(--white);
}

.timeline p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.68;
}

.process-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.process-row article {
  position: relative;
  min-height: 245px;
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 251, 0.78);
  box-shadow: 0 16px 42px rgba(32, 45, 39, 0.045);
  transition: transform 380ms var(--ease-premium), box-shadow 380ms ease, background 380ms ease;
}

.process-row article:hover {
  transform: translateY(-6px);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.process-row span {
  color: var(--clay);
}

.contact-band {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--dark);
  box-shadow: var(--shadow-lift);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 0.7fr);
  min-height: 560px;
}

.contact-copy {
  padding: 58px;
  background:
    radial-gradient(circle at 12% 12%, rgba(216, 194, 166, 0.14), transparent 32%),
    linear-gradient(135deg, var(--dark), var(--dark-2));
}

.contact-band h2 {
  max-width: 780px;
  margin-bottom: 32px;
}

.contact-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 40px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 620;
}

.contact-lines a:hover {
  color: var(--white);
}

.booking-panel {
  min-height: 560px;
  overflow: hidden;
  border-left: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
}

.booking-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
}

.booking-topline a {
  color: var(--sage-dark);
  transition: opacity 220ms ease;
}

.booking-topline a:hover {
  opacity: 0.72;
}

.zcal-inline-widget {
  min-height: 508px;
  background: var(--cream);
}

.zcal-inline-widget > a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 508px;
  padding: 24px;
  color: var(--ink);
  font-weight: 800;
  text-align: center;
  background: var(--cream);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px max(24px, calc((100vw - 1180px) / 2));
  color: var(--muted);
  background: var(--soft);
  font-size: 0.9rem;
}

@keyframes flow {
  0% {
    transform: translateX(-120%);
  }
  50% {
    transform: translateX(120%);
  }
  100% {
    transform: translateX(320%);
  }
}

@keyframes headerIn {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes floatPanel {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .hero-signal {
    max-width: 520px;
  }

  .service-grid,
  .process-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .site-header {
    min-height: 58px;
    padding: 10px 16px;
  }

  .brand span:last-child {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .header-action {
    min-height: 36px;
    padding: 0 12px;
  }

  .hero {
    min-height: auto;
    padding: 122px 18px 70px;
  }

  h1 {
    font-size: 3.05rem;
    line-height: 0.98;
  }

  h2 {
    font-size: 2.3rem;
  }

  .hero-copy {
    font-size: 1.05rem;
  }

  .hero-stats,
  .service-grid,
  .process-row {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    margin-top: 38px;
  }

  .section {
    padding: 78px 18px;
  }

  .service-card,
  .process-row article {
    min-height: auto;
  }

  .contact-copy {
    padding: 42px 22px;
  }

  .booking-panel {
    min-height: 420px;
  }

  .zcal-inline-widget,
  .zcal-inline-widget > a {
    min-height: 380px;
  }

  .site-footer {
    flex-direction: column;
    padding: 26px 18px;
  }
}

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

  h2 {
    font-size: 1.98rem;
  }

  .button {
    width: 100%;
  }

  .hero-signal {
    padding: 18px;
  }

  .signal-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

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

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