/* ==========================================================================
   Crossroads Beauty Palace
   Palette from the salon and logo: aqua script, pastel pink caps, deep teal.
   ========================================================================== */

:root {
  --ink: #0b2b3c;
  --ink-2: #061a26;
  --paper: #f7f6f4;
  --white: #ffffff;

  --aqua: #97e0dd;
  --aqua-deep: #0e5f5c;

  --pink: #f4a0ab;
  --pink-brand: #fdccd2;
  --pink-deep: #d9808f;

  --muted: #526975;
  --muted-2: #869aa4;
  --line: #e0e2e0;
  --line-dark: rgba(255, 255, 255, 0.14);

  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, sans-serif;

  --shell: 1240px;
  --gutter: clamp(20px, 5vw, 60px);
  --nav-h: 72px;
  --safe-top: env(safe-area-inset-top, 0px);

  --ease: cubic-bezier(0.22, 0.68, 0.24, 1);
}

/* ---------- base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + var(--safe-top) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.62;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* Soft film grain + brand washes so flat paper areas don’t feel empty.
   Disabled on small screens — SVG noise is expensive on mobile GPUs / PSI. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@media (max-width: 900px) {
  body::before {
    display: none;
  }
}

::selection {
  background: var(--aqua);
  color: var(--ink);
}

/* height:auto is load-bearing: the width/height attributes on the <img> tags
   are presentational hints that otherwise beat any CSS aspect-ratio. */
img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

p {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.022em;
  color: var(--ink);
}

blockquote,
figure {
  margin: 0;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--aqua-deep);
  outline-offset: 3px;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- sections ---------- */

.sec {
  position: relative;
  padding: clamp(64px, 9vw, 120px) 0;
}

.sec--tight {
  padding: clamp(48px, 7vw, 88px) 0;
}

.sec--loose {
  padding: clamp(80px, 12vw, 160px) 0;
}

.sec--paper {
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 0% 0%, rgba(244, 160, 171, 0.16), transparent 55%),
    radial-gradient(ellipse 55% 50% at 100% 100%, rgba(151, 224, 221, 0.22), transparent 50%),
    var(--paper);
}

.sec--stripe-top {
  overflow: hidden;
  padding-top: clamp(72px, 10vw, 128px);
}

.sec--stripe-top.sec--tight {
  padding-top: clamp(56px, 8vw, 96px);
}

.sec--stripe-top.sec--loose {
  padding-top: clamp(88px, 12vw, 168px);
}

