/* Helk Advisory — shared styles */
/* Loaded by every page. Page-specific rules stay inline in each HTML file. */

:root {
  --cream: #f3ede1;
  --cream-2: #ebe3d3;
  --ink: #1a1a1a;
  --muted: #5c5446;
  --rule: #d4ccba;
  --accent: #2d4a3e;
  --accent-bright: #ff5722;
  --highlight: #e8d56b;
  --signal: #76e3a0;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Geist', -apple-system, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}
::selection { background: var(--highlight); color: var(--ink); }

/* Atmospheric blobs */
.blob {
  position: fixed; pointer-events: none; z-index: 0;
  border-radius: 50%; filter: blur(60px);
}
.blob-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255, 87, 34, 0.15), transparent 70%);
  top: -100px; right: -100px;
  animation: float1 20s ease-in-out infinite;
}
.blob-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(45, 74, 62, 0.18), transparent 70%);
  bottom: 30%; left: -80px;
  animation: float2 25s ease-in-out infinite;
}
@keyframes float1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-40px, 40px); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(40px, -40px); }
}
.grid-bg {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(45, 74, 62, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 74, 62, 0.06) 1px, transparent 1px);
  background-size: 80px 80px;
}

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243, 237, 225, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.nav.scrolled { border-bottom-color: var(--rule); }
.nav-inner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 48px;
  max-width: 1400px;
  margin: 0 auto;
}
.logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--ink);
}
.logo-symbol { width: 32px; height: 40px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text .name {
  font-family: 'Geist', sans-serif;
  font-size: 20px; font-weight: 600;
  letter-spacing: -0.02em;
}
.logo-text .role {
  font-family: 'Geist Mono', monospace;
  font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted); margin-top: 4px;
}
.nav-pill {
  display: flex; gap: 6px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid var(--rule);
  border-radius: 100px; padding: 6px;
}
.nav-pill a {
  color: var(--ink); text-decoration: none;
  font-size: 14px;
  padding: 10px 20px; border-radius: 100px;
  transition: all 0.25s;
}
.nav-pill a:hover { background: var(--cream); }
.nav-pill a.active { background: var(--cream); color: var(--accent); font-weight: 500; }
.nav-cta {
  background: var(--ink); color: var(--cream);
  text-decoration: none;
  font-size: 14px;
  padding: 14px 24px; border-radius: 100px;
  transition: background 0.25s;
  display: inline-flex; align-items: center; gap: 8px;
}
.nav-cta:hover { background: var(--accent); }

/* Section structure */
section {
  position: relative; z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
}
.section-eyebrow {
  font-family: 'Geist Mono', monospace;
  font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 20px;
  display: inline-flex; align-items: center; gap: 12px;
}
.section-eyebrow::before {
  content: ''; width: 24px; height: 1px;
  background: var(--accent-bright);
}

/* Buttons */
.btn-primary {
  background: var(--ink); color: var(--cream);
  padding: 20px 32px;
  font-size: 15px; font-weight: 500;
  text-decoration: none; border-radius: 100px;
  display: inline-flex; align-items: center; gap: 12px;
  transition: all 0.3s;
  border: none; cursor: pointer;
  font-family: inherit;
}
.btn-primary:hover {
  background: var(--accent-bright);
  transform: translateY(-2px);
}
.btn-primary .arrow { transition: transform 0.3s; display: inline-block; }
.btn-primary:hover .arrow { transform: rotate(-45deg); }

/* FAQ accordion */
details {
  border-top: 1px solid var(--rule);
  padding: 28px 0;
  transition: padding 0.3s;
}
details:last-child { border-bottom: 1px solid var(--rule); }
details summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  font-family: 'Instrument Serif', serif;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 400;
  color: var(--ink);
  transition: color 0.25s;
}
details summary::-webkit-details-marker { display: none; }
details summary:hover { color: var(--accent); }
.faq-icon {
  width: 32px; height: 32px;
  flex-shrink: 0;
  border: 1px solid var(--rule);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Geist Mono', monospace;
  font-size: 16px;
  transition: all 0.3s;
  margin-top: 4px;
}
details[open] .faq-icon {
  background: var(--ink); color: var(--cream);
  border-color: var(--ink);
  transform: rotate(45deg);
}
details p {
  margin-top: 20px;
  margin-right: 64px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

/* Contact card */
.contact-card {
  background: var(--ink);
  color: var(--cream);
  border-radius: 32px;
  padding: 80px;
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: '';
  position: absolute; pointer-events: none;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255, 87, 34, 0.18), transparent 60%);
  border-radius: 50%;
  top: -200px; right: -200px;
  animation: float1 20s ease-in-out infinite;
}
.contact-card::after {
  content: '';
  position: absolute; pointer-events: none;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(118, 227, 160, 0.12), transparent 60%);
  border-radius: 50%;
  bottom: -200px; left: -100px;
}
.contact-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: end;
}
.contact-eyebrow {
  font-family: 'Geist Mono', monospace;
  font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 24px;
  display: inline-flex; align-items: center; gap: 12px;
}
.contact-eyebrow::before {
  content: ''; width: 24px; height: 1px;
  background: var(--signal);
}
.contact-details {
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  padding-left: 48px;
}
.contact-detail {
  margin-bottom: 28px;
}
.contact-detail:last-child { margin-bottom: 0; }
.contact-detail-label {
  font-family: 'Geist Mono', monospace;
  font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(243, 237, 225, 0.4);
  margin-bottom: 8px;
}
.contact-detail-value {
  font-size: 18px;
  color: var(--cream);
  text-decoration: none;
  transition: color 0.25s;
  display: inline-block;
}
.contact-detail-value:hover { color: var(--highlight); }

/* Footer */
footer {
  padding: 48px;
  max-width: 1400px;
  margin: 0 auto;
  border-top: 1px solid var(--rule);
  margin-top: 48px;
  position: relative; z-index: 2;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-meta {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.footer-links {
  display: flex; gap: 24px;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.25s;
}
.footer-links a:hover { color: var(--ink); }

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Shared responsive */
@media (max-width: 900px) {
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .contact-details { border-left: none; border-top: 1px solid rgba(255, 255, 255, 0.15); padding-left: 0; padding-top: 32px; }
}
@media (max-width: 768px) {
  .nav-inner { padding: 16px 24px; }
  .nav-pill { display: none; }
  section { padding-left: 24px; padding-right: 24px; }
  details summary { font-size: 22px; gap: 16px; }
  details p { margin-right: 0; }
  .contact-card { padding: 48px 32px; border-radius: 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
}
