/* Personal portfolio. Shared styles; no product-specific feature sections. */
:root {
  color-scheme: light;
  --ink: #1d1d1f;
  --muted: #63636b;
  --line: #e5e5e8;
  --paper: #f7f7f8;
  --width: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; color: var(--ink); background: #fff; font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 5px; }
button { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #252527; outline-offset: 5px; }
main:focus { outline: none; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h1 { font-size: clamp(42px, 4.9vw, 64px); line-height: 1.08; letter-spacing: -.052em; font-weight: 600; }
h2 { font-size: 36px; line-height: 1.19; font-weight: 400; letter-spacing: -.035em; }
h3 { font-size: 19px; line-height: 1.35; font-weight: 500; letter-spacing: -.015em; }
p { color: var(--muted); }
.wrap { width: min(var(--width), calc(100% - 96px)); margin-inline: auto; }
.eyebrow { color: var(--muted); font-size: 11px; line-height: 1.55; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; }
.site-header { background: #fff; }
.header-inner { min-height: 82px; display: flex; justify-content: space-between; align-items: center; gap: 36px; }
.brand { font-size: 20px; line-height: 1.3; letter-spacing: -.035em; font-weight: 500; flex-shrink: 0; }
.site-nav { display: flex; gap: 34px; align-items: center; font-size: 13px; line-height: 1.3; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; color: #444448; }
.site-nav a[aria-current] { color: #111; text-decoration: underline; text-underline-offset: 7px; }
.site-nav a[hreflang] { border-left: 1px solid var(--line); padding-left: 28px; }
.nav-toggle { border: 0; background: transparent; padding: 10px 0 10px 12px; min-height: 44px; font-size: 13px; cursor: pointer; }
.nav-toggle span { display: inline-block; min-width: 18px; margin-left: 6px; font-size: 19px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.button { min-height: 46px; padding: 10px 24px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; border-radius: 24px; color: #fff; font-size: 14px; line-height: 1.5; background: linear-gradient(#282a2d, #191a1c); border: 1px solid #252629; box-shadow: 0 1px 1px #0000000f, inset 0 1px 1px #ffffff1a; transition: background .2s; }
.button:hover { text-decoration: none; background: #36373b; }
.text-link, .more { display: inline-flex; align-items: center; min-height: 44px; gap: 12px; font-size: 14px; color: var(--ink); }
.text-link span, .more span { font-size: 18px; }
.hero { width: min(1256px, calc(100% - 96px)); display: grid; grid-template-columns: 43% 57%; align-items: center; gap: 0; padding-top: 20px; padding-bottom: 0; }
.hero-copy { padding-left: 48px; padding-block: 44px 56px; position: relative; z-index: 1; }
.hero-copy .eyebrow { margin-bottom: 24px; letter-spacing: .115em; }
.hero h1 { margin-bottom: 24px; }
.hero-lead { max-width: 420px; font-size: 18px; line-height: 1.55; }
.hero-copy .actions { margin-top: 28px; }
.hero-portrait { min-width: 0; align-self: end; mask-image: linear-gradient(to right, transparent, #000 7%, #000 98%, transparent); }
.hero-img { width: 100%; height: auto; aspect-ratio: 804 / 560; object-fit: contain; mix-blend-mode: multiply; }
.expertise-band { background: var(--paper); border-top: 1px solid #eeeeef; border-bottom: 1px solid #eeeeef; }
.expertise-grid { display: grid; grid-template-columns: 1.12fr repeat(3, 1fr); gap: 44px; padding-block: 46px; align-items: start; }
.expertise-intro .eyebrow { margin-bottom: 10px; }
.expertise-intro h2 { font-size: 29px; line-height: 1.17; }
.expertise-intro .text-link { margin-top: 9px; font-size: 13px; }
.line-icon { width: 31px; height: 31px; margin: 3px 0 18px; color: #38393d; display: block; }
.expertise-item h3 { font-size: 16px; margin-bottom: 8px; }
.expertise-item p { font-size: 14px; line-height: 1.65; max-width: 220px; }
.work-section { padding-block: 68px 72px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 30px; }
.section-heading .eyebrow { margin-bottom: 8px; }
.section-heading h2 { font-size: 34px; }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.work-card { min-width: 0; }
.case-link { display: block; }
.case-link:hover { text-decoration: none; }
.case-link:hover h3 { text-decoration: underline; text-underline-offset: 5px; }
.case-link .case-role { font-size: 11px; line-height: 1.4; letter-spacing: .02em; margin: 21px 0 6px; }
.case-link h3 { display: flex; justify-content: space-between; gap: 12px; font-size: 18px; font-weight: 500; margin-bottom: 8px; }
.case-link h3 span { font-size: 17px; color: var(--muted); }
.case-link > p:last-child { font-size: 15px; line-height: 1.65; max-width: 330px; }
/* Decorative illustrations, not screenshots or claims about a product UI. */
.case-visual { aspect-ratio: 1.75; border-radius: 7px; overflow: hidden; display: flex; align-items: center; justify-content: center; position: relative; isolation: isolate; }
.visual-platform { background: radial-gradient(ellipse at 65% 24%, #eef0f2, #dce0e5 80%); }
.server-stack { width: 56%; display: grid; gap: 7px; transform: rotate(-6deg); filter: drop-shadow(12px 20px 14px #626c7b44); }
.server-unit { height: 37px; border-radius: 5px; border: 1px solid #b8bdc3; border-top-color: #fff; background: linear-gradient(175deg, #fafafb, #c9cdd2); box-shadow: 0 2px 0 #91989f; display: flex; align-items: center; padding: 0 17px; gap: 6px; }
.server-unit i { display: block; width: 3px; height: 13px; border-radius: 1px; background: #6f767f; }
.server-unit span { margin-left: auto; width: 6px; height: 6px; border-radius: 50%; background: #697b90; box-shadow: inset 0 1px 1px #0003; }
.visual-knowledge { background: radial-gradient(ellipse at 50% 75%, #e4e5e8, #f2f3f5 70%); }
.document-sheet { position: absolute; width: 34%; aspect-ratio: .78; border-radius: 5px; border: 1px solid #dedfe3; background: #fff; box-shadow: 4px 10px 16px #393d4920; }
.sheet-back { transform: translate(18px, -2px) rotate(13deg); background: #fafafa; }
.sheet-front { transform: translate(-8px, 1px) rotate(-8deg); padding: 24px 17px; display: flex; flex-direction: column; gap: 9px; }
.doc-heading { display: block; width: 47%; height: 6px; background: #555b65; margin-bottom: 8px; border-radius: 1px; }
.document-sheet i { width: 100%; height: 3px; display: block; background: #d9dce1; }
.document-sheet i:nth-of-type(3) { width: 69%; }
.doc-source { margin-top: auto; padding-top: 10px; border-top: 1px solid #e9e9ed; display: flex; gap: 9px; align-items: center; }
.doc-source b { font-size: 10px; color: #5a6270; font-weight: 500; }
.doc-source > span { display: block; width: 60%; height: 3px; background: #cdd2da; }
.visual-commerce { gap: 9px; background: radial-gradient(ellipse at 30% 15%, #f4f1ed, #e4dfd9); }
.recommendation { width: 22%; height: 61%; background: #ffffffdc; padding: 10px 10px 13px; border-radius: 6px; border: 1px solid #ffffff; display: flex; flex-direction: column; gap: 6px; box-shadow: 2px 11px 15px #6e62521f; transform: translateY(7px) rotate(-7deg); }
.recommendation.featured { width: 25%; height: 69%; transform: translateY(-4px); z-index: 1; }
.recommendation:last-child { transform: translateY(7px) rotate(7deg); }
.product-object { flex: 1; width: 67%; align-self: center; display: block; margin: 4px 0 13px; border-radius: 8px 8px 18px 18px; background: linear-gradient(110deg, #9b9b99, #dadbd8 43%, #919394); box-shadow: inset -4px 0 6px #0002; }
.object-b { width: 55%; border-radius: 4px 4px 8px 8px; background: linear-gradient(100deg, #514c48, #847d78 48%, #444140); }
.object-c { width: 60%; border-radius: 50% 50% 25% 25%; background: linear-gradient(110deg, #afa696, #e4dacb, #a69e91); }
.recommendation i { height: 3px; width: 85%; background: #d5d2ce; border-radius: 1px; display: block; }
.recommendation i:last-child { width: 45%; }
.about-band { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 96px; padding-block: 59px 57px; align-items: center; }
.about-copy .eyebrow { margin-bottom: 12px; }
.about-copy h2 { font-size: 33px; line-height: 1.24; margin-bottom: 20px; }
.about-copy > p:not(.eyebrow) { max-width: 480px; font-size: 16px; line-height: 1.75; }
.about-copy .text-link { margin-top: 16px; }
.experience-list > div { padding-block: 18px; border-bottom: 1px solid #dedee3; }
.experience-list > div:last-child { border-bottom: 0; }
.experience-list dt { display: flex; justify-content: space-between; gap: 24px; line-height: 1.5; }
.experience-list dt > :first-child { font-size: 16px; font-weight: 500; }
.experience-list dt > :last-child { color: var(--muted); font-size: 12px; white-space: nowrap; align-self: center; }
.experience-list dd { margin-top: 7px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.contact { padding-block: 64px 66px; text-align: center; }
.contact h2 { font-size: 36px; font-weight: 400; }
.contact > p { margin: 17px auto 25px; max-width: 550px; font-size: 16px; line-height: 1.65; }
.contact .actions { justify-content: center; }
.contact > .button { margin-top: 0; }
.site-footer { border-top: 1px solid #ededee; background: #fff; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px 30px; padding-block: 19px; font-size: 12px; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 6px 26px; color: var(--muted); }
.footer-inner nav a { display: inline-flex; align-items: center; min-height: 36px; }
/* Existing cases, career, approach and profile documents retain their content. */
.page-heading { padding-block: 63px 34px; }
.page-heading .eyebrow { margin-bottom: 18px; }
.page-heading h1 { font-size: clamp(42px, 5.2vw, 60px); font-weight: 500; max-width: 800px; }
.page-heading .lead { margin-top: 21px; font-size: 19px; line-height: 1.6; max-width: 640px; }
.jump-nav { display: flex; flex-wrap: wrap; gap: 8px 30px; padding-bottom: 24px; border-bottom: 1px solid var(--line); font-size: 14px; }
.jump-nav a { display: inline-flex; min-height: 44px; align-items: center; }
.case-chapter { padding-block: 48px; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.5fr); gap: 68px; border-bottom: 1px solid var(--line); }
.chapter-title .eyebrow { margin-bottom: 16px; }
.chapter-title h2 { font-size: 35px; font-weight: 400; }
.role { font-size: 13px; margin-top: 18px; }
.chapter-body h3 { font-size: 20px; font-weight: 500; margin: 23px 0 12px; }
.chapter-body h3:first-child { margin-top: 0; }
.chapter-body > p { margin-bottom: 18px; line-height: 1.75; }
.chapter-body .actions a { font-size: 14px; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; }
.note { font-size: 13px; line-height: 1.7; }
details { border-top: 1px solid var(--line); margin-top: 24px; }
summary { display: flex; justify-content: space-between; gap: 18px; align-items: center; padding-block: 16px; list-style: none; cursor: pointer; font-size: 14px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 19px; flex-shrink: 0; color: var(--muted); }
details[open] > summary::after { content: '−'; }
.detail-body { padding-bottom: 20px; font-size: 15px; color: var(--muted); }
.detail-body ul { margin: 0; padding-left: 19px; }
.detail-body li { padding-left: 3px; margin-bottom: 10px; line-height: 1.75; }
.detail-body p + p { margin-top: 16px; }
.timeline { padding-block: 43px 10px; }
.timeline > h2 { margin-bottom: 18px; font-size: 30px; }
.timeline-row { display: grid; grid-template-columns: 185px minmax(0, 1fr); gap: 48px; padding-block: 31px; border-bottom: 1px solid var(--line); }
.timeline-date { font-size: 13px; padding-top: 3px; }
.timeline-row .eyebrow { margin-bottom: 7px; }
.timeline-row h3 { margin-bottom: 11px; font-size: 23px; }
.timeline-row > div { max-width: 740px; }
.timeline-row > div > p:not(.eyebrow) { line-height: 1.75; }
.steps { padding-block: 12px 35px; }
.step { display: grid; grid-template-columns: 115px minmax(0, 1fr); gap: 44px; padding-block: 31px; border-top: 1px solid var(--line); }
.step-number { font-size: 20px; font-weight: 400; }
.step h2 { font-size: 26px; margin-bottom: 16px; }
.step > div { max-width: 745px; }
.principles, .toolbox { padding-block: 39px 45px; border-top: 1px solid var(--line); }
.principles h2, .toolbox h2 { font-size: 30px; margin-bottom: 22px; }
.principles-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 38px; }
.principles-grid h3 { margin-bottom: 14px; }
.principles-grid p { font-size: 15px; }
.toolbox .actions { margin-top: 16px; }
.profile-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 54px; padding-bottom: 40px; }
.profile-links article { padding-block: 29px; border-bottom: 1px solid var(--line); }
.profile-links .eyebrow { margin-bottom: 10px; }
.profile-links h2 { font-size: 26px; margin-bottom: 13px; }
.tracker { width: 1px; height: 1px; overflow: hidden; position: absolute; }
.skip-link { position: absolute; top: 10px; left: 10px; transform: translateY(-200%); padding: 10px 20px; z-index: 50; color: #fff; background: #222; border-radius: 5px; }
.skip-link:focus { transform: none; }
@media (min-width: 1600px) {
  .hero { padding-top: 35px; }
}
@media (max-width: 1199px) {
  .wrap { width: calc(100% - 72px); }
  .hero { width: calc(100% - 36px); grid-template-columns: 45% 55%; }
  .hero-copy { padding-left: 18px; padding-block: 34px 45px; }
  .hero h1 { font-size: 53px; }
  .hero-lead { font-size: 17px; }
  .expertise-grid { gap: 30px; }
  .about-grid { gap: 54px; }
  .work-grid { gap: 22px; }
  .case-link h3 { font-size: 17px; }
  .sheet-front { padding: 18px 14px; gap: 7px; }
}
@media (min-width: 768px) and (max-width: 959px) {
  .wrap { width: calc(100% - 56px); }
  .header-inner { gap: 20px; }
  .site-nav { gap: 19px; font-size: 12px; }
  .brand { font-size: 18px; }
  .site-nav a[hreflang] { padding-left: 17px; }
  .hero { width: calc(100% - 28px); }
  .hero-copy { padding-left: 14px; padding-block: 20px 40px; }
  .hero h1 { font-size: 43px; }
  .hero-copy .eyebrow { font-size: 10px; margin-bottom: 17px; }
  .hero-lead { font-size: 16px; }
  .hero-portrait { align-self: center; }
  .hero-copy .actions { gap: 8px 14px; }
  .button { padding-inline: 18px; font-size: 13px; }
  .expertise-grid { gap: 22px; }
  .expertise-intro h2 { font-size: 26px; }
  .expertise-item h3 { font-size: 15px; }
  .expertise-item p { font-size: 13px; }
  .case-visual { aspect-ratio: 1.5; }
  .case-link h3 { font-size: 16px; }
  .case-link > p:last-child { font-size: 14px; }
  .server-unit { height: 29px; padding-inline: 11px; }
  .document-sheet { width: 39%; }
  .about-grid { gap: 40px; }
  .about-copy h2 { font-size: 29px; }
  .experience-list dt { gap: 14px; }
  .experience-list dt > :first-child { font-size: 15px; }
  .case-chapter { gap: 35px; }
  .chapter-title h2 { font-size: 29px; }
}
@media (max-width: 767px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { min-height: 70px; gap: 0 18px; flex-wrap: wrap; }
  .brand { font-size: 18px; }
  .site-nav { flex-basis: 100%; width: 100%; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 4px 15px; border-top: 1px solid var(--line); padding: 10px 0 16px; }
  .site-nav a { min-height: 44px; }
  .site-nav a[hreflang] { border: 0; padding: 0; }
  .hero { width: 100%; display: flex; flex-direction: column; padding-top: 20px; }
  .hero-copy { width: calc(100% - 40px); max-width: 510px; padding: 12px 0 15px; align-self: center; }
  .hero-copy .eyebrow { margin-bottom: 20px; font-size: 10px; letter-spacing: .11em; }
  .hero h1 { font-size: clamp(40px, 8.5vw, 58px); letter-spacing: -.048em; margin-bottom: 21px; }
  .hero-lead { max-width: 470px; font-size: 16px; line-height: 1.65; }
  .hero-copy .actions { margin-top: 23px; gap: 12px 24px; }
  .hero-portrait { width: 100%; max-width: 570px; align-self: center; margin-top: 6px; }
  .expertise-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 25px; padding-block: 35px; }
  .expertise-intro h2 { font-size: 27px; }
  .expertise-intro .text-link { margin-top: 6px; }
  .expertise-item h3 { font-size: 15px; }
  .expertise-item p { font-size: 13px; }
  .line-icon { width: 27px; height: 27px; margin-bottom: 13px; }
  .work-section { padding-block: 42px; }
  .section-heading { gap: 10px; align-items: start; flex-direction: column; margin-bottom: 22px; }
  .section-heading h2 { font-size: 30px; }
  .section-heading > .text-link { min-height: 36px; }
  .work-grid { grid-template-columns: 1fr; gap: 35px; }
  .work-card { max-width: 540px; width: 100%; margin-inline: auto; }
  .case-visual { aspect-ratio: 1.9; }
  .case-link .case-role { margin-top: 17px; font-size: 11px; }
  .case-link h3 { font-size: 19px; }
  .case-link > p:last-child { max-width: none; font-size: 15px; }
  .server-stack { max-width: 240px; }
  .document-sheet { max-width: 160px; }
  .sheet-front { padding: 20px 17px; gap: 8px; }
  .about-grid { grid-template-columns: 1fr; gap: 22px; padding-block: 36px; }
  .about-copy h2 { font-size: 29px; margin-bottom: 16px; }
  .about-copy > p:not(.eyebrow) { font-size: 15px; }
  .experience-list dt { gap: 16px; }
  .contact { padding-block: 44px; }
  .contact h2 { font-size: 31px; }
  .contact > p { font-size: 15px; }
  .desktop-break { display: none; }
  .footer-inner { flex-direction: column; align-items: start; gap: 7px; padding-block: 21px; font-size: 11px; }
  .footer-inner nav { gap: 4px 20px; }
  .page-heading { padding-block: 33px 26px; }
  .page-heading h1 { font-size: 43px; }
  .page-heading .lead { font-size: 17px; margin-top: 17px; }
  .jump-nav { gap: 0 20px; font-size: 13px; padding-bottom: 16px; }
  .case-chapter { grid-template-columns: 1fr; gap: 24px; padding-block: 32px; }
  .chapter-title h2 { font-size: 30px; }
  .role { margin-top: 10px; }
  .chapter-body > p { font-size: 15px; }
  .timeline { padding-top: 30px; }
  .timeline > h2 { font-size: 27px; }
  .timeline-row { grid-template-columns: 1fr; gap: 12px; padding-block: 26px; }
  .timeline-row h3 { font-size: 21px; }
  .timeline-row > div > p:not(.eyebrow) { font-size: 15px; }
  .step { grid-template-columns: 34px minmax(0,1fr); gap: 18px; padding-block: 25px; }
  .step h2 { font-size: 23px; }
  .step p { font-size: 15px; }
  .principles-grid, .profile-links { grid-template-columns: 1fr; gap: 25px; }
  .profile-links { gap: 0; }
  .principles h2, .toolbox h2 { font-size: 27px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .site-nav, .nav-toggle, .button, .skip-link { display: none !important; }
  .wrap, .hero { width: 100%; }
  .case-chapter, .timeline-row { break-inside: avoid; }
  .detail-body { display: block; }
}
