:root {
  --ink: #0d1b17;
  --forest: #14352b;
  --forest-2: #1d4a3b;
  --navy: #15263d;
  --sage: #8fb8a3;
  --cream: #f5f2ec;
  --white: #ffffff;
  --text: #1c2522;
  --muted: #5d6b66;
  --line: #e2ddd3;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter", -apple-system, system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
em { font-style: italic; }

.container { width: min(1120px, 88vw); margin: 0 auto; }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 22px 0;
  transition: padding .25s, box-shadow .25s;
}
.nav.scrolled {
  background: #ffffff;
  backdrop-filter: blur(12px);
  padding: 14px 0;
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner { display: flex; justify-content: space-between; align-items: center; }
.brand { font-family: var(--serif); font-size: 1.6rem; color: var(--white); }
.nav-links { display: flex; align-items: center; gap: 32px; font-size: 0.92rem; }
.nav-links a { color: rgba(255,255,255,.78); }
.nav-links a:hover { color: var(--white); }
.nav-btn {
  border: 1px solid rgba(255,255,255,.4); padding: 9px 18px; border-radius: 999px;
  color: var(--white) !important;
}
.nav.scrolled .brand { color: var(--ink); }
.nav.scrolled .nav-links a { color: var(--muted); }
.nav.scrolled .nav-links a:hover { color: var(--ink); }
.nav.scrolled .nav-btn { background: var(--forest); border-color: var(--forest); color: var(--white) !important; }

/* HERO */
.hero {
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(29, 74, 59, .55), transparent 70%),
    linear-gradient(160deg, var(--ink) 0%, var(--forest) 55%, var(--navy) 100%);
  color: var(--white);
  padding: 150px 0 56px;
}
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 64px; align-items: center; }
.kicker { font-size: 0.82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--sage); margin-bottom: 26px; }
h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(3rem, 7vw, 5.6rem); line-height: 1.02; letter-spacing: -0.01em;
}
h1 em { color: var(--sage); }
.hero-lead { margin-top: 28px; max-width: 540px; font-size: 1.12rem; color: rgba(255,255,255,.78); font-weight: 300; }
.hero-actions { display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 999px; font-size: 0.95rem; font-weight: 500;
  transition: transform .2s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--cream); }
.btn-outline { border: 1px solid rgba(255,255,255,.35); color: var(--white); }
.btn-outline:hover { border-color: var(--white); }

.hero-photo { display: flex; justify-content: center; }
.photo-frame {
  position: relative; width: 100%; max-width: 380px; aspect-ratio: 4 / 5;
  border-radius: 28px; overflow: hidden;
  background: linear-gradient(145deg, var(--forest-2), var(--navy));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  display: grid; place-items: center;
}
.photo-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.monogram { font-family: var(--serif); font-size: 7rem; color: rgba(255,255,255,.18); }

.metrics {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 64px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.14);
}
.metrics div { padding-right: 24px; }
.metrics div + div { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.14); }
.metrics dt { font-family: var(--serif); font-size: 2.6rem; line-height: 1.1; }
.metrics dd { font-size: 0.86rem; color: rgba(255,255,255,.6); margin-top: 4px; }

/* SECTIONS */
.section { padding: 120px 0; }
.cream { background: var(--cream); }
.section-head { margin-bottom: 56px; }
.eyebrow {
  font-size: 0.78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--forest-2); font-weight: 600; margin-bottom: 16px;
}
.eyebrow.light { color: var(--sage); }
.display {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.4rem, 4.8vw, 3.8rem); line-height: 1.05; color: var(--ink);
}
.display em { color: var(--forest-2); }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 80px; }
.about-body p { color: var(--muted); margin-bottom: 20px; font-size: 1.05rem; }
.skill-cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px;
  margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line);
}
.skill-cols h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink); margin-bottom: 8px; }
.skill-cols p { font-size: 0.93rem; margin: 0; }

