/* ── EELEGANT EVENTS — base.css ─────────────────────────────────────────── */

/* Accessibility: visually hidden but readable by screen readers & crawlers */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── Local fonts ─────────────────────────────────────────────────────────── */

@font-face {
  font-family: 'Makcasa';
  src: url('../fonts/Makcasa-Regular.ttf') format('truetype'),
       url('../fonts/Makcasa-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --champagne:   #F7F6F2;
  --ivory:       #F9F9F5;
  --noir:        #272727;
  --ink:         #332017;
  --rose:        #D3CEC2;
  --emerald:     #0F3D2E;
  --emerald-dim: #0A2E22;
  --hairline:    rgba(51,32,23,.12);
  --hairline-lt: rgba(249,249,245,.15);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', system-ui, sans-serif;
  --font-script:  'Pinyon Script', cursive;

  --ease-out:  cubic-bezier(.22,.68,0,1.2);
  --ease-soft: cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: auto; }

body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Typography scale ─────────────────────────────────────────────────────── */

.t-eyebrow {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: .65;
}

.t-display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  color: var(--noir);
}

.t-display em { font-style: italic; }

.t-body {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--ink);
}

.t-script {
  font-family: var(--font-script);
  color: var(--emerald);
}

/* ── Layout primitives ────────────────────────────────────────────────────── */

.container {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: clamp(24px, 5vw, 80px);
}

.hairline {
  border: none;
  border-top: 1px solid var(--hairline);
  margin: 0;
}

/* ── Buttons ──────────────────────────────────────────────────────────────── */

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  border-radius: 50px;
  padding: 14px 40px;
  transition: background .3s, color .3s;
}

.btn-pill--light {
  color: var(--ivory);
  border-color: rgba(249,249,245,.5);
}
.btn-pill--light:hover { background: var(--ivory); color: var(--noir); }

.btn-pill--dark {
  color: var(--noir);
  border-color: rgba(39,39,39,.35);
}
.btn-pill--dark:hover { background: var(--noir); color: var(--ivory); }

.btn-pill--emerald {
  color: var(--ivory);
  background: var(--emerald);
  border-color: var(--emerald);
}
.btn-pill--emerald:hover { background: var(--emerald-dim); border-color: var(--emerald-dim); }

.btn-text {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  display: inline-block;
  transition: opacity .25s;
}
.btn-text:hover { opacity: .6; }

/* ── Reveal system ────────────────────────────────────────────────────────── */

[data-anim] { will-change: transform, opacity; }

.js-loading [data-anim="fade-up"] {
  opacity: 0;
  transform: translateY(48px);
}

.js-loading [data-anim="fade"] {
  opacity: 0;
}

.js-loading [data-anim="clip-up"] {
  clip-path: inset(100% 0 0 0);
}

/* ── prefers-reduced-motion ───────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  [data-anim] {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
}

