:root {
  --bg: #0d0c0a;
  --bg-alt: #131210;
  --ink: #ece5d4;
  --ink-soft: #c8c0ad;
  --ink-mute: #7d7768;
  --line: rgba(236, 229, 212, 0.10);
  --line-strong: rgba(236, 229, 212, 0.22);
  --accent: #c9a86b;
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max: 1180px;
  --pad: clamp(20px, 4vw, 56px);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: var(--bg); }

/* ─── SCROLL PROGRESS ─────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  z-index: 60;
  background: linear-gradient(to right, rgba(201, 168, 107, 0.35), var(--accent));
  box-shadow: 0 0 12px rgba(201, 168, 107, 0.45);
  transition: width .1s linear;
  pointer-events: none;
}

/* ─── INTRO VEIL ──────────────────────────────────── */
.intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #080705;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: opacity 1.2s ease 0.4s, visibility 0s linear 1.6s;
}
.intro.is-done {
  opacity: 0;
  visibility: hidden;
}
.intro__line {
  position: absolute;
  left: 50%; top: 0;
  width: 1px; height: 0;
  background: linear-gradient(to bottom, transparent, var(--accent), transparent);
  animation: introLine 1.4s cubic-bezier(.7,.0,.3,1) forwards;
}
.intro__mark {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 120px;
  letter-spacing: -0.06em;
  line-height: 1;
  color: var(--accent);
  opacity: 0;
  transform: translateY(14px);
  animation: introMark 1.2s cubic-bezier(.2,.7,.2,1) 0.55s forwards;
}
@keyframes introLine {
  0%   { height: 0;    top: 0; }
  60%  { height: 100vh; top: 0; }
  100% { height: 0;    top: 100vh; }
}
@keyframes introMark {
  to { opacity: 1; transform: translateY(0); }
}

/* ─── AMBIENT BACKDROP ────────────────────────────── */
.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
/* Static, expensive backdrop: a faint warm crown of light at the top and a
   deep edge vignette. No motion. */
.ambient__vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 55% at 50% -8%, rgba(201, 168, 107, 0.07), transparent 60%),
    radial-gradient(120% 120% at 50% 50%, transparent 55%, rgba(0, 0, 0, 0.55) 100%);
}
.ambient__grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.9   0 0 0 0 0.85   0 0 0 0 0.75   0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/></svg>");
  opacity: 0.05;
  mix-blend-mode: overlay;
}

/* lift content above ambient */
.nav, .hero, .section, .footer { position: relative; z-index: 1; }

