/* ═══════════════════════════════════════════════════════════════════
   VELANGANI · PORTFOLIO
   Editorial Executive Luxury — Ink, Champagne, Crimson
   ═══════════════════════════════════════════════════════════════════ */

:root {
  /* — palette — */
  --ink-0: #07070B;
  --ink-1: #0C0C12;
  --ink-2: #14141C;
  --ink-3: #1F1F2A;
  --ink-4: #2A2A38;
  --line: rgba(237, 232, 218, 0.08);
  --line-strong: rgba(237, 232, 218, 0.18);

  --gold: #C9A961;
  --gold-light: #DCC287;
  --gold-deep: #8C7440;
  --crimson: #B22234;
  --crimson-light: #D63B4D;

  --cream: #EDE8DA;
  --cream-dim: #B8B2A0;
  --muted: #6E6A5C;
  --muted-deep: #44423B;

  /* — type — */
  --f-display: 'Fraunces', 'Times New Roman', serif;
  --f-body: 'Outfit', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* — easing — */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
*::selection { background: var(--gold); color: var(--ink-0); }

html { scroll-behavior: smooth; }

body {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: var(--cream);
  background: var(--ink-0);
  overflow-x: hidden;
  cursor: none;
}

@media (max-width: 900px) {
  body { cursor: auto; }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ═══════════════ GRAIN ═══════════════ */
.grain {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9998;
  opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='400'><filter id='n'><feTurbulence baseFrequency='0.85' numOctaves='2' seed='5' /></filter><rect width='400' height='400' filter='url(%23n)' opacity='0.7'/></svg>");
  mix-blend-mode: overlay;
}

/* ═══════════════ PRELOADER ═══════════════ */
.preloader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--ink-0);
  display: grid; place-items: center;
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}
.preloader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }

.preloader__inner {
  text-align: center;
  width: min(560px, 84vw);
}
.preloader__name {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  letter-spacing: 0.02em;
  color: var(--cream);
  display: inline-block;
  position: relative;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 0;
}
.preloader__name::after {
  content: '';
  position: absolute; left: 0; bottom: -0.15em;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  animation: preName 1.4s 0.2s var(--ease-out) forwards;
}
@keyframes preName { to { transform: scaleX(1); } }

.preloader__bar {
  margin: 1.6rem auto 1rem;
  width: 100%; height: 1px;
  background: var(--line);
  position: relative; overflow: hidden;
}
.preloader__bar-fill {
  position: absolute; inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  animation: preBar 1.8s 0.3s var(--ease-in-out) forwards;
}
@keyframes preBar { to { transform: scaleX(1); } }

.preloader__meta {
  display: flex; justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 0.7rem; letter-spacing: 0.18em;
  color: var(--muted);
}

/* ═══════════════ CUSTOM CURSOR ═══════════════ */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}
.cursor-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cream);
  transition: transform 0.15s var(--ease-out), width 0.25s, height 0.25s, background 0.25s;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid rgba(237, 232, 218, 0.5);
  border-radius: 50%;
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), border-color 0.3s, transform 0.5s var(--ease-out);
}
.cursor-dot.is-hover { width: 12px; height: 12px; background: var(--gold); }
.cursor-ring.is-hover { width: 64px; height: 64px; border-color: var(--gold); }

@media (max-width: 900px) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ═══════════════ NAV ═══════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.4rem clamp(1.2rem, 4vw, 2.6rem);
  display: flex; align-items: center; gap: 2rem;
  background: linear-gradient(to bottom, rgba(7,7,11,0.85), rgba(7,7,11,0.4) 60%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: padding 0.4s var(--ease-out);
}
.nav.is-scrolled {
  padding-top: 0.9rem; padding-bottom: 0.9rem;
  background: rgba(7,7,11,0.92);
  border-bottom: 1px solid var(--line);
}

.nav__logo {
  display: flex; align-items: center; gap: 0.7rem;
  font-family: var(--f-display);
  font-weight: 400;
  flex: 0 0 auto;
}
.nav__logo-mark {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: all 0.4s var(--ease-out);
}
.nav__logo:hover .nav__logo-mark { background: var(--gold); color: var(--ink-0); }
.nav__logo-text { font-size: 0.95rem; letter-spacing: 0.01em; }

