/* ---------- tokens ---------- */
:root {
  --bg: #211D1A;
  --bg-soft: #29241f;
  --paper: #EDE6D8;
  --paper-dim: #b8b0a2;
  --gold: #E3A54B;
  --gold-dim: #a8681e;
  --border: rgba(237, 230, 216, 0.1);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--paper);
  font-family: "Adwaita Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ---------- subtle grain overlay ---------- */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.05;
  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");
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  background: linear-gradient(to bottom, rgba(33, 29, 26, 0.95) 0%, rgba(33, 29, 26, 0.7) 60%, transparent 100%);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-mark {
  border-radius: 7px;
  display: block;
  transition: transform 0.25s var(--ease);
}

.brand:hover .brand-mark {
  transform: rotate(-8deg) scale(1.05);
}

.brand-name {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.header-link {
  font-size: 0.9rem;
  color: var(--paper-dim);
  position: relative;
  padding-bottom: 2px;
  transition: color 0.2s var(--ease);
}

.header-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.2s var(--ease);
}

.header-link:hover {
  color: var(--paper);
}

.header-link:hover::after {
  width: 100%;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 4rem;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(70vw, 800px);
  height: min(70vw, 800px);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(227, 165, 75, 0.16) 0%, rgba(227, 165, 75, 0.08) 35%, rgba(227, 165, 75, 0) 65%);
  pointer-events: none;
  animation: pulse-glow 8s ease-in-out infinite;
  will-change: transform, opacity;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-wordmark {
  width: min(90vw, 480px);
  height: auto;
  display: block;
  margin: 0 auto;
}

.hero-tagline {
  margin: 1.75rem 0 0;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: var(--paper-dim);
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* ---------- shared section layout ---------- */
section {
  padding: 8rem 1.5rem;
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

/* ---------- about ---------- */
.about {
  border-top: 1px solid var(--border);
}

.about-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.about-text {
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  line-height: 1.6;
  color: var(--paper);
  font-weight: 400;
  margin: 0;
}

/* ---------- socials ---------- */
.socials {
  border-top: 1px solid var(--border);
}

.socials-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.socials-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  margin: 0 0 3rem;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 2.25rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-soft);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}

a.social-card:hover {
  transform: translateY(-6px);
  border-color: rgba(227, 165, 75, 0.4);
  background: #2f2922;
}

.social-icon {
  width: 28px;
  height: 28px;
  color: var(--paper);
  transition: color 0.2s var(--ease), transform 0.25s var(--ease);
}

a.social-card:hover .social-icon {
  color: var(--gold);
  transform: scale(1.1);
}

.social-label {
  font-weight: 600;
  font-size: 1.05rem;
}

.social-handle {
  font-size: 0.85rem;
  color: var(--paper-dim);
}

/* ---------- footer ---------- */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 2.5rem 1.5rem 3rem;
  font-size: 0.85rem;
  color: var(--paper-dim);
  border-top: 1px solid var(--border);
}

.footer-mark {
  opacity: 0.7;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .hero-glow {
    animation: none;
  }
}