/* ─── NAV ─────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px var(--pad);
  background: rgba(13, 12, 10, 0.62);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.02em;
}
.brand__mark {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 27px;
  letter-spacing: -0.06em;
  line-height: 1;
  color: var(--accent);
  flex-shrink: 0;
}
.brand__name { line-height: 1; }
.nav__links { display: flex; gap: 36px; }
.nav__links a {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color .2s ease;
}
.nav__links a {
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  height: 1px;
  width: 0;
  background: var(--accent);
  transition: width .35s cubic-bezier(.2,.7,.2,1);
}
.nav__links a:hover { color: var(--accent); }
.nav__links a.is-active { color: var(--ink); }
.nav__links a.is-active::after { width: 100%; }

.nav__burger {
  display: none;
  background: none; border: 0;
  flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px;
}
.nav__burger span {
  display: block; width: 22px; height: 1px;
  background: var(--ink);
  transition: transform .3s ease;
}

.nav__mobile {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 40;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 28px;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform .4s ease, opacity .4s ease, visibility 0s linear .4s;
}
.nav__mobile.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  transition: transform .4s ease, opacity .4s ease, visibility 0s;
}
.nav__mobile a {
  font-family: var(--serif);
  font-size: 32px;
}

/* ─── HERO ────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  padding: 140px var(--pad) 80px;
  display: flex;
  align-items: center;
}
.hero__grid {
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

/* scroll cue */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(24px, 5vh, 48px);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: rise 1s ease 2.6s forwards;
}
.scroll-cue__label {
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-mute);
  transition: color .25s ease;
}
.scroll-cue:hover .scroll-cue__label { color: var(--accent); }
.scroll-cue__track {
  position: relative;
  width: 1px;
  height: 46px;
  background: var(--line-strong);
  overflow: hidden;
}
.scroll-cue__dot {
  position: absolute;
  left: -1px; top: 0;
  width: 3px; height: 10px;
  background: var(--accent);
  border-radius: 2px;
  animation: scrollDot 2.2s cubic-bezier(.7,0,.3,1) infinite;
}
@keyframes scrollDot {
  0%   { transform: translateY(-12px); opacity: 0; }
  30%  { opacity: 1; }
  70%  { opacity: 1; }
  100% { transform: translateY(46px); opacity: 0; }
}
.eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 36px;
  padding-left: 28px;
  position: relative;
  opacity: 0;
  animation: rise 1s ease 1.4s forwards;
}
.eyebrow::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 18px; height: 1px;
  background: var(--ink-mute);
}
.hero__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 9vw, 132px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin-bottom: 36px;
}
.hero__name .line {
  display: block;
  overflow: hidden;
}
.hero__name .word {
  display: inline-block;
  transform: translateY(110%);
  animation: wordRise 1.2s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero__name .line:nth-child(1) .word { animation-delay: 1.6s; }
.hero__name .line:nth-child(2) .word { animation-delay: 1.78s; }
@keyframes wordRise { to { transform: translateY(0); } }

.hero__tagline {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 460px;
  margin-bottom: 44px;
  line-height: 1.55;
  opacity: 0;
  animation: rise 1s ease 2.05s forwards;
}
.hero__cta {
  display: flex; gap: 28px;
  align-items: center; flex-wrap: wrap;
  opacity: 0;
  animation: rise 1s ease 2.2s forwards;
}
.hero__list {
  list-style: none;
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  opacity: 0;
  animation: rise 1s ease 2.4s forwards;
}
.hero__list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  align-items: baseline;
}
.hero__list-k {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.hero__list-v {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink-soft);
  font-style: italic;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.btn {
  display: inline-flex; align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .25s ease;
}
.btn--ghost {
  padding: 16px 28px;
  border: 1px solid var(--line-strong);
  color: var(--ink);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn--text {
  color: var(--ink-soft);
  padding: 16px 0;
}
.btn--text span { transition: transform .25s ease; }
.btn--text:hover { color: var(--accent); }
.btn--text:hover span { transform: translateX(4px); }

/* portrait */
.hero__portrait {
  opacity: 0;
  animation: rise 1.4s ease 1.9s forwards;
}
.portrait-frame {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  padding: 14px;
}
.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(6%) contrast(1.02);
}
.portrait-frame__tick {
  position: absolute;
  width: 14px; height: 14px;
  border: 1px solid var(--accent);
  opacity: 0.7;
}
.portrait-frame__tick--tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.portrait-frame__tick--tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.portrait-frame__tick--bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.portrait-frame__tick--br { bottom: 0; right: 0; border-left: 0; border-top: 0; }

/* ─── SECTIONS ────────────────────────────────────── */
.section {
  padding: clamp(80px, 12vw, 160px) var(--pad);
  border-top: 1px solid var(--line);
}
.section--alt { background: var(--bg-alt); }

.section__inner {
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}

.section__head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 32px;
}
.section__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--accent);
}
.section__label {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.section__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 14px;
  max-width: 22ch;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.section__title--single {
  max-width: none;
  width: fit-content;
}
@media (min-width: 640px) {
  .section__title--single { white-space: nowrap; }
}

.prose {
  max-width: 68ch;
}
.prose p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.prose p:last-child { margin-bottom: 0; }

/* ─── VENTURES ────────────────────────────────────── */
.ventures {
  display: flex;
  flex-direction: column;
}
.venture {
  display: grid;
  grid-template-columns: 0.85fr 2.15fr 1.2fr;
  gap: clamp(20px, 4vw, 64px);
  align-items: start;
  padding: 40px 0;
  border-top: 1px solid var(--line-strong);
  position: relative;
  transition: padding-left .35s ease;
}
.venture:last-of-type { border-bottom: 1px solid var(--line-strong); }
.venture::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  height: 1px;
  width: 0;
  background: var(--accent);
  transition: width .6s cubic-bezier(.2,.7,.2,1);
}
.venture:hover::before { width: 100%; }
.venture:hover { padding-left: 14px; }

