@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700&family=Syne:wght@400;500;600;700&display=swap');

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  background-color: #261717;
  color: #f5e8e8;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

body.aurora-theme {
  display: flex;
}

/* ===== AURORA BACKGROUND ===== */
.aurora-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.aurora-layer {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  mix-blend-mode: screen;
}

.aurora-layer.a1 {
  width: 80vw;
  height: 80vw;
  background: radial-gradient(ellipse, #ff0000 0%, #ff144400 70%);
  top: -20%;
  left: -10%;
  animation: aurora-drift1 10s ease-in-out infinite alternate;
}

.aurora-layer.a2 {
  width: 70vw;
  height: 70vw;
  background: radial-gradient(ellipse, #ff1493 0%, #ff149300 70%);
  bottom: -15%;
  right: -10%;
  animation: aurora-drift2 12s ease-in-out infinite alternate;
}

.aurora-layer.a3 {
  width: 60vw;
  height: 60vw;
  background: conic-gradient(from 0deg at 50% 50%, #ff0000 0%, #ff1493 40%, #ff000000 70%);
  top: 30%;
  left: 20%;
  opacity: 0.18;
  animation: aurora-spin 20s linear infinite;
}

@keyframes aurora-drift1 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(8vw, 6vh) scale(1.15); }
}

@keyframes aurora-drift2 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-6vw, -8vh) scale(1.12); }
}

@keyframes aurora-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ===== ASIDE NAVIGATION ===== */
.site-aside {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 220px;
  z-index: 100;
  background: linear-gradient(180deg, rgba(38,23,23,0.97) 0%, rgba(38,23,23,0.92) 100%);
  border-right: 1px solid rgba(255,0,0,0.2);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.3s ease;
}

.aside-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2rem 0 1.5rem;
  overflow-y: auto;
}

.aside-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem 2rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,0,0,0.15);
  margin-bottom: 1.5rem;
}

.logo-img {
  max-width: 48px;
  max-height: 48px;
  object-fit: contain;
}

.logo-text {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: #ff0000;
  letter-spacing: 0.05em;
  text-align: center;
  line-height: 1.3;
  word-break: break-all;
}

.site-aside nav {
  flex: 1;
}

.site-aside nav ul {
  list-style: none;
  padding: 0;
}

.site-aside nav ul li {
  border-bottom: 1px solid rgba(255,20,147,0.08);
}

.nav-link {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  color: rgba(245,232,232,0.8);
  font-family: 'Syne', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.2s, background 0.2s, padding-left 0.2s;
  position: relative;
}

.nav-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 0;
  background: linear-gradient(180deg, #ff0000, #ff1493);
  transition: height 0.2s;
}

.nav-link:hover,
.nav-link:focus {
  color: #ff1493;
  background: rgba(255,20,147,0.06);
  padding-left: 2rem;
  outline: none;
}

.nav-link:hover::before,
.nav-link:focus::before {
  height: 60%;
}

.nav-text {
  display: block;
}

