/* ============================================
   ONE Ventures — monochrome design system
   ============================================ */

:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --grey-100: #f5f5f4;
  --grey-300: #e4e4e2;
  --grey-500: #8a8a88;
  --grey-700: #4a4a48;
  --font-sans: "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SF Mono", Menlo, monospace;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --nav-h: 5rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

::selection { background: var(--black); color: var(--white); }

/* ---------- type scale ---------- */

.display {
  font-size: clamp(2.5rem, 6.5vw, 5.75rem);
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.display--hero {
  font-size: clamp(2.75rem, 7vw, 6.5rem);
}

.headline {
  font-size: clamp(1.9rem, 3.6vw, 3.25rem);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-500);
}

.lede {
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  line-height: 1.45;
  letter-spacing: -0.015em;
  font-weight: 400;
}

.body-copy p + p { margin-top: 1.1em; }
.body-copy { color: var(--grey-700); }
.body-copy strong { color: var(--black); font-weight: 600; }

/* ---------- nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  color: var(--white);
  transition: background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}

.nav--solid,
.nav.is-scrolled {
  background: var(--white);
  color: var(--black);
  box-shadow: 0 1px 0 var(--grey-300);
}

.nav__logo { display: flex; align-items: center; }
.nav__logo svg { height: 3.5rem; width: auto; fill: currentColor; }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.75rem);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.nav__links a { opacity: 0.75; transition: opacity 0.2s ease; }
.nav__links a:hover, .nav__links a[aria-current="page"] { opacity: 1; }

.nav__cta {
  padding: 0.55rem 1.15rem;
  border: 1px solid currentColor;
  border-radius: 2rem;
  opacity: 1 !important;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav--solid .nav__cta:hover,
.nav.is-scrolled .nav__cta:hover { background: var(--black); color: var(--white); }
.nav:not(.is-scrolled):not(.nav--solid) .nav__cta:hover { background: var(--white); color: var(--black); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  padding: 1rem 1.75rem;
  border-radius: 2.5rem;
  border: 1px solid var(--black);
  background: var(--black);
  color: var(--white);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn:hover { background: transparent; color: var(--black); }

.btn--inverse {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}
.btn--inverse:hover { background: transparent; color: var(--white); }

.btn--ghost {
  background: transparent;
  color: var(--black);
}
.btn--ghost:hover { background: var(--black); color: var(--white); }

.btn__arrow { font-family: var(--font-sans); transition: transform 0.2s ease; }
.btn:hover .btn__arrow { transform: translateX(4px); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.text-link .btn__arrow { transition: transform 0.2s ease; }
.text-link:hover .btn__arrow { transform: translateX(4px); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}

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

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 8, 12, 0.72) 0%, rgba(5, 8, 12, 0.25) 45%, rgba(5, 8, 12, 0.3) 100%);
}

.hero__content {
  position: relative;
  width: 100%;
  padding: calc(var(--nav-h) + 2rem) var(--gutter) clamp(2.5rem, 6vh, 5rem);
}

.hero__content .display { max-width: 18ch; }

.hero__sub {
  margin-top: 1.75rem;
  max-width: 52ch;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.55;
  opacity: 0.88;
}

.hero__actions { margin-top: 2.5rem; display: flex; gap: 1rem; flex-wrap: wrap; }

.hero--short { min-height: 72svh; }

/* ---------- sections ---------- */

.section {
  padding: clamp(4.5rem, 10vw, 8.5rem) var(--gutter);
}

.section--tight { padding-block: clamp(3rem, 7vw, 5.5rem); }

.section--dark {
  background: var(--black);
  color: var(--white);
}
.section--dark .body-copy { color: rgba(255, 255, 255, 0.72); }
.section--dark .body-copy strong { color: var(--white); }
.section--dark .eyebrow { color: rgba(255, 255, 255, 0.5); }

.section--grey { background: var(--grey-100); }

.section__rule {
  border: 0;
  border-top: 1px solid var(--grey-300);
  margin: 0 var(--gutter);
}
.section--dark .section__rule { border-color: rgba(255,255,255,0.16); }

/* two-column: eyebrow left, content right (Arkitekt "Practice" pattern) */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: start;
}

.split__label { position: sticky; top: calc(var(--nav-h) + 1.5rem); }

@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; }
  .split__label { position: static; }
}

/* ---------- stats band ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem var(--gutter);
}

.stats__value {
  font-family: var(--font-mono);
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  font-feature-settings: "zero" 0;
  font-variant-numeric: normal;
}

.stats__label {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--grey-500);
  max-width: 16ch;
}

.section--dark .stats__label { color: rgba(255,255,255,0.55); }

/* centered variant: equal space left/right of every column's text */
.stats--center { text-align: center; }
.stats--center .stats__label { margin-left: auto; margin-right: auto; }
.section--center { text-align: center; }
.section--center .stats__label { margin-left: auto; margin-right: auto; }

@media (max-width: 800px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- home teaser blocks ---------- */

.teaser {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
}

.teaser--flip .teaser__media { order: 2; }

.teaser__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--grey-100);
}