.nav__links {
  list-style: none;
  display: flex; gap: 2rem;
  flex: 1; justify-content: center;
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav__links a {
  position: relative; padding: 0.4rem 0;
  color: var(--cream-dim);
  transition: color 0.3s;
}
.nav__links a::before {
  content: attr(data-num);
  position: absolute; top: -0.7em; left: 0;
  font-size: 0.55rem;
  color: var(--gold);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  transform: translateY(4px);
}
.nav__links a:hover { color: var(--cream); }
.nav__links a:hover::before { opacity: 1; transform: translateY(0); }

.nav__cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.65rem 1.2rem;
  border: 1px solid var(--line-strong);
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  transition: all 0.3s var(--ease-out);
  flex: 0 0 auto;
}
.nav__cta:hover {
  background: var(--gold);
  color: var(--ink-0);
  border-color: var(--gold);
}

.nav__menu { display: none; }

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__menu {
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 36px; height: 36px;
    margin-left: auto;
  }
  .nav__menu span { width: 22px; height: 1px; background: var(--cream); }
  .nav__logo-text { display: none; }
}

/* ═══════════════ SECTION HELPERS ═══════════════ */
section { position: relative; padding: clamp(4rem, 9vw, 8rem) clamp(1.2rem, 5vw, 6rem); }

.section__head { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); max-width: 1100px; }
.section__num {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 1.2rem;
  position: relative; padding-left: 1.6rem;
}
.section__num::before {
  content: ''; position: absolute; left: 0; top: 50%;
  width: 1rem; height: 1px; background: var(--gold);
}

.section__title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(2rem, 5.4vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--cream);
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 1;
  max-width: 22ch;
}
.section__title em {
  font-style: italic;
  color: var(--gold);
  font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 1;
}

/* — reveal helper — */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.reveal.is-in { opacity: 1; transform: translateY(0); }

/* ═══════════════ HERO ═══════════════ */
.hero {
  min-height: 100vh;
  padding-top: 0;
  display: flex; align-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse 90% 60% at 70% 20%, rgba(201, 169, 97, 0.06), transparent 60%),
              radial-gradient(ellipse 70% 50% at 20% 80%, rgba(178, 34, 52, 0.05), transparent 60%),
              var(--ink-0);
}

.hero__canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0.55;
  pointer-events: none;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: drift 22s var(--ease-in-out) infinite alternate;
}
.hero__orb--1 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(201,169,97,0.25), transparent 70%);
  top: 10%; right: -5%;
}
.hero__orb--2 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(178,34,52,0.18), transparent 70%);
  bottom: 5%; left: -8%;
  animation-delay: -7s;
}
.hero__orb--3 {
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(140,116,64,0.20), transparent 70%);
  top: 50%; left: 30%;
  animation-delay: -14s;
}
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, -30px) scale(1.15); }
}

.hero__inner {
  position: relative; z-index: 2;
  width: 100%; max-width: 1500px; margin: 0 auto;
  padding: 8rem clamp(1.4rem, 5vw, 6rem) 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.hero__meta {
  display: flex; justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--cream-dim);
  margin-bottom: 1rem;
}
.hero__meta-block { display: flex; flex-direction: column; gap: 0.4rem; }
.hero__meta-block:last-child { text-align: right; }
.hero__meta-line {
  display: inline-block;
  width: 80px; height: 1px;
  background: var(--gold);
}
.hero__meta-coords { color: var(--muted); font-size: 0.68rem; }

.hero__title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(2.6rem, 11vw, 9rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--cream);
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 1;
  margin-top: -0.3em;
}
.hero__title-line { display: block; overflow: hidden; }
.hero__title-line em {
  font-style: italic;
  color: var(--gold);
  font-variation-settings: "opsz" 144, "SOFT" 60, "WONK" 1;
}
.hero__title-line--accent {
  padding-left: clamp(2rem, 8vw, 8rem);
}

