:root {
  --ink: #2b2b2b;
  --paper: #f3efe7;
  --sand: #c9b7a1;
  --nav: #93a7b1;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.78);
  --shadow: 0 18px 30px rgba(0, 0, 0, 0.18);
  --shadow-soft: 0 10px 22px rgba(0, 0, 0, 0.14);
  --container: 1120px;

  --font-body: "Cormorant Garamond", serif;
  --font-display: "Cinzel", serif;
  --font-script: "Allura", cursive;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background: #ffffff;
}

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

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

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 1000;
  padding: 10px 12px;
  border-radius: 10px;
  background: #111111;
  color: #ffffff;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.anchor {
  position: absolute;
  top: -80px;
  width: 1px;
  height: 1px;
  display: block;
}

.masthead {
  position: relative;
}

.hero {
  display: grid;
  grid-template-columns: 1.85fr 1fr;
  min-height: 560px;
}

.hero__left,
.hero__right {
  position: relative;
  overflow: hidden;
}

.hero__brand {
  position: absolute;
  top: clamp(16px, 3vw, 28px);
  left: clamp(16px, 4vw, 38px);
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  z-index: 3;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 8px 16px rgba(0, 0, 0, 0.32);
}

.hero__brand-script {
  font-family: var(--font-script);
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: 0.04em;
}

.hero__brand-name {
  font-family: var(--font-display);
  letter-spacing: 0.18em;
  font-size: clamp(12px, 2vw, 16px);
  text-transform: uppercase;
}

@media (min-width: 981px) {
  .hero__right {
    border-left: 2px solid rgba(255, 255, 255, 0.72);
  }
}

.hero__left-media {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0) 55%),
    linear-gradient(to top, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0) 40%),
    url("../image/optimized/hero-1600.jpg");
  /* Slightly higher framing */
  background-size: 100%;
  background-position: center 18%;
  filter: saturate(0.98) contrast(1.02);
}

.hero__left-copy {
  position: absolute;
  left: 50%;
  top: 17%;
  transform: translateX(-50%);
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  width: min(92%, 520px);
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  font-weight: 600;
  font-size: clamp(44px, 5vw, 78px);
  display: inline-flex;
  gap: 0.08em;
  position: relative;
}

.hero__subtitle {
  margin: 8px 0 0 0;
  font-family: var(--font-script);
  font-size: clamp(22px, 2.2vw, 32px);
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.8);
}

.hero__right-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(
      90deg,
      rgba(232, 238, 241, 0.92) 0%,
      rgba(232, 238, 241, 0.62) 58%,
      rgba(255, 255, 255, 0.98) 100%
    ),
    url("../image/web/10-1600.webp");
  background-size: cover;
  background-position: left bottom;
  filter: saturate(0.95) contrast(0.92) brightness(1.05);
}

.hero__title .char {
  opacity: 0;
  transform: translateY(12px);
}

.hero__title .char.is-in {
  animation: hero-type 360ms ease forwards;
}

.hero__title::after {
  content: "";
  width: 2px;
  height: 0.8em;
  background: rgba(255, 255, 255, 0.9);
  margin-left: 8px;
  align-self: center;
  animation: hero-caret 1s steps(1) infinite;
  opacity: 0.85;
}

@keyframes hero-type {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-caret {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

.polaroids {
  position: relative;
  width: 100%;
  height: 100%;
}

.polaroid {
  position: absolute;
  background: var(--white);
  padding: 14px 14px 30px;
  border-radius: 3px;
  box-shadow: var(--shadow);
}

.polaroid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
  will-change: transform;
}

.polaroids--hero {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.polaroids--hero::before,
.polaroids--hero::after {
  content: "";
  position: absolute;
  z-index: 4;
  width: 40px;
  height: 40px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='%23d69264' fill-opacity='0.78'%3E%3Cellipse cx='32' cy='14' rx='8' ry='12'/%3E%3Cellipse cx='32' cy='50' rx='8' ry='12'/%3E%3Cellipse cx='14' cy='32' rx='12' ry='8'/%3E%3Cellipse cx='50' cy='32' rx='12' ry='8'/%3E%3Cellipse cx='18' cy='18' rx='10' ry='7' transform='rotate(-45 18 18)'/%3E%3Cellipse cx='46' cy='46' rx='10' ry='7' transform='rotate(-45 46 46)'/%3E%3Ccircle cx='32' cy='32' r='8' fill='%23f4e4d8' fill-opacity='0.7'/%3E%3Ccircle cx='32' cy='32' r='5' fill='%23d69264' fill-opacity='0.88'/%3E%3C/g%3E%3C/svg%3E");
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.16));
  opacity: 0.9;
}

.polaroids--hero::before {
  left: 58%;
  top: 62%;
  transform: rotate(8deg);
}

.polaroids--hero::after {
  left: 66%;
  top: 67%;
  width: 34px;
  height: 34px;
  transform: rotate(-10deg);
  opacity: 0.86;
}

.polaroids--hero .polaroid {
  border-radius: 0;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
}

.polaroids--hero .polaroid img {
  border-radius: 0;
  opacity: 1;
  will-change: opacity;
  transition: opacity 480ms ease;
}

.polaroids--hero .polaroid img.is-fading {
  opacity: 0;
}

.polaroid--hero-a {
  width: clamp(240px, 72%, 380px);
  aspect-ratio: 4/3;
  right: 6%;
  top: 6%;
  padding: 16px;
  transform: rotate(2deg);
  z-index: 2;
}

.polaroid--hero-b {
  width: clamp(170px, 44%, 240px);
  aspect-ratio: 3/4;
  left: 14%;
  top: 22%;
  padding: 16px 16px 70px;
  transform: rotate(-7deg);
  box-shadow: 0 28px 52px rgba(0, 0, 0, 0.22);
  z-index: 3;
}

.polaroid--hero-c {
  width: clamp(230px, 70%, 360px);
  aspect-ratio: 4/3;
  right: 8%;
  bottom: 7%;
  padding: 16px;
  transform: rotate(-1.5deg);
  z-index: 1;
}

.doodle {
  position: absolute;
  width: 250px;
  height: 190px;
  opacity: 0.78;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 360 260'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' opacity='0.92'%3E%3Cpath d='M64 200c22-14 28-30 31-46 5-26 29-44 58-36 22 6 32 24 31 44-2 26-27 44-54 50-28 7-48 2-66-12Z'/%3E%3Cpath d='M166 92c-8-26 5-49 30-60 26-12 56-2 68 21 12 24 2 52-18 69-24 20-56 23-80 8'/%3E%3Cpath d='M232 162c18-10 38-8 56 6 18 14 24 36 16 56-9 21-31 34-54 31-24-3-43-22-46-44'/%3E%3Cpath d='M148 148c2 48 18 84 50 112'/%3E%3Cpath d='M128 126c-22 14-42 18-70 16'/%3E%3Cpath d='M196 70c-6 18-14 34-28 50'/%3E%3Cpath d='M250 158c16 2 32-2 48-12'/%3E%3C/g%3E%3C/svg%3E");
}

.doodle--left {
  left: 18px;
  bottom: 12px;
}

.doodle--right {
  left: -18px;
  bottom: 34px;
  width: 340px;
  height: 260px;
  opacity: 0.78;
  z-index: 1;
  transform: rotate(-6deg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 520 360'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round' opacity='0.92'%3E%3Cpath d='M232 232c-26-34-62-58-104-66-52-10-98 8-114 44-18 42 10 90 70 112 54 20 118 6 148-32'/%3E%3Cpath d='M248 120c28-34 74-54 126-50 64 4 112 46 106 94-6 48-64 84-132 76-44-6-84-28-102-54'/%3E%3Cpath d='M260 178c-22-44-14-88 22-124 38-38 96-42 140-10 46 34 56 96 24 142-34 50-104 70-166 44'/%3E%3Cpath d='M292 232c10 46 34 86 72 120'/%3E%3Cpath d='M216 214c-40 18-80 22-122 10'/%3E%3Cpath d='M316 206c30 4 62-4 96-24'/%3E%3C/g%3E%3C/svg%3E");
}

.site-nav {
  background: var(--nav);
  color: rgba(255, 255, 255, 0.85);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 18px 18px;
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 46px);
  font-family: var(--font-display);
  letter-spacing: 0.14em;
  font-size: 12px;
}

