/* ============================
   ETERNAL CAPITOL — Design Tokens
   Dark-luxury, gold accent, deep blacks
   ============================ */

:root {
  /* Type Scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Fonts */
  --font-display: 'Cormorant', 'Georgia', serif;
  --font-body: 'Switzer', 'Helvetica Neue', sans-serif;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================
   DARK MODE (Primary for this brand)
   ============================ */
[data-theme="dark"] {
  --color-bg:           #0a0a09;
  --color-surface:      #111110;
  --color-surface-2:    #181816;
  --color-border:       #2a2924;
  --color-divider:      #1e1d1a;

  --color-text:         #d4d0c8;
  --color-text-muted:   #8a8780;
  --color-text-faint:   #5a5852;

  --color-gold:         #c9a84c;
  --color-gold-dim:     #9a7d3a;
  --color-gold-glow:    rgba(201, 168, 76, 0.08);
}

/* ============================
   LIGHT MODE (alternate)
   ============================ */
[data-theme="light"] {
  --color-bg:           #f5f3ef;
  --color-surface:      #ece9e3;
  --color-surface-2:    #e2dfd8;
  --color-border:       #c8c4bb;
  --color-divider:      #d5d1ca;

  --color-text:         #1a1915;
  --color-text-muted:   #6b6860;
  --color-text-faint:   #9e9b94;

  --color-gold:         #9a7d3a;
  --color-gold-dim:     #7a6230;
  --color-gold-glow:    rgba(154, 125, 58, 0.06);
}

/* ============================
   PAGE LAYOUT
   ============================ */
.page-wrapper {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-8) var(--space-6);
  position: relative;
}

/* ============================
   HEADER / HEX LOGO
   ============================ */
.site-header {
  margin-bottom: var(--space-10);
}

.hex-logo {
  width: 72px;
  height: 72px;
  margin: 0 auto;
  opacity: 0;
  animation: fadeIn 1.2s ease-out 0.2s forwards;
}

.hex-logo svg {
  width: 100%;
  height: 100%;
}

/* ============================
   PILLAR
   ============================ */
.pillar-mark {
  width: 64px;
  height: 112px;
  margin: 0 auto;
  opacity: 0;
  animation: fadeIn 1.2s ease-out 0.7s forwards;
}

.pillar-mark svg {
  width: 100%;
  height: 100%;
}

/* ============================
   CONTENT
   ============================ */
.content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-10);
}

/* Company name */
.company-name {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-text);
  line-height: 1.1;
  opacity: 0;
  animation: fadeIn 1.2s ease-out 0.5s forwards;
}

.name-eternal {
  display: block;
  font-size: var(--text-3xl);
}

.name-capitol {
  display: block;
  font-size: var(--text-xl);
  letter-spacing: 0.5em;
  color: var(--color-gold);
  margin-top: var(--space-2);
}

/* Divider */
.divider {
  width: 48px;
  height: 1px;
  background: var(--color-gold);
  opacity: 0.3;
}

/* ============================
   HOLDINGS
   ============================ */
.holdings {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  opacity: 0;
  animation: fadeIn 1.2s ease-out 0.8s forwards;
}

.holdings-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.holdings-value {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
}

.btc-amount {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--color-text);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.btc-unit {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  text-transform: uppercase;
}

.holdings-usd {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-variant-numeric: tabular-nums;
  min-height: 1.6em;
}

.holdings-note {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  font-style: italic;
}

/* ============================
   CONTACT
   ============================ */
.contact {
  opacity: 0;
  animation: fadeIn 1.2s ease-out 1.1s forwards;
}

.contact-link {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

.contact-link:hover {
  color: var(--color-gold);
  border-bottom-color: var(--color-gold-dim);
}


/* ============================
   SUBTLE BACKGROUND TEXTURE
   ============================ */
.page-wrapper::before {
  content: '';
  position: fixed;
  inset: 0;
  background: 
    radial-gradient(ellipse at 50% 30%, var(--color-gold-glow) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}

/* ============================
   ANIMATIONS
   ============================ */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================
   MOBILE ADJUSTMENTS
   ============================ */
@media (max-width: 480px) {
  .hex-logo {
    width: 56px;
    height: 56px;
  }

  .pillar-mark {
    width: 48px;
    height: 84px;
  }
  
  .site-header {
    margin-bottom: var(--space-6);
  }
  
  .content {
    gap: var(--space-6);
  }
  
  .name-capitol {
    letter-spacing: 0.35em;
  }
}
