/* =============================================================
   Ardijo Ventures — style.css
   Base styles, design tokens, layout & components (mobile-first)
   ============================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Colors — extracted from Figma Section-HERO.svg */
  --color-bg: #0b0d0f;
  --color-bg-alt: #141619;
  --color-bg-elevated: #1a1d21;
  --color-accent: #e8d44d;
  --color-accent-hover: #f0dd66;
  --color-text: #f0ede6;
  --color-text-muted: #b1b6c1;
  --color-text-dim: #7a7d84;
  --color-border: rgba(255, 255, 255, 0.06);
  --color-white: #ffffff;

  /* Typography — single-font site (Archivo) */
  --font-base: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-heading: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  /* Layout */
  --container-max: 1200px;
  --container-pad: 1.25rem;
  --radius: 14px;
  --header-h: 68px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.25s var(--ease);
}

/* ---------- Reset / Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
  /* Support for notches/safe areas on devices */
  padding-top: max(0px, env(safe-area-inset-top));
}

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-heading);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p { margin: 0; }

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button { font-family: inherit; cursor: pointer; }

/* ---------- Utility / Reusable ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section { padding-block: var(--space-2xl); }

.text-accent { color: var(--color-accent); }
.text-italic { font-style: italic; }

.section__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}
.section__eyebrow--center { justify-content: center; }

.eyebrow-dash {
  width: 28px;
  height: 2px;
  background: var(--color-accent);
  display: inline-block;
}

.section__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
}
.section__title--ventures {
  font-size: 4rem;
  font-family: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 1000;
  background: var(--color-accent);
  color: #000;
  padding: 0.75rem 1.25rem;
  font-weight: 700;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Visible focus for keyboard users */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.btn--accent {
  background: var(--color-accent);
  color: #0a0a0a;
}
.btn--accent:hover { background: var(--color-accent-hover); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 17, 32, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.brand__logo { width: 120px; height: auto; } /* match footer logo size */

.nav__menu {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}
.nav__link {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-dim);
}
.nav__link:hover { color: var(--color-text); }

.nav__cta {
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  padding: 0.6rem 1.1rem;
  border-radius: 6px;
}
.nav__cta:hover { background: var(--color-accent); color: #0a0a0a; }

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
}
.nav__toggle-bar {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: transform var(--transition), opacity var(--transition);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(1.5rem, 4vw, 3rem) var(--space-2xl);
  overflow: hidden;
  background:
    radial-gradient(58% 52% at 52% 44%,
      rgba(65, 92, 122, 0.55) 0%,
      rgba(65, 92, 122, 0.20) 46%,
      transparent 72%),
    #212e3e;
}
.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 13vw, 10rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
}
.hero__title-strike {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.6);
}
.hero__lead {
  max-width: 30ch;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: var(--space-xl);
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
  margin: 0;
}
.stats__item { margin: 0; }
.stats__value {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
}
.stats__label {
  margin: 0.25rem 0 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  color: var(--color-text-muted);
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--color-border);
  padding-block: 0.9rem;
  background: var(--color-bg-alt);
}
.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  white-space: nowrap;
  will-change: transform;
  animation: marquee-scroll 32s linear infinite;
}
.marquee__item {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-muted);
}
.marquee__sep { color: var(--color-accent); }

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Ventures / Our Portfolio ---------- */
.ventures { background: #000000; } /* black only — isolated from the #212E3E sections */
.ventures__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}
.venture-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-md);
  transition: transform var(--transition);
}
.venture-card:hover { transform: translateY(-6px); }
.venture-card__cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Category tag pill — Figma: Font 1, 9.3px Bold, letter-spacing 2.04px, line-height 14.85px */
.venture-card__tags {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  display: inline-block;
  padding: 0.45rem 0.95rem;
  margin-bottom: var(--space-sm);
  border: 1px solid var(--pill-border);
  border-radius: 999px;
  color: var(--pill-text);
  font-size: 9.3px;
  font-weight: 700;
  line-height: 14.85px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* Frosted content panel */
.venture-card__panel {
  position: relative;
  z-index: 1;
  height: 280px; /* equalize panel height across all 3 cards */
  padding: var(--space-md);
  border-radius: 14px;
  background: var(--panel-bg);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
}
.venture-card__logo {
  height: 46px;
  width: auto;
  max-width: 90%;
  object-fit: contain;
  margin: 0 auto var(--space-sm);
  display: block;
}
.venture-card__zsoft-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin: 0 auto var(--space-sm);
}
.venture-card__zsoft-logo img { height: 28px; width: auto; }
.venture-card__zsoft-logo span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  color: #ffffff;
}
.venture-card__desc {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--panel-text);
  margin-bottom: var(--space-sm);
  flex: 1;
}
.venture-card__link {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--link-color);
}
.venture-card__link:hover { opacity: 0.72; }

/* Per-card theming — colors inferred from covers + render, swap hex as needed */
.venture-card--maist {
  --pill-border: rgba(61, 155, 216, 0.55);
  --pill-text: #3d9bd8;
  --panel-bg: rgba(226, 237, 248, 0.74);
  --panel-text: #2b3442;
  --link-color: #2f8fce;
}
.venture-card--prickle {
  --pill-border: rgba(255, 255, 255, 0.7);
  --pill-text: #ffffff;
  --panel-bg: rgba(214, 229, 195, 0.82);
  --panel-text: #33421f;
  --link-color: #3d7d3f;
}
.venture-card--zsoft {
  --pill-border: rgba(61, 155, 216, 0.55);
  --pill-text: #3d9bd8;
  --panel-bg: rgba(10, 13, 16, 0.8);
  --panel-text: #cfd5e0;
  --link-color: #3d9bd8;
}