.site-nav__list a {
  display: inline-block;
  padding: 8px 2px;
  opacity: 0.85;
  transition: opacity 160ms ease;
}

.site-nav__list a:hover,
.site-nav__list a:focus-visible {
  opacity: 1;
}

.site-nav__list a[aria-current] {
  opacity: 1;
  position: relative;
}

.site-nav__list a[aria-current]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 22px;
  height: 1px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.75);
}

.nav-toggle {
  display: none;
  width: 100%;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  padding: 14px 18px;
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-toggle__bars {
  display: inline-block;
  width: 18px;
  height: 12px;
  margin-right: 10px;
  position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 1px;
}

.nav-toggle__bars::before {
  top: 0;
  box-shadow: 0 5px 0 rgba(255, 255, 255, 0.9);
}

.nav-toggle__bars::after {
  bottom: 0;
}

.quick-actions {
  position: fixed;
  top: 50%;
  right: calc(14px + env(safe-area-inset-right));
  transform: translateY(-50%);
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quick-actions .ai-agent {
  order: 4;
}

.quick-action {
  --qa-accent: 147 167 177;

  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgb(var(--qa-accent) / 0.92);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgb(var(--qa-accent) / 0.28);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    transform 200ms ease,
    background-color 200ms ease,
    color 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease,
    filter 200ms ease;
}

.quick-action svg {
  width: 22px;
  height: 22px;
}

.quick-action--call {
  --qa-accent: 147 167 177;
}

.quick-action--instagram {
  --qa-accent: 214 146 100;
}

.quick-action--whatsapp {
  --qa-accent: 201 183 161;
}

.quick-action::after {
  content: attr(data-label);
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  opacity: 0;
  pointer-events: none;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
  color: rgba(43, 43, 43, 0.8);
  font-family: var(--font-display);
  letter-spacing: 0.16em;
  font-size: 10px;
  white-space: nowrap;
  transition: opacity 180ms ease, transform 180ms ease;
}

.quick-action:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgb(var(--qa-accent) / 0.18), 0 18px 36px rgba(0, 0, 0, 0.12);
}

.quick-action:focus-visible::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .quick-action:hover {
    transform: translateX(-3px);
    background: rgb(var(--qa-accent) / 0.94);
    color: rgba(255, 255, 255, 0.94);
    border-color: rgb(var(--qa-accent) / 0.42);
    box-shadow: 0 26px 54px rgba(0, 0, 0, 0.14);
    filter: saturate(1.05);
  }

  .quick-action:hover::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

@media (max-width: 720px) {
  .quick-actions {
    right: calc(10px + env(safe-area-inset-right));
    gap: 8px;
  }

  .quick-actions .ai-agent {
    order: 0;
  }

  .quick-action {
    width: 42px;
    height: 42px;
  }

  .quick-action svg {
    width: 20px;
    height: 20px;
  }

  .quick-action::after {
    display: none;
  }
}

.section {
  padding: 84px 0;
  scroll-margin-top: 84px;
  /* Speed up initial render/scroll by skipping offscreen painting */
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

.section--bookme {
  background: var(--sand);
}

.bookme {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(26px, 4vw, 70px);
  align-items: center;
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0.16em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(46px, 5vw, 74px);
}

.section-kicker {
  margin: 12px 0 22px;
  font-family: var(--font-display);
  letter-spacing: 0.18em;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
}

.section-body {
  margin: 0 0 14px 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
  font-size: 18px;
}

.social {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.05);
}

.social__icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  transition: opacity 160ms ease, transform 160ms ease;
}

.social__icon:hover,
.social__icon:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
}

.social__icon svg {
  width: 22px;
  height: 22px;
  fill: rgba(255, 255, 255, 0.86);
}

.bookme__email {
  margin: 22px 0 0;
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.bookme__collage {
  position: relative;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  grid-template-rows: 1fr 1fr;
  gap: clamp(12px, 2.2vw, 18px);
  padding: clamp(14px, 2.2vw, 22px);
  height: clamp(420px, 38vw, 520px);
  isolation: isolate;
  perspective: 1200px;
}

.bookme__collage .polaroid {
  --rot: 0deg;
  --delay: 0ms;
  --enter-x: 0px;
  --enter-y: 18px;
  --enter-rot: -6deg;
  --lift: 0px;
  --scale: 1;
  --shadow-rest: 0 16px 34px rgba(0, 0, 0, 0.18);
  --shadow-hover: 0 26px 56px rgba(0, 0, 0, 0.22);

  position: relative;
  inset: auto;
  margin: 0;
  width: 100%;
  height: 100%;
  padding: clamp(6px, 1vw, 10px);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-rest);
  overflow: hidden;
  transform: rotate(var(--rot));
  transform-origin: 50% 55%;
  z-index: 1;
}

.bookme__collage .polaroid img {
  transition: transform 350ms ease;
  transform: scale(1);
  will-change: transform;
  border-radius: 0;
}

.bookme__collage .polaroid::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.55) 48%, transparent 72%);
  transform: translateX(-140%);
  opacity: 0;
  transition: transform 700ms ease, opacity 250ms ease;
  pointer-events: none;
}

.polaroid--bookme-center,
.polaroid--bookme-top,
.polaroid--bookme-right {
  left: auto;
  top: auto;
  right: auto;
  bottom: auto;
}

.js .bookme__collage .polaroid {
  opacity: 0;
  --scale: 0.98;
  transform:
    translate3d(var(--enter-x), calc(var(--enter-y) + var(--lift)), 0)
    rotate(calc(var(--rot) + var(--enter-rot)))
    scale(var(--scale));
  transition:
    opacity 700ms ease,
    transform 900ms cubic-bezier(0.2, 0.9, 0.2, 1),
    box-shadow 250ms ease;
  transition-delay: var(--delay);
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.js .bookme__collage.is-inview .polaroid {
  opacity: 1;
  --enter-x: 0px;
  --enter-y: 0px;
  --enter-rot: 0deg;
  --scale: 1;
}

.polaroid--bookme-center {
  grid-column: 1;
  grid-row: 1 / span 2;
  z-index: 2;
  --rot: 0deg;
  --delay: 80ms;
  --enter-y: 18px;
  --enter-rot: -2deg;
}

.polaroid--bookme-top {
  grid-column: 2;
  grid-row: 1;
  z-index: 1;
  --rot: 0deg;
  --delay: 0ms;
  --enter-x: 14px;
  --enter-y: 14px;
  --enter-rot: 2deg;
}

.polaroid--bookme-right {
  grid-column: 2;
  grid-row: 2;
  z-index: 1;
  --rot: 0deg;
  --delay: 160ms;
  --enter-x: 14px;
  --enter-y: 22px;
  --enter-rot: 2deg;
}

.sparkles {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 120px;
  height: 90px;
  opacity: 0.65;
}

.sparkles::before,
.sparkles::after {
  content: "\2726";
  position: absolute;
  color: rgba(255, 255, 255, 0.85);
  font-size: 20px;
  transform: rotate(12deg);
  text-shadow: 0 10px 18px rgba(0, 0, 0, 0.15);
}

.sparkles::before {
  left: 16px;
  top: 14px;
}

.sparkles::after {
  right: 10px;
  bottom: 4px;
  font-size: 16px;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .bookme__collage.is-inview .polaroid:hover {
    --lift: -10px;
    --scale: 1.02;
    box-shadow: var(--shadow-hover);
  }

  .bookme__collage.is-inview .polaroid:hover img {
    transform: scale(1.035);
  }

  .bookme__collage.is-inview .polaroid:hover::after {
    opacity: 0.35;
    transform: translateX(140%);
  }
}

@keyframes bookme-twinkle {
  0%,
  100% {
    opacity: 0.38;
    transform: rotate(12deg) scale(0.9);
  }
  55% {
    opacity: 0.9;
    transform: rotate(12deg) scale(1.08);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .bookme__collage.is-inview .sparkles::before {
    animation: bookme-twinkle 2.8s ease-in-out infinite;
  }

  .bookme__collage.is-inview .sparkles::after {
    animation: bookme-twinkle 2.4s ease-in-out 0.7s infinite;
  }
}

.section--services {
  background-color: #f7f4ee;
  background-image:
    radial-gradient(circle at 14% 16%, rgba(0, 0, 0, 0.06) 0 1px, transparent 2px),
    radial-gradient(circle at 82% 28%, rgba(0, 0, 0, 0.05) 0 1px, transparent 2px),
    radial-gradient(circle at 38% 82%, rgba(0, 0, 0, 0.05) 0 1px, transparent 2px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0));
  background-size: 240px 240px, 220px 220px, 260px 260px, 100% 100%;
}

.services {
  position: relative;
  isolation: isolate;
}

.section--services .doodle {
  z-index: 0;
  opacity: 0.12;
  filter: invert(1) saturate(0) brightness(0.25);
}

.doodle--services-a {
  left: auto;
  bottom: auto;
  right: -36px;
  top: 18px;
  transform: rotate(10deg);
}

.doodle--services-b {
  right: auto;
  top: auto;
  left: -56px;
  bottom: -46px;
  width: 340px;
  height: 260px;
  opacity: 0.1;
  transform: rotate(-12deg) scaleX(-1);
}

.services__header,
.services__grid,
.services__footer {
  position: relative;
  z-index: 1;
}

.services__header {
  text-align: center;
  max-width: 820px;
  margin-inline: auto;
}

.services__kicker {
  margin: 0 0 12px;
  font-family: var(--font-display);
  letter-spacing: 0.22em;
  font-size: 11px;
  color: rgba(43, 43, 43, 0.62);
}

.services__title {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0.14em;
  font-weight: 600;
  color: rgba(43, 43, 43, 0.88);
  font-size: clamp(38px, 4.4vw, 60px);
}

.services__lead {
  margin: 14px auto 0;
  max-width: 720px;
  font-size: 20px;
  line-height: 1.65;
  color: rgba(43, 43, 43, 0.72);
}

.services__grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 18px);
}

