/* ==========================================================================
   ORIGO — one-page site
   Palette + type rules taken from ORIGO_Brand_Guidelines.docx

   Fonts: the brand guide specifies Trojan Pro 3 (titles) and Aptos (body).
   Both are licensed/proprietary and not available as free web fonts, so this
   build substitutes:
     - Cinzel   → carved/monumental serif, closest free equivalent to Trojan Pro 3
     - Inter    → neutral grotesque, closest free equivalent to Aptos
   If you own a webfont license for Trojan Pro 3 / Aptos, drop the files into
   /assets/fonts/ and uncomment the @font-face blocks below — everything else
   keeps working unchanged.
   ========================================================================== */

/* @font-face {
  font-family: 'Trojan Pro 3';
  src: url('assets/fonts/TrojanPro3.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'Aptos';
  src: url('assets/fonts/Aptos.woff2') format('woff2');
  font-display: swap;
} */

:root {
  --ink:          #171713;
  --warm-paper:   #F4F0E8;
  --dune-sand:    #D8C6A5;
  --origin-gold:  #B89052;
  --distant-sea:  #5E7472;

  --font-display: 'Cinzel', 'Trojan Pro 3', Georgia, serif;
  --font-body:    'Inter', 'Aptos', Arial, Helvetica, sans-serif;

  --max-width: 1120px;
  --edge: clamp(1.5rem, 5vw, 4rem);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--warm-paper);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ---------------------------------------------------------------------- */
/* Header / nav                                                          */
/* ---------------------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem var(--edge);
  transition: background-color 0.4s ease, padding 0.4s ease, backdrop-filter 0.4s ease;
}

.site-header.is-scrolled {
  background-color: rgba(23, 23, 19, 0.86);
  backdrop-filter: blur(10px);
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(216, 198, 165, 0.12);
}

.nav-wordmark {
  height: 18px;
  width: auto;
  opacity: 0.95;
}

.site-nav {
  display: flex;
  gap: clamp(1.2rem, 3vw, 2.4rem);
}

.site-nav a {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dune-sand);
  opacity: 0.8;
  transition: opacity 0.25s ease, color 0.25s ease;
}

.site-nav a:hover {
  opacity: 1;
  color: var(--origin-gold);
}

/* ---------------------------------------------------------------------- */
/* Hero                                                                   */
/* ---------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.hero-photo {
  position: absolute;
  inset: 0;
  background-image: url('assets/photos/hero-bg.jpg');
  background-size: cover;
  background-position: center 62%;
  animation: drift 30s ease-in-out infinite alternate;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 15%, rgba(184, 144, 82, 0.14), transparent 60%),
    linear-gradient(180deg, rgba(16,15,13,0.72) 0%, rgba(20,19,16,0.55) 38%, rgba(15,14,12,0.82) 78%, #100f0d 100%);
}

@keyframes drift {
  0%   { transform: scale(1) translateY(0); }
  100% { transform: scale(1.06) translateY(-1.5%); }
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 var(--edge);
}

.hero-wordmark {
  width: min(70vw, 480px);
  margin: 0 auto 2.8rem;
  filter: drop-shadow(0 0 40px rgba(184, 144, 82, 0.08));
}

.hero-headline {
  margin: 0 auto;
  max-width: 24ch;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--warm-paper);
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
}

.hero-tagline {
  margin: 2.2rem 0 0;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.44em;
  text-transform: lowercase;
  color: var(--dune-sand);
  font-weight: 400;
}

.hero-scroll {
  position: absolute;
  bottom: 2.4rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 44px;
  background: rgba(216, 198, 165, 0.25);
  overflow: hidden;
}

.hero-scroll span {
  position: absolute;
  top: -44px;
  left: 0;
  width: 100%;
  height: 44px;
  background: var(--origin-gold);
  animation: scrollLine 2.6s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { top: -44px; }
  60%  { top: 44px; }
  100% { top: 44px; }
}

/* ---------------------------------------------------------------------- */
/* Shared section layout                                                 */
/* ---------------------------------------------------------------------- */

.section {
  padding: clamp(5rem, 12vw, 9rem) var(--edge);
  border-top: 1px solid rgba(216, 198, 165, 0.08);
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--origin-gold);
  margin: 0 0 1.8rem;
}

.lead {
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  font-weight: 300;
  color: var(--warm-paper);
  max-width: 46ch;
  line-height: 1.55;
  margin: 0 0 1.4rem;
}

.lead.small {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  max-width: 40ch;
  margin-left: auto;
  margin-right: auto;
}

.body-text {
  font-size: 1rem;
  color: rgba(244, 240, 232, 0.68);
  max-width: 52ch;
  margin: 0 0 1.6rem;
}

/* ---------------------------------------------------------------------- */
/* Music                                                                  */
/* ---------------------------------------------------------------------- */

