/* Ahana Pal — a bright, editorial portfolio. Fonts are served locally. */
:root {
  --navy: #132c41;
  --ink: #253f51;
  --muted: #647583;
  --teal: #146856;
  --mint: #b9e0d6;
  --mint-light: #edf7f2;
  --sky: #f1f6fa;
  --line: #dce6eb;
  --peach: #f0cbb8;
  --white: #ffffff;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', Arial, Helvetica, sans-serif;
  --shadow: 0 22px 65px rgba(19, 44, 65, .08);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 116px; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
body.nav-open, body.gallery-open { overflow: hidden; }
img { max-width: 100%; display: block; }
svg { display: block; }
a { color: inherit; text-decoration: none; text-underline-offset: .25em; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: default; opacity: .4; }
p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--navy); font-weight: 500; line-height: 1.18; }
h1, h2 { font-family: var(--serif); letter-spacing: -.045em; }
h2 { font-size: clamp(2.25rem, 3.2vw, 2.85rem); }
h3 { font-family: var(--sans); font-size: 1.35rem; letter-spacing: -.025em; font-weight: 600; }
h1 em, h2 em { font-weight: 500; color: var(--teal); }
strong { font-weight: 600; }
::selection { background: var(--mint); color: var(--navy); }
:focus-visible { outline: 3px solid #3b8c79; outline-offset: 5px; border-radius: 3px; }
main:focus { outline: none; }
.container { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.section { padding-block: 100px; }
.soft-section { background: var(--sky); }
.icon { width: 23px; height: 23px; flex: 0 0 23px; }
.eyebrow { display: flex; align-items: center; gap: 13px; color: var(--teal); font-size: .75rem; line-height: 1.5; font-weight: 700; letter-spacing: .145em; text-transform: uppercase; margin: 0 0 20px; }
.eyebrow-line { width: 34px; height: 1px; background: var(--teal); }
.lead { font-size: 1.25rem; line-height: 1.65; color: #3c5362; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 53px; padding: 14px 23px; border: 1px solid transparent; border-radius: 6px; font-size: .875rem; font-weight: 600; line-height: 1.45; text-align: center; transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease; }
.button .icon { width: 19px; height: 19px; flex-basis: 19px; }
.button-primary { background: var(--navy); color: white; border-color: var(--navy); box-shadow: 0 6px 15px rgba(19,44,65,.07); }
.button-primary:hover { background: var(--teal); border-color: var(--teal); box-shadow: 0 7px 18px rgba(20,104,86,.12); }
.button-outline { background: transparent; color: var(--navy); border-color: #c3d3dd; }
.button-outline:hover { background: #e9f4f0; border-color: #8cb6a9; }
.button-light { background: white; color: var(--teal); border-color: white; }
.button-light:hover { background: var(--mint); border-color: var(--mint); }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--teal); font-size: .875rem; font-weight: 600; line-height: 1.5; padding-block: 4px; }
.text-link .icon { width: 18px; height: 18px; flex-basis: 18px; }
.text-link:hover { text-decoration: underline; }
.icon-tile { display: inline-flex; align-items: center; justify-content: center; width: 49px; height: 49px; background: #e3f0eb; color: var(--teal); border-radius: 11px; flex: 0 0 49px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.tags span { display: inline-block; padding: 6px 12px; background: #eef4f5; color: #466171; border: 1px solid #e0e9ed; border-radius: 5px; font-size: .8125rem; line-height: 1.5; }
.skip-link { position: fixed; top: 12px; left: 20px; z-index: 1000; padding: 11px 17px; background: var(--navy); color: white; border-radius: 6px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

/* Navigation */
.header-contact-strip { background: var(--navy); color: #e5f4f1; }
.header-contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; }
.header-contact-location { font-size: .625rem; font-weight: 600; letter-spacing: .14em; line-height: 1.4; text-transform: uppercase; white-space: nowrap; }
.header-whatsapp { display: inline-flex; flex: 0 0 184px; align-items: center; justify-content: center; width: 184px; min-height: 44px; margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; line-height: 0; opacity: .86; transition: opacity .2s ease; }
.header-whatsapp img { display: block; width: 184px; height: 31px; object-fit: contain; margin: 0; border: 0; }
.header-whatsapp:hover, .header-whatsapp:focus-visible { opacity: 1; }
.header-whatsapp:focus-visible { outline: 2px solid #cbff78; outline-offset: -2px; border-radius: 5px; }
@media (max-width: 360px) {
  .header-contact-inner { gap: 10px; }
  .header-contact-location { font-size: .5625rem; letter-spacing: .1em; }
  .header-whatsapp { flex-basis: 165px; width: 165px; }
  .header-whatsapp img { width: 165px; height: auto; }
}
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(219,229,234,.7); backdrop-filter: blur(16px); transition: box-shadow .2s ease; }
.site-header.is-scrolled { box-shadow: 0 5px 22px rgba(19,44,65,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; min-height: 97px; }
.brand { display: inline-flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.brand-mark { width: 48px; height: 50px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #c4d8d5; border-radius: 14px 14px 14px 3px; color: var(--navy); background: #eef7f3; font-family: var(--serif); font-size: 28px; font-weight: 600; letter-spacing: -.1em; padding-right: 2px; line-height: 1; }
.brand-mark > span { color: var(--teal); }
.brand-wordmark { font-size: 1.05rem; font-weight: 600; line-height: 1.4; color: var(--navy); letter-spacing: -.025em; }
.brand-wordmark small { display: block; font-size: .6875rem; font-weight: 400; color: var(--muted); margin-top: 3px; letter-spacing: .035em; }
.site-nav { display: flex; align-items: center; gap: 27px; font-size: .8125rem; font-weight: 500; color: #5c6c78; }
.site-nav > a { padding-block: 14px; position: relative; white-space: nowrap; }
.site-nav > a:not(.nav-download)::after { content: ''; width: 0; height: 2px; position: absolute; bottom: 7px; left: 0; background: var(--teal); transition: width .2s ease; }
.site-nav > a:hover, .site-nav > a[aria-current='page'] { color: var(--teal); }
.site-nav > a:hover::after, .site-nav > a[aria-current='page']::after { width: 100%; }
.site-nav > .nav-download { display: flex; align-items: center; gap: 8px; padding: 10px 15px; margin-left: 8px; border: 1px solid #c9d9df; border-radius: 5px; color: var(--navy); }
.nav-download .icon { width: 16px; height: 16px; flex-basis: 16px; }
.site-nav > .nav-download:hover { background: var(--mint-light); border-color: #99bfb2; }
.nav-toggle { display: none; align-items: center; gap: 8px; padding: 10px; border: 0; background: transparent; color: var(--navy); font-size: .8125rem; }

/* Home */
.hero { overflow: hidden; position: relative; background: linear-gradient(113deg,#f5f8fb 0%,#f4f8fb 50%,#eff6f5 100%); }
.hero-grid { display: grid; grid-template-columns: 1.18fr .82fr; gap: 65px; align-items: center; min-height: 720px; padding-top: 62px; padding-bottom: 75px; }
.hero-copy { position: relative; z-index: 2; padding-bottom: 6px; }
.hero-copy .eyebrow { margin-bottom: 23px; }
.hero h1 { font-size: clamp(5rem, 7.5vw, 6.55rem); line-height: 1.05; letter-spacing: -.065em; margin-left: -4px; margin-bottom: 24px; white-space: nowrap; }
.hero h1 em { color: var(--teal); }
.hero-tagline { font-size: clamp(1.5rem,2.15vw,1.95rem); line-height: 1.43; color: var(--navy); font-weight: 400; letter-spacing: -.025em; margin-bottom: 21px; }
.hero-tagline span { color: var(--teal); }
.hero-description { color: var(--muted); font-size: 1rem; line-height: 1.8; max-width: 475px; margin-bottom: 29px; }
.hero-location { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; color: #798a95; font-size: .6875rem; margin-top: 29px; letter-spacing: .005em; }
.hero-location .icon { width: 15px; height: 15px; flex-basis: 15px; color: var(--teal); }
.vertical-rule { width: 1px; height: 13px; background: #c9d8df; margin-inline: 5px; }
.hero-visual { min-height: 560px; display: flex; justify-content: center; align-items: center; position: relative; padding-bottom: 25px; }
.hero-portrait-frame { width: 390px; height: 488px; position: relative; border-radius: 210px 210px 26px 26px; overflow: hidden; box-shadow: 0 18px 50px rgba(30,73,67,.14); background: #e9eeec; z-index: 1; }
.hero-portrait-frame > img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.portrait-caption { position: absolute; bottom: 0; left: 0; right: 0; display: flex; flex-direction: column; gap: 2px; align-items: flex-start; padding: 28px 27px 66px; color: #fff; background: linear-gradient(0deg,rgba(14,42,57,.8),rgba(14,42,57,.35),transparent); }
.portrait-caption span:first-child { font-family: var(--serif); font-size: 1.6rem; }
.portrait-caption span:last-child { font-size: .6875rem; letter-spacing: .065em; opacity: .9; }
.portrait-orbit { position: absolute; border: 1px solid #cbdeda; border-radius: 50%; pointer-events: none; }
.orbit-one { width: 470px; height: 470px; top: 24px; left: -15px; }
.orbit-two { width: 425px; height: 425px; top: 50px; left: 7px; background: #deeee62e; border-color: #dbe9e5; }
.portrait-note { position: absolute; z-index: 2; left: -30px; bottom: 2px; display: flex; align-items: center; gap: 13px; padding: 17px 21px; background: white; border-radius: 10px; box-shadow: 0 12px 35px rgba(19,44,65,.08); border: 1px solid #e9f0f1; }
.portrait-note > .icon { width: 38px; height: 38px; flex-basis: 38px; padding: 7px; background: var(--mint-light); border-radius: 9px; color: var(--teal); }
.portrait-note strong { font-size: .75rem; font-weight: 600; color: var(--navy); display: block; margin-bottom: 2px; }
.portrait-note span { font-size: .625rem; color: #80919a; display: block; }
.portrait-decoration { position: absolute; right: -12px; top: 55px; font-family: var(--serif); font-size: 60px; line-height: 1; font-weight: 400; color: #d4a58e; }
.tech-ribbon { border-block: 1px solid #e4ebee; background: white; }
.ribbon-inner { min-height: 116px; display: flex; align-items: center; justify-content: space-between; gap: 45px; padding-block: 22px; }
.ribbon-inner > p { margin: 0; font-size: .75rem; color: #8b969f; line-height: 1.7; flex: 0 0 auto; }
.ribbon-inner strong { color: #5a6f7b; font-size: .875rem; font-weight: 500; }
.ribbon-skills { display: flex; align-items: center; justify-content: space-between; gap: 55px; flex: 1; max-width: 800px; color: #637883; font-size: 1.55rem; font-weight: 500; letter-spacing: -.045em; }
.ribbon-skills .ribbon-secondary { font-size: 1.1rem; font-weight: 400; letter-spacing: -.025em; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 31px; }
.section-heading .eyebrow { margin-bottom: 16px; }
.section-heading > .text-link { flex: 0 0 auto; margin-bottom: 6px; }
.section-description { color: var(--muted); font-size: .9375rem; max-width: 660px; margin-top: -10px; margin-bottom: 40px; }
.project-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 31px; }
.project-card { min-width: 0; }
.project-cover { display: block; position: relative; overflow: hidden; border-radius: 11px; background: var(--sky); border: 1px solid #e0e7eb; aspect-ratio: 1.5; }
.project-cover > img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.project-card:hover .project-cover > img { transform: scale(1.025); }
.cover-icon { position: absolute; right: 15px; bottom: 15px; width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; background: white; color: var(--navy); box-shadow: 0 5px 14px rgba(19,44,65,.1); }
.cover-icon .icon { width: 19px; height: 19px; }
.tone-mint .cover-icon { color: var(--teal); background: #edf7f2; }
.tone-peach .cover-icon { color: #8c6550; background: #faf0e8; }
.project-card-body { padding: 24px 0 0; }
.project-type { color: #728791; font-size: .6875rem; font-weight: 500; letter-spacing: .02em; line-height: 1.5; margin-bottom: 10px; }
.project-card h3 { font-size: 1.4rem; line-height: 1.25; margin-bottom: 15px; }
.project-card h3 a:hover { color: var(--teal); }
.project-card-body > p:not(.project-type) { color: var(--muted); font-size: .875rem; line-height: 1.8; margin-bottom: 17px; }
.project-card-body > .text-link { font-size: .8125rem; }
.visual-note { margin: 35px 0 0; display: flex; align-items: flex-start; gap: 9px; font-size: .6875rem; color: #81929c; line-height: 1.65; }
.visual-note .icon { width: 15px; height: 15px; flex-basis: 15px; margin-top: 2px; }
.foundation-section { background: #f3f7f8; }
.foundation-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 115px; align-items: center; }
.foundation-copy h2 { margin-bottom: 25px; }
.foundation-copy > p:not(.eyebrow) { color: var(--muted); max-width: 550px; font-size: 1rem; line-height: 1.85; }
.values-inline { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 28px 0; }
.values-inline span { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; color: #5d7680; }
.values-inline .icon { width: 16px; height: 16px; flex-basis: 16px; color: var(--teal); }
.academic-highlight { background: #e1efe9; border-radius: 15px; padding: 34px 36px 30px; position: relative; box-shadow: inset 0 0 0 1px rgba(123,162,145,.1); }
.academic-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 35px; }
.academic-top .icon-tile { background: #f9fffc; }
.year-pill { font-size: .75rem; color: #5b7d6d; border: 1px solid #c3dacf; padding: 5px 12px; border-radius: 20px; }
.academic-highlight > .eyebrow { font-size: .625rem; margin-bottom: 11px; }
.academic-highlight h3 { font-family: var(--serif); font-weight: 500; font-size: 1.85rem; line-height: 1.3; letter-spacing: -.035em; margin-bottom: 16px; }
.academic-highlight > p:not(.eyebrow) { font-size: .875rem; color: #6b8177; line-height: 1.75; margin-bottom: 29px; }
.academic-bottom { border-top: 1px solid #c2d9cf; display: flex; align-items: flex-end; justify-content: space-between; padding-top: 20px; gap: 16px; }
.academic-bottom > div { display: flex; align-items: baseline; gap: 9px; }
.academic-bottom strong { font-family: var(--serif); font-size: 2.4rem; font-weight: 500; line-height: 1; color: var(--teal); }
.academic-bottom span { font-size: .6875rem; color: #6b8277; }
.academic-bottom .text-link { font-size: .6875rem; margin-bottom: 3px; }
.skills-overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 120px; align-items: center; }
.skills-overview-grid h2 { margin-bottom: 25px; }
.skills-overview-grid > div:first-child > p:not(.eyebrow) { color: var(--muted); font-size: 1rem; max-width: 440px; margin-bottom: 25px; }
.overview-list > div { display: grid; grid-template-columns: 48px 1fr; gap: 6px 20px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.overview-list > div:first-child { padding-top: 0; }
.overview-list > div:last-child { border-bottom: 0; padding-bottom: 0; }
.overview-list > div > span { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; background: #edf5f4; border-radius: 10px; color: var(--teal); margin-top: 4px; }
.overview-list h3 { font-size: 1.125rem; }
.overview-list p { grid-column: 2; color: #7a8b94; font-size: .8125rem; margin: 0; }

/* Shared inner pages */
.page-intro { background: linear-gradient(120deg,#f1f6fa 0%,#f6f9fa 65%,#edf5f1 100%); padding: 30px 0 67px; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: .75rem; color: #8a99a3; line-height: 1.6; margin-bottom: 49px; }
.breadcrumbs > a { color: #5e7b87; }
.breadcrumbs > a:hover { text-decoration: underline; }
.breadcrumbs > span[aria-hidden] { color: #bccbd2; }
.page-intro h1 { font-size: clamp(3.1rem,4.8vw,4.25rem); line-height: 1.17; margin-bottom: 24px; max-width: 980px; }
.page-intro .eyebrow { margin-bottom: 19px; }
.intro-copy { font-size: 1rem; color: #72848f; max-width: 650px; line-height: 1.85; }
.profile-grid { display: grid; grid-template-columns: 350px minmax(0,1fr); gap: 86px; align-items: start; }
.profile-card { background: #f2f7f8; overflow: hidden; border-radius: 15px; }
.profile-photo { aspect-ratio: 1 / 1.08; background: #e7efeb; overflow: hidden; }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.profile-card-content { padding: 26px; }
.profile-card-content h2 { font-size: 2rem; letter-spacing: -.035em; margin-bottom: 8px; }
.profile-card-content > p { color: #738791; font-size: .875rem; margin-bottom: 20px; }
.profile-location { display: flex; align-items: flex-start; gap: 11px; font-size: .8125rem; line-height: 1.75; color: #718591; padding-block: 19px; border-block: 1px solid #dce7ea; margin-bottom: 23px; }
.profile-location .icon { width: 18px; height: 18px; flex-basis: 18px; margin-top: 4px; color: var(--teal); }
.profile-card-content > .button { width: 100%; font-size: .75rem; padding-inline: 12px; }
.profile-story { padding-top: 7px; }
.profile-story h2 { max-width: 650px; margin-bottom: 28px; }
.profile-story > p:not(.eyebrow) { color: #6b7f8c; font-size: 1rem; line-height: 1.9; }
.profile-story > .lead { font-size: 1.2rem; color: #425c6b; }
.objective-block { border-left: 3px solid #89bdab; background: #f3f8f6; padding: 25px 29px; margin: 31px 0; }
.objective-block .eyebrow { font-size: .6875rem; margin-bottom: 13px; }
.objective-block > p:not(.eyebrow) { font-size: .875rem; color: #657f76; line-height: 1.9; }
.profile-details { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 26px; }
.profile-details > div { padding-bottom: 17px; border-bottom: 1px solid #e3ebef; }
.profile-details span { display: block; font-size: .6875rem; color: #91a0a8; margin-bottom: 6px; }
.profile-details strong { display: block; font-size: .8125rem; font-weight: 500; color: #4f6978; }
.values-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 36px; }
.values-grid article { padding-top: 12px; }
.values-grid .icon-tile { margin-bottom: 25px; background: white; border: 1px solid #deebe7; }
.values-grid h3 { font-size: 1.15rem; margin-bottom: 17px; }
.values-grid p { color: #71848f; font-size: .875rem; line-height: 1.85; }
.language-section { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.language-section h2 { margin-bottom: 22px; }
.language-section p:not(.eyebrow) { color: var(--muted); font-size: .9375rem; }
.language-pills { display: flex; flex-wrap: wrap; gap: 12px; }
.language-pills > span { display: inline-flex; align-items: center; gap: 12px; padding: 19px 24px; border-radius: 8px; background: #f1f6f7; color: #4f6b78; font-size: .875rem; border: 1px solid #e4edef; }
.language-pills .icon { width: 20px; height: 20px; flex-basis: 20px; color: #6c9c8a; }

/* Skills */
.coding-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 32px; margin-top: 43px; }
.coding-grid article { padding: 30px 0 21px; border-top: 1px solid #d8e5eb; border-bottom: 1px solid #d8e5eb; }
.language-symbol { font-size: 3.5rem; line-height: 1.2; font-weight: 500; letter-spacing: -.09em; color: #477c73; display: block; margin-bottom: 28px; }
.language-symbol > span { color: #a1bfad; }
.coding-grid article:nth-child(2) .language-symbol { color: #a07d63; }
.coding-grid article:nth-child(3) .language-symbol { color: #6c8b9c; }
.sql-symbol { font-size: 3.05rem; letter-spacing: -.065em; min-height: 67px; padding-top: 7px; }
.coding-grid h3 { font-size: 1.1rem; margin-bottom: 13px; }
.coding-grid p { font-size: .875rem; line-height: 1.85; color: #748995; margin-bottom: 18px; }
.coding-grid .text-link { font-size: .75rem; }
.competencies-layout { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: 100px; }
.competencies-intro h2 { margin-bottom: 25px; }
.competencies-intro > p:not(.eyebrow) { font-size: .9375rem; color: #70848f; max-width: 350px; }
.rating-key { display: flex; align-items: flex-start; gap: 11px; font-size: .6875rem; color: #8a9aa2; max-width: 300px; margin-top: 30px; line-height: 1.8; }
.rating-key .skill-dot { flex: 0 0 9px; margin-top: 5px; }
.competencies { margin-top: -11px; }
.competency { display: flex; align-items: center; justify-content: space-between; gap: 25px; border-bottom: 1px solid #dbe6eb; padding: 22px 0; }
.competency:last-child { border-bottom: 0; }
.competency h3 { font-family: var(--sans); font-size: .9375rem; font-weight: 500; line-height: 1.6; letter-spacing: -.015em; max-width: 300px; }
.skill-rating { display: flex; align-items: center; gap: 18px; flex: 0 0 auto; }
.skill-dots { display: flex; align-items: center; gap: 8px; }
.skill-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #d6e1e5; }
.skill-dot.filled { background: #4c8b7c; }
.rating-text { font-size: .6875rem; color: #8598a2; white-space: nowrap; }
.web-skill-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 92px; align-items: center; }
.web-skill-visual { background: var(--navy); padding: 52px 42px; color: #83bfae; border-radius: 14px; box-shadow: var(--shadow); font: 1.25rem/2.2 Consolas, 'Liberation Mono', monospace; overflow: hidden; }
.web-skill-visual > span, .web-skill-visual > strong { display: block; }
.web-skill-visual .code-indent { margin-left: 25px; color: #d7e5e8; }
.web-skill-visual .code-indent-two { margin-left: 32px; font-weight: 400; color: #e5c6b2; font-size: 1rem; white-space: nowrap; }
.web-skill-panel h2 { margin-bottom: 24px; }
.web-skill-panel p:not(.eyebrow) { color: #71838f; font-size: 1rem; line-height: 1.85; }

/* Education */
.education-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 120px; align-items: start; }
.education-aside { position: sticky; top: 145px; }
.education-aside h2 { margin-bottom: 25px; }
.education-aside > p:not(.eyebrow) { color: #748793; font-size: .9375rem; line-height: 1.85; margin-bottom: 29px; }
.education-aside .button { font-size: .8125rem; }
.education-timeline { border-left: 1px solid #d2e4dc; padding-left: 48px; margin-left: 20px; }
.education-item { position: relative; padding: 0 0 37px; margin-bottom: 37px; border-bottom: 1px solid #e1e9ed; }
.education-item:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 5px; }
.timeline-marker { position: absolute; left: -70px; top: 0; width: 43px; height: 43px; background: #f1f6f5; border: 1px solid #d6e7df; border-radius: 50%; color: #6a9a87; display: grid; place-items: center; box-shadow: 0 0 0 9px white; }
.timeline-marker .icon { width: 20px; height: 20px; }
.featured-education .timeline-marker { background: var(--teal); color: white; border-color: var(--teal); }
.education-item-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.education-year { font-size: .875rem; color: var(--teal); font-weight: 600; }
.education-level { font-size: .6875rem; padding: 5px 11px; color: #81939b; border: 1px solid #e0e9ed; border-radius: 5px; line-height: 1.5; }
.education-item h3 { font-family: var(--serif); font-weight: 500; font-size: 1.7rem; line-height: 1.3; letter-spacing: -.03em; margin-bottom: 13px; }
.featured-education h3 { font-size: 2rem; }
.institution { color: #6c818d; font-size: .9375rem; margin-bottom: 25px; }
.education-result { display: flex; align-items: baseline; gap: 13px; }
.education-result > span { color: #8fa0a8; font-size: .75rem; }
.education-result > strong { font-size: 1.55rem; font-weight: 500; color: #507a6e; line-height: 1.1; }
.education-next { display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.education-next h2 { margin-bottom: 24px; }
.education-next p:not(.eyebrow) { color: #738792; font-size: .9375rem; }
.education-next > .button { flex: 0 0 auto; }

/* Projects and case studies */
.project-index-top { display: flex; justify-content: space-between; align-items: center; gap: 25px; margin-bottom: 32px; }
.project-index-top .eyebrow { margin: 0; }
.project-index-top > p:not(.eyebrow) { margin: 0; color: #8b9aa3; font-size: .75rem; }
.project-context { display: flex; align-items: flex-start; gap: 23px; background: #f3f7f9; padding: 29px 33px; margin-top: 52px; border-radius: 9px; }
.project-context .icon-tile { background: white; }
.project-context h2 { font-family: var(--sans); font-size: 1rem; font-weight: 600; letter-spacing: -.015em; margin-bottom: 11px; }
.project-context p { color: #7a8d98; font-size: .8125rem; line-height: 1.85; max-width: 980px; }
.project-connect { display: grid; grid-template-columns: 1.2fr .8fr; gap: 120px; align-items: center; }
.project-connect h2 { margin-bottom: 26px; }
.project-connect p:not(.eyebrow) { color: #738692; font-size: .9375rem; line-height: 1.85; }
.project-connect-items { display: flex; flex-direction: column; gap: 0; }
.project-connect-items > span { display: flex; align-items: center; gap: 17px; padding: 22px 0; border-bottom: 1px solid #d9e5e9; color: #567382; font-size: .875rem; }
.project-connect-items > span:last-child { border-bottom: 0; }
.project-connect-items .icon { color: #6e9e8d; }
.case-hero { background: linear-gradient(120deg,#f1f6fa,#f5f8f9 70%,#edf5f1); padding: 29px 0 64px; }
.case-hero-top { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 44px; }
.case-hero-top .breadcrumbs { margin-bottom: 0; }
.case-hero-top .text-link { flex: 0 0 auto; }
.case-title { font-size: clamp(3rem,4.8vw,4.25rem); line-height: 1.15; max-width: 970px; margin-bottom: 25px; }
.case-lead { color: #6b828f; font-size: 1.1rem; max-width: 830px; line-height: 1.8; margin-bottom: 36px; }
.case-meta { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); max-width: 1020px; padding-top: 24px; margin-top: 34px; border-top: 1px solid #d9e5eb; gap: 28px; }
.case-meta > div { min-width: 0; }
.case-meta span, .case-meta dt { display: block; color: #8a9aa3; font-size: .6875rem; margin-bottom: 7px; }
.case-meta strong, .case-meta dd { display: block; margin: 0; font-size: .875rem; font-weight: 500; color: #4c6a79; line-height: 1.7; }
.case-cover { margin: 45px auto 0; border-radius: 12px; overflow: hidden; border: 1px solid #dbe5e9; background: #e9eff3; box-shadow: 0 18px 50px rgba(24,52,70,.07); }
.case-cover img { width: 100%; height: auto; }
.case-cover a { display: block; }
.case-cover figcaption { background: #f8fafb; padding: 15px 23px; color: #80919c; font-size: .75rem; }
.case-layout { display: grid; grid-template-columns: 250px minmax(0,1fr); gap: 77px; align-items: start; }
.case-sidebar { position: sticky; top: 134px; }
.case-sidebar > .eyebrow { font-size: .6875rem; margin-bottom: 22px; }
.case-nav { display: flex; flex-direction: column; margin-bottom: 30px; border-left: 1px solid #dce7eb; }
.case-nav a { font-size: .8125rem; color: #788d98; padding: 10px 0 10px 20px; position: relative; }
.case-nav a:hover, .case-nav a.is-active { color: var(--teal); background: #f5f9f7; }
.case-nav a.is-active::before { content: ''; position: absolute; left: -1px; top: 8px; bottom: 8px; width: 2px; background: var(--teal); }
.case-summary-note { color: #899aa3; font-size: .75rem; line-height: 1.8; max-width: 215px; padding: 19px 0 0; border-top: 1px solid #e2eaf0; }
.case-summary-note .icon { color: #8aafa0; width: 21px; height: 21px; margin-bottom: 12px; }
.case-content { min-width: 0; max-width: 850px; }
.case-section { padding-bottom: 49px; margin-bottom: 47px; border-bottom: 1px solid #e0e8ec; scroll-margin-top: 132px; }
.case-section:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.case-section > .eyebrow { margin-bottom: 15px; }
.case-section h2 { font-size: 2.15rem; margin-bottom: 23px; line-height: 1.3; }
.case-section h3 { font-size: 1.1rem; margin-bottom: 10px; }
.case-section p { color: #718793; font-size: .9375rem; line-height: 1.9; }
.case-section ul:not(.feature-list) { color: #718793; font-size: .9375rem; line-height: 1.9; padding-left: 22px; }
.case-section li + li { margin-top: 9px; }
.feature-list { margin: 30px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 22px; }
.feature-list > li, .feature-list > div, .feature-list > article { display: flex; align-items: flex-start; gap: 17px; padding: 21px 0; border-bottom: 1px solid #e5ecef; margin: 0; }
.feature-list > :first-child { padding-top: 0; }
.feature-list > :last-child { border-bottom: 0; padding-bottom: 0; }
.feature-list > li > .icon, .feature-list > div > .icon, .feature-list > article > .icon { width: 36px; height: 36px; flex-basis: 36px; padding: 8px; border-radius: 8px; background: #ebf5ef; color: #55947f; margin-top: 1px; }
.feature-list h3 { font-size: 1rem; margin-bottom: 8px; }
.feature-list p { font-size: .875rem; }
.workflow-list { display: grid; gap: 20px; margin-top: 28px; }
.workflow-step { padding: 22px 25px; background: #f3f7f9; border-radius: 8px; border-left: 2px solid #b6d4c9; }
.workflow-step h3 { font-size: 1rem; margin-bottom: 9px; }
.workflow-step p { font-size: .875rem; }
.case-gallery { display: grid; gap: 35px; margin-top: 28px; }
.gallery-item { margin: 0; min-width: 0; }
.gallery-link { display: block; position: relative; overflow: hidden; border: 1px solid #dce5e9; border-radius: 10px; background: #f1f5f7; }
.gallery-link img { width: 100%; height: auto; transition: transform .3s ease; }
.gallery-link:hover img { transform: scale(1.012); }
.gallery-link > .icon, .gallery-expand { position: absolute; right: 14px; bottom: 14px; width: 35px; height: 35px; padding: 8px; border-radius: 8px; color: var(--navy); background: rgba(255,255,255,.95); box-shadow: 0 3px 12px rgba(19,44,65,.1); }
.gallery-caption { padding: 18px 0 0; }
.gallery-caption h3 { font-size: 1rem; margin-bottom: 7px; }
.gallery-caption p { font-size: .8125rem; line-height: 1.8; }
.case-outcome { background: #edf6f1; border-radius: 10px; padding: 31px; }
.case-outcome > .icon { margin-bottom: 20px; color: var(--teal); }
.case-outcome h2, .case-outcome h3 { color: #365e50; }
.case-outcome p { color: #6b8a7c; }
.source-details { padding: 20px 23px; border: 1px solid #dfe7ec; border-radius: 8px; margin-top: 28px; background: #fcfdfd; }
.source-details summary { color: #5e7b88; font-size: .8125rem; font-weight: 500; cursor: pointer; }
.source-details[open] summary { margin-bottom: 17px; }
.source-details p, .source-details blockquote { color: #8496a0; font-size: .8125rem; line-height: 1.85; margin: 0 0 13px; }
.source-details blockquote { padding-left: 17px; border-left: 2px solid #d7e6df; }
.source-details p:last-child { margin-bottom: 0; }
.next-projects { padding-block: 80px; background: #f2f7f9; }
.next-projects .project-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 38px; }
.next-projects .project-cover { aspect-ratio: 1.7; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 105px; align-items: center; }
.contact-primary h2 { margin-bottom: 27px; }
.contact-primary > p:not(.eyebrow):not(.email-hint) { max-width: 460px; font-size: 1rem; color: #738793; line-height: 1.85; }
.contact-email { display: inline-block; color: var(--teal); font-size: clamp(1.25rem,2.3vw,1.85rem); letter-spacing: -.045em; font-weight: 500; margin: 9px 0 28px; border-bottom: 1px solid #b4cfc3; line-height: 1.6; overflow-wrap: anywhere; }
.contact-email:hover { color: var(--navy); border-color: var(--navy); }
.email-hint { font-size: .6875rem; color: #92a1a9; margin: 17px 0 0; }
.contact-details { padding: 7px 0; }
.contact-detail { display: flex; align-items: flex-start; gap: 18px; padding: 24px 0; border-bottom: 1px solid #e1e9ee; }
.contact-detail:last-child { border-bottom: 0; }
.contact-detail .icon-tile { width: 44px; height: 44px; flex-basis: 44px; background: #f0f6f4; border-radius: 10px; }
.contact-detail .icon-tile .icon { width: 20px; height: 20px; }
.contact-detail > div > span { display: block; font-size: .6875rem; color: #90a0a8; margin-bottom: 7px; }
.contact-detail a, .contact-detail p { font-size: .875rem; color: #587280; line-height: 1.7; }
.contact-detail a:hover { color: var(--teal); text-decoration: underline; }
.contact-profile { display: flex; align-items: center; gap: 32px; }
.contact-mini-photo { width: 135px; height: 156px; border-radius: 70px 70px 11px 11px; overflow: hidden; flex: 0 0 135px; background: #e3ece7; }
.contact-mini-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 33%; }
.contact-profile .eyebrow { margin-bottom: 9px; font-size: .6875rem; }
.contact-profile h2 { font-size: 2rem; letter-spacing: -.03em; margin-bottom: 10px; }
.contact-profile p:not(.eyebrow) { font-size: .875rem; color: #83939c; }
.contact-profile .tags { margin: 16px 0 0; }
.contact-profile .tags > span { background: white; font-size: .6875rem; padding: 4px 10px; }
.contact-profile > .text-link { margin-left: auto; flex: 0 0 auto; }
.contact-band { background: #176a5b; position: relative; overflow: hidden; }
.contact-band::after { content: ''; position: absolute; width: 460px; height: 460px; right: -80px; top: -225px; border: 1px solid rgba(185,224,214,.15); border-radius: 50%; pointer-events: none; }
.contact-band-inner { min-height: 277px; display: flex; align-items: center; justify-content: space-between; gap: 65px; padding-block: 60px; position: relative; z-index: 1; }
.contact-band .eyebrow { color: #a0d0bc; font-size: .6875rem; margin-bottom: 15px; }
.contact-band h2 { color: white; font-size: 2.85rem; margin-bottom: 18px; }
.contact-band h2 em { color: #bce2c8; }
.contact-band p:not(.eyebrow) { color: #a7cbbb; font-size: .875rem; }
.contact-band .button { flex: 0 0 auto; min-width: 170px; }

/* Footer */
.site-footer { background: #102a3d; color: #a9bbc7; }
.footer-top { display: grid; grid-template-columns: 1.2fr .65fr 1fr; gap: 90px; padding-top: 72px; padding-bottom: 57px; }
.footer-brand .brand-mark { background: #193d4d; border-color: #2b535e; color: #d0e7e0; }
.footer-brand .brand-mark > span { color: #9dc8b7; }
.footer-brand .brand-wordmark { color: #e4edf2; }
.footer-brand .brand-wordmark small { color: #78909e; font-size: .625rem; }
.footer-identity > p { font-size: .8125rem; color: #7f97a6; line-height: 1.85; margin-top: 24px; }
.footer-nav, .footer-contact { display: flex; flex-direction: column; align-items: flex-start; }
.footer-top h2 { font-family: var(--sans); font-size: .8125rem; font-weight: 500; color: #cfdee6; letter-spacing: -.005em; line-height: 1.5; margin: 2px 0 22px; }
.footer-nav a { font-size: .75rem; color: #8fa6b4; line-height: 1.6; padding-block: 5px; }
.footer-contact > a { font-size: .8125rem; line-height: 1.7; color: #adc0cb; margin-bottom: 10px; overflow-wrap: anywhere; }
.footer-contact > p { color: #7f99a8; font-size: .75rem; margin-top: 2px; margin-bottom: 15px; }
.footer-contact > .text-link { font-size: .6875rem; color: #a7cbbc; }
.site-footer a:hover { color: white; }
.footer-bottom { border-top: 1px solid #284456; padding-block: 24px; display: flex; justify-content: space-between; align-items: center; gap: 25px; font-size: .6875rem; color: #708b9c; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #95afbd; }

/* Accessible project gallery */
.image-dialog { width: min(1190px,calc(100vw - 50px)); max-height: calc(100dvh - 50px); padding: 18px; border: 1px solid #d6e3e9; border-radius: 13px; background: #fff; color: var(--navy); box-shadow: 0 24px 90px rgba(6,22,33,.35); overflow: auto; }
.image-dialog::backdrop { background: rgba(8,24,36,.83); backdrop-filter: blur(5px); }
.dialog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 15px; font-size: .75rem; color: #708793; }
.icon-button { display: inline-flex; justify-content: center; align-items: center; width: 38px; height: 38px; padding: 8px; color: var(--navy); border: 1px solid #dbe6eb; background: #f7fafb; border-radius: 7px; }
.icon-button:hover { background: #e7f2ed; border-color: #bad4c8; }
.dialog-image { width: 100%; max-height: calc(100dvh - 230px); object-fit: contain; background: #edf2f5; border-radius: 7px; }
#image-dialog-caption { font-size: .8125rem; line-height: 1.7; color: #6e8592; margin: 16px 4px 18px; }
.dialog-controls { display: flex; align-items: center; justify-content: center; gap: 25px; }
.dialog-controls .button { min-height: 39px; padding: 9px 17px; font-size: .75rem; }
.dialog-counter { font-size: .75rem; color: #8196a2; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 100; transform: translate(-50%,15px); opacity: 0; visibility: hidden; pointer-events: none; width: max-content; max-width: calc(100vw - 36px); padding: 13px 23px; border: 1px solid #436b68; border-radius: 8px; background: #173e40; color: #e9f6ef; font-size: .875rem; text-align: center; box-shadow: 0 10px 28px rgba(10,32,36,.22); transition: opacity .18s ease,transform .18s ease,visibility .18s; }
.toast.is-visible, .toast.show, .toast.visible { visibility: visible; opacity: 1; transform: translate(-50%,0); }

/* Tablet */
@media (max-width: 1199px) {
  .container { width: min(1080px,calc(100% - 64px)); }
  .header-inner { min-height: 86px; }
  .site-nav { gap: 19px; font-size: .75rem; }
  .site-nav > .nav-download { margin-left: 0; padding: 10px 11px; }
  .brand { gap: 10px; }
  .brand-mark { width: 43px; height: 45px; font-size: 25px; }
  .brand-wordmark { font-size: .95rem; }
  .brand-wordmark small { font-size: .625rem; }
  .hero-grid { gap: 35px; min-height: 665px; padding-top: 48px; padding-bottom: 58px; }
  .hero h1 { font-size: clamp(4.5rem,7.7vw,5.7rem); }
  .hero-tagline { font-size: 1.65rem; }
  .hero-description { font-size: .9375rem; max-width: 430px; }
  .hero .button { font-size: .75rem; padding-inline: 17px; }
  .hero-portrait-frame { width: 336px; height: 420px; }
  .hero-visual { min-height: 490px; }
  .orbit-one { width: 400px; height: 400px; top: 25px; left: -15px; }
  .orbit-two { width: 360px; height: 360px; top: 45px; left: 5px; }
  .portrait-note { left: -30px; bottom: 4px; padding: 14px 17px; }
  .portrait-note strong { font-size: .6875rem; }
  .portrait-note span { font-size: .5625rem; }
  .portrait-decoration { right: -5px; top: 25px; }
  .ribbon-skills { gap: 35px; max-width: 650px; font-size: 1.35rem; }
  .ribbon-skills .ribbon-secondary { font-size: .9375rem; }
  .section { padding-block: 80px; }
  .project-grid { gap: 24px; }
  .project-card h3 { font-size: 1.2rem; }
  .project-card-body > p:not(.project-type) { font-size: .8125rem; }
  .foundation-grid { gap: 65px; }
  .academic-highlight { padding: 28px; }
  .academic-highlight h3 { font-size: 1.65rem; }
  .academic-bottom { flex-wrap: wrap; }
  .skills-overview-grid { gap: 70px; }
  .profile-grid { grid-template-columns: 310px minmax(0,1fr); gap: 55px; }
  .profile-card-content { padding: 23px; }
  .values-grid { gap: 28px; }
  .language-section { gap: 35px; }
  .language-pills > span { padding: 15px 18px; }
  .coding-grid { gap: 26px; }
  .competencies-layout { gap: 65px; }
  .web-skill-panel { gap: 65px; }
  .web-skill-visual { padding: 42px 30px; font-size: 1.15rem; }
  .web-skill-visual .code-indent-two { font-size: .875rem; margin-left: 23px; }
  .education-layout { gap: 80px; }
  .project-connect { gap: 70px; }
  .contact-layout { gap: 70px; }
  .footer-top { gap: 55px; }
  .case-layout { grid-template-columns: 215px minmax(0,1fr); gap: 50px; }
}
@media (max-width: 959px) {
  html { scroll-padding-top: 97px; }
  .container { width: calc(100% - 56px); }
  .header-inner { min-height: 81px; }
  .brand-mark { width: 42px; height: 44px; }
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: white; padding: 20px 28px 28px; flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid #dbe5ea; box-shadow: 0 20px 25px rgba(19,44,65,.08); max-height: calc(100dvh - 81px); overflow: auto; }
  .site-nav.is-open { display: flex; }
  .site-nav > a { padding: 14px 3px; font-size: .9375rem; border-bottom: 1px solid #e7eef1; }
  .site-nav > a:not(.nav-download)::after { display: none; }
  .site-nav > .nav-download { padding: 13px 17px; justify-content: center; margin-top: 17px; border: 1px solid #c9d9df; font-size: .875rem; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 20px; min-height: 630px; padding-block: 49px 59px; }
  .hero h1 { font-size: 4.6rem; letter-spacing: -.07em; }
  .hero-tagline { font-size: 1.4rem; }
  .hero-description { font-size: .875rem; line-height: 1.8; }
  .hero-copy .eyebrow { font-size: .625rem; gap: 8px; }
  .hero .button-row { gap: 9px; }
  .hero .button { min-height: 47px; font-size: .6875rem; padding: 12px; }
  .hero .button .icon { width: 15px; height: 15px; flex-basis: 15px; }
  .hero-location { font-size: .625rem; gap: 5px 8px; max-width: 290px; }
  .hero-location .vertical-rule { display: none; }
  .hero-location > span:last-child { flex: 0 0 100%; padding-left: 23px; }
  .hero-visual { min-height: 443px; padding-bottom: 34px; }
  .hero-portrait-frame { width: 280px; height: 350px; border-radius: 150px 150px 19px 19px; }
  .orbit-one { width: 330px; height: 330px; top: 35px; left: -9px; }
  .orbit-two { width: 295px; height: 295px; top: 53px; left: 9px; }
  .portrait-caption { padding: 19px 22px; }
  .portrait-caption span:first-child { font-size: 1.35rem; }
  .portrait-caption span:last-child { font-size: .5625rem; }
  .portrait-note { left: -20px; bottom: 3px; width: 300px; padding: 13px; gap: 10px; }
  .portrait-note > .icon { width: 31px; height: 31px; flex-basis: 31px; padding: 5px; }
  .portrait-note strong { font-size: .625rem; }
  .portrait-note span { font-size: .5625rem; }
  .portrait-decoration { font-size: 43px; top: 28px; right: 6px; }
  .ribbon-inner { gap: 22px; min-height: 99px; }
  .ribbon-inner > p { font-size: .625rem; }
  .ribbon-inner strong { font-size: .6875rem; }
  .ribbon-skills { font-size: 1.1rem; gap: 22px; }
  .ribbon-skills .ribbon-secondary { font-size: .8125rem; }
  h2 { font-size: 2.25rem; }
  .section { padding-block: 70px; }
  .section-heading { gap: 25px; }
  .section-heading > .text-link { font-size: .75rem; }
  .project-grid { gap: 19px; }
  .project-card h3 { font-size: 1.125rem; }
  .project-card-body { padding-top: 19px; }
  .project-type { font-size: .625rem; }
  .project-card-body > p:not(.project-type) { font-size: .75rem; line-height: 1.85; }
  .project-card-body > .text-link { font-size: .6875rem; }
  .cover-icon { width: 31px; height: 31px; right: 10px; bottom: 10px; border-radius: 7px; }
  .cover-icon .icon { width: 16px; height: 16px; }
  .foundation-grid { gap: 40px; grid-template-columns: 1.1fr .9fr; }
  .foundation-copy > p:not(.eyebrow) { font-size: .875rem; }
  .academic-highlight { padding: 25px 23px; }
  .academic-top { margin-bottom: 26px; }
  .academic-highlight h3 { font-size: 1.4rem; }
  .academic-highlight > p:not(.eyebrow) { font-size: .8125rem; }
  .values-inline { gap: 8px 14px; }
  .values-inline span { font-size: .6875rem; }
  .skills-overview-grid { gap: 50px; }
  .skills-overview-grid > div:first-child > p:not(.eyebrow) { font-size: .875rem; }
  .overview-list h3 { font-size: 1rem; }
  .overview-list p { font-size: .75rem; }
  .overview-list > div { gap: 6px 14px; grid-template-columns: 39px 1fr; }
  .overview-list > div > span { width: 37px; height: 37px; }
  .overview-list .icon { width: 19px; height: 19px; }
  .page-intro { padding: 24px 0 53px; }
  .breadcrumbs { margin-bottom: 36px; }
  .page-intro h1 { font-size: 3.25rem; }
  .profile-grid { grid-template-columns: 260px minmax(0,1fr); gap: 38px; }
  .profile-card-content { padding: 21px; }
  .profile-card-content .button { font-size: .6875rem; gap: 8px; }
  .profile-card-content .button .icon { width: 17px; height: 17px; flex-basis: 17px; }
  .profile-story > p:not(.eyebrow) { font-size: .875rem; }
  .profile-story > .lead { font-size: 1.1rem; }
  .objective-block { padding: 22px; }
  .objective-block > p:not(.eyebrow) { font-size: .8125rem; }
  .profile-details { grid-template-columns: 1fr; gap: 16px; }
  .profile-details > div { padding-bottom: 13px; }
  .values-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 35px 44px; }
  .language-section { flex-direction: column; align-items: flex-start; gap: 27px; }
  .language-pills { width: 100%; }
  .language-pills > span { flex: 1; justify-content: center; padding: 18px 20px; }
  .coding-grid { gap: 22px; }
  .coding-grid p { font-size: .8125rem; }
  .coding-grid .text-link { font-size: .6875rem; }
  .competencies-layout { grid-template-columns: .85fr 1.15fr; gap: 40px; }
  .competency h3 { font-size: .8125rem; max-width: 200px; }
  .competency { gap: 20px; }
  .skill-rating { gap: 11px; }
  .skill-dots { gap: 6px; }
  .skill-dot { width: 8px; height: 8px; }
  .web-skill-panel { gap: 40px; }
  .web-skill-visual { padding: 37px 23px; font-size: 1rem; }
  .web-skill-visual .code-indent-two { font-size: .75rem; margin-left: 16px; }
  .web-skill-panel p:not(.eyebrow) { font-size: .875rem; }
  .education-layout { grid-template-columns: .75fr 1.25fr; gap: 50px; }
  .education-timeline { padding-left: 33px; margin-left: 18px; }
  .timeline-marker { left: -53px; width: 39px; height: 39px; }
  .education-item h3 { font-size: 1.45rem; }
  .featured-education h3 { font-size: 1.7rem; }
  .institution { font-size: .8125rem; }
  .education-item-head { gap: 8px; align-items: flex-start; }
  .education-level { font-size: .625rem; }
  .education-next { gap: 40px; }
  .project-index-top { align-items: flex-start; }
  .project-index-top > p:not(.eyebrow) { max-width: 320px; text-align: right; }
  .project-connect { gap: 45px; }
  .project-connect-items > span { font-size: .8125rem; gap: 13px; }
  .case-layout { grid-template-columns: 175px minmax(0,1fr); gap: 35px; }
  .case-sidebar { top: 110px; }
  .case-nav a { font-size: .75rem; padding-left: 15px; }
  .case-summary-note { font-size: .6875rem; }
  .case-title { font-size: 3.25rem; }
  .case-lead { font-size: 1rem; }
  .case-section h2 { font-size: 1.85rem; }
  .case-meta { gap: 20px; }
  .case-meta strong, .case-meta dd { font-size: .8125rem; }
  .contact-layout { gap: 45px; }
  .contact-primary > p:not(.eyebrow):not(.email-hint) { font-size: .875rem; }
  .contact-primary .button { font-size: .75rem; padding-inline: 16px; }
  .contact-detail a, .contact-detail p { font-size: .8125rem; }
  .contact-profile { gap: 25px; }
  .contact-profile h2 { font-size: 1.65rem; }
  .contact-profile > .text-link { font-size: .75rem; }
  .contact-band-inner { gap: 40px; }
  .contact-band h2 { font-size: 2.4rem; }
  .footer-top { gap: 35px; grid-template-columns: 1.1fr .65fr 1fr; }
  .footer-brand .brand-wordmark small { max-width: 130px; }
  .footer-contact > a { font-size: .75rem; }
}

/* Mobile */
@media (max-width: 719px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 40px); }
  .section { padding-block: 61px; }
  h2 { font-size: 2.1rem; line-height: 1.25; }
  .eyebrow { font-size: .6875rem; letter-spacing: .12em; margin-bottom: 17px; }
  .header-inner { min-height: 76px; }
  .brand-mark { width: 39px; height: 41px; font-size: 23px; border-radius: 12px 12px 12px 3px; }
  .brand-wordmark { font-size: .9375rem; }
  .brand-wordmark small { font-size: .5625rem; }
  .nav-toggle { padding-right: 0; }
  .site-nav { padding: 15px 20px 24px; max-height: calc(100dvh - 76px); }
  .hero-grid { display: flex; flex-direction: column; gap: 30px; align-items: stretch; padding-top: 44px; padding-bottom: 40px; min-height: 0; }
  .hero-copy { padding: 0; text-align: left; }
  .hero-copy .eyebrow { font-size: .6875rem; margin-bottom: 22px; }
  .hero h1 { font-size: clamp(4.1rem,13.2vw,6rem); margin: 0 0 22px -2px; letter-spacing: -.06em; }
  .hero-tagline { font-size: 1.55rem; line-height: 1.45; margin-bottom: 20px; }
  .hero-description { max-width: 510px; font-size: .9375rem; line-height: 1.8; margin-bottom: 26px; }
  .hero .button-row { gap: 10px; }
  .hero .button { font-size: .75rem; padding: 12px 16px; min-height: 49px; }
  .hero .button .icon { width: 17px; height: 17px; flex-basis: 17px; }
  .hero-location { max-width: none; font-size: .625rem; gap: 8px; margin-top: 22px; }
  .hero-location .vertical-rule { display: inline-block; margin-inline: 1px; }
  .hero-location > span:last-child { flex: initial; padding-left: 0; }
  .hero-visual { width: min(400px,100%); min-height: 465px; align-self: center; padding: 12px 0 47px; }
  .hero-portrait-frame { width: 305px; height: 381px; border-radius: 170px 170px 22px 22px; }
  .orbit-one { width: 354px; height: 354px; top: 13px; left: calc(50% - 177px); }
  .orbit-two { width: 321px; height: 321px; top: 29px; left: calc(50% - 160px); }
  .portrait-note { left: 13px; bottom: 0; width: auto; right: 13px; justify-content: center; padding: 15px; border-radius: 9px; }
  .portrait-note > .icon { width: 34px; height: 34px; flex-basis: 34px; padding: 6px; }
  .portrait-note strong { font-size: .6875rem; }
  .portrait-note span { font-size: .5625rem; }
  .portrait-decoration { top: 11px; right: 6px; font-size: 47px; }
  .portrait-caption span:first-child { font-size: 1.5rem; }
  .portrait-caption span:last-child { font-size: .625rem; }
  .ribbon-inner { flex-direction: column; align-items: stretch; gap: 21px; min-height: 0; padding-block: 25px; }
  .ribbon-inner > p { font-size: .6875rem; line-height: 1.6; }
  .ribbon-inner > p br { display: none; }
  .ribbon-inner strong { font-size: .75rem; margin-left: 5px; }
  .ribbon-skills { width: 100%; gap: 20px; font-size: 1.25rem; }
  .ribbon-skills .ribbon-secondary { font-size: .875rem; }
  .section-heading { display: block; margin-bottom: 28px; }
  .section-heading .eyebrow { margin-bottom: 16px; }
  .section-heading > .text-link { margin-top: 21px; margin-bottom: 0; font-size: .8125rem; }
  .section-description { font-size: .875rem; line-height: 1.8; margin-top: -7px; margin-bottom: 31px; }
  .project-grid { grid-template-columns: 1fr; gap: 40px; }
  .project-cover { aspect-ratio: 1.5; border-radius: 11px; }
  .project-card-body { padding-top: 22px; }
  .project-card h3 { font-size: 1.45rem; margin-bottom: 13px; }
  .project-type { font-size: .6875rem; margin-bottom: 10px; }
  .project-card-body > p:not(.project-type) { font-size: .875rem; margin-bottom: 17px; }
  .project-card-body > .text-link { font-size: .8125rem; }
  .cover-icon { width: 38px; height: 38px; right: 16px; bottom: 16px; border-radius: 9px; }
  .cover-icon .icon { width: 20px; height: 20px; }
  .visual-note { margin-top: 30px; font-size: .6875rem; line-height: 1.75; }
  .foundation-grid { grid-template-columns: 1fr; gap: 37px; }
  .foundation-copy h2 { margin-bottom: 23px; }
  .foundation-copy > p:not(.eyebrow) { font-size: .9375rem; line-height: 1.85; }
  .values-inline { margin-block: 24px; gap: 10px 18px; }
  .values-inline span { font-size: .75rem; }
  .academic-highlight { padding: 29px; max-width: 450px; }
  .academic-top { margin-bottom: 29px; }
  .academic-highlight h3 { font-size: 1.8rem; }
  .academic-highlight > p:not(.eyebrow) { font-size: .875rem; }
  .academic-bottom { flex-wrap: nowrap; }
  .academic-bottom .text-link { font-size: .75rem; }
  .skills-overview-grid { grid-template-columns: 1fr; gap: 37px; }
  .skills-overview-grid h2 { margin-bottom: 23px; }
  .skills-overview-grid > div:first-child > p:not(.eyebrow) { font-size: .9375rem; margin-bottom: 23px; }
  .overview-list > div { padding-block: 23px; grid-template-columns: 44px 1fr; gap: 7px 18px; }
  .overview-list > div > span { width: 42px; height: 42px; }
  .overview-list h3 { font-size: 1.0625rem; }
  .overview-list p { font-size: .8125rem; }
  .page-intro { padding-top: 23px; padding-bottom: 45px; }
  .breadcrumbs { margin-bottom: 35px; font-size: .6875rem; gap: 10px; }
  .page-intro h1 { font-size: clamp(2.5rem,8.2vw,3.4rem); line-height: 1.19; margin-bottom: 23px; }
  .page-intro .eyebrow { font-size: .625rem; margin-bottom: 18px; }
  .intro-copy { font-size: .9375rem; line-height: 1.85; }
  .profile-grid { display: flex; flex-direction: column; gap: 40px; }
  .profile-card { width: min(100%,390px); align-self: center; }
  .profile-photo { aspect-ratio: 1/1.02; }
  .profile-card-content { padding: 25px; }
  .profile-card-content > .button { font-size: .8125rem; }
  .profile-story h2 { margin-bottom: 24px; }
  .profile-story > p:not(.eyebrow) { font-size: .9375rem; }
  .profile-story > .lead { font-size: 1.125rem; }
  .objective-block { padding: 24px; margin-block: 28px; }
  .objective-block > p:not(.eyebrow) { font-size: .875rem; }
  .profile-details { grid-template-columns: 1fr 1fr; gap: 23px; }
  .profile-details strong { font-size: .75rem; }
  .values-grid { grid-template-columns: 1fr 1fr; gap: 33px 26px; }
  .values-grid article { padding-top: 5px; }
  .values-grid .icon-tile { margin-bottom: 20px; }
  .values-grid h3 { font-size: 1.0625rem; margin-bottom: 14px; }
  .values-grid p { font-size: .8125rem; }
  .language-section { gap: 24px; }
  .language-section h2 { margin-bottom: 21px; }
  .language-pills { gap: 9px; }
  .language-pills > span { padding: 13px 12px; font-size: .75rem; gap: 8px; }
  .language-pills .icon { width: 17px; height: 17px; flex-basis: 17px; }
  .coding-grid { grid-template-columns: 1fr 1fr; gap: 30px 25px; margin-top: 28px; }
  .coding-grid article { padding-top: 25px; padding-bottom: 19px; }
  .language-symbol { font-size: 3.2rem; margin-bottom: 24px; }
  .sql-symbol { font-size: 2.8rem; min-height: 61px; padding-top: 7px; }
  .coding-grid h3 { font-size: 1.1rem; }
  .coding-grid p { font-size: .8125rem; line-height: 1.8; }
  .coding-grid .text-link { font-size: .6875rem; gap: 7px; }
  .coding-grid .text-link .icon { width: 16px; height: 16px; flex-basis: 16px; }
  .competencies-layout { grid-template-columns: 1fr; gap: 34px; }
  .competencies-intro h2 { margin-bottom: 22px; }
  .competencies-intro > p:not(.eyebrow) { font-size: .9375rem; max-width: 450px; }
  .rating-key { max-width: 340px; margin-top: 22px; }
  .competency { padding-block: 21px; gap: 22px; }
  .competency h3 { font-size: .875rem; max-width: 240px; }
  .skill-rating { gap: 14px; }
  .skill-dots { gap: 7px; }
  .skill-dot { width: 9px; height: 9px; }
  .rating-text { font-size: .625rem; }
  .web-skill-panel { grid-template-columns: 1fr; gap: 35px; }
  .web-skill-visual { padding: 36px 28px; font-size: 1.1rem; }
  .web-skill-visual .code-indent-two { font-size: .8125rem; margin-left: 23px; }
  .web-skill-panel h2 { margin-bottom: 22px; }
  .web-skill-panel p:not(.eyebrow) { font-size: .9375rem; }
  .education-layout { grid-template-columns: 1fr; gap: 44px; }
  .education-aside { position: static; }
  .education-aside h2 br { display: none; }
  .education-aside h2 { margin-bottom: 23px; }
  .education-aside > p:not(.eyebrow) { max-width: 500px; }
  .education-timeline { padding-left: 34px; margin-left: 18px; }
  .timeline-marker { left: -54px; top: 0; }
  .education-item { padding-bottom: 30px; margin-bottom: 30px; }
  .education-item-head { margin-bottom: 18px; }
  .education-item h3 { font-size: 1.5rem; }
  .featured-education h3 { font-size: 1.7rem; }
  .institution { font-size: .875rem; margin-bottom: 23px; }
  .education-next { flex-direction: column; align-items: flex-start; gap: 27px; }
  .education-next h2 { margin-bottom: 23px; }
  .education-next p:not(.eyebrow) { font-size: .9375rem; }
  .project-index-top { display: block; margin-bottom: 30px; }
  .project-index-top > p:not(.eyebrow) { text-align: left; max-width: none; margin-top: 13px; font-size: .6875rem; }
  .project-context { padding: 24px; gap: 16px; margin-top: 39px; }
  .project-context .icon-tile { width: 37px; height: 37px; flex-basis: 37px; }
  .project-context .icon { width: 19px; height: 19px; }
  .project-context h2 { font-size: .9375rem; }
  .project-context p { font-size: .75rem; }
  .project-connect { grid-template-columns: 1fr; gap: 23px; }
  .project-connect h2 { margin-bottom: 23px; }
  .project-connect-items > span { font-size: .875rem; padding-block: 21px; }
  .case-hero { padding-top: 23px; padding-bottom: 44px; }
  .case-hero-top { display: block; margin-bottom: 29px; }
  .case-hero-top .breadcrumbs { margin-bottom: 18px; }
  .case-hero-top .text-link { font-size: .6875rem; }
  .case-title { font-size: clamp(2.5rem,8vw,3.4rem); line-height: 1.18; margin-bottom: 23px; }
  .case-lead { font-size: .9375rem; margin-bottom: 28px; }
  .case-meta { gap: 21px; margin-top: 28px; padding-top: 24px; grid-template-columns: 1fr; }
  .case-meta > div { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
  .case-meta span, .case-meta dt { margin: 0; flex: 0 0 92px; font-size: .6875rem; }
  .case-meta strong, .case-meta dd { flex: 1; font-size: .8125rem; }
  .case-cover { margin-top: 30px; border-radius: 8px; }
  .case-cover figcaption { padding: 12px 16px; font-size: .625rem; }
  .case-layout { grid-template-columns: 1fr; gap: 35px; }
  .case-sidebar { position: static; display: block; }
  .case-sidebar > .eyebrow { margin-bottom: 14px; }
  .case-nav { flex-direction: row; flex-wrap: wrap; gap: 6px 15px; margin-bottom: 0; border: 0; padding-bottom: 20px; border-bottom: 1px solid #dde7ec; }
  .case-nav a { padding: 5px 0; font-size: .75rem; }
  .case-nav a.is-active::before { display: none; }
  .case-summary-note { max-width: none; margin-top: 0; border-top: 0; font-size: .6875rem; }
  .case-summary-note .icon { display: none; }
  .case-content { max-width: none; }
  .case-section { padding-bottom: 36px; margin-bottom: 35px; scroll-margin-top: 106px; }
  .case-section h2 { font-size: 1.9rem; line-height: 1.25; margin-bottom: 21px; }
  .case-section p { font-size: .9375rem; }
  .feature-list { gap: 18px; margin-top: 27px; }
  .feature-list > li, .feature-list > div, .feature-list > article { gap: 15px; padding-block: 18px; }
  .feature-list h3 { font-size: 1rem; }
  .feature-list p { font-size: .875rem; }
  .workflow-list { gap: 15px; }
  .workflow-step { padding: 21px; }
  .workflow-step p { font-size: .875rem; }
  .case-gallery { gap: 28px; }
  .gallery-link { border-radius: 7px; }
  .gallery-caption { padding-top: 15px; }
  .gallery-caption h3 { font-size: .9375rem; }
  .gallery-caption p { font-size: .8125rem; }
  .case-outcome { padding: 26px; }
  .source-details { padding: 19px 21px; }
  .source-details p, .source-details blockquote { font-size: .75rem; }
  .next-projects { padding-block: 60px; }
  .next-projects .project-grid { grid-template-columns: 1fr; gap: 37px; }
  .next-projects .project-cover { aspect-ratio: 1.5; }
  .contact-layout { grid-template-columns: 1fr; gap: 30px; }
  .contact-primary h2 { margin-bottom: 23px; }
  .contact-primary > p:not(.eyebrow):not(.email-hint) { font-size: .9375rem; }
  .contact-email { font-size: clamp(1.3rem,5.7vw,1.8rem); margin-top: 10px; margin-bottom: 26px; }
  .contact-primary .button { font-size: .8125rem; padding-inline: 18px; }
  .email-hint { font-size: .6875rem; }
  .contact-details { padding-top: 0; }
  .contact-detail { padding-block: 23px; }
  .contact-detail a, .contact-detail p { font-size: .875rem; }
  .contact-profile { gap: 22px; flex-wrap: wrap; }
  .contact-mini-photo { width: 104px; height: 128px; flex-basis: 104px; }
  .contact-profile > div:nth-child(2) { flex: 1; min-width: 180px; }
  .contact-profile h2 { font-size: 1.65rem; line-height: 1.3; }
  .contact-profile p:not(.eyebrow) { font-size: .75rem; }
  .contact-profile .tags { gap: 6px; margin-top: 13px; }
  .contact-profile .tags > span { font-size: .625rem; padding: 3px 8px; }
  .contact-profile > .text-link { margin: 0; font-size: .8125rem; }
  .contact-band-inner { display: block; padding-block: 48px; min-height: 0; }
  .contact-band .eyebrow { font-size: .625rem; }
  .contact-band h2 { font-size: 2.2rem; margin-bottom: 19px; }
  .contact-band p:not(.eyebrow) { font-size: .8125rem; max-width: 390px; line-height: 1.9; }
  .contact-band .button { margin-top: 27px; font-size: .8125rem; min-height: 48px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 34px 28px; padding-top: 51px; padding-bottom: 37px; }
  .footer-identity { grid-column: 1/-1; }
  .footer-brand .brand-wordmark small { max-width: none; }
  .footer-identity > p { font-size: .8125rem; margin-top: 19px; }
  .footer-top h2 { font-size: .8125rem; margin-bottom: 19px; }
  .footer-nav a { font-size: .75rem; }
  .footer-contact > a { font-size: .75rem; }
  .footer-contact > p { font-size: .6875rem; }
  .footer-contact > .text-link { font-size: .625rem; }
  .footer-contact > .text-link .icon { width: 15px; height: 15px; flex-basis: 15px; }
  .footer-bottom { display: flex; flex-wrap: wrap; gap: 11px 25px; padding-block: 22px; font-size: .625rem; }
  .footer-bottom > p:nth-child(2) { order: 3; flex: 0 0 100%; }
  .footer-bottom > a { margin-left: auto; }
  .image-dialog { width: calc(100vw - 20px); max-height: calc(100dvh - 24px); padding: 12px; border-radius: 10px; }
  .dialog-toolbar { margin-bottom: 12px; }
  .dialog-image { max-height: calc(100dvh - 210px); border-radius: 5px; }
  #image-dialog-caption { font-size: .75rem; margin-top: 14px; margin-bottom: 15px; }
  .dialog-controls { gap: 20px; }
  .dialog-controls .button { font-size: .6875rem; min-height: 38px; padding: 8px 15px; }
  .toast { bottom: 20px; font-size: .8125rem; padding: 12px 18px; }
}
@media (max-width: 389px) {
  .container { width: calc(100% - 36px); }
  .hero .button-row { gap: 9px; }
  .hero .button { font-size: .6875rem; padding: 12px 13px; gap: 8px; }
  .hero-location { gap: 6px; font-size: .5625rem; }
  .hero-visual { min-height: 440px; }
  .hero-portrait-frame { width: 280px; height: 350px; }
  .orbit-one { width: 323px; height: 323px; left: calc(50% - 161.5px); top: 18px; }
  .orbit-two { width: 295px; height: 295px; left: calc(50% - 147.5px); top: 32px; }
  .portrait-note { left: 0; right: 0; padding: 13px 10px; }
  .portrait-note strong { font-size: .625rem; }
  .portrait-note span { font-size: .5625rem; }
  .portrait-decoration { right: 0; font-size: 38px; }
  .ribbon-skills { font-size: 1.125rem; gap: 16px; }
  .ribbon-skills .ribbon-secondary { font-size: .75rem; }
  .academic-highlight { padding: 25px; }
  .academic-bottom .text-link { font-size: .6875rem; }
  .values-grid { grid-template-columns: 1fr; gap: 29px; }
  .values-grid article { display: grid; grid-template-columns: 42px 1fr; gap: 10px 16px; }
  .values-grid .icon-tile { width: 42px; height: 42px; flex-basis: 42px; grid-row: span 2; margin: 0; }
  .values-grid h3 { margin: 3px 0 0; }
  .values-grid p { grid-column: 2; }
  .language-pills > span { padding: 12px 10px; gap: 6px; font-size: .6875rem; }
  .competency { gap: 15px; }
  .competency h3 { max-width: 190px; font-size: .8125rem; }
  .skill-rating { gap: 9px; }
  .skill-dots { gap: 5px; }
  .skill-dot { width: 8px; height: 8px; }
  .web-skill-visual { padding: 32px 20px; }
  .web-skill-visual .code-indent { margin-left: 17px; }
  .web-skill-visual .code-indent-two { margin-left: 15px; font-size: .75rem; }
  .project-context { padding: 20px; gap: 13px; }
  .project-context .icon-tile { display: none; }
  .contact-primary .button { padding-inline: 15px; font-size: .75rem; }
  .contact-profile { gap: 18px; }
  .contact-profile > div:nth-child(2) { min-width: 170px; }
  .contact-mini-photo { width: 89px; height: 117px; flex-basis: 89px; }
  .contact-profile h2 { font-size: 1.45rem; }
  .footer-top { gap: 32px 20px; grid-template-columns: .7fr 1.3fr; }
}

/* Final case-study markup and readable interface details. */
.case-hero > .container > .breadcrumbs { margin-bottom: 32px; }
.case-hero-top { margin-bottom: 20px; }
.case-hero-top .eyebrow { margin: 0; }
.case-category { display: inline-flex; align-items: center; gap: 9px; padding: 8px 13px; border: 1px solid #d8e6e5; border-radius: 5px; color: #728d8c; font-size: .75rem; line-height: 1.5; }
.case-category .icon { width: 17px; height: 17px; flex-basis: 17px; }
.case-cover > a { position: relative; }
.image-expand { display: inline-flex; align-items: center; gap: 8px; position: absolute; right: 17px; bottom: 17px; padding: 9px 13px; color: var(--navy); background: rgba(255,255,255,.96); border-radius: 6px; font-size: .75rem; line-height: 1.4; box-shadow: 0 4px 15px rgba(19,44,65,.12); }
.image-expand .icon { position: static; width: 16px; height: 16px; flex-basis: 16px; background: transparent; box-shadow: none; padding: 0; border-radius: 0; }
.case-summary-note h2 { font-family: var(--sans); font-size: 1rem; line-height: 1.5; letter-spacing: -.025em; font-weight: 500; margin-bottom: 11px; }
.case-summary-note > p { font-size: .75rem; line-height: 1.8; }
.case-summary-note .text-link { font-size: .75rem; }
.case-summary-note .text-link .icon { width: 16px; height: 16px; margin: 0; }
.technical-focus { display: flex; align-items: flex-start; gap: 20px; padding: 27px; border-radius: 9px; background: #f2f7f8; margin-top: 29px; }
.technical-focus .icon-tile { background: white; border: 1px solid #deebe6; }
.technical-focus h3 { font-size: 1.0625rem; margin-bottom: 12px; }
.technical-focus p { font-size: .875rem; }
.case-section > p.lead { font-size: 1.0625rem; color: #617986; }
.feature-check { width: 35px; height: 35px; flex: 0 0 35px; border-radius: 50%; display: grid; place-items: center; color: var(--teal); background: #e9f4ed; }
.feature-check .icon { width: 18px; height: 18px; }
.case-outcome .tags { margin-bottom: 0; }
.case-outcome .tags span { background: #f9fffb; border-color: #d5e7dd; color: #668577; }
.source-details h3 { font-size: .875rem; line-height: 1.6; margin-bottom: 14px; }
.site-nav { font-size: .875rem; }
.hero-description, .intro-copy, .profile-story > p:not(.eyebrow), .foundation-copy > p:not(.eyebrow), .skills-overview-grid > div:first-child > p:not(.eyebrow), .project-card-body > p:not(.project-type), .coding-grid p, .values-grid p { font-size: 1rem; }
.hero-location { font-size: .75rem; }
.project-card-body > .text-link { font-size: .875rem; }
.footer-nav a, .footer-contact > a { font-size: .875rem; }
@media (max-width: 959px) {
  .site-nav { font-size: .9375rem; }
  .hero-description { font-size: .9375rem; }
  .hero-location { font-size: .6875rem; }
  .project-card-body > p:not(.project-type) { font-size: .875rem; }
  .portrait-caption { padding-bottom: 45px; }
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .header-inner { flex-wrap: wrap; padding-block: 15px; }
  html:not(.js) .site-nav { position: static; display: flex; width: 100%; padding: 0; max-height: none; box-shadow: none; border: 0; }
}
@media (max-width: 719px) {
  .case-hero-top { display: flex; flex-wrap: wrap; gap: 15px; align-items: center; margin-bottom: 23px; }
  .case-category { font-size: .6875rem; padding: 7px 10px; }
  .case-category .icon { width: 15px; height: 15px; flex-basis: 15px; }
  .technical-focus { padding: 23px; gap: 15px; }
  .technical-focus .icon-tile { width: 37px; height: 37px; flex-basis: 37px; border-radius: 8px; }
  .technical-focus .icon { width: 20px; height: 20px; }
  .technical-focus h3 { font-size: 1rem; }
  .technical-focus p { font-size: .875rem; }
  .case-summary-note { display: none; }
  .image-expand { right: 10px; bottom: 10px; padding: 7px 10px; font-size: .625rem; gap: 6px; }
  .image-expand .icon { width: 14px; height: 14px; flex-basis: 14px; }
  .hero-description, .project-card-body > p:not(.project-type) { font-size: 1rem; }
  .hero-location { font-size: .6875rem; }
  .hero-location .vertical-rule { display: none; }
  .hero-location > span:last-child { flex-basis: 100%; padding-left: 23px; }
  .portrait-caption { padding-bottom: 25px; }
  .footer-contact > a { font-size: .8125rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .project-card:hover .project-cover > img, .gallery-link:hover img { transform: none; }
}
@media print {
  .header-contact-strip { display: none !important; }
  @page { margin: 16mm; }
  html { scroll-padding: 0; }
  body { background: white; color: #1a2c39; font-size: 11pt; line-height: 1.55; }
  .container { width: 100%; max-width: none; }
  .section { padding-block: 24pt; }
  .site-header { position: static; background: white; border: 0; box-shadow: none; }
  .header-inner { min-height: 50pt; }
  .site-nav, .nav-toggle, .skip-link, .site-footer, .contact-band, .button-row, .hero-location, .portrait-orbit, .portrait-decoration, .portrait-note, .text-link, .image-dialog, .toast, .case-sidebar, .next-projects, .copy-email, .contact-primary .button, .education-aside .button, .profile-card-content .button { display: none !important; }
  .hero, .page-intro, .case-hero, .soft-section, .foundation-section { background: white; }
  h1 { font-size: 36pt !important; }
  h2 { font-size: 24pt !important; }
  h3 { font-size: 15pt !important; }
  h1, h2, h3 { break-after: avoid; }
  p, li { orphans: 3; widows: 3; }
  img { max-width: 100% !important; }
  .hero-grid { grid-template-columns: 1fr 200px; min-height: 0; padding-block: 24pt; gap: 30pt; }
  .hero-visual { min-height: 0; padding: 0; }
  .hero-portrait-frame { width: 180px; height: 225px; box-shadow: none; }
  .hero-description { font-size: 11pt; }
  .portrait-caption { display: none; }
  .tech-ribbon { border-color: #ccd5dc; }
  .ribbon-inner { min-height: 0; padding-block: 15pt; }
  .project-card, .education-item, .gallery-item, .academic-highlight, .contact-detail, .workflow-step, .values-grid article { break-inside: avoid; }
  .project-grid { gap: 20pt; }
  .project-card-body > p:not(.project-type) { font-size: 10pt; }
  .foundation-grid, .skills-overview-grid { gap: 35pt; }
  .profile-grid { grid-template-columns: 190px 1fr; gap: 25pt; }
  .profile-card { background: #f4f6f7; }
  .profile-story > p:not(.eyebrow), .case-section p { font-size: 11pt; }
  .breadcrumbs { display: none; }
  .page-intro { padding: 20pt 0; }
  .education-aside { position: static; }
  .education-layout { grid-template-columns: 1fr; gap: 20pt; }
  .case-layout { display: block; }
  .case-content { max-width: none; }
  .case-cover { max-width: 75%; box-shadow: none; }
  .case-gallery { gap: 25pt; }
  .source-details { display: none; }
  .contact-layout { gap: 30pt; }
  .contact-email { font-size: 17pt; }
  .contact-profile { padding-top: 20pt; }
}

/* Readable navigation and secondary information. */
.site-nav, .nav-toggle { font-size: .875rem; }
.brand-wordmark small { font-size: .75rem; }
.hero-location { font-size: .75rem; }
.visual-note { font-size: .75rem; }
.footer-nav a, .footer-contact a, .footer-contact p { font-size: .875rem; }
@media (max-width: 639px) {
  .brand-wordmark small { font-size: .6875rem; }
  .footer-nav a, .footer-contact a, .footer-contact p { font-size: .875rem; }
}