.services__grid .service-card {
  --accent-rgb: 147 167 177;
}

.services__grid .service-card:nth-child(2) {
  --accent-rgb: 201 183 161;
}

.services__grid .service-card:nth-child(3) {
  --accent-rgb: 214 146 100;
}

.services__grid .service-card:nth-child(4) {
  --accent-rgb: 105 121 132;
}

.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 20px 18px 18px;
  background:
    linear-gradient(90deg, transparent 0%, rgb(var(--accent-rgb) / 0.28) 50%, transparent 100%) 0 0 / 100% 2px
      no-repeat,
    rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 12%, rgb(var(--accent-rgb) / 0.22), transparent 52%),
    radial-gradient(circle at 86% 90%, rgb(var(--accent-rgb) / 0.14), transparent 60%);
  opacity: 0.75;
  pointer-events: none;
  z-index: 0;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.65) 48%, transparent 72%);
  transform: translateX(-140%);
  opacity: 0;
  transition: transform 800ms ease, opacity 220ms ease;
  pointer-events: none;
  z-index: 0;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.service-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgb(var(--accent-rgb) / 0.14);
  border: 1px solid rgb(var(--accent-rgb) / 0.34);
  color: rgb(var(--accent-rgb) / 0.9);
  transition: transform 220ms ease, filter 220ms ease;
}

.service-card__icon svg {
  width: 22px;
  height: 22px;
}

.service-card__title {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  font-size: 14px;
  text-transform: uppercase;
  color: rgba(43, 43, 43, 0.82);
}

.service-card__desc {
  margin: 0;
  color: rgba(43, 43, 43, 0.7);
  line-height: 1.55;
  font-size: 18px;
}

.service-card__list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  color: rgba(43, 43, 43, 0.66);
  font-size: 16px;
}

.service-card__list li {
  position: relative;
  padding-left: 14px;
}

.service-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgb(var(--accent-rgb) / 0.88);
  box-shadow: 0 0 0 4px rgb(var(--accent-rgb) / 0.12);
  transform: translateY(-50%);
}

.services__footer {
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.services__note {
  margin: 0;
  color: rgba(43, 43, 43, 0.7);
  font-size: 18px;
  line-height: 1.6;
  max-width: 640px;
}

.services__note-script {
  display: block;
  font-family: var(--font-script);
  font-size: 36px;
  line-height: 1;
  color: rgba(43, 43, 43, 0.64);
  margin-bottom: 6px;
}

.services__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--nav);
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-family: var(--font-display);
  letter-spacing: 0.16em;
  font-size: 12px;
  box-shadow: 0 16px 32px rgba(147, 167, 177, 0.35);
  transition: transform 200ms ease, filter 200ms ease;
  white-space: nowrap;
}

.services__button:hover,
.services__button:focus-visible {
  filter: brightness(1.03) saturate(1.05);
  transform: translateY(-1px);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.14);
    border-color: rgb(var(--accent-rgb) / 0.24);
  }

  .service-card:hover .service-card__icon {
    transform: translateY(-1px) rotate(-6deg);
    filter: saturate(1.05) brightness(1.03);
  }

  .service-card:hover::after {
    opacity: 0.3;
    transform: translateX(140%);
  }
}

/* Default animate-in */
.js .services__grid .service-card {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 700ms ease,
    transform 900ms cubic-bezier(0.2, 0.9, 0.2, 1),
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.js .services.is-inview .service-card {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile/handset safeguard: ensure cards stay visible even if IntersectionObserver misses */
@media (max-width: 1200px) {
  .js .services__grid .service-card {
    opacity: 1 !important;
    transform: none !important;
  }
}

.js .services.is-inview .service-card:nth-child(1) {
  transition-delay: 0ms;
}

.js .services.is-inview .service-card:nth-child(2) {
  transition-delay: 90ms;
}

.js .services.is-inview .service-card:nth-child(3) {
  transition-delay: 180ms;
}

.js .services.is-inview .service-card:nth-child(4) {
  transition-delay: 270ms;
}

.section--packages {
  background-color: #fbfaf7;
  background-image:
    radial-gradient(circle at 18% 22%, rgba(147, 167, 177, 0.12) 0 1px, transparent 2px),
    radial-gradient(circle at 82% 72%, rgba(201, 183, 161, 0.12) 0 1px, transparent 2px),
    radial-gradient(circle at 42% 88%, rgba(0, 0, 0, 0.05) 0 1px, transparent 2px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0));
  background-size: 260px 260px, 240px 240px, 280px 280px, 100% 100%;
}

.packages {
  position: relative;
  isolation: isolate;
}

.section--packages .doodle {
  z-index: 0;
  opacity: 0.11;
  filter: invert(1) saturate(0) brightness(0.34);
}

.doodle--packages-a {
  left: auto;
  bottom: auto;
  right: -42px;
  top: -6px;
  transform: rotate(12deg);
}

.doodle--packages-b {
  right: auto;
  top: auto;
  left: -64px;
  bottom: -60px;
  width: 340px;
  height: 260px;
  opacity: 0.1;
  transform: rotate(-10deg) scaleX(-1);
}

.packages__header,
.packages__grid,
.packages__footer {
  position: relative;
  z-index: 1;
}

.packages__header {
  text-align: center;
  max-width: 860px;
  margin-inline: auto;
}

.packages__kicker {
  margin: 0 0 12px;
  font-family: var(--font-display);
  letter-spacing: 0.22em;
  font-size: 11px;
  color: rgba(43, 43, 43, 0.62);
}

.packages__title {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0.14em;
  font-weight: 600;
  color: rgba(43, 43, 43, 0.88);
  font-size: clamp(38px, 4.4vw, 60px);
}

.packages__lead {
  margin: 14px auto 0;
  max-width: 720px;
  font-size: 20px;
  line-height: 1.65;
  color: rgba(43, 43, 43, 0.72);
}

.packages__grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 18px);
  align-items: stretch;
}

.packages__grid .package-card {
  --accent-rgb: 201 183 161;
}

.packages__grid .package-card:nth-child(2) {
  --accent-rgb: 147 167 177;
}