/* ---------- Shared glow group (Who We Are + Ardijo Way + Get In Touch) ---------- */
.glow-group {
  position: relative;
  overflow: hidden;
  /* Figma: #212E3E base + big radial glow #415C7A centered on the 3-section group */
  background:
    radial-gradient(73.13% 73.13% at 50% 50%,
      #415c7a 0%,
      rgba(65, 92, 122, 0) 69.71%),
    #212e3e;
}
/* Sections inside the group are transparent so the shared glow shows through */
.glow-group > .whoweare,
.glow-group > .contact-cta { background: transparent; }

/* ---------- Who We Are ---------- */
.whoweare { position: relative; }
.whoweare__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}
.whoweare__lead {
  color: var(--color-text-muted);
  margin-top: var(--space-md);
  max-width: 46ch;
}
.principles { display: grid; gap: var(--space-lg); }
.principle {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-md);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}
.principle:last-child { border-bottom: 0; }
.principle__num {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-accent);
}
.principle__title { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.35rem; }
.principle__desc { font-size: 0.85rem; color: var(--color-text-muted); }

/* ---------- Manifesto ---------- */
.manifesto {
  position: relative;
  text-align: center;
  padding-block: var(--space-2xl);
  overflow: hidden;
  background: var(--color-bg-alt); /* #141619 — opaque band over the shared glow */
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.manifesto__watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(6rem, 26vw, 20rem);
  font-weight: 800;
  color: rgba(232, 212, 77, 0.028); /* #E8D44D @ 2.8% */
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
}
.manifesto__inner { position: relative; z-index: 1; max-width: 760px; }
.manifesto__title {
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: var(--space-md);
}
/* "better ones." — lighter weight than the rest of the headline */
.manifesto__accent { font-weight: 400; }
.manifesto__body {
  color: var(--color-text-muted);
  max-width: 52ch;
  margin-inline: auto;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding-top: var(--space-lg); }
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--color-text-muted);
}
.breadcrumb__list li::after { content: "/"; margin-left: 0.5rem; color: var(--color-border); }
.breadcrumb__list li:last-child::after { content: ""; }
.breadcrumb__list a:hover { color: var(--color-accent); }
.breadcrumb__list [aria-current="page"] { color: var(--color-text); }

/* ---------- Contact CTA ---------- */
/* Standalone glow for contact.html; inside .glow-group it's transparent (see above) */
.contact-cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(90% 80% at 50% 50%,
      rgba(65, 92, 122, 0.35) 0%,
      rgba(65, 92, 122, 0) 70%),
    var(--color-bg);
}
.contact-cta__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}
.contact-cta__lead {
  color: var(--color-text-muted);
  margin-top: var(--space-md);
  max-width: 42ch;
}
.contact-list {
  margin-top: var(--space-lg);
  display: grid;
}
.contact-list__item {
  margin: 0;
  padding: var(--space-md) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2); /* 1px white divider between items */
}
.contact-list__item:first-child {
  padding-top: 0;
  border-top: 0;
}
.contact-list__label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.68rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem; /* gap between label and value */
}
.contact-list dd {
  margin: 0; /* reset default <dd> indent so value aligns left with its label */
  font-size: 0.95rem;
  color: var(--color-text);
}
.contact-list a { color: inherit; }
.contact-list a:hover { color: var(--color-accent); }

/* ---------- Forms ---------- */
.contact-form { display: grid; gap: var(--space-md); }
.form-field { display: grid; gap: 0.4rem; }
.form-field__label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--color-text-muted);
}
.form-field__input {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--color-bg-alt); /* #141619 */
  border: 1px solid var(--color-border); /* #FFFFFF0F */
  border-radius: 4px;
  color: var(--color-text);
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color var(--transition);
}
.form-field__input::placeholder { color: var(--color-text-dim); }
.form-field__input:focus { outline: none; border-color: var(--color-accent); }
.form-field__textarea { resize: vertical; min-height: 120px; }
.form-field__input--invalid { border-color: #ff5c5c; }
.form-field__error {
  font-size: 0.75rem;
  color: #ff7676;
  min-height: 1em;
}
.form-status { font-size: 0.85rem; color: var(--color-accent); }

/* ---------- Footer ---------- */
.site-footer {
  background: #070b15;
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-2xl);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
}
.footer__tagline {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  margin-top: var(--space-md);
  max-width: 34ch;
}
.footer__heading {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
  font-weight: 600;
}
.footer__col ul { display: grid; gap: 0.6rem; }
.footer__col a { font-size: 0.88rem; color: var(--color-text); }
.footer__col a:hover { color: var(--color-accent); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: space-between;
  align-items: center;
  padding-block: var(--space-lg);
  border-top: 1px solid var(--color-border);
}
.footer__copy { font-size: 0.75rem; color: var(--color-text-muted); }
.footer__legal { display: flex; gap: var(--space-md); }
.footer__legal a { font-size: 0.75rem; color: var(--color-text-muted); }
.footer__legal a:hover { color: var(--color-accent); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
