:root {
  --paper: #fafbfc;
  --white: #fff;
  --ink: #18212b;
  --muted: #63707c;
  --line: #dce1e6;
  --blue: #315ddd;
  --navy: #14212d;
  --max: 1280px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 0; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 16px/1.7 'DM Sans', Arial, sans-serif; -webkit-font-smoothing: antialiased; }
::selection { color: white; background: var(--blue); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
button { cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 6px; }
.container { width: min(calc(100% - 112px), var(--max)); margin-inline: auto; }
h1, h2, h3, h4 { font-family: 'Manrope', Arial, sans-serif; font-weight: 600; }
h1, h2, h3, p, figure { margin-top: 0; }
section[id], article[id] { scroll-margin-top: 108px; }
.skip-link { position: fixed; left: 18px; top: -100px; padding: 10px 18px; background: var(--ink); color: white; z-index: 100; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--line); background: #fafbfcef; backdrop-filter: blur(16px); }
.header-inner { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.wordmark { font: 750 21px/1.2 'Manrope', Arial, sans-serif; letter-spacing: -.8px; white-space: nowrap; }
.wordmark span { color: var(--blue); }
.header-location { font-size: 12px; color: var(--muted); margin-left: 30px; }
.site-nav { display: flex; gap: 29px; align-items: center; margin-left: auto; }
.site-nav a { position: relative; font-size: 14px; font-weight: 500; color: var(--muted); }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--blue); }
.site-nav a[aria-current]::after { content: ''; position: absolute; left: 0; right: 0; bottom: -9px; height: 2px; background: var(--blue); }
.site-nav .resume-link { padding: 9px 17px; border: 1px solid var(--ink); border-radius: 3px; color: var(--ink); margin-left: 8px; }
.site-nav .resume-link:hover { color: white; background: var(--ink); }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--ink); padding: 8px 12px; border-radius: 3px; font-size: 14px; }
.hero { padding: 68px 0 54px; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,.85fr); align-items: center; gap: 72px; }
.eyebrow { display: block; color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.hero .eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 25px; }
.hero .eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--blue); }
.hero h1 { font-size: clamp(55px,5.7vw,88px); font-weight: 550; line-height: 1.07; letter-spacing: -.06em; margin: 0 0 28px; }
.hero h1 em, .section-heading h2 em { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; color: var(--blue); letter-spacing: -.025em; }
.hero-intro { max-width: 510px; font-size: 18px; line-height: 1.85; color: #53616d; margin-bottom: 29px; }
.hero-intro strong { font-weight: 600; color: var(--ink); }
.hero-actions { display: flex; gap: 27px; align-items: center; flex-wrap: wrap; }
.button { display: inline-flex; justify-content: center; align-items: center; padding: 12px 20px; min-height: 47px; border: 1px solid var(--blue); border-radius: 3px; background: var(--blue); color: white; font-size: 14px; font-weight: 500; transition: background .2s, border-color .2s; }
.button:hover { background: #244cc0; border-color: #244cc0; }
.text-link { display: inline-block; font-size: 14px; font-weight: 500; border-bottom: 1px solid #9ba8b4; padding-bottom: 3px; }
.text-link:hover { color: var(--blue); border-color: var(--blue); }
.hero-specialties { margin: 31px 0 0; color: #71808d; font-size: 12px; }
.hero-portrait { margin: 0; }
.portrait-window { position: relative; aspect-ratio: .87; background: #e4e9ee; overflow: hidden; border-radius: 3px; }
.portrait-window img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.hero-portrait figcaption { display: flex; justify-content: space-between; gap: 20px; font-size: 12px; color: var(--muted); padding: 12px 0 0; }
.hero-portrait figcaption span:last-child { color: #6b7984; }
.credits { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.credits-inner { display: flex; gap: 40px; align-items: center; min-height: 96px; }
.credits-label { max-width: 130px; font-size: 12px; color: #7b8791; line-height: 1.6; flex-shrink: 0; }
.company-names { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 25px; color: #6d7983; font: 600 18px/1.3 'Manrope',Arial,sans-serif; letter-spacing: -.6px; }
.company-names .company-ncr { font-size: 26px; letter-spacing: 1px; font-weight: 750; }
.work-section { padding: 83px 0 82px; }
.section-heading { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 37px; }
.section-heading h2 { margin: 13px 0 0; font-size: clamp(34px,3.6vw,51px); line-height: 1.17; font-weight: 550; letter-spacing: -.05em; }
.section-heading > p { max-width: 320px; margin: 0 0 4px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.work-feature { border-bottom: 1px solid var(--line); padding-bottom: 30px; }
.retail-photos { display: grid; grid-template-columns: 1.32fr 1fr; gap: 16px; }
.image-link { display: block; overflow: hidden; background: #e2e8ed; position: relative; border-radius: 3px; }
.image-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.65,.3,1); }
.image-link:hover img { transform: scale(1.025); }
.retail-photos .image-link { height: 420px; }
.retail-photos .image-link:first-child img { object-position: 50% 71%; }
.retail-photos .image-link:last-child img { object-position: 50% 58%; }
.image-label { position: absolute; left: 17px; bottom: 17px; background: #ffffffef; border: 1px solid #ffffff8a; color: #283540; padding: 6px 12px; font-size: 12px; backdrop-filter: blur(8px); }
.project-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 27px 0 20px; }
.project-meta { display: block; color: #76828c; font-size: 12px; margin-bottom: 9px; }
.project-summary h3 { font-size: 30px; font-weight: 550; line-height: 1.25; letter-spacing: -.04em; margin: 0; }
.project-summary p { color: var(--muted); font-size: 16px; line-height: 1.85; margin: 0; }
.project-details { border-top: 1px solid var(--line); }
.project-details summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 0 0; font-size: 14px; font-weight: 500; }
summary::-webkit-details-marker { display: none; }
.detail-mark { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.detail-mark::before, .detail-mark::after { content: ''; position: absolute; width: 13px; height: 1px; background: currentColor; top: 8px; left: 2px; }
.detail-mark::after { transform: rotate(90deg); transition: transform .2s; }
details[open] > summary .detail-mark::after { transform: rotate(0); }
.detail-columns { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; padding: 28px 0 8px; }
.detail-columns h4 { font-size: 15px; margin: 0 0 9px; }
.detail-columns p { font-size: 16px; color: var(--muted); line-height: 1.85; margin: 0; }
.project-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 42px; }
.project-piece { min-width: 0; }
.project-visual { aspect-ratio: 1.45; overflow: hidden; background: #e6ebee; border-radius: 3px; }
.project-visual img { width: 100%; height: 100%; object-fit: contain; }
.project-visual.video-visual { background: #0c131a; }
.project-visual video { width: 100%; height: 100%; object-fit: contain; display: block; }
.demo-project { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; margin-top: 42px; padding-block: 35px; border-bottom: 1px solid var(--line); }
.demo-player { position: relative; }
.demo-project .project-meta { margin-top: 0; }
.demo-copy { min-width: 0; }
.demo-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; gap: 12px; min-width: 183px; min-height: 57px; padding: 14px 22px; border: 1px solid #fff; border-radius: 4px; color: var(--ink); background: #fffffff5; box-shadow: 0 4px 28px #0004; font-size: 15px; font-weight: 600; }
.demo-play:hover { color: white; background: var(--blue); border-color: var(--blue); }
.demo-play svg { width: 19px; height: 21px; fill: currentColor; }
.demo-play[hidden] { display: none; }
.demo-label { color: var(--blue); }
.demo-file-link { margin-top: 17px; }
.demo-error { margin-top: 12px; color: #8c3434; font-size: 14px; }
.project-piece .project-meta { margin-top: 21px; }
.project-piece h3 { font-size: 26px; line-height: 1.25; letter-spacing: -.04em; margin: 0 0 11px; }
.project-piece p { color: var(--muted); font-size: 16px; line-height: 1.8; max-width: 500px; margin-bottom: 0; }
.independent-project { margin-top: 65px; padding-top: 42px; border-top: 1px solid var(--line); }
.independent-heading { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 25px; }
.independent-heading h3 { margin: 0; font-size: 31px; line-height: 1.2; letter-spacing: -.04em; }
.independent-heading p { color: var(--muted); max-width: 530px; margin: 0; font-size: 16px; line-height: 1.85; }
.app-gallery { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.app-project { min-width: 0; }
.app-project .image-link { aspect-ratio: 1.8; background: #10202d; }
.app-project img { object-fit: contain; }
.app-project figcaption { font-size: 13px; padding-top: 10px; color: var(--muted); }
.app-project figure { margin: 0; }
.independent-footer { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-top: 24px; }
.independent-footer p { font-size: 13px; color: #76828c; margin: 0; }
.about-section { background: var(--navy); color: #edf1f4; padding: 77px 0 73px; }
.about-section .eyebrow { color: #92a5b6; }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.about-heading h2 { font-size: 43px; font-weight: 500; letter-spacing: -.045em; line-height: 1.22; margin: 16px 0 25px; }
.about-heading .text-link { border-color: #657c8f; color: #d4e0e9; }
.about-copy p { color: #bdcbd5; font-size: 18px; line-height: 1.9; margin-bottom: 21px; }
.about-copy p:last-child { margin-bottom: 0; }
/* Preserve the full original biography as an open, readable story. */
.story-section .about-grid { grid-template-columns: 260px minmax(0, 1fr); gap: 72px; align-items: start; }
.story-aside { position: sticky; top: 116px; }
.story-portrait { width: 220px; max-width: 100%; aspect-ratio: 4 / 5; margin: 0 0 20px; overflow: hidden; background: #263946; border-radius: 3px; }
.story-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 62% top; }
.story-name { color: #edf1f4; font-size: 16px; font-weight: 500; margin: 0 0 4px; }
.story-role { color: #9eb1bf; font-size: 14px; line-height: 1.7; margin: 0 0 23px; }
.story-copy { max-width: 800px; }
.story-copy p { font-size: 17px; line-height: 1.9; margin: 0 0 25px; }
.story-copy strong { color: #edf1f4; font-weight: 500; }
@media (max-width: 1100px) {
  .story-section .about-grid { grid-template-columns: 220px minmax(0, 1fr); gap: 45px; }
}
@media (max-width: 760px) {
  .story-section .about-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .story-aside { position: static; }
  .story-copy p { font-size: 16px; line-height: 1.9; }
}
.capability-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 42px; margin-top: 54px; padding-top: 30px; border-top: 1px solid #344654; }
.capability h3 { font-size: 19px; font-weight: 500; letter-spacing: -.025em; margin: 0 0 12px; }
.capability p { color: #9eb1bf; font-size: 16px; line-height: 1.9; margin: 0; }
.agentic-section { padding: 76px 0 80px; border-bottom: 1px solid var(--line); }
.agentic-intro { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; align-items: start; }
.agentic-intro h2 { font-size: 40px; line-height: 1.22; letter-spacing: -.045em; font-weight: 550; margin: 15px 0 0; }
.agentic-intro p { color: var(--muted); font-size: 17px; line-height: 1.9; margin: 0; }
.workflow { list-style: none; margin: 39px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; }
.workflow li { border-top: 2px solid #b5c4dc; padding-top: 17px; }
.workflow h3 { font-size: 17px; font-weight: 600; letter-spacing: -.02em; margin: 0 0 9px; }
.workflow p { font-size: 16px; color: var(--muted); line-height: 1.85; margin: 0; }
.experience-section { padding: 78px 0 83px; }
.experience-list { border-top: 1px solid #aab5be; }
.career-entry { border-bottom: 1px solid var(--line); }
.career-entry summary { cursor: pointer; list-style: none; padding: 26px 0; display: grid; grid-template-columns: 155px 1fr 1.1fr 20px; gap: 30px; align-items: center; }
.career-entry time { font-size: 13px; color: #73818d; }
.career-entry h3 { font-size: 22px; font-weight: 550; letter-spacing: -.035em; line-height: 1.3; margin: 0; }
.career-role { color: #627381; font-size: 14px; }
.career-description { padding: 0 50px 27px 185px; max-width: 1000px; }
.career-description p { color: var(--muted); font-size: 16px; line-height: 1.85; margin: 0 0 12px; }
.career-description p:last-child { margin-bottom: 0; }
.field-section { padding-bottom: 78px; }
.field-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 23px; }
.field-heading h2 { font-size: 30px; letter-spacing: -.04em; margin: 0; }
.field-heading p { margin: 0; color: var(--muted); font-size: 14px; }
.field-gallery { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; }
.field-gallery .image-link { height: 270px; }
.field-gallery .image-link:first-child img { object-position: 50% 27%; }
.contact-section { padding: 68px 0 72px; background: #eaf0f7; border-top: 1px solid #d9e1ed; }
.contact-layout { display: flex; align-items: end; justify-content: space-between; gap: 60px; }
.contact-layout h2 { font-size: clamp(36px,4.5vw,62px); font-weight: 550; line-height: 1.15; letter-spacing: -.05em; margin: 15px 0 20px; }
.contact-layout p { color: #647584; font-size: 16px; max-width: 510px; margin: 0; line-height: 1.85; }
.contact-actions { display: flex; align-items: center; gap: 23px; flex-wrap: wrap; padding-bottom: 5px; }
.contact-email { display: block; font-size: 14px; color: #687b8e; margin-top: 17px; }
.site-footer { background: var(--paper); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 27px 0; }
.footer-inner p { font-size: 12px; color: #6b7984; margin: 0; }
.footer-links { display: flex; gap: 25px; font-size: 12px; color: #697986; }
.footer-links a:hover { color: var(--blue); }
.image-dialog { background: #fff; border: 0; border-radius: 5px; padding: 15px; max-width: min(94vw,1440px); max-height: 94vh; color: var(--ink); }
.image-dialog::backdrop { background: #0d1821d9; backdrop-filter: blur(6px); }
.dialog-close { display: block; margin: 0 0 12px auto; background: none; border: 1px solid var(--line); border-radius: 3px; padding: 6px 13px; font-size: 14px; }
.image-dialog figure { margin: 0; }
.image-dialog img { max-height: 76vh; max-width: 85vw; width: auto; height: auto; margin-inline: auto; object-fit: contain; }
.image-dialog figcaption { color: var(--muted); font-size: 13px; padding: 12px 4px 0; }
@media (min-width:1500px) { .hero { padding-top: 82px; padding-bottom: 67px; } .hero h1 { font-size: 91px; } }
@media (max-width:1100px) {
  .container { width: calc(100% - 72px); }
  .header-location { display: none; }
  .hero-grid { gap: 45px; grid-template-columns: 1.2fr .85fr; }
  .hero h1 { font-size: 62px; }
  .hero-intro { font-size: 17px; }
  .hero-specialties { font-size: 12px; }
  .company-names { font-size: 15px; }
  .credits-inner { gap: 30px; }
  .about-grid, .agentic-intro { gap: 55px; }
  .retail-photos .image-link { height: 340px; }
  .project-summary { gap: 40px; }
  .career-entry summary { grid-template-columns: 125px 1fr 1fr 20px; gap: 20px; }
  .career-description { padding-left: 145px; }
  .app-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
  .contact-layout { align-items: start; flex-direction: column; gap: 28px; }
}
@media (max-width:760px) {
  html { scroll-padding-top: 0; }
  section[id], article[id] { scroll-margin-top: 90px; }
  .container { width: calc(100% - 40px); }
  .header-inner { height: 76px; }
  .wordmark { font-size: 20px; }
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; padding: 16px 20px 22px; background: var(--paper); border-bottom: 1px solid var(--line); gap: 0; }
  .site-nav.is-open { display: flex; flex-direction: column; align-items: stretch; }
  .site-nav a { font-size: 15px; padding: 12px 0; }
  .site-nav a[aria-current]::after { display: none; }
  .site-nav .resume-link { margin: 12px 0 0; padding: 12px; text-align: center; }
  .hero { padding: 39px 0 32px; }
  .hero-grid { grid-template-columns: 1fr; gap: 35px; }
  .hero .eyebrow { font-size: 12px; margin-bottom: 19px; }
  .hero h1 { font-size: clamp(49px,8.9vw,70px); margin-bottom: 23px; }
  .hero-intro { font-size: 17px; max-width: 560px; }
  .hero-actions { gap: 23px; }
  .hero-specialties { margin-top: 24px; font-size: 12px; }
  .hero-portrait { max-width: 560px; }
  .portrait-window { aspect-ratio: 1.2; }
  .portrait-window img { object-position: 50% 19%; }
  .credits-inner { align-items: start; flex-direction: column; gap: 18px; padding-block: 25px; }
  .credits-label { max-width: none; font-size: 12px; }
  .company-names { width: 100%; flex-wrap: wrap; justify-content: start; gap: 20px 30px; font-size: 16px; }
  .company-names .company-ncr { font-size: 22px; }
  .work-section, .experience-section { padding: 48px 0; }
  .section-heading { display: block; margin-bottom: 28px; }
  .section-heading h2 { font-size: 37px; }
  .section-heading > p { margin-top: 20px; max-width: 480px; font-size: 16px; }
  .retail-photos { grid-template-columns: 1fr 1fr; gap: 10px; }
  .retail-photos .image-link { height: 300px; }
  .image-label { left: 9px; right: 9px; bottom: 10px; padding: 5px 8px; font-size: 12px; }
  .project-summary { grid-template-columns: 1fr; gap: 18px; }
  .project-summary h3 { font-size: 28px; }
  .detail-columns { grid-template-columns: 1fr; gap: 24px; }
  .detail-columns p { font-size: 16px; }
  .demo-project { grid-template-columns: 1fr; gap: 24px; margin-top: 34px; padding-block: 0 30px; }
  .project-pair { grid-template-columns: 1fr; gap: 34px; margin-top: 34px; }
  .project-visual { aspect-ratio: 1.5; }
  .independent-project { margin-top: 42px; padding-top: 30px; }
  .independent-heading { display: block; }
  .independent-heading p { margin-top: 20px; }
  .independent-footer { flex-direction: column; align-items: start; gap: 16px; }
  .app-gallery { gap: 20px 12px; }
  .app-project figcaption { font-size: 12px; }
  .about-section, .agentic-section { padding: 47px 0; }
  .about-grid, .agentic-intro { grid-template-columns: 1fr; gap: 29px; }
  .about-heading h2 { font-size: 37px; }
  .about-copy p { font-size: 17px; }
  .capability-list { grid-template-columns: 1fr; gap: 28px; margin-top: 35px; padding-top: 28px; }
  .capability h3 { font-size: 21px; }
  .agentic-intro h2 { font-size: 36px; }
  .workflow { grid-template-columns: 1fr 1fr; gap: 29px 24px; }
  .workflow p { font-size: 16px; }
  .career-entry summary { grid-template-columns: 1fr 22px; gap: 8px 18px; padding-block: 23px; }
  .career-entry time { grid-column: 1; }
  .career-entry h3 { grid-column: 1; }
  .career-role { grid-column: 1; font-size: 14px; }
  .career-entry .detail-mark { grid-column: 2; grid-row: 1 / span 3; }
  .career-description { padding: 0 0 23px; }
  .field-section { padding-bottom: 48px; }
  .field-heading { display: block; }
  .field-heading p { margin-top: 12px; font-size: 15px; }
  .field-gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
  .field-gallery .image-link { height: 220px; }
  .field-gallery .image-link:first-child { grid-column: 1 / -1; height: 280px; }
  .contact-section { padding: 45px 0 48px; }
  .contact-layout h2 { font-size: 43px; }
  .footer-inner { flex-direction: column; align-items: start; gap: 15px; padding-block: 24px; }
}
@media (max-width:420px) {
  .hero h1 { font-size: 48px; }
  .hero-actions { gap: 20px; }
  .hero-actions .text-link { font-size: 13px; }
  .retail-photos .image-link { height: 240px; }
  .workflow { grid-template-columns: 1fr; }
  .contact-actions { gap: 20px; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none!important; animation: none!important; }
}
