/* --- Fonts --- */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-v21-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-v21-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Work Sans";
  src: url("../fonts/work-sans-v24-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Work Sans";
  src: url("../fonts/work-sans-v24-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* --- Design tokens: Custom variables --- */
:root {
  --bg: #120d10;
  --text: #ede3d9;
  --text-muted: #a8949c;
  --crimson: #7a1220;
  --crimson-hover: #8f1727;
  --gold: #b08d3f;

  --font-display: "Cormorant Garamond", serif;
  --font-body: "Work Sans", sans-serif;
}

/* --- Reset: Standardize across browsers --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
}

/* --- Generic Main Container --- */
.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Header --- */
.site-header {
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(176, 141, 63, 0.15);
}

.site-header .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.wordmark {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.02em;
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  margin-left: 2rem;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

nav a:first-child {
  margin-left: 0;
}

nav a:hover,
nav a:focus-visible {
  color: var(--gold);
}

/* --- Hero: Main Content Section --- */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 0;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.75rem, 6vw, 5rem);
  line-height: 1.05;
  margin-bottom: 1.25rem;
}

.hero-tagline {
  max-width: 42ch;
  margin: 0 auto 2rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.hero-link {
  display: inline-block;
  color: var(--bg);
  background: var(--crimson);
  padding: 0.85rem 2rem;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border-radius: 2px;
  transition: background 0.2s ease;
}

.hero-link:hover,
.hero-link:focus-visible {
  background: var(--crimson-hover);
}

/* --- Footer --- */
.site-footer {
  border-top: 1px solid rgba(176, 141, 63, 0.15);
  padding: 2rem 0;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.social-links a {
  color: var(--text-muted);
  text-decoration: none;
  margin-left: 1.5rem;
}

.social-links a:first-child {
  margin-left: 0;
}

.social-links a:hover,
.social-links a:focus-visible {
  color: var(--gold);
}

/* --- Accessibility & responsiveness --- */
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

@media (max-width: 600px) {
  nav a {
    margin-left: 1rem;
    font-size: 0.85rem;
  }
}