/* Syrelune Studios — static landing page. Palette kept from the
   approved studio colors (cream, gold, lavender on night navy).
   No logo image, moons, crescents, stars, or occult marks. */

:root {
  --bg: #0E1020;
  --bg-elevated: #16182B;
  --text: #F3EEE3;
  --text-secondary: #B9B4C9;
  --accent: #E8C987;
  --accent-bright: #F5DFA6;
  --accent-deep: #B8913F;
  --on-accent: #0E1020;
  --border: rgba(243, 238, 227, 0.12);
  --glow: rgba(232, 201, 135, 0.14);
  --header-h: 80px;
  --max: 1040px;
  --radius: 14px;
  --font-display: Palatino, "Palatino Linotype", "Iowan Old Style", "Times New Roman", serif;
  --font-body: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Warm studio light — a soft gold wash, not a night sky or moon. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 46% at 50% 0%, var(--glow) 0%, transparent 64%),
    linear-gradient(180deg, #121428 0%, var(--bg) 42%, var(--bg) 100%);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 20;
  padding: 0.7rem 1rem;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
}

.skip-link:focus {
  top: 0.75rem;
}

header, main, footer {
  position: relative;
  z-index: 1;
}

.inner {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

header {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: min(var(--max), calc(100% - 2.5rem));
}

.brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.15rem;
  text-decoration: none;
  color: inherit;
  min-height: 48px;
  line-height: 1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text);
}

.brand-sub {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--accent);
}

nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 500;
  border-radius: 10px;
}

nav a:hover { color: var(--text); }

.brand:focus-visible,
nav a:focus-visible,
.skip-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.hero {
  padding: 5.5rem 0 4.25rem;
  text-align: center;
}

.wordmark {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}

.wordmark-name {
  font-family: var(--font-display);
  font-size: clamp(3.15rem, 9vw, 6.4rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, var(--accent-bright) 0%, var(--accent) 48%, var(--accent-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* Fallback if background-clip text is unsupported */
}

@supports not (background-clip: text) {
  .wordmark-name { color: var(--accent); background: none; }
}

.wordmark-sub {
  font-family: var(--font-body);
  font-size: clamp(0.78rem, 1.7vw, 0.95rem);
  font-weight: 600;
  letter-spacing: 0.46em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding-bottom: 1.35rem;
  border-bottom: 2px solid var(--accent);
}

.tagline {
  margin: 1.85rem auto 0;
  max-width: 34rem;
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--text);
}

.work,
.contact {
  padding: 0 0 4.5rem;
  text-align: center;
}

.work h2,
.contact h2 {
  margin: 0 0 0.9rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}

.work-line,
.contact-copy {
  margin: 0 auto;
  max-width: 36rem;
  color: var(--text);
  font-size: 1.125rem;
  line-height: 1.55;
}

.contact-copy {
  color: var(--text-secondary);
}

.contact-action {
  margin: 1.5rem 0 0;
}

.btn-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.7rem 1.4rem;
  border: 1px solid var(--accent-deep);
  border-radius: 999px;
  background: var(--bg-elevated);
  color: var(--accent);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: default;
}

footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
}

.footer-inner {
  padding: 1.5rem 0 1.75rem;
  text-align: center;
}

footer p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

@media (max-width: 640px) {
  .inner,
  .header-inner {
    width: min(var(--max), calc(100% - 1.75rem));
  }

  .hero {
    padding: 3.5rem 0 3rem;
  }

  .header-inner {
    gap: 0.75rem;
  }

  nav a {
    padding: 0 0.55rem;
  }

  .work,
  .contact {
    padding-bottom: 3.25rem;
  }
}
