/* Valera Bay — ARK-inspired layout, black luxury */
:root {
  --black: #07090f;
  --navy: #0b0e1a;
  --panel: #121526;
  --line: rgba(255,255,255,0.18);
  --text: #ffffff;
  --muted: #c5c8d4;
  --faint: #8b90a0;
  --lavender: #8b7bff;
  --lavender-2: #6e5cff;
  --header-h: 72px;
  --font: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --serif: "Libre Baskerville", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: #111;
  background: #f4f5f7;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--header-h);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }

.wrap {
  width: min(100% - 48px, 1180px);
  margin-inline: auto;
}

/* ========== HEADER (white like ARK) ========== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: #fff;
  border-bottom: 1px solid #e8e8ee;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 32px, 1180px);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-mark {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: conic-gradient(from 210deg, #8b7bff, #2dd4bf, #111 60%, #8b7bff);
  position: relative;
}
.logo-mark::after {
  content: "";
  position: absolute; inset: 7px;
  border-radius: 50%;
  background: #fff;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.logo-text strong {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #111;
}
.logo-text span {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #666;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 8px;
}
.nav-desktop a {
  padding: 10px 12px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #222;
  border-radius: 6px;
}
.nav-desktop a:hover { background: #f2f2f7; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 6px;
  transition: 0.15s ease;
}
.btn-lavender {
  background: var(--lavender);
  color: #fff;
}
.btn-lavender:hover { background: var(--lavender-2); }
.btn-dark {
  background: #111;
  color: #fff;
}
.btn-dark:hover { background: #000; }
.btn-outline-light {
  border: 1px solid rgba(255,255,255,0.45);
  color: #fff;
  background: transparent;
}
.btn-outline-light:hover { border-color: #fff; }

.menu-toggle {
  width: 42px; height: 42px;
  border: 1px solid #ddd;
  border-radius: 8px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.menu-toggle span {
  width: 16px; height: 2px; background: #111; display: block;
}

.nav-mobile {
  display: none;
  position: absolute;
  top: var(--header-h);
  left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid #e8e8ee;
  padding: 12px 16px 16px;
  flex-direction: column;
  gap: 4px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 12px 10px;
  font-weight: 600;
  color: #222;
  border-radius: 8px;
}
.nav-mobile a:hover { background: #f4f4f8; }

@media (min-width: 980px) {
  .nav-desktop { display: flex; }
  .menu-toggle { display: none; }
  .nav-mobile { display: none !important; }
}

/* ========== HERO (light like ARK) ========== */
.hero {
  background: linear-gradient(180deg, #f7f8fb 0%, #eef0f6 100%);
  padding: 56px 0 40px;
  min-height: calc(100svh - var(--header-h) - 40px);
  display: flex;
  align-items: center;
}
.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 48px; }
}
.hero-copy h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #0b0e1a;
  margin-bottom: 14px;
}
.hero-copy .sub {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  color: #6b7280;
  margin-bottom: 28px;
}
.hero-visual {
  position: relative;
  min-height: 280px;
  border-radius: 18px;
  overflow: hidden;
  background: #0b0e1a;
  border: 1px solid #dfe3ee;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  opacity: 0.92;
}
.hero-badge {
  position: absolute;
  left: 16px; bottom: 16px;
  background: rgba(0,0,0,0.65);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 36px;
  color: #777;
  font-size: 0.85rem;
  font-weight: 600;
}
.explore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #555;
}

/* ========== STRATEGIES (dark like ARK) ========== */
.strategies {
  background: var(--navy);
  color: #fff;
  padding: 88px 0 96px;
}
.strategies-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 28px;
}
.strategies h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.strategies-lead {
  color: var(--muted);
  max-width: 54rem;
  margin-bottom: 28px;
  font-size: 1.02rem;
  line-height: 1.7;
}
.slider-btns { display: flex; gap: 10px; flex-shrink: 0; }
.slider-btns button {
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  color: #fff;
  display: grid;
  place-items: center;
  border-radius: 4px;
}
.slider-btns button:hover { background: rgba(255,255,255,0.08); }

.track-wrap { overflow: hidden; }
.track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.track::-webkit-scrollbar { display: none; }

.scard {
  flex: 0 0 min(78vw, 230px);
  scroll-snap-align: start;
  min-height: 250px;
  border: 1px solid var(--line);
  background: transparent;
  padding: 28px 18px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.scard:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.35);
}
.scard .ico {
  width: 72px; height: 72px;
  display: grid;
  place-items: center;
}
.scard .ico svg { width: 64px; height: 64px; }
.scard h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  min-height: 2.7em;
}
.scard p {
  display: none;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}
.scard:hover p { display: block; }
.scard .more {
  margin-top: auto;
  opacity: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}
.scard:hover .more { opacity: 1; }

@media (min-width: 760px) {
  .scard { flex-basis: 220px; }
}

