/* =========================================================
   Dynamic Stylz Salon — stylesheet
   Warm whites · small-town modern · tree-of-life motif
   ========================================================= */

:root {
  /* warm-white palette */
  --ivory: #faf6f0;
  --ivory-2: #f5ede1;
  --cream: #efe4d2;
  --stone: #e8dfd1;
  --sand: #d8cab4;
  --taupe: #b8a593;
  --taupe-deep: #8c7a62;

  /* feminine accents — dusty blush & rose */
  --blush: #e8cdc8;
  --blush-soft: #f5e4df;
  --blush-deep: #c9928a;
  --rose-glow: rgba(232, 205, 200, 0.35);

  /* accents */
  --sage: #9cab97;
  --sage-deep: #6f8370;
  --gold: #c9a961;
  --gold-deep: #a78845;

  /* ink */
  --ink: #2e2a24;
  --ink-soft: #4b443c;
  --ink-mute: #7a6f62;

  /* soft, warm shadows */
  --shadow-soft: 0 18px 40px -24px rgba(140, 122, 98, 0.35),
    0 2px 6px -2px rgba(140, 122, 98, 0.15);
  --shadow-lift: 0 40px 80px -40px rgba(140, 122, 98, 0.45),
    0 4px 10px -4px rgba(140, 122, 98, 0.18);

  /* typographic */
  --font-display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;

  /* spatial */
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --max: 1240px;
  --radius: 18px;
  --radius-lg: 28px;

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset-ish ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  /* Offset hash-link landings so the sticky nav doesn't cover the section head.
     Nav is ~70px on mobile, ~82px on desktop; 96px gives a small breathing buffer. */
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* `clip` is stricter than `hidden`: it never creates a scroll container,
   so decorative positioned elements can't widen the page. Fallback below. */
@supports not (overflow: clip) {
  html,
  body {
    overflow-x: hidden;
  }
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: var(--ink);
  text-decoration: none;
  text-underline-offset: 4px;
  transition: color 0.2s var(--ease);
}
a:hover {
  color: var(--taupe-deep);
}
button {
  font: inherit;
  cursor: pointer;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--ivory);
  padding: 0.6rem 1rem;
  border-radius: 0 0 8px 0;
  z-index: 100;
}
.skip-link:focus {
  left: 0;
}

/* ---------- tokens ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--taupe-deep);
  font-weight: 500;
  margin: 0 0 0.9rem;
}
.eyebrow--light {
  color: var(--cream);
  opacity: 0.9;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 1rem;
}
.section__title em {
  font-style: italic;
  color: var(--taupe-deep);
}
.section__title--light {
  color: var(--ivory);
}
.section__lede {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 56ch;
}
.lede {
  font-family: var(--font-body);
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 58ch;
}
.section__head {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  text-align: center;
  position: relative;
}
.section__head .section__lede {
  margin-left: auto;
  margin-right: auto;
}
/* botanical sprig above centered section heads */
.section__head::before {
  content: "";
  display: block;
  width: 44px;
  height: 28px;
  margin: 0 auto 0.9rem;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 88 56' fill='none' stroke='%23b8a593' stroke-linecap='round' stroke-width='1.4'><path d='M44 4 L44 52'/><path d='M44 14 C 34 14 26 18 20 26'/><path d='M44 14 C 54 14 62 18 68 26'/><path d='M44 26 C 36 26 30 30 26 36'/><path d='M44 26 C 52 26 58 30 62 36'/><path d='M44 38 C 38 38 34 42 32 46'/><path d='M44 38 C 50 38 54 42 56 46'/><circle cx='20' cy='26' r='1.6' fill='%23c9928a' stroke='none'/><circle cx='68' cy='26' r='1.6' fill='%23c9928a' stroke='none'/><circle cx='26' cy='36' r='1.4' fill='%23c9a961' stroke='none'/><circle cx='62' cy='36' r='1.4' fill='%23c9a961' stroke='none'/><circle cx='32' cy='46' r='1.2' fill='%23b8a593' stroke='none'/><circle cx='56' cy='46' r='1.2' fill='%23b8a593' stroke='none'/><circle cx='44' cy='4' r='2' fill='%23c9928a' stroke='none'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.85;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    color 0.25s var(--ease), border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn--solid {
  background: var(--ink);
  color: var(--ivory);
  box-shadow: 0 1px 0 rgba(46, 42, 36, 0.12),
    0 20px 40px -22px rgba(46, 42, 36, 0.6);
}
.btn--solid:hover {
  background: var(--taupe-deep);
  color: var(--ivory);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(46, 42, 36, 0.22);
}
.btn--ghost:hover {
  background: rgba(46, 42, 36, 0.04);
  border-color: rgba(46, 42, 36, 0.4);
}
.btn--link {
  padding: 0.95rem 0;
  background: transparent;
  color: var(--ink);
  border-radius: 0;
  border-bottom: 1px solid rgba(46, 42, 36, 0.25);
}
.btn--link:hover {
  color: var(--taupe-deep);
  border-color: var(--taupe-deep);
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: rgba(250, 246, 240, 0.82);
  border-bottom: 1px solid rgba(46, 42, 36, 0.07);
  box-shadow: 0 1px 0 rgba(46, 42, 36, 0.02);
}
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem var(--gutter);
  display: flex;
  align-items: center;
  gap: 2rem;
}
/* Brand lockup — tree mark + wordmark (icon + typography).
   Mirrors the legacy <Wordmark> component: sm/md/lg sizes × dark/light variants. */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--ink);
  text-decoration: none;
  transition: opacity 0.3s var(--ease);
}
a.brand:hover {
  opacity: 0.8;
}
.brand__logo {
  flex: 0 0 auto;
  display: block;
  object-fit: contain;
  user-select: none;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 0.95;
  color: inherit;
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.005em;
  color: inherit;
}
.brand__sub {
  margin-top: 0.375rem;
  font-family: var(--font-sans);
  font-weight: 500;
  text-transform: uppercase;
  opacity: 0.7;
  color: inherit;
}

