/* ==========================================================
   Base: tokens, reset, typography, shared components
   ========================================================== */
:root {
  --ink: #103155;
  --ink-soft: rgba(16, 49, 85, 0.7);
  --ink-faint: rgba(16, 49, 85, 0.16);
  --accent: #a3244a;
  --accent-deep: #8d1738;
  --accent-soft: #8fd3d1;
  --sea: #1b6f78;
  --sea-soft: #9fc3d6;
  --paper: #ffffff;
  --sand: #eef1f5;
  --sand-deep: #dde4ec;
  --white: #ffffff;

  --font-display: "Josefin Sans", "Futura", "Helvetica Neue", sans-serif;
  --font-script: "Yellowtail", "Brush Script MT", cursive;
  --font-body: "Josefin Sans", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 58px);
  --section-pad: clamp(72px, 10vw, 140px);
  --radius: 4px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 88px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 80px;
}

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

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

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

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

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10000;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-160%);
  transition: transform 0.2s;
}

.skip-link:focus {
  transform: none;
}

/* ---------- Type helpers ---------- */
.sw-kicker {
  color: var(--accent);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  line-height: 1.4;
  text-transform: uppercase;
}

.sw-section-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.6vw, 60px);
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-transform: uppercase;
}

.sw-script-word {
  display: inline-block;
  margin: 0 -0.04em;
  color: var(--accent);
  font-family: var(--font-script);
  font-size: 1.12em;
  font-style: normal;
  letter-spacing: 0;
  line-height: 0.8;
  text-transform: none;
  transform: rotate(-4deg);
}

.sw-section-head {
  display: grid;
  justify-items: center;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto clamp(40px, 6vw, 72px);
  padding: 0 var(--gutter);
  text-align: center;
}

.sw-section-lede {
  max-width: 560px;
  color: var(--ink-soft);
  font-size: 14px;
}

.sw-price {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.sw-link {
  color: var(--accent-deep);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

/* ---------- Buttons ---------- */
.sw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.sw-btn:hover {
  transform: translateY(-1px);
}

.sw-btn--gold {
  background: var(--accent);
  color: var(--white);
}

.sw-btn--gold:hover {
  background: var(--accent-deep);
}

.sw-btn--outline {
  border-color: var(--ink-faint);
  color: var(--ink);
}

.sw-btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
}

.sw-btn--ghost {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}

.sw-btn--ghost:hover {
  background: var(--white);
  color: var(--ink);
}

/* ---------- Tags ---------- */
.sw-tag {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  vertical-align: middle;
}

.sw-tag--vg {
  background: #dfeedd;
  color: #3c6b3a;
}

/* ---------- Scroll reveal ---------- */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

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

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