.venture__top {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.venture__index {
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent);
  font-size: 20px;
}
.venture__sector {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.venture__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 40px);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.venture__desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.venture__name, .venture__desc { grid-column: 2; }
.venture__name { margin-top: -6px; }
.venture__aside {
  grid-column: 3;
  grid-row: 1 / -1;
  align-self: start;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 16px;
}
.venture__logo {
  width: auto;
  max-width: 100%;
  max-height: 100px;
  object-fit: contain;
  opacity: 0.92;
  transition: opacity .35s ease;
}
.venture__logo--svg { width: 300px; max-width: 100%; height: auto; }
.venture:hover .venture__logo { opacity: 1; }
.venture__logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  border-radius: 4px;
  transition: transform .35s ease, opacity .35s ease;
}
.venture__logo-link:hover { transform: translateY(-3px); }
.venture__logo-link:hover .venture__logo { opacity: 1; }
.venture__logo-link:focus-visible {
  outline: 1px solid #c9a86b;
  outline-offset: 6px;
}
.venture__tag {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-mute);
  font-size: 15px;
  text-align: right;
}

/* ─── PRINCIPLES ──────────────────────────────────── */
.principles {
  list-style: none;
  display: flex;
  flex-direction: column;
}
.principles li {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 40px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.principles li:last-child { border-bottom: 1px solid var(--line); }
.principles__k {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--ink);
}
.principles__v {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
  max-width: 60ch;
}

/* ─── CONTACT ─────────────────────────────────────── */
.contact {
  display: flex;
  flex-direction: column;
  max-width: 760px;
}
.contact__line {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 32px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
  transition: padding-left .25s ease, color .25s ease;
}
.contact__line:last-child { border-bottom: 1px solid var(--line); }
.contact__line:not(.contact__line--static):hover { padding-left: 10px; color: var(--accent); }
.contact__k {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.contact__v {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--ink);
}
.contact__arrow {
  color: var(--ink-mute);
  font-family: var(--serif);
  font-size: 20px;
  transition: transform .25s ease, color .25s ease;
}
.contact__line:not(.contact__line--static):hover .contact__v { color: var(--accent); }
.contact__line:not(.contact__line--static):hover .contact__arrow {
  color: var(--accent);
  transform: translateX(6px);
}

/* ─── FOOTER ──────────────────────────────────────── */
.footer {
  padding: 32px var(--pad);
  border-top: 1px solid var(--line);
}
.footer__mark {
  display: block;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 30px;
  letter-spacing: -0.06em;
  line-height: 1;
  margin: 0 auto 14px;
  color: var(--accent);
  opacity: 0.9;
}
.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.footer__dot { opacity: 0.5; }

/* ─── REVEAL ANIMATION ────────────────────────────── */
/* Sharp scroll reveals: content slides up crisply, no blur. */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Section titles wipe in from the leading edge instead of fading. */
.section__title.reveal {
  opacity: 1;
  transform: none;
  clip-path: inset(0 100% 0 0);
  transition: clip-path .85s cubic-bezier(.2,.7,.2,1);
}
.section__title.reveal.is-visible {
  clip-path: inset(0 0 0 0);
}
/* stagger the venture rows as the group reveals */
.venture.reveal:nth-of-type(1) { transition-delay: .00s; }
.venture.reveal:nth-of-type(2) { transition-delay: .10s; }
.venture.reveal:nth-of-type(3) { transition-delay: .20s; }
.venture.reveal:nth-of-type(4) { transition-delay: .30s; }

/* ─── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__burger.open span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
  .nav__burger.open span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

  .hero { padding-top: 120px; }
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .hero__portrait { order: -1; max-width: 360px; margin: 0 auto; width: 100%; }
  .hero__list li { grid-template-columns: 1fr; gap: 8px; }

  .venture {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .venture__name, .venture__desc { grid-column: 1; }
  .venture__aside {
    grid-column: 1;
    grid-row: auto;
    align-items: flex-start;
    gap: 14px;
    margin-top: 6px;
  }
  .venture__tag { text-align: left; }

  .principles li { grid-template-columns: 1fr; gap: 8px; }
  .contact__line { grid-template-columns: 1fr auto; gap: 6px 18px; }
  .contact__k { grid-column: 1 / -1; }

  .intro__mark { font-size: 84px; }
  .scroll-cue { display: none; }
}

@media (max-width: 520px) {
  .hero__cta { gap: 14px; }
  .btn--ghost { padding: 14px 22px; }
  .section__title { padding-bottom: 10px; margin-bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .intro { display: none; }
  .hero__name .word { transform: none; }
  .eyebrow, .hero__tagline, .hero__cta, .hero__list, .hero__portrait, .scroll-cue { opacity: 1; }
  .venture.reveal { transition-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; }
  .section__title.reveal { clip-path: inset(0 0 0 0); }
}