.music-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(2rem, 4.5vw, 3.2rem);
  max-width: 760px;
  padding: clamp(1.8rem, 3.4vw, 2.4rem);
  border: 1px solid rgba(184, 144, 82, 0.3);
  border-radius: 4px;
  background: linear-gradient(160deg, rgba(184, 144, 82, 0.06), transparent 60%);
  overflow: hidden;
}

.music-cover {
  width: clamp(220px, 25vw, 300px);
  min-width: 220px;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: contain;
  background: var(--ink, #14120f);
  display: block;
  border-radius: 2px;
}

.music-card-body {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
}

.spotify-embed-wrap {
  max-width: 760px;
  margin-top: 1.6rem;
  line-height: 0;
}

.music-card-ring {
  position: absolute;
  width: 340px;
  height: 340px;
  right: -120px;
  top: -120px;
  border: 1px solid rgba(184, 144, 82, 0.15);
  border-radius: 50%;
  pointer-events: none;
}

.music-status {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--dune-sand);
  margin: 0 0 0.6rem;
}

.music-date {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  color: var(--origin-gold);
  margin: 0 0 1.2rem;
}

.music-note {
  color: rgba(244, 240, 232, 0.7);
  font-size: 0.96rem;
  max-width: 40ch;
  margin: 0 0 1.8rem;
}

.music-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 1.6rem;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.btn-ghost {
  border: 1px solid rgba(244, 240, 232, 0.35);
  color: var(--warm-paper);
}

.btn-ghost:hover {
  border-color: var(--origin-gold);
  color: var(--origin-gold);
}

.btn-solid {
  border: 1px solid var(--origin-gold);
  background: var(--origin-gold);
  color: var(--ink);
}

.btn-solid:hover {
  background: transparent;
  color: var(--origin-gold);
}

/* Not-yet-live actions (Free Download / Stream Here) — visible as a
   preview of what's coming, but not clickable until a real link is set. */
.btn-soon {
  position: relative;
  border-style: dashed;
  color: rgba(244, 240, 232, 0.4);
  pointer-events: none;
}

.btn-soon::after {
  content: "Soon";
  position: absolute;
  top: -0.55rem;
  right: -0.4rem;
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  background: var(--ink);
  border: 1px solid rgba(184, 144, 82, 0.4);
  color: var(--dune-sand);
}

/* ---------------------------------------------------------------------- */
/* Coming Soon                                                            */
/* ---------------------------------------------------------------------- */

.release-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.6rem, 3vw, 2.4rem);
  margin-top: 2.4rem;
  max-width: 620px;
}

.release-card {
  display: flex;
  flex-direction: column;
}

.release-cover {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--ink);
  border: 1px solid rgba(184, 144, 82, 0.2);
  border-radius: 2px;
  display: block;
  margin-bottom: 1rem;
}

.release-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--warm-paper);
  margin: 0 0 0.3rem;
  transition: color 0.3s ease;
}

.release-date {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--origin-gold);
  margin: 0;
}

.release-cta {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--origin-gold);
  margin: 0;
  transition: transform 0.25s ease;
}

.past-releases {
  margin-top: 2.4rem;
}

.past-releases-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.4);
  margin: 0 0 1.2rem;
}

.past-release-grid {
  max-width: 460px;
  margin-top: 0;
}

.past-release-card {
  text-decoration: none;
}

.past-release-card .release-cover {
  transition: border-color 0.3s ease;
}

.past-release-card:hover .release-cover {
  border-color: var(--origin-gold);
}

.past-release-card:hover .release-title {
  color: var(--origin-gold);
}

.past-release-card:hover .release-cta {
  transform: translateX(3px);
}

/* ---------------------------------------------------------------------- */
/* Visuals                                                                */
/* ---------------------------------------------------------------------- */

.visuals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(216, 198, 165, 0.1);
  margin-bottom: 1.8rem;
}

.visual-tile {
  position: relative;
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  background-color: var(--ink);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.visual-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,14,12,0) 45%, rgba(15,14,12,0.85) 100%);
  transition: opacity 0.35s ease;
}

.visual-tile:hover::after {
  opacity: 0.7;
}

.visual-tile span {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--warm-paper);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}

.visuals-note {
  color: rgba(244, 240, 232, 0.5);
  font-size: 0.85rem;
  font-style: italic;
}

/* ---------------------------------------------------------------------- */
/* Journey                                                                */
/* ---------------------------------------------------------------------- */

.journey {
  text-align: center;
}

.journey-symbol {
  width: 40px;
  margin: 0 auto 1.4rem;
  opacity: 0.85;
}

.journey-glyph {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(0.6rem, 2vw, 1.2rem);
  margin: 0 0 2rem;
}