.packages__grid .package-card:nth-child(3) {
  --accent-rgb: 214 146 100;
}

.package-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 22px 20px 18px;
  background:
    linear-gradient(90deg, transparent 0%, rgb(var(--accent-rgb) / 0.36) 50%, transparent 100%) 0 0 / 100% 2px
      no-repeat,
    rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.package-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 12%, rgb(var(--accent-rgb) / 0.22), transparent 54%),
    radial-gradient(circle at 86% 92%, rgb(var(--accent-rgb) / 0.14), transparent 60%);
  opacity: 0.9;
  pointer-events: none;
  z-index: 0;
}

.package-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.7) 48%, transparent 72%);
  transform: translateX(-140%);
  opacity: 0;
  transition: transform 900ms ease, opacity 220ms ease;
  pointer-events: none;
  z-index: 0;
}

.package-card > * {
  position: relative;
  z-index: 1;
}

.package-card__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgb(var(--accent-rgb) / 0.12);
  border: 1px solid rgb(var(--accent-rgb) / 0.28);
  color: rgba(43, 43, 43, 0.72);
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.18em;
}

.package-card__head {
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.package-card__name {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0.18em;
  font-size: 12px;
  text-transform: uppercase;
  color: rgba(43, 43, 43, 0.78);
}

.package-card__price {
  margin: 12px 0 0;
  display: grid;
  gap: 6px;
}

.package-card__price-from {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: rgba(43, 43, 43, 0.56);
}

.package-card__price-value {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: clamp(34px, 3.3vw, 44px);
  color: rgba(43, 43, 43, 0.88);
}

.package-card__meta {
  margin: 10px 0 0;
  color: rgba(43, 43, 43, 0.66);
  line-height: 1.45;
  font-size: 16px;
}

.package-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  color: rgba(43, 43, 43, 0.7);
  font-size: 16px;
}

.package-card__list li {
  position: relative;
  padding-left: 22px;
}

.package-card__list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgb(var(--accent-rgb) / 0.9);
  font-size: 12px;
}

.package-card__button {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgb(var(--accent-rgb) / 0.36);
  color: rgba(43, 43, 43, 0.82);
  font-family: var(--font-display);
  letter-spacing: 0.16em;
  font-size: 12px;
  transition: transform 200ms ease, filter 200ms ease, background-color 200ms ease, border-color 200ms ease;
}

.package-card--featured {
  border-color: rgb(var(--accent-rgb) / 0.22);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.14);
  transform: translateY(-8px);
}

.package-card--featured .package-card__head {
  border-bottom-color: rgb(var(--accent-rgb) / 0.18);
}

.package-card--featured .package-card__button {
  background: var(--nav);
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 16px 34px rgba(147, 167, 177, 0.28);
}

.packages__footer {
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.packages__note {
  margin: 0;
  color: rgba(43, 43, 43, 0.72);
  font-size: 18px;
  line-height: 1.6;
  max-width: 680px;
}

.packages__note-script {
  display: block;
  font-family: var(--font-script);
  font-size: 36px;
  line-height: 1;
  color: rgba(43, 43, 43, 0.64);
  margin-bottom: 6px;
}

.packages__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--nav);
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-family: var(--font-display);
  letter-spacing: 0.16em;
  font-size: 12px;
  box-shadow: 0 16px 32px rgba(147, 167, 177, 0.35);
  transition: transform 200ms ease, filter 200ms ease;
  white-space: nowrap;
}

.packages__button:hover,
.packages__button:focus-visible {
  filter: brightness(1.03) saturate(1.05);
  transform: translateY(-1px);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .package-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.14);
    border-color: rgb(var(--accent-rgb) / 0.26);
  }

  .package-card:hover::after {
    opacity: 0.28;
    transform: translateX(140%);
  }

  .package-card--featured:hover {
    transform: translateY(-10px);
  }

  .package-card__button:hover,
  .package-card__button:focus-visible {
    background: rgb(var(--accent-rgb) / 0.14);
    border-color: rgb(var(--accent-rgb) / 0.5);
    transform: translateY(-1px);
  }

  .package-card--featured .package-card__button:hover,
  .package-card--featured .package-card__button:focus-visible {
    filter: brightness(1.04) saturate(1.05);
    transform: translateY(-1px);
    background: var(--nav);
    border-color: rgba(255, 255, 255, 0.28);
  }
}

.js .packages__grid .package-card {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 700ms ease,
    transform 900ms cubic-bezier(0.2, 0.9, 0.2, 1),
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.js .packages.is-inview .package-card {
  opacity: 1;
  transform: translateY(0);
}

.js .packages.is-inview .package-card:nth-child(1) {
  transition-delay: 0ms;
}

.js .packages.is-inview .package-card:nth-child(2) {
  transition-delay: 90ms;
}

.js .packages.is-inview .package-card:nth-child(3) {
  transition-delay: 180ms;
}

.section--tracking {
  background-color: #f7f2ea;
  background-image:
    radial-gradient(circle at 18% 18%, rgba(147, 167, 177, 0.12) 0 1px, transparent 2px),
    radial-gradient(circle at 78% 26%, rgba(214, 146, 100, 0.12) 0 1px, transparent 2px),
    radial-gradient(circle at 32% 82%, rgba(0, 0, 0, 0.05) 0 1px, transparent 2px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.6));
  background-size: 240px 240px, 260px 260px, 280px 280px, 100% 100%;
}

.tracking {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
}

.tracking__copy {
  position: relative;
  padding: clamp(10px, 1vw, 12px);
}

.tracking__kicker {
  margin: 0 0 10px;
  font-family: var(--font-display);
  letter-spacing: 0.22em;
  font-size: 11px;
  color: rgba(43, 43, 43, 0.62);
}

.tracking__title {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0.14em;
  font-weight: 600;
  color: rgba(43, 43, 43, 0.88);
  font-size: clamp(38px, 4.2vw, 60px);
}

.tracking__lead {
  margin: 14px 0 0;
  max-width: 640px;
  font-size: 20px;
  line-height: 1.65;
  color: rgba(43, 43, 43, 0.72);
}

.tracking__bullets {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 17px;
  color: rgba(43, 43, 43, 0.7);
}

.tracking__bullets li {
  position: relative;
  padding-left: 18px;
}

.tracking__bullets li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  top: 0.45em;
  color: rgb(201 183 161);
  font-size: 18px;
}

.tracking__cta {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tracking__panel {
  position: relative;
  padding: 18px;
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(147, 167, 177, 0.12)),
    rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: grid;
  gap: 12px;
}

.tracking__form {
  display: grid;
  gap: 10px;
}

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

.tracking__actions {
  align-items: stretch;
  gap: 10px;
}

.tracking__clear {
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(147, 167, 177, 0.08);
  color: rgba(43, 43, 43, 0.78);
}

.tracking__hint {
  margin: 2px 0 0;
  color: rgba(43, 43, 43, 0.62);
  line-height: 1.5;
  font-size: 15px;
}

.tracking__result {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.9);
  padding: 16px;
  min-height: 220px;
  display: grid;
  gap: 12px;
}

.tracking__result--empty {
  align-content: center;
  text-align: center;
  background: rgba(201, 183, 161, 0.08);
  border-style: dashed;
}

.tracking__empty-title {
  margin: 0 0 4px;
  font-family: var(--font-display);
  letter-spacing: 0.14em;
  font-size: 14px;
  color: rgba(43, 43, 43, 0.8);
}

.tracking__empty-text {
  margin: 0;
  color: rgba(43, 43, 43, 0.65);
  font-size: 16px;
}

.tracking__sample button {
  border: 0;
  background: rgba(147, 167, 177, 0.16);
  color: rgba(43, 43, 43, 0.85);
  border-radius: 999px;
  padding: 6px 10px;
  cursor: pointer;
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  font-size: 10px;
  transition: transform 160ms ease, background-color 160ms ease;
}

.tracking__sample button:hover,
.tracking__sample button:focus-visible {
  outline: none;
  transform: translateY(-1px);
  background: rgba(147, 167, 177, 0.24);
}

.tracking__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.tracking__eyebrow {
  margin: 0 0 6px;
  font-family: var(--font-display);
  letter-spacing: 0.18em;
  font-size: 10px;
  color: rgba(43, 43, 43, 0.62);
}

