/* ─────────────────────────────────────────────
   Michael Nurbatlian — Personal Website
   ───────────────────────────────────────────── */

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

:root {
  --black:    #151515;
  --forest:   #243528;
  --parchment:#F3EEE5;
  --cream:    #FAF8F4;
  --stone:    #B8B1A8;
  --brass:    #A98C5A;
  --muted:    #8A8480;
  --sand:     #DDD5C8;
  --dark:     #2A2520;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--black);
  overflow-x: hidden;
  cursor: none;
  font-weight: 300;
  line-height: 1.6;
}

/* ── CURSOR ─────────────────────────────────── */
.cur, .cur-ring {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}
.cur {
  width: 6px; height: 6px;
  background: var(--brass);
}
.cur-ring {
  width: 28px; height: 28px;
  border: 1px solid var(--brass);
  opacity: .35; z-index: 9998;
  transition: transform .42s cubic-bezier(.25,.46,.45,.94);
}

/* ── NAV ─────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 32px 72px;
  display: flex; justify-content: space-between; align-items: center;
  transition: all .5s;
}
nav.scrolled {
  background: rgba(250,248,244,.96);
  backdrop-filter: blur(20px);
  padding: 18px 72px;
  border-bottom: 1px solid var(--sand);
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; font-weight: 400;
  color: #fff; text-decoration: none;
  letter-spacing: .12em; transition: color .4s;
}
nav.scrolled .nav-logo { color: var(--black); }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; font-weight: 400;
  color: rgba(255,255,255,.6);
  text-decoration: none; transition: color .3s;
}
nav.scrolled .nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--brass) !important; }

/* ── HERO ────────────────────────────────────── */
#hero {
  position: relative;
  height: 100vh; min-height: 700px;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-img {
  position: absolute; inset: 0;
  background: url('../images/hero.jpg') center 20% / cover no-repeat;
}
.hero-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(110deg,
    rgba(15,13,11,.92) 0%,
    rgba(15,13,11,.72) 45%,
    rgba(15,13,11,.10) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 0 72px; max-width: 640px;
  opacity: 0; transform: translateY(28px);
  animation: fadeUp 1.4s cubic-bezier(.25,.46,.45,.94) .3s forwards;
}
h1.hero-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(60px, 9vw, 120px);
  font-weight: 300; color: var(--parchment);
  line-height: .88; letter-spacing: -.01em;
  margin-bottom: 28px;
}
.hero-rule { width: 40px; height: 1px; background: var(--brass); margin-bottom: 24px; }
.hero-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 300; font-style: italic;
  color: var(--stone); margin-bottom: 28px;
}
.hero-intro, .hero-intro-2 {
  font-size: 15px; line-height: 1.82;
  color: rgba(243,238,229,.68);
  font-weight: 300; margin-bottom: 10px;
}
.hero-intro-2 { margin-bottom: 44px; }
.hero-cta {
  font-size: 10px; letter-spacing: .24em;
  text-transform: uppercase; color: var(--parchment);
  border-bottom: 1px solid var(--brass);
  padding-bottom: 4px; text-decoration: none;
  font-weight: 400; transition: color .3s;
}
.hero-cta:hover { color: var(--brass); }

/* ── LAYOUT HELPERS ─────────────────────────── */
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 72px; }
.s-label {
  font-size: 10px; letter-spacing: .32em;
  text-transform: uppercase; color: var(--brass);
  display: block; margin-bottom: 16px; font-weight: 400;
}
.s-rule { width: 100%; height: 1px; background: var(--sand); margin-bottom: 72px; }

/* ── ABOUT ───────────────────────────────────── */
#about { background: var(--parchment); padding: 120px 0; }
#about .s-rule { background: var(--sand); }
.about-text { max-width: 760px; }
.about-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 300; color: var(--black);
  line-height: 1.1; letter-spacing: -.01em; margin-bottom: 36px;
}
.about-text p {
  font-size: 16px; line-height: 1.85;
  color: var(--dark); margin-bottom: 20px; font-weight: 300;
}
.metrics {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 56px;
  border-top: 1px solid var(--sand);
  border-left: 1px solid var(--sand);
}
.metric {
  padding: 28px 24px;
  border-right: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
  text-align: center;
}
.metric-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px; font-weight: 300;
  color: var(--forest); display: block; margin-bottom: 8px;
}
.metric-label {
  font-size: 10px; letter-spacing: .1em;
  color: var(--muted); text-transform: uppercase;
  line-height: 1.5; font-weight: 400;
}

