/* ========================================================================== */
/* Frø — Aurora Frost stylesheet                                              */
/* Brand spec: docs/superpowers/specs/2026-05-03-fro-brand-identity.md         */
/* ========================================================================== */

:root {
  /* Aurora Frost neutral spine — locked across the suite */
  --ink:      #0a0e14;
  --deep:     #131a24;
  --aurora:   #7fc8e8;
  --frost:    #9aafc8;
  --bone:     #f0ede4;
  --oak:      #2d2418;
  --oak-deep: #1a1408;
  --oak-rim:  #3a2818;
  --mid:      #6a85a0;

  /* Family secondary accents */
  --ember:     #e8a47f;  /* Ignis */
  --fern:      #9ec495;  /* Frondis */
  --vesper:    #a89cd8;  /* Echotis */
  --mist:      #b8d4d8;  /* Ventus */
  --rust:      #c47a5a;  /* Rudera */
  --moonstone: #cfc4e0;  /* Somnium */

  /* Spacing scale */
  --rail-width: 14px;
  --gutter: clamp(20px, 4vw, 48px);
  --max-content: 1180px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 300;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body { overflow-x: hidden; }

a { color: inherit; text-decoration: none; transition: color 0.18s ease; }
a:hover { color: var(--aurora); }

em { font-style: italic; }

code {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 0.92em;
  color: var(--aurora);
  background: rgba(127, 200, 232, 0.08);
  padding: 0.1em 0.32em;
  border-radius: 2px;
}

/* ========================================================================== */
/* Vertical oak rails — left + right edges, full height of viewport            */
/* ========================================================================== */
.oak-rail {
  position: fixed;
  top: 0;
  bottom: 0;
  width: var(--rail-width);
  z-index: 50;
  pointer-events: none;
}

.oak-rail--left {
  left: 0;
  background: linear-gradient(90deg, var(--oak-deep) 0%, var(--oak) 100%);
  border-right: 1px solid var(--oak-rim);
}

.oak-rail--right {
  right: 0;
  background: linear-gradient(270deg, var(--oak-deep) 0%, var(--oak) 100%);
  border-left: 1px solid var(--oak-rim);
}

/* ========================================================================== */
/* Animated aurora canvas — sits behind everything                             */
/* ========================================================================== */
#aurora-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

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

/* ========================================================================== */
/* Site header                                                                 */
/* ========================================================================== */
.site-header {
  padding: 22px var(--gutter);
}

.site-header__inner {
  max-width: var(--max-content);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.wordmark__name {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 200;
  font-size: 28px;
  letter-spacing: 0.32em;
  color: var(--bone);
}

.wordmark__origin {
  font-size: 9px;
  letter-spacing: 0.32em;
  color: var(--mid);
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--frost);
}

@media (max-width: 600px) {
  .nav { gap: 14px; }
  .nav a { font-size: 10px; letter-spacing: 0.18em; }
}

/* ========================================================================== */
/* Hero                                                                        */
/* ========================================================================== */
.hero {
  padding: 80px var(--gutter) 120px;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 60px;
  align-items: center;
  max-width: var(--max-content);
  margin: 0 auto;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 40px var(--gutter) 80px;
    gap: 40px;
  }
  .hero__bloom { justify-self: center; }
}

.hero__bloom {
  width: 360px;
  height: 360px;
  position: relative;
}

#hero-bloom { width: 100%; height: 100%; display: block; }

.hero__copy {
  max-width: 600px;
}

.hero__eyebrow {
  font-size: 10px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--mid);
  margin: 0 0 20px;
}

.hero__lead {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: clamp(28px, 4.4vw, 50px);
  line-height: 1.15;
  letter-spacing: -0.005em;
  margin: 0 0 28px;
  color: var(--bone);
}

.hero__lead em {
  font-style: italic;
  color: var(--aurora);
}

.hero__subline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 17px;
  color: var(--frost);
  max-width: 520px;
  margin: 0;
}

.accent-aurora    { color: var(--aurora); }
.accent-ember     { color: var(--ember); }
.accent-vesper    { color: var(--vesper); }
.accent-rust      { color: var(--rust); }
.accent-moonstone { color: var(--moonstone); }

/* ========================================================================== */
/* Section headings                                                            */
/* ========================================================================== */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.section-head__eyebrow {
  font-size: 10px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--aurora);
  margin: 0 0 14px;
}

.section-head__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 42px);
  margin: 0 0 18px;
  color: var(--bone);
}

.section-head__subtitle {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 17px;
  color: var(--frost);
  margin: 0;
}

/* ========================================================================== */
/* Specimens — the field guide                                                 */
/* ========================================================================== */
.specimens {
  padding: 40px var(--gutter) 100px;
  max-width: var(--max-content);
  margin: 0 auto;
}

.specimen-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 44px;
}

@media (max-width: 800px) {
  .specimen-grid { grid-template-columns: 1fr; }
}

.specimen {
  position: relative;
  background: linear-gradient(180deg, rgba(10, 14, 20, 0.72) 0%, rgba(19, 26, 36, 0.72) 100%);
  border: 1px solid rgba(154, 175, 200, 0.10);
  padding: 28px 28px 24px;
  transition: transform 0.32s cubic-bezier(0.2, 0.7, 0.2, 1),
              border-color 0.32s ease;
  overflow: hidden;
}

