/* ===== ARGOS INVESTMENT GROUP — Design Tokens ===== */

: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;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;

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

  /* Content Widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;

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

/* ===== DARK MODE (DEFAULT — institutional, dark aesthetic) ===== */
:root, [data-theme="dark"] {
  --color-bg:             #0a0c14;
  --color-surface:        #0f1120;
  --color-surface-2:      #141729;
  --color-surface-offset: #0d0f1a;
  --color-surface-dynamic: #1a1d30;
  --color-divider:        #1e2138;
  --color-border:         #272a42;
  --color-text:           #e8e6e1;
  --color-text-muted:     #8a8d9e;
  --color-text-faint:     #4e5168;
  --color-text-inverse:   #0a0c14;
  --color-primary:        #c5a55a;
  --color-primary-hover:  #d4b76e;
  --color-primary-active: #b8943d;
  --color-primary-highlight: #2a2618;
  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.3);
  --shadow-md: 0 4px 12px oklch(0 0 0 / 0.4);
  --shadow-lg: 0 12px 32px oklch(0 0 0 / 0.5);
}

/* ===== LIGHT MODE ===== */
[data-theme="light"] {
  --color-bg:             #f5f4f0;
  --color-surface:        #ffffff;
  --color-surface-2:      #faf9f7;
  --color-surface-offset: #efeee9;
  --color-surface-dynamic: #e8e6e0;
  --color-divider:        #d8d6cf;
  --color-border:         #c8c6bf;
  --color-text:           #1a1c28;
  --color-text-muted:     #5a5c6e;
  --color-text-faint:     #9a9cae;
  --color-text-inverse:   #f5f4f0;
  --color-primary:        #8a7230;
  --color-primary-hover:  #7a6425;
  --color-primary-active: #6a561a;
  --color-primary-highlight: #f0eadb;
  --shadow-sm: 0 1px 2px oklch(0.2 0.01 80 / 0.06);
  --shadow-md: 0 4px 12px oklch(0.2 0.01 80 / 0.08);
  --shadow-lg: 0 12px 32px oklch(0.2 0.01 80 / 0.12);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    --color-bg:             #f5f4f0;
    --color-surface:        #ffffff;
    --color-surface-2:      #faf9f7;
    --color-surface-offset: #efeee9;
    --color-surface-dynamic: #e8e6e0;
    --color-divider:        #d8d6cf;
    --color-border:         #c8c6bf;
    --color-text:           #1a1c28;
    --color-text-muted:     #5a5c6e;
    --color-text-faint:     #9a9cae;
    --color-text-inverse:   #f5f4f0;
    --color-primary:        #8a7230;
    --color-primary-hover:  #7a6425;
    --color-primary-active: #6a561a;
    --color-primary-highlight: #f0eadb;
    --shadow-sm: 0 1px 2px oklch(0.2 0.01 80 / 0.06);
    --shadow-md: 0 4px 12px oklch(0.2 0.01 80 / 0.08);
    --shadow-lg: 0 12px 32px oklch(0.2 0.01 80 / 0.12);
  }
}

/* ===== GLOBAL STYLES ===== */

.container {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.container--narrow {
  max-width: var(--content-default);
}

/* ===== HEADER ===== */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: oklch(from var(--color-bg) l c h / 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-divider);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-4);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
}

.header__logo svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.header__logo-text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.header__nav a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}

.header__nav a:hover {
  color: var(--color-primary);
}

.theme-toggle {
  color: var(--color-text-muted);
  padding: var(--space-2);
  border-radius: var(--radius-sm);
}

.theme-toggle:hover {
  color: var(--color-primary);
}

/* Mobile nav */
.mobile-menu-btn {
  display: none;
  color: var(--color-text-muted);
  padding: var(--space-2);
}

@media (max-width: 768px) {
  .header__nav {
    display: none;
  }
  .header__nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-6);
    gap: var(--space-4);
  }
  .mobile-menu-btn {
    display: block;
  }
  .header__logo-text {
    font-size: var(--text-base);
  }
}

/* ===== HERO SECTION ===== */

.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 60% at 20% 50%, oklch(0.2 0.05 250 / 0.4), transparent),
    radial-gradient(ellipse 60% 80% at 80% 20%, oklch(0.15 0.03 45 / 0.3), transparent);
  z-index: 1;
}