/* Line-art flourishes — faint, one per section, never competing with content. */
.atmos {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.sec > .shell {
  position: relative;
  z-index: 1;
}

.atmos__art {
  position: absolute;
  display: block;
  width: auto;
  height: auto;
  max-width: none;
  user-select: none;
  opacity: 0.12;
}

.atmos__art--face {
  width: min(44vw, 400px);
  top: 4%;
  right: -3%;
  opacity: 0.14;
  transform: scaleX(-1);
}

.atmos__art--hibiscus {
  width: min(50vw, 440px);
  top: -6%;
  right: -7%;
  opacity: 0.1;
  transform: rotate(10deg);
}

.atmos__art--rose {
  width: min(42vw, 380px);
  bottom: -8%;
  left: -6%;
  opacity: 0.11;
  transform: rotate(-6deg);
}

@media (max-width: 720px) {
  .atmos__art--face {
    width: min(56vw, 230px);
    top: auto;
    bottom: 2%;
    right: -12%;
    opacity: 0.09;
  }

  .atmos__art--hibiscus {
    width: min(64vw, 250px);
    opacity: 0.08;
  }

  .atmos__art--rose {
    width: min(58vw, 220px);
    opacity: 0.08;
  }
}

.sec--ink {
  background:
    radial-gradient(ellipse 60% 45% at 100% 0%, rgba(151, 224, 221, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(244, 160, 171, 0.1), transparent 50%),
    var(--ink);
  color: rgba(255, 255, 255, 0.74);
}

.sec--ink h1,
.sec--ink h2,
.sec--ink h3 {
  color: var(--white);
}

/* Marching dashes — pink/white or aqua/white, alternating by section. */
.stripe-run {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 8px;
  z-index: 6;
  pointer-events: none;
  background-image: repeating-linear-gradient(-45deg,
      #f4a0ab 0 10px,
      #ffffff 10px 20px);
  animation: stripeSlide 100s linear infinite;
  will-change: transform;
}

.stripe-run--aqua {
  background-image: repeating-linear-gradient(-45deg,
      #97e0dd 0 10px,
      #ffffff 10px 20px);
}

.stripe-run--on-aqua {
  height: 9px;
}

.stripe-run--footer {
  background-image: repeating-linear-gradient(-45deg,
      #97e0dd 0 10px,
      #f4a0ab 10px 20px);
}

@keyframes stripeSlide {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Disable old ::before seams so we don't double up */
.sec--stripe-top::before,
.cta::before,
.footer::before {
  content: none !important;
  animation: none !important;
}

.sec__title {
  font-size: clamp(2.15rem, 4.6vw, 3.7rem);
  max-width: 18ch;
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 52ch;
}

.sec--ink .lead {
  color: rgba(255, 255, 255, 0.68);
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--aqua-deep);
}

.label::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: none;
  background: var(--pink);
  border-radius: 1px;
}

.sec--ink .label {
  border: 0;
  background: none;
  color: var(--aqua);
}

.sec--ink .label::before {
  background: var(--pink);
}

.cta .label {
  border: 0;
  background: none;
  color: var(--ink);
}

.cta .label::before {
  background: var(--pink);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 15px 26px;
  border: 1px solid transparent;
  border-radius: 2px;
  background: none;
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.28s var(--ease), color 0.28s var(--ease),
    border-color 0.28s var(--ease), transform 0.28s var(--ease),
    box-shadow 0.28s var(--ease);
}

.btn svg {
  width: 15px;
  height: 15px;
  flex: none;
  transition: transform 0.32s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:hover svg {
  transform: translateX(5px);
}

.btn:active {
  transform: translateY(0);
}

.btn--pink {
  background: var(--pink);
  color: var(--ink-2);
}

.btn--pink:hover {
  background: var(--pink-brand);
  box-shadow: 0 10px 28px rgba(217, 128, 143, 0.28);
}

.btn--ink {
  background: var(--ink);
  color: var(--white);
}

.btn--ink:hover {
  background: var(--aqua-deep);
  box-shadow: 0 10px 28px rgba(6, 26, 38, 0.22);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.btn--ghost:hover {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
  box-shadow: 0 10px 28px rgba(6, 26, 38, 0.18);
}

/* ---------- nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  padding: calc(12px + var(--safe-top)) 0 12px;
  color: var(--white);
  background: transparent;
  border-bottom: 1px solid transparent;
  transform: translate3d(0, 0, 0);
  transition:
    padding 0.4s var(--ease),
    background-color 0.4s var(--ease),
    border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease),
    transform 0.45s var(--ease),
    color 0.4s var(--ease);
}

.nav__in {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
  transition: gap 0.4s var(--ease);
}

.nav.is-stuck {
  padding: calc(8px + var(--safe-top)) 0 8px;
  background: rgba(6, 26, 38, 0.55);
  backdrop-filter: blur(22px) saturate(1.55);
  -webkit-backdrop-filter: blur(22px) saturate(1.55);
  border-bottom-color: rgba(151, 224, 221, 0.22);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 12px 40px rgba(6, 26, 38, 0.28);
}

.nav.is-stuck .nav__in {
  gap: 14px;
}

.mark {
  display: flex;
  align-items: center;
  line-height: 0;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}

.mark:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.mark__img {
  display: block;
  width: clamp(112px, 12vw, 138px);
  transition: width 0.4s var(--ease), opacity 0.4s var(--ease);
}

.nav.is-stuck .mark__img {
  width: clamp(92px, 10vw, 112px);
}

.nav__drawer {
  display: contents;
}

.nav__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.2vw, 32px);
  transition: gap 0.4s var(--ease);
}

.nav.is-stuck .nav__links {
  gap: clamp(14px, 1.8vw, 26px);
}

.nav__links a {
  position: relative;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 6px 0;
  opacity: 0.8;
  transition: opacity 0.24s var(--ease), color 0.24s var(--ease);
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--aqua);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}

.nav__links a:hover,
.nav__links a.is-active {
  opacity: 1;
  color: var(--aqua);
}

.nav__links a:hover::after,
.nav__links a.is-active::after {
  transform: scaleX(1);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-self: end;
  transition: gap 0.4s var(--ease);
}

.nav.is-stuck .nav__actions {
  gap: 10px;
}

.nav__phone {
  font-size: 0.78rem;
  font-weight: 500;
  opacity: 0.84;
  max-width: 12rem;
  transition:
    opacity 0.3s var(--ease),
    color 0.24s var(--ease),
    max-width 0.4s var(--ease),
    margin 0.4s var(--ease),
    transform 0.4s var(--ease);
}

.nav__phone:hover {
  opacity: 1;
  color: var(--aqua);
}

.nav.is-stuck .nav__phone {
  opacity: 0;
  max-width: 0;
  margin: 0;
  overflow: hidden;
  white-space: nowrap;
  pointer-events: none;
  transform: translateX(8px);
}

.btn--book {
  padding: 9px 16px;
  background: var(--pink);
  color: var(--ink-2);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background-color 0.28s var(--ease), transform 0.28s var(--ease),
    box-shadow 0.28s var(--ease), padding 0.4s var(--ease);
}

.nav.is-stuck .btn--book {
  padding: 8px 14px;
}

.btn--book:hover {
  background: var(--pink-brand);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(217, 128, 143, 0.3);
}

.nav__burger {
  display: none;
  justify-self: end;
  width: 42px;
  height: 42px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  background: rgba(6, 26, 38, 0.28);
  color: var(--white);
  cursor: pointer;
  padding: 0;
  place-items: center;
  position: relative;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: none;
  transition:
    background-color 0.28s var(--ease),
    border-color 0.28s var(--ease),
    color 0.28s var(--ease),
    width 0.35s var(--ease),
    height 0.35s var(--ease);
}

.nav.is-stuck .nav__burger {
  width: 40px;
  height: 40px;
  background: rgba(11, 43, 60, 0.06);
  border-color: rgba(11, 43, 60, 0.18);
  color: var(--ink);
}

.nav__burger span,
.nav__burger span::before,
.nav__burger span::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease);
  position: relative;
}

.nav__burger span::before,
.nav__burger span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav__burger span::before {
  transform: translateY(-5px);
}

.nav__burger span::after {
  transform: translateY(5px);
}

.nav.is-open .nav__burger span {
  background: transparent;
}

.nav.is-open .nav__burger span::before {
  transform: rotate(45deg);
}

.nav.is-open .nav__burger span::after {
  transform: rotate(-45deg);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: min(100svh, 940px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
}

@media (min-width: 901px) {
  .hero__media img {
    transform: scale(1.04);
  }
}

@media (prefers-reduced-motion: no-preference) and (min-width: 901px) {
  .hero.is-live .hero__media img {
    transform: scale(1.06);
    animation: heroDrift 22s var(--ease) infinite alternate;
  }
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(6, 26, 38, 0.58) 0%,
      rgba(6, 26, 38, 0.16) 36%,
      rgba(6, 26, 38, 0.78) 100%),
    radial-gradient(ellipse 55% 45% at 18% 72%,
      rgba(151, 224, 221, 0.22),
      transparent 70%),
    radial-gradient(ellipse 40% 35% at 88% 28%,
      rgba(244, 160, 171, 0.18),
      transparent 70%);
}

.hero__body {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(140px, 22vh, 250px) var(--gutter) clamp(48px, 7vw, 80px);
}

.hero__title {
  color: var(--white);
  font-size: clamp(2.9rem, 7.8vw, 6.6rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  max-width: 14ch;
  font-weight: 400;
  /* Keep system/Georgia on the hero so late font loads can't shift LCP text (CLS). */
  font-family: Georgia, "Times New Roman", Times, serif;
}

.hero__lede {
  margin: 12px 0 0;
  max-width: 36ch;
  color: rgba(255, 248, 242, 0.84);
  font-size: clamp(0.98rem, 1.7vw, 1.12rem);
  line-height: 1.45;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.hero__actions .btn {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.hero__title em {
  font-style: italic;
  color: var(--aqua);
  text-shadow: 0 0 40px rgba(151, 224, 221, 0.25);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(26px, 3.6vw, 40px);
}

@media (prefers-reduced-motion: no-preference) and (min-width: 901px) {
  .hero__title {
    animation: riseIn 0.9s var(--ease) both;
  }

  .hero__lede {
    animation: riseIn 0.9s var(--ease) 0.08s both;
  }

  .hero__actions {
    animation: riseIn 0.9s var(--ease) 0.14s both;
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.06) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.12) translate3d(-1.2%, -0.8%, 0);
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- services board ---------- */

.svc__head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(20px, 4vw, 60px);
  align-items: end;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.svc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: clamp(28px, 4vw, 40px);
  border-bottom: 1px solid var(--line);
}

.svc-tabs__btn {
  flex: 0 0 auto;
  padding: 12px 2px 14px;
  margin-right: clamp(18px, 3vw, 28px);
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.24s var(--ease), border-color 0.24s var(--ease);
}

.svc-tabs__btn:hover {
  color: var(--aqua-deep);
  border-bottom-color: var(--aqua);
}

.svc-tabs__btn.is-on {
  background: transparent;
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.svc-tabs__btn.is-on:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.board {
  position: relative;
  padding: clamp(22px, 3vw, 32px);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(11, 43, 60, 0.06);
  border-radius: 2px;
  box-shadow: 0 18px 50px rgba(6, 26, 38, 0.05);
}

.board__panel {
  display: none;
}

.board__panel.is-on {
  display: block;
}

.board__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 64px);
}

.board__cols--one {
  grid-template-columns: minmax(0, 1fr);
  max-width: 560px;
}

.board__block h3 {
  margin: 0 0 4px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid var(--ink);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
}

.row {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.24s var(--ease), padding-left 0.28s var(--ease);
}

.row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 1.5px;
  background: var(--aqua);
  transform: translateY(-50%);
  transition: width 0.28s var(--ease);
}

.row:hover {
  color: var(--aqua-deep);
  padding-left: 14px;
}

.row:hover::before {
  width: 8px;
}

.row:hover .row__price {
  color: var(--aqua-deep);
}

.row:hover .row__name em {
  color: var(--aqua-deep);
  opacity: 0.7;
}

.row__name {
  font-size: 0.98rem;
  font-weight: 400;
  color: inherit;
}

.row__name em {
  font-style: normal;
  font-weight: 400;
  color: var(--muted-2);
}

.row__price {
  flex: none;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}

.fine {
  margin-top: clamp(28px, 4vw, 40px);
  padding-top: clamp(18px, 2.4vw, 24px);
  border-top: 1px solid var(--line);
}

.fine h3 {
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  margin: 0 0 12px;
}

.fine ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px clamp(24px, 4vw, 48px);
}

.fine li {
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--muted);
}

/* ---------- about ---------- */

.about__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: start;
}

.about__body {
  max-width: 36rem;
}

.about__body .sec__title {
  max-width: none;
}

.about__body p+p {
  margin-top: 16px;
}

.about__body p {
  color: var(--muted);
}

.quote {
  margin: 0;
  padding: 2px 0 0 16px;
  border: 0;
  border-left: 3px solid var(--pink);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.45rem, 2.8vw, 2.15rem);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 24ch;
}