.glyph-step {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4.5vw, 2.8rem);
  letter-spacing: 0.1em;
  color: var(--origin-gold);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.glyph-connector {
  width: clamp(20px, 4vw, 52px);
  height: 1px;
  background: rgba(184, 144, 82, 0.35);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: opacity 0.7s ease, transform 0.9s ease;
}

.journey-glyph.is-visible .glyph-step,
.journey-glyph.is-visible .glyph-connector {
  opacity: 1;
  transform: none;
}

.journey-glyph.is-visible .glyph-step:nth-child(1) { transition-delay: 0.05s; }
.journey-glyph.is-visible .glyph-connector:nth-child(2) { transition-delay: 0.3s; }
.journey-glyph.is-visible .glyph-step:nth-child(3) { transition-delay: 0.55s; }
.journey-glyph.is-visible .glyph-connector:nth-child(4) { transition-delay: 0.8s; }
.journey-glyph.is-visible .glyph-step:nth-child(5) { transition-delay: 1.05s; }

@media (prefers-reduced-motion: reduce) {
  .glyph-step, .glyph-connector {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

.journey .lead {
  margin-left: auto;
  margin-right: auto;
}

.body-text.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ---------------------------------------------------------------------- */
/* Connect                                                                */
/* ---------------------------------------------------------------------- */

.connect {
  text-align: center;
}

.connect-symbol {
  width: 56px;
  margin: 0 auto 1.6rem;
  opacity: 0.9;
}

.connect .lead {
  margin-left: auto;
  margin-right: auto;
}

.connect-links {
  margin-top: 2.4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.connect-link {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  padding: 0.9rem 1.5rem;
  border: 1px solid rgba(216, 198, 165, 0.25);
  border-radius: 999px;
  color: var(--warm-paper);
  transition: all 0.3s ease;
}

.connect-link:hover {
  border-color: var(--origin-gold);
  color: var(--origin-gold);
  background: rgba(184, 144, 82, 0.06);
}

.connect-link-solid {
  border-color: var(--origin-gold);
  background: var(--origin-gold);
  color: var(--ink);
}

.connect-link-solid:hover {
  background: transparent;
  color: var(--origin-gold);
}

/* ---------------------------------------------------------------------- */
/* Footer                                                                 */
/* ---------------------------------------------------------------------- */

.site-footer {
  padding: 3rem var(--edge) 3.5rem;
  text-align: center;
  border-top: 1px solid rgba(216, 198, 165, 0.08);
}

.footer-symbol {
  width: 26px;
  margin: 0 auto 1rem;
  opacity: 0.55;
}

.footer-link {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(184, 144, 82, 0.55);
  margin: 0 auto 1.2rem;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--origin-gold);
}

.site-footer p {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: rgba(244, 240, 232, 0.4);
  margin: 0;
}

.footer-line {
  margin-top: 0.5rem !important;
  font-family: var(--font-display);
  font-style: italic;
  color: rgba(184, 144, 82, 0.55) !important;
}

/* ---------------------------------------------------------------------- */
/* Ambient sound toggle                                                  */
/* ---------------------------------------------------------------------- */

.ambient-toggle {
  position: fixed;
  right: clamp(1.2rem, 3vw, 2rem);
  bottom: clamp(1.2rem, 3vw, 2rem);
  z-index: 60;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(216, 198, 165, 0.3);
  background: rgba(23, 23, 19, 0.55);
  backdrop-filter: blur(6px);
  color: var(--dune-sand);
  cursor: pointer;
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}

.ambient-toggle:hover {
  border-color: var(--origin-gold);
  color: var(--origin-gold);
}

.ambient-toggle .wave {
  opacity: 0.55;
  transition: opacity 0.4s ease;
}

.ambient-toggle.is-playing {
  border-color: var(--origin-gold);
  color: var(--origin-gold);
  background: rgba(184, 144, 82, 0.12);
}

.ambient-toggle.is-playing .wave-1 {
  animation: wavePulse 2.6s ease-in-out infinite;
}

.ambient-toggle.is-playing .wave-2 {
  animation: wavePulse 2.6s ease-in-out infinite 0.3s;
}

@keyframes wavePulse {
  0%, 100% { opacity: 0.4; }
  50%      { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .ambient-toggle.is-playing .wave-1,
  .ambient-toggle.is-playing .wave-2 {
    animation: none;
    opacity: 0.9;
  }
}

/* ---------------------------------------------------------------------- */
/* Responsive                                                            */
/* ---------------------------------------------------------------------- */

@media (max-width: 700px) {
  .site-nav {
    display: none;
  }

  .visuals-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .music-card {
    flex-direction: column;
    align-items: stretch;
    gap: 1.6rem;
  }

  .music-cover {
    width: 100%;
    min-width: 0;
    max-width: 340px;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
  }

  .release-grid {
    grid-template-columns: 1fr;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
    gap: 2.4rem;
  }
}