/* VENTURES */
.venture {
  display: grid; grid-template-columns: 0.9fr 1.3fr;
  border: 1px solid var(--line); border-radius: 24px; overflow: hidden;
  margin-bottom: 28px; background: var(--white);
  transition: box-shadow .3s, transform .3s;
}
.venture:hover { box-shadow: 0 24px 60px rgba(13, 27, 23, .08); transform: translateY(-3px); }
.venture-banner {
  position: relative; overflow: hidden;
  padding: 44px 40px; color: var(--white);
  display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px;
}
.venture-banner.has-photo { min-height: 420px; }
.venture-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  transition: transform .6s ease;
}
.venture:hover .venture-img { transform: scale(1.03); }
.venture-banner.has-photo::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(13, 27, 23, .45) 0%,
    rgba(13, 27, 23, .08) 38%,
    rgba(13, 27, 23, .22) 60%,
    rgba(13, 27, 23, .82) 100%
  );
}
.venture-banner > *:not(.venture-img) { position: relative; z-index: 2; }
.venture-banner.navy { background: linear-gradient(160deg, #1d3554, var(--navy)); }
.venture-banner.forest { background: linear-gradient(160deg, var(--forest-2), var(--forest)); }
.venture-year { font-size: 0.8rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.82); margin-bottom: auto; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.venture-banner h3 { font-family: var(--serif); font-weight: 400; font-size: 2.8rem; line-height: 1.05; margin-top: 60px; text-shadow: 0 2px 16px rgba(0,0,0,.35); }
.venture-banner p { color: rgba(255,255,255,.85); font-size: 0.92rem; margin-top: 8px; text-shadow: 0 1px 10px rgba(0,0,0,.35); }
.venture-body { padding: 40px 44px; }
.venture-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line);
}
.venture-stats strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.7rem; color: var(--ink); line-height: 1.2; }
.venture-stats span { font-size: 0.8rem; color: var(--muted); }
.venture-body > p { color: var(--muted); }
.venture-body ul { list-style: none; margin-top: 18px; }
.venture-body li { position: relative; padding-left: 22px; margin-bottom: 10px; color: var(--text); font-size: 0.96rem; }
.venture-body li::before {
  content: ""; position: absolute; left: 0; top: 11px; width: 10px; height: 1px; background: var(--forest-2);
}
.text-link { display: inline-block; margin-top: 18px; color: var(--forest-2); font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.project {
  padding: 34px 36px; border-radius: 20px; background: var(--cream);
  display: flex; flex-direction: column;
  transition: transform .3s;
}
.project:hover { transform: translateY(-3px); }
.project-top { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.app-icon {
  width: 64px; height: 64px; border-radius: 16px; flex-shrink: 0;
  object-fit: cover; box-shadow: 0 8px 20px rgba(13, 27, 23, .12);
}
.app-icon.dark-icon { background: #0d0d10; padding: 6px; object-fit: contain; }
.project-meta { font-size: 0.76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--forest-2); font-weight: 600; }
.project h3 { font-family: var(--serif); font-weight: 400; font-size: 1.85rem; line-height: 1.1; color: var(--ink); margin-top: 4px; }
.project-desc { color: var(--muted); font-size: 0.95rem; }
.project .text-link { align-self: flex-start; margin-top: 18px; }

/* INTERACTIVE TIMELINE */
.exp-header {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 28px;
  flex-wrap: wrap; margin-bottom: 52px;
}
.exp-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn {
  font-family: var(--sans); font-size: 0.86rem; font-weight: 500;
  padding: 9px 18px; border-radius: 999px; cursor: pointer;
  background: var(--white); color: var(--muted); border: 1px solid var(--line);
  transition: background .2s, color .2s, border-color .2s;
}
.filter-btn:hover { color: var(--ink); border-color: var(--forest-2); }
.filter-btn.active { background: var(--forest); color: var(--white); border-color: var(--forest); }

.timeline { position: relative; padding-left: 44px; }
.tl-track {
  position: absolute; left: 9px; top: 22px; bottom: 22px; width: 2px;
  background: var(--line); border-radius: 2px; overflow: hidden;
}
.tl-progress {
  width: 100%; height: 0%; background: var(--forest-2);
  transition: height .15s ease-out;
}
.tl-item { position: relative; margin-bottom: 18px; }
.tl-item:last-child { margin-bottom: 0; }
.tl-item.hidden { display: none; }

.tl-node {
  position: absolute; left: -41px; top: 26px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--cream); border: 2px solid var(--muted);
  transition: background .25s, border-color .25s, box-shadow .25s, transform .25s;
}
.tl-item:hover .tl-node { border-color: var(--forest-2); transform: scale(1.1); }
.tl-item.open .tl-node {
  background: var(--forest-2); border-color: var(--forest-2);
  box-shadow: 0 0 0 5px rgba(29, 74, 59, .14);
}

.tl-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.tl-item:hover .tl-card { border-color: rgba(29, 74, 59, .35); }
.tl-item.open .tl-card {
  border-color: rgba(29, 74, 59, .35);
  box-shadow: 0 14px 36px rgba(13, 27, 23, .06);
}

.tl-trigger {
  width: 100%; background: none; border: 0; text-align: left; cursor: pointer;
  padding: 22px 28px; font-family: inherit; color: inherit; display: block;
}
.tl-top { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.tl-date { font-size: 0.82rem; font-weight: 500; color: var(--muted); letter-spacing: .02em; }
.tl-tag {
  font-size: 0.72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px;
  background: var(--cream); color: var(--forest-2);
}
.tl-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.tl-head h3 { font-size: 1.12rem; font-weight: 600; color: var(--ink); line-height: 1.35; }
.tl-head h3 span { font-weight: 400; color: var(--muted); }
.tl-role { color: var(--forest-2); font-size: 0.94rem; margin-top: 2px; }

.tl-toggle {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line); position: relative; margin-top: 2px;
  transition: background .2s, border-color .2s;
}
.tl-toggle::before, .tl-toggle::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: var(--forest-2);
  transform: translate(-50%, -50%); transition: transform .25s, opacity .25s, background .2s;
}
.tl-toggle::before { width: 12px; height: 1.5px; }
.tl-toggle::after { width: 1.5px; height: 12px; }
.tl-item.open .tl-toggle { background: var(--forest); border-color: var(--forest); }
.tl-item.open .tl-toggle::before { background: var(--white); }
.tl-item.open .tl-toggle::after { opacity: 0; transform: translate(-50%, -50%) rotate(90deg); }