.quote cite {
  display: block;
  margin-top: 14px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}

/* Three-up photo band on a shared baseline: the two landscape frames get the
   wider columns, the portrait gets the narrow one. */
.band {
  display: grid;
  grid-template-columns: 1.35fr 1.35fr 1fr;
  gap: clamp(10px, 1.4vw, 16px);
  margin-top: clamp(40px, 6vw, 78px);
}

.band figure {
  margin: 0;
  overflow: hidden;
}

.band figure img {
  width: 100%;
  height: clamp(240px, 30vw, 400px);
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 16px 40px rgba(6, 26, 38, 0.1);
  transition: transform 0.9s var(--ease), filter 0.45s var(--ease);
}

.band figure:hover img {
  transform: scale(1.05);
  filter: saturate(1.05);
}

.band figure:last-child img {
  object-position: 50% 30%;
}

.band figcaption {
  margin-top: 10px;
  font-size: 0.86rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  transition: color 0.28s var(--ease);
}

.band figure:hover figcaption {
  color: var(--ink);
}

/* ---------- work rail ---------- */

.rail__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.rail__nav {
  display: flex;
  gap: 9px;
  flex: none;
}

.rail__nav button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-dark);
  border-radius: 2px;
  background: none;
  color: var(--white);
  cursor: pointer;
  transition: background-color 0.28s var(--ease), border-color 0.28s var(--ease),
    color 0.28s var(--ease), transform 0.28s var(--ease);
}