/* Beliefs */
.beliefs {
  background: var(--black);
  color: #fff;
  padding: 88px 0;
}
.beliefs h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}
.belief-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 900px) {
  .belief-grid { grid-template-columns: repeat(3, 1fr); }
}
.belief {
  border: 1px solid var(--line);
  padding: 28px 22px;
  background: rgba(255,255,255,0.02);
  min-height: 220px;
}
.belief .n {
  color: var(--lavender);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.belief h3 {
  font-size: 1.2rem;
  font-weight: 750;
  margin-bottom: 12px;
}
.belief p { color: var(--muted); font-size: 0.95rem; line-height: 1.65; }

/* ========== INNOVATION RESEARCH (ARK-style) ========== */
.research {
  background: #fff;
  color: #111;
  padding: 72px 0 88px;
}
.research-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 36px;
}
.research-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0b0e1a;
}
.btn-outline-purple {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1.5px solid var(--lavender);
  color: var(--lavender-2);
  font-size: 0.9rem;
  font-weight: 650;
  border-radius: 2px;
  background: #fff;
  white-space: nowrap;
}
.btn-outline-purple:hover {
  background: rgba(139,123,255,0.08);
}
.research-layout {
  display: grid;
  gap: 28px 40px;
}
@media (min-width: 960px) {
  .research-layout {
    grid-template-columns: 160px 1fr;
    align-items: start;
  }
}
.research-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding-top: 4px;
}
@media (min-width: 960px) {
  .research-nav {
    flex-direction: column;
    gap: 14px;
  }
}
.research-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a1a;
}
.research-nav a.active,
.research-nav a:hover {
  color: var(--lavender-2);
}
.research-grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 760px) {
  .research-grid { grid-template-columns: repeat(3, 1fr); }
}
.rcard {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 14px 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: #fff;
  min-height: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.rcard.featured,
.rcard:hover {
  border-color: rgba(139,123,255,0.55);
  box-shadow: 0 8px 28px rgba(20,16,60,0.06);
}
.rcard .by {
  font-size: 0.78rem;
  color: #8a8f9c;
  font-weight: 500;
}
.rcard-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 4px;
  background: #0b0e1a;
}
.rcard-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rcard .rtype {
  font-size: 0.78rem;
  color: #8a8f9c;
  margin-top: 4px;
}
.rcard h3 {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: #0b0e1a;
  min-height: 2.8em;
}
.rcard .meta {
  font-size: 0.78rem;
  color: #8a8f9c;
  line-height: 1.45;
}
.rcard .read {
  margin-top: auto;
  padding-top: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--lavender-2);
}

/* CTA band */
.cta-band {
  background: #0b0e1a;
  border-top: 1px solid var(--line);
  padding: 64px 0;
  color: #fff;
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  margin-bottom: 12px;
}
.cta-band p {
  color: var(--muted);
  max-width: 36rem;
  margin: 0 auto 24px;
}

/* Footer */
.site-footer {
  background: #05060a;
  color: #aaa;
  padding: 56px 0 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.foot-grid {
  display: grid;
  gap: 28px;
  margin-bottom: 36px;
}
@media (min-width: 900px) {
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.site-footer .logo-text strong,
.site-footer .logo-text span { color: #fff; }
.site-footer p { color: #8b90a0; font-size: 0.92rem; max-width: 28rem; margin-top: 12px; }
.site-footer h4 {
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.site-footer a { color: #9aa0b0; font-size: 0.92rem; }
.site-footer a:hover { color: #fff; }
.site-footer li + li { margin-top: 8px; }
.foot-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #6b7280;
}

/* Inner pages shared */
.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 72px 0 64px;
}
.page-hero .eyebrow {
  color: var(--lavender);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 18ch;
  margin-bottom: 14px;
}
.page-hero .lead {
  color: var(--muted);
  max-width: 40rem;
  font-size: 1.05rem;
}
.section {
  padding: 72px 0;
  background: #fff;
}
.section.dark {
  background: var(--navy);
  color: #fff;
}
.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.section .intro {
  color: #555;
  max-width: 44rem;
  margin-bottom: 28px;
}
.section.dark .intro { color: var(--muted); }
.grid-2, .grid-3 { display: grid; gap: 16px; }
@media (min-width: 800px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
.card-soft {
  border: 1px solid #e6e8ef;
  background: #fff;
  padding: 24px 20px;
}
.section.dark .card-soft {
  background: rgba(255,255,255,0.03);
  border-color: var(--line);
}
.card-soft h3 { font-size: 1.1rem; font-weight: 750; margin-bottom: 8px; }
.card-soft p { color: #666; font-size: 0.95rem; }
.section.dark .card-soft p { color: var(--muted); }
.tag {
  display: block;
  color: var(--lavender);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.scard .ico {
  width: 88px;
  height: 88px;
}
.scard .ico img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(139,123,255,0.28));
}
.scard {
  flex: 0 0 min(78vw, 248px);
  min-height: 300px;
  justify-content: flex-start;
  padding: 40px 20px 24px;
  background: #0a0c16;
  border-color: rgba(255,255,255,0.12);
}
.scard h3 {
  min-height: 3.2em;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.01em;
}
