/* =========================
   Base / Reset
========================= */
@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600;9..144,700&family=Sora:wght@300;400;500;600;700&display=swap");

:root {
  --bg: #f6f1ea;
  --nav-bg: rgba(253, 250, 246, 0.9);
  --text: #1f1c16;
  --ink: #1f1c16;
  --muted: #6b625a;
  --accent: #d4684f;
  --tag-bg: #e6e0d8;
  --line: rgba(31, 28, 22, 0.18);
  --surface: #ffffff;
  --card: #ffffff;
  --font-sans: "Sora", "Avenir", "Segoe UI", sans-serif;
  --font-serif: "Fraunces", "Georgia", serif;

  --container: 1200px;
  --inner: 1040px;

  --radius-lg: 24px;
  --radius-md: 16px;

  --shadow: 0 18px 50px rgba(15, 12, 8, 0.12);
  --border: 1px solid rgba(31, 28, 22, 0.1);

  --nav-height: 72px;
}

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

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: radial-gradient(1200px 600px at 10% 0%, #fff5ea 0%, rgba(255,255,255,0) 60%),
    radial-gradient(900px 500px at 90% 10%, #f1efe6 0%, rgba(255,255,255,0) 55%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
}

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

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

/* =========================
   Shared section title
========================= */
.section-title {
  display: flex;
  align-items: center;
  gap: 16px;
}

.section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.section-title__text {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text);
  font-family: var(--font-serif);
}

/* =========================
   Layout helpers
========================= */
.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 64px 0;
}

/* Push main content below fixed nav */
main {
  padding-top: var(--nav-height);
}

/* =========================
   Header / Nav
========================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--nav-bg);
  border-bottom: var(--border);
  backdrop-filter: blur(12px);
}

.nav {
  height: var(--nav-height);
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.6px;
  font-size: 26px;
  color: var(--text);
  font-family: "Fraunces", "Georgia", serif;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-link {
  font-weight: 600;
  letter-spacing: 0.6px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  border: 1px solid rgba(31, 28, 22, 0.12);
  text-transform: uppercase;
  font-size: 12px;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.55);
}

/* =========================
   Responsive (global)
========================= */
@media (max-width: 860px) {
  .brand {
    font-size: 24px;
  }
}

@media (max-width: 420px) {
  .nav {
    gap: 14px;
  }
  .nav-links {
    gap: 10px;
  }
  .nav-link {
    padding: 8px 10px;
  }
}