.rail__nav button:hover {
  background: var(--aqua);
  border-color: var(--aqua);
  color: var(--ink);
  transform: translateY(-2px);
}

.rail__nav svg {
  width: 18px;
  height: 18px;
}

.rail__nav .prev svg {
  transform: scaleX(-1);
}

/* Full-bleed strip: the first card lines up with the shell, the last one runs
   off the right edge so it reads as scrollable. */
.rail {
  --rail-pad: max(var(--gutter), calc((100% - var(--shell)) / 2 + var(--gutter)));

  display: flex;
  gap: clamp(12px, 1.6vw, 20px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--rail-pad);
  scrollbar-width: none;
  padding: 0 var(--gutter) 4px var(--rail-pad);
  cursor: grab;
}

.rail::-webkit-scrollbar {
  display: none;
}

.rail.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.rail__item {
  flex: 0 0 clamp(230px, 24vw, 330px);
  scroll-snap-align: start;
  display: block;
  border: 0;
  padding: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

.rail__item.is-in {
  opacity: 1;
  animation: panelIn 0.7s var(--ease) both;
}

.rail__frame {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.06);
  isolation: isolate;
}

.rail__frame img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 0.95s var(--ease), filter 0.55s var(--ease);
}

.rail__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      transparent 40%,
      rgba(6, 26, 38, 0.15) 68%,
      rgba(6, 26, 38, 0.88) 100%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
}

.rail__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 18px 16px 16px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--white);
  transform: translateY(10px);
  opacity: 0;
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
}

.rail__cap::before {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  margin-bottom: 10px;
  background: var(--aqua);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease) 0.05s;
}

.rail__item:hover .rail__frame img,
.rail__item:focus-visible .rail__frame img {
  transform: scale(1.08);
  filter: saturate(1.08) contrast(1.04);
}

.rail__item:hover .rail__veil,
.rail__item:focus-visible .rail__veil {
  opacity: 1;
}

.rail__item:hover .rail__cap,
.rail__item:focus-visible .rail__cap {
  transform: none;
  opacity: 1;
}

.rail__item:hover .rail__cap::before,
.rail__item:focus-visible .rail__cap::before {
  transform: scaleX(1);
}