/* Sizes — icon, gap, wordmark, subtitle. Scales up at ≥768px like the legacy md: breakpoint. */
.brand--sm {
  gap: 0.8rem;
}
.brand--sm .brand__logo {
  width: 48px;
  height: 48px;
}
.brand--sm .brand__name {
  font-size: 1.3rem;
  letter-spacing: 0.01em;
}
.brand--sm .brand__sub {
  margin-top: 0.22rem;
  font-size: 0.54rem;
  letter-spacing: 0.36em;
}

.brand--md {
  gap: 0.75rem;
}
.brand--md .brand__logo {
  width: 56px;
  height: 56px;
}
.brand--md .brand__name {
  font-size: 1.5rem;
}
.brand--md .brand__sub {
  font-size: 0.6rem;
  letter-spacing: 0.44em;
}

.brand--lg {
  gap: 1rem;
}
.brand--lg .brand__logo {
  width: 80px;
  height: 80px;
}
.brand--lg .brand__name {
  font-size: 1.875rem;
}
.brand--lg .brand__sub {
  font-size: 0.68rem;
  letter-spacing: 0.5em;
}

@media (min-width: 768px) {
  .brand--sm {
    gap: 0.85rem;
  }
  .brand--sm .brand__logo {
    width: 50px;
    height: 50px;
  }
  .brand--sm .brand__name {
    font-size: 1.35rem;
  }
  .brand--sm .brand__sub {
    font-size: 0.58rem;
  }

  .brand--md {
    gap: 1rem;
  }
  .brand--md .brand__logo {
    width: 64px;
    height: 64px;
  }
  .brand--md .brand__name {
    font-size: 1.875rem;
  }
  .brand--md .brand__sub {
    font-size: 0.64rem;
  }

  .brand--lg {
    gap: 1.25rem;
  }
  .brand--lg .brand__logo {
    width: 96px;
    height: 96px;
  }
  .brand--lg .brand__name {
    font-size: 2.25rem;
  }
  .brand--lg .brand__sub {
    font-size: 0.72rem;
  }
}

/* Light variant — inverts the black line-art logo to ivory for dark backgrounds. */
.brand--light {
  color: var(--ivory);
}
.brand--light .brand__logo {
  filter: brightness(0) invert(1);
}

.nav__links {
  margin-left: auto;
  display: flex;
  gap: 2.2rem;
  align-items: center;
}
.nav__links a {
  position: relative;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.78;
  padding: 0.4rem 0;
  transition: opacity 0.25s var(--ease);
}
.nav__links a:hover {
  opacity: 1;
  color: var(--ink);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--ink);
  transition: width 0.35s var(--ease), left 0.35s var(--ease);
}
.nav__links a:hover::after {
  left: 0;
  width: 100%;
}
.nav__cta {
  padding: 0.72rem 1.25rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  border-color: rgba(46, 42, 36, 0.28);
}
.nav__cta:hover {
  background: var(--ink);
  color: var(--ivory);
  border-color: var(--ink);
}