.tracking__client {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  font-size: 22px;
  color: rgba(43, 43, 43, 0.9);
}

.tracking__meta {
  margin: 4px 0 0;
  color: rgba(43, 43, 43, 0.64);
  font-size: 15px;
}

.tracking__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgb(147, 167, 177, 0.14);
  border: 1px solid rgb(147, 167, 177, 0.36);
  color: rgba(43, 43, 43, 0.78);
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  font-size: 11px;
  white-space: nowrap;
}

.tracking__progress {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.tracking__progress-bar {
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, var(--nav), #c9b7a1);
  border-radius: inherit;
  transition: width 240ms ease;
}

.tracking__progress-label {
  display: block;
  margin-top: 6px;
  text-align: right;
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  font-size: 10px;
  color: rgba(43, 43, 43, 0.62);
}

.tracking__summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(147, 167, 177, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.tracking__summary-label {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  font-size: 10px;
  color: rgba(43, 43, 43, 0.64);
}

.tracking__summary-value {
  margin: 6px 0 0;
  font-size: 18px;
  color: rgba(43, 43, 43, 0.82);
}

.tracking__legend {
  margin-top: 18px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(0, 0, 0, 0.06);
  max-width: 520px;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.06);
}

.tracking__legend-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  font-size: 11px;
  color: rgba(43, 43, 43, 0.7);
}

.tracking__legend-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.tracking__legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(147, 167, 177, 0.4);
}

.tracking__legend-dot--done {
  background: var(--nav);
  border-color: var(--nav);
}

.tracking__legend-dot--now {
  background: rgba(201, 183, 161, 0.9);
  border-color: rgba(201, 183, 161, 0.9);
}

.tracking__legend-dot--next {
  background: rgba(0, 0, 0, 0.06);
}

.tracking__legend-label {
  font-size: 14px;
  color: rgba(43, 43, 43, 0.7);
  margin-right: 12px;
}

.tracking__support {
  margin-top: 16px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(201, 183, 161, 0.12);
  border: 1px dashed rgba(201, 183, 161, 0.5);
  max-width: 620px;
  display: grid;
  gap: 6px;
}

.tracking__support-title {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  font-size: 12px;
  color: rgba(43, 43, 43, 0.78);
}

.tracking__support-text {
  margin: 0;
  color: rgba(43, 43, 43, 0.7);
  font-size: 16px;
}

.tracking__support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tracking__drive {
  margin-top: 16px;
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(147, 167, 177, 0.14), rgba(255, 255, 255, 0.9));
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.tracking__drive--inline {
  margin-top: 12px;
}

.tracking__drive--locked {
  background: rgba(0, 0, 0, 0.03);
  border-style: dashed;
}

.tracking__drive-kicker {
  margin: 0 0 6px;
  font-family: var(--font-display);
  letter-spacing: 0.14em;
  font-size: 10px;
  color: rgba(43, 43, 43, 0.62);
}

.tracking__drive-title {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  font-size: 18px;
  color: rgba(43, 43, 43, 0.9);
}

.tracking__drive-text {
  margin: 6px 0 0;
  color: rgba(43, 43, 43, 0.7);
  font-size: 16px;
  max-width: 520px;
}

.tracking__drive-link {
  background: var(--nav);
  color: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.tracking__drive-link--locked {
  background: rgba(0, 0, 0, 0.06);
  color: rgba(43, 43, 43, 0.55);
  border-color: rgba(0, 0, 0, 0.08);
  cursor: not-allowed;
}

@media (max-width: 720px) {
  .tracking__drive {
    flex-direction: column;
    align-items: flex-start;
  }
}

.gallery-page .site-nav {
  position: sticky;
  top: 0;
  background: rgba(147, 167, 177, 0.96);
  backdrop-filter: blur(12px);
}

.section--gallery-hero {
  background: linear-gradient(135deg, rgba(147, 167, 177, 0.16), rgba(255, 255, 255, 0.92));
  padding: 64px 0 42px;
}

.gallery-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.gallery-hero__copy {
  display: grid;
  gap: 8px;
}

.gallery-hero__kicker {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0.18em;
  font-size: 11px;
  color: rgba(43, 43, 43, 0.64);
}

.gallery-hero__title {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  font-weight: 600;
  font-size: clamp(36px, 5vw, 60px);
  color: rgba(43, 43, 43, 0.9);
}

.gallery-hero__lead {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(43, 43, 43, 0.72);
}

.gallery-hero__back {
  font-family: var(--font-display);
  letter-spacing: 0.14em;
  font-size: 11px;
  color: rgba(43, 43, 43, 0.7);
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.gallery-hero__back:hover,
.gallery-hero__back:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.08);
}

.section--gallery-grid {
  background: #fbfaf7;
  padding: 32px 0 72px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.gallery-grid__item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.1);
}

.gallery-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 260ms ease, filter 260ms ease;
}

.gallery-grid__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.06));
  opacity: 0;
  transition: opacity 200ms ease;
}

.gallery-grid__item:hover img,
.gallery-grid__item:focus-within img {
  transform: scale(1.04);
  filter: saturate(1.05);
}

.gallery-grid__item:hover::after,
.gallery-grid__item:focus-within::after {
  opacity: 1;
}

@media (max-width: 720px) {
  .gallery-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-hero__back {
    align-self: flex-start;
  }
}

.section--tracking-cta {
  background: linear-gradient(135deg, rgba(201, 183, 161, 0.15), rgba(255, 255, 255, 0.9));
}

.tracking-cta {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(18px, 4vw, 40px);
  align-items: stretch;
}

.tracking-cta__copy {
  display: grid;
  gap: 10px;
}

.tracking-cta__kicker {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0.18em;
  font-size: 11px;
  color: rgba(43, 43, 43, 0.62);
}

.tracking-cta__title {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  font-weight: 600;
  font-size: clamp(32px, 4vw, 48px);
  color: rgba(43, 43, 43, 0.9);
}

.tracking-cta__lead {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(43, 43, 43, 0.7);
}

.tracking-cta__card {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(147, 167, 177, 0.16), rgba(255, 255, 255, 0.96));
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: inherit;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.tracking-cta__card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.tracking-cta__eyebrow {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0.16em;
  font-size: 11px;
  color: rgba(43, 43, 43, 0.64);
}

.tracking-cta__card-title {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  font-size: 20px;
  color: rgba(43, 43, 43, 0.9);
}

.tracking-cta__hint {
  margin: 0;
  color: rgba(43, 43, 43, 0.65);
  font-size: 16px;
}

.tracking-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--nav);
  color: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-family: var(--font-display);
  letter-spacing: 0.16em;
  font-size: 12px;
  box-shadow: 0 16px 32px rgba(147, 167, 177, 0.32);
  width: fit-content;
}

.tracking-cta__card:hover,
.tracking-cta__card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.14);
  border-color: rgba(0, 0, 0, 0.12);
}

@media (max-width: 980px) {
  .tracking-cta {
    grid-template-columns: 1fr;
  }
}

.tracking__steps {
  display: grid;
  gap: 10px;
}

.tracking__step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 14px;
  background: rgba(147, 167, 177, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
  align-items: flex-start;
  border-left: 4px solid rgba(147, 167, 177, 0.4);
}

.tracking__step-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(147, 167, 177, 0.36);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: rgba(43, 43, 43, 0.78);
  background: rgba(255, 255, 255, 0.9);
}

.tracking__step.is-done .tracking__step-icon {
  background: var(--nav);
  border-color: var(--nav);
  color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 14px rgba(147, 167, 177, 0.32);
}

.tracking__step.is-active {
  background: rgba(201, 183, 161, 0.14);
  border-color: rgba(201, 183, 161, 0.42);
  box-shadow: 0 16px 32px rgba(201, 183, 161, 0.18);
  border-left-color: rgba(201, 183, 161, 0.8);
}

.tracking__step.is-active .tracking__step-icon {
  border-color: rgba(201, 183, 161, 0.9);
  color: rgba(43, 43, 43, 0.86);
  box-shadow: 0 0 0 4px rgba(201, 183, 161, 0.16);
}