@media (hover: none) {

  .btn:hover,
  .btn--book:hover,
  .btn--line:hover,
  .slot:hover,
  .who:hover .who__pick,
  .socials a:hover,
  .rail__nav button:hover {
    transform: none;
    box-shadow: none;
  }

  .row:hover,
  .card:hover {
    padding-left: 0;
  }

  .row:hover::before,
  .card:hover::before {
    width: 0;
  }

  .rail__veil {
    opacity: 1;
    background: linear-gradient(180deg,
        transparent 62%,
        rgba(6, 26, 38, 0.55) 100%);
  }

  .rail__cap {
    opacity: 1;
    transform: none;
  }

  .rail__cap::before {
    transform: scaleX(1);
  }

  .rail__item:hover .rail__frame img,
  .rail__item:focus-visible .rail__frame img {
    transform: none;
    filter: none;
  }

  .pro:hover .pro__media img,
  .band figure:hover img,
  .who:hover .who__photo img,
  .used-grid__item:hover .used-grid__media img {
    transform: none;
    filter: none;
  }
}

.rail__progress {
  position: relative;
  height: 1px;
  margin-top: clamp(24px, 3vw, 36px);
  background: var(--line-dark);
}

.rail__progress span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  background: var(--aqua);
  transform: scaleX(0.2);
  transform-origin: left;
  transition: transform 0.16s linear;
}

/* ---------- what we use ---------- */

.sec--used {
  position: relative;
  background:
    radial-gradient(ellipse 70% 55% at 18% 0%, rgba(151, 224, 221, 0.42), transparent 58%),
    radial-gradient(ellipse 55% 45% at 92% 88%, rgba(253, 204, 210, 0.38), transparent 55%),
    linear-gradient(180deg, #f3f8f7 0%, var(--paper) 48%, #faf7f6 100%);
  overflow: hidden;
}

.sec--used::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 42%,
    transparent 68%
  );
  opacity: 0.7;
}

.sec--used .atmos__art--hibiscus {
  top: auto;
  bottom: 4%;
  right: -5%;
  width: min(42vw, 360px);
  opacity: 0.1;
  transform: rotate(-8deg);
}

.used__head {
  position: relative;
  max-width: 34rem;
  margin: 0 auto clamp(40px, 6vw, 64px);
  text-align: center;
}

.used__head .label {
  justify-content: center;
}

.used__head .sec__title {
  margin-top: 10px;
}

.used__head .lead {
  margin: 14px auto 0;
  max-width: 38ch;
  color: var(--muted);
}

.used-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.used-grid__item {
  min-width: 0;
}

.used-grid__item.reveal.is-in:nth-child(2) {
  animation-delay: 0.08s;
}

.used-grid__item.reveal.is-in:nth-child(3) {
  animation-delay: 0.16s;
}

.used-grid__item.reveal.is-in:nth-child(4) {
  animation-delay: 0.24s;
}

.used-grid__item.reveal.is-in:nth-child(5) {
  animation-delay: 0.32s;
}

.used-grid figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.used-grid__media {
  overflow: hidden;
  border-radius: 2px;
  background: rgba(11, 43, 60, 0.06);
  aspect-ratio: 3 / 4;
}

.used-grid__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.85s var(--ease), filter 0.45s var(--ease);
}

.used-grid__item:hover .used-grid__media img {
  transform: scale(1.04);
  filter: saturate(1.05);
}

.used-grid figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-inline: 2px;
}

.used__brand {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--aqua-deep);
}

.used__name {
  font-family: var(--serif);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.02em;
}

/* ---------- team ---------- */

.team__head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(18px, 4vw, 56px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.team {
  display: grid;
  gap: clamp(48px, 7vw, 88px);
}

.pro {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.pro:nth-child(even) {
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr);
}

.pro:nth-child(even) .pro__media {
  order: 2;
}

.pro__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 2px;
  background: var(--ink);
  box-shadow:
    0 22px 48px rgba(6, 26, 38, 0.12),
    14px 14px 0 0 rgba(244, 160, 171, 0.55);
}

.pro:nth-child(even) .pro__media {
  box-shadow:
    0 22px 48px rgba(6, 26, 38, 0.12),
    -14px 14px 0 0 rgba(151, 224, 221, 0.5);
}

.pro__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 18%;
  transition: transform 0.9s var(--ease), filter 0.45s var(--ease);
}

.pro:hover .pro__media img {
  transform: scale(1.04);
  filter: saturate(1.05);
}

.pro__role {
  margin: 0 0 10px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--aqua-deep);
}

.pro__body h3 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  margin-bottom: 14px;
}

.pro__body>p {
  color: var(--muted);
  max-width: 48ch;
}

.pro__body .btn {
  margin-top: 22px;
}

/* ---------- cta ---------- */

.cta {
  background:
    radial-gradient(ellipse 70% 80% at 100% 20%, rgba(255, 255, 255, 0.35), transparent 55%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(244, 160, 171, 0.28), transparent 50%),
    var(--aqua);
  color: var(--ink);
  padding: clamp(70px, 10vw, 132px) 0;
  position: relative;
  overflow: hidden;
}