.nav__toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 42px;
  height: 42px;
  padding: 0;
  margin-left: auto;
  position: relative;
}
.nav__toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav__toggle span:nth-child(1) {
  top: 14px;
}
.nav__toggle span:nth-child(2) {
  top: 20px;
}
.nav__toggle span:nth-child(3) {
  top: 26px;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.8rem var(--gutter) 1.6rem;
  border-top: 1px solid rgba(46, 42, 36, 0.07);
  background: var(--ivory);
}
.nav__mobile a:not(.btn) {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  padding: 0.85rem 0.25rem;
  border-bottom: 1px solid rgba(46, 42, 36, 0.08);
}
.nav__mobile a:not(.btn):last-of-type {
  border-bottom: 0;
}
.nav__mobile a.btn {
  align-self: flex-start;
  margin-top: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
}
.nav__mobile[data-open="true"] {
  display: flex;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3rem, 9vw, 6rem) var(--gutter) clamp(3rem, 8vw, 6rem);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  isolation: isolate;
  overflow: clip;
}
.hero__grain {
  position: absolute;
  inset: -10% 0;
  z-index: -1;
  background:
    radial-gradient(
      60% 60% at 28% 28%,
      rgba(245, 228, 223, 0.85) 0%,
      rgba(245, 228, 223, 0) 60%
    ),
    radial-gradient(
      52% 52% at 82% 72%,
      rgba(232, 205, 200, 0.42) 0%,
      rgba(232, 205, 200, 0) 60%
    ),
    radial-gradient(
      45% 45% at 55% 95%,
      rgba(156, 171, 151, 0.18) 0%,
      rgba(156, 171, 151, 0) 65%
    );
  filter: blur(8px);
}

.hero__content {
  max-width: 38rem;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.8rem, 6.3vw, 5.25rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
  margin: 0.2rem 0 1.3rem;
  color: var(--ink);
}
.hero__title em {
  font-style: italic;
  color: var(--taupe-deep);
  position: relative;
}
.hero__title em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 14%;
  bottom: 0.02em;
  height: 0.08em;
  background: linear-gradient(
    90deg,
    rgba(201, 146, 138, 0.65),
    rgba(201, 169, 97, 0.45) 40%,
    rgba(201, 169, 97, 0) 85%
  );
  border-radius: 2px;
}
.hero__lede {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 34rem;
  margin: 0 0 1.8rem;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.4rem;
}
.hero__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(46, 42, 36, 0.1);
  margin: 0;
}
.hero__meta div {
  min-width: 0;
}
.hero__meta dt {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--taupe-deep);
  margin-bottom: 0.25rem;
}
.hero__meta dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
  line-height: 1.2;
}
.hero__meta dd > span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--ink-mute);
  letter-spacing: 0.01em;
  margin-top: 2px;
}

/* Partial-fill star rating (5-star visual, fill set via inline width %). */
.rating {
  position: relative;
  display: inline-block;
  line-height: 1;
  font-family: var(--font-body);
  font-size: 1.05em;
  letter-spacing: 0.14em;
  color: rgba(46, 42, 36, 0.2);
}
.rating__fill {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  white-space: nowrap;
  color: var(--gold);
  pointer-events: none;
}