.reveal-word {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 1.1s var(--ease-out) forwards;
}
.reveal-word { animation-delay: calc(0.1s + var(--i, 0) * 0.08s); }
.hero__title-line:nth-child(1) .reveal-word { animation-delay: 0.1s; }
.hero__title-line:nth-child(2) .reveal-word:nth-child(1) { animation-delay: 0.18s; }
.hero__title-line:nth-child(2) .reveal-word:nth-child(2) { animation-delay: 0.26s; }
.hero__title-line:nth-child(3) .reveal-word:nth-child(1) { animation-delay: 0.34s; }
.hero__title-line:nth-child(3) .reveal-word:nth-child(2) { animation-delay: 0.42s; }
@keyframes rise { to { transform: translateY(0); } }

.hero__roles {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem;
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-top: 1.5rem;
  opacity: 0; animation: fadeUp 1s 0.7s var(--ease-out) forwards;
}
.hero__roles-dot { color: var(--gold); font-size: 0.5rem; }
@keyframes fadeUp { to { opacity: 1; } }

.hero__lede {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(1.05rem, 1.6vw, 1.4rem);
  line-height: 1.55;
  color: var(--cream-dim);
  max-width: 56ch;
  margin-top: 1.6rem;
  font-variation-settings: "opsz" 36, "SOFT" 50;
  opacity: 0; animation: fadeUp 1s 0.85s var(--ease-out) forwards;
}
.hero__lede strong {
  font-weight: 400;
  color: var(--cream);
  font-style: italic;
}

.hero__actions {
  display: flex; flex-wrap: wrap; gap: 1rem;
  margin-top: 2.4rem;
  opacity: 0; animation: fadeUp 1s 1s var(--ease-out) forwards;
}

.btn {
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 1.05rem 1.8rem;
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 0;
  position: relative;
  overflow: hidden;
  transition: all 0.45s var(--ease-out);
}
.btn--primary {
  background: var(--gold);
  color: var(--ink-0);
  border: 1px solid var(--gold);
}
.btn--primary:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn--ghost {
  border: 1px solid var(--line-strong);
  color: var(--cream);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

/* — hero photo — */
.hero__photo {
  position: absolute;
  top: 50%; right: clamp(1rem, 4vw, 5rem);
  transform: translateY(-50%);
  width: clamp(280px, 32vw, 480px);
  z-index: 1;
  pointer-events: none;
}
.hero__photo-frame {
  position: relative;
  /* Mask the bottom to fade the floor artifacts */
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 78%, transparent 100%);
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.5));
  opacity: 0; animation: photoIn 1.4s 0.4s var(--ease-out) forwards;
}
@keyframes photoIn {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.hero__photo img {
  width: 100%;
  height: auto;
}
.hero__photo-tag {
  position: absolute;
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
  white-space: nowrap;
}
.hero__photo-tag--tl { top: 4%; left: -10%; }
.hero__photo-tag--tr { top: 4%; right: -8%; text-align: right; }
.hero__photo-tag--bl { bottom: 16%; left: -14%; transform: rotate(-90deg); transform-origin: left top; }
.hero__photo-tag--br { bottom: 16%; right: -10%; transform: rotate(90deg); transform-origin: right top; }
.hero__photo-tag::before {
  content: '— ';
  color: var(--cream-dim);
}

.hero__photo-glow {
  position: absolute;
  inset: -10%;
  background: radial-gradient(ellipse at center, rgba(201,169,97,0.18), transparent 60%);
  filter: blur(40px);
  z-index: -1;
  animation: pulse 6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

@media (max-width: 1100px) {
  .hero__photo {
    position: relative; right: auto; top: auto;
    transform: none;
    width: min(60%, 360px);
    margin: 2rem auto -2rem;
    grid-row: 4;
  }
  .hero__photo-tag--tl, .hero__photo-tag--tr { display: none; }
  .hero__photo-tag--bl, .hero__photo-tag--br { display: none; }
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: clamp(1.4rem, 5vw, 6rem);
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--cream-dim);
  opacity: 0; animation: fadeUp 1s 1.5s var(--ease-out) forwards;
}
.hero__scroll svg { animation: scrollBob 2.5s ease-in-out infinite; }
@keyframes scrollBob {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(6px); opacity: 1; }
}

@media (max-width: 700px) {
  .hero__scroll { display: none; }
  .hero__meta { flex-direction: column; gap: 0.6rem; }
  .hero__meta-block:last-child { text-align: left; }
}