.tl-content {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
}
.tl-item.open .tl-content { grid-template-rows: 1fr; }
.tl-content-inner { overflow: hidden; }
.tl-content-inner p {
  padding: 0 28px 24px; color: var(--muted); font-size: 0.96rem; max-width: 720px;
}

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 26px 40px 26px 0; position: relative;
  font-size: 1.12rem; font-weight: 500; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 300; color: var(--forest-2); transition: transform .25s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 40px 26px 0; }

/* CONTACT */
.contact {
  background: linear-gradient(160deg, var(--forest) 0%, var(--ink) 100%);
  color: var(--white); padding: 130px 0 0; text-align: center;
}
.contact .display { color: var(--white); font-size: clamp(3rem, 7vw, 5.4rem); }
.contact-inner > p:not(.eyebrow) { color: rgba(255,255,255,.7); margin-top: 18px; font-size: 1.08rem; }
.contact-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.footer {
  display: flex; justify-content: space-between; margin-top: 120px;
  padding: 28px 0; border-top: 1px solid rgba(255,255,255,.12);
  font-size: 0.85rem; color: rgba(255,255,255,.5);
}

/* REVEAL */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-grid, .about-grid, .faq-grid, .venture, .project-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 48px; }
  .hero-photo { justify-content: flex-start; }
  .photo-frame { max-width: 300px; }
  .about-grid, .faq-grid { gap: 32px; }
  .metrics { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .metrics div:nth-child(3) { padding-left: 0; border-left: 0; }
  .venture-banner { min-height: 220px; }
  .venture-banner.has-photo { min-height: 360px; }
  .nav-links a:not(.nav-btn) { display: none; }
}
@media (max-width: 600px) {
  .section { padding: 84px 0; }
  .hero { padding-top: 130px; }
  .timeline { padding-left: 30px; }
  .tl-node { left: -27px; top: 22px; }
  .tl-trigger { padding: 18px 20px; }
  .tl-content-inner p { padding: 0 20px 20px; }
  .venture-body, .venture-banner { padding: 30px 26px; }
  .skill-cols { grid-template-columns: 1fr; }
  .venture-stats strong { font-size: 1.35rem; }
  .footer { flex-direction: column; gap: 6px; align-items: center; }
}