.hero__art {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 560px;
}
/* soft blush halo behind */
.hero__art::before {
  content: "";
  position: absolute;
  inset: 2% 4%;
  border-radius: 240px 240px 32px 32px;
  background: radial-gradient(
    closest-side,
    var(--rose-glow) 0%,
    rgba(245, 228, 223, 0.35) 55%,
    transparent 78%
  );
  z-index: 0;
  filter: blur(2px);
}
/* thin decorative ring echoing the arch */
.hero__art::after {
  content: "";
  position: absolute;
  inset: 6% 10%;
  border-radius: 220px 220px 24px 24px;
  border: 1px solid rgba(201, 146, 138, 0.35);
  z-index: 0;
  pointer-events: none;
}
.hero__media {
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 4 / 5;
  z-index: 1;
  animation: breathe 9s ease-in-out infinite;
}
@keyframes breathe {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  display: block;
  /* arched top, gently rounded bottom */
  border-radius: 220px 220px 28px 28px;
  box-shadow: var(--shadow-lift);
  border: 1px solid rgba(201, 146, 138, 0.22);
}
/* tree-of-life signature mark — bottom-right badge */
.hero__mark {
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--ivory);
  border: 6px solid var(--ivory-2);
  display: grid;
  place-items: center;
  color: var(--ink);
  box-shadow: 0 18px 40px -18px rgba(46, 42, 36, 0.4);
  z-index: 2;
}
.hero__mark svg {
  width: 46px;
  height: 46px;
}
/* handwritten-feel sticker — top-left accent */
.hero__sticker {
  position: absolute;
  top: -16px;
  left: -18px;
  padding: 0.55rem 0.9rem 0.65rem;
  background: var(--ink);
  color: var(--ivory);
  border-radius: 999px;
  z-index: 2;
  box-shadow: 0 12px 28px -14px rgba(46, 42, 36, 0.45);
  transform: rotate(-6deg);
  text-align: center;
  line-height: 1;
}
.hero__sticker span {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.85;
  margin-bottom: 2px;
}
.hero__sticker strong {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

/* ---------- marquee ---------- */
.marquee {
  background: var(--cream);
  border-top: 1px solid rgba(46, 42, 36, 0.06);
  border-bottom: 1px solid rgba(46, 42, 36, 0.06);
  overflow: hidden;
  padding: 1rem 0;
}
.marquee__track {
  display: flex;
  /* Size the track to its content so translateX(-50%) lands exactly on
     the duplicated midpoint — seamless loop at every viewport width. */
  width: max-content;
  gap: 2.2rem;
  white-space: nowrap;
  animation: slide 42s linear infinite;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--taupe-deep);
  align-items: center;
  will-change: transform;
}
.marquee__track span[aria-hidden="true"] {
  color: var(--blush-deep);
  font-style: normal;
  opacity: 0.75;
}
@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------- about ---------- */
.about {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) var(--gutter);
}
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.about__art {
  display: flex;
  justify-content: center;
  position: relative;
}
.portrait {
  position: relative;
  width: min(100%, 380px);
  aspect-ratio: 4 / 5;
}
/* soft blush halo behind the portrait */
.portrait::before {
  content: "";
  position: absolute;
  inset: -6% -8%;
  background: radial-gradient(
    closest-side,
    var(--rose-glow),
    rgba(245, 228, 223, 0.15) 55%,
    transparent 75%
  );
  z-index: 0;
  filter: blur(4px);
}
/* petal/leaf sprig, top-left accent */
.portrait::after {
  content: "";
  position: absolute;
  top: -22px;
  left: -14px;
  width: 90px;
  height: 90px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%238c7a62' stroke-width='1.2' stroke-linecap='round'><path d='M18 82 C 38 62 58 42 78 22'/><path d='M28 72 C 22 66 20 58 22 50' /><path d='M40 60 C 34 54 32 46 34 38'/><path d='M52 48 C 46 42 44 34 46 26'/><path d='M64 36 C 58 30 56 22 58 14'/><ellipse cx='24' cy='52' rx='5' ry='10' transform='rotate(-30 24 52)' fill='%23e8cdc8' stroke='%23c9928a' stroke-width='0.9'/><ellipse cx='36' cy='40' rx='5' ry='10' transform='rotate(-30 36 40)' fill='%23f5e4df' stroke='%23c9928a' stroke-width='0.9'/><ellipse cx='48' cy='28' rx='4.5' ry='9' transform='rotate(-30 48 28)' fill='%23e8cdc8' stroke='%23c9928a' stroke-width='0.9'/><ellipse cx='60' cy='16' rx='4' ry='8' transform='rotate(-30 60 16)' fill='%23f5e4df' stroke='%23c9928a' stroke-width='0.9'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.85;
  z-index: 2;
  pointer-events: none;
  transform: rotate(-8deg);
}
.portrait__media {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 190px / 200px;
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  background: var(--blush-soft);
  border: 1px solid rgba(201, 146, 138, 0.25);
}
.portrait__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  display: block;
}
.portrait__badge {
  position: absolute;
  z-index: 3;
  bottom: -10px;
  right: -10px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--ivory);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  box-shadow: 0 18px 40px -20px rgba(46, 42, 36, 0.55);
  border: 6px solid var(--ivory);
}
.portrait__badge span {
  display: block;
}
.portrait__badge small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-top: 4px;
  opacity: 0.85;
}