/* ── ADVISORY ───────────────────────────────── */
#advisory { background: var(--black); padding: 120px 0; }
#advisory .s-label { color: var(--brass); }
#advisory .s-rule { background: rgba(169,140,90,.2); }
.adv-head {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 72px; align-items: end; margin-bottom: 64px;
}
.adv-head h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 3.8vw, 52px);
  font-weight: 300; color: var(--parchment); line-height: 1.1;
}
.adv-head h2 em { font-style: italic; color: var(--brass); }
.adv-intro { font-size: 15px; line-height: 1.85; color: var(--stone); font-weight: 300; }
.adv-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(169,140,90,.12);
}
.adv-card {
  padding: 44px 36px; background: var(--black);
  transition: background .4s;
}
.adv-card:hover { background: #1A1A18; }
.adv-num {
  font-size: 10px; letter-spacing: .28em; color: var(--brass);
  display: block; margin-bottom: 20px;
  text-transform: uppercase; font-weight: 400;
}
.adv-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 300;
  color: var(--parchment); margin-bottom: 14px; line-height: 1.3;
}
.adv-rule { width: 24px; height: 1px; background: var(--brass); margin-bottom: 16px; }
.adv-card p { font-size: 14px; line-height: 1.78; color: var(--stone); font-weight: 300; }
.adv-list { margin-top: 16px; padding: 0; list-style: none; }
.adv-list li {
  font-size: 13px; color: rgba(184,177,168,.6);
  padding: 4px 0 4px 16px; position: relative; font-weight: 300;
}
.adv-list li::before {
  content: '—'; position: absolute; left: 0;
  color: var(--brass); font-size: 10px; top: 6px;
}

/* ── CAREER ─────────────────────────────────── */
#career { background: var(--cream); padding: 120px 0; }
.career-head { margin-bottom: 64px; }
.career-head h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 3.8vw, 52px);
  font-weight: 300; color: var(--black); line-height: 1.1;
}
.career-head h2 em { font-style: italic; color: var(--forest); }
.c-item {
  display: grid; grid-template-columns: 240px 1fr;
  gap: 48px; padding: 36px 0;
  border-top: 1px solid var(--sand);
  align-items: baseline;
}
.c-item:last-child { border-bottom: 1px solid var(--sand); }
.c-co {
  font-size: 11px; letter-spacing: .14em;
  color: var(--forest); text-transform: uppercase; font-weight: 500;
}
.c-role {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 300;
  color: var(--black); line-height: 1.2;
}

/* ── PHILOSOPHY ─────────────────────────────── */
#philosophy { background: var(--forest); padding: 120px 0; }
#philosophy .s-label { color: var(--brass); }
#philosophy .s-rule { background: rgba(169,140,90,.18); }
.phil-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.phil-left {
  padding-right: 72px;
  border-right: 1px solid rgba(169,140,90,.18);
}
.phil-right { padding-left: 72px; }
.phil-left h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 300; color: var(--parchment);
  line-height: 1.15; margin-bottom: 32px;
}
.phil-left p {
  font-size: 15px; line-height: 1.85;
  color: rgba(179,172,163,.8);
  font-weight: 300; margin-bottom: 14px;
}
.principles { display: flex; flex-direction: column; }
.principle {
  padding: 20px 0;
  border-top: 1px solid rgba(169,140,90,.12);
  display: flex; gap: 20px; align-items: baseline;
}
.principle:last-child { border-bottom: 1px solid rgba(169,140,90,.12); }
.p-num {
  font-size: 10px; letter-spacing: .2em;
  color: var(--brass); min-width: 18px; font-weight: 400;
}
.p-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px; font-weight: 300;
  color: var(--parchment); line-height: 1.4;
}

/* ── PERFORMANCE ────────────────────────────── */
#performance { position: relative; padding: 140px 0; overflow: hidden; }
.perf-bg {
  position: absolute; inset: 0;
  background: url('../images/lobby.jpg') center / cover no-repeat;
}
.perf-bg::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(12,11,9,.84);
}
.perf-inner {
  position: relative; z-index: 2;
  max-width: 1100px; margin: 0 auto; padding: 0 72px;
}
.perf-inner h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 300; color: var(--parchment);
  line-height: 1.1; margin-bottom: 28px; max-width: 580px;
}
.perf-inner h2 em { font-style: italic; color: var(--brass); }
.perf-inner p {
  font-size: 15px; line-height: 1.85;
  color: var(--stone); font-weight: 300;
  max-width: 560px; margin-bottom: 14px;
}
.perf-closing {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-style: italic;
  color: var(--parchment);
  border-left: 2px solid var(--brass);
  padding-left: 22px; margin-top: 36px;
  line-height: 1.55; max-width: 500px;
}

/* ── PROJECTS ───────────────────────────────── */
#projects { background: var(--parchment); padding: 120px 0; }
.proj-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
}
.proj-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 3.8vw, 52px);
  font-weight: 300; color: var(--black);
  line-height: 1.1; margin-bottom: 28px;
}
.proj-text h2 em { font-style: italic; color: var(--forest); }
.proj-text p {
  font-size: 15px; line-height: 1.85;
  color: var(--dark); font-weight: 300; margin-bottom: 16px;
}
.proj-img {
  width: 100%; aspect-ratio: 4 / 3;
  background: url('../images/room.jpg') center / cover no-repeat;
}