.cta::after {
  content: "";
  position: absolute;
  right: -6%;
  bottom: -28%;
  width: min(420px, 46vw);
  height: min(420px, 46vw);
  border: 1px solid rgba(11, 43, 60, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.cta h2 {
  font-size: clamp(2.3rem, 5vw, 4.2rem);
}

.cta__note {
  margin-top: 18px;
  max-width: 42ch;
  color: rgba(11, 43, 60, 0.78);
}

.cta__book {
  display: flex;
  width: max-content;
  max-width: 100%;
  margin-top: clamp(22px, 3vw, 30px);
}

.cta__phone {
  display: inline-block;
  margin-top: clamp(22px, 3vw, 32px);
  font-family: var(--serif);
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  letter-spacing: -0.03em;
  line-height: 1;
  border-bottom: 2px solid rgba(11, 43, 60, 0.28);
  transition: border-color 0.28s var(--ease), color 0.28s var(--ease),
    transform 0.28s var(--ease);
}

.cta__phone:hover {
  border-color: var(--ink);
  color: var(--ink-2);
  transform: translateY(-1px);
}

.cta__mail {
  display: block;
  margin-top: 16px;
  font-size: 0.94rem;
  color: rgba(11, 43, 60, 0.8);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(11, 43, 60, 0.28);
  transition: color 0.28s var(--ease), text-decoration-color 0.28s var(--ease);
}

.cta__mail:hover {
  color: var(--ink);
  text-decoration-color: var(--ink);
}

.hours {
  position: relative;
  padding: clamp(22px, 3vw, 28px);
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(11, 43, 60, 0.1);
  border-radius: 2px;
  backdrop-filter: blur(8px);
}

.hours h3 {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(11, 43, 60, 0.85);
  margin-bottom: 10px;
}

.hours ul {
  border-top: 1px solid rgba(11, 43, 60, 0.24);
}

.hours li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(11, 43, 60, 0.16);
  font-size: 0.94rem;
}

.hours li b {
  font-weight: 500;
}

.hours li.is-closed {
  color: rgba(11, 43, 60, 0.6);
}

/* ---------- FAQ (AEO) ---------- */

.faq__head {
  max-width: 36rem;
  margin-bottom: clamp(28px, 5vw, 48px);
}

.faq__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 40px) clamp(28px, 5vw, 56px);
  content-visibility: auto;
  contain-intrinsic-size: 800px;
}

.faq__item h3 {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

.faq__item p {
  margin: 0;
  color: var(--muted);
  max-width: 42ch;
}

.faq__item a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 760px) {
  .faq__list {
    grid-template-columns: 1fr;
  }
}

/* ---------- footer ---------- */

.footer {
  position: relative;
  background:
    radial-gradient(ellipse 55% 40% at 0% 0%, rgba(151, 224, 221, 0.12), transparent 55%),
    var(--ink-2);
  color: rgba(255, 255, 255, 0.64);
  padding-top: clamp(52px, 7vw, 88px);
  overflow: hidden;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: clamp(30px, 5vw, 60px);
  padding-bottom: clamp(36px, 5vw, 58px);
}

.footer__logo {
  width: 190px;
  margin-bottom: 20px;
}

.footer h4 {
  margin: 0 0 16px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--white);
}

.footer__blurb {
  max-width: 32ch;
  font-size: 0.94rem;
}

.footer__list li {
  display: flex;
  gap: 12px;
  padding: 6px 0;
  font-size: 0.93rem;
  line-height: 1.5;
}

.footer__list svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 5px;
  color: var(--aqua);
}

.footer__list a {
  transition: color 0.24s var(--ease);
}

.footer__list a:hover {
  color: var(--aqua);
}

.socials {
  display: flex;
  gap: 9px;
  margin-top: 20px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-dark);
  border-radius: 2px;
  color: var(--white);
  transition: background-color 0.28s var(--ease), border-color 0.28s var(--ease),
    color 0.28s var(--ease), transform 0.28s var(--ease);
}

.socials a:hover {
  background: var(--pink);
  border-color: var(--pink);
  color: var(--ink-2);
  transform: translateY(-3px);
}

.socials svg {
  width: 17px;
  height: 17px;
}

.footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  justify-content: space-between;
  padding: 16px 0 22px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.78rem;
}

.footer__credit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  margin-left: auto;
  text-decoration: none;
  color: inherit;
}

.footer__credit-label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

.footer__mark {
  display: block;
  width: auto;
  height: 38px;
  opacity: 0.88;
  mix-blend-mode: screen;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}

.footer__credit:hover .footer__mark {
  opacity: 1;
  transform: translateY(-1px);
}