/* ═══════════════ MARQUEE ═══════════════ */
.marquee {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--ink-1);
}
.marquee__track {
  display: flex;
  gap: 3rem;
  animation: marquee 32s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.marquee__group {
  display: flex; gap: 3rem; align-items: center;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.6rem, 4vw, 3rem);
  color: var(--cream);
  font-variation-settings: "opsz" 144, "SOFT" 50;
  padding-right: 3rem;
}
.marquee__group span:first-child,
.marquee__group span:nth-child(odd) { color: var(--cream); }
.marquee__group span:nth-child(3),
.marquee__group span:nth-child(7),
.marquee__group span:nth-child(11) { color: var(--gold); }
.marquee__dot {
  color: var(--gold) !important;
  font-style: normal;
  font-size: 1rem;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══════════════ STATS ═══════════════ */
.stats {
  padding: clamp(3rem, 6vw, 5rem) clamp(1.2rem, 5vw, 6rem);
  background: var(--ink-1);
}
.stats__inner {
  max-width: 1500px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.stats__item {
  background: var(--ink-1);
  padding: 2.4rem 1.8rem;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.stats__num {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
  color: var(--cream);
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 1;
  display: inline-block;
}
.stats__plus {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--gold);
  font-style: italic;
  vertical-align: top;
}
.stats__label {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--cream-dim);
  text-transform: uppercase;
  margin-top: 0.6rem;
  max-width: 28ch;
  line-height: 1.5;
}

/* ═══════════════ ABOUT ═══════════════ */
.about {
  background: var(--ink-0);
}
.about__grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 1.4fr;
  gap: clamp(2rem, 5vw, 5rem);
  max-width: 1500px; margin: 0 auto;
  align-items: start;
}

.about__photo-wrap {
  position: relative;
  background: linear-gradient(160deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--line);
  overflow: hidden;
  aspect-ratio: 3/4;
}
.about__photo-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: contrast(1.05) saturate(0.95);
}
.about__photo-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.4;
  pointer-events: none;
  mix-blend-mode: overlay;
}

.about__caption {
  display: flex; justify-content: space-between;
  margin-top: 1rem;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--gold);
  padding: 0 0.2rem;
}
.about__caption span:last-child { color: var(--cream-dim); }

.about__copy {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--cream-dim);
}
.about__copy p { margin-bottom: 1.4rem; }
.about__copy strong { color: var(--cream); font-weight: 400; }
.about__lede {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  line-height: 1.5;
  color: var(--cream);
  font-variation-settings: "opsz" 36, "SOFT" 30;
  margin-bottom: 2rem !important;
}
.about__lede strong { color: var(--gold); font-style: italic; }

.about__signature {
  display: flex; align-items: center; gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.about__sig-svg {
  width: 110px;
  color: var(--gold);
}
.about__signature span {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--cream-dim);
}

@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__photo-wrap { max-width: 420px; }
}

/* ═══════════════ EXPERTISE ═══════════════ */
.expertise {
  background: var(--ink-1);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.expertise__grid {
  max-width: 1500px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.expertise__card {
  background: var(--ink-1);
  padding: 2.6rem 2rem;
  position: relative;
  transition: background 0.5s var(--ease-out);
}
.expertise__card:hover { background: var(--ink-2); }

.expertise__card header {
  display: flex; justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.5rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}
.expertise__num {
  font-family: var(--f-display);
  font-weight: 300;
  font-style: italic;
  font-size: 2rem;
  color: var(--gold);
  font-variation-settings: "opsz" 144, "SOFT" 60, "WONK" 1;
}
.expertise__cat {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--cream-dim);
  text-transform: uppercase;
}

.expertise__card h3 {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--cream);
  margin-bottom: 1rem;
  font-variation-settings: "opsz" 36";
}
.expertise__card p {
  color: var(--cream-dim);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.4rem;
}

.expertise__tags {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 0.4rem;
}
.expertise__tags li {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--cream-dim);
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--line-strong);
}

/* ═══════════════ EXPERIENCE / TIMELINE ═══════════════ */
.experience { background: var(--ink-0); }

.timeline {
  list-style: none;
  max-width: 1100px; margin: 0 auto;
  position: relative;
  padding-left: 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 220px; top: 0; bottom: 0;
  width: 1px;
  background: var(--line-strong);
}