[data-theme="light"] .hero__bg::before {
  background: 
    radial-gradient(ellipse 80% 60% at 20% 50%, oklch(0.85 0.03 250 / 0.5), transparent),
    radial-gradient(ellipse 60% 80% at 80% 20%, oklch(0.9 0.02 45 / 0.4), transparent);
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, 
    transparent 0%, 
    oklch(from var(--color-bg) l c h / 0.3) 60%,
    var(--color-bg) 100%
  );
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding-block: clamp(var(--space-16), 12vw, var(--space-32));
}

.hero__eyebrow {
  font-size: var(--text-xs);
  color: var(--color-primary);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: var(--space-6);
  line-height: 1.1;
}

.hero__subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: var(--space-8);
}

.hero__line {
  width: 80px;
  height: 1px;
  background: var(--color-primary);
  margin-bottom: var(--space-6);
}

/* ===== SECTION STYLES ===== */

.section {
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
}

.section__header {
  margin-bottom: clamp(var(--space-8), 4vw, var(--space-16));
}

.section__eyebrow {
  font-size: var(--text-xs);
  color: var(--color-primary);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.section__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.section__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 600px;
}

/* ===== PHILOSOPHY / VALUES ===== */

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

@media (max-width: 768px) {
  .philosophy-grid {
    grid-template-columns: 1fr;
  }
}

.philosophy-card {
  padding: var(--space-8);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  transition: border-color var(--transition-interactive),
              box-shadow var(--transition-interactive);
}

.philosophy-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.philosophy-card__icon {
  width: 48px;
  height: 48px;
  color: var(--color-primary);
  margin-bottom: var(--space-5);
}

.philosophy-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.philosophy-card__text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ===== STRATEGY / ALLOCATION ===== */

.strategy-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: start;
}

@media (max-width: 768px) {
  .strategy-layout {
    grid-template-columns: 1fr;
  }
}

.allocation-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.allocation-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.allocation-item__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.allocation-item__label {
  font-size: var(--text-sm);
  color: var(--color-text);
  font-weight: 500;
}

.allocation-item__value {
  font-size: var(--text-sm);
  color: var(--color-primary);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.allocation-item__bar {
  height: 4px;
  background: var(--color-surface-dynamic);
  border-radius: 2px;
  overflow: hidden;
}

.allocation-item__fill {
  height: 100%;
  background: var(--color-primary);
  border-radius: 2px;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.strategy-text {
  padding: var(--space-8);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
}

.strategy-text h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.strategy-text p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.strategy-text p:last-child {
  margin-bottom: 0;
}

/* ===== INCOME SOURCES ===== */

.income-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
}

.income-card {
  padding: var(--space-6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  text-align: center;
}

.income-card__label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-2);
}

.income-card__value {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-primary);
  font-weight: 400;
  white-space: nowrap;
}

.income-card__desc {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-top: var(--space-2);
}

/* ===== DIVIDER ===== */

.divider {
  border: none;
  height: 1px;
  background: var(--color-divider);
  margin-block: var(--space-4);
}

.divider--gold {
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  height: 1px;
}

/* ===== STATS ROW ===== */

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-6);
  padding-block: clamp(var(--space-8), 4vw, var(--space-16));
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}

.stat {
  text-align: center;
}

.stat__number {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-primary);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

.stat__label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: var(--space-2);
}

/* ===== ABOUT / OVERVIEW ===== */

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-8), 4vw, var(--space-16));
  align-items: center;
}

@media (max-width: 768px) {
  .about-layout {
    grid-template-columns: 1fr;
  }
}

.about-text h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.about-text p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.about-image {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== CONTACT / CTA ===== */

.cta-section {
  text-align: center;
  padding-block: clamp(var(--space-16), 10vw, var(--space-32));
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.cta-section p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 500px;
  margin-inline: auto;
  margin-bottom: var(--space-8);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-sm);
}

.cta-btn:hover {
  background: var(--color-primary-hover);
}

/* ===== FOOTER ===== */

.footer {
  border-top: 1px solid var(--color-divider);
  padding-block: var(--space-10);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer__left {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer__brand {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  color: var(--color-text);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer__copy {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.footer__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-2);
}

.footer__disclaimer {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  max-width: 400px;
  text-align: right;
}



@media (max-width: 768px) {
  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
  .footer__right {
    align-items: center;
  }
  .footer__disclaimer {
    text-align: center;
  }
}

/* ===== ANIMATIONS ===== */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.3s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.4s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.5s; }

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Gold line animation */
@keyframes lineGrow {
  from { width: 0; }
  to { width: 80px; }
}

.hero__line {
  animation: lineGrow 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}