.teaser__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: transform 0.7s ease;
}

.teaser:hover .teaser__media img { transform: scale(1.03); }

.teaser__body .headline { margin: 1rem 0 1.25rem; }
.teaser__body .body-copy { max-width: 46ch; }
.teaser__body .text-link, .teaser__body .btn { margin-top: 1.75rem; }

@media (max-width: 800px) {
  .teaser, .teaser--flip { grid-template-columns: 1fr; }
  .teaser--flip .teaser__media { order: 0; }
}

/* ---------- invest pillars ---------- */

.pillar {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
}

.pillar + .pillar {
  margin-top: clamp(4rem, 9vw, 7.5rem);
  padding-top: clamp(4rem, 9vw, 7.5rem);
  border-top: 1px solid var(--grey-300);
}

.pillar__index {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--grey-500);
  margin-bottom: 1rem;
}

.pillar__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--grey-100);
}

.pillar__media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}

.pillar__body .headline { margin-bottom: 1.5rem; }
.pillar__body .body-copy { max-width: 58ch; }

@media (max-width: 800px) {
  .pillar { grid-template-columns: 1fr; }
  .pillar__media { aspect-ratio: 4 / 3; }
}

/* ---------- disclosure ---------- */

.disclosure {
  max-width: 62ch;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--grey-500);
}
.disclosure p + p { margin-top: 0.9em; }
.disclosure h2 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 1.25rem;
  color: var(--grey-700);
}

/* ---------- contact form ---------- */

.form { max-width: 40rem; }

.form__row { margin-bottom: 2.25rem; }

.form label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin-bottom: 0.6rem;
}

.form input,
.form select {
  width: 100%;
  font: inherit;
  font-size: 1.15rem;
  color: var(--black);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--grey-300);
  padding: 0.5rem 0 0.85rem;
  border-radius: 0;
  transition: border-color 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%230a0a0a' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.25rem center;
  cursor: pointer;
}

.form input:focus,
.form select:focus {
  outline: none;
  border-bottom-color: var(--black);
}

.form input::placeholder { color: var(--grey-300); }

.form__note {
  margin-top: 1.5rem;
  font-size: 0.9375rem;
  color: var(--grey-500);
  min-height: 1.2em;
}
.form__note--error { color: var(--black); }

/* ---------- CTA band ---------- */

.cta-band { text-align: left; }
.cta-band .display { max-width: 16ch; }
.cta-band .btn { margin-top: 2.5rem; }
.cta-band__sub { margin-top: 1.5rem; max-width: 46ch; }

/* ---------- footer ---------- */

.footer {
  background: var(--black);
  color: var(--white);
  padding: clamp(3.5rem, 7vw, 5.5rem) var(--gutter) 2.5rem;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  flex-wrap: wrap;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid rgba(255,255,255,0.16);
}

.footer__logo svg { height: 3.5rem; width: auto; fill: var(--white); }

.footer__links {
  display: flex;
  gap: clamp(2rem, 5vw, 5rem);
}

.footer__links h3 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1rem;
}

.footer__links ul { list-style: none; }
.footer__links li + li { margin-top: 0.6rem; }
.footer__links a { opacity: 0.8; font-size: 0.9375rem; }
.footer__links a:hover { opacity: 1; }

.footer__bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
}

.footer__legal { max-width: 72ch; font-size: 0.875rem; line-height: 1.7; margin-top: 1.25rem; color: rgba(255,255,255,0.38); }

/* ---------- page header (interior pages) ---------- */

.page-head {
  padding: calc(var(--nav-h) + clamp(3.5rem, 9vw, 7rem)) var(--gutter) clamp(3rem, 7vw, 5.5rem);
}

.page-head .eyebrow { display: block; margin-bottom: 1.5rem; }
.page-head .display { max-width: 20ch; }
.page-head .lede { margin-top: 2rem; max-width: 56ch; color: var(--grey-700); }

/* ---------- login modal ---------- */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--gutter);
  background: rgba(5, 8, 12, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.is-open { opacity: 1; visibility: visible; }

.modal {
  width: 100%;
  max-width: 26rem;
  background: var(--white);
  color: var(--black);
  padding: clamp(2rem, 5vw, 3rem);
  position: relative;
  transform: translateY(16px);
  transition: transform 0.3s ease;
}

.modal-overlay.is-open .modal { transform: none; }

.modal__close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  line-height: 1;
  background: none;
  border: 0;
  color: var(--grey-500);
  cursor: pointer;
  transition: color 0.2s ease;
}

.modal__close:hover { color: var(--black); }

.modal .eyebrow { display: block; margin-bottom: 0.75rem; }

.modal__title {
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 2rem;
}

.modal .form__row { margin-bottom: 1.75rem; }
.modal .btn { width: 100%; justify-content: center; }

.modal__note {
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  color: var(--grey-500);
  text-align: center;
  min-height: 1.2em;
}

/* ---------- reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