.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 3rem;
  padding: 2.5rem 0 2.5rem 0;
  align-items: start;
}
.timeline__item + .timeline__item { border-top: 1px solid var(--line); }

.timeline__dot {
  position: absolute;
  left: 215px;
  top: 3rem;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--ink-0), 0 0 16px rgba(201,169,97,0.5);
  z-index: 2;
}

.timeline__date {
  display: flex; flex-direction: column; gap: 0.4rem;
  text-align: right;
  padding-right: 1rem;
}
.timeline__year {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-transform: uppercase;
}
.timeline__loc {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}

.timeline__body { padding-left: 1.5rem; }
.timeline__body h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  color: var(--cream);
  line-height: 1.1;
  font-variation-settings: "opsz" 144, "WONK" 1;
}
.timeline__role {
  font-family: var(--f-mono);
  font-size: 0.78rem !important;
  letter-spacing: 0.12em;
  color: var(--gold) !important;
  text-transform: uppercase;
  margin: 0.5rem 0 1rem !important;
}
.timeline__body p {
  color: var(--cream-dim);
  line-height: 1.7;
}
.timeline__body strong { color: var(--cream); font-weight: 400; }

@media (max-width: 800px) {
  .timeline::before { left: 8px; }
  .timeline__dot { left: 3px; top: 2.6rem; }
  .timeline__item {
    grid-template-columns: 1fr;
    gap: 0.4rem;
    padding-left: 2rem;
  }
  .timeline__date {
    flex-direction: row;
    text-align: left;
    gap: 1rem;
    padding-right: 0;
  }
  .timeline__body { padding-left: 0; }
}

/* ═══════════════ WORK ═══════════════ */
.work {
  background: var(--ink-1);
  border-top: 1px solid var(--line);
}
.work__grid {
  max-width: 1500px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.work__card {
  background: var(--ink-1);
  padding: 3rem clamp(1.6rem, 3vw, 2.6rem);
  position: relative;
  overflow: hidden;
  transition: background 0.5s var(--ease-out);
}
.work__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}
.work__card:hover { background: var(--ink-2); }
.work__card:hover::before { transform: scaleX(1); }

.work__card-num {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 200;
  font-size: 4rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.18;
  position: absolute;
  top: 1.8rem; right: 1.8rem;
  font-variation-settings: "opsz" 144, "SOFT" 80, "WONK" 1;
}
.work__card-meta {
  display: flex; justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--cream-dim);
  text-transform: uppercase;
  margin-bottom: 1.6rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}
.work__card-meta span:first-child { color: var(--gold); }

.work__card h3 {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 1rem;
  font-variation-settings: "opsz" 144, "WONK" 1;
}
.work__card p {
  color: var(--cream-dim);
  line-height: 1.7;
  margin-bottom: 1.8rem;
}

.work__card-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.work__card-stats > div {
  display: flex; flex-direction: column; gap: 0.4rem;
}
.work__card-stats strong {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--gold);
  font-variation-settings: "opsz" 36, "WONK" 1;
}
.work__card-stats span {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--cream-dim);
  text-transform: uppercase;
  line-height: 1.4;
}

@media (max-width: 700px) {
  .work__grid { grid-template-columns: 1fr; }
  .work__card-meta { flex-direction: column; gap: 0.4rem; }
}

/* ═══════════════ VENTURES ═══════════════ */
.ventures { background: var(--ink-0); }
.ventures__grid {
  max-width: 1500px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.4rem;
}
.venture {
  background: var(--ink-1);
  border: 1px solid var(--line);
  padding: 2.6rem 2rem;
  position: relative;
  transition: all 0.5s var(--ease-out);
}
.venture:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}
.venture__year {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--gold);
  text-transform: uppercase;
}
.venture__name {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  color: var(--cream);
  margin: 0.6rem 0 0.6rem;
  font-variation-settings: "opsz" 144, "WONK" 1;
}
.venture__cat {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--cream-dim);
  margin-bottom: 1.6rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}
.venture__copy {
  color: var(--cream-dim);
  line-height: 1.7;
  margin-bottom: 1.8rem;
}
.venture__copy strong { color: var(--cream); font-weight: 400; }
.venture__role {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--gold);
}

