/* Cal Sans has one cut. Use it at the portfolio's display weights without synthetic bold. */
@font-face {
  font-family: "Cal Sans";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("assets/cal-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cal Sans";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("assets/cal-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --paper: #f7f6f0;
  --white: #fffefa;
  --ink: #1e315a;
  --blue: #4156db;
  --blue-soft: #dfe6ff;
  --pink: #e85a93;
  --pink-ink: #b32f65;
  --pink-soft: #ffd8e7;
  --yellow: #f4db65;
  --lavender: #eeeff8;
  --line: 2px solid var(--blue);
  --shadow: 4px 5px 0 rgba(65, 86, 219, .18);
  --display: "Cal Sans", "Arial Black", "Avenir Next", "Helvetica Neue", sans-serif;
  --body: "Avenir Next", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.5 var(--body); }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid var(--pink); outline-offset: 4px; border-radius: 3px; }
::selection { color: var(--ink); background: var(--yellow); }
.skip-link { position: absolute; z-index: 20; top: .5rem; left: .5rem; transform: translateY(-150%); background: var(--yellow); padding: .75rem 1rem; border: var(--line); border-radius: .5rem; }
.skip-link:focus { transform: translateY(0); }
.site-header { height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(1.25rem, 5vw, 5rem); background: var(--white); border-bottom: 2px solid var(--blue); position: sticky; top: 0; z-index: 10; }
.wordmark { text-decoration: none; font: 900 1.4rem/1 var(--display); }
.wordmark span { color: var(--pink); font-size: .85em; margin-left: .12em; }
.site-header nav { display: flex; gap: clamp(1.2rem, 3vw, 3rem); align-items: center; }
.site-header nav a, footer a { text-decoration: none; font-size: .92rem; font-weight: 700; }
.site-header nav a:hover, footer a:hover { color: var(--blue); text-decoration: underline; }
.hero { min-height: min(790px, calc(100svh - 76px)); min-height: max(620px, calc(100svh - 76px)); padding: 2rem clamp(1.25rem, 5vw, 5rem) 1.5rem; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; background: var(--paper); border-bottom: 1px solid rgba(30,49,90,.16); }
.hero-topline, .hero-bottomline { display: flex; justify-content: space-between; align-items: center; gap: 1rem; position: relative; z-index: 2; font-size: .68rem; font-weight: 800; }
.sun-dot { color: var(--yellow); font-size: 1rem; margin-left: .3rem; text-shadow: 1px 1px 0 var(--ink); }
.hero-lockup { display: grid; grid-template-columns: minmax(0, 1fr) minmax(210px, 270px); align-items: end; gap: 2rem; position: relative; z-index: 2; }
.hero h1 { margin: -.04em 0 -.02em -.055em; color: var(--blue); font: 900 clamp(5.8rem, 19vw, 17rem)/.76 var(--display); white-space: nowrap; }
.hero-aside { position: relative; padding: 0 0 .4rem; max-width: 250px; }
.hero-aside p { margin: 1.1rem 0 1.2rem; max-width: 14ch; font-size: clamp(1.1rem, 1.7vw, 1.45rem); font-weight: 650; line-height: 1.18; }
.text-link { display: inline-flex; gap: .6rem; align-items: center; font-size: .88rem; font-weight: 800; text-decoration: none; border-bottom: 2px solid var(--blue); padding-bottom: .35rem; }
.text-link:hover { color: var(--pink); }
.hero-bottomline { padding-top: 1.2rem; border-top: 2px solid var(--ink); }
.hero-orbit { position: absolute; border: 2px solid var(--pink); border-radius: 50%; pointer-events: none; }
.orbit-one { width: 28vw; height: 28vw; right: 13%; top: 11%; opacity: .38; }
.orbit-two { width: 20vw; height: 20vw; right: 17%; top: 16%; border-color: var(--blue); opacity: .24; }
.section-wrap { width: min(1180px, calc(100% - 2.5rem)); margin: 0 auto; }
.intro { padding-top: clamp(5rem, 10vw, 9rem); padding-bottom: clamp(5rem, 10vw, 9rem); }
.eyebrow { display: flex; align-items: center; gap: .75rem; margin: 0 0 1.5rem; color: var(--ink); font-size: .7rem; font-weight: 850; }
.eyebrow-icon { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: .55rem; border: var(--line); background: var(--yellow); font: 800 .78rem var(--body); }
.pink-icon { background: var(--pink-soft); }
.yellow-icon { background: var(--yellow); }
.intro-grid { display: grid; grid-template-columns: 1.15fr .8fr; gap: clamp(2rem, 8vw, 8rem); align-items: start; }
.intro h2, .section-heading h2, .more-section h2, .contact-layout h2 { margin: 0; font: 850 clamp(2.5rem, 6vw, 5.6rem)/.98 var(--display); }
.intro h2 em, .contact-layout h2 em { color: var(--pink); font-style: normal; }
.intro-copy { max-width: 440px; padding-top: .35rem; }
.intro-copy p { margin: 0 0 1rem; font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
.intro-copy .small-note { color: #63708e; font-size: .93rem; }
.pill-link { margin-top: 1rem; display: inline-flex; align-items: center; justify-content: center; position: relative; border: var(--line); border-radius: 999px; background: var(--white); padding: .78rem 2.6rem; font-size: .85rem; font-weight: 800; text-align: center; text-decoration: none; box-shadow: none; transition: background-color .15s ease, color .15s ease; }
.pill-link > span[aria-hidden="true"] { position: absolute; top: 50%; right: 1.1rem; transform: translateY(-50%); }
.pill-link:hover { background: var(--blue-soft); box-shadow: none; }
.work-section { padding: clamp(4rem, 8vw, 7rem) 0; background: var(--lavender); border-top: var(--line); border-bottom: var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: start; gap: 2rem; margin-bottom: 2.5rem; }
.section-heading h2 { font-size: clamp(3.3rem, 7vw, 6.8rem); }
.section-heading h2 span { color: var(--pink); font-size: .7em; }
.project-card { display: grid; grid-template-columns: 1.08fr .92fr; overflow: hidden; border: 2px solid var(--blue); border-radius: 1.15rem; background: var(--white); box-shadow: var(--shadow); margin: 1.5rem 0 2.5rem; }
.project-gem { grid-template-columns: .92fr 1.08fr; }
.project-gem .project-art { order: 2; }
.project-art { min-height: 395px; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(1.25rem, 4vw, 3rem); position: relative; overflow: hidden; text-decoration: none; border-right: 2px solid var(--blue); }
.project-gem .project-art { border-right: 0; border-left: 2px solid var(--blue); }
.art-climate { background: var(--pink-soft); }
.art-energy { background: var(--blue-soft); }
.art-label { position: relative; z-index: 1; font-size: .68rem; font-weight: 850; }
.art-city { z-index: 1; position: relative; font: 900 clamp(2.5rem, 5vw, 5.7rem)/.83 var(--display); }
.temp-line { position: absolute; inset: 25% 4% 22%; display: flex; gap: .7rem; align-items: center; transform: rotate(-8deg); opacity: .65; }
.temp-line i { display: block; flex: 1; height: 42%; background: var(--pink); border: 2px solid var(--ink); border-radius: 999px; }
.temp-line i:nth-child(2n) { height: 68%; background: var(--yellow); }
.temp-line i:nth-child(3n) { height: 95%; background: var(--blue); }
.temp-line i:nth-child(5n) { height: 54%; }
.art-caption { align-self: flex-end; background: var(--yellow); border: 2px solid var(--ink); padding: .55rem .8rem; border-radius: 999px; font-size: .78rem; font-weight: 800; transform: rotate(-3deg); }
.motion-enabled .project-art:hover .art-caption { transform: rotate(0) translateY(-3px); }
.project-copy { padding: clamp(1.5rem, 4vw, 3.5rem); display: flex; flex-direction: column; align-items: flex-start; }
.project-meta { display: flex; width: 100%; justify-content: space-between; color: #586788; font-size: .65rem; font-weight: 850; }
.project-copy h3 { margin: 2rem 0 1rem; font: 850 clamp(2rem, 4vw, 3.6rem)/.95 var(--display); }
.project-copy p { max-width: 36ch; font-size: 1rem; margin: 0 0 1.35rem; }
.project-tags { display: flex; flex-wrap: wrap; gap: .45rem; margin: auto 0 1.5rem; padding-top: .8rem; }
.project-tags span { border: 1px solid rgba(30,49,90,.3); border-radius: 999px; padding: .35rem .65rem; font-size: .7rem; font-weight: 750; }
.button-link { display: inline-flex; align-items: center; justify-content: center; position: relative; border: var(--line); border-radius: 999px; background: var(--white); color: var(--ink); padding: .78rem 2.6rem; box-shadow: none; font-weight: 800; font-size: .85rem; line-height: 1.2; text-align: center; text-decoration: none; transition: background-color .15s ease, color .15s ease; }
.button-link > span[aria-hidden="true"] { position: absolute; top: 50%; right: 1.1rem; transform: translateY(-50%); }
.button-link:hover { background: var(--blue-soft); box-shadow: none; }
.button-blue { background: var(--blue); color: var(--white); }
.art-energy { background: #dfe6ff; }
.energy-title { z-index: 1; font: 850 clamp(2.2rem, 4.2vw, 4rem)/.92 var(--display); }
.energy-chart { display: flex; gap: .6rem; align-items: end; position: absolute; left: 9%; right: 8%; bottom: 27%; height: 45%; transform: skewY(-5deg); }
.energy-chart i { flex: 1; background: var(--blue); border: 2px solid var(--ink); border-radius: .45rem .45rem 0 0; height: 44%; }
.energy-chart i:nth-child(2n) { height: 68%; background: var(--pink); }
.energy-chart i:nth-child(3n) { height: 92%; background: var(--yellow); }
.energy-chart i:nth-child(5n) { height: 56%; }
.energy-key { z-index: 1; align-self: flex-end; padding: .45rem .65rem; background: var(--white); border: 1px solid var(--blue); border-radius: 999px; font-size: .68rem; font-weight: 800; }
.energy-key b { display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; background: var(--pink); margin-right: .25rem; }
.more-work-card { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 2rem; overflow: hidden; padding: clamp(1.5rem, 4vw, 3rem); background: var(--yellow); border: var(--line); border-radius: 1rem; box-shadow: var(--shadow); }
.more-work-card .eyebrow { margin-bottom: .7rem; }
.more-work-card h3 { margin: 0; font: 850 clamp(1.8rem, 3.5vw, 3rem)/1 var(--display); }
.more-section { padding-top: clamp(5rem, 10vw, 9rem); padding-bottom: clamp(5rem, 10vw, 9rem); }
.more-section h2 { font-size: clamp(3rem, 6vw, 5.7rem); margin-bottom: 2.25rem; }
.more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.more-tile { position: relative; min-height: 235px; display: flex; flex-direction: column; align-items: flex-start; border: var(--line); border-radius: 1rem; padding: 1.25rem; box-shadow: var(--shadow); text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.motion-enabled .more-tile:hover { transform: translate(3px, 4px); box-shadow: none; }
.tile-pink { background: var(--pink-soft); }
.tile-blue { background: var(--blue-soft); }
.tile-yellow { background: #fff2b0; }
.tile-number { font-size: .68rem; font-weight: 850; }
.tile-title { margin: auto 0 .6rem; font: 850 clamp(1.4rem, 2.2vw, 2rem)/1 var(--display); }
.tile-detail { max-width: 27ch; font-size: .85rem; }
.tile-arrow { position: absolute; right: 1.1rem; top: 1rem; font-size: 1.25rem; }
.more-footnote { margin: 1rem 0 0; color: #586788; font-size: .85rem; }
.contact-section { border-top: var(--line); background: var(--white); padding: clamp(4rem, 8vw, 7rem) 0 1.5rem; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .62fr); gap: clamp(4rem, 8vw, 10rem); align-items: end; padding: 1.5rem 0 clamp(4rem, 8vw, 7rem); }
.contact-layout h2 { font-size: clamp(4rem, 10vw, 9rem); }
.contact-copy { max-width: 390px; padding-bottom: .4rem; }
.contact-copy > p:first-child { font-size: 1.12rem; }
footer { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(30,49,90,.2); }
footer > span { font-size: .65rem; font-weight: 800; }
.footer-mark { font-size: 1.1rem; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
@media (max-width: 760px) {
  .site-header { height: 64px; padding-inline: 1.1rem; }
  .site-header nav { gap: 1rem; }
  .site-header nav a { font-size: .8rem; }
  .hero { min-height: max(570px, calc(91svh - 64px)); padding: 1.4rem 1.1rem 1.2rem; }
  .hero-topline, .hero-bottomline { font-size: .53rem; }
  .hero-topline { align-items: flex-start; }
  .hero-topline span:last-child { text-align: right; }
  .hero-lockup { grid-template-columns: 1fr; gap: 1.3rem; align-items: end; }
  .hero h1 { font-size: clamp(4.7rem, 19.5vw, 9rem); }
  .hero-aside { justify-self: end; max-width: 220px; padding-right: .1rem; }
  .hero-aside p { margin: .4rem 0 .8rem; font-size: 1.2rem; }
  .orbit-one { width: 54vw; height: 54vw; right: 9%; top: 13%; }
  .orbit-two { width: 39vw; height: 39vw; right: 15%; top: 18%; }
  .section-wrap { width: min(100% - 2.2rem, 600px); }
  .intro-grid, .contact-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .intro-copy { max-width: 520px; }
  .section-heading { display: block; }
  .section-heading h2 { font-size: clamp(3.3rem, 12vw, 5rem); }
  .project-card, .project-gem { grid-template-columns: 1fr; }
  .project-gem .project-art { order: 0; border-left: 0; }
  .project-art { min-height: 300px; border-right: 0; border-bottom: 2px solid var(--blue); }
  .project-copy h3 { margin-top: 1.25rem; }
  .more-work-card { align-items: flex-start; flex-direction: column; }
  .more-grid { grid-template-columns: 1fr; }
  .more-tile { min-height: 190px; }
  .contact-layout h2 { font-size: clamp(4rem, 17vw, 7rem); }
  footer { flex-wrap: wrap; padding: .9rem 0; }
}
@media (max-width: 400px) {
  .hero h1 { font-size: 18vw; }
  .hero-bottomline { gap: .5rem; font-size: .45rem; }
  .project-tags { gap: .3rem; }
  .project-tags span { font-size: .64rem; }
}

/* Portfolio pages and narrow-screen layout refinements */
html { scroll-padding-top: 5rem; }
body { overflow-x: hidden; }
.wordmark span { display: none; }
.hero { min-height: min(790px, calc(100svh - 76px)); min-height: max(540px, calc(100svh - 76px)); }
.hero h1 { white-space: normal; overflow-wrap: anywhere; font-size: clamp(5rem, 19vw, 17rem); }
.hero-mark { display: inline-grid; place-items: center; width: 2.65rem; height: 2.65rem; border-radius: 50%; color: var(--white); background: var(--pink); border: 2px solid var(--ink); font-size: 1.45rem; font-weight: 800; }
.project-card { min-width: 0; }
.project-art { min-width: 0; }
.image-art { padding: 0; }
.image-art img { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: cover; }
.image-caption { position: absolute; z-index: 2; left: 1rem; bottom: 1rem; padding: .45rem .65rem; max-width: calc(100% - 2rem); background: var(--white); border: 1px solid var(--blue); border-radius: .35rem; font-size: .68rem; font-weight: 850; }
.image-art .image-caption { display: none; }
.project-art .art-label { position: relative; z-index: 2; padding: .45rem .65rem; width: fit-content; background: var(--white); border: 1px solid var(--blue); border-radius: .35rem; }
.work-page { padding-bottom: 5rem; }
.work-hero { padding-top: clamp(4rem, 9vw, 8rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.work-hero h1, .resume-head h1, .case-hero h1 { margin: 0; font: 900 clamp(3.4rem, 11vw, 8.5rem)/.92 var(--display); overflow-wrap: anywhere; }
.work-hero h1 em, .case-hero h1 em { color: var(--pink); font-style: normal; }
.work-hero > p:not(.eyebrow) { max-width: 44ch; margin: 1.5rem 0 2rem; font-size: clamp(1.1rem, 2vw, 1.35rem); }
.work-jump { display: flex; flex-wrap: wrap; gap: .6rem; }
.work-jump a { display: inline-flex; padding: .55rem .8rem; background: var(--white); border: 1px solid var(--blue); border-radius: 999px; font-size: .8rem; font-weight: 750; text-decoration: none; }
.work-jump a:hover { background: var(--yellow); }
.work-list-section { padding-top: clamp(3.5rem, 7vw, 6rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.work-list-section > h2, .work-band h2 { margin: 0 0 2rem; font: 850 clamp(2.3rem, 5.5vw, 4.8rem)/1 var(--display); }
.work-list-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.work-list-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 2px solid var(--blue); border-radius: 1rem; background: var(--white); box-shadow: var(--shadow); text-decoration: none; }
.work-list-card > img, .mini-chart { width: 100%; height: clamp(190px, 28vw, 320px); object-fit: cover; border-bottom: 2px solid var(--blue); }
.work-list-card > :not(img):not(.mini-chart) { margin-left: 1.35rem; margin-right: 1.35rem; }
.work-list-meta { margin-top: 1.25rem; color: #586788; font-size: .68rem; font-weight: 850; }
.work-list-card h3 { margin-top: .55rem !important; margin-bottom: .6rem; font: 850 clamp(1.55rem, 3vw, 2.5rem)/.98 var(--display); }
.work-list-card p { margin-top: 0; margin-bottom: 1.25rem; max-width: 48ch; font-size: .92rem; }
.work-list-card b { margin-top: auto; margin-bottom: 1.35rem; color: var(--blue); font-size: .82rem; }
.work-list-card:hover h3 { color: var(--pink); }
.work-list-gem { background: var(--blue-soft); }
.mini-chart { display: flex; align-items: end; gap: 2%; padding: 12% 12% 0; background: #e3e8fb; }
.mini-chart i { flex: 1; height: 40%; border: 1px solid var(--ink); border-bottom: 0; border-radius: .5rem .5rem 0 0; background: var(--blue); }
.mini-chart i:nth-child(2n) { height: 70%; background: var(--pink); }
.mini-chart i:nth-child(3n) { height: 90%; background: var(--yellow); }
.subsection-title { margin: 3.5rem 0 1rem; font: 850 1.55rem/1.1 var(--display); }
.compact-list { border-top: 2px solid var(--blue); }
.compact-list article { display: grid; grid-template-columns: minmax(130px, .6fr) 1.6fr auto; gap: 1.5rem; align-items: start; padding: 1.35rem 0; border-bottom: 1px solid rgba(30,49,90,.24); }
.compact-list article > span { color: #586788; font-size: .65rem; font-weight: 850; }
.compact-list article > div h3 { margin: -.2rem 0 .35rem; font: 800 1.25rem/1.05 var(--display); }
.compact-list article > div p { margin: 0; max-width: 62ch; font-size: .9rem; }
.compact-list article > a { font-size: .8rem; font-weight: 800; white-space: nowrap; }
.work-band { padding: clamp(3.5rem, 7vw, 6rem) 0; background: var(--lavender); border-block: var(--line); }
.published-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.published-grid > a { display: flex; flex-direction: column; min-height: 220px; padding: 1.35rem; border: 1px solid var(--blue); border-radius: .75rem; background: var(--white); text-decoration: none; }
.published-grid > article { display: flex; flex-direction: column; min-height: 220px; padding: 1.35rem; border: 1px solid var(--blue); border-radius: .75rem; background: var(--white); }
.published-grid > a > span { font-size: .65rem; font-weight: 850; }
.published-grid h3 { margin: 1rem 0 .5rem; font: 800 1.5rem/1.05 var(--display); }
.published-grid p { margin: 0 0 1rem; font-size: .88rem; }
.published-grid b { margin-top: auto; color: var(--blue); font-size: .8rem; }
.writing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.writing-grid > div { padding: 1.35rem; background: var(--white); border: 1px solid var(--blue); border-radius: .75rem; }
.writing-grid h3 { margin: 0 0 .8rem; font: 800 1.5rem var(--display); }
.writing-grid ul { padding-left: 1.15rem; margin: 0; }
.writing-grid li { padding: .4rem 0; font-size: .9rem; }
.writing-band { background: var(--paper); border-top: 0; }
.case-hero { padding-top: 2.5rem; padding-bottom: 3rem; }
.back-link { display: inline-block; margin-bottom: 2.2rem; color: var(--blue); font-size: .86rem; font-weight: 800; }
.case-hero h1 { margin-bottom: 1.2rem; font-size: clamp(3.3rem, 10vw, 8.2rem); }
.case-deck { max-width: 54ch; margin: 0; font-size: clamp(1.1rem, 2.4vw, 1.45rem); line-height: 1.35; }
.case-facts { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid rgba(30,49,90,.3); }
.case-facts > div { display: flex; flex-direction: column; gap: .25rem; }
.case-facts b { font-size: .68rem; text-transform: uppercase; }
.case-facts span { font-size: .9rem; }
.case-cover { width: 100%; margin: 0; background: var(--pink-soft); border-block: var(--line); }
.case-cover img { display: block; width: min(1180px, 100%); max-height: 650px; margin: auto; object-fit: cover; }
.case-cover figcaption { width: min(1180px, calc(100% - 2.5rem)); margin: .5rem auto .8rem; font-size: .7rem; color: #586788; }
.case-body { padding-top: 2rem; padding-bottom: 2rem; }
.case-prose { max-width: 760px; margin: 0 auto; padding: clamp(3rem, 7vw, 5.5rem) 0; }
.case-prose h2 { max-width: 17ch; margin: 0 0 1.25rem; font: 850 clamp(2rem, 5vw, 3.9rem)/1 var(--display); }
.case-prose p:not(.eyebrow), .case-prose li { max-width: 67ch; font-size: 1.05rem; line-height: 1.7; }
.case-prose .eyebrow { margin-bottom: .9rem; }
.case-prose ul { padding-left: 1.25rem; }
.case-prose li { padding: .25rem 0; }
.case-highlight { max-width: none; padding: clamp(2rem, 5vw, 4rem); background: var(--blue-soft); border: 1px solid var(--blue); border-radius: 1rem; }
.case-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.case-next { display: flex; justify-content: space-between; gap: 1rem; padding: 1.5rem 0 3rem; border-top: 1px solid rgba(30,49,90,.25); }
.case-next > span { font-size: .68rem; font-weight: 850; }
.case-next > a { font-weight: 800; text-align: right; }
.gem-cover { min-height: clamp(300px, 42vw, 550px); position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(1.25rem, 5vw, 4rem); background: #dfe6ff; border-block: var(--line); }
.gem-cover-label, .gem-cover-foot { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 1rem; font-size: .7rem; font-weight: 850; }
.gem-visual { position: absolute; inset: 22% 10% 16%; display: grid; grid-template-columns: 1fr .65fr; gap: 4%; }
.gem-map { position: relative; overflow: hidden; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 1fr); gap: 3%; padding: 5%; transform: rotate(-5deg); border: 2px solid var(--blue); border-radius: 50% 42% 46% 44%; background: #fffefa; }
.gem-map i { border-radius: 50%; background: var(--blue); opacity: .85; }
.gem-map i:nth-child(3n) { background: var(--pink); }
.gem-map i:nth-child(2n) { background: #f4db65; }
.gem-map b { position: absolute; width: 34%; aspect-ratio: 1; right: 18%; top: 20%; border: 3px solid var(--pink); border-radius: 50%; }
.gem-bars { display: flex; align-items: end; gap: 5%; padding: 8% 4% 0; border: 2px solid var(--blue); border-radius: .7rem; background: var(--white); }
.gem-bars i { flex: 1; height: 35%; background: var(--blue); }
.gem-bars i:nth-child(2n) { height: 65%; background: var(--pink); }
.gem-bars i:nth-child(3n) { height: 90%; background: var(--yellow); }
.gem-line { position: absolute; right: 0; bottom: -8%; width: 53%; height: 35%; display: flex; align-items: end; gap: 2%; border-bottom: 3px solid var(--ink); transform: rotate(-8deg); }
.gem-line i { flex: 1; height: 30%; border-top: 4px solid var(--pink); }
.gem-line i:nth-child(2n) { height: 70%; }
.gem-line i:nth-child(3n) { height: 48%; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 1.5rem; padding-bottom: 1.5rem; border-top: 1px solid rgba(30,49,90,.2); }
.site-footer > span { font-size: .65rem; font-weight: 800; }
.resume-page { padding-top: 2.5rem; padding-bottom: 5rem; }
.resume-head { max-width: 800px; padding-bottom: 3rem; }
.resume-head h1 { margin-bottom: .5rem; }
.resume-role { color: var(--blue); font-size: 1.2rem; font-weight: 800; }
.resume-head > p:not(.eyebrow):not(.resume-role) { max-width: 68ch; font-size: 1.05rem; }
.resume-section { padding: 2rem 0; border-top: 2px solid var(--blue); }
.resume-section > h2, .resume-highlights h2 { margin: 0 0 1.5rem; font: 850 clamp(2rem, 4vw, 3rem)/1 var(--display); }
.resume-job { display: grid; grid-template-columns: minmax(140px, .45fr) 1.55fr; gap: 2rem; padding: 1.35rem 0; border-top: 1px solid rgba(30,49,90,.2); }
.resume-dates { color: #586788; font-size: .7rem; font-weight: 850; }
.resume-job h3 { margin: -.25rem 0 .65rem; font: 800 1.25rem var(--display); }
.resume-job p, .resume-job li, .resume-section > p, .resume-highlights li { max-width: 70ch; font-size: .92rem; line-height: 1.6; }
.resume-job ul, .resume-highlights ul { margin: .5rem 0 0; padding-left: 1.2rem; }
.resume-job li { padding: .15rem 0; }
.resume-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.resume-highlights > div > h2 { font-size: 1.65rem; }
.hero-lockup { grid-template-columns: minmax(0, 1fr) minmax(210px, 270px); }
.hero h1 { white-space: nowrap; overflow-wrap: normal; font-size: clamp(3rem, calc((100vw - 10vw - 302px) / 5.2), 17rem); }
.wordmark { white-space: nowrap; flex-shrink: 0; }
.hero-orbit { z-index: 0; }
.orbit-one { width: 28vw; height: 28vw; right: 13%; top: 11%; opacity: .32; }
.orbit-two { width: 20vw; height: 20vw; right: 17%; top: 16%; opacity: .2; }
.hero-blob { position: absolute; z-index: 1; top: 28%; right: 10%; width: clamp(3.3rem, 7vw, 6rem); aspect-ratio: 1.18; border: 2px solid var(--ink); border-radius: 43% 57% 62% 38% / 48% 38% 62% 52%; background: var(--yellow); transform: rotate(-13deg); }
.more-work-card .button-link.button-blue { color: var(--ink); background: var(--pink); border-color: var(--pink); box-shadow: 3px 4px 0 var(--blue); }
.more-work-card .button-link.button-blue:hover { box-shadow: none; }
.more-tile { min-height: 325px; }
.tile-illustration { position: relative; display: block; width: 100%; height: 130px; margin: .7rem 0 .25rem; overflow: hidden; border: 1px solid var(--blue); border-radius: .55rem; }
.code-illustration { padding: .75rem; background: var(--white); }
.code-illustration b { display: block; margin-bottom: .5rem; font-size: .58rem; }
.code-illustration i { display: inline-block; width: 18%; height: 2.5rem; margin-right: .25rem; border: 1px solid var(--blue); border-radius: .4rem; background: var(--pink-soft); transform: rotate(-3deg); }
.code-illustration i:nth-of-type(2) { height: 3.5rem; background: var(--blue-soft); transform: rotate(3deg); }
.code-illustration i:nth-of-type(3) { height: 2.8rem; background: #fff2b0; transform: rotate(-1deg); }
.code-illustration i:nth-of-type(4) { height: 3.8rem; background: #dce7dc; transform: rotate(2deg); }
.code-illustration small { position: absolute; right: .7rem; bottom: .6rem; padding: .25rem .4rem; border-radius: 999px; background: var(--yellow); font-size: .55rem; font-weight: 800; }
.writing-illustration { padding: .65rem .8rem; background: var(--white); }
.writing-illustration b { position: absolute; left: .8rem; bottom: .6rem; z-index: 1; font: 900 1.2rem/.9 var(--display); }
.writing-illustration i { display: block; height: 5px; width: 65%; margin: .35rem 0; border-radius: 99px; background: var(--blue-soft); transform: rotate(-2deg); }
.writing-illustration i:nth-of-type(2) { width: 83%; background: var(--pink-soft); }
.writing-illustration i:nth-of-type(3) { width: 72%; background: #dce7dc; }
.writing-illustration > span { position: absolute; right: .7rem; top: .5rem; color: var(--pink); font-size: 2rem; }
.more-tile .tile-title { margin: .5rem 0 .6rem; }
.resume-tile-visual { display: flex; flex-direction: column; gap: .5rem; width: 100%; height: 130px; margin: .7rem 0 .25rem; padding: .8rem 1rem; border: 1px solid var(--blue); border-radius: .55rem; background: var(--white); box-shadow: 3px 4px 0 rgba(65,86,219,.2); transform: rotate(-1deg); }
.resume-tile-visual > span { color: var(--blue); font: 850 1.05rem var(--display); }
.resume-tile-visual i { display: block; height: 4px; width: 80%; border-radius: 999px; background: var(--blue-soft); }
.resume-tile-visual i:nth-of-type(2) { width: 91%; }
.resume-tile-visual i:nth-of-type(3) { width: 61%; background: var(--pink-soft); }
.resume-tile-visual b { margin-top: auto; font-size: .55rem; }
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.story-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--blue); border-radius: .8rem; background: var(--white); text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.motion-enabled .story-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.story-card > img { display: block; width: 100%; height: 180px; object-fit: cover; border-bottom: 1px solid var(--blue); }
.story-card > .story-chart-thumbnail { object-position: center bottom; }
.story-card > .story-screenshot { object-fit: contain; background: var(--white); }
.story-card > span, .story-card h3, .story-card p, .story-card > b { margin-left: 1rem; margin-right: 1rem; }
.story-card > span { margin-top: 1rem; color: #586788; font-size: .62rem; font-weight: 850; }
.story-card h3 { margin-top: .45rem; margin-bottom: .55rem; font: 800 1.3rem/1.02 var(--display); }
.story-card p { margin-top: 0; margin-bottom: 1rem; font-size: .82rem; line-height: 1.5; }
.story-card > b { margin-top: auto; margin-bottom: 1rem; color: var(--blue); font-size: .75rem; }
.hobby-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.hobby-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; padding-bottom: 1.2rem; border: 2px solid var(--blue); border-radius: .9rem; background: var(--white); box-shadow: var(--shadow); text-decoration: none; }
.hobby-card > :not(.hobby-art):not(.hobby-photo) { margin-left: 1rem; margin-right: 1rem; }
.hobby-card .work-list-meta { margin-top: 1rem; }
.hobby-card h3 { margin-top: .5rem; margin-bottom: .5rem; font: 850 1.4rem/1 var(--display); }
.hobby-card p { margin-top: 0; margin-bottom: 1rem; font-size: .86rem; }
.hobby-card > b, .hobby-card > a, .hobby-card-links { margin-top: auto; color: var(--blue); font-size: .78rem; font-weight: 800; }
.hobby-card-links { display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
.hobby-card .hobby-photo { display: block; width: 100%; height: 210px; object-fit: cover; border-bottom: 1px solid var(--blue); }
.hobby-art { position: relative; display: flex; flex-direction: column; flex: 0 0 210px; overflow: hidden; margin: 0; padding: 1rem; border-bottom: 1px solid var(--blue); }
.calendar-art { background: var(--pink-soft); }
.ui-top { display: flex; align-items: center; gap: .25rem; height: 1.3rem; }
.ui-top i { width: .4rem; height: .4rem; border-radius: 50%; background: var(--pink); }
.ui-top b { margin-left: auto; font-size: .54rem; }
.calendar-month { margin: .45rem 0 .3rem; font-size: .65rem; font-weight: 850; }
.calendar-month b { color: var(--blue); }
.calendar-days { display: grid; grid-template-columns: repeat(7,1fr); gap: .18rem; max-width: 240px; }
.calendar-days i, .calendar-days b { display: grid; place-items: center; aspect-ratio: 1; border-radius: .3rem; background: var(--white); font-size: .53rem; font-style: normal; }
.calendar-days i { color: #586788; background: transparent; font-weight: 800; }
.calendar-days b:nth-of-type(4n+1) { background: var(--yellow); }
.calendar-callout { position: absolute; right: 1rem; bottom: 1rem; padding: .45rem .65rem; border: 1px solid var(--blue); border-radius: .5rem; background: var(--white); font-size: .65rem; font-weight: 800; transform: rotate(-3deg); }
.calendar-callout b { color: var(--pink); }
.festi-art { gap: .45rem; background: #dce7dc; }
.festi-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: .3rem; font: 900 1.2rem var(--display); }
.festi-title i { font: 800 .55rem var(--body); font-style: normal; }
.festi-slot { display: block; padding: .43rem .55rem; width: 88%; border: 1px solid var(--ink); border-radius: .35rem; font-size: .57rem; font-weight: 850; }
.pink-slot { background: var(--pink-soft); }
.blue-slot { background: var(--blue-soft); margin-left: 6%; }
.yellow-slot { background: #fff2b0; margin-left: 12%; }
.festi-bottom { position: absolute; right: .9rem; bottom: .75rem; font-size: .55rem; font-weight: 850; }
.produce-art { align-items: center; justify-content: center; gap: .25rem; background: #fff2b0; }
.produce-art > span, .produce-art > b { font-size: .57rem; font-weight: 850; }
.fruit { position: absolute; width: 70px; height: 62px; border: 2px solid var(--ink); border-radius: 50% 46% 50% 48%; }
.fruit-one { left: 19%; top: 28%; background: var(--pink); transform: rotate(-18deg); }
.fruit-two { left: 42%; top: 25%; background: #f3a740; width: 58px; height: 58px; }
.fruit-three { right: 17%; top: 29%; background: #70a96e; width: 58px; height: 52px; transform: rotate(12deg); }
.fruit-four { left: 38%; bottom: 18%; width: 36px; height: 38px; background: var(--blue); }
.produce-art > b { position: absolute; bottom: .8rem; }
.poli-art { align-items: center; background: #e4e7fb; }
.poli-art > span { margin-bottom: .35rem; font: 900 1.1rem var(--display); }
.poli-art > div { position: relative; display: grid; place-items: center; width: 124px; height: 125px; border: 2px solid var(--blue); border-radius: .8rem; background: var(--white); box-shadow: 4px 5px 0 rgba(65,86,219,.2); transform: rotate(-4deg); }
.poli-art > div > b { color: var(--blue); text-align: center; font: 850 1.1rem/.95 var(--display); }
.poli-art > div > i { position: absolute; bottom: .35rem; display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border: 1px solid var(--ink); border-radius: 50%; background: var(--pink-soft); font-style: normal; }
.poli-art > div > i:last-child { right: .5rem; background: #dce7dc; }
.poli-art > div > i:nth-of-type(1) { left: .5rem; }
.poli-art > small { position: absolute; bottom: .55rem; font-size: .48rem; font-weight: 850; }
.work-resume-cta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; }
.work-resume-cta p { font-weight: 750; }
.resume-talk-list li { margin: .15rem 0; }
.resume-talk-list { padding-left: 1.2rem; }
.resume-talk-list a { font-size: .9rem; }
.gem-live-cover { width: 100%; background: var(--blue-soft); border-block: var(--line); }
.gem-live-cover iframe { display: block; width: min(1180px, 100%); height: min(72vw, 670px); min-height: 420px; margin: 0 auto; border: 0; background: var(--white); }
.gem-live-cover p { width: min(1180px, calc(100% - 2rem)); margin: .6rem auto .85rem; color: #586788; font-size: .72rem; }
.gem-live-cover a { color: var(--blue); font-weight: 800; }
@media (max-width: 820px) {
  .site-header { height: auto; min-height: 64px; padding-block: .75rem; gap: .8rem; }
  .site-header nav { flex-wrap: wrap; justify-content: flex-end; gap: .65rem 1rem; }
  .hero { min-height: min(720px, calc(100svh - 64px)); min-height: max(500px, calc(100svh - 64px)); }
  .hero-lockup { grid-template-columns: minmax(0,1fr); gap: 1rem; }
  .hero h1 { font-size: clamp(3.4rem, 16vw, 11rem); }
  .hero-aside { justify-self: end; max-width: 240px; }
  .hero-squiggle { top: 14%; right: 5%; width: clamp(180px, 34vw, 260px); opacity: .55; }
  .project-card, .project-gem { grid-template-columns: 1fr 1fr; }
  .project-art { min-height: 340px; }
  .project-gem .project-art { order: 0; border-left: 0; border-right: 2px solid var(--blue); }
  .project-gem .project-copy { order: 1; }
  .compact-list article { grid-template-columns: 125px minmax(0, 1fr); }
  .compact-list article > a { grid-column: 2; }
}
@media (max-width: 620px) {
  .site-header { padding-inline: 1rem; }
  .wordmark { font-size: 1.15rem; }
  .site-header nav { gap: .45rem .8rem; }
  .site-header nav a { font-size: .78rem; }
  .hero { min-height: 570px; padding-inline: 1rem; }
  .hero-topline, .hero-bottomline { font-size: .55rem; }
  .hero-lockup { grid-template-columns: 1fr; gap: 1rem; }
  .hero h1 { font-size: clamp(4rem, 19vw, 7.5rem); }
  .hero-aside { justify-self: end; max-width: 240px; }
  .hero-orbit { opacity: .16; }
  .section-wrap { width: min(600px, calc(100% - 2rem)); }
  .intro-grid, .contact-layout { grid-template-columns: 1fr; gap: 1.25rem; }
  .section-heading { display: block; }
  .project-card, .project-gem { grid-template-columns: 1fr; }
  .project-art, .project-gem .project-art { min-height: clamp(230px, 68vw, 330px); order: 0; border: 0; border-bottom: 2px solid var(--blue); }
  .energy-preview, .energy-preview iframe { min-height: 330px; }
  .project-copy, .project-gem .project-copy { order: 1; }
  .project-copy h3 { font-size: clamp(2rem, 9vw, 3rem); }
  .more-work-card { flex-direction: column; align-items: flex-start; }
  .more-work-card .button-link { max-width: 100%; }
  .work-list-grid, .published-grid, .writing-grid, .resume-highlights { grid-template-columns: 1fr; }
  .story-grid, .hobby-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .story-card > img { height: 150px; }
  .work-jump { gap: .45rem; }
  .work-jump a { font-size: .72rem; }
  .compact-list article { grid-template-columns: 1fr; gap: .45rem; }
  .compact-list article > a { grid-column: 1; }
  .case-hero { padding-top: 1.5rem; }
  .case-facts { grid-template-columns: 1fr; gap: .7rem; }
  .case-facts > div { display: grid; grid-template-columns: 88px minmax(0, 1fr); }
  .case-cover img { min-height: 260px; object-fit: cover; }
  .case-highlight { padding: 1.4rem; }
  .case-links { align-items: flex-start; flex-direction: column; }
  .gem-cover { min-height: 320px; padding: 1rem; }
  .gem-cover-label, .gem-cover-foot { font-size: .57rem; }
  .gem-visual { inset: 26% 6% 20%; }
  .gem-map { gap: 2%; }
  .site-footer { flex-wrap: wrap; }
  .site-footer > span { order: 3; width: 100%; }
  .resume-job { grid-template-columns: 1fr; gap: .6rem; }
}

/* Homepage hero: a single data-inspired illustration, kept behind the name. */
.hero {
  min-height: max(610px, min(790px, calc(100svh - 76px)));
  padding: 1.6rem clamp(1.25rem, 5vw, 5rem) 2rem;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 2rem;
}
.hero-topline {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
}
.hero-role, .hero-location { font-size: .68rem; font-weight: 850; }
.hero-tools { display: flex; align-items: center; gap: 1rem; }
.hero-lockup { grid-template-columns: minmax(0, 1fr) minmax(260px, 330px); align-items: center; gap: clamp(2rem, 4vw, 4rem); }
.hero h1 { position: relative; z-index: 2; width: max-content; max-width: none; white-space: nowrap; overflow-wrap: normal; font-size: clamp(3rem, calc((100vw - 10vw - 362px) / 4.6), 17rem); line-height: .86; }
.hero-aside {
  position: relative;
  z-index: 3;
  justify-self: end;
  width: 100%;
  max-width: 330px;
  padding: clamp(1.1rem, 2.2vw, 1.6rem);
  border: 2px solid var(--blue);
  border-radius: 1rem;
  background: var(--yellow);
  box-shadow: var(--shadow);
}
.hero-aside .hero-aside-label { margin: 0 0 1rem; font-size: .64rem; font-weight: 900; }
.hero-aside > p:not(.hero-aside-label) { max-width: 23ch; margin: 0 0 1.25rem; font-size: clamp(1.25rem, 2vw, 1.7rem); font-weight: 700; line-height: 1.08; }
.motion-toggle {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 2.1rem;
  padding: .35rem .65rem;
  border: 1px solid rgba(30,49,90,.35);
  border-radius: 999px;
  color: var(--ink);
  background: var(--white);
  font: 800 .68rem/1 var(--body);
  cursor: pointer;
}
.motion-toggle[aria-pressed="true"] { border-color: var(--blue); background: var(--blue-soft); }
.motion-toggle:focus-visible { outline: 3px solid var(--pink-ink); outline-offset: 3px; }
.motion-indicator { width: .58rem; height: .58rem; border: 1.5px solid var(--ink); border-radius: 50%; background: var(--paper); }
.motion-toggle[aria-pressed="true"] .motion-indicator { background: var(--pink); }
.hero-dataviz {
  position: absolute;
  z-index: 1;
  top: 14%;
  right: 2%;
  width: min(68vw, 900px);
  max-height: 78%;
  overflow: visible;
  opacity: .82;
  pointer-events: none;
}
.hero-chart-grid { opacity: .13; }
.hero-chart-area { fill: var(--blue-soft); opacity: .82; }
.hero-chart-line { fill: none; stroke: var(--pink); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.hero-chart-points circle { fill: var(--yellow); stroke: var(--ink); stroke-width: 4; }
.hero-chart-points circle:nth-child(even) { fill: var(--pink); }
.hero-chart-axis { fill: none; stroke: var(--ink); stroke-width: 3; opacity: .4; }
.hero-motion-on .hero-chart-line { stroke-dasharray: 1500; stroke-dashoffset: 1500; animation: chart-draw 1.25s cubic-bezier(.25,.75,.25,1) .15s forwards; }
.hero-motion-on .hero-chart-points circle { transform-box: fill-box; transform-origin: center; animation: point-reveal .35s ease-out .7s both; }
.hero-motion-on .hero-chart-points circle:nth-child(2) { animation-delay: .82s; }
.hero-motion-on .hero-chart-points circle:nth-child(3) { animation-delay: .94s; }
.hero-motion-on .hero-chart-points circle:nth-child(4) { animation-delay: 1.06s; }
.hero-motion-on .hero-chart-points circle:nth-child(5) { animation-delay: 1.18s; }
@keyframes chart-draw { to { stroke-dashoffset: 0; } }
@keyframes point-reveal { from { opacity: .25; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .hero-motion-on .hero-chart-line { animation-duration: 1.25s !important; }
  .hero-motion-on .hero-chart-points circle { animation-duration: .35s !important; }
}
@media (max-width: 820px) {
  .hero { min-height: max(620px, calc(100svh - 64px)); padding: 1.4rem 1.1rem 2rem; gap: 1.5rem; }
  .hero-lockup { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; align-items: start; }
  .hero h1 { font-size: clamp(2.8rem, calc((100vw - 2.2rem) / 4.6), 11rem); }
  .hero-aside { justify-self: stretch; width: 100%; max-width: none; }
  .hero-aside > p:not(.hero-aside-label) { max-width: 38ch; }
  .hero-dataviz { top: 24%; right: -12%; width: 92vw; max-height: none; opacity: .5; }
}
@media (max-width: 620px) {
  .hero { min-height: max(640px, calc(100svh - 64px)); padding-inline: 1rem; }
  .hero-topline { grid-template-columns: 1fr; gap: .7rem; }
  .hero-tools { justify-content: space-between; }
  .hero-role, .hero-location { font-size: .58rem; }
  .hero h1 { font-size: clamp(2.7rem, calc((100vw - 2rem) / 4.6), 7.5rem); }
  .hero-aside { padding: 1.1rem; }
  .hero-aside > p:not(.hero-aside-label) { font-size: clamp(1.2rem, 5vw, 1.55rem); }
  .hero-dataviz { top: 27%; right: -38%; width: 130vw; opacity: .38; }
}
@media (max-width: 380px) {
  .hero-role, .hero-location { font-size: .53rem; }
  .motion-toggle { font-size: .64rem; }
  .hero h1 { font-size: clamp(2.5rem, calc((100vw - 2rem) / 4.6), 3.4rem); }
}
@media (max-width: 440px) {
  .story-grid, .hobby-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(3rem, 18.7vw, 5rem); }
  .gem-live-cover iframe { height: 90vw; min-height: 340px; }
  .hero-squiggle { top: 16%; right: -4%; width: 190px; opacity: .35; }
  .work-resume-cta { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 380px) {
  .hero-topline { font-size: .48rem; }
  .hero-bottomline { align-items: flex-start; flex-direction: column; gap: .45rem; }
  .hero { min-height: 620px; }
  .project-meta { font-size: .57rem; }
  .button-link { max-width: 100%; gap: .65rem; padding-inline: .8rem; }
}

/* Keep the homepage hero close to its original, quieter composition. */
.hero-lockup { grid-template-columns: minmax(0, 1fr) minmax(210px, 270px); gap: clamp(1rem, 3vw, 2.5rem); }
.hero h1 { width: max-content; max-width: none; white-space: nowrap; overflow-wrap: normal; font-size: clamp(3rem, calc((100vw - 10vw - 302px) / 4.6), 17rem); }
.hero-aside { max-width: 250px; }
.hero-orbit { z-index: 0; }
.orbit-one { opacity: .24; }
.orbit-two { opacity: .16; }
.hero-bottomline, .hero-topline { z-index: 2; }
.project-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem 1.25rem; margin-top: auto; }
.project-actions .text-link { margin: .25rem 0; }
.more-work-card .button-link.button-blue { color: var(--white); background: var(--pink-ink); border-color: var(--pink-ink); box-shadow: 3px 4px 0 var(--blue); }
.more-work-card .button-link.button-blue:hover { box-shadow: none; }
.tile-illustration { position: relative; display: block; width: 100%; height: 130px; margin: .7rem 0 .25rem; overflow: hidden; border: 1px solid var(--blue); border-radius: .55rem; }
.code-illustration { padding: .75rem; background: var(--white); }
.code-illustration b { display: block; margin-bottom: .45rem; color: var(--blue); font: 850 .75rem var(--display); }
.code-illustration i { display: block; width: 82%; height: 7px; margin: .35rem 0; border-radius: 99px; background: var(--blue-soft); }
.code-illustration i:nth-of-type(2) { width: 68%; background: var(--pink-soft); }
.code-illustration i:nth-of-type(3) { width: 90%; }
.code-illustration i:nth-of-type(4) { width: 52%; background: #fff2b0; }
.code-illustration small { position: absolute; right: .75rem; bottom: .6rem; color: var(--ink); font-size: .62rem; font-weight: 800; }
.writing-illustration { display: grid; place-items: center; background: var(--white); }
.writing-illustration b { position: relative; z-index: 1; color: var(--ink); text-align: center; font: 900 1.25rem/.9 var(--display); }
.writing-illustration i { position: absolute; width: 36px; height: 36px; border: 1px solid var(--ink); border-radius: 50%; background: var(--pink); }
.writing-illustration i:nth-of-type(1) { left: 12%; top: 18%; background: var(--yellow); }
.writing-illustration i:nth-of-type(2) { right: 15%; top: 13%; background: var(--blue-soft); }
.writing-illustration i:nth-of-type(3) { left: 21%; bottom: 12%; width: 24px; height: 24px; background: var(--pink-soft); }
.writing-illustration span { position: absolute; right: 13%; bottom: 10%; color: var(--pink); font-size: 1.3rem; font-weight: 900; }
.resume-section > h2, .resume-highlights h2 { color: var(--pink); }
.resume-dates { display: inline-block; width: fit-content; height: fit-content; padding: .22rem .4rem; border-radius: .2rem; color: var(--ink); background: var(--yellow); }

.warm-preview { padding: 1.5rem 0 clamp(3rem, 7vw, 6rem); }
.warm-preview-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .65fr); gap: .5rem 2rem; align-items: end; margin-bottom: 1.5rem; }
.warm-preview-heading .eyebrow { grid-column: 1 / -1; margin-bottom: .5rem; }
.warm-preview-heading h2 { margin: 0; font: 850 clamp(2rem, 5vw, 4rem)/.98 var(--display); }
.warm-preview-heading h2 em { color: var(--pink); font-style: normal; }
.warm-preview-heading > p:last-child { max-width: 34ch; margin: 0 0 .2rem; }
.warm-preview-frame { position: relative; overflow: hidden; border: 2px solid var(--blue); border-radius: 1rem; background: #101316; box-shadow: var(--shadow); }
.warm-preview-frame img { display: block; width: 100%; height: clamp(240px, 48vw, 560px); object-fit: contain; }
.warm-frame-label { position: absolute; top: 1rem; left: 1rem; padding: .4rem .65rem; border: 1px solid var(--blue); border-radius: 999px; background: var(--white); font-size: .65rem; font-weight: 850; }
.warm-preview-footer { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem 1rem; padding: 1rem 0; }
.warm-preview-controls { display: flex; flex-wrap: wrap; gap: .5rem; }
.warm-preview-controls button { padding: .55rem .8rem; border: 1px solid var(--blue); border-radius: 999px; color: var(--ink); background: var(--white); font: 750 .78rem var(--body); cursor: pointer; }
.warm-preview-controls button[aria-pressed="true"] { color: var(--white); background: var(--blue); }
.warm-preview-controls button:focus-visible { outline: 3px solid var(--pink-ink); outline-offset: 3px; }
.warm-preview-caption { flex: 1 1 220px; margin: 0; font-size: .85rem; }
.warm-preview-footer .button-link { white-space: nowrap; }

@media (max-width: 820px) {
  .hero-lockup { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .hero h1 { font-size: clamp(3rem, calc((100vw - 2rem) / 4.6), 11rem); }
  .hero-aside { justify-self: stretch; width: 100%; max-width: none; }
  .hero-aside p { max-width: 32ch; }
  .orbit-one { width: 46vw; height: 46vw; right: 8%; top: 16%; opacity: .18; }
  .orbit-two { width: 33vw; height: 33vw; right: 14%; top: 21%; opacity: .12; }
}
@media (max-width: 620px) {
  .hero h1 { font-size: clamp(2.8rem, calc((100vw - 2rem) / 4.6), 7.5rem); }
  .hero-aside { justify-self: stretch; width: 100%; max-width: none; }
  .hero-aside p { max-width: 32ch; }
  .project-actions { align-items: flex-start; gap: 1rem; }
  .warm-preview-heading { grid-template-columns: 1fr; gap: .8rem; }
  .warm-preview-heading .eyebrow { grid-column: auto; }
  .warm-preview-frame img { height: clamp(220px, 62vw, 380px); }
  .warm-preview-footer { align-items: flex-start; flex-direction: column; }
}

/* Homepage hero refinement: open copy, playful data shapes, clear mobile hierarchy. */
.hero {
  min-height: max(620px, min(800px, calc(100svh - 76px)));
  padding: 1.6rem clamp(1.25rem, 5vw, 5rem) 2rem;
  grid-template-rows: auto 1fr;
}
.hero-lockup {
  position: relative;
  z-index: 2;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 390px);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
}
.hero h1 {
  font-size: clamp(3rem, calc((100vw - 10vw - 420px) / 4.1), 17rem);
}
.hero-aside {
  justify-self: end;
  width: 100%;
  max-width: 390px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.hero-aside > p {
  max-width: 32ch;
  margin: 0 0 1.4rem;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 700;
  line-height: 1.16;
}
.hero-dataviz {
  top: 7%;
  right: -2%;
  width: min(84vw, 1120px);
  max-height: 90%;
  opacity: .88;
}
.hero-blob-blue { fill: var(--blue-soft); opacity: .92; }
.hero-blob-pink { fill: var(--pink-soft); opacity: .95; }
.hero-blob-yellow { fill: var(--yellow); opacity: .96; }
.hero-shape { position: static; width: auto; height: auto; border: 0; border-radius: 0; transform: none; }
.hero-chart-line { fill: none; stroke: var(--pink-ink); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; opacity: .72; }
.hero-chart-points circle { fill: var(--yellow); stroke: var(--ink); stroke-width: 4; }
.hero-chart-points circle:nth-child(even) { fill: var(--pink); }
.hero-data-dots { fill: var(--blue); opacity: .68; }
.hero-data-dots circle:nth-child(3n) { fill: var(--pink-ink); }
.hero-design-mark { fill: none; stroke: var(--blue); stroke-width: 3; opacity: .62; }
.hero-design-mark circle { fill: var(--pink); stroke: var(--blue); stroke-width: 2; }

.more-work-card .button-link.button-blue { margin-right: clamp(.75rem, 2vw, 2rem); border: var(--line); border-radius: 999px; background: var(--white); color: var(--ink); padding-inline: 2.6rem; box-shadow: none; }
.more-work-card .button-link.button-blue > span[aria-hidden="true"] { right: 1.35rem; }
.more-work-card .button-link.button-blue:hover { background: var(--blue-soft); box-shadow: none; }
@media (max-width: 380px) {
  .button-link { padding-inline: 2.2rem; }
}
@media (max-width: 900px) {
  .more-work-card .button-link.button-blue { margin-right: 0; }
}

@media (max-width: 900px) {
  .hero { min-height: max(650px, calc(100svh - 64px)); }
  .hero-lockup {
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    align-items: start;
    gap: clamp(1.6rem, 5vw, 2.5rem);
    padding-top: clamp(1.5rem, 4vh, 3rem);
  }
  .hero h1 { font-size: clamp(2.8rem, calc(90vw / 4), 11rem); }
  .hero-aside { justify-self: start; max-width: 620px; }
  .hero-dataviz { top: 14%; right: -10%; width: 100vw; opacity: .66; }
}
@media (max-width: 620px) {
  .hero { min-height: max(650px, calc(100svh - 76px)); padding: 1.25rem 1rem 1rem; }
  .hero-topline { grid-template-columns: 1fr; gap: .7rem; }
  .hero-tools { justify-content: space-between; }
  .hero-role, .hero-location { font-size: .58rem; }
  .hero-lockup { align-content: end; gap: 1.4rem; padding-top: 2.8rem; }
  .hero h1 { font-size: clamp(2.7rem, calc((100vw - 2rem) / 4), 7.5rem); }
  .hero-aside { width: 100%; max-width: 100%; }
  .hero-aside > p { max-width: 36ch; font-size: clamp(1.15rem, 5vw, 1.4rem); }
  .hero-dataviz { top: 24%; right: -42%; width: 145vw; max-height: none; opacity: .56; }
}
@media (max-width: 380px) {
  .hero-role, .hero-location { font-size: .53rem; }
  .motion-toggle { font-size: .64rem; }
  .hero h1 { font-size: clamp(2.5rem, calc((100vw - 2rem) / 4), 7.5rem); }
}

@media (min-width: 621px) {
  .hero-topline { display: block; position: static; width: 100%; }
  .hero-role {
    position: absolute;
    top: 1.6rem;
    left: clamp(1.25rem, 5vw, 5rem);
    z-index: 3;
  }
  .hero-tools {
    position: absolute;
    top: 1.6rem;
    right: clamp(1.25rem, 5vw, 5rem);
    z-index: 3;
    margin: 0;
  }
}
@media (min-width: 901px) {
  .hero-lockup {
    grid-template-columns: minmax(0, 1fr);
    align-content: end;
    align-items: start;
    gap: clamp(1.4rem, 3vw, 2.25rem);
  }
  .hero { min-height: max(620px, calc(100svh - 76px)); padding-bottom: 1rem; }
  .hero-tools { justify-self: end; justify-content: flex-end; }
  .hero-aside {
    justify-self: start;
    max-width: 560px;
    margin-left: .2rem;
  }
  .hero-aside > p { max-width: 34ch; }
  .hero-dataviz {
    top: 7%;
    right: -2%;
    width: min(84vw, 1120px);
    opacity: .88;
  }
}
@keyframes hero-blob-drift {
  from { transform: translate3d(-2px, -2px, 0) rotate(-.35deg); }
  to { transform: translate3d(3px, 3px, 0) rotate(.35deg); }
}
.hero-motion-on .hero-blob-blue,
.hero-motion-on .hero-blob-pink,
.hero-motion-on .hero-blob-yellow {
  transform-box: fill-box;
  transform-origin: center;
  animation: hero-blob-drift 8s ease-in-out infinite alternate;
}
.hero-motion-on .hero-blob-pink { animation-delay: -2s; animation-direction: alternate-reverse; }
.hero-motion-on .hero-blob-yellow { animation-duration: 6.5s; animation-delay: -1s; }

/* Header controls echo the compact motion toggle. */
.hero-topline { display: flex; width: 100%; justify-content: space-between; }
.hero-tools { justify-self: end; margin-left: auto; justify-content: flex-end; }
.site-header nav { gap: .5rem; }
.site-header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.1rem;
  padding: .35rem .7rem;
  border: 1px solid var(--blue);
  border-radius: 999px;
  background: var(--white);
  font-size: .78rem;
  font-weight: 800;
  line-height: 1;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.site-header nav a:hover {
  border-color: var(--blue);
  background: var(--blue-soft);
  color: var(--ink);
  text-decoration: none;
}
.site-header nav a[aria-current="page"] { background: var(--blue-soft); }
.nav-motion-group { display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; }
.nav-separator { align-self: center; height: 1.35rem; border-left: 1px solid rgba(30,49,90,.35); }
.site-header nav .motion-toggle { min-height: 2.1rem; padding: .35rem .7rem; border: 2px solid var(--blue); background: var(--pink-soft); font-size: .78rem; transition: background-color .15s ease; }
.site-header nav .motion-toggle[aria-pressed="true"] { background: var(--pink-soft); }
.site-header nav .motion-toggle:hover { background: var(--blue-soft); }
@media (prefers-reduced-motion: no-preference) {
  .button-link, .pill-link { transition: background-color .15s ease, color .15s ease; }
}
@media (prefers-reduced-motion: reduce) {
  .button-link, .pill-link { transition: none; }
}
@media (max-width: 620px) {
  .hero-topline { display: grid; position: relative; }
  .hero-role, .hero-tools { position: static; }
  .hero-tools { justify-self: stretch; margin-left: 0; justify-content: space-between; }
  .site-header nav { gap: .3rem; }
  .site-header nav a { padding-inline: .55rem; font-size: .72rem; }
}
.more-work-card { align-items: flex-start; flex-direction: column; gap: 1.25rem; isolation: isolate; position: relative; margin-top: clamp(2rem, 4vw, 3rem); padding: clamp(2rem, 4vw, 3rem) 0 2rem; overflow: visible; background: transparent; border: 0; border-top: 1px solid rgba(30,49,90,.25); border-radius: 0; box-shadow: none; }
.more-work-card::after { display: none; }
.more-work-card > div { position: relative; z-index: 1; max-width: 55ch; }
.more-work-card h3 { font-size: clamp(1.5rem, 2.7vw, 2.25rem); line-height: 1.1; }
.more-work-card > div > p:not(.eyebrow) { max-width: 50ch; margin: .65rem 0 0; font-size: 1rem; }
.more-work-card .button-link.button-blue { position: relative; z-index: 1; flex-shrink: 0; margin-right: 0; background: var(--white); color: var(--ink); padding-inline: 2.6rem; }
.more-work-card .button-link.button-blue > span[aria-hidden="true"] { right: 1.35rem; }
.more-work-card .button-link.button-blue:hover { background: var(--blue-soft); }
.motion-enabled .button-link,
.motion-enabled .pill-link { box-shadow: 3px 4px 0 var(--blue); transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease; }
.motion-enabled .pill-link { box-shadow: 2px 3px 0 var(--blue); }
.motion-enabled .button-link:hover { transform: translate(3px, 4px); background: var(--blue-soft); box-shadow: none; }
.motion-enabled .pill-link:hover { transform: translate(2px, 3px); background: var(--blue-soft); box-shadow: none; }
.motion-enabled .more-work-card .button-link.button-blue { box-shadow: 3px 4px 0 var(--blue); }
.motion-enabled .more-work-card .button-link.button-blue:hover { transform: translate(3px, 4px); background: var(--blue-soft); box-shadow: none; }
.work-section { position: relative; isolation: isolate; overflow: hidden; }
.work-section > .section-wrap { position: relative; z-index: 1; }
.work-blob { position: absolute; z-index: 0; right: clamp(-12.5rem, -13vw, -4rem); bottom: clamp(-15rem, -16vw, -5rem); width: clamp(50rem, 70vw, 90rem); height: clamp(30rem, 42vw, 44rem); overflow: hidden; pointer-events: none; transform: rotate(180deg); }
.work-blob path { fill: var(--pink-soft); }
.work-section { padding-bottom: clamp(3rem, 5vw, 5rem); }
@media (max-width: 900px) {
  .more-work-card { align-items: flex-start; }
}
@media (max-width: 620px) {
  .work-blob { right: clamp(-6rem, -12vw, -2rem); bottom: clamp(-8rem, -18vw, -2rem); width: 130vw; height: clamp(11rem, 42vw, 16rem); }
}
.more-work-card .button-link.button-blue { padding-left: 1.6rem; padding-right: 2.6rem; }
.site-header nav a, .motion-toggle { border: 2px solid var(--blue); }
.tile-illustration.code-illustration,
.tile-illustration.writing-illustration { padding: 0; background: var(--white); }

/* Shared selected work and editorial case studies. */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.1rem, 3vw, 2rem);
}
.featured-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: var(--line);
  border-radius: 1rem;
  background: var(--white);
  box-shadow: var(--shadow);
}
.featured-art-link {
  display: block;
  border-radius: calc(1rem - 2px) calc(1rem - 2px) 0 0;
}
.featured-art {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 5;
  object-fit: cover;
  border-radius: calc(1rem - 2px) calc(1rem - 2px) 0 0;
  border-bottom: 1px solid var(--blue);
  background: var(--blue-soft);
}
.featured-dashboard { object-fit: contain; }
.featured-publishing { object-position: center top; }
.featured-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1rem, 3vw, 1.8rem);
}
.featured-copy h3 {
  margin: 0;
  font: 850 clamp(1.45rem, 3vw, 2.35rem)/1.04 var(--display);
}
.featured-copy p { margin: .8rem 0 1.3rem; }
.featured-copy .featured-organisation {
  margin: 0 0 .65rem;
  font-size: .78rem;
  font-weight: 850;
  text-transform: uppercase;
}
.featured-copy .button-link { margin-top: auto; }
.access-feature,
.access-band {
  background: var(--yellow);
  border: var(--line);
}
.access-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(1rem, 4vw, 3rem);
  margin-top: clamp(2rem, 6vw, 4.5rem);
  padding: clamp(1.25rem, 5vw, 3.25rem);
  border-radius: 1rem;
}
.access-band {
  padding-block: clamp(2.5rem, 6vw, 5rem);
  border-inline: 0;
}
.access-feature h2,
.access-band h2 {
  margin: 0;
  font: 850 clamp(1.8rem, 5vw, 3.8rem)/1.02 var(--display);
}
.access-feature p { margin: 0 0 1.15rem; }
.access-band > .section-wrap > p { max-width: 62ch; }
.access-examples {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 0;
  margin: 1.6rem 0;
  list-style: none;
}
.access-examples li {
  padding: 1.15rem;
  border: 1px solid var(--blue);
  border-radius: .8rem;
  background: var(--white);
}
.access-examples h3 { margin: 0 0 .55rem; font-size: 1.1rem; line-height: 1.2; }
.access-examples p { margin: 0; }
.case-contribution { max-width: 58ch; margin: 1.25rem 0 0; font-size: 1.05rem; }
.editorial-case .case-hero h1 { max-width: 18ch; font-size: clamp(2.65rem, 8.6vw, 7rem); }
.editorial-case .case-body { padding-top: 0; }
.editorial-case .case-body > .case-prose:first-child { padding-top: 1.6rem; }
.case-figure { margin-block: 0 1.4rem; }
.case-prose .case-figure { margin-inline: 0; max-width: 55rem; }
.case-figure img { display: block; width: 100%; height: auto; border: 1px solid var(--blue); border-radius: .7rem; }
.case-figure figcaption { max-width: 68ch; margin-top: .55rem; font-size: .9rem; }
.gem-evidence { max-width: 64rem; }
.publishing-states { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.case-prose .publishing-states .case-figure { max-width: 27rem; margin: 0; }
.publishing-states .case-figure img { aspect-ratio: 3 / 4; object-fit: contain; object-position: top; background: var(--white); }
.chart-examples { padding-inline: clamp(.85rem, 3vw, 2rem); }
.chart-example + .chart-example { margin-top: 2rem; }
.chart-example h3 { margin: 0 0 .75rem; font: 800 1.35rem var(--display); }
.chart-label-options {
  display: inline-flex;
  flex-wrap: wrap;
  gap: .25rem;
  min-inline-size: 0;
  margin: 0 0 .85rem;
  padding: .25rem;
  border: 1px solid var(--blue);
  border-radius: .75rem;
  background: var(--white);
}
.chart-label-options[hidden] { display: none; }
.chart-label-options :is(legend, input) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.chart-label-options label { position: relative; cursor: pointer; }
.chart-label-options label span {
  display: flex;
  align-items: center;
  min-height: 2.5rem;
  padding: .4rem .65rem;
  border-radius: .45rem;
  font-size: .85rem;
  font-weight: 750;
}
.chart-label-options input:checked + span { color: var(--white); background: var(--ink); }
.chart-label-options input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
@media (forced-colors: active) {
  .chart-label-options input:checked + span { box-shadow: inset 0 0 0 2px Highlight; border: 2px solid Highlight; }
}
.chart-example-links { display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
.chart-comparison { display: grid; gap: 1rem; margin-bottom: .5rem; }
.chart-preview { min-width: 0; }
.chart-preview .flourish-embed { overflow: hidden; border: 1px solid var(--blue); border-radius: .7rem; background: var(--white); }
.chart-preview .flourish-embed:empty { display: none; }
.chart-preview img { display: block; width: 100%; height: auto; }
.chart-preview .chart-preview-label, .chart-preview-mobile { display: none; }

@media (min-width: 68rem) {
  .has-flourish-previews .chart-comparison { grid-template-columns: minmax(0, 1fr) minmax(0, 375px); }
  .has-flourish-previews .chart-preview-mobile, .has-flourish-previews .chart-preview-label { display: block; }
  .has-flourish-previews .chart-preview-label { margin: 0 0 .35rem; font-size: .85rem; font-weight: 750; }
}

@media (max-width: 699px) {
  .publishing-states { grid-template-columns: minmax(0, 1fr); }
  .publishing-states .case-figure img { aspect-ratio: auto; }
}

.nav-motion-group[hidden] { display: none; }
.motion-toggle[aria-disabled="true"] { cursor: default; }
html { scroll-behavior: auto; }
html.site-motion-on { scroll-behavior: smooth; }
html:not(.site-motion-on) *, html:not(.site-motion-on) *::before, html:not(.site-motion-on) *::after {
  animation: none !important;
  transition: none !important;
}
:where(a, button, summary):focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
  box-shadow: 0 0 0 4px var(--white);
}
a:focus-visible { outline-color: var(--ink); }
.skip-link { position: fixed; }
.site-header { height: auto; min-height: 76px; padding-block: .55rem; }
.site-header nav { flex-wrap: wrap; justify-content: flex-end; }
.site-header nav a, .site-header nav .motion-toggle { min-height: 2.25rem; }
.button-link { max-width: 100%; }
.text-link, .back-link { min-height: 1.5rem; }
.case-next > a:first-child { text-align: left; }
.resume-job > div { min-width: 0; }

@media (max-width: 699px) {
  .featured-grid, .access-feature, .access-examples { grid-template-columns: minmax(0, 1fr); }
  .site-header { position: static; min-height: 64px; }
  html { scroll-padding-top: 0; }
}
@media (max-width: 380px) {
  .site-header { align-items: flex-start; flex-direction: column; gap: .55rem; }
  .site-header nav { justify-content: flex-start; }
  .case-next { flex-direction: column; align-items: flex-start; }
  .case-next > a { text-align: left; }
}
