    /* Design tokens and base styles */
    :root {
      color-scheme: dark;
      --page: #141210;
      --section: #171410;
      --card: #221d1a;
      --card-header: #2d241f;
      --line: #3a2d24;
      --card-line: #5a4032;
      --text: #f7f1e8;
      --white: #f9fafb;
      --light: #e7e0d5;
      --muted: #b8a29a;
      --gold: #d9a06a;
      --blue: #60a5fa;
      --blue-logo: #3155f5;
      --mono: "IBM Plex Mono", "Courier New", monospace;
      --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }

    * { box-sizing: border-box; }

    html {
      scroll-behavior: smooth;
      scroll-padding-top: 24px;
    }

    body {
      margin: 0;
      background: var(--page);
      color: var(--text);
      font-family: var(--sans);
      font-size: 15px;
      line-height: 1.5;
      -webkit-font-smoothing: antialiased;
    }

    a { color: inherit; text-decoration: none; }
    img, video { display: block; max-width: 100%; }
    button, a { -webkit-tap-highlight-color: transparent; }
    ::selection { color: var(--page); background: var(--blue); }

    .site-header {
      position: relative;
      z-index: 5;
      border-bottom: 1px solid var(--line);
      background: var(--page);
    }

    /* Navigation and hero */
    .nav {
      display: flex;
      min-height: 99px;
      align-items: center;
      justify-content: space-between;
      gap: 30px;
      padding: 0 72px;
    }

    .identity {
      display: flex;
      flex: 0 0 auto;
      align-items: center;
      gap: 12px;
    }

    .monogram {
      color: var(--blue-logo);
      font-size: 28px;
      font-weight: 800;
      letter-spacing: -2px;
      line-height: 1;
    }

    .identity-copy {
      color: var(--muted);
      font: 11px/1.35 var(--mono);
      white-space: nowrap;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 30px;
      color: var(--light);
      font-size: 13px;
    }

    .nav-links a, .footer-link { transition: color .18s ease; }
    .nav-links a:hover, .footer-link:hover { color: var(--blue); }
    .nav-links .nav-contact { display: inline-flex; gap: 8px; align-items: center; color: var(--blue); font-weight: 600; }

    .menu-toggle {
      display: none;
      border: 1px solid var(--card-line);
      padding: 9px 12px;
      color: var(--text);
      background: transparent;
      font: 12px var(--mono);
    }

    .hero-layout {
      display: flex;
      align-items: center;
      gap: 40px;
      padding: 70px 72px;
    }

    .introduction {
      width: 560px;
      flex: 0 0 560px;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 28px;
    }

    .greeting {
      display: flex;
      align-items: center;
      gap: 10px;
      color: var(--muted);
      font: 12px/1.4 var(--mono);
      letter-spacing: 1px;
    }

    .accent-dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--blue);
    }

    .full-name {
      margin: 0;
      color: var(--light);
      font-size: 19px;
      font-weight: 600;
      letter-spacing: .4px;
    }

    .hero-title {
      margin: 0;
      color: var(--white);
      font-size: 80px;
      font-weight: 500;
      letter-spacing: -5px;
      line-height: 1.02;
    }

    .hero-copy {
      margin: 0;
      color: var(--muted);
      font-size: 18px;
      line-height: 1.55;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      padding-top: 6px;
    }

    .button {
      display: inline-flex;
      min-height: 54px;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      border: 1px solid var(--card-line);
      padding: 0 24px;
      color: var(--text);
      background: #2a211d;
      font-size: 15px;
      font-weight: 500;
      white-space: nowrap;
      transition: background .2s ease, border-color .2s ease;
    }

    .button:hover { border-color: var(--gold); }
    .button.primary { border-color: var(--blue); color: #0b0f14; background: var(--blue); }
    .button.primary:hover { background: #83b9ff; }
    .button .arrow { width: 20px; font-size: 20px; line-height: 1; text-align: center; }

    .portrait-frame {
      display: flex;
      width: 599px;
      height: 684px;
      flex: 0 0 599px;
      flex-direction: column;
      overflow: hidden;
      border: 1px solid var(--card-line);
      background: var(--card);
      margin: 0;
    }

    .frame-header {
      display: flex;
      min-height: 46px;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 16px 20px;
      color: var(--muted);
      background: var(--card-header);
      font: 11px/14px var(--mono);
      letter-spacing: 1px;
      text-transform: uppercase;
      white-space: nowrap;
    }

    .frame-header span:last-child { color: var(--blue); }

    .portrait-image {
      width: 100%;
      height: calc(100% - 46px);
      object-fit: contain;
      background: var(--page);
    }

    .location-strip {
      display: flex;
      min-height: 74px;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
      padding: 0 72px;
      color: var(--muted);
      font: 12px var(--mono);
      letter-spacing: 1px;
    }

    .location-strip span:last-child { letter-spacing: 0; }

    /* Shared section layout and project details */
    .section {
      padding: 56px 72px;
      background: var(--section);
    }

    .section-dark { background: var(--page); }

    .section-heading {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 32px;
      margin-bottom: 56px;
    }

    .section-kicker {
      margin: 0 0 22px;
      color: var(--muted);
      font: 12px/16px var(--mono);
      letter-spacing: 1px;
      text-transform: uppercase;
    }

    .section-title {
      margin: 0;
      color: var(--white);
      font-size: 52px;
      font-weight: 500;
      letter-spacing: -2.5px;
      line-height: 56px;
    }

    .section-description {
      max-width: 322px;
      margin: 0;
      color: var(--muted);
      font-size: 16px;
      line-height: 1.5;
    }

    .project-layout {
      display: grid;
      grid-template-columns: minmax(0, 760px) minmax(0, 1fr);
      align-items: start;
      gap: 24px;
    }

    .project-card,
    .context-card,
    .artwork-card,
    .poster-card,
    .degree-card,
    .certificate-card {
      overflow: hidden;
      border: 1px solid var(--card-line);
      background: var(--card);
    }

    .project-card, .artwork-card, .certificate-card {
      border: 0;
      outline: 1px solid var(--card-line);
      outline-offset: -1px;
    }

    .project-content {
      display: flex;
      flex-direction: column;
      gap: 28px;
      padding: 32px;
    }

    .project-title {
      margin: 0;
      color: var(--text);
      font-size: 52px;
      font-weight: 500;
      letter-spacing: -2.5px;
      line-height: 56px;
    }

    .project-intro {
      margin: 16px 0 0;
      color: var(--muted);
      font-size: 18px;
      line-height: 1.65;
    }

    .website-preview {
      overflow: hidden;
      outline: 1px solid var(--card-line);
      outline-offset: -1px;
    }

    .website-preview .frame-header { min-height: 46px; }

    .website-frame {
      display: block;
      width: 100%;
      height: 560px;
      border: 0;
      background: var(--page);
    }

    .project-details {
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .micro-label {
      margin: 0;
      color: var(--muted);
      font: 12px/1.4 var(--mono);
      letter-spacing: 1px;
      text-transform: uppercase;
    }

    .project-url {
      overflow-wrap: anywhere;
      color: var(--gold);
      font-size: 28px;
      font-weight: 500;
      letter-spacing: -.7px;
      line-height: 1.35;
    }

    .project-note {
      display: flex;
      flex-direction: column;
      gap: 10px;
      padding: 20px;
      background: var(--card-header);
    }

    .project-note p:last-child {
      margin: 0;
      color: var(--light);
      font-size: 16px;
      line-height: 1.5;
    }

    .project-context {
      display: flex;
      flex-direction: column;
      gap: 24px;
    }

    .context-card { padding: 28px; }

    .context-card > p:last-child {
      margin: 16px 0 0;
      color: var(--light);
      font-size: 16px;
      line-height: 1.5;
    }

    .context-list {
      display: flex;
      flex-direction: column;
      gap: 12px;
      margin: 16px 0 0;
      padding: 0;
      color: var(--light);
      list-style: none;
    }

    .two-column-grid,
    .poster-grid {
      display: grid;
      gap: 24px;
    }

    .two-column-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .poster-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

    .artwork-card,
    .poster-card { min-width: 0; }

    .media-frame {
      display: grid;
      place-items: center;
      background: var(--page);
    }

    .media-frame video {
      display: block;
      width: 100%;
      height: auto;
      aspect-ratio: 1 / 1;
      object-fit: contain;
      background: var(--page);
    }

    .video-notice {
      max-width: 360px;
      margin: 24px;
      color: var(--muted);
      font-size: 13px;
      text-align: center;
    }

    .poster-frame {
      display: grid;
      place-items: center;
      background: var(--page);
    }

    .poster-frame img, .illustration-frame img {
      display: block;
      width: 100%;
      height: auto;
      object-fit: contain;
    }

    .illustration-row {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 24px;
    }

    .illustration-row + .illustration-row { margin-top: 24px; }

    .illustration-frame {
      display: grid;
      place-items: center;
      background: var(--page);
    }

    /* About and skills */
    .about-layout,
    .experience-layout,
    .education-layout {
      display: grid;
      grid-template-columns: 360px minmax(0, 1fr);
      align-items: start;
      gap: 92px;
    }

    .about-copy {
      display: flex;
      flex-direction: column;
      gap: 28px;
    }

    .about-copy p { margin: 0; }

    .about-lead {
      color: var(--text);
      font-size: 29px;
      letter-spacing: -.8px;
      line-height: 1.4;
    }

    .about-support {
      color: var(--muted);
      font-size: 18px;
      line-height: 1.65;
    }

    .practice-areas {
      display: flex;
      flex-wrap: wrap;
      gap: 12px 24px;
      padding-top: 10px;
      color: var(--muted);
      font: 12px var(--mono);
      letter-spacing: 1px;
    }

    .practice-areas span:nth-child(even) { color: var(--blue); }

    .skills-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 40px;
    }

    .skill-group {
      display: flex;
      min-width: 0;
      flex-direction: column;
      align-items: flex-start;
      gap: 24px;
    }

    .skill-symbol {
      display: grid;
      width: 48px;
      height: 48px;
      place-items: center;
      color: #0b0f14;
      background: var(--gold);
      font: 500 23px var(--mono);
    }

    .skill-title {
      min-height: 58px;
      margin: 0;
      color: var(--text);
      font-size: 24px;
      font-weight: 500;
      letter-spacing: -.6px;
      line-height: 1.2;
    }

    .skill-divider {
      width: 100%;
      height: 1px;
      background: var(--line);
    }

    .skill-list {
      display: flex;
      flex-direction: column;
      gap: 13px;
      margin: 0;
      padding: 0;
      color: var(--light);
      font-size: 15px;
      line-height: 1.45;
      list-style: none;
    }

    /* Experience and education */
    .experience-layout { gap: 92px; }

    .experience-intro {
      display: flex;
      flex-direction: column;
      gap: 28px;
    }

    .experience-heading {
      display: flex;
      flex-direction: column;
      gap: 22px;
    }

    .experience-heading .section-kicker { margin: 0; }

    .experience-intro > p {
      margin: 0;
      color: var(--muted);
      font-size: 17px;
      line-height: 1.6;
    }

    .experience-list { min-width: 0; }

    .experience-item {
      display: flex;
      flex-direction: column;
      gap: 16px;
      border-top: 1px solid var(--line);
      padding: 30px 0;
    }

    .role-timeline {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      color: var(--muted);
      font: 12px var(--mono);
      line-height: 16px;
      letter-spacing: 1px;
    }

    .current-role {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      color: var(--blue);
      font-size: 11px;
      letter-spacing: 0;
    }

    .current-role::before {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--blue);
      content: "";
    }

    .experience-item h3 {
      margin: 0;
      font-size: 28px;
      font-weight: 500;
      letter-spacing: -1px;
      line-height: 34px;
    }

    .experience-item p {
      margin: 0;
      color: var(--light);
      font-size: 17px;
      line-height: 21px;
    }

    .experience-item .role-description {
      color: var(--muted);
      font-size: 14px;
      line-height: 17px;
    }

    .experience-item:last-child { border-bottom: 1px solid var(--line); }

    .education-section {
      display: flex;
      flex-direction: column;
      gap: 36px;
      padding-top: 0;
    }

    .education-divider {
      height: 1px;
      background: var(--line);
    }

    .education-layout { padding-top: 34px; }

    .degree-card {
      display: flex;
      align-items: center;
      gap: 32px;
      padding: 32px;
    }

    .degree-mark {
      flex: 0 0 130px;
      color: var(--gold);
      font-size: 70px;
      font-weight: 600;
      letter-spacing: -5px;
      line-height: .9;
    }

    .degree-details {
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .degree-details .degree-date {
      margin: 0;
      color: var(--muted);
      font: 12px/16px var(--mono);
      letter-spacing: 1px;
    }

    .degree-details h3 {
      margin: 0;
      font-size: 24px;
      font-weight: 500;
      letter-spacing: -.6px;
      line-height: 1.25;
    }

    .degree-details p {
      margin: 0;
      color: var(--light);
      font-size: 15px;
      line-height: 1.5;
    }

    .degree-details p:last-child {
      color: var(--muted);
      font-size: 14px;
      line-height: 17px;
    }

    .certifications { padding-top: 0; }
    .certifications .section-heading { margin-bottom: 36px; }

    .certificate-card {
      display: flex;
      flex-direction: column;
      gap: 22px;
      padding: 28px;
    }

    .certificate-meta {
      display: flex;
      justify-content: space-between;
      gap: 16px;
      color: var(--muted);
      font: 11px var(--mono);
      text-transform: uppercase;
    }

    .certificate-meta span:first-child { color: var(--gold); }

    .certificate-card h3 {
      min-height: 66px;
      margin: 0;
      font-size: 24px;
      font-weight: 400;
      letter-spacing: -.7px;
      line-height: 1.35;
    }

    .certificate-card p {
      margin: 0;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.5;
    }

    .contact-section {
      display: flex;
      flex-direction: column;
      gap: 40px;
      padding-top: 64px;
      padding-bottom: 64px;
    }

    .contact-section > .section-kicker { margin: 0; }

    .contact-invitation {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 32px;
    }

    .contact-title {
      margin: 0;
      color: var(--text);
      font-size: 90px;
      font-weight: 500;
      letter-spacing: -5px;
      line-height: 1.02;
    }

    .contact-arrow {
      flex: 0 0 auto;
      color: var(--blue);
      font: 400 126px/1 var(--sans);
    }

    .contact-details {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 32px;
    }

    .direct-contact,
    .social-links {
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .direct-contact a {
      font-size: 28px;
      letter-spacing: -.7px;
      line-height: normal;
    }

    .direct-contact a:last-child {
      font-size: 17px;
      letter-spacing: 0;
    }

    .social-links a {
      font-size: 16px;
      line-height: normal;
    }

    .contact-details a:hover { color: var(--blue); }

    .site-footer {
      display: flex;
      min-height: 104px;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      padding: 0 72px;
      color: var(--text);
      background: var(--page);
    }

    .footer-identity {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .footer-identity span:first-child { font-size: 12px; }

    .footer-identity span:last-child { font: 11px var(--mono); }

    .site-footer > span:last-of-type { font: 11px var(--mono); }

    /* Responsive layouts */
    @media (max-width: 1320px) {
      .hero-layout { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1fr); }
      .introduction { width: auto; max-width: 560px; flex-basis: auto; }
      .portrait-frame { width: 100%; flex-basis: auto; }
      .hero-title { font-size: clamp(58px, 5.7vw, 80px); }
      .project-layout { grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); }
      .about-layout, .experience-layout, .education-layout { grid-template-columns: minmax(280px, .75fr) minmax(0, 1.5fr); }
      .contact-title { font-size: clamp(62px, 6.3vw, 90px); }
    }

    @media (max-width: 980px) {
      .nav { min-height: 82px; padding-inline: 36px; }
      .nav-links { gap: 18px; font-size: 12px; }
      .hero-layout { grid-template-columns: minmax(0, 1fr) minmax(300px, .9fr); gap: 28px; padding: 56px 36px; }
      .hero-title { font-size: clamp(52px, 6vw, 68px); letter-spacing: -3.5px; }
      .full-name { font-size: 16px; }
      .hero-copy { font-size: 16px; }
      .portrait-frame { height: 590px; }
      .location-strip { padding-inline: 36px; }
      .section { padding-inline: 36px; }
      .section-heading { align-items: flex-start; }
      .project-layout { grid-template-columns: 1fr; }
      .project-context { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .skills-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .about-layout, .experience-layout, .education-layout { grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr); gap: 48px; }
      .site-footer { padding-inline: 36px; }
    }

    @media (max-width: 720px) {
      .nav { min-height: 72px; padding-inline: 20px; }
      .menu-toggle { display: inline-flex; }
      .nav-links {
        position: absolute;
        top: calc(100% + 1px);
        right: 0;
        left: 0;
        display: none;
        align-items: stretch;
        gap: 0;
        border-bottom: 1px solid var(--line);
        padding: 8px 20px 14px;
        background: var(--page);
      }
      .nav-links.is-open { display: flex; flex-direction: column; }
      .nav-links a { padding: 12px 0; }
      .nav-links .nav-contact { justify-content: space-between; }
      .hero-layout { display: grid; grid-template-columns: 1fr; gap: 36px; padding: 52px 20px 40px; }
      .introduction { gap: 22px; }
      .hero-title { font-size: clamp(56px, 12vw, 76px); }
      .portrait-frame { width: 100%; height: min(120vw, 620px); }
      .portrait-image { object-fit: contain; }
      .location-strip { min-height: 64px; padding-inline: 20px; font-size: 10px; }
      .section { padding: 48px 20px; }
      .section-heading { flex-direction: column; gap: 12px; margin-bottom: 32px; }
      .section-kicker { margin-bottom: 16px; }
      .section-title, .project-title { font-size: clamp(38px, 9vw, 52px); }
      .section-description { max-width: 480px; font-size: 15px; }
      .project-content { gap: 24px; padding: 20px; }
      .project-intro { font-size: 16px; }
      .website-frame { height: 460px; }
      .project-url { font-size: 20px; }
      .project-context { grid-template-columns: 1fr; gap: 12px; }
      .context-card { padding: 20px; }
      .two-column-grid, .poster-grid, .illustration-row { grid-template-columns: 1fr; gap: 16px; }
      .illustration-row + .illustration-row { margin-top: 16px; }
      .about-layout, .experience-layout, .education-layout { grid-template-columns: 1fr; gap: 24px; }
      .about-copy { gap: 18px; }
      .about-lead { font-size: 24px; }
      .about-support { font-size: 16px; }
      .skills-grid { gap: 36px 20px; }
      .skill-title { font-size: 21px; }
      .experience-intro { gap: 14px; }
      .education-layout { padding-top: 24px; }
      .degree-card { gap: 18px; padding: 22px; }
      .degree-mark { flex-basis: 84px; font-size: 58px; }
      .degree-details h3 { font-size: 21px; }
      .certifications { padding-top: 0; }
      .contact-section { gap: 28px; padding-top: 48px; padding-bottom: 48px; }
      .contact-invitation { align-items: flex-start; gap: 12px; }
      .contact-title { font-size: clamp(40px, 9vw, 64px); letter-spacing: -2.6px; }
      .contact-arrow { font-size: 64px; }
      .contact-details { align-items: flex-start; flex-direction: column; gap: 24px; }
      .direct-contact a { font-size: 21px; }
      .site-footer { min-height: 100px; flex-wrap: wrap; padding: 20px; }
    }

    @media (max-width: 430px) {
      .identity-copy { font-size: 9px; }
      .monogram { font-size: 26px; }
      .frame-header { gap: 8px; padding-inline: 12px; font-size: 9px; letter-spacing: .6px; }
      .location-strip { align-items: flex-start; flex-direction: column; justify-content: center; gap: 4px; padding-block: 12px; }
      .hero-actions { align-items: stretch; flex-direction: column; width: 100%; }
      .button { width: 100%; }
      .skills-grid { grid-template-columns: 1fr; }
      .skill-title { min-height: auto; }
      .certificate-meta { font-size: 9px; }
      .contact-title { font-size: 38px; }
      .site-footer { align-items: flex-start; flex-direction: column; gap: 12px; }
    }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
      }
    }
