/* Warm paper, coloured project jackets, and a few playful details. */
html { scroll-behavior: auto; }
.header nav { gap: 27px; }
.wordmark { gap: 7px; font-size: 29px; letter-spacing: -1.6px; }
.wordmark > .wordmark-name { color: var(--ink); font: inherit; transform: none; }
.wordmark .wordmark-name > span { font: inherit; }
.wordmark > .wordmark-spark { color: var(--blue); font-size: 30px; }
.wordmark:hover > .wordmark-name { transform: none; }
.hero .eyebrow strong { font-weight: 700; }
.card-lilac { --card-bg: #ede7f7; --card-edge: #d8cdea; --card-ink: #63518a; --card-art: #e4daef; }
.card-peach { --card-bg: #fae8dc; --card-edge: #ecd0bb; --card-ink: #995b36; --card-art: #f3dac5; }
.card-sage { --card-bg: #e8eddc; --card-edge: #cfd9bf; --card-ink: #536744; --card-art: #dce5ce; }
.card-blue { --card-bg: #e4ebf8; --card-edge: #c9d6ed; --card-ink: #4c6298; --card-art: #d6e1f3; }
.role-label { display: inline-flex; align-items: center; color: var(--card-ink, #657058); font: 10px/1.5 var(--mono); letter-spacing: .3px; }
.stack-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 19px; }
.stack-tags > span { border: 1px solid var(--card-edge, #d9ddd0); border-radius: 6px; padding: 6px 9px; color: #535b4b; font-size: 10px; line-height: 1.4; background: #fff5; }
button.text-link { background: transparent; padding-inline: 0; }
.text-link > svg { width: 15px; height: 15px; flex-shrink: 0; }

/* Each project is one card: preview, ownership, contribution, and next step. */
.work-section { padding-block: 86px 40px; }
.project-grid { gap: 27px; align-items: stretch; }
.project-card { min-width: 0; display: flex; flex-direction: column; border-radius: 18px; background: var(--card-bg); border: 1px solid var(--card-edge); box-shadow: 0 3px 0 #24252104; transition: transform .3s ease, box-shadow .3s ease; }
.card-topline { display: flex; align-items: center; justify-content: space-between; padding: 24px 27px 0; gap: 10px; color: var(--card-ink); font: 9px/1.4 var(--mono); letter-spacing: .8px; }
.card-number { white-space: nowrap; opacity: .8; }
.project-card .project-preview { border: 0; border-radius: 10px; margin: 15px 15px 0; width: calc(100% - 30px); height: 275px; flex-shrink: 0; background: var(--card-art); background-image: radial-gradient(#24252113 .65px, transparent .65px); background-size: 14px 14px; }
.project-card .project-preview:focus-visible { outline-offset: 2px; }
.project-card .app-window { top: 24px; width: 86%; left: 7%; height: 220px; border-radius: 8px; box-shadow: 0 15px 23px -15px #42305160; }
.project-card .catchup-window { transform: rotate(-3deg); }
.project-card .catchup-app { grid-template-columns: 87px 1fr; }
.project-card .catchup-app aside { padding-top: 12px; }
.project-card .app-logo { margin-bottom: 10px; font-size: 24px; }
.project-card .catchup-main { padding: 13px; }
.project-card .catchup-main h3 { font-size: 15px; }
.project-card .mini-tabs { margin-top: 12px; }
.project-card .summary-card { padding: 7px; margin-top: 8px; }
.project-card .mini-tasks > div { padding-block: 6px; }
.project-card .preview-footnote { bottom: 9px; left: 16px; font: 7px/1.5 var(--mono); color: var(--card-ink); letter-spacing: .7px; text-transform: uppercase; }
.project-screenshot { position: absolute; left: 7%; top: 24px; width: 86%; height: 220px; object-fit: cover; object-position: top; border: 1px solid #24252115; border-radius: 8px; box-shadow: 0 15px 23px -15px #42305160; transition: transform .45s ease; }
.descent-screenshot { transform: rotate(3deg); object-position: 50% 4%; }
.monitoring-screenshot { transform: rotate(-2deg); }
.project-doodle { position: absolute; right: 7px; top: 1px; width: 42px; height: 42px; display: grid; place-items: center; color: var(--card-ink); font-size: 39px; line-height: 1; transform: rotate(12deg); text-shadow: 2px 2px 0 var(--card-bg); transition: transform .4s; pointer-events: none; }
.project-card .rover-preview { padding: 0; text-align: center; }
.rover-preview > svg { width: 88%; height: 235px; margin: 10px auto 0; transition: transform .45s; }
.project-card-body { display: flex; flex-direction: column; flex: 1; padding: 23px 28px 0; }
.card-role-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-role-row .role-label::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--card-ink); margin-right: 7px; }
.card-note { font-size: 12px; color: var(--card-ink); transform: rotate(-3deg); }
.project-title { margin-top: 13px; display: flex; align-items: center; gap: 12px; font-size: 30px; font-weight: 600; letter-spacing: -1.1px; background: transparent; padding: 0; text-align: left; }
.project-title svg { width: 20px; height: 20px; color: var(--card-ink); transition: transform .25s; }
.project-tagline { font-size: 13px; line-height: 1.65; margin-top: 7px; color: #55594f; }
.project-work { font-size: 13px; line-height: 1.8; color: #51554d; margin-top: 20px; padding-top: 17px; border-top: 1px solid var(--card-edge); flex: 1; }
.project-work > span { display: block; font: 9px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .7px; color: var(--card-ink); margin-bottom: 7px; }
.card-actions { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--card-edge); margin-top: 22px; padding-block: 16px; gap: 12px; }
.card-detail { display: flex; align-items: center; gap: 15px; padding: 9px 0; background: transparent; font-size: 12px; font-weight: 600; }
.card-detail > span { font-size: 17px; transition: transform .25s; }
.card-actions > a { display: flex; gap: 7px; align-items: center; font-size: 11px; font-weight: 550; padding: 9px 12px; border-radius: 20px; border: 1px solid var(--card-edge); background: #fff5; transition: background .2s; }
.card-actions > a svg { width: 13px; height: 13px; }
.card-actions > a:hover { background: #fff9; }
.card-detail:hover > span { transform: translateX(4px); }
.project-title:hover svg { transform: translate(2px,-2px); }
.work-footer { margin-top: 26px; gap: 20px; }
.work-footer > .hand-note { font-size: 14px; color: #737868; }

/* Selected work only: native stacking with room to read every card. */
#work .project-stack { --stack-step: 32px; display: grid; grid-template-columns: minmax(0,1fr); gap: 28px; isolation: isolate; }
#work .project-step { min-width: 0; }
#work .project-step > .project-card { height: 100%; }
#work .project-stack.stack-enabled { gap: clamp(52px,10vh,100px); }
#work .project-stack.stack-enabled::after { content: ''; height: clamp(40px,8vh,80px); pointer-events: none; }
#work .stack-enabled .project-step { position: sticky; top: calc(var(--stack-top) + var(--project-index) * var(--stack-step)); z-index: var(--project-layer); }
#work .stack-enabled .project-card { min-height: var(--stack-card-height); transform: scale(var(--stack-scale,1)); transform-origin: center top; transition: box-shadow .2s ease; box-shadow: 0 -3px 22px -12px #35312538; }
#work .stack-enabled .project-card:hover { transform: scale(var(--stack-scale,1)); }
#work .stack-measuring .project-step { position: static; }
@media(max-width:979px) {
  #work .project-stack { --stack-step: 18px; }
  #work .project-stack.stack-enabled { gap: clamp(36px,7svh,60px); }
  #work .project-stack.stack-enabled::after { height: clamp(32px,8svh,64px); }
}
@media(min-width:980px) {
  #work .project-card { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); grid-template-rows: auto 1fr; gap: 0 28px; padding: 0 24px 24px; align-items: center; }
  #work .card-topline { grid-column: 1 / -1; padding: 18px 2px 0; align-self: start; }
  #work .project-card .project-preview { grid-column: 1; grid-row: 2; width: 100%; height: 275px; margin: 20px 0 0; }
  #work .project-card-body { grid-column: 2; grid-row: 2; padding: 22px 2px 0; align-self: stretch; }
  #work .project-title { font-size: 36px; line-height: 1.1; }
  #work .project-work { margin-top: 16px; padding-top: 14px; }
  #work .stack-tags { margin-top: 14px; }
  #work .card-actions { margin-top: 18px; padding: 14px 0 0; }
}
@media(prefers-reduced-motion:reduce) {
  #work .stack-enabled .project-step { position: static; }
  #work .stack-enabled .project-card { transform: none; }
}

/* The ongoing project has its own quieter workbench. */
.building-section { display: grid; grid-template-columns: 1fr 1fr; gap: 65px; padding-block: 35px 85px; align-items: center; }
.building-copy > .eyebrow { margin-bottom: 24px; }
.building-status { display: inline-flex; align-items: center; gap: 7px; padding: 6px 9px; background: #ecebcf; color: #6b6b3d; border: 1px solid #dedebe; border-radius: 4px; font: 10px/1.2 var(--sans); }
.building-status > span { width: 5px; height: 5px; border-radius: 50%; background: #828044; }
.building-copy h2 { margin-top: 15px; font-size: 40px; }
.building-lead { margin-top: 14px; font-size: 22px; line-height: 1.35; letter-spacing: -.5px; }
.building-lead .serif { letter-spacing: -.5px; }
.building-copy > p:not(.eyebrow):not(.building-lead):not(.scope-note) { font-size: 13px; line-height: 1.9; color: #6b7064; margin-top: 18px; max-width: 450px; }
.building-copy > .text-link { margin-top: 15px; }
.building-copy .scope-note { font-size: 10px; line-height: 1.6; color: #848979; margin-top: 10px; }
.avertiq-visual { position: relative; padding: 0; margin: 0; min-width: 0; }
.avertiq-scene { display: block; width: 100%; padding: 0; overflow: hidden; border: 1px solid #dfd3bf; border-radius: 18px; background: #f5e9dc; text-align: left; }
.avertiq-scene img { display: block; width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; }
.scene-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: #f6f1e7; border-top: 1px solid #e1d9c9; color: #716651; font: 8px/1.5 var(--mono); letter-spacing: .6px; }
.scene-caption > span:last-child { font: 18px/1 var(--sans); color: var(--blue); }
.avertiq-scene:focus-visible { outline-offset: 4px; }
.revision-card { display: flex; align-items: center; gap: 13px; position: relative; margin: 13px 0 0; background: #edf0e4; border: 1px solid #d6dccd; padding: 17px; border-radius: 13px; }
.revision-icon { display: grid; place-items: center; width: 35px; height: 35px; flex-shrink: 0; background: #e6ebfa; color: var(--blue); border-radius: 6px; font-size: 22px; }
.revision-card b { font-size: 13px; font-weight: 550; }
.revision-card div > span { display: block; font: 9px/1.5 var(--mono); margin-top: 7px; color: #7b8472; }
.revision-check { margin-left: auto; color: #809563; }
.avertiq-visual > .hand-note { display: block; margin-top: 14px; text-align: right; padding-right: 7px; font-size: 15px; color: #7d846e; transform: rotate(-3deg); }

/* Contribution notes: a coloured edge, a human explanation, and the evidence. */
.opensource-section { background: #f0eee4; border-block: 1px solid var(--line); padding-block: 76px 60px; }
.opensource-section .section-heading { align-items: center; margin-bottom: 29px; }
.opensource-section h2 { line-height: 1.16; }
.opensource-intro { max-width: 300px; }
.program-label { display: inline-flex; align-items: center; gap: 9px; font: 9px/1.6 var(--mono); letter-spacing: .7px; color: #585a4c; }
.program-label > span { color: #bf6c3f; font-size: 23px; }
.opensource-intro p { font-size: 13px; line-height: 1.8; color: #6b7261; margin-top: 10px; }
.contribution-summary { display: flex; align-items: center; gap: 14px; padding-block: 21px; border-block: 1px solid #d8d8cc; margin-bottom: 27px; }
.merge-symbol { width: 42px; height: 42px; background: #e2e7d4; border: 1px solid #d0d8bd; border-radius: 50%; display: grid; place-items: center; color: #607448; flex-shrink: 0; }
.merge-symbol > svg { width: 24px; height: 24px; }
.contribution-summary p strong { font-size: 14px; font-weight: 550; }
.contribution-summary p > span { display: block; font-size: 10px; color: #6d7560; margin-top: 6px; line-height: 1.6; }
.contribution-summary > a { margin-left: auto; font-size: 12px; }
.oss-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.oss-card { min-width: 0; position: relative; display: flex; flex-direction: column; padding: 24px 22px 0; background: #faf9f3; border: 1px solid #deddd3; border-radius: 13px; transition: transform .3s, box-shadow .3s; overflow: hidden; }
.oss-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 5px; background: var(--card-edge); }
.oss-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 25px; }
.oss-project-icon { width: 40px; height: 40px; background: var(--card-bg); color: var(--card-ink); display: grid; place-items: center; border: 1px solid var(--card-edge); border-radius: 10px; transform: rotate(-6deg); transition: transform .3s; }
.oss-project-icon > svg { width: 23px; height: 23px; }
.merged-badge { display: flex; align-items: center; gap: 4px; font-size: 9px; color: #526a40; padding: 5px 7px; border-radius: 20px; background: #eaf0df; }
.merged-badge > svg { width: 12px; height: 12px; }
.oss-category { color: #6d7365; font: 8px/1.6 var(--mono); letter-spacing: .6px; text-transform: uppercase; min-height: 26px; }
.oss-card h3 { font-size: 24px; font-weight: 600; letter-spacing: -.8px; margin-top: 6px; }
.oss-caption { font-size: 16px; line-height: 1.4; letter-spacing: -.25px; color: var(--card-ink); margin-top: 9px; min-height: 45px; }
.oss-change { flex: 1; margin-top: 19px; padding-top: 16px; border-top: 1px dashed #d9dacf; }
.oss-change > span { font: 8px/1.6 var(--mono); color: #6a735e; letter-spacing: .5px; }
.oss-change p { font-size: 12px; line-height: 1.85; color: #58614f; margin-top: 9px; }
.oss-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 16px; margin-top: 21px; border-top: 1px solid #dfe1d5; }
.oss-bottom > span { color: #687260; font-size: 9px; line-height: 1.6; }
.oss-bottom a { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 600; white-space: nowrap; padding-block: 7px; }
.oss-bottom a svg { width: 13px; height: 13px; }
.oss-bottom a:hover { color: var(--blue); }
.oss-footer-note { font: italic 14px/1.7 var(--serif); color: #727b64; margin-top: 25px; }
.oss-footer-note > span { color: #859367; margin-right: 7px; }
.about-section { background: var(--paper); border-top: 0; }

/* Local brand icons and plain labels, without proficiency claims. */
.toolkit-section { padding-block: 69px; gap: 0; }
.toolkit-section .section-heading { margin-bottom: 30px; }
.toolkit-section h2 { font-size: 37px; }
.toolkit-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.toolkit-group { min-width: 0; background: var(--card-bg); border: 1px solid var(--card-edge); padding: 25px 26px 21px; border-radius: 13px; }
.toolkit-heading { display: flex; align-items: center; gap: 10px; }
.toolkit-number { font: 10px/1.5 var(--mono); color: var(--card-ink); }
.toolkit-group h3 { font-size: 17px; font-weight: 550; letter-spacing: -.3px; }
.toolkit-spark { margin-left: auto; font-size: 23px; color: var(--card-ink); transform: rotate(8deg); }
.skill-list { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; padding: 0; margin: 23px 0 17px; }
.skill-list li { display: inline-flex; align-items: center; gap: 8px; background: #fff9; border: 1px solid #ffffffb8; border-radius: 8px; padding: 10px 12px; font-size: 12px; line-height: 1.4; color: #3f463d; }
.skill-symbol { display: grid; place-items: center; width: 21px; height: 21px; color: #54769e; flex-shrink: 0; }
.skill-symbol img,.skill-symbol svg { width: 20px; height: 20px; object-fit: contain; transition: transform .3s; }
.toolkit-group-note { font: italic 13px/1.6 var(--serif); color: var(--card-ink); }
.toolkit-specialties { border-block: 1px solid var(--line); margin-top: 27px; padding-block: 20px; display: flex; align-items: center; gap: 25px; flex-wrap: wrap; }
.toolkit-specialties .eyebrow { font-size: 8px; margin-bottom: 0; }
.specialty-list { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.specialty-list > span { display: inline-flex; gap: 8px; align-items: center; font-size: 11px; color: #616a55; }
.specialty-list svg,.specialty-list img { width: 17px; height: 17px; color: #718455; }
.toolkit-bottom { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-top: 14px; }
.toolkit-note { font: italic 14px/1.6 var(--serif); color: #737d64; margin: 0; }
.toolkit-bottom > a { font-size: 11px; }
.dialog-section-title { margin-top: 24px; font-size: 15px; font-weight: 550; }
.dialog-features { margin-top: 10px; }
.dialog-evidence { display: flex; flex-wrap: wrap; gap: 4px 20px; border-top: 1px solid var(--line); padding-top: 16px; margin-bottom: 24px; }
.dialog-evidence > .eyebrow { width: 100%; font-size: 9px; margin-bottom: 6px; }
.dialog-evidence a { font-size: 12px; }

.project-dialog { border-radius: 18px; }

/* A personal profile and a postcard to close the page. */
.about-refresh { padding-block: 76px 30px; border: 0; }
.about-refresh .section-heading { align-items: center; margin-bottom: 37px; }
.about-margin-note { font-size: 17px; color: #7d786b; transform: rotate(5deg); padding-right: 30px; }
.about-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 57px; align-items: stretch; }
.about-profile { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 29px 33px 0; border: 1px solid var(--card-edge); border-radius: 18px; background: var(--card-bg); }
.profile-topline { display: flex; justify-content: space-between; gap: 12px; font: 9px/1.5 var(--mono); letter-spacing: .7px; color: var(--card-ink); }
.profile-identity { display: contents; }
.profile-portrait { position: relative; height: 183px; display: grid; place-items: center; margin-top: 23px; background-image: radial-gradient(#8f7bac38 .7px, transparent .7px); background-size: 16px 16px; }
.profile-photo { display: block; width: 164px; height: 164px; overflow: hidden; border-radius: 50%; background: #f9f7ef; border: 5px solid #f9f7ef; box-shadow: 0 0 0 1px #d5cce2, 0 8px 20px -12px #65547580; }
.profile-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.9); transform-origin: 50% 2%; }
.profile-star { position: absolute; right: 25px; top: 6px; font-size: 59px; color: #9378b4; transform: rotate(10deg); }
.profile-loop { position: absolute; width: 105px; left: 0; bottom: -6px; color: #a48bb9; transform: rotate(-9deg); }
.about-profile h3 { font-size: 32px; font-weight: 600; letter-spacing: -1.1px; margin-top: 26px; }
.profile-description { font-size: 14px; line-height: 1.75; color: #665972; margin-top: 10px; }
.profile-sticker { align-self: flex-start; display: flex; align-items: center; gap: 10px; margin-block: 26px 29px; background: #f4e2bd; color: #7d653c; border: 1px solid #d8bd8c; border-radius: 5px; padding: 9px 15px; transform: rotate(-5deg); box-shadow: 2px 3px 0 #c7b79e35; font: 9px/1.4 var(--mono); letter-spacing: .3px; }
.profile-sticker > span:first-child { font-size: 29px; }
.profile-sticker strong { font-size: 13px; font-weight: 550; }
.profile-location { display: flex; align-items: center; gap: 8px; padding-block: 20px; border-top: 1px solid var(--card-edge); margin-top: auto; font-size: 11px; color: var(--card-ink); }
.profile-location svg { width: 16px; height: 16px; }
.profile-coordinate { margin-left: auto; font-size: 20px; }
.about-story { padding-block: 9px; }
.about-story-lead { font-size: 24px; line-height: 1.4; letter-spacing: -.6px; }
.about-story-lead .serif { letter-spacing: -.6px; color: #736480; }
.about-story > p:not(.about-story-lead) { font-size: 14px; color: #626859; line-height: 1.85; margin-top: 19px; }
.about-habits { display: grid; gap: 10px; padding: 0; margin: 24px 0 16px; list-style: none; }
.about-habits li { display: flex; align-items: flex-start; gap: 13px; padding: 14px 16px; background: var(--card-bg); border: 1px solid var(--card-edge); border-radius: 10px; }
.habit-icon { width: 32px; height: 32px; display: grid; place-items: center; background: #fff6; border-radius: 7px; color: var(--card-ink); flex-shrink: 0; }
.habit-icon svg { width: 20px; height: 20px; }
.about-habits h3 { font-size: 13px; font-weight: 600; line-height: 1.4; }
.about-habits p { color: #5f6656; font-size: 12px; line-height: 1.6; margin-top: 4px; }
.about-connect { font-size: 12px; gap: 12px; }
.contact-section.contact-refresh { padding-block: 22px 28px; border: 0; }
.contact-invitation { padding: 36px 40px 0; background: var(--card-bg); border: 1px solid var(--card-edge); border-radius: 19px; }
.contact-invitation > .eyebrow { color: var(--card-ink); font-size: 9px; letter-spacing: 1px; }
.invitation-layout { display: grid; grid-template-columns: 1fr 255px; gap: 27px; align-items: center; padding-block: 27px 29px; }
.invitation-copy h2 { font-size: clamp(36px,4.2vw,60px); line-height: 1.15; letter-spacing: -2.5px; }
.invitation-copy h2 .serif { display: inline-block; white-space: nowrap; letter-spacing: -2px; }
.invitation-copy > p { font-size: 13px; line-height: 1.85; color: #59677b; margin-top: 23px; max-width: 570px; }
.hello-postcard { position: relative; width: 100%; max-width: 290px; justify-self: center; padding-top: 15px; }
.postcard-note { display: block; color: #65799c; font-size: 14px; text-align: center; transform: rotate(6deg); }
.postcard-art { width: 100%; height: auto; margin-top: 5px; }
.hello-letter { transition: transform .4s ease; }
.invitation-footnote { display: flex; align-items: center; gap: 9px; padding-block: 17px; border-top: 1px solid var(--card-edge); color: #5c6c86; font: italic 13px/1.6 var(--serif); }
.invitation-footnote > span { font: 20px/1 var(--sans); }
.contact-methods { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 17px; margin-top: 18px; }
.contact-route { min-width: 0; padding: 24px 25px 22px; background: var(--card-bg); border: 1px solid var(--card-edge); border-radius: 14px; color: var(--ink); }
.route-heading { display: flex; align-items: center; justify-content: space-between; gap: 13px; margin-bottom: 21px; }
.route-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid #ffffff80; background: #fff6; color: var(--card-ink); }
.route-icon > svg { width: 23px; height: 23px; }
.route-icon > img { display: block; width: 24px; height: 24px; }
.route-heading > svg { width: 18px; height: 18px; color: var(--card-ink); transition: transform .25s; }
.route-label { font: 8px/1.5 var(--mono); letter-spacing: .6px; color: var(--card-ink); }
.route-icon.linkedin-mark { font: 700 25px/1 Arial,sans-serif; letter-spacing: -1px; }
.contact-route h3 { font-size: 21px; font-weight: 550; line-height: 1.3; letter-spacing: -.6px; }
.email-address { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; color: #7a513b; margin-top: 11px; padding-block: 4px; }
.email-address > svg { width: 14px; height: 14px; flex-shrink: 0; }
.email-address:hover { text-decoration: underline; text-underline-offset: 4px; }
.email-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 15px; }
.copy-email { background: #fff7; border: 1px solid var(--card-edge); border-radius: 6px; padding: 8px 10px; align-items: center; gap: 6px; font-size: 10px; color: #80583c; }
.copy-email:not([hidden]) { display: inline-flex; }
.copy-email svg { width: 13px; height: 13px; }
.copy-email:hover { background: #fff; }
.copy-status { color: #75523c; font-size: 10px; line-height: 1.5; }
.route-link { display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.route-link > p { font-size: 12px; line-height: 1.7; color: #636254; margin-top: 8px; margin-bottom: 20px; }
.route-destination { display: block; font-size: 11px; font-weight: 550; color: var(--card-ink); margin-top: auto; }
.contact-signoff { display: flex; justify-content: center; align-items: center; gap: 12px; text-align: center; font-size: 14px; line-height: 1.6; color: #7d806d; margin-top: 27px; }
.contact-signoff > span { color: #acb784; font-style: normal; font-family: var(--sans); font-size: 22px; }

/* One entrance per card. Content stays visible even if JavaScript fails. */
@keyframes card-arrive { from { opacity: .3; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
.card-entering { animation: card-arrive .6s cubic-bezier(.2,.7,.2,1) both; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .contact-invitation:hover .hello-letter { transform: translateY(-7px); }
  .route-link:hover { transform: translateY(-4px); box-shadow: 0 9px 20px -14px #3c42394d; }
  .route-link:hover .route-heading > svg { transform: translate(2px,-2px); }
  .project-card:hover { transform: translateY(-5px); box-shadow: 0 12px 24px -17px #35312550; }
  .project-card .project-preview:hover .app-window,.project-card .project-preview:hover .project-screenshot { transform: rotate(0deg) translateY(-4px); }
  .project-preview:hover .project-doodle { transform: rotate(-10deg) scale(1.08); }
  .rover-preview:hover > svg { transform: translateY(-5px) rotate(1deg); }
  .oss-card:hover { transform: translateY(-4px); box-shadow: 0 10px 18px -14px #3c42394d; }
  .oss-card:hover .oss-project-icon { transform: rotate(4deg); }
  .skill-list li:hover img,.skill-list li:hover svg { transform: rotate(-8deg) translateY(-2px); }
}
@media(max-width:1100px) {
  .about-layout { gap: 35px; grid-template-columns: .9fr 1.1fr; }
  .about-profile { padding-inline: 26px; }
  .about-profile h3 { font-size: 29px; }
  .about-story-lead { font-size: 22px; }
  .about-story > p:not(.about-story-lead) { font-size: 13px; }
  .invitation-layout { grid-template-columns: 1fr 205px; gap: 20px; }
  .contact-invitation { padding-inline: 30px; }
  .invitation-copy h2 { font-size: 43px; }
  .contact-methods { grid-template-columns: 1.25fr 1fr 1fr; gap: 13px; }
  .contact-route { padding: 22px 18px; }
  .contact-route h3 { font-size: 19px; }
  .email-address { font-size: 12px; gap: 6px; }
  .header nav { gap: 23px; } .wordmark { font-size: 26px; }
  .project-card .catchup-main h3 { font-size: 13px; }
  .project-card-body { padding-inline: 22px; } .card-topline { padding-inline: 22px; }
  .card-note { display: none; } .project-title { font-size: 28px; }
  .oss-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
  .oss-card { padding: 26px 27px 0; } .oss-category { min-height: 0; }
  .oss-caption { min-height: 0; font-size: 18px; } .oss-card h3 { font-size: 26px; }
  .oss-change p { font-size: 13px; } .building-section { gap: 37px; }
  .toolkit-section h2 { font-size: 32px; }
}
@media(max-width:760px) {
  .about-refresh { padding-block: 49px 8px; }
  .about-margin-note { display: none; }
  .about-layout { grid-template-columns: 1fr; gap: 26px; }
  .about-profile { padding: 24px 26px 0; }
  .profile-portrait { height: 162px; margin-top: 16px; }
  .profile-photo { width: 148px; height: 148px; }
  .profile-star { right: 14%; top: 5px; font-size: 50px; }
  .profile-loop { left: 8%; width: 92px; }
  .about-profile h3 { margin-top: 18px; }
  .profile-sticker { margin: 0 0 23px; }
  .profile-description { font-size: 13px; margin-bottom: 23px; }
  .profile-location { padding-block: 17px; }
  .about-story-lead { font-size: 23px; }
  .about-story > p:not(.about-story-lead) { font-size: 13px; }
  .about-habits { gap: 11px; }
  .about-habits li { padding: 14px; }
  .about-habits p { font-size: 11px; }
  .contact-section.contact-refresh { padding-block: 7px 16px; }
  .contact-invitation { padding: 26px 25px 0; }
  .contact-invitation > .eyebrow { font-size: 8px; line-height: 1.7; }
  .invitation-layout { grid-template-columns: 1fr; gap: 15px; padding-block: 24px 15px; }
  .invitation-copy h2 { font-size: 39px; letter-spacing: -1.8px; }
  .invitation-copy h2 .serif { letter-spacing: -1.7px; }
  .invitation-copy > p { font-size: 12px; margin-top: 18px; }
  .invitation-copy > p br { display: none; }
  .hello-postcard { max-width: 230px; padding-top: 5px; }
  .postcard-note { font-size: 13px; }
  .invitation-footnote { font-size: 11px; align-items: flex-start; }
  .contact-methods { grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
  .contact-email { grid-column: 1/-1; }
  .contact-route { padding: 23px; }
  .contact-email .route-heading { margin-bottom: 15px; }
  .contact-email h3 { font-size: 23px; }
  .email-address { font-size: 15px; }
  .route-link { padding: 22px 19px; }
  .route-link > p { font-size: 11px; }
  .contact-signoff { font-size: 12px; gap: 10px; }
  .header nav { gap: 17px; } .header nav a.nav-gssoc { display: inline-block; }
  .header nav a.nav-about { display: none; } .header nav a > span { display: none; }
  .header nav .nav-contact span { display: inline; }
  .wordmark { font-size: 24px; } .wordmark > .wordmark-spark { font-size: 26px; }
  .hero .eyebrow { gap: 6px; letter-spacing: 1px; }
  .work-section { padding-block: 52px 30px; } .project-grid { gap: 23px; }
  .project-card { border-radius: 16px; } .project-card .project-preview { height: 278px; }
  .project-card .catchup-main h3 { font-size: 15px; } .card-note { display: inline; }
  .card-topline { padding-top: 20px; } .project-card-body { padding-top: 22px; }
  .project-title { font-size: 29px; } .project-work { margin-top: 17px; }
  .work-footer { align-items: flex-start; gap: 15px; }
  .work-footer > .hand-note { font-size: 12px; max-width: 190px; }
  .work-footer > a { font-size: 11px; white-space: nowrap; }
  .building-section { grid-template-columns: 1fr; gap: 28px; padding-block: 22px 43px; }
  .building-copy > .eyebrow { font-size: 9px; } .building-copy h2 { font-size: 36px; }
  .building-copy > p:not(.eyebrow):not(.building-lead):not(.scope-note) { font-size: 12px; }
  .avertiq-visual { padding: 8px 5px 45px; }
  .revision-card { margin-left: 0; margin-right: 3px; padding: 14px; gap: 9px; }
  .revision-card b { font-size: 12px; } .revision-card div > span { font-size: 8px; }
  .avertiq-visual > .hand-note { right: 8px; bottom: 5px; font-size: 13px; }
  .opensource-section { padding-block: 48px 38px; }
  .opensource-section .section-heading { margin-bottom: 23px; }
  .opensource-intro { margin-top: 22px; } .program-label { font-size: 8px; }
  .opensource-intro p { font-size: 12px; margin-top: 8px; } .opensource-intro p br { display: none; }
  .contribution-summary { flex-wrap: wrap; gap: 11px; padding-block: 18px; }
  .contribution-summary p { flex: 1; } .contribution-summary p strong { font-size: 12px; }
  .contribution-summary p > span { font-size: 9px; }
  .contribution-summary > a { margin-left: 53px; flex-basis: calc(100% - 53px); font-size: 11px; }
  .oss-grid { gap: 16px; } .oss-card { padding: 22px 21px 0; }
  .oss-card-top { margin-bottom: 19px; } .oss-card h3 { font-size: 24px; }
  .oss-change p { font-size: 12px; } .oss-footer-note { font-size: 13px; }
  .notebook { width: min(285px,calc(100% - 24px)); }
  .toolkit-section { padding-block: 46px; } .toolkit-section h2 { font-size: 32px; }
  .toolkit-groups { grid-template-columns: 1fr; gap: 16px; }
  .toolkit-group { padding: 23px 22px 21px; } .toolkit-specialties { gap: 15px; }
  .specialty-list { gap: 15px 20px; } .toolkit-bottom { align-items: flex-start; }
  .toolkit-note { max-width: 200px; font-size: 12px; }
  .toolkit-bottom a { white-space: nowrap; font-size: 10px; gap: 8px; }
  .footer .wordmark { font-size: 22px; } .footer .wordmark > .wordmark-spark { font-size: 24px; }
}
@media(max-width:540px) {
  .profile-description { margin-bottom: 21px; }
  .profile-star { right: 4%; }
  .profile-loop { left: 0; }
  .about-story-lead { font-size: 22px; }
  .about-story-lead br { display: none; }
  .invitation-copy h2 { font-size: clamp(29px,8.5vw,39px); }
  .contact-route { padding-inline: 21px; }
  .contact-methods { grid-template-columns: 1fr; }
  .route-link { position: relative; padding-left: 79px; min-height: 140px; }
  .route-link .route-heading { position: absolute; top: 23px; left: 21px; right: 21px; margin: 0; }
  .route-link h3,.route-link > p,.route-destination { padding-right: 22px; }
  .route-link .route-heading > svg { align-self: start; width: 15px; }
  .route-link > p { margin-bottom: 13px; }
  .header .wordmark-name { font-size: 23px; line-height: .88; letter-spacing: -1.1px; }
  .header .wordmark-name > span { display: block; }
  .header .wordmark-spark { font-size: 26px; margin-left: 0; }
  .header nav { gap: 14px; font-size: 11px; } .header .nav-contact { padding: 10px 12px; }
  .header .nav-contact span { margin-left: 4px; }
  .oss-grid { grid-template-columns: 1fr; } .oss-card { padding-inline: 24px; }
  .oss-caption { min-height: 0; } .card-note { font-size: 11px; }
  .project-card .project-preview { height: 245px; margin-inline: 12px; width: calc(100% - 24px); }
  .project-card .app-window,.project-screenshot { height: 192px; top: 23px; }
  .project-card .catchup-app { grid-template-columns: 65px 1fr; }
  .project-card .catchup-app aside { padding: 10px 4px; }
  .project-card .app-logo { font-size: 23px; margin-left: 4px; }
  .project-card .sidebar-item { font-size: 6px; padding-inline: 3px; white-space: nowrap; }
  .project-card .sidebar-bottom { left: 7px; font-size: 5px; }
  .project-card .catchup-main { padding: 13px 9px; }
  .project-card .catchup-main h3 { font-size: 12px; margin-top: 5px; }
  .project-card .catchup-main h3 > span { display: none; }
  .project-card .mini-tabs { gap: 10px; margin-top: 11px; }
  .project-card .mini-tasks > div { padding-block: 6px; font-size: 6px; }
  .project-card .mini-tasks > div:last-child { display: none; }
  .project-doodle { font-size: 31px; width: 35px; height: 35px; }
  .rover-preview > svg { height: 208px; margin-top: 5px; }
  .card-topline { font-size: 8px; letter-spacing: .45px; padding-inline: 20px; }
  .project-card-body { padding-inline: 20px; }
  .project-work,.project-tagline { font-size: 12px; }
  .card-actions { gap: 10px; } .card-detail { font-size: 11px; gap: 10px; }
  .card-actions > a { font-size: 10px; gap: 5px; padding: 8px 10px; }
  .skill-list { gap: 8px; } .skill-list li { font-size: 11px; padding: 9px 10px; gap: 7px; }
}
@media(max-width:370px) {
  .about-profile { padding-inline: 21px; }
  .profile-topline { font-size: 8px; }
  .about-profile h3 { font-size: 28px; }
  .about-connect { font-size: 11px; gap: 8px; }
  .contact-invitation { padding-inline: 20px; }
  .invitation-copy h2 { font-size: 30px; letter-spacing: -1.6px; }
  .invitation-copy h2 .serif { letter-spacing: -1.4px; }
  .email-address { font-size: 13px; }
  .route-link { padding-left: 73px; }
  .route-link h3 { font-size: 19px; }
  .hero h1 { font-size: clamp(30px,10vw,37px); letter-spacing: -2px; }
  .header nav { gap: 11px; font-size: 10px; } .header .nav-contact { padding: 8px 9px; }
  .header .wordmark-name { font-size: 21px; } .header .wordmark-spark { font-size: 23px; }
  .hero .eyebrow { font-size: 8px; } .card-note { display: none; }
  .project-card-body { padding-inline: 17px; }
  .project-card .catchup-main h3 { font-size: 10px; }
  .project-card .catchup-main > p { font-size: 6px; } .project-card .mini-eyebrow { font-size: 5px; }
  .project-card .summary-card { gap: 4px; padding: 5px; }
  .project-card .preview-footnote { font-size: 6px; letter-spacing: .35px; }
  .stack-tags { gap: 5px; } .stack-tags > span { font-size: 9px; padding: 5px 7px; }
  .card-actions > a { padding-inline: 8px; } .card-detail { font-size: 10px; gap: 7px; }
  .oss-card { padding-inline: 20px; } .toolkit-group { padding-inline: 18px; }
}
@media(prefers-reduced-motion:reduce) {
  .card-entering { animation: none; }
  .project-card,.oss-card,.project-screenshot,.project-doodle,.skill-symbol img,.skill-symbol svg { transition: none; }
}

/* A quiet floating navigation and a brighter welcome. */
html { scroll-padding-top: 126px; }
main > section[tabindex="-1"]:focus { outline: none; }
.site-header { position: sticky; top: 16px; z-index: 40; height: 82px; margin-top: 22px; padding: 13px 21px; border: 1px solid #dcdccf; border-radius: 16px; background: #fbfaf4f5; box-shadow: 0 7px 22px -17px #35312545; backdrop-filter: blur(14px); }
.brand-lockup { flex-shrink: 0; }
.site-header .wordmark { gap: 6px; font-size: 26px; letter-spacing: -1.4px; }
.site-header .wordmark-name { font: inherit; line-height: 1; }
.site-header .wordmark-name > span { display: inline; }
.site-header .wordmark-spark { font-size: 28px; }
.brand-note { display: block; margin-top: 6px; font: 6px/1.5 var(--mono); letter-spacing: .8px; color: #7d816f; }
.site-header .site-nav { display: flex; align-items: center; gap: 5px; font-size: 12px; }
.site-header .site-nav > a { display: inline-flex; align-items: center; gap: 7px; padding: 12px 15px; border-radius: 9px; transition: color .2s, background .2s; }
.site-header .site-nav > a > span { display: inline; margin: 0; font-size: 9px; color: #80866f; }
.site-header .site-nav > a:hover { background: #edeade; color: var(--ink); }
.site-header .site-nav > a[aria-current="location"] { background: #e4eaf9; color: #3152c9; }
.site-header .site-nav > .nav-contact { margin-left: 8px; padding: 12px 17px; border: 1px solid #c9d3f2; background: #e4eaf9; color: #3152c9; border-radius: 10px; }
.site-header .site-nav > .nav-contact > span { color: inherit; font-size: 17px; margin-left: 5px; }
.site-header .site-nav > .nav-contact:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.nav-toggle { display: none; }
.hero.hero-refresh { padding-top: 45px; grid-template-columns: 1.3fr 1fr; gap: 22px 36px; align-items: center; }
.hero-refresh .hero-copy { min-width: 0; padding-block: 24px 28px; }
.hero-refresh .hero-intro { display: inline-flex; width: fit-content; flex-wrap: wrap; gap: 6px; margin-bottom: 26px; padding: 8px 11px; background: #eee8f4; color: #655475; border: 1px solid #dfd4ea; border-radius: 7px; font-size: 9px; letter-spacing: 1px; }
.hero-refresh .tiny-star { font-size: 17px; color: #8666a4; margin-right: 2px; }
.hero-refresh h1 { font-size: clamp(46px,5.3vw,80px); line-height: 1.09; letter-spacing: -4.2px; white-space: normal; }
.hero-refresh .hero-description { font-size: 14px; line-height: 1.9; color: #69705e; margin-top: 31px; }
.hero-description > strong { font-weight: 500; color: #4d5545; }
.hero-refresh .hero-actions { gap: 13px; margin-top: 27px; flex-wrap: wrap; }
.hero-primary { background: var(--blue); color: #fff; border: 1px solid var(--blue); border-radius: 10px; padding: 16px 22px; gap: 25px; }
.hero-primary:hover { background: #2846ce; transform: translateY(-2px); }
.hero-secondary { background: #faf9f1; color: #45483e; border: 1px solid #d9dccd; border-radius: 10px; gap: 9px; padding: 16px 17px; }
.hero-secondary:hover { background: #ebe6f4; transform: translateY(-2px); }
.hero-secondary > span { font-size: 17px; }
.hero-current { display: inline-flex; align-items: center; gap: 9px; margin-top: 22px; font-size: 10px; line-height: 1.5; color: #7b7f6b; padding-block: 5px; }
.hero-current strong { color: #556444; font-weight: 550; margin-left: 5px; }
.current-spark { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 6px; background: #e7ebd9; color: #6c7b50; font-size: 18px; }
.hero-current:hover strong { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.hero-refresh .hero-art { width: 100%; height: 460px; top: 0; margin: 0; background-color: #f1eddf; background-image: radial-gradient(#bcb8a44a .75px,transparent .75px); background-size: 17px 17px; border: 1px solid #dfdac8; border-radius: 21px; mask-image: none; isolation: isolate; }
.hero-refresh .hero-art::before { content: ''; position: absolute; width: 77%; height: 73%; left: 11%; top: 66px; border: 1px solid #e1ccb8; border-radius: 47% 53% 50% 46%; background: #efddca; transform: rotate(-12deg); z-index: -1; }
.hero-art-label { position: absolute; top: 20px; left: 21px; font: 7px/1.5 var(--mono); color: #87826b; letter-spacing: .65px; }
.hero-refresh .note-top { top: 51px; right: 20px; font-size: 15px; color: #746e5e; }
.hero-refresh .doodle-arrow { top: 93px; right: 20px; width: 48px; height: 48px; }
.hero-refresh .mascot { width: clamp(240px,25vw,310px); height: clamp(240px,25vw,310px); top: 93px; }
.hero-refresh .mascot-shadow { top: 373px; width: 205px; background: #d8c9b6; opacity: .65; }
.hero-refresh .mascot-hint { top: 414px; font-size: 13px; color: #7b705e; }
.hero-refresh .label-code { top: 109px; left: 20px; font-size: 19px; color: #8c8069; }
.hero-refresh .label-star { right: 17px; bottom: 107px; font-size: 40px; }
.hero-refresh .art-sticker { left: 16px; bottom: 77px; transform: rotate(-9deg) scale(.9); transform-origin: left bottom; }
.hero-refresh .art-coordinate { bottom: 13px; right: 17px; color: #8a836e; font-size: 6px; letter-spacing: .8px; }
.hero-refresh .hero-bottom { margin-top: 0; padding-block: 20px; }
.values-strip { border: 0; background: transparent; }
.values-strip .wrap { padding: 19px 24px; border: 1px solid #dedfce; border-radius: 10px; background: #f0f0e4; font-size: 12px; gap: 16px; }
.values-strip i { font-size: 17px; color: #7f8d60; }
@media(max-width:1100px) {
  .site-header { padding-inline: 18px; }
  .site-header .site-nav > a { padding-inline: 12px; }
  .site-header .wordmark { font-size: 23px; }
  .site-header .wordmark-spark { font-size: 25px; }
  .brand-note { font-size: 5px; letter-spacing: .6px; }
  .hero.hero-refresh { column-gap: 27px; }
  .hero-refresh h1 { font-size: clamp(44px,5.4vw,60px); letter-spacing: -2.9px; }
  .hero-refresh .hero-art { height: 423px; }
  .hero-refresh .mascot { top: 105px; }
  .hero-refresh .mascot-shadow { top: 337px; width: 177px; }
  .hero-refresh .mascot-hint { top: 378px; }
  .hero-refresh .art-sticker { bottom: 69px; transform: rotate(-9deg) scale(.8); }
}
@media(max-width:860px) {
  html { scroll-padding-top: 108px; }
  .site-header { height: 72px; top: 12px; margin-top: 15px; padding: 14px 18px; }
  .site-header .wordmark { font-size: 24px; }
  .site-header .wordmark-name { font: inherit; line-height: 1; }
  .site-header .wordmark-name > span { display: inline; }
  .site-header .wordmark-spark { font-size: 26px; }
  .brand-note { display: none; }
  .site-header.nav-ready .nav-toggle:not([hidden]) { display: inline-flex; align-items: center; gap: 10px; background: #ede8f4; border: 1px solid #ded4ea; border-radius: 8px; color: #655576; font-size: 11px; padding: 10px 12px; }
  .nav-toggle svg { width: 19px; height: 19px; transition: transform .25s; }
  .site-header.is-open .nav-toggle svg { transform: rotate(90deg); }
  .site-header.nav-ready .site-nav { display: none; position: absolute; top: calc(100% + 10px); left: 0; right: 0; border: 1px solid #dadbce; border-radius: 13px; padding: 9px; background: #fbfaf4; box-shadow: 0 13px 25px -16px #24252160; }
  .site-header.nav-ready.is-open .site-nav { display: grid; gap: 4px; }
  .site-header .site-nav > a[href] { display: flex; justify-content: space-between; padding: 13px 15px; font-size: 13px; border-radius: 8px; }
  .site-header .site-nav > .nav-work { background: #eee8f5; }
  .site-header .site-nav > .nav-gssoc { background: #e9eedf; }
  .site-header .site-nav > .nav-about { background: #f8e9dc; }
  .site-header .site-nav > .nav-toolkit { background: #f0eee3; }
  .site-header .site-nav > .nav-contact { margin: 1px 0 0; }
  .site-header:not(.nav-ready) { height: auto; flex-wrap: wrap; gap: 12px; }
  .site-header:not(.nav-ready) .site-nav { display: flex; flex-wrap: wrap; width: 100%; }
  .hero.hero-refresh { grid-template-columns: 1fr; padding-top: 34px; gap: 23px; }
  .hero-refresh .hero-copy { padding-block: 8px 4px; }
  .hero-refresh .hero-intro { margin-bottom: 24px; }
  .hero-refresh h1 { font-size: clamp(45px,8vw,65px); letter-spacing: -3.1px; }
  .hero-refresh .hero-description { margin-top: 28px; font-size: 14px; }
  .hero-refresh .hero-art { width: min(440px,100%); height: 430px; margin-inline: auto; }
  .hero-refresh .mascot { width: 290px; height: 290px; top: 86px; }
  .hero-refresh .mascot-shadow { top: 352px; width: 193px; }
  .hero-refresh .mascot-hint { top: 389px; }
  .hero-refresh .art-sticker { bottom: 69px; transform: rotate(-9deg) scale(.85); }
  .hero-refresh .art-coordinate { display: block; font-size: 6px; }
  .hero-refresh .hero-bottom { margin-top: 0; }
  .values-strip .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; padding: 17px 20px; }
  .values-strip i { display: none; }
  .values-strip span:last-child { display: none; }
  .values-strip span::before { content: '✳'; color: #88966c; margin-right: 9px; }
}
@media(max-width:540px) {
  .site-header { padding-inline: 14px; border-radius: 13px; height: 68px; }
  .site-header .wordmark { font-size: 23px; }
  .site-header .wordmark-name { font-size: inherit; letter-spacing: -1.3px; }
  .site-header .wordmark-spark { font-size: 24px; }
  .hero-refresh h1 { font-size: clamp(36px,9.1vw,49px); letter-spacing: -2.3px; }
  .hero-refresh .hero-intro { font-size: 8px; letter-spacing: .7px; padding: 8px 9px; }
  .hero-refresh .hero-description { font-size: 13px; }
  .hero-refresh .hero-actions { gap: 10px; }
  .hero-primary { padding: 15px 18px; font-size: 12px; gap: 16px; }
  .hero-secondary { padding: 15px 14px; font-size: 12px; gap: 7px; }
  .hero-current { margin-top: 17px; }
  .hero-refresh .hero-art { height: 382px; border-radius: 17px; }
  .hero-refresh .hero-art::before { top: 55px; height: 72%; left: 9%; width: 81%; }
  .hero-refresh .hero-art-label { font-size: 6px; top: 18px; left: 17px; }
  .hero-refresh .note-top { font-size: 13px; top: 43px; right: 16px; }
  .hero-refresh .doodle-arrow { width: 39px; height: 39px; top: 79px; right: 14px; }
  .hero-refresh .mascot { width: 255px; height: 255px; top: 79px; }
  .hero-refresh .mascot-shadow { top: 311px; width: 170px; }
  .hero-refresh .mascot-hint { top: 344px; font-size: 12px; }
  .hero-refresh .label-code { top: 99px; left: 14px; font-size: 17px; }
  .hero-refresh .label-star { bottom: 95px; right: 13px; font-size: 32px; }
  .hero-refresh .art-sticker { bottom: 62px; left: 13px; transform: rotate(-9deg) scale(.75); }
  .hero-refresh .art-coordinate { bottom: 10px; font-size: 5px; }
  .hero-refresh .hero-bottom { gap: 12px; padding-block: 18px; }
  .hero-refresh .hero-bottom > span { font-size: 6px; }
  .values-strip .wrap { font-size: 10px; padding-inline: 15px; gap: 13px; }
}
@media(max-width:370px) {
  .site-header .wordmark { font-size: 21px; }
  .site-header .wordmark-spark { font-size: 22px; }
  .site-header.nav-ready .nav-toggle:not([hidden]) { font-size: 10px; padding: 9px 10px; gap: 7px; }
  .hero-refresh h1 { font-size: clamp(30px,9.7vw,36px); letter-spacing: -2px; }
  .hero-primary { padding: 14px; gap: 12px; font-size: 11px; }
  .hero-secondary { padding: 14px 11px; gap: 6px; font-size: 11px; }
  .hero-secondary img { width: 16px; height: 16px; }
  .hero-refresh .mascot { width: 232px; height: 232px; top: 91px; }
  .hero-refresh .hero-bottom p { font-size: 9px; }
}

/* Phone layouts: comfortable taps, shorter previews, and a little room to breathe. */
html:has(.project-dialog[open]) { overflow: hidden; }
.nav-toggle path { transform-origin: 12px 12px; transition: transform .18s ease; }
.nav-toggle .menu-line-top { transform: translateY(-3px); }
.nav-toggle .menu-line-bottom { transform: translateY(3px); }
.site-header.is-open .nav-toggle svg { transform: none; }
.site-header.is-open .menu-line-top { transform: rotate(45deg); }
.site-header.is-open .menu-line-bottom { transform: rotate(-45deg); }
.detail-label-mobile { display: none; }
.card-detail > .detail-label { font: inherit; }
.card-detail:hover > .detail-label { transform: none; }
@keyframes menu-arrives { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
@media(max-width:860px) {
  .site-header.nav-ready .site-nav { max-height: calc(100dvh - 108px - env(safe-area-inset-bottom,0px)); overflow-y: auto; overscroll-behavior: contain; }
  .site-header.nav-ready.is-open .site-nav { animation: menu-arrives .18s ease-out; }
  .site-header .site-nav > a[aria-current="location"] { box-shadow: inset 0 0 0 2px #a7b6e2; color: #3152c9; }
}
@media(max-width:600px) {
  html { scroll-padding-top: 88px; }
  .site-header { top: max(8px,env(safe-area-inset-top,0px)); height: 64px; margin-top: 10px; padding: 9px 12px; border-radius: 15px; }
  .site-header .wordmark { min-height: 44px; font-size: 22px; gap: 5px; }
  .site-header .wordmark-name { letter-spacing: -1.1px; }
  .site-header .wordmark-spark { font-size: 24px; }
  .site-header.nav-ready .nav-toggle:not([hidden]) { min-height: 44px; padding: 10px 12px; font-size: 12px; gap: 8px; }
  .site-header.nav-ready .site-nav { top: calc(100% + 8px); border-radius: 16px; padding: 8px; max-height: calc(100dvh - 94px - env(safe-area-inset-bottom,0px)); }
  .site-header.nav-ready.is-open .site-nav { grid-template-columns: 1fr 1fr; gap: 7px; }
  .site-header .site-nav > a[href] { min-height: 56px; padding: 13px; border-radius: 10px; font-size: 13px; }
  .site-header .site-nav > .nav-contact { grid-column: 1/-1; min-height: 48px; margin: 0; }
  .hero.hero-refresh { padding-top: 25px; gap: 19px; }
  .hero-refresh .hero-copy { padding: 0; }
  .hero-refresh .hero-intro { margin-bottom: 19px; font-size: 9px; letter-spacing: .5px; }
  .hero-refresh h1 { font-size: clamp(32px,9.45vw,53px); line-height: 1.12; letter-spacing: -1.9px; }
  .hero-refresh .hero-description { font-size: 14px; line-height: 1.75; margin-top: 25px; max-width: 420px; }
  .hero-refresh .hero-actions { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; margin-top: 21px; }
  .hero-actions .hero-primary,.hero-actions .hero-secondary { min-height: 48px; justify-content: center; padding: 12px; font-size: 12px; gap: 12px; border-radius: 11px; }
  .hero-actions .hero-secondary { gap: 8px; }
  .hero-current { min-height: 44px; margin-top: 8px; font-size: 11px; }
  .hero-refresh .hero-art { width: 100%; max-width: 440px; height: 290px; border-radius: 18px; }
  .hero-refresh .hero-art::before { width: 74%; height: 76%; top: 35px; left: 14%; }
  .hero-refresh .hero-art-label { top: 15px; left: 16px; font-size: 6px; }
  .hero-refresh .note-top { top: 28px; right: 15px; font-size: 12px; }
  .hero-refresh .doodle-arrow { width: 31px; height: 31px; top: 63px; right: 17px; }
  .hero-refresh .mascot { width: 207px; height: 207px; top: 44px; }
  .hero-refresh .mascot-shadow { width: 142px; top: 231px; }
  .hero-refresh .mascot-hint { top: auto; bottom: 16px; font-size: 12px; }
  .hero-refresh .label-code { top: 75px; left: 17px; font-size: 17px; }
  .hero-refresh .label-star { right: 17px; bottom: 57px; font-size: 29px; }
  .hero-refresh .art-sticker { left: 13px; bottom: 42px; transform: rotate(-9deg) scale(.65); }
  .hero-refresh .art-coordinate { display: none; }
  .hero-refresh .hero-bottom { padding-block: 14px; }
  .hero-refresh .hero-bottom p { font-size: 10px; }
  .hero-refresh .hero-bottom > span { font-size: 7px; letter-spacing: .6px; }
  .values-strip .wrap { gap: 13px 9px; padding: 16px; border-radius: 12px; font-size: 11px; }
  .work-section { padding-top: 42px; }
  .work-section .section-heading { margin-bottom: 24px; }
  .work-section .section-heading h2 { font-size: clamp(30px,8.3vw,38px); line-height: 1.15; }
  .work-section .section-heading > p { font-size: 13px; margin-top: 12px; max-width: 330px; }
  .project-grid { gap: 22px; }
  .project-card { border-radius: 19px; }
  .card-topline { padding: 17px 18px 0; font-size: 8px; letter-spacing: .5px; }
  .card-number { padding: 4px 7px; background: #fff6; border: 1px solid var(--card-edge); border-radius: 6px; font-size: 9px; opacity: 1; }
  .project-card .project-preview { margin: 12px 10px 0; width: calc(100% - 20px); height: clamp(175px,52vw,235px); border-radius: 12px; }
  .project-card .app-window,.project-card .project-screenshot { width: 86%; left: 7%; top: 17px; height: calc(100% - 43px); }
  .project-card .catchup-main { padding: 9px; }
  .project-card .catchup-main > p { display: none; }
  .project-card .mini-tabs { margin-top: 8px; }
  .project-card .catchup-main h3 { margin-top: 3px; }
  .project-card .summary-card { margin-top: 6px; }
  .project-card .mini-tasks { display: none; }
  .project-card .preview-footnote { left: 12px; bottom: 7px; font-size: 7px; letter-spacing: .35px; }
  .rover-preview > svg { width: 84%; height: calc(100% - 25px); margin-top: 0; }
  .project-card-body { padding: 18px 18px 0; }
  .card-role-row { gap: 8px; }
  .card-role-row .role-label { font-size: 10px; letter-spacing: 0; }
  .card-note { font-size: 11px; }
  .project-title { min-height: 44px; font-size: 28px; margin-top: 6px; }
  .project-tagline { font-size: 13px; line-height: 1.6; margin-top: 2px; }
  .project-work { font-size: 13px; line-height: 1.7; margin-top: 15px; padding: 12px 13px; border: 1px solid #ffffff70; border-radius: 10px; background: #ffffff45; }
  .project-work > span { font-size: 9px; letter-spacing: .5px; margin-bottom: 6px; }
  .project-card .stack-tags { gap: 6px; margin-top: 13px; }
  .project-card .stack-tags > span { font-size: 10px; padding: 6px 8px; }
  .card-actions { display: grid; grid-template-columns: 1.2fr 1fr; gap: 9px; margin-top: 16px; padding-block: 14px; }
  .card-actions .card-detail,.card-actions > a { min-width: 0; min-height: 46px; justify-content: center; gap: 6px; padding: 9px 8px; font-size: 12px; border: 1px solid var(--card-edge); border-radius: 10px; background: #fff7; }
  .card-actions .card-detail { background: #fffb; }
  .card-detail > .detail-label { display: none; }
  .card-detail > .detail-label-mobile { display: inline; font: inherit; }
  .card-detail:hover > .detail-label-mobile { transform: none; }
  .card-actions > a:active,.card-actions .card-detail:active { background: #fff; }
  .work-footer { flex-direction: column; gap: 8px; }
  .work-footer > .hand-note { max-width: none; font-size: 13px; }
  .work-footer > a { min-height: 44px; font-size: 12px; }
  .project-dialog { position: fixed; inset: 0; width: calc(100% - 20px); max-height: calc(100dvh - 88px - env(safe-area-inset-bottom,0px)); margin: auto auto max(10px,env(safe-area-inset-bottom,0px)); padding: 20px; border-radius: 20px; overscroll-behavior: contain; }
  .dialog-close { position: sticky; top: 0; right: auto; margin-left: auto; margin-bottom: -44px; width: 44px; height: 44px; background: #eeeadf; border: 1px solid #d9d7c9; font-size: 26px; z-index: 1; box-shadow: 0 3px 9px #2425210a; }
  #dialog-content > .eyebrow { padding-right: 53px; min-height: 44px; display: flex; align-items: center; font-size: 9px; line-height: 1.6; }
  .project-dialog h2 { margin-top: 13px; font-size: 34px; }
  .dialog-description { font-size: 14px; line-height: 1.8; margin-top: 18px; }
  .dialog-facts { grid-template-columns: 1fr; gap: 16px; margin-top: 20px; padding-block: 18px; }
  .dialog-facts p { font-size: 12px; }
  .dialog-features { padding-left: 18px; font-size: 13px; line-height: 1.8; }
  .dialog-actions { display: grid; gap: 9px; }
  .dialog-actions > a { min-height: 46px; justify-content: center; border: 1px solid #d6d8ca; border-radius: 10px; font-size: 12px; padding: 12px; }
  .dialog-evidence > a { min-height: 44px; }
}
@media(max-width:370px) {
  .site-header .wordmark { font-size: 20px; }
  .site-header .wordmark-spark { font-size: 22px; }
  .site-header.nav-ready .nav-toggle:not([hidden]) { padding-inline: 10px; font-size: 11px; }
  .hero-refresh h1 { font-size: 9.8vw; letter-spacing: -1.7px; }
  .hero-actions .hero-primary,.hero-actions .hero-secondary { font-size: 11px; gap: 7px; padding-inline: 8px; }
  .hero-current { font-size: 10px; }
  .hero-refresh .hero-art { height: 268px; }
  .hero-refresh .mascot { width: 186px; height: 186px; top: 48px; }
  .hero-refresh .mascot-shadow { top: 213px; width: 127px; }
  .hero-refresh .art-sticker { transform: rotate(-9deg) scale(.58); }
  .project-card-body { padding-inline: 16px; }
  .card-topline { padding-inline: 16px; font-size: 7px; }
  .project-work { padding-inline: 11px; }
  .card-actions .card-detail,.card-actions > a { font-size: 11px; gap: 5px; }
  .project-card .stack-tags > span { padding-inline: 6px; }
}
@media(pointer:coarse) {
  a,button { touch-action: manipulation; }
}
@media(prefers-reduced-motion:reduce) {
  .site-header.nav-ready.is-open .site-nav { animation: none; }
  .nav-toggle path { transition: none; }
}

/* Carry the phone card rhythm through the personal story, toolbox, and hello. */
@media(max-width:600px) {
  .about-refresh { padding-block: 42px 8px; }
  .about-refresh .section-heading,.toolkit-section .section-heading { margin-bottom: 24px; }
  .about-refresh .section-heading h2,.toolkit-section .section-heading h2 { font-size: clamp(30px,8.3vw,38px); line-height: 1.16; }
  .about-layout { gap: 24px; }
  .about-profile { display: grid; grid-template-columns: 120px minmax(0,1fr); gap: 0 18px; padding: 20px 20px 0; border-radius: 19px; }
  .profile-topline { grid-column: 1/-1; margin-bottom: 17px; font-size: 8px; letter-spacing: .5px; }
  .profile-portrait { height: 134px; margin: 0; }
  .profile-photo { width: 112px; height: 112px; border-width: 4px; }
  .profile-star { top: -2px; right: -5px; font-size: 29px; }
  .profile-loop { width: 53px; left: -7px; bottom: -4px; }
  .profile-identity { display: block; align-self: center; min-width: 0; }
  .about-profile h3 { margin: 0; font-size: 27px; line-height: 1.15; letter-spacing: -.8px; }
  .profile-description { font-size: 12px; line-height: 1.65; margin: 9px 0 0; }
  .profile-sticker { grid-column: 1/-1; justify-self: end; margin: 13px 2px 19px; padding: 7px 12px; gap: 8px; transform: rotate(-3deg); }
  .profile-sticker > span:first-child { font-size: 24px; }
  .profile-sticker strong { font-size: 12px; }
  .profile-location { grid-column: 1/-1; margin: 0; padding-block: 15px; font-size: 12px; }
  .about-story { padding-block: 0; }
  .about-story-lead { font-size: 23px; line-height: 1.45; letter-spacing: -.5px; }
  .about-story > p:not(.about-story-lead) { font-size: 14px; line-height: 1.8; margin-top: 17px; }
  .about-habits { margin-block: 21px 16px; gap: 11px; }
  .about-habits li { padding: 15px 14px; border-radius: 13px; gap: 11px; }
  .habit-icon { width: 34px; height: 34px; border-radius: 9px; }
  .about-habits h3 { font-size: 13px; line-height: 1.5; }
  .about-habits p { font-size: 12px; line-height: 1.65; margin-top: 5px; }
  .about-connect { display: flex; min-height: 48px; justify-content: space-between; gap: 12px; padding: 13px 15px; background: #e4ebf8; border: 1px solid #c9d6ed; border-radius: 11px; font-size: 12px; color: #405b94; }
  .toolkit-section { padding-block: 42px; }
  .toolkit-section .section-heading > p { font-size: 13px; line-height: 1.7; margin-top: 12px; }
  .toolkit-groups { gap: 16px; }
  .toolkit-group { padding: 19px 18px 17px; border-radius: 19px; }
  .toolkit-heading { gap: 9px; }
  .toolkit-number { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--card-edge); border-radius: 7px; background: #fff6; flex-shrink: 0; }
  .toolkit-group h3 { font-size: 16px; line-height: 1.4; letter-spacing: -.4px; }
  .toolkit-spark { font-size: 22px; }
  .skill-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin: 17px 0 14px; }
  .skill-list li { min-width: 0; min-height: 46px; padding: 9px 10px; gap: 8px; border-radius: 10px; font-size: 12px; line-height: 1.45; }
  .skill-list li > span:last-child { min-width: 0; }
  .skill-symbol,.skill-symbol img,.skill-symbol svg { width: 21px; height: 21px; }
  .toolkit-group-note { padding-top: 12px; border-top: 1px solid var(--card-edge); font-size: 13px; line-height: 1.6; }
  .toolkit-specialties { display: block; margin-top: 17px; padding: 18px; border: 1px solid #dedfce; border-radius: 16px; background: #f0eee3; }
  .toolkit-specialties .eyebrow { display: block; font-size: 8px; letter-spacing: .7px; margin-bottom: 13px; }
  .specialty-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .specialty-list > span { min-width: 0; gap: 7px; min-height: 46px; padding: 9px 8px; border-radius: 9px; background: #fff8; font-size: 11px; line-height: 1.5; }
  .specialty-list svg,.specialty-list img { width: 17px; height: 17px; flex-shrink: 0; }
  .toolkit-bottom { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 17px; }
  .toolkit-note { max-width: none; font-size: 13px; line-height: 1.7; }
  .toolkit-bottom > a { min-height: 46px; justify-content: space-between; padding: 12px 15px; border: 1px solid #d9ddce; border-radius: 11px; background: #eef0e5; font-size: 12px; }
  .contact-section.contact-refresh { padding-block: 0 12px; }
  .contact-invitation { padding: 22px 21px 0; border-radius: 19px; }
  .contact-invitation > .eyebrow { font-size: 8px; letter-spacing: .7px; }
  .invitation-layout { gap: 17px; padding-block: 21px 14px; }
  .invitation-copy h2 { font-size: clamp(29px,8.4vw,39px); line-height: 1.17; letter-spacing: -1.5px; }
  .invitation-copy h2 .serif { letter-spacing: -1.4px; }
  .invitation-copy > p { font-size: 14px; line-height: 1.75; margin-top: 17px; }
  .hello-postcard { display: grid; grid-template-columns: minmax(0,1fr) 122px; gap: 10px; align-items: center; max-width: none; padding: 0; }
  .postcard-note { text-align: left; font-size: 15px; line-height: 1.5; transform: rotate(-4deg); padding-left: 4px; }
  .postcard-art { width: 122px; margin: 0; }
  .invitation-footnote { font-size: 12px; line-height: 1.6; padding-block: 15px; gap: 8px; }
  .contact-methods { grid-template-columns: 1fr; gap: 13px; margin-top: 13px; }
  .contact-route { padding: 19px; border-radius: 17px; }
  .contact-email .route-heading { margin-bottom: 15px; }
  .route-icon { width: 44px; height: 44px; border-radius: 11px; }
  .route-label { font-size: 9px; letter-spacing: .4px; }
  .contact-email h3 { font-size: 25px; }
  .email-address { display: flex; width: 100%; min-height: 46px; justify-content: space-between; gap: 7px; margin-top: 13px; padding: 11px 12px; font-size: 14px; border: 1px solid var(--card-edge); border-radius: 10px; background: #fff7; }
  .email-tools { display: grid; gap: 8px; margin-top: 9px; }
  .copy-email:not([hidden]) { min-height: 44px; justify-content: center; padding: 10px 12px; font-size: 12px; gap: 8px; border-radius: 10px; background: #fffb; }
  .copy-email svg { width: 16px; height: 16px; }
  .copy-status { min-height: 17px; font-size: 11px; text-align: center; }
  .route-link { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 0 13px; min-height: 138px; position: relative; }
  .route-link .route-heading { position: static; grid-column: 1; grid-row: 1/4; display: block; margin: 0; }
  .route-link .route-heading > svg { position: absolute; top: 21px; right: 19px; width: 16px; height: 16px; }
  .route-link h3,.route-link > p,.route-destination { grid-column: 2; min-width: 0; }
  .route-link h3 { font-size: 21px; line-height: 1.3; padding-right: 18px; }
  .route-link > p { font-size: 12px; line-height: 1.65; margin: 7px 0 11px; padding-right: 0; }
  .route-destination { font-size: 12px; padding-right: 0; }
  .contact-signoff { margin-top: 23px; font-size: 13px; line-height: 1.7; padding-inline: 6px; }
  .contact-signoff > span { flex-shrink: 0; }
  .footer { padding-block: 19px 24px; gap: 12px; border-top: 1px solid var(--line); }
  .footer .wordmark,.footer .back-top { min-height: 44px; }
  .footer .wordmark { font-size: 21px; }
  .footer .wordmark > .wordmark-name { font: inherit; }
  .footer .back-top { display: inline-flex; align-items: center; font-size: 9px; }
  .footer p { font-size: 11px; line-height: 1.7; color: #6c7262; }
}
@media(max-width:370px) {
  .about-profile { grid-template-columns: 100px minmax(0,1fr); gap: 0 13px; padding-inline: 17px; }
  .profile-portrait { height: 124px; }
  .profile-photo { width: 100px; height: 100px; }
  .profile-star { right: -6px; font-size: 25px; }
  .about-profile h3 { font-size: 25px; }
  .profile-description { font-size: 11px; }
  .about-story-lead { font-size: 22px; }
  .toolkit-group { padding-inline: 16px; }
  .skill-list li { padding-inline: 8px; gap: 7px; }
  .skill-symbol,.skill-symbol img,.skill-symbol svg { width: 19px; height: 19px; }
  .toolkit-specialties { padding-inline: 16px; }
  .specialty-list > span { padding-inline: 7px; gap: 6px; font-size: 10px; }
  .contact-invitation { padding-inline: 19px; }
  .hello-postcard { grid-template-columns: minmax(0,1fr) 108px; }
  .postcard-art { width: 108px; }
  .postcard-note { font-size: 14px; }
  .contact-route { padding-inline: 17px; }
  .email-address { font-size: 13px; padding-inline: 10px; }
  .route-link { gap: 0 11px; }
  .route-link h3 { font-size: 20px; }
  .footer .wordmark { font-size: 20px; }
}

/* A dimensional workbench and contribution cards that are easy to scan on phones. */
@media(hover:hover) and (prefers-reduced-motion:no-preference) {
  .avertiq-scene img { transition: transform .35s ease; }
  .avertiq-scene:hover img { transform: scale(1.025); }
}
@media(max-width:760px) {
  .avertiq-preview { padding: 0; }
  .avertiq-preview .revision-card { margin: 12px 0 0; padding: 14px; gap: 10px; }
  .avertiq-preview > .hand-note { margin-top: 13px; padding-right: 4px; font-size: 13px; }
  .avertiq-preview .revision-card div { min-width: 0; }
  .avertiq-preview .revision-card b { font-size: 13px; line-height: 1.5; }
  .avertiq-preview .revision-card div > span { font: 11px/1.6 var(--sans); margin-top: 4px; }
}
@media(max-width:600px) {
  .building-section { gap: 21px; padding: 21px 18px 20px; margin-block: 4px 42px; background: #f1eee2; border: 1px solid #ded8c5; border-radius: 20px; }
  .building-copy { min-width: 0; }
  .building-copy > .eyebrow { margin-bottom: 18px; font-size: 8px; letter-spacing: .8px; }
  .building-status { padding: 7px 10px; font-size: 11px; border-radius: 7px; background: #e7ecd9; border-color: #ced8b9; color: #586748; }
  .building-copy h2 { font-size: 38px; margin-top: 13px; letter-spacing: -1.4px; }
  .building-lead { margin-top: 12px; font-size: 22px; line-height: 1.4; }
  .building-copy > p:not(.eyebrow):not(.building-lead):not(.scope-note) { font-size: 14px; line-height: 1.75; margin-top: 17px; }
  .building-copy .stack-tags { gap: 6px; margin-top: 17px; }
  .building-copy .stack-tags > span { background: #fff8; border-color: #d9dccb; font-size: 10px; padding: 6px 8px; }
  .building-copy > .text-link { display: flex; justify-content: space-between; width: 100%; min-height: 48px; padding: 13px 14px; margin-top: 18px; border: 1px solid #c6d3f0; background: #e4ebf8; border-radius: 11px; color: #405b94; font-size: 12px; gap: 10px; text-align: left; }
  .building-copy .scope-note { font-size: 11px; line-height: 1.65; margin-top: 11px; color: #737866; }
  .avertiq-scene { border-radius: 13px; }
  .scene-caption { padding: 10px 12px; font-size: 8px; letter-spacing: .4px; }
  .avertiq-preview .revision-card { border-radius: 11px; padding: 12px; gap: 10px; }
  .revision-icon { width: 32px; height: 32px; font-size: 21px; border-radius: 8px; }
  .avertiq-preview .revision-card b { font-size: 12px; }
  .avertiq-preview .revision-card div > span { font-size: 10px; }
  .avertiq-preview > .hand-note { font-size: 12px; line-height: 1.6; transform: rotate(-2deg); }
  .opensource-section { padding-block: 42px 37px; }
  .opensource-section .section-heading { margin-bottom: 22px; }
  .opensource-section .section-heading h2 { font-size: clamp(30px,8.3vw,38px); line-height: 1.16; }
  .opensource-intro { margin-top: 20px; max-width: none; }
  .program-label { padding: 7px 10px; border: 1px solid #e4d0b8; border-radius: 8px; background: #f5e7d6; font-size: 9px; gap: 7px; letter-spacing: .4px; }
  .program-label > span { font-size: 20px; }
  .opensource-intro p { font-size: 13px; line-height: 1.75; margin-top: 12px; }
  .contribution-summary { display: grid; grid-template-columns: 38px minmax(0,1fr); gap: 13px 11px; margin-bottom: 20px; padding: 16px; border: 1px solid #d1d9c2; border-radius: 16px; background: #e8eddd; }
  .merge-symbol { width: 38px; height: 38px; align-self: start; background: #f8faef; }
  .merge-symbol > svg { width: 22px; height: 22px; }
  .contribution-summary p strong { display: block; font-size: 14px; line-height: 1.5; }
  .contribution-summary p > span { font-size: 11px; line-height: 1.65; margin-top: 6px; }
  .contribution-summary > a { grid-column: 1/-1; margin: 0; min-height: 46px; padding: 12px 13px; justify-content: space-between; border: 1px solid #cbd5bc; border-radius: 10px; background: #fff8; font-size: 12px; }
  .oss-grid { grid-template-columns: 1fr; gap: 17px; }
  .oss-card { padding: 19px 18px 0; border-color: var(--card-edge); border-radius: 19px; background: var(--card-bg); }
  .oss-card::before { height: 3px; }
  .oss-card-top { margin-bottom: 17px; }
  .oss-project-icon { width: 44px; height: 44px; border-radius: 12px; background: #fff8; }
  .oss-project-icon > svg { width: 24px; height: 24px; }
  .merged-badge { min-height: 28px; padding: 6px 9px; font-size: 10px; gap: 5px; border: 1px solid #cedbbd; background: #f4f8eb; }
  .oss-category { min-height: 0; color: var(--card-ink); font-size: 8px; line-height: 1.6; letter-spacing: .5px; }
  .oss-card h3 { font-size: 27px; margin-top: 7px; letter-spacing: -.8px; }
  .oss-caption { font-size: 18px; line-height: 1.45; margin-top: 7px; }
  .oss-change { margin-top: 16px; padding: 13px; border: 1px solid #ffffff70; border-radius: 11px; background: #ffffff50; }
  .oss-change > span { color: var(--card-ink); font-size: 9px; letter-spacing: .5px; }
  .oss-change p { font-size: 13px; line-height: 1.75; color: #51594a; margin-top: 7px; }
  .oss-bottom { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; margin-top: 16px; padding-block: 14px; border-color: var(--card-edge); }
  .oss-bottom > span { font-size: 11px; line-height: 1.6; color: #59634e; }
  .oss-bottom a { min-height: 44px; min-width: 91px; justify-content: center; padding: 10px 12px; border: 1px solid var(--card-edge); background: #fffb; border-radius: 10px; font-size: 12px; gap: 8px; }
  .oss-bottom a:active { background: #fff; }
  .oss-footer-note { font-size: 13px; line-height: 1.7; margin-top: 21px; }
}
@media(max-width:370px) {
  .building-section { padding-inline: 16px; }
  .building-lead { font-size: 21px; }
  .building-copy > .text-link { font-size: 11px; padding-inline: 12px; }
  .avertiq-preview .revision-card { padding: 11px; gap: 8px; }
  .revision-icon { width: 28px; height: 30px; }
  .revision-check { display: none; }
  .avertiq-preview .revision-card b { font-size: 11px; }
  .scene-caption { padding-inline: 10px; }
  .avertiq-preview > .hand-note { font-size: 11px; }
  .contribution-summary { padding: 14px; gap: 12px 9px; }
  .contribution-summary p strong { font-size: 13px; }
  .oss-card { padding-inline: 16px; }
  .oss-change { padding-inline: 12px; }
  .oss-bottom { gap: 9px; }
  .oss-bottom a { min-width: 84px; font-size: 11px; gap: 6px; }
}