.tracking__step-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 8px;
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  font-size: 10px;
  color: rgba(43, 43, 43, 0.78);
  background: rgba(0, 0, 0, 0.04);
}

.tracking__step-status--done {
  color: rgba(255, 255, 255, 0.94);
  background: var(--nav);
}

.tracking__step-status--now {
  color: rgba(43, 43, 43, 0.85);
  background: rgba(201, 183, 161, 0.9);
}

.tracking__step-status--next {
  color: rgba(43, 43, 43, 0.72);
}

.tracking__step-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 10px;
  align-items: center;
}

.tracking__step-title {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  font-size: 14px;
  color: rgba(43, 43, 43, 0.86);
}

.tracking__step-date {
  margin: 0;
  font-size: 14px;
  color: rgba(43, 43, 43, 0.6);
  white-space: nowrap;
}

.tracking__step-status {
  grid-row: 1 / span 2;
}

.tracking__step-note {
  margin: 6px 0 0;
  color: rgba(43, 43, 43, 0.68);
  font-size: 16px;
  line-height: 1.5;
}

.tracking__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 4px;
}

.tracking__next {
  margin: 0;
  color: rgba(43, 43, 43, 0.7);
  font-size: 16px;
  line-height: 1.55;
}

.tracking__notfound {
  margin: 0;
  color: rgba(43, 43, 43, 0.66);
  font-size: 16px;
}

.tracking__result--error {
  border-color: rgba(214, 146, 100, 0.4);
  background: rgba(214, 146, 100, 0.08);
}

@media (max-width: 980px) {
  .tracking {
    grid-template-columns: 1fr;
  }

  .tracking__panel {
    order: -1;
  }

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

@media (max-width: 720px) {
  .tracking__fields {
    grid-template-columns: 1fr;
  }

  .tracking__actions {
    flex-direction: column;
    align-items: stretch;
  }

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

  .tracking__footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .tracking__step-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

.section--paper {
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 20% 10%, rgba(0, 0, 0, 0.06) 0 1px, transparent 2px),
    radial-gradient(circle at 75% 35%, rgba(0, 0, 0, 0.05) 0 1px, transparent 2px),
    radial-gradient(circle at 35% 78%, rgba(0, 0, 0, 0.05) 0 1px, transparent 2px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0));
  background-size: 240px 240px, 220px 220px, 260px 260px, 100% 100%;
}

.paper {
  position: relative;
}

.paper__script {
  margin: 0 0 34px;
  font-family: var(--font-script);
  font-size: clamp(34px, 4.3vw, 58px);
  color: rgba(33, 33, 33, 0.72);
  line-height: 1.05;
}

.paper__script span {
  display: block;
}

.paper__script--indent {
  padding-left: 90px;
}

.paper__collage {
  position: relative;
  min-height: 560px;
}

.frame {
  position: absolute;
  background: var(--white);
  border-radius: 2px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

.frame--film {
  left: 10%;
  bottom: 20%;
  width: min(520px, 64%);
  height: 210px;
  padding: 16px;
  transform: rotate(-2deg);
}

.frame--film::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 8px;
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.16) 0 10px,
    transparent 10px 20px
  );
  opacity: 0.35;
}

.frame--bw {
  left: 44%;
  top: 8%;
  width: min(380px, 48%);
  height: 460px;
  padding: 16px;
  transform: rotate(2deg);
  z-index: 2;
}

.frame--bw img {
  filter: grayscale(1) contrast(1.05);
}

.frame--polaroid {
  padding: 14px 14px 28px;
  box-shadow: var(--shadow);
}

.frame--top-right {
  right: 8%;
  top: 12%;
  width: 230px;
  height: 220px;
  transform: rotate(-3deg);
  z-index: 3;
}

.frame--strip {
  right: 3%;
  bottom: 10%;
  width: 240px;
  height: 380px;
  padding: 10px;
  background: #1d1d1d;
  transform: rotate(-10deg);
  z-index: 1;
}

.frame--strip img {
  border-radius: 2px;
  filter: grayscale(1) contrast(1.08);
  mix-blend-mode: screen;
  opacity: 0.92;
}

.paper__tagline {
  margin: 28px 0 0;
  text-align: right;
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  color: rgba(33, 33, 33, 0.7);
}

.paper__tagline-plain {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.12em;
  text-transform: lowercase;
}

.paper__tagline-script {
  font-family: var(--font-script);
  font-size: 42px;
  line-height: 1;
}

.section--contact {
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 18% 22%, rgba(147, 167, 177, 0.12) 0 1px, transparent 2px),
    radial-gradient(circle at 82% 46%, rgba(214, 146, 100, 0.1) 0 1px, transparent 2px),
    radial-gradient(circle at 40% 86%, rgba(0, 0, 0, 0.05) 0 1px, transparent 2px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0));
  background-size: 260px 260px, 240px 240px, 280px 280px, 100% 100%;
}

.contact {
  position: relative;
  isolation: isolate;
}

.section--contact .doodle {
  z-index: 0;
  opacity: 0.12;
  filter: invert(1) saturate(0) brightness(0.3);
}

.doodle--contact-a {
  left: auto;
  bottom: auto;
  right: -46px;
  top: 12px;
  transform: rotate(10deg);
}

.doodle--contact-b {
  right: auto;
  top: auto;
  left: -70px;
  bottom: -58px;
  width: 340px;
  height: 260px;
  opacity: 0.1;
  transform: rotate(-14deg) scaleX(-1);
}

.contact__header,
.contact__grid {
  position: relative;
  z-index: 1;
}

.contact__header {
  text-align: center;
  max-width: 860px;
  margin-inline: auto;
}

.contact__kicker {
  margin: 0 0 12px;
  font-family: var(--font-display);
  letter-spacing: 0.22em;
  font-size: 11px;
  color: rgba(43, 43, 43, 0.62);
}

.contact__title {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0.14em;
  font-weight: 600;
  color: rgba(43, 43, 43, 0.88);
  font-size: clamp(38px, 4.4vw, 60px);
}

.contact__lead {
  margin: 14px auto 0;
  max-width: 720px;
  font-size: 20px;
  line-height: 1.65;
  color: rgba(43, 43, 43, 0.72);
}

.contact__grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
}

.contact__details {
  display: grid;
  gap: clamp(14px, 2vw, 18px);
}

.contact__details .contact-card {
  --accent-rgb: 201 183 161;
}

.contact__details .contact-card:nth-child(2) {
  --accent-rgb: 147 167 177;
}

.form-card {
  --accent-rgb: 147 167 177;
}

.contact-card,
.form-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 22px 20px 18px;
  background:
    linear-gradient(90deg, transparent 0%, rgb(var(--accent-rgb) / 0.36) 50%, transparent 100%) 0 0 / 100% 2px
      no-repeat,
    rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.contact-card::before,
.form-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 12%, rgb(var(--accent-rgb) / 0.22), transparent 54%),
    radial-gradient(circle at 86% 92%, rgb(var(--accent-rgb) / 0.14), transparent 60%);
  opacity: 0.9;
  pointer-events: none;
  z-index: 0;
}

.contact-card::after,
.form-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.7) 48%, transparent 72%);
  transform: translateX(-140%);
  opacity: 0;
  transition: transform 900ms ease, opacity 220ms ease;
  pointer-events: none;
  z-index: 0;
}

.contact-card > *,
.form-card > * {
  position: relative;
  z-index: 1;
}

.contact-card__title {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0.18em;
  font-size: 12px;
  text-transform: uppercase;
  color: rgba(43, 43, 43, 0.82);
}

.contact-card__text {
  margin: 10px 0 0;
  color: rgba(43, 43, 43, 0.7);
  line-height: 1.55;
  font-size: 18px;
}

.contact-card__actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgb(var(--accent-rgb) / 0.14);
  border: 1px solid rgb(var(--accent-rgb) / 0.32);
  color: rgba(43, 43, 43, 0.82);
  font-family: var(--font-display);
  letter-spacing: 0.16em;
  font-size: 10px;
  text-transform: uppercase;
  transition: transform 200ms ease, filter 200ms ease, background-color 200ms ease, border-color 200ms ease;
  white-space: nowrap;
}

