:root {
  --cream: #fbf7f1;
  --cream-2: #f4ede2;
  --sand: #e9dfcf;
  --ink: #1d2730;
  --ink-2: #44515c;
  --muted: #7b858d;
  --line: #e4dccf;
  --slate: #33475a;
  --sage: #8fae9a;
  --sage-deep: #4f7461;
  --mint: #d8ebdf;
  --terracotta: #c4613d;
  --butter: #f3e2a2;
  --white: #fff;

  --font-display: 'Inter Tight', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-ui: 'Inter Tight', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius-sm: 6px;
  --radius: 14px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(29, 39, 48, 0.06);
  --shadow: 0 18px 50px -18px rgba(29, 39, 48, 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --container: 1440px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 72px;
  --announce-h: 36px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: auto;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 300;
  font-style: normal;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body,
body * {
  font-style: normal !important;
}

body.is-locked {
  overflow: hidden;
}

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

img {
  height: auto;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--slate);
  outline-offset: 3px;
}

::selection {
  background: var(--butter);
  color: var(--ink);
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(28px, 4vw, 56px);
}

.section--tight {
  padding-block: clamp(16px, 2.5vw, 28px);
}

/* Keep gaps between stacked sections compact (avoid double padding). */
.section + .section,
.section--tight + .section,
.section + .section--tight {
  padding-top: clamp(16px, 2.5vw, 28px);
}

/* Typography */
.display {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

em,
i,
.display em,
.h2 em {
  font-weight: inherit;
}

.h1 {
  font-size: clamp(44px, 7.5vw, 112px);
}

.h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(32px, 4.4vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.lead {
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--ink-2);
  max-width: 52ch;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(16px, 2.5vw, 28px);
}

.section-head__text {
  display: grid;
  gap: 10px;
}

.section-head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-head--center .lead {
  margin-inline: auto;
}

/* Buttons */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--cream);
  --btn-fill: var(--slate);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 30px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  overflow: hidden;
  transition: color 0.45s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--btn-fill);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
}

.btn:hover::before {
  transform: translateY(0);
}

.btn:active {
  transform: scale(0.97);
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.4s var(--ease);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn--light {
  --btn-bg: var(--cream);
  --btn-fg: var(--ink);
  --btn-fill: var(--butter);
}

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-fill: var(--ink);
  border: 1px solid var(--ink);
}

.btn--outline:hover {
  color: var(--cream);
}

.btn--ghost-light {
  --btn-bg: transparent;
  --btn-fg: var(--cream);
  --btn-fill: var(--cream);
  border: 1px solid rgba(251, 247, 241, 0.7);
}

.btn--ghost-light:hover {
  color: var(--ink);
}

.btn--block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.45;
  pointer-events: none;
}

.link-underline {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-bottom: 4px;
}

.link-underline::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}

.link-underline:hover::after {
  transform: scaleX(0);
  transform-origin: left;
  animation: underline-in 0.5s 0.25s var(--ease) forwards;
}

@keyframes underline-in {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.icon-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  transition: background 0.3s var(--ease);
}

.icon-btn:hover {
  background: rgba(29, 39, 48, 0.06);
}

.icon-btn svg {
  width: 21px;
  height: 21px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.pill--sale {
  background: var(--terracotta);
  color: var(--white);
}

.pill--soft {
  background: var(--mint);
  color: var(--sage-deep);
}

/* Reveal states (animations.js toggles .is-in) */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
  transition-delay: calc(var(--d, 0) * 1ms);
}

[data-reveal='fade'] {
  transform: none;
}

[data-reveal='scale'] {
  transform: scale(0.94);
}

[data-reveal='left'] {
  transform: translateX(-40px);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* The wipe is an overlay rather than clip-path on the element itself:
   IntersectionObserver never reports a fully clip-path-hidden target as visible. */
[data-reveal-img] {
  isolation: isolate;
}

[data-reveal-img]::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: 5;
  background: var(--reveal-bg, var(--cream));
  transform-origin: 50% 0;
  transition: transform 1.3s var(--ease-in-out);
  transition-delay: calc(var(--d, 0) * 1ms);
  pointer-events: none;
}

[data-reveal-img].is-in::before {
  transform: scaleY(0);
}

[data-reveal-img] img {
  transform: scale(1.25);
  transition: transform 1.6s var(--ease);
  transition-delay: calc(var(--d, 0) * 1ms);
}

[data-reveal-img].is-in img {
  transform: scale(1);
}

.split-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
}

.split-word > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s var(--ease);
  transition-delay: calc(var(--i, 0) * 55ms);
}

[data-split].is-in .split-word > span {
  transform: none;
}

.split-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}

.split-line > span {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 1.1s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms + var(--d, 0) * 1ms);
}

.is-in .split-line > span,
.split-line.is-in > span {
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
  }

  [data-reveal],
  [data-reveal-img]::before {
    display: none;
  }

  [data-reveal-img] img,
  .split-word > span,
  .split-line > span {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
}
