/* ============================================
   TOKENS: East Meridian, light ocean theme
   ============================================ */
:root {
  --bg: #F4F6F5;
  --bg-alt: #E8ECEB;
  --surface: #FFFFFF;
  --surface-2: #EEF2F1;
  --text: #10151C;
  --text-soft: #55606B;
  --ocean: #1B6E8C;
  --ocean-deep: #124F63;
  --ocean-bright: #2394BC;
  --ocean-glow: rgba(27, 110, 140, 0.10);
  --brass: #A9843F;
  --brass-deep: #8C6E32;
  --brass-bright: #C79B4C;
  --coral: #C2603F;
  --coral-deep: #9C4A2F;
  --coral-glow: rgba(194, 96, 63, 0.10);
  --sage: #4F7A5B;
  --sage-deep: #3B5C44;
  --sage-glow: rgba(79, 122, 91, 0.10);
  --line: rgba(16, 21, 28, 0.12);
  --line-soft: rgba(16, 21, 28, 0.08);

  --contact-bg: #0E1620;
  --contact-surface: #16212F;
  --contact-text: #F4F6F5;
  --contact-text-soft: rgba(244, 246, 245, 0.68);
  --contact-line: rgba(244, 246, 245, 0.14);

  --font-display: "Fraunces", serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --radius-s: 6px;
  --radius-m: 12px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.04;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }
img, svg { display: block; max-width: 100%; }

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

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.btn:active { transform: scale(0.97); }
.btn-block { width: 100%; }
.btn-small { padding: 11px 20px; font-size: 13.5px; }

.btn-ocean { background: var(--ocean); color: #F4F6F5; }
.btn-ocean:hover { background: var(--ocean-deep); }

.btn-gold { background: var(--brass); color: #1A140A; }
.btn-gold:hover { background: var(--brass-deep); color: #F4F6F5; }

.btn-invert { background: var(--text); color: var(--bg); }
.btn-invert:hover { background: var(--ocean); color: #F4F6F5; }

.btn-outline { background: transparent; border-color: var(--text); color: var(--text); }
.btn-outline:hover { background: var(--text); color: var(--bg); }