.chip:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgb(var(--accent-rgb) / 0.18);
}

.contact-card__list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  color: rgba(43, 43, 43, 0.7);
  font-size: 16px;
}

.contact-card__list li {
  position: relative;
  padding-left: 14px;
}

.contact-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgb(var(--accent-rgb) / 0.85);
  transform: translateY(-50%);
}

.contact-card__list--checks li {
  padding-left: 22px;
}

.contact-card__list--checks li::before {
  content: "\2713";
  width: 16px;
  height: 16px;
  top: 0.25em;
  background: none;
  color: rgb(var(--accent-rgb) / 0.9);
  font-size: 12px;
  transform: none;
}

.contact-card__list a {
  text-decoration: underline;
  text-decoration-color: rgb(var(--accent-rgb) / 0.3);
  text-underline-offset: 4px;
}

.contact-card__list a:hover,
.contact-card__list a:focus-visible {
  text-decoration-color: rgb(var(--accent-rgb) / 0.6);
}

.contact-card__small {
  margin: 14px 0 0;
  color: rgba(43, 43, 43, 0.62);
  line-height: 1.55;
  font-size: 16px;
}

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

.field {
  display: grid;
  gap: 8px;
}

.field--full {
  grid-column: 1 / -1;
}

.field__label {
  font-family: var(--font-display);
  letter-spacing: 0.18em;
  font-size: 10px;
  text-transform: uppercase;
  color: rgba(43, 43, 43, 0.64);
}

.field input,
.field textarea {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.88);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 18px;
  color: rgba(43, 43, 43, 0.86);
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.field textarea {
  resize: vertical;
  min-height: 140px;
}

.field input:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: rgb(var(--accent-rgb) / 0.48);
  box-shadow: 0 0 0 4px rgb(var(--accent-rgb) / 0.16);
  background: rgba(255, 255, 255, 0.96);
}

.form-actions {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.form-button {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--nav);
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-family: var(--font-display);
  letter-spacing: 0.16em;
  font-size: 12px;
  cursor: pointer;
  box-shadow: 0 16px 32px rgba(147, 167, 177, 0.35);
  transition: transform 200ms ease, filter 200ms ease;
  white-space: nowrap;
}

.form-button:hover,
.form-button:focus-visible {
  filter: brightness(1.03) saturate(1.05);
  transform: translateY(-1px);
}

.form-alt {
  font-family: var(--font-display);
  letter-spacing: 0.16em;
  font-size: 11px;
  color: rgba(43, 43, 43, 0.72);
  text-decoration: underline;
  text-decoration-color: rgba(43, 43, 43, 0.28);
  text-underline-offset: 4px;
  white-space: nowrap;
}

.form-alt:hover,
.form-alt:focus-visible {
  text-decoration-color: rgba(43, 43, 43, 0.55);
}

.form-hint {
  margin: 14px 0 0;
  color: rgba(43, 43, 43, 0.62);
  line-height: 1.55;
  font-size: 16px;
}

.js .contact__grid > * {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 700ms ease,
    transform 900ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.js .contact.is-inview .contact__grid > * {
  opacity: 1;
  transform: translateY(0);
}

.js .contact.is-inview .contact__grid > *:nth-child(1) {
  transition-delay: 0ms;
}

.js .contact.is-inview .contact__grid > *:nth-child(2) {
  transition-delay: 90ms;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .chip:hover {
    transform: translateY(-1px);
    filter: brightness(1.03) saturate(1.05);
    background: rgb(var(--accent-rgb) / 0.18);
    border-color: rgb(var(--accent-rgb) / 0.42);
  }

  .contact-card:hover::after,
  .form-card:hover::after {
    opacity: 0.26;
    transform: translateX(140%);
  }
}

.section--bottom {
  background: var(--sand);
  padding: 64px 0 46px;
}

.bottom__top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 32px;
  color: rgba(255, 255, 255, 0.82);
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.bottom__mission {
  margin: 0;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.16em;
  line-height: 1.6;
}

.bottom__logo {
  text-align: center;
  padding-inline: 12px;
}

.bottom__logo-title {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  font-weight: 600;
  font-size: 28px;
}

.bottom__logo-sub {
  margin: 2px 0 0;
  font-family: var(--font-script);
  font-size: 28px;
  color: rgba(255, 255, 255, 0.75);
}

.bottom__nav {
  list-style: none;
  margin: 0;
  padding: 0;
  justify-self: end;
  display: grid;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.18em;
}

.bottom__nav a {
  opacity: 0.8;
}

.bottom__nav a:hover,
.bottom__nav a:focus-visible {
  opacity: 1;
}

.bottom__photos {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.bottom__photos img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center top;
  border: 8px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.bottom__fineprint {
  margin-top: 18px;
  text-align: center;
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--font-display);
  letter-spacing: 0.14em;
  font-size: 10px;
}

.bottom__fineprint p {
  margin: 0;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__left {
    min-height: 520px;
  }

  .hero__right {
    min-height: 420px;
  }

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

  .bookme__collage {
    height: clamp(420px, 84vw, 560px);
    max-width: 720px;
    margin-inline: auto;
  }

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

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

  .packages__grid .package-card--featured {
    transform: none;
  }

  .packages__grid .package-card:last-child {
    grid-column: 1 / -1;
    max-width: 560px;
    justify-self: center;
  }

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

  .contact__details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .bottom__top {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .bottom__nav {
    justify-self: center;
    grid-auto-flow: column;
    grid-template-columns: repeat(3, auto);
    gap: 14px 22px;
  }

  .bottom__photos {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  html,
  body {
    overflow-x: hidden;
  }

  .site-nav {
    position: sticky;
    top: 0;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .site-nav__list {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 0 18px 18px;
  }

  body.nav-open .site-nav__list {
    display: flex;
  }

  .services__grid {
    grid-template-columns: 1fr;
    /* Ensure visibility even if JS animations don't trigger on some mobile browsers */
    opacity: 1;
  }

  .services__grid .service-card {
    opacity: 1 !important;
    transform: none !important;
  }

  .section--services .doodle {
    display: none;
  }

  .services__lead {
    font-size: 18px;
  }

  .services__footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .services__note-script {
    font-size: 32px;
  }

  .services__button {
    width: 100%;
  }

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

  .section--packages .doodle {
    display: none;
  }

  .packages__lead {
    font-size: 18px;
  }

  .package-card--featured {
    transform: none;
  }

  .packages__footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .packages__note-script {
    font-size: 32px;
  }

  .packages__button {
    width: 100%;
  }

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

  .section--contact .doodle {
    display: none;
  }

  .contact__lead {
    font-size: 18px;
  }

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

  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .form-button {
    width: 100%;
  }

  .form-alt {
    align-self: center;
  }

  .bottom__photos {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 14px;
    padding: 0 18px 10px;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 18px;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }

  .bottom__photos img {
    flex: 0 0 min(72vw, 260px);
    max-width: min(72vw, 260px);
    scroll-snap-align: start;
    border-width: 6px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.16);
  }

  .bottom__top {
    gap: 22px;
    padding-bottom: 22px;
  }

  .bottom__mission {
    max-width: 44ch;
    margin-inline: auto;
    letter-spacing: 0.12em;
  }

  .bottom__logo-title {
    font-size: 24px;
  }

  .bottom__logo-sub {
    font-size: 24px;
    margin-top: 0;
  }

  .bottom__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    justify-self: center;
    max-width: 420px;
    margin-inline: auto;
    gap: 10px 18px;
  }

  .bottom__nav a {
    white-space: nowrap;
    letter-spacing: 0.14em;
    padding: 4px 2px;
  }

  .bookme__collage {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    height: auto;
    padding: 14px;
  }

  .polaroid--bookme-center {
    grid-column: 1 / -1;
    grid-row: 1;
    min-height: clamp(260px, 66vw, 340px);
  }

  .polaroid--bookme-top {
    grid-column: 1;
    grid-row: 2;
    min-height: clamp(160px, 40vw, 220px);
  }

  .polaroid--bookme-right {
    grid-column: 2;
    grid-row: 2;
    min-height: clamp(160px, 40vw, 220px);
  }

  .sparkles {
    right: 12px;
    bottom: 12px;
    opacity: 0.55;
  }

  .paper__script--indent {
    padding-left: 24px;
  }

  .paper__collage {
    min-height: 640px;
  }

  .frame--bw {
    left: 50%;
    transform: translateX(-50%) rotate(1deg);
    width: min(380px, 92%);
  }

  .frame--film {
    left: 50%;
    transform: translateX(-50%) rotate(-1deg);
    width: min(520px, 96%);
  }

  .frame--top-right {
    right: 8%;
    top: 2%;
    width: 200px;
    height: 190px;
  }

.frame--strip {
  right: 2%;
  width: 210px;
}
}

.ai-agent {
  --ai-accent: 147 167 177;
  position: relative;
  z-index: 140;
  display: grid;
  justify-items: center;
  gap: 8px;
  font-family: var(--font-display);
}

.ai-agent__toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  gap: 0;
  padding: 0;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(147, 167, 177, 0.18));
  color: rgba(43, 43, 43, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow:
    0 16px 30px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    border-color 200ms ease,
    background-color 200ms ease;
  z-index: 90;
  -webkit-user-select: none;
  user-select: none;
}

.ai-agent__toggle::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 18px;
  border: 1px solid rgb(var(--ai-accent) / 0.28);
  opacity: 0.9;
  animation: ai-pulse 2.8s ease-in-out infinite;
  pointer-events: none;
}