.about__body p {
  color: var(--ink-soft);
  margin: 0 0 1rem;
}

.pill-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0.5rem;
}
.pill-list li {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--ivory-2);
  border: 1px solid rgba(46, 42, 36, 0.08);
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ---------- services ---------- */
.services {
  background: linear-gradient(
    180deg,
    var(--ivory) 0%,
    var(--ivory-2) 100%
  );
  padding: clamp(4rem, 8vw, 7rem) 0;
}
.services__grid {
  max-width: var(--max);
  margin: 2.5rem auto 0;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}
.card {
  background: #fffdf9;
  border: 1px solid rgba(46, 42, 36, 0.07);
  border-radius: var(--radius-lg);
  transition: transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
}
.card::after {
  content: "";
  position: absolute;
  inset: auto -30% -70% auto;
  width: 80%;
  aspect-ratio: 1;
  background: radial-gradient(
    closest-side,
    rgba(232, 205, 200, 0.22),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(201, 146, 138, 0.35);
}
.card:hover::after {
  opacity: 1;
}
.card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--blush-soft);
  flex-shrink: 0;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease);
}
.card:hover .card__media img {
  transform: scale(1.04);
}
.card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(46, 42, 36, 0) 55%,
    rgba(46, 42, 36, 0.18) 100%
  );
  pointer-events: none;
}
.card__body {
  padding: 1.4rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}
.card__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--blush-deep);
  background: linear-gradient(
    135deg,
    var(--blush-soft) 0%,
    var(--cream) 100%
  );
  border-radius: 12px;
  margin-top: -34px;
  margin-bottom: 0.25rem;
  border: 3px solid #fffdf9;
  box-shadow: 0 6px 16px -8px rgba(140, 122, 98, 0.3);
  position: relative;
  z-index: 2;
}
.card__icon svg {
  width: 24px;
  height: 24px;
}
.card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0.15rem 0 0.25rem;
}
.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.services__note {
  max-width: var(--max);
  margin: 2.5rem auto 0;
  padding: 0 var(--gutter);
  text-align: center;
  color: var(--ink-mute);
  font-size: 0.95rem;
}
.services__note a {
  color: var(--taupe-deep);
  border-bottom: 1px solid rgba(140, 122, 98, 0.4);
}

/* ---------- experience ---------- */
.experience {
  position: relative;
  background: var(--ink);
  color: var(--ivory);
  padding: clamp(4.5rem, 9vw, 8rem) var(--gutter);
  overflow: hidden;
  isolation: isolate;
}
.experience__bg {
  position: absolute;
  inset: -10% -10% auto auto;
  width: 80%;
  max-width: 820px;
  opacity: 0.08;
  z-index: -1;
  color: var(--cream);
}
.experience__bg svg {
  width: 100%;
  height: auto;
}
.experience__inner {
  max-width: var(--max);
  margin: 0 auto;
}
.experience .eyebrow {
  color: var(--cream);
  opacity: 0.85;
}
.experience__grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
}
.experience__grid > div {
  padding: 1.6rem;
  border: 1px solid rgba(239, 228, 210, 0.12);
  border-radius: var(--radius);
  background: rgba(250, 246, 240, 0.035);
  backdrop-filter: blur(2px);
}
.experience__grid h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.3rem;
  margin: 0 0 0.6rem;
  color: var(--ivory);
}
.experience__grid p {
  margin: 0;
  color: var(--cream);
  opacity: 0.78;
  font-size: 0.96rem;
}

/* ---------- reviews (warm photo + quote cards) ---------- */
.reviews {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--ivory);
}

