/* ==========================================================================
   THE VISITATION — DESIGN TOKENS
   ========================================================================== */

:root {
  /* Typography */
  --font-heading: 'Cinzel', serif;
  --font-body: 'Montserrat', sans-serif;

  /* Primary Colours */
  --matte-black: #0a0a0a;
  --charcoal: #1b1b1b;
  --off-white: #f4f1ea;

  /* Supporting Colours (used sparingly, mostly via photography) */
  --warm-amber: #b8894c;
  --natural-wood: #6e5138;
  --forest-green: #2e3b30;
  --muted-blue-grey: #5c6670;

  /* Semantic */
  --bg: var(--matte-black);
  --bg-elevated: var(--charcoal);
  --text-primary: var(--off-white);
  --text-secondary: rgba(244, 241, 234, 0.66);
  --text-muted: rgba(244, 241, 234, 0.44);
  --border-subtle: rgba(244, 241, 234, 0.14);
  --border-strong: rgba(244, 241, 234, 0.28);
  --accent: var(--warm-amber);

  /* Buttons */
  --btn-bg: var(--charcoal);
  --btn-bg-hover: #2a2a2a;
  --btn-text: var(--off-white);
  --btn-radius: 8px;

  /* Radius */
  --radius: 8px;

  /* Spacing scale */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 28px;
  --space-4: 44px;
  --space-5: 64px;
  --space-6: 96px;
  --space-7: 140px;
  --space-8: 190px;
  --space-9: 240px;

  /* Layout */
  --content-max: 1240px;
  --content-narrow: 760px;
  --form-max: 760px;

  /* Motion */
  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 280ms;
  --dur-floating: 460ms;
  --dur-reveal: 1300ms;
  --dur-accordion: 520ms;
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

a:visited {
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
}

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

.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;
}
