:root {
  --bg: #F3F2EE;
  --card: #FBFAF8;
  --ink: #111114;
  --muted: #5D5E66;
  --line: rgba(17, 17, 20, .14);
  --peach: #FFC6AE;
  --lilac: #D3C5F8;
  --sky: #CFE3F5;
  --head: "Inter Tight", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(18px, 4vw, 56px);
  --max: 1280px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --grad: linear-gradient(135deg, var(--peach), var(--lilac));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
em { font-style: normal; background: linear-gradient(var(--peach), var(--peach)) 0 92% / 100% .16em no-repeat; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 6px; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
section { padding-block: clamp(40px, 5.5vw, 80px); }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; transition: top .2s; }
.skip:focus { top: 12px; }
.tag { display: inline-block; border: 1px solid var(--ink); border-radius: 999px; padding: 4px 16px; font-family: var(--head); font-weight: 500; font-size: .92rem; background: var(--card); margin-bottom: 18px; }

/* Deco-style hairlines */
.gridlines { position: fixed; inset: 0; z-index: -1; pointer-events: none; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; display: flex; justify-content: space-between; padding-inline: var(--gutter); }
.gridlines i { width: 1px; background: rgba(17, 17, 20, .055); }
.gridlines i:nth-child(2) { display: none; }

/* GLOW */
.glow { position: absolute; pointer-events: none; border-radius: 50%; filter: blur(40px); background: radial-gradient(closest-side at 40% 40%, var(--peach), transparent 78%), radial-gradient(closest-side at 72% 62%, var(--lilac), transparent 80%); }

/* NAV */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 14px var(--gutter); background: rgba(243, 242, 238, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--head); font-weight: 500; min-height: 44px; justify-self: start; }
.logo b { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--ink); color: var(--bg); font-size: .85rem; font-weight: 600; }
.nav nav { display: flex; gap: clamp(20px, 3vw, 52px); }
.nav nav a { text-decoration: none; text-transform: uppercase; font-family: var(--head); font-size: .95rem; padding: 10px 2px; background: linear-gradient(var(--peach), var(--peach)) 0 90% / 0 6px no-repeat; transition: background-size .3s var(--ease); }
.nav nav a:hover, .nav nav a.on { background-size: 100% 6px; }
.nav-right { justify-self: end; display: flex; align-items: center; gap: 22px; }
.btn-line, .btn-solid { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 24px; border-radius: 8px; text-decoration: none; font-family: var(--head); font-weight: 500; font-size: 1rem; transition: background .25s, color .25s, transform .25s var(--ease), border-color .25s; }
.btn-line { border: 1.5px solid rgba(17, 17, 20, .35); background: rgba(255, 255, 255, .5); }
.btn-line:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-2px); }
.btn-grad { border: 1.5px solid transparent; background: linear-gradient(#FBFAF8, #FBFAF8) padding-box, linear-gradient(120deg, #F5A98A, var(--lilac) 70%, var(--sky)) border-box; }
.btn-grad:hover { background: linear-gradient(var(--ink), var(--ink)) padding-box, linear-gradient(120deg, #F5A98A, var(--lilac)) border-box; color: #fff; }
.btn-line svg { width: 18px; height: 18px; }
.btn-solid { background: var(--ink); color: #fff; }
.btn-solid:hover { background: #2a2a31; transform: translateY(-2px); }

/* HERO */
.hero { position: relative; isolation: isolate; min-height: min(calc(100svh - 70px), 920px); padding: 0 var(--gutter); overflow: hidden; display: flex; align-items: center; --mx: 0; --my: 0; }
.rail { position: absolute; left: clamp(14px, 3vw, 44px); top: 0; bottom: 0; width: 1px; background: var(--line); display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding-block: 40px 28px; z-index: 3; }
.rail span { writing-mode: vertical-rl; transform: rotate(180deg); text-transform: uppercase; font-family: var(--head); font-size: .9rem; letter-spacing: .06em; white-space: nowrap; background: var(--bg); padding-block: 12px; position: relative; left: -1px; }
.rail i { flex: 1; }
.frame-line { position: absolute; z-index: 0; right: clamp(40px, 7vw, 130px); top: 14%; width: min(30vw, 440px); height: 58%; border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
.hero-photo { position: absolute; right: clamp(30px, 7vw, 130px); bottom: 0; width: min(38vw, 540px); background: var(--bg); isolation: isolate; pointer-events: none; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 18%, #000 86%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 14%); mask-image: linear-gradient(to right, transparent 0, #000 18%, #000 86%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 14%); -webkit-mask-composite: source-in; mask-composite: intersect; z-index: 1; }
.hero-photo img { position: relative; width: 100%; mix-blend-mode: multiply; }
.hero-photo .glow { inset: 8% 0 0 0; width: auto; aspect-ratio: auto; z-index: 0; transform: translate(calc(var(--mx) * -14px), calc(var(--my) * -10px)); transition: transform .4s var(--ease); }

@keyframes spin { to { transform: rotate(360deg); } }

.hero-copy { position: relative; z-index: 2; padding: clamp(24px, 4vw, 56px) 0 clamp(24px, 4vw, 48px) clamp(56px, 11vw, 150px); max-width: 960px; width: 100%; }
.hero h1 { font-family: var(--head); font-weight: 500; letter-spacing: -.05em; line-height: .95; }
.hello { display: block; font-size: min(14.5vw, 26vh); line-height: .9; margin-left: -.05em; }
.iam { display: block; font-size: clamp(1.9rem, 3.6vw, 3.4rem); letter-spacing: -.04em; margin-top: clamp(8px, 1.6vh, 20px); }
.role { margin-top: 12px; max-width: 30ch; font-family: var(--head); font-size: clamp(1.1rem, 1.7vw, 1.55rem); line-height: 1.22; letter-spacing: -.02em; }
.stats { display: grid; grid-template-columns: repeat(2, max-content); gap: clamp(14px, 2.4vh, 28px) clamp(40px, 7vw, 110px); margin-top: clamp(20px, 3.4vh, 40px); position: relative; }
.stats::before { content: ""; position: absolute; left: -22px; top: 6px; bottom: 6px; width: 14px; border-left: 1px solid var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats div { display: flex; flex-direction: column; gap: 6px; }
.stats dd { font-family: var(--head); font-weight: 500; font-size: clamp(2.2rem, 3.6vw, 3.4rem); line-height: 1; letter-spacing: -.04em; width: max-content; background: linear-gradient(var(--peach), var(--peach)) 0 96% / 100% 9px no-repeat; }
.stats dt { text-transform: uppercase; font-family: var(--head); font-size: .94rem; line-height: 1.25; }
.hero-foot { display: flex; gap: clamp(40px, 9vw, 150px); margin-top: clamp(22px, 4vh, 48px); }
.down { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--head); padding: 10px 0; }
.down svg { width: 18px; height: 18px; animation: nudge 2.2s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(4px); } }
.down:hover { text-decoration: underline; text-underline-offset: 4px; }


/* ABOUT */
.about-top { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 4vw, 56px); }
.about h2 { font-family: var(--head); font-weight: 400; font-size: clamp(2rem, 4.3vw, 3.9rem); line-height: 1.06; letter-spacing: -.04em; max-width: 17em; }
.aside { font-family: var(--head); font-weight: 400; font-size: clamp(1.4rem, 2.2vw, 2.05rem); line-height: 1.34; letter-spacing: -.02em; color: var(--ink); max-width: 64ch; }
.about-cards { margin-top: clamp(32px, 5vw, 64px); }
.card { background: var(--card); border-radius: 24px; box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 20px 40px -30px rgba(17, 17, 20, .25); border: 1px solid rgba(17, 17, 20, .06); }
.now-card { padding: clamp(24px, 3.4vw, 48px); display: grid; gap: 14px; max-width: 820px; }
.now-card h3 { font-family: var(--head); font-weight: 500; font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.08; letter-spacing: -.035em; }
.now-card p:not(.tag) { color: var(--muted); }
.now-card .tag { justify-self: start; margin-bottom: 4px; }
.tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.tools li { border: 1px dashed var(--ink); border-radius: 999px; padding: 5px 15px; font-family: var(--head); font-size: .9rem; font-weight: 500; background: #fff; }

/* WORK carousel */
.work { padding-inline: 0; overflow: hidden; }
.work-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(24px, 4vw, 48px); }
.sec-title { font-family: var(--head); font-weight: 400; font-size: clamp(2rem, 4.6vw, 4.2rem); line-height: 1.03; letter-spacing: -.045em; max-width: 16em; margin-bottom: clamp(32px, 5vw, 64px); }
.work .sec-title { margin-bottom: 0; }
.controls { display: flex; align-items: center; gap: 12px; flex: none; }
.count { font-family: var(--head); font-size: 1rem; color: var(--muted); margin-right: 8px; font-variant-numeric: tabular-nums; }
.count b { color: var(--ink); font-weight: 500; }
.orb-btn { width: 58px; height: 58px; border-radius: 50%; border: 0; display: grid; place-items: center; background: radial-gradient(circle at 30% 26%, #fff 0 7%, transparent 8%), var(--grad); box-shadow: 0 14px 26px -12px rgba(120, 90, 200, .5), inset 0 0 0 1px rgba(255, 255, 255, .7); transition: transform .3s var(--ease), box-shadow .3s; }
.orb-btn:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 20px 30px -12px rgba(120, 90, 200, .6), inset 0 0 0 1px #fff; }
.orb-btn svg { width: 22px; height: 22px; }
.stage { --cw: min(72vw, 540px); display: flex; gap: clamp(16px, 2.4vw, 36px); overflow-x: auto; scroll-snap-type: x mandatory; padding: 18px calc(50% - var(--cw) / 2) 40px; scrollbar-width: none; cursor: grab; -webkit-overflow-scrolling: touch; }
.stage::-webkit-scrollbar { display: none; }
.stage.drag { cursor: grabbing; scroll-snap-type: none; }
.slide { flex: 0 0 var(--cw); scroll-snap-align: center; transform: scale(.9); opacity: .5; transition: transform .6s var(--ease), opacity .6s var(--ease); user-select: none; }
.slide.active { transform: none; opacity: 1; }
.slide-frame { border: 1px solid var(--ink); padding: 10px; background: var(--card); }
.tile { aspect-ratio: 16 / 9; overflow: hidden; display: grid; place-items: center; }
.tile img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.a-cisco { background: #00BCEB; } .a-cisco img, .a-ltm img { object-fit: cover; }
.a-white { background: #fff; padding: 6%; }
.a-ia { background: #000; } .a-ia img { width: auto; height: 100%; }
.a-ltm { background: #EEF8F9; }
.slide-cap { display: grid; gap: 14px; padding: 22px 6px 0; max-width: 56ch; margin-inline: auto; text-align: center; justify-items: center; }
.chip { border: 1px solid transparent; border-radius: 999px; padding: 5px 16px; font-family: var(--head); font-size: .85rem; font-weight: 500; letter-spacing: .01em; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(120deg, #F5A98A, var(--lilac)) border-box; }
.slide-cap h3 { font-family: var(--head); font-weight: 500; font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.08; letter-spacing: -.04em; }
.slide-cap p:not(.chip) { font-size: clamp(.95rem, 1.1vw, 1.05rem); line-height: 1.5; color: #2c2d34; }

/* SERVICES */
.svc { border-top: 1px solid var(--ink); }
.svc li { position: relative; display: grid; grid-template-columns: 70px minmax(0, 1.1fr) minmax(0, 1fr) 44px; gap: 24px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); transition: padding .4s var(--ease), background-size .5s var(--ease); background: linear-gradient(90deg, var(--peach), var(--lilac) 60%, transparent) 0 0 / 0 100% no-repeat; }
.svc li:hover { padding-left: 18px; background-size: 100% 100%; }
.svc span { font-family: var(--head); font-size: .95rem; color: var(--muted); }
.svc li:hover span { color: var(--ink); }
.svc h3 { font-family: var(--head); font-weight: 400; font-size: clamp(1.7rem, 3.6vw, 3.2rem); line-height: 1; letter-spacing: -.045em; }
.svc p { color: var(--muted); }
.svc li:hover p { color: var(--ink); }
.arr { font-style: normal; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ink); font-size: 1.1rem; opacity: 0; transform: translate(-8px, 8px); transition: opacity .3s, transform .4s var(--ease); }
.svc li:hover .arr { opacity: 1; transform: none; }

/* EXPERIENCE */
.tl { border-top: 1px solid var(--ink); }
.tl li { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.when { font-family: var(--head); font-size: .95rem; color: var(--muted); padding-top: 6px; }
.tl h3 { font-family: var(--head); font-weight: 500; font-size: clamp(1.35rem, 2.4vw, 2rem); line-height: 1.1; letter-spacing: -.035em; }
.tl p { color: var(--muted); margin-top: 6px; max-width: 68ch; }
.tl .org { color: var(--ink); font-weight: 500; }
.tl .edu { font-family: var(--head); font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.35; letter-spacing: -.01em; font-weight: 400; color: var(--ink); margin-top: 14px; }
.tl .edu strong { font-weight: 600; }

/* CONTACT */
.contact { position: relative; overflow: hidden; text-align: center; padding-block: clamp(96px, 13vw, 190px); }
.glow-wide { left: 50%; top: 50%; width: min(90vw, 1000px); height: min(60vw, 560px); transform: translate(-50%, -50%); opacity: .85; }
.contact-in { position: relative; padding-inline: var(--gutter); }
.contact h2 { font-family: var(--head); font-weight: 400; font-size: clamp(2.6rem, 8.4vw, 8rem); line-height: .94; letter-spacing: -.055em; max-width: 11em; margin: 8px auto 48px; }
.contact-row { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 56px); justify-content: center; align-items: center; }
.circle { position: relative; display: grid; align-content: center; justify-items: start; width: clamp(170px, 15vw, 220px); aspect-ratio: 1; border-radius: 50%; padding: 0 12% 0 20%; text-align: left; text-decoration: none; background: radial-gradient(circle at 30% 24%, rgba(255, 255, 255, .9) 0 6%, transparent 7%), var(--grad); box-shadow: 0 24px 40px -22px rgba(120, 90, 200, .55), inset 0 0 0 1px rgba(255, 255, 255, .7); transition: transform .4s var(--ease); }
.circle:hover { transform: rotate(-5deg) scale(1.05); }
.circle small { font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: #3b3b44; }
.circle strong { font-family: var(--head); font-weight: 500; font-size: clamp(1.25rem, 1.8vw, 1.7rem); line-height: 1.05; letter-spacing: -.03em; max-width: 6em; margin-top: 4px; }
.circle svg { width: 24px; height: 24px; margin-top: 8px; }
.contact-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* FOOTER */
.foot { overflow: hidden; border-top: 1px solid var(--line); }
.foot-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 22px var(--gutter) 28px; font-size: .86rem; color: var(--muted); max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; }
.foot-row a { padding: 10px 0; }

/* MOTION */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .hero-copy > *, .js .hero-photo { animation-fill-mode: both; }
.js .hero-copy > * { animation: rise 1s var(--ease) both; }
.js .hero-copy > :nth-child(2) { animation-delay: .1s; } .js .hero-copy > :nth-child(3) { animation-delay: .2s; } .js .hero-copy > :nth-child(4) { animation-delay: .3s; }
.js .hero-photo { animation: fade 1s ease .2s both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes fade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .down svg { animation: none; }
  .js .reveal, .slide { opacity: 1; transform: none; transition: none; }
  .js .hero-copy > *, .js .hero-photo { animation: none; }
  .btn-line:hover, .btn-solid:hover, .orb-btn:hover, .circle:hover { transform: none; }
  .hero-photo .glow { transform: none; }
}

/* RESPONSIVE */
@media (max-width: 1100px) {
    .frame-line { display: none; }
}
@media (max-width: 1000px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav nav { display: none; }
  .hero-photo { width: min(46vw, 440px); }
  .svc li { grid-template-columns: 56px 1fr 44px; }
  .svc p { grid-column: 2; }
  .arr { grid-column: 3; grid-row: 1 / 3; opacity: 1; transform: none; }
}
@media (max-width: 700px) {
  .logo span { display: none; }
  .btn-line { padding: 8px 16px; font-size: .92rem; }
  .rail { display: none; }
  .hero { flex-direction: column; align-items: stretch; min-height: 0; padding-bottom: 0; }
  .hero-copy { padding: 28px 0 0; max-width: none; order: 2; }
  .hello { font-size: clamp(5rem, 28vw, 9rem); }
  .iam { font-size: clamp(1.7rem, 7.4vw, 2.4rem); }
  .stats { grid-template-columns: 1fr 1fr; gap: 20px 24px; }
  .stats::before { display: none; }
  .hero-foot { gap: 28px; margin-bottom: 8px; }
  .hero-photo { position: relative; right: auto; width: 70%; margin: 8px 0 0 auto; order: 1; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 14%); mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 14%); }
  .work-head { flex-direction: column; align-items: flex-start; }
  .stage { --cw: 76vw; }
  .tl li { grid-template-columns: 1fr; gap: 6px; }
  }
