:root {
  color-scheme: dark;
  --bg: #0b0b0e;
  --surface: #18191e;
  --surface-soft: #1e1f25;
  --text: #f5f3f7;
  --muted: #aaa8b3;
  --subtle: #85838e;
  --line: #393941;
  --purple: #bb91f5;
  --purple-light: #e5b1f1;
  --font-display: "Outfit", Arial, sans-serif;
  --font-body: "Open Sans", Arial, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 95px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--purple-light); outline-offset: 5px; }
[hidden] { display: none !important; }
.icon-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 19px; height: 19px; flex: none; }
.shell { width: min(calc(100% - 88px), 1320px); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 9px 15px; background: #fff; color: #111; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
::selection { background: var(--purple); color: var(--bg); }

.site-header { position: sticky; z-index: 40; top: 0; background: #0b0b0eea; backdrop-filter: blur(14px); border-bottom: 1px solid #ffffff0e; }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.brand { font-family: var(--font-display); font-size: 23px; font-weight: 600; letter-spacing: -.045em; white-space: nowrap; }
.brand span { color: var(--purple); }
.primary-nav { display: flex; align-items: center; gap: clamp(18px, 2.3vw, 38px); font-family: var(--font-display); font-size: 15px; font-weight: 500; }
.primary-nav > a:not(.nav-contact) { color: #c9c7cf; transition: color .2s ease; }
.primary-nav > a:not(.nav-contact):hover { color: #fff; }
.nav-contact { display: inline-flex; align-items: center; gap: 15px; padding: 11px 19px; border: 1px solid #77737f; border-radius: 999px; transition: background .2s ease, border-color .2s ease; }
.nav-contact:hover { background: #ffffff10; border-color: var(--purple); }
.nav-contact .icon { width: 15px; height: 15px; }
.menu-toggle { display: none; }

.hero { min-height: 790px; display: grid; grid-template-columns: minmax(0, 1.17fr) minmax(335px, .83fr); align-items: center; gap: clamp(45px, 6.5vw, 110px); padding-top: 110px; padding-bottom: 130px; }
.hero-copy { min-width: 0; }
.eyebrow { margin: 0; font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: .16em; line-height: 1.4; text-transform: uppercase; color: var(--purple-light); }
.hero-eyebrow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.eyebrow-rule { display: inline-block; width: 26px; height: 1px; background: var(--purple); }
.eyebrow-divider { color: #6f6d77; padding-inline: 4px; }
.hero h1 { margin: 32px 0 27px; font-family: var(--font-display); font-size: clamp(59px, 6.45vw, 94px); font-weight: 500; letter-spacing: -.05em; line-height: 1.01; }
.hero h1 em, .section-heading h2 em, .about-section h2 em { font-style: normal; color: var(--purple); }
.hero-lede { max-width: 55ch; margin: 0; color: #c5c2cc; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.63; }
.hero-actions { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; margin-top: 39px; }
.button-primary { display: inline-flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 55px; padding: 14px 21px; border: 1px solid #d5abf3; border-radius: 999px; background: var(--purple); color: #120c19; font-family: var(--font-display); font-size: 16px; font-weight: 600; line-height: 1; transition: background .2s ease, transform .25s var(--ease); }
.button-primary:hover { background: #d8afff; transform: translateY(-2px); }
.button-primary .icon { width: 17px; height: 17px; }
.button-text { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-size: 16px; font-weight: 500; color: #e3dfe8; }
.button-text .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.button-text:hover .icon, .section-link:hover .icon, .project-link:hover .icon { transform: translate(3px, -3px); }
.hero-note { margin: 56px 0 0; color: var(--subtle); font-family: var(--font-display); font-size: 13px; letter-spacing: .02em; }
.hero-note span { color: var(--purple); margin-inline: 7px; }
.hero-figure { margin: 0; justify-self: center; width: min(100%, 430px); position: relative; }
.hero-figure::before { content: ""; position: absolute; inset: -30px; z-index: -1; border-radius: 50%; background: radial-gradient(circle, #7f4bb62b 0, #7f4bb608 56%, transparent 72%); }
.portrait-frame { width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #302b31; border: 1px solid #6a556f; }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-figure figcaption { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 24px; color: #aaa5b4; font: 600 11px var(--font-display); letter-spacing: .15em; }
.portrait-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--purple); }

.work-section { padding-bottom: 146px; }
.work-panel { background: var(--surface); border: 1px solid #ffffff09; border-radius: 28px; padding: clamp(48px, 6vw, 92px); }
.section-heading h2, .about-section h2 { margin: 18px 0 0; font-family: var(--font-display); font-size: clamp(54px, 5.4vw, 78px); font-weight: 500; letter-spacing: -.045em; line-height: 1.08; }
.heading-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 335px); align-items: end; gap: 70px; }
.heading-row > p, .section-heading-split > p { color: var(--muted); font-size: 17px; line-height: 1.7; margin: 0 0 5px; max-width: 37ch; }
.project-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); margin-top: 75px; }
.project-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; }
.filter { appearance: none; background: transparent; border: 0; border-bottom: 2px solid transparent; color: var(--muted); min-height: 49px; padding: 0 0 13px; cursor: pointer; font-family: var(--font-display); font-size: 16px; font-weight: 500; transition: color .2s ease, border-color .2s ease; }
.filter:hover, .filter.is-active { color: var(--text); }
.filter.is-active { border-color: var(--purple); }
.project-total { margin-bottom: 17px; color: var(--subtle); font: 600 11px var(--font-display); letter-spacing: .13em; white-space: nowrap; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(55px, 8vw, 130px); }
.project-card { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; border-bottom: 1px solid var(--line); padding: 56px 0 57px; }
.project-icon { width: 120px; height: 112px; position: relative; display: flex; align-items: center; justify-content: flex-start; margin-bottom: 22px; }
.project-icon img { display: block; width: auto; height: auto; max-width: 108px; max-height: 108px; object-fit: contain; }
.project-icon--wide img { max-width: 120px; max-height: 98px; }
.project-icon--tile img { width: 96px; height: 96px; max-width: 96px; max-height: 96px; object-fit: contain; border-radius: 18px; }
.project-icon--shayyed { width: 102px; overflow: hidden; }
.project-icon--shayyed img { position: absolute; top: 0; left: 0; width: 217px; height: auto; max-width: none; max-height: none; }
.project-icon--yobo { width: 112px; overflow: hidden; border-radius: 18px; }
.project-icon--yobo img { width: 200px; height: 200px; max-width: none; max-height: none; flex: none; margin-left: -44px; }
.project-meta { margin: 0 0 10px; color: var(--purple-light); font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: .11em; line-height: 1.3; text-transform: uppercase; }
.project-card h3 { margin: 0 0 9px; font-family: var(--font-display); font-size: clamp(28px, 2.6vw, 36px); font-weight: 500; line-height: 1.2; letter-spacing: -.035em; overflow-wrap: anywhere; }
.project-description { max-width: 47ch; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.project-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 19px; font-family: var(--font-display); font-size: 14px; font-weight: 600; color: #e9d5ff; }
.project-link .icon { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.project-footer { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-top: 41px; }
.project-footer p { margin: 0; color: var(--subtle); font: 600 11px var(--font-display); letter-spacing: .13em; }
.show-more { display: inline-flex; align-items: center; gap: 18px; appearance: none; background: transparent; color: var(--text); border: 1px solid #77737f; border-radius: 999px; min-height: 48px; padding: 10px 18px; cursor: pointer; font-family: var(--font-display); font-size: 15px; font-weight: 500; transition: border-color .2s ease, background .2s ease; }
.show-more:hover { border-color: var(--purple); background: #ffffff0b; }
.show-more .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.show-more.is-expanded .icon { transform: rotate(180deg); }
.noscript-note { color: var(--muted); }

.experience-section { padding-bottom: 150px; }
.section-heading-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 350px); gap: 70px; align-items: end; margin-bottom: 69px; }
.experience-list { border-top: 1px solid var(--line); }
.career-row { display: grid; grid-template-columns: 132px minmax(0, 1.1fr) minmax(0, .8fr); gap: 36px; padding: 40px 0 43px; border-bottom: 1px solid var(--line); }
.career-date, .career-org { font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: .09em; line-height: 1.5; }
.career-date { color: var(--purple-light); white-space: nowrap; }
.career-org { color: var(--subtle); }
.career-identity h3 { margin: 10px 0 0; font-family: var(--font-display); font-size: clamp(22px, 2vw, 28px); font-weight: 500; letter-spacing: -.025em; line-height: 1.23; }
.career-row p { max-width: 47ch; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.experience-more summary { display: flex; align-items: center; gap: 17px; padding: 24px 0; border-bottom: 1px solid var(--line); list-style: none; cursor: pointer; font-family: var(--font-display); font-size: 18px; font-weight: 500; }
.experience-more summary::-webkit-details-marker { display: none; }
.experience-more summary small { margin-left: auto; color: var(--subtle); font-size: 13px; font-weight: 400; }
.experience-more summary .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.experience-more[open] summary .icon { transform: rotate(180deg); }
.experience-list-archive { border-top: 0; }
.section-link { display: inline-flex; gap: 12px; align-items: center; margin-top: 34px; color: #e6d0ff; font-family: var(--font-display); font-size: 15px; font-weight: 500; }
.section-link .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }

.capabilities-section { background: #121317; padding: 140px 0 150px; }
.capabilities-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(35px, 5.5vw, 90px); }
.capability { border-top: 1px solid #55535e; padding-top: 27px; }
.capability-glyph { color: var(--purple); font-family: var(--font-display); font-size: 38px; line-height: 1; }
.capability h3 { margin: 22px 0 13px; font-family: var(--font-display); font-size: 36px; font-weight: 500; letter-spacing: -.04em; line-height: 1.2; }
.capability p { min-height: 78px; max-width: 33ch; margin: 0 0 29px; color: var(--muted); font-size: 15px; }
.capability ul { margin: 0; padding: 0; list-style: none; }
.capability li { border-top: 1px solid #34353d; padding: 10px 0; color: #d8d5df; font-size: 13px; }
.capability li:last-child { border-bottom: 1px solid #34353d; }

.about-section { padding-top: 153px; padding-bottom: 155px; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr); gap: clamp(55px, 8vw, 130px); align-items: start; }
.about-section h2 { font-size: clamp(50px, 5vw, 72px); }
.about-copy > p { margin: 8px 0 0; max-width: 50ch; color: #cbc8d2; font-size: 18px; line-height: 1.75; }
.about-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 55px; border-top: 1px solid var(--line); padding-top: 24px; }
.about-facts div { display: flex; flex-direction: column; gap: 11px; }
.about-facts span { color: var(--purple-light); font: 600 11px var(--font-display); letter-spacing: .12em; }
.about-facts strong { color: #e7e4ec; font-family: var(--font-display); font-size: 15px; font-weight: 400; line-height: 1.5; }

.site-footer { background: #1a1a20; padding-top: 108px; }
.footer-main h2 { margin: 21px 0 34px; font-family: var(--font-display); font-size: clamp(60px, 7vw, 96px); font-weight: 500; letter-spacing: -.045em; line-height: 1.04; }
.footer-main h2 span { color: var(--purple); }
.footer-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px 32px; }
.footer-actions .button-primary { width: min(100%, 280px); }
.footer-email { max-width: 100%; gap: 16px; }
.footer-email span { overflow-wrap: anywhere; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px 30px; margin-top: 113px; padding: 25px 0 30px; border-top: 1px solid #48464f; color: var(--subtle); font-family: var(--font-display); font-size: 13px; }
.footer-bottom a { color: #d3d0da; }
.footer-bottom a:hover { color: #fff; }

@media (max-width: 1100px) {
  .shell { width: min(calc(100% - 64px), 1320px); }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(290px, .72fr); gap: 38px; }
  .hero h1 { font-size: clamp(58px, 6vw, 76px); }
  .heading-row, .section-heading-split { gap: 45px; }
  .career-row { grid-template-columns: 115px minmax(0, 1fr) minmax(0, .8fr); gap: 24px; }
}
@media (max-width: 820px) {
  .header-inner { min-height: 74px; }
  .primary-nav { gap: 16px; font-size: 14px; }
  .brand { font-size: 21px; }
  .hero { min-height: 0; grid-template-columns: minmax(0, 1fr) minmax(245px, .68fr); padding-top: 94px; padding-bottom: 122px; gap: 25px; }
  .hero h1 { font-size: clamp(51px, 6.2vw, 63px); }
  .hero-lede { font-size: 17px; }
  .hero-note { margin-top: 40px; }
  .work-panel { padding: 50px; }
  .project-grid { column-gap: 50px; }
  .career-row { grid-template-columns: 105px 1fr; }
  .career-row p { grid-column: 2; }
  .capabilities-grid { gap: 35px; }
  .about-grid { grid-template-columns: 1fr; gap: 35px; }
}
@media (max-width: 740px) {
  html { scroll-padding-top: 75px; }
  .shell { width: min(calc(100% - 36px), 620px); }
  .site-header { background: #0b0b0ef7; }
  .header-inner { min-height: 70px; }
  .brand { font-size: 20px; }
  .menu-toggle { display: flex; width: 43px; height: 43px; align-items: center; justify-content: center; flex-direction: column; gap: 6px; border: 1px solid #716d79; border-radius: 50%; background: transparent; color: var(--text); cursor: pointer; }
  .menu-toggle span { width: 18px; height: 1px; background: currentColor; transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 18px 20px 28px; background: #17171b; border-bottom: 1px solid #504d59; box-shadow: 0 20px 30px #0008; flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav.is-open { display: flex; }
  .primary-nav > a:not(.nav-contact) { padding: 12px 0; border-bottom: 1px solid #3b3942; font-size: 18px; }
  .nav-contact { align-self: flex-start; margin-top: 22px; }
  .hero { display: flex; flex-direction: column; align-items: stretch; padding-top: 77px; padding-bottom: 95px; gap: 68px; }
  .hero h1 { font-size: clamp(42px, 10.3vw, 67px); margin-top: 25px; }
  .hero-lede { max-width: 48ch; }
  .hero-figure { width: min(77vw, 365px); align-self: center; }
  .hero-note { margin-top: 43px; line-height: 1.6; }
  .work-section { padding-bottom: 95px; }
  .work-panel { width: min(calc(100% - 20px), 620px); padding: 54px 28px 56px; border-radius: 22px; }
  .section-heading h2, .about-section h2 { font-size: clamp(46px, 10vw, 62px); }
  .heading-row, .section-heading-split { display: block; }
  .heading-row > p, .section-heading-split > p { margin-top: 24px; font-size: 16px; }
  .project-toolbar { margin-top: 48px; display: block; }
  .project-filters { gap: 21px; }
  .filter { font-size: 15px; }
  .project-total { display: none; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card { padding: 48px 0 52px; }
  .project-icon { margin-bottom: 20px; }
  .project-card h3 { font-size: 31px; }
  .project-description { font-size: 15px; }
  .project-footer { flex-direction: column; align-items: flex-start; padding-top: 35px; gap: 22px; }
  .experience-section { padding-bottom: 100px; }
  .section-heading-split { margin-bottom: 50px; }
  .career-row { display: block; padding: 31px 0 34px; }
  .career-identity { margin-top: 9px; }
  .career-identity h3 { font-size: 24px; margin-top: 8px; }
  .career-row p { margin-top: 13px; }
  .experience-more summary { flex-wrap: wrap; gap: 8px 14px; }
  .experience-more summary small { margin-left: 0; flex-basis: 100%; order: 3; }
  .experience-more summary .icon { margin-left: auto; }
  .capabilities-section { padding: 95px 0 105px; }
  .capabilities-grid { grid-template-columns: 1fr; gap: 55px; }
  .capability p { min-height: 0; }
  .about-section { padding-top: 100px; padding-bottom: 100px; }
  .about-copy > p { font-size: 17px; }
  .about-facts { margin-top: 37px; }
  .site-footer { padding-top: 85px; }
  .footer-main h2 { font-size: clamp(51px, 11.5vw, 78px); }
  .footer-actions { align-items: flex-start; flex-direction: column; }
  .footer-bottom { margin-top: 85px; }
}
@media (max-width: 420px) {
  .hero-eyebrow { font-size: 11px; }
  .eyebrow-divider { display: none; }
  .hero-figure::before { inset: -25px; }
  .hero h1 { font-size: clamp(39px, 10.2vw, 44px); }
  .hero-actions { gap: 21px; }
  .button-primary { font-size: 15px; }
  .work-panel { padding-inline: 24px; }
  .project-filters { gap: 16px; }
  .filter { font-size: 14px; }
  .about-facts { grid-template-columns: 1fr 1fr; gap: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