/* ── SPEAKING ───────────────────────────────── */
#speaking { background: var(--cream); padding: 120px 0; }
.speak-head h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 3.8vw, 52px);
  font-weight: 300; color: var(--black);
  line-height: 1.1; margin-bottom: 28px;
}
.speak-head h2 em { font-style: italic; color: var(--forest); }
.speak-head p {
  font-size: 15px; line-height: 1.85;
  color: var(--dark); font-weight: 300;
  margin-bottom: 12px; max-width: 700px;
}
.speak-topics { margin-top: 4px; list-style: none; }
.speak-topics li {
  font-size: 14px; color: var(--muted);
  padding: 4px 0 4px 18px;
  position: relative; font-weight: 300;
}
.speak-topics li::before {
  content: '—'; position: absolute; left: 0;
  color: var(--brass); font-size: 10px; top: 6px;
}
.media-strip {
  margin-top: 64px; padding-top: 48px;
  border-top: 1px solid var(--sand);
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.media-card {
  padding: 32px 28px;
  border: 1px solid var(--sand);
  text-align: center;
  transition: border-color .3s, background .3s;
}
.media-card:hover { border-color: var(--brass); background: rgba(169,140,90,.04); }
.media-pub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; font-weight: 400;
  color: var(--black); display: block; margin-bottom: 8px;
}
.media-topic {
  font-size: 10px; letter-spacing: .14em;
  color: var(--muted); text-transform: uppercase; font-weight: 400;
}

/* ── LEGACY ─────────────────────────────────── */
#legacy { position: relative; padding: 160px 0; overflow: hidden; }
.legacy-bg {
  position: absolute; inset: 0;
  background: url('../images/yacht.jpg') center / cover no-repeat;
}
.legacy-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg,
    rgba(18,16,14,.94) 0%,
    rgba(18,16,14,.78) 50%,
    rgba(18,16,14,.35) 100%);
}
.legacy-inner {
  position: relative; z-index: 2;
  max-width: 1100px; margin: 0 auto; padding: 0 72px;
}
.legacy-text { max-width: 640px; }
.legacy-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(44px, 6.5vw, 84px);
  font-weight: 300; color: var(--parchment);
  line-height: .95; letter-spacing: -.01em; margin-bottom: 44px;
}
.legacy-text h2 em { font-style: italic; color: var(--brass); }
.legacy-text p {
  font-size: 16px; line-height: 1.9;
  color: rgba(243,238,229,.68);
  font-weight: 300; margin-bottom: 18px;
}
.legacy-text p strong { color: var(--parchment); font-weight: 400; }

/* ── CONTACT ────────────────────────────────── */
#contact { background: var(--black); padding: 100px 0 72px; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: end; margin-bottom: 60px;
}
#contact .s-label { color: var(--brass); }
.contact-left h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 300; color: var(--parchment);
  line-height: 1.05; margin-bottom: 24px;
}
.contact-left h2 em { font-style: italic; color: var(--brass); }
.contact-left p {
  font-size: 15px; line-height: 1.85;
  color: var(--stone); font-weight: 300; margin-bottom: 12px;
}
.contact-right { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.contact-email {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; color: var(--parchment);
  text-decoration: none;
  border-bottom: 1px solid rgba(169,140,90,.35);
  padding-bottom: 4px;
  transition: color .3s, border-color .3s;
}
.contact-email:hover { color: var(--brass); border-color: var(--brass); }
.contact-loc {
  font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted); font-weight: 400;
}
.footer-bar {
  border-top: 1px solid rgba(169,140,90,.12);
  padding-top: 32px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy {
  font-size: 11px; letter-spacing: .1em;
  color: rgba(169,140,90,.3); font-weight: 300;
}
.footer-links { display: flex; gap: 28px; }
.footer-links a {
  font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(169,140,90,.3);
  text-decoration: none; font-weight: 400; transition: color .3s;
}
.footer-links a:hover { color: var(--brass); }

/* ── ANIMATIONS ─────────────────────────────── */
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
.reveal {
  opacity: 0; transform: translateY(22px);
  transition:
    opacity  .9s cubic-bezier(.25,.46,.45,.94),
    transform .9s cubic-bezier(.25,.46,.45,.94);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .12s; }
.d2 { transition-delay: .24s; }
.d3 { transition-delay: .36s; }
.d4 { transition-delay: .48s; }

/* ── RESPONSIVE ─────────────────────────────── */
@media (max-width: 900px) {
  nav, nav.scrolled { padding: 20px 28px; }
  .nav-links { display: none; }
  .hero-content, .wrap, .perf-inner, .legacy-inner { padding-left: 28px; padding-right: 28px; }
  .adv-head, .phil-grid, .proj-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .adv-cards { grid-template-columns: 1fr; }
  .c-item { grid-template-columns: 1fr; gap: 6px; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .media-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-bar { flex-direction: column; gap: 14px; text-align: center; }
  .contact-right { align-items: flex-start; }
  .phil-left {
    padding-right: 0; border-right: none;
    border-bottom: 1px solid rgba(169,140,90,.18);
    padding-bottom: 48px; margin-bottom: 48px;
  }
  .phil-right { padding-left: 0; }
}