.reviews__featured,
.reviews__strip {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--gutter);
  display: grid;
  gap: clamp(1rem, 2.2vw, 1.4rem);
}
.reviews__featured {
  margin-top: clamp(2rem, 5vw, 3rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.reviews__strip {
  margin-top: clamp(1rem, 2.2vw, 1.4rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.review-card {
  margin: 0;
  background: var(--ivory-2);
  border: 1px solid rgba(46, 42, 36, 0.07);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

.review-card__media {
  aspect-ratio: 4 / 3;
  background: var(--cream);
  overflow: hidden;
  position: relative;
}
.review-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  transition: transform 0.6s var(--ease);
}
.review-card--photo:hover .review-card__media img {
  transform: scale(1.03);
}
.review-card__media::after {
  /* matches the subtle inner shade on service cards */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(46, 42, 36, 0) 60%,
    rgba(46, 42, 36, 0.1) 100%
  );
}

.review-card__body {
  padding: 1.4rem 1.55rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}
.review-card--quote {
  padding: 1.55rem 1.6rem 1.45rem;
  gap: 0.7rem;
}

.review-card__stars {
  color: var(--gold);
  letter-spacing: 0.25em;
  font-size: 0.92rem;
}
.review-card blockquote {
  margin: 0;
}
.review-card blockquote p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.42;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.review-card blockquote p::before {
  content: "\201C";
  font-family: var(--font-display);
  font-style: italic;
  color: var(--blush-deep);
  opacity: 0.55;
  font-size: 2.4em;
  line-height: 0;
  vertical-align: -0.32em;
  margin-right: 0.08em;
}
.review-card--quote blockquote p {
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--ink-soft);
  letter-spacing: 0;
}
.review-card--quote blockquote p::before {
  font-size: 1.7em;
  vertical-align: -0.22em;
  opacity: 0.6;
}

.review-card__caption {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 0.35rem;
}
.review-card__name {
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--ink);
}
.review-card__source {
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding: 0.22rem 0.55rem;
  border: 1px solid rgba(46, 42, 36, 0.14);
  border-radius: 999px;
  background: rgba(245, 228, 223, 0.6);
}

.reviews__foot {
  max-width: var(--max);
  margin: clamp(2rem, 4vw, 2.8rem) auto 0;
  padding: 0 var(--gutter);
  text-align: center;
  font-size: 0.88rem;
  color: var(--ink-mute);
}
.reviews__foot a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--blush);
  padding-bottom: 1px;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.reviews__foot a:hover {
  color: var(--blush-deep);
  border-bottom-color: var(--blush-deep);
}

/* ---------- visit ---------- */
.visit {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--cream);
  border-top: 1px solid rgba(46, 42, 36, 0.06);
}
.visit__grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.visit__copy {
  padding-top: 0.5rem;
}
.visit__blocks {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.8rem 2.2rem;
}
.visit__block h3 {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--taupe-deep);
  font-weight: 500;
  margin: 0 0 0.75rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(46, 42, 36, 0.1);
}
.hours {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.08rem;
}
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.32rem 0;
  border-bottom: 1px dashed rgba(46, 42, 36, 0.12);
}
.hours li:last-child {
  border-bottom: 0;
}
.hours li span:first-child {
  color: var(--ink);
}
.hours li span:last-child {
  color: var(--ink-soft);
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 1rem;
}
.contact-list li {
  line-height: 1.35;
}
.contact-list a {
  color: var(--ink);
  border-bottom: 1px solid rgba(46, 42, 36, 0.22);
  padding-bottom: 1px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.contact-list a:hover {
  color: var(--blush-deep);
  border-color: var(--blush-deep);
}
.visit__booking {
  margin: 1.8rem 0 0;
  padding: 1rem 1.15rem;
  background: rgba(245, 228, 223, 0.55);
  border-left: 2px solid var(--blush-deep);
  border-radius: 0 12px 12px 0;
  font-size: 0.96rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.visit__booking em {
  font-style: normal;
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--ink);
  margin-right: 0.1rem;
}
.visit__cta {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* visit card */
.visit__card {
  display: flex;
  justify-content: center;
}
.mapcard {
  width: 100%;
  max-width: 520px;
  background: var(--ivory);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(46, 42, 36, 0.08);
  box-shadow: var(--shadow-lift);
  transform: rotate(-1deg);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  position: relative;
}
.mapcard:hover {
  transform: rotate(0deg) translateY(-3px);
}
.mapcard__top {
  aspect-ratio: 4 / 3;
  position: relative;
  background: var(--cream);
  overflow: hidden;
}
.mapcard__map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.94) contrast(0.98);
}
.mapcard__body {
  padding: 1.15rem 1.4rem 1.3rem;
  border-top: 1px dashed rgba(46, 42, 36, 0.18);
  background:
    linear-gradient(
      180deg,
      rgba(245, 228, 223, 0.4) 0%,
      rgba(250, 246, 240, 0) 100%
    ),
    var(--ivory);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 1rem;
  row-gap: 0.2rem;
  align-items: center;
}
.mapcard__name {
  grid-column: 1 / -1;
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin: 0;
  letter-spacing: -0.01em;
}
.mapcard__addr {
  grid-column: 1 / 2;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.4;
}
.mapcard__directions {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid rgba(46, 42, 36, 0.25);
  padding-bottom: 1px;
  white-space: nowrap;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.mapcard__directions:hover {
  color: var(--blush-deep);
  border-color: var(--blush-deep);
}
.mapcard__note {
  grid-column: 1 / -1;
  margin: 0.55rem 0 0;
  font-size: 0.82rem;
  color: var(--taupe-deep);
  letter-spacing: 0.02em;
}

/* ---------- footer ---------- */
.foot {
  background: var(--ink);
  color: var(--ivory);
  padding: clamp(3.5rem, 7vw, 5rem) 0 2.5rem;
}
.foot__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 1.75rem 2.5rem;
  align-items: center;
}
.foot__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  justify-self: start;
}
.foot__motto {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ivory);
  opacity: 0.65;
  margin: 0;
  max-width: 26ch;
}
.foot__nav {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.foot__nav a {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ivory);
  opacity: 0.7;
  text-decoration: none;
  transition: opacity 0.2s var(--ease);
}
.foot__nav a:hover {
  opacity: 1;
}
.foot__meta {
  justify-self: end;
  text-align: right;
  font-size: 0.72rem;
  color: var(--ivory);
  opacity: 0.55;
  letter-spacing: 0.04em;
  line-height: 1.55;
}
.foot__meta p {
  margin: 0.1rem 0;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding-top: clamp(2rem, 6vw, 4rem);
    gap: clamp(1.5rem, 4vw, 3rem);
  }
  .hero__art {
    order: -1;
    min-height: 0;
  }
  .hero__media {
    width: min(78%, 340px);
  }
  .hero__meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .about__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(1.5rem, 5vw, 3rem);
  }
  .services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .experience__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .reviews__featured {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
  }
  .reviews__strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .review-card__media {
    aspect-ratio: 16 / 10;
  }
  .visit__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .visit__card {
    order: -1;
  }
  .visit__blocks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .foot__inner {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
    row-gap: 2.2rem;
  }
  .foot__brand {
    align-items: center;
    justify-self: center;
  }
  .foot__motto {
    text-align: center;
  }
  .foot__meta {
    justify-self: center;
    text-align: center;
  }
}