/* ---------- lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 6vh 6vw;
  background: rgba(6, 26, 38, 0.95);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 100%;
  max-height: 84vh;
  border-radius: 2px;
}

.lightbox button {
  position: absolute;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 2px;
  background: none;
  color: var(--white);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.24s var(--ease), color 0.24s var(--ease);
}

.lightbox button:hover {
  background: var(--aqua);
  border-color: var(--aqua);
  color: var(--ink);
}

.lightbox .close {
  top: 3vh;
  right: 4vw;
}

.lightbox .prev,
.lightbox .next {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox .prev {
  left: 3vw;
}

.lightbox .next {
  right: 3vw;
}

/* ---------- reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
}

.reveal.is-in {
  animation: revealUp 0.9s var(--ease) var(--reveal-delay, 0s) both;
}

.reveal--left.is-in {
  animation-name: revealLeft;
}

.reveal--right.is-in {
  animation-name: revealRight;
}

.reveal--scale.is-in {
  animation-name: revealScale;
}

.reveal.is-in .label::before {
  animation: labelPop 0.55s var(--ease) 0.15s both;
}

.reveal.is-in .quote {
  animation: quoteIn 0.9s var(--ease) 0.12s both;
}

.reveal.is-in .sec__title {
  animation: titleSettle 0.9s var(--ease) 0.08s both;
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes revealLeft {
  from {
    opacity: 0;
    transform: translateX(-36px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes revealRight {
  from {
    opacity: 0;
    transform: translateX(36px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes revealScale {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes labelPop {
  from {
    transform: scale(0) rotate(-12deg);
    opacity: 0;
  }

  to {
    transform: none;
    opacity: 1;
  }
}

@keyframes quoteIn {
  from {
    opacity: 0;
    transform: translateY(14px);
    border-left-color: transparent;
  }

  to {
    opacity: 1;
    transform: none;
    border-left-color: var(--pink);
  }
}

@keyframes titleSettle {
  from {
    letter-spacing: 0.03em;
    transform: translateY(12px);
  }

  to {
    letter-spacing: -0.022em;
    transform: none;
  }
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes rowIn {
  from {
    opacity: 0;
    transform: translateX(-12px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes floatOrb {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(-18px, -22px, 0) scale(1.06);
  }
}

@keyframes softPulse {

  0%,
  100% {
    box-shadow: 0 10px 28px rgba(6, 26, 38, 0.12);
  }

  50% {
    box-shadow: 0 14px 36px rgba(6, 26, 38, 0.22);
  }
}

/* Band photos cascade in */
.band.reveal.is-in figure {
  opacity: 0;
  animation: panelIn 0.8s var(--ease) forwards;
}

.band.reveal.is-in figure:nth-child(1) {
  animation-delay: 0.08s;
}

.band.reveal.is-in figure:nth-child(2) {
  animation-delay: 0.2s;
}

.band.reveal.is-in figure:nth-child(3) {
  animation-delay: 0.32s;
}

/* Service menu panel + rows */
.board__panel.is-on {
  display: block;
  animation: panelIn 0.5s var(--ease) both;
}

.board__panel.is-on .board__block {
  animation: panelIn 0.55s var(--ease) both;
}

.board__panel.is-on .board__block:nth-child(2) {
  animation-delay: 0.08s;
}

.board__panel.is-on .row {
  animation: rowIn 0.5s var(--ease) both;
}

.board__panel.is-on .row:nth-child(2) {
  animation-delay: 0.05s;
}

.board__panel.is-on .row:nth-child(3) {
  animation-delay: 0.1s;
}

.board__panel.is-on .row:nth-child(4) {
  animation-delay: 0.15s;
}

.board__panel.is-on .row:nth-child(5) {
  animation-delay: 0.2s;
}

.board__panel.is-on .row:nth-child(6) {
  animation-delay: 0.25s;
}

.board__panel.is-on .row:nth-child(7) {
  animation-delay: 0.3s;
}

.board__panel.is-on .row:nth-child(8) {
  animation-delay: 0.35s;
}

.board__panel.is-on .row:nth-child(9) {
  animation-delay: 0.4s;
}

/* Team cards */
.pro.reveal.is-in .pro__media {
  animation: slideFromLeft 0.85s var(--ease) both;
}

.pro.reveal.is-in .pro__body {
  animation: panelIn 0.85s var(--ease) 0.14s both;
}

.pro:nth-child(even).reveal.is-in .pro__media {
  animation-name: slideFromRight;
}

