/* Triskelia AI — Dark, mythic, gold + blue star undercurrent */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  --bg: #070709;
  --bg-card: #0d0d10;
  --gold: #c8a84e;
  --gold-light: #e8d48a;
  --gold-dim: rgba(200, 168, 78, 0.08);
  --gold-glow: rgba(200, 168, 78, 0.15);
  --sirius: #6fa8dc;
  --sirius-dim: rgba(111, 168, 220, 0.04);
  --text: #d4d0c8;
  --text-muted: #706f6a;
  --text-bright: #f0ece2;
  --border: #1a1a1e;
  --max-width: 860px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---- Starfield background ---- */

body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    /* Sirius — top right, subtle blue */
    radial-gradient(1px 1px at 78% 12%, var(--sirius), transparent),
    /* Faint star dust */
    radial-gradient(1px 1px at 15% 25%, rgba(255,255,255,0.15), transparent),
    radial-gradient(1px 1px at 42% 8%, rgba(255,255,255,0.08), transparent),
    radial-gradient(1px 1px at 67% 35%, rgba(255,255,255,0.06), transparent),
    radial-gradient(1px 1px at 23% 55%, rgba(255,255,255,0.07), transparent),
    radial-gradient(1px 1px at 88% 48%, rgba(255,255,255,0.05), transparent),
    radial-gradient(1px 1px at 5% 78%, rgba(255,255,255,0.06), transparent),
    radial-gradient(1px 1px at 55% 62%, rgba(255,255,255,0.04), transparent),
    radial-gradient(1px 1px at 35% 88%, rgba(255,255,255,0.07), transparent),
    radial-gradient(1px 1px at 92% 75%, rgba(255,255,255,0.05), transparent),
    radial-gradient(1px 1px at 48% 42%, rgba(255,255,255,0.03), transparent),
    radial-gradient(1px 1px at 72% 90%, rgba(255,255,255,0.06), transparent);
  z-index: 0;
  pointer-events: none;
}

/* Sirius glow pulse */
@keyframes sirius-pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

body::after {
  content: '';
  position: fixed;
  top: 11%; right: 21%;
  width: 4px; height: 4px;
  background: var(--sirius);
  border-radius: 50%;
  box-shadow:
    0 0 6px 2px var(--sirius),
    0 0 20px 4px rgba(111, 168, 220, 0.3);
  animation: sirius-pulse 4s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

/* Everything above starfield */
section, footer, header { position: relative; z-index: 1; }

/* ---- Golden thread (vertical line through page) ---- */

.golden-thread {
  position: fixed;
  left: 50%;
  top: 0;
  width: 1px;
  height: 100vh;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    var(--gold-dim) 20%,
    var(--gold-glow) 50%,
    var(--gold-dim) 80%,
    transparent 100%
  );
  z-index: 0;
  pointer-events: none;
}

/* ---- Layout ---- */

section {
  padding: 5rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

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

.hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 3rem;
}

.hero-logo {
  width: 100px;
  height: 100px;
  margin-bottom: 3rem;
  opacity: 0.9;
  filter: drop-shadow(0 0 20px var(--gold-glow));
}

.hero h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 3rem;
  font-weight: 400;
  color: var(--text-bright);
  line-height: 1.25;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero .subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.9;
  font-weight: 300;
}

/* ---- Section dividers ---- */

.divider {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto;
  opacity: 0.4;
}

/* ---- Problem ---- */

.problem {
  text-align: center;
  padding: 4rem 1.5rem;
}

.problem p {
  font-size: 1.05rem;
  color: var(--text);
  max-width: 580px;
  margin: 0 auto;
  line-height: 2;
  font-weight: 300;
}

.problem p.reveal {
  color: var(--gold);
  margin-top: 1.5rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 400;
  font-style: italic;
}

/* ---- Services ---- */

.services {
  padding-top: 4rem;
}

.services h2 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 3rem;
  text-align: center;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2.2rem 2rem;
  transition: border-color 0.4s, box-shadow 0.4s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
  transition: background 0.4s;
}

.service-card:hover {
  border-color: rgba(200, 168, 78, 0.3);
  box-shadow: 0 0 30px rgba(200, 168, 78, 0.05);
}

.service-card:hover::before {
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.service-card .icon {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  color: var(--text-bright);
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.8;
  font-weight: 300;
}

/* ---- Why Triskelia ---- */

.why {
  padding-top: 4rem;
}

.why h2 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 3rem;
  text-align: center;
}

.why-list {
  list-style: none;
  display: grid;
  gap: 2.5rem;
  max-width: 600px;
  margin: 0 auto;
}

.why-list li strong {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--gold);
  display: block;
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 0.4rem;
}

.why-list li span {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.8;
}

/* ---- Testimonials ---- */

.testimonials {
  padding-top: 4rem;
}

.testimonials h2 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 3rem;
  text-align: center;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.testimonial {
  border-left: 2px solid var(--gold-dim);
  padding: 1.5rem 2rem;
  transition: border-color 0.4s;
}

.testimonial:hover {
  border-left-color: var(--gold);
}

.testimonial p {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.8;
}

.testimonial cite {
  display: block;
  margin-top: 0.8rem;
  font-style: normal;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

@media (min-width: 640px) {
  .testimonial-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* ---- Bio ---- */

.bio {
  text-align: center;
  padding-top: 4rem;
}

.bio h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem;
  color: var(--text-bright);
  font-weight: 400;
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
}

.bio p {
  color: var(--text);
  max-width: 560px;
  margin: 0 auto;
  line-height: 2;
  font-size: 0.95rem;
  font-weight: 300;
}

.bio p + p {
  margin-top: 1rem;
}

/* ---- CTA ---- */

.cta {
  text-align: center;
  padding: 6rem 1.5rem;
}

.cta p {
  color: var(--text-muted);
  max-width: 440px;
  margin: 0 auto 2.5rem;
  font-size: 1rem;
  line-height: 1.9;
  font-weight: 300;
}

.cta-button {
  display: inline-block;
  background: transparent;
  color: var(--gold);
  padding: 1rem 2.8rem;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--gold);
  border-radius: 2px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.4s;
}

.cta-button:hover {
  background: var(--gold);
  color: var(--bg);
  box-shadow: 0 0 30px rgba(200, 168, 78, 0.2);
}

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

footer {
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

footer a {
  color: var(--gold);
  text-decoration: none;
}

@keyframes rose-breathe {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

footer .rose {
  display: block;
  margin-top: 1rem;
  font-size: 1rem;
  animation: rose-breathe 6s ease-in-out infinite;
}

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

@media (min-width: 640px) {
  .service-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .hero h1 {
    font-size: 3.6rem;
  }
}

@media (max-width: 639px) {
  html { font-size: 16px; }
  .hero { min-height: 85vh; }
  .hero h1 { font-size: 2.2rem; }
  .hero-logo { width: 75px; height: 75px; }
  section { padding: 3.5rem 1.25rem; }
}