.aside-contact {
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(255,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-label {
  font-size: 0.75rem;
  color: rgba(245,232,232,0.5);
  font-family: 'Syne', sans-serif;
}

.contact-age {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: #ff0000;
  background: rgba(255,0,0,0.1);
  border: 1px solid rgba(255,0,0,0.3);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

/* ===== TOGGLE BUTTON ===== */
.aside-toggle {
  display: none;
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 200;
  width: 44px;
  height: 44px;
  background: rgba(38,23,23,0.9);
  border: 1px solid rgba(255,0,0,0.3);
  border-radius: 8px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.aside-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #ff1493;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ===== PAGE WRAP ===== */
.page-wrap {
  margin-left: 220px;
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}

/* ===== HERO ===== */
.site-header.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  padding: 4rem 4rem 4rem 5rem;
}

.hero-bg-text {
  position: absolute;
  right: -2rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(6rem, 18vw, 20rem);
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,20,147,0.12);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  line-height: 1;
  z-index: 1;
}

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

.hero-eyebrow {
  font-family: 'Syne', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #ff1493;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-eyebrow span {
  color: #ff0000;
}

.hero-h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 1.15;
  color: #fff;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 40px rgba(255,0,0,0.3);
}

.hero-desc {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(245,232,232,0.75);
  max-width: 580px;
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  background: linear-gradient(135deg, #ff0000 0%, #ff1493 100%);
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 4px 30px rgba(255,0,0,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  min-height: 48px;
  line-height: 1.2;
}

.hero-cta:hover,
.hero-cta:focus {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 40px rgba(255,20,147,0.5);
  outline: 2px solid #ff1493;
  outline-offset: 2px;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 3;
}

.scroll-line {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, #ff0000, transparent);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

.scroll-label {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: rgba(255,20,147,0.6);
  writing-mode: vertical-rl;
}

/* ===== MAIN CONTENT ===== */
.site-main {
  position: relative;
  z-index: 2;
}

.content-article {
  width: 100%;
}

.content-section {
  width: 100%;
  padding: 0;
}

/* ===== PAGE CONTENT SECTIONS ===== */
.content-section section,
.content-section > * {
  scroll-margin-top: 80px;
}

/* Content injected via page.content */
.content-section h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  position: relative;
}

.content-section h2 span {
  background: linear-gradient(135deg, #ff0000, #ff1493);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.content-section h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: #f5e8e8;
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.content-section p {
  color: rgba(245,232,232,0.85);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.2rem;
  max-width: 75ch;
}

.content-section ul,
.content-section ol {
  color: rgba(245,232,232,0.85);
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
}

.content-section li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.content-section a {
  color: #ff1493;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.content-section a:hover {
  color: #ff0000;
}

.content-section section {
  padding: 5rem 5rem 5rem 5rem;
  border-bottom: 1px solid rgba(255,20,147,0.1);
  position: relative;
}

.content-section section:nth-child(even) {
  background: rgba(255,0,0,0.03);
}

.content-section section::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, #ff0000, #ff1493);
  transition: height 0.6s ease;
}

.content-section section.in-view::before {
  height: 100%;
}

/* ===== FOOTER ===== */
.site-footer {
  position: relative;
  z-index: 2;
  background: rgba(20,10,10,0.95);
  border-top: 1px solid rgba(255,0,0,0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 5rem 2rem;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col dt {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: #ff1493;
  text-transform: uppercase;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,20,147,0.2);
}

.footer-col dd {
  font-size: 0.85rem;
  color: rgba(245,232,232,0.6);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.footer-col dd a {
  color: rgba(245,232,232,0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col dd a:hover {
  color: #ff1493;
}

.footer-col--brand .footer-brand-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #ff0000;
  margin-bottom: 0.5rem;
}

.footer-col--brand .footer-brand-desc {
  font-size: 0.8rem;
  color: rgba(245,232,232,0.4);
}

.footer-bottom {
  border-top: 1px solid rgba(255,20,147,0.1);
  padding-top: 1.5rem;
  text-align: center;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(245,232,232,0.35);
  line-height: 1.6;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ===== SCROLL MARGIN FOR SECTIONS ===== */
section[id] {
  scroll-margin-top: 80px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .site-aside {
    transform: translateX(-100%);
    width: 260px;
  }

  .site-aside.open {
    transform: translateX(0);
  }

  .aside-toggle {
    display: flex;
  }

  .page-wrap {
    margin-left: 0;
  }

  .hero-inner {
    padding: 5rem 2rem 4rem;
  }

  .hero-scroll-hint {
    left: 2rem;
  }

  .content-section section {
    padding: 3.5rem 2rem;
  }

  .footer-inner {
    padding: 3rem 2rem 2rem;
  }

  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .hero-bg-text {
    font-size: 5rem;
    right: -1rem;
    opacity: 0.07;
  }

  .hero-inner {
    padding: 5rem 1.25rem 3rem;
  }

  .content-section section {
    padding: 3rem 1.25rem;
  }

  .footer-inner {
    padding: 2.5rem 1.25rem 1.5rem;
  }

  .footer-cols {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-cta {
    width: 100%;
    text-align: center;
  }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  .aurora-layer,
  .scroll-line,
  .reveal,
  .hero-cta,
  .nav-link {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ===== OVERLAY (mobile nav backdrop) ===== */
.aside-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 90;
}

.aside-overlay.active {
  display: block;
}

button[aria-expanded]{min-width:44px;min-height:44px}