/* ═══════════════ PRESS ═══════════════ */
.press {
  background: var(--ink-1);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.press__list {
  max-width: 1500px; margin: 0 auto;
  display: flex; flex-direction: column;
}
.press__item {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  align-items: baseline;
  gap: 2rem;
  padding: 1.8rem 0.4rem;
  border-top: 1px solid var(--line);
  transition: all 0.4s var(--ease-out);
}
.press__item:last-child { border-bottom: 1px solid var(--line); }
.press__item:hover {
  background: var(--ink-2);
  padding-left: 1.4rem;
}
.press__source {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
}
.press__item h3 {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(1.05rem, 1.6vw, 1.4rem);
  color: var(--cream);
  line-height: 1.3;
  font-variation-settings: "opsz" 36;
}
.press__cta {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--cream-dim);
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.3s;
}
.press__item:hover .press__cta { color: var(--gold); }

@media (max-width: 800px) {
  .press__item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

/* ═══════════════ CREDS (Edu / Cert / Honors) ═══════════════ */
.creds {
  background: var(--ink-0);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  max-width: 1500px;
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) clamp(1.2rem, 5vw, 6rem);
}
.creds__heading {
  font-family: var(--f-display);
  font-weight: 300;
  font-style: italic;
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 1.6rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  font-variation-settings: "opsz" 144, "SOFT" 60, "WONK" 1;
}
.creds__list { list-style: none; display: flex; flex-direction: column; gap: 1.5rem; }
.creds__list li { display: flex; flex-direction: column; gap: 0.3rem; }
.creds__year {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--cream-dim);
  text-transform: uppercase;
}
.creds__list strong {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--cream);
  font-variation-settings: "opsz" 36;
}
.creds__list span:last-child {
  color: var(--cream-dim);
  font-size: 0.92rem;
}

/* ═══════════════ CONTACT ═══════════════ */
.contact {
  background: linear-gradient(180deg, var(--ink-0) 0%, var(--ink-1) 100%);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(201,169,97,0.08), transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(178,34,52,0.06), transparent 60%);
  pointer-events: none;
}
.contact__inner {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}
.contact__title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(2.6rem, 8vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--cream);
  margin: 1.6rem 0 1.6rem;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 1;
}
.contact__title em {
  font-style: italic;
  color: var(--gold);
  font-variation-settings: "opsz" 144, "SOFT" 80, "WONK" 1;
}
.contact__lede {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.55;
  color: var(--cream-dim);
  max-width: 60ch;
  margin: 0 auto 3rem;
  font-variation-settings: "opsz" 36;
}

.contact__channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  text-align: left;
}
.contact__channel {
  background: var(--ink-1);
  padding: 1.6rem 1.8rem;
  display: flex; flex-direction: column; gap: 0.4rem;
  transition: background 0.4s, color 0.3s;
}
.contact__channel:hover {
  background: var(--ink-2);
}
.contact__channel-label {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--gold);
}
.contact__channel-val {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  color: var(--cream);
  word-break: break-word;
  font-variation-settings: "opsz" 36;
}
.contact__channel:hover .contact__channel-val { color: var(--gold); }

/* ═══════════════ FOOTER ═══════════════ */
.footer {
  padding: 3rem clamp(1.2rem, 5vw, 6rem) 2rem;
  background: var(--ink-0);
  border-top: 1px solid var(--line);
}
.footer__top {
  max-width: 1500px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1.5rem;
  padding-bottom: 2rem;
}
.footer__brand {
  display: flex; align-items: center; gap: 0.8rem;
}
.footer__brand-mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--f-display);
  font-size: 0.85rem;
}
.footer__brand-name {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: 0.95rem;
  color: var(--cream);
}
.footer__social {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 1.4rem;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.footer__social a {
  color: var(--cream-dim);
  transition: color 0.3s;
}
.footer__social a:hover { color: var(--gold); }

.footer__bottom {
  max-width: 1500px; margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* ═══════════════ MAGNETIC EFFECT TRANSITION ═══════════════ */
.magnetic { transition: transform 0.3s var(--ease-out); }

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 700px) {
  .hero__inner { padding-top: 7rem; }
  .nav { padding: 1rem 1.2rem; }
  .nav__logo-mark { width: 34px; height: 34px; font-size: 0.8rem; }
}