.ai-agent__toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgb(var(--ai-accent) / 0.2), 0 18px 34px rgba(0, 0, 0, 0.18);
}

.ai-agent__toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 26px 52px rgba(0, 0, 0, 0.2);
  border-color: rgb(var(--ai-accent) / 0.35);
}

.ai-agent__bubble {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgb(var(--ai-accent) / 0.95);
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.95), rgba(147, 167, 177, 0.2));
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 10px 18px rgba(0, 0, 0, 0.12);
}

.ai-agent__bubble svg {
  width: 22px;
  height: 22px;
}

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

.ai-agent__panel {
  position: absolute;
  right: calc(100% + 14px);
  bottom: 0;
  left: auto;
  width: min(640px, calc(100vw - 40px));
  max-height: min(92vh, calc(100vh - 12px), 920px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(243, 239, 231, 0.9)),
    rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-left: 3px solid var(--nav);
  border-radius: 18px;
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.18),
    0 8px 18px rgba(0, 0, 0, 0.12);
  padding: 18px;
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  gap: 12px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px) scale(0.98);
  transition:
    opacity 180ms ease,
    transform 200ms ease,
    visibility 0ms linear 200ms;
}

.ai-agent.is-open .ai-agent__toggle {
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.2);
  border-color: rgb(var(--ai-accent) / 0.32);
}

.ai-agent.is-open .ai-agent__panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  transition:
    opacity 180ms ease,
    transform 200ms ease,
    visibility 0ms linear 0ms;
}

.ai-agent.is-open .ai-agent__toggle::after {
  animation: none;
  opacity: 0;
}

.ai-agent__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.ai-agent__eyebrow {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: rgba(43, 43, 43, 0.6);
}

.ai-agent__title {
  margin: 2px 0 2px;
  font-size: 18px;
  letter-spacing: 0.08em;
  color: rgba(43, 43, 43, 0.9);
}

.ai-agent__status {
  margin: 2px 0 0;
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(43, 43, 43, 0.72);
}

.ai-agent__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ai-agent__badges span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgb(var(--ai-accent) / 0.12);
  border: 1px solid rgb(var(--ai-accent) / 0.16);
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  font-size: 10px;
  color: rgba(43, 43, 43, 0.75);
}

.ai-agent__messages {
  overflow: auto;
  padding: 8px 4px 4px;
  display: grid;
  gap: 10px;
  min-height: 260px;
  max-height: 60vh;
}

.ai-agent__message {
  position: relative;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(147, 167, 177, 0.18);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.08);
  font-family: var(--font-body);
  font-size: 16px;
  color: rgba(43, 43, 43, 0.82);
  line-height: 1.5;
}

.ai-agent__message ul {
  margin: 6px 0 0;
  padding-left: 18px;
}

.ai-agent__message--user {
  margin-left: 18%;
  background: linear-gradient(135deg, rgba(147, 167, 177, 0.18), rgba(147, 167, 177, 0.08));
  border-color: rgb(var(--ai-accent) / 0.3);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.ai-agent__message--agent {
  margin-right: 12%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(201, 183, 161, 0.16));
}

.ai-agent__message a {
  color: rgba(43, 43, 43, 0.9);
  text-decoration: underline;
  text-decoration-color: rgb(var(--ai-accent) / 0.35);
  text-underline-offset: 3px;
}

.ai-agent__suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ai-agent__suggestions button {
  border: 1px solid rgb(var(--ai-accent) / 0.2);
  background: rgb(var(--ai-accent) / 0.1);
  color: rgba(43, 43, 43, 0.82);
  border-radius: 12px;
  padding: 8px 10px;
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  font-size: 10px;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.ai-agent__suggestions button:hover,
.ai-agent__suggestions button:focus-visible {
  outline: none;
  transform: translateY(-1px);
  background: rgb(var(--ai-accent) / 0.16);
  border-color: rgb(var(--ai-accent) / 0.32);
}

.ai-agent__form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.ai-agent__form input {
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 10px 12px;
  font-family: var(--font-body);
  font-size: 16px;
  background: rgba(255, 255, 255, 0.94);
  color: rgba(43, 43, 43, 0.86);
}

.ai-agent__form input:focus-visible {
  outline: none;
  border-color: rgb(var(--ai-accent) / 0.42);
  box-shadow: 0 0 0 3px rgb(var(--ai-accent) / 0.16);
}

.ai-agent__form button {
  border: 1px solid rgb(var(--ai-accent) / 0.32);
  background: var(--nav);
  color: rgba(255, 255, 255, 0.94);
  border-radius: 12px;
  padding: 10px 14px;
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  font-size: 11px;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(147, 167, 177, 0.34);
  transition: transform 180ms ease, filter 180ms ease;
}

.ai-agent__form button:hover,
.ai-agent__form button:focus-visible {
  outline: none;
  filter: brightness(1.03) saturate(1.05);
  transform: translateY(-1px);
}

.ai-agent__hint {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(43, 43, 43, 0.7);
}

.ai-agent__hint a {
  text-decoration: underline;
  text-decoration-color: rgb(var(--ai-accent) / 0.35);
  text-underline-offset: 3px;
}

@media (max-width: 980px) {
  .ai-agent {
    position: relative;
  }

  .ai-agent__panel {
    position: absolute;
    right: 0;
    left: auto;
    bottom: calc(100% + 12px);
    width: min(98vw, 540px);
    max-height: min(90vh, calc(100vh - 60px));
  }

  .ai-agent__toggle {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 720px) {
  .quick-actions {
    top: auto;
    bottom: calc(14px + env(safe-area-inset-bottom));
    transform: none;
  }

  .ai-agent__panel {
    right: 0;
    left: auto;
    bottom: calc(100% + 12px);
    width: min(92vw, 400px);
    max-height: min(68vh, calc(100vh - 110px));
  }

  .ai-agent__toggle {
    width: 48px;
    height: 48px;
  }
}

@media (min-width: 981px) {
  .quick-actions {
    top: 50%;
    right: calc(14px + env(safe-area-inset-right));
    transform: translateY(-50%);
  }

  .ai-agent {
    position: static;
  }

  .ai-agent__panel {
    position: fixed;
    right: calc(72px + env(safe-area-inset-right));
    left: auto;
    top: 50%;
    bottom: auto;
    width: min(640px, 60vw);
    max-height: min(92vh, 960px);
    transform: translateY(-50%) translateY(8px) scale(0.98);
  }

  .ai-agent.is-open .ai-agent__panel {
    transform: translateY(-50%) scale(1);
  }
}

@keyframes ai-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.04);
    opacity: 0.6;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .ai-agent__toggle::after {
    animation: none !important;
  }
}
.ai-agent__panel[hidden] {
  display: none !important;
}