@keyframes slideFromLeft {
  from {
    opacity: 0;
    transform: translateX(-32px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes slideFromRight {
  from {
    opacity: 0;
    transform: translateX(32px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* CTA ambient motion */
.cta::after {
  animation: floatOrb 10s ease-in-out infinite alternate;
}

.cta__book {
  animation: softPulse 3.2s ease-in-out infinite;
}

.hours.reveal:not(.is-in) li {
  opacity: 0;
}

.hours.reveal.is-in li {
  animation: rowIn 0.55s var(--ease) forwards;
}

.hours.reveal.is-in li:nth-child(1) {
  animation-delay: 0.1s;
}

.hours.reveal.is-in li:nth-child(2) {
  animation-delay: 0.2s;
}

.hours.reveal.is-in li:nth-child(3) {
  animation-delay: 0.3s;
}

/* Footer rise */
.footer__grid>* {
  opacity: 0;
  transform: translateY(18px);
}

.footer.is-in .footer__grid>* {
  animation: panelIn 0.75s var(--ease) both;
}

.footer.is-in .footer__grid>*:nth-child(1) {
  animation-delay: 0.06s;
}

.footer.is-in .footer__grid>*:nth-child(2) {
  animation-delay: 0.16s;
}

.footer.is-in .footer__grid>*:nth-child(3) {
  animation-delay: 0.26s;
}

/* ---------- responsive ---------- */

@media (max-width: 1020px) {

  .svc__head,
  .about__top,
  .team__head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .used-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .used-grid__item {
    grid-column: span 2;
  }

  .used-grid__item:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .used-grid__item:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

@media (max-width: 940px) {
  :root {
    --nav-h: 84px;
  }

  .nav__in {
    grid-template-columns: 1fr auto;
    min-height: 48px;
  }

  .nav__drawer {
    display: none;
  }

  .nav__burger {
    display: grid;
  }

  /* Light bar once scrolled — matches the logo and paper sections */
  .nav.is-stuck {
    background: rgba(247, 246, 244, 0.94);
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    border-bottom-color: rgba(11, 43, 60, 0.1);
    box-shadow: 0 10px 28px rgba(11, 43, 60, 0.08);
    color: var(--ink);
  }

  .nav.is-stuck .nav__burger {
    background: transparent;
    border-color: rgba(11, 43, 60, 0.2);
    color: var(--ink);
  }

  .nav.is-open {
    background: rgba(247, 246, 244, 0.98);
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    border-bottom-color: rgba(11, 43, 60, 0.1);
    color: var(--ink);
  }

  .nav.is-open .nav__burger {
    background: transparent;
    border-color: rgba(11, 43, 60, 0.22);
    color: var(--ink);
  }

  .nav.is-open .nav__drawer {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 10px var(--gutter) calc(26px + env(safe-area-inset-bottom, 0px));
    background: rgba(247, 246, 244, 0.98);
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    border-bottom: 1px solid rgba(11, 43, 60, 0.1);
    box-shadow: 0 18px 40px rgba(11, 43, 60, 0.12);
    color: var(--ink);
  }

  /* Keep the phone visible in the mobile drawer when stuck */
  .nav.is-stuck.is-open .nav__phone {
    opacity: 1;
    max-width: none;
    margin: 0;
    overflow: visible;
    pointer-events: auto;
    transform: none;
  }

  .nav.is-open .nav__links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav.is-open .nav__links a {
    padding: 15px 0;
    border-bottom: 1px solid rgba(11, 43, 60, 0.1);
    font-size: 1rem;
    opacity: 1;
    color: var(--ink);
  }

  .nav.is-open .nav__links a:hover,
  .nav.is-open .nav__links a.is-active {
    color: var(--aqua-deep);
  }

  .nav.is-open .nav__links a::after {
    display: none;
  }

  .nav.is-open .nav__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    justify-self: stretch;
  }

  .nav.is-open .nav__phone {
    text-align: center;
    opacity: 1;
    color: var(--ink);
  }

  .nav.is-open .btn--book {
    justify-content: center;
    text-align: center;
  }

  /* Clear the fixed header — old 64px top padding sat under the nav */
  .sec {
    padding: calc(var(--nav-h) + var(--safe-top) + 28px) 0 clamp(64px, 9vw, 120px);
  }

  .sec--tight {
    padding: calc(var(--nav-h) + var(--safe-top) + 20px) 0 clamp(48px, 7vw, 88px);
  }

  .sec--loose {
    padding: calc(var(--nav-h) + var(--safe-top) + 36px) 0 clamp(80px, 12vw, 160px);
  }

  #services,
  #about,
  #work,
  #products,
  #team,
  #contact,
  #book {
    scroll-margin-top: calc(var(--nav-h) + var(--safe-top) + 12px);
  }

  .cta__grid {
    grid-template-columns: 1fr;
  }

  .pro,
  .pro:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .pro:nth-child(even) .pro__media {
    order: 0;
  }

  .pro__media {
    max-width: 420px;
  }

  .used-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 16px;
  }

  .used-grid__item,
  .used-grid__item:nth-child(4),
  .used-grid__item:nth-child(5) {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  .band {
    grid-template-columns: 1fr 1fr;
  }

  .band figure:last-child {
    display: none;
  }

  .fine ul {
    grid-template-columns: 1fr;
  }

  .board__cols {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  :root {
    --nav-h: 78px;
  }

  body {
    font-size: 1rem;
  }

  .hero {
    min-height: min(94svh, 720px);
  }

  .hero__media img {
    object-position: 52% 28%;
  }

  .hero__actions .btn {
    flex: 1 1 auto;
    justify-content: center;
  }

  .mark__img {
    width: 108px;
  }

  .nav.is-stuck .mark__img {
    width: 96px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer__credit {
    margin-left: 0;
  }

  .footer__mark {
    height: 32px;
  }

  .svc-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .svc-tabs::-webkit-scrollbar {
    display: none;
  }

  .svc-tabs__btn {
    flex: 0 0 auto;
    margin-right: 20px;
    padding: 11px 2px 13px;
    font-size: 0.88rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  /* Keep the stripe marching — only kill large ambient loops. */
  .hero__media img,
  .cta::after,
  .cta__book {
    animation: none !important;
  }
}