@media (max-width: 640px) {
  :root {
    --radius-lg: 22px;
  }
  .nav__links,
  .nav__cta {
    display: none;
  }
  .nav__toggle {
    display: block;
  }
  .nav__inner {
    padding-block: 0.85rem;
    gap: 1rem;
  }
  .brand--sm {
    gap: 0.7rem;
  }
  .brand--sm .brand__logo {
    width: 42px;
    height: 42px;
  }
  .brand--sm .brand__name {
    font-size: 1.18rem;
  }

  /* Keep the meta row as three slim columns — no awkward orphan. */
  .hero__meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    padding-top: 1.25rem;
  }
  .hero__meta dt {
    font-size: 0.62rem;
    letter-spacing: 0.18em;
  }
  .hero__meta dd {
    font-size: 0.98rem;
  }
  .hero__meta dd span {
    font-size: 0.72rem;
  }

  .hero__title {
    font-size: clamp(2.6rem, 13vw, 3.6rem);
    line-height: 1.05;
  }
  .hero__lede {
    font-size: 1.02rem;
  }
  .hero__media {
    width: min(76%, 300px);
  }
  .hero__photo {
    border-radius: 170px 170px 22px 22px;
  }
  .hero__mark {
    width: 62px;
    height: 62px;
    border-width: 5px;
    bottom: -8px;
    right: -8px;
  }
  .hero__mark svg {
    width: 36px;
    height: 36px;
  }
  .hero__sticker {
    top: -12px;
    left: -12px;
    padding: 0.45rem 0.75rem 0.55rem;
  }
  .hero__sticker span {
    font-size: 0.55rem;
  }
  .hero__sticker strong {
    font-size: 1.05rem;
  }
  .hero__cta {
    gap: 0.6rem;
    margin-bottom: 2rem;
  }
  .hero__cta .btn--solid,
  .hero__cta .btn--link {
    font-size: 0.88rem;
  }

  /* Portrait: slightly smaller so the badge has breathing room */
  .portrait {
    width: min(82%, 320px);
  }
  .portrait::after {
    width: 68px;
    height: 68px;
    top: -16px;
    left: -8px;
  }
  .portrait__badge {
    width: 88px;
    height: 88px;
    font-size: 1.55rem;
    bottom: -8px;
    right: -8px;
    border-width: 5px;
  }
  .portrait__badge small {
    font-size: 0.56rem;
    letter-spacing: 0.22em;
  }

  /* Stack all grids to 1-col */
  .services__grid,
  .experience__grid,
  .reviews__featured,
  .reviews__strip {
    grid-template-columns: minmax(0, 1fr);
  }
  .reviews__featured {
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
  .review-card__media {
    aspect-ratio: 4 / 3;
  }
  .review-card blockquote p {
    font-size: 1.05rem;
  }
  .review-card__body {
    padding: 1.2rem 1.25rem 1.1rem;
  }
  .review-card--quote {
    padding: 1.3rem 1.35rem 1.2rem;
  }
  .visit__blocks {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.4rem;
  }
  .visit__booking {
    padding: 0.85rem 1rem;
    font-size: 0.94rem;
  }
  .mapcard {
    transform: rotate(0);
    max-width: none;
  }
  .mapcard__top {
    aspect-ratio: 3 / 2;
  }
  .mapcard__body {
    padding: 1rem 1.1rem 1.15rem;
    column-gap: 0.8rem;
  }
  .mapcard__name {
    font-size: 1.2rem;
  }
  .mapcard__addr {
    font-size: 0.9rem;
  }
  .mapcard__directions {
    font-size: 0.82rem;
  }

  /* Tighten section rhythm */
  .about,
  .services,
  .reviews,
  .visit {
    padding-block: clamp(2.5rem, 9vw, 4rem);
  }
  .experience {
    padding-block: clamp(3rem, 10vw, 4.5rem);
  }

  /* Compact horizontal service cards on mobile */
  .services__grid {
    gap: 0.8rem;
  }
  .card {
    flex-direction: row;
    align-items: stretch;
  }
  .card__media {
    flex: 0 0 40%;
    max-width: 148px;
    /* Release the square ratio so the media stretches to match the
       card's actual height when text is tall — otherwise Safari pins
       the cross-axis to 148px and the text column overflows. */
    aspect-ratio: auto;
    min-height: 148px;
  }
  .card__media::after {
    /* vertical gradient on the inside edge for depth */
    background: linear-gradient(
      90deg,
      rgba(46, 42, 36, 0) 60%,
      rgba(46, 42, 36, 0.08) 100%
    );
  }
  .card__body {
    padding: 0.9rem 1rem 0.95rem 1.05rem;
    gap: 0.25rem;
    /* "safe center" centers the text when there's room but falls back
       to flex-start when content would overflow — prevents Safari from
       clipping the top of tall text behind the card's overflow:hidden. */
    justify-content: safe center;
    min-width: 0;
  }
  .card__icon {
    /* tiny inline mark instead of the overlapping chip */
    margin: 0 0 0.15rem;
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    justify-self: start;
    place-items: start;
    display: none;
  }
  .card h3 {
    font-size: 1.18rem;
    margin: 0 0 0.2rem;
    line-height: 1.15;
  }
  .card p {
    font-size: 0.92rem;
    line-height: 1.45;
    color: var(--ink-soft);
  }
  .card:hover .card__media img {
    transform: none;
  }
  .review-card--quote blockquote p {
    font-size: 0.98rem;
  }

  /* Marquee — a touch smaller so it doesn’t shout */
  .marquee__track {
    font-size: 1.1rem;
    gap: 1.6rem;
  }

  /* Footer nav: wrap + breathe */
  .foot__nav {
    flex-wrap: wrap;
    gap: 0.9rem 1.2rem;
  }
}

@media (max-width: 380px) {
  .hero__meta dd {
    font-size: 0.92rem;
  }
  .hero__cta {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__cta .btn {
    justify-content: center;
  }
  .hero__cta .btn--link {
    text-align: left;
  }
  .visit__cta {
    flex-direction: column;
    align-items: stretch;
  }
  .visit__cta .btn {
    justify-content: center;
  }
}

/* ---------- reveal on scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
  /* Keep the decorative marquee drifting — it's a subtle, low-stakes
     peripheral motion that shouldn't be suppressed by the blanket rule
     above. If this becomes a complaint, remove this block. */
  .marquee__track {
    animation-duration: 42s !important;
    animation-iteration-count: infinite !important;
  }
}