.specimen::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 0%, var(--accent, var(--aurora)) 0%, transparent 60%);
  opacity: 0.08;
  pointer-events: none;
  transition: opacity 0.32s ease;
}

.specimen:hover {
  transform: translateY(-2px);
  border-color: rgba(154, 175, 200, 0.22);
}

.specimen:hover::before { opacity: 0.14; }

/* Feature card — spans full grid width with internal 2-column layout */
.specimen--feature {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  padding: 36px 36px 32px;
}

.specimen--feature .specimen__head {
  margin-bottom: 0;
  border-right: 1px solid rgba(154, 175, 200, 0.10);
  padding-right: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.specimen--feature .specimen__body {
  border-top: none;
  padding-top: 0;
}

@media (max-width: 800px) {
  .specimen--feature {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 28px 28px 24px;
  }
  .specimen--feature .specimen__head {
    border-right: none;
    border-bottom: 1px solid rgba(154, 175, 200, 0.10);
    padding-right: 0;
    padding-bottom: 18px;
  }
}

.specimen--reverberans { --accent: var(--aurora); }
.specimen--ignis       { --accent: var(--ember); }
.specimen--echotis     { --accent: var(--vesper); }
.specimen--rudera      { --accent: var(--rust); }
.specimen--somnium     { --accent: var(--moonstone); }

.specimen__head {
  margin-bottom: 18px;
}

.specimen__index {
  display: block;
  font-size: 9px;
  letter-spacing: 0.36em;
  color: var(--mid);
  margin-bottom: 14px;
}

.specimen__name {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 200;
  font-size: 38px;
  letter-spacing: 0.20em;
  margin: 0 0 6px;
  color: var(--bone);
}

.specimen__binomial {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 15px;
  margin: 0 0 16px;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.specimen__family {
  font-size: 9px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--mid);
  margin: 0;
}

.specimen__body {
  border-top: 1px solid rgba(154, 175, 200, 0.10);
  padding-top: 18px;
}

.specimen__copy {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--frost);
  margin: 0 0 18px;
}

.specimen__specimens {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.specimen__specimens li {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--accent);
  padding: 4px 10px;
  border: 1px solid rgba(154, 175, 200, 0.18);
  border-radius: 2px;
}

.specimen__formats {
  font-size: 9px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--mid);
  margin: 0;
}

.bundle-note {
  text-align: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 17px;
  color: var(--frost);
}

.bundle-note strong {
  color: var(--bone);
  font-weight: 400;
  letter-spacing: 0.04em;
}

/* ========================================================================== */
/* Atelier — From the Atelier note                                            */
/* ========================================================================== */
.atelier {
  padding: 80px var(--gutter);
  background: linear-gradient(180deg,
              transparent 0%,
              rgba(10, 14, 20, 0.65) 30%,
              rgba(10, 14, 20, 0.65) 70%,
              transparent 100%);
}

.atelier__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.atelier__inner .section-head__eyebrow { margin-bottom: 28px; }

.atelier__note {
  margin: 0;
  border-left: 2px solid var(--aurora);
  padding-left: 28px;
  text-align: left;
}

@media (max-width: 600px) {
  .atelier__note { padding-left: 18px; }
}

.atelier__note p {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  color: var(--bone);
  margin: 0 0 18px;
}

.atelier__note p em {
  color: var(--aurora);
  font-style: italic;
}

.atelier__signature {
  margin-top: 20px;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--mid);
  text-transform: uppercase;
}

/* ========================================================================== */
/* Newsletter                                                                  */
/* ========================================================================== */
.newsletter {
  padding: 80px var(--gutter) 100px;
  text-align: center;
}

.newsletter__inner {
  max-width: 600px;
  margin: 0 auto;
}

.newsletter__sub {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 16px;
  color: var(--frost);
  margin: 0 0 32px;
}

.newsletter__form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.newsletter__form input[type="email"] {
  flex: 1;
  min-width: 220px;
  max-width: 320px;
  padding: 14px 16px;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 300;
  font-size: 14px;
  background: rgba(10, 14, 20, 0.6);
  border: 1px solid rgba(154, 175, 200, 0.22);
  color: var(--bone);
  letter-spacing: 0.04em;
}

.newsletter__form input[type="email"]:focus {
  outline: none;
  border-color: var(--aurora);
}

.newsletter__form button {
  padding: 14px 28px;
  background: var(--aurora);
  color: var(--ink);
  border: none;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.18s ease;
}

.newsletter__form button:hover {
  background: var(--bone);
}

.newsletter__ack {
  flex: 0 0 100%;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  color: var(--aurora);
  margin: 14px 0 0;
}

/* ========================================================================== */
/* Footer                                                                      */
/* ========================================================================== */
.site-footer {
  padding: 40px var(--gutter);
  border-top: 1px solid rgba(154, 175, 200, 0.08);
}

.site-footer__inner {
  max-width: var(--max-content);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--mid);
}

.leaf-glyph {
  color: var(--aurora);
}

.site-footer__line {
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin: 0;
}
