:root {
  --ink: #1b201e;
  --muted: #58625c;
  --ground: #fafbfa;
  --soft: #eef2ef;
  --panel: #fff;
  --green: #216148;
  --blue: #2d66ac;
  --line: #dfe5e0;
  font-family: "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: var(--ground);
  color-scheme: light;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font-size: 16px; line-height: 1.7; letter-spacing: 0; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: #21614818; touch-action: manipulation; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
button, input { color: inherit; }
h1, h2, h3, p, dd { overflow-wrap: anywhere; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
h2 { font-size: 40px; line-height: 1.25; font-weight: 650; }
h3 { font-size: 26px; line-height: 1.35; font-weight: 650; }
[hidden] { display: none !important; }
.container { width: min(1248px, calc(100% - 80px)); margin-inline: auto; }
.section-pad { padding-block: 96px; }
section[id] { scroll-margin-top: 96px; }
.skip-link { position: fixed; top: 10px; left: 20px; z-index: 100; padding: 10px 16px; background: var(--panel); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.site-header { min-height: 76px; padding-inline: max(40px, calc((100% - 1248px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 24px; position: sticky; top: 0; z-index: 30; background: var(--ground); }
.brand { display: inline-flex; align-items: center; width: 80px; min-height: 44px; flex-shrink: 0; }
/* Align the visible lettering, rather than the PNG's transparent margin, to the page grid. */
.brand-logo { display: block; width: 132px; height: auto; margin-left: -31px; flex-shrink: 0; }
.brand:hover .brand-logo { opacity: .78; }
.header-actions, .site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav { font-size: 14px; font-weight: 600; color: var(--muted); }
.site-nav a { min-height: 44px; display: inline-flex; align-items: center; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--green); text-decoration: underline; text-underline-offset: 7px; }
.lang-toggle { width: 54px; height: 44px; flex: 0 0 54px; padding: 0; background: var(--soft); border: 0; border-radius: 2px; font-size: 13px; font-weight: 650; }
.lang-toggle:hover { background: #e0e8e2; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 11px; background: var(--soft); border: 0; border-radius: 2px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin-block: 5px; transition: transform .2s; }
body.nav-open .nav-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
body.nav-open .nav-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.hero { padding-top: 32px; }
.page-kicker { color: var(--muted); font-size: 13px; font-weight: 600; margin-bottom: 18px; }
.profile-hero { padding-top: 48px; }
body[data-page="home"] .about-section { padding-top: 64px; }
.profile-visual { margin: 44px 0 0; }
.profile-image { display: block; height: min(290px, 32vh); min-height: 200px; overflow: hidden; background: var(--soft); }
.profile-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .45s; }
.profile-image:hover img { transform: scale(1.015); }
.profile-visual figcaption { display: flex; justify-content: space-between; gap: 24px; padding-top: 14px; font-size: 13px; color: var(--muted); }
.profile-visual figcaption > span:last-child { flex-shrink: 0; }
.next-pages { margin-bottom: 64px; }
.next-pages > a { display: grid; grid-template-columns: 60px minmax(0,1fr) 28px; align-items: center; gap: 24px; padding-block: 26px; border-top: 1px solid var(--line); }
.next-pages > a:last-child { border-bottom: 1px solid var(--line); }
.next-pages > a:hover strong, .next-pages > a:hover > span:last-child { color: var(--green); }
.next-pages strong { display: block; font-size: 24px; font-weight: 600; margin-bottom: 4px; }
.next-pages strong + span, .next-number { color: var(--muted); font-size: 14px; }
.next-pages > a > span:last-child { font-size: 24px; }
.page-intro { padding-block: 48px; }
.page-intro-grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 64px; align-items: end; }
.page-intro h1 { font-size: 56px; line-height: 1.2; font-weight: 650; }
.page-intro-grid > p { max-width: 480px; color: var(--muted); }
.page-intro .hero-showcase { margin-top: 40px; }
body[data-page="work"] .page-intro { padding-bottom: 0; }
.capability-list article + article { padding-top: 28px; border-top: 1px solid #d5ded7; }
.contact-page .contact-layout .page-kicker { margin-top: 0; margin-bottom: 18px; font-size: 13px; }
.candidate-focus { margin: 28px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.candidate-focus > div { display: grid; grid-template-columns: 140px minmax(0,1fr); gap: 24px; font-size: 14px; }
.candidate-focus dt { color: var(--muted); }
.candidate-focus dd { margin: 0; }
.interview-topics > article { display: grid; grid-template-columns: 48px minmax(0,1fr) 170px; gap: 32px; padding-block: 30px; border-top: 1px solid var(--line); }
.interview-topics > article:last-child { border-bottom: 1px solid var(--line); }
.interview-number { color: var(--green); font-size: 13px; padding-top: 5px; font-variant-numeric: tabular-nums; }
.interview-topics h3 { font-size: 23px; margin-bottom: 12px; }
.interview-topics p { max-width: 740px; color: var(--muted); font-size: 15px; }
.interview-links { display: flex; flex-direction: column; align-items: flex-start; }
.interview-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
.interview-links a:hover { color: var(--ink); }
.hero-intro { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); align-items: center; gap: 56px; }
.hero h1 { font-size: 104px; line-height: 1.05; font-weight: 650; white-space: nowrap; }
.hero-statement { margin-top: 16px; font-size: 24px; line-height: 1.5; }
.hero-lede { font-size: 16px; line-height: 1.8; max-width: 480px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: 22px; }
.btn { min-height: 48px; padding: 11px 22px; display: inline-flex; align-items: center; justify-content: center; gap: 28px; border: 0; border-radius: 2px; font-size: 14px; font-weight: 650; transition: transform .2s, background-color .2s; }
.btn-primary { background: var(--green); color: var(--panel); }
.btn-primary:hover { background: #194c38; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.text-link { display: inline-flex; min-height: 44px; align-items: center; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; }
.text-link:hover { color: var(--green); }
.hero-showcase { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 0 24px; margin-top: 32px; }
.showcase-media { grid-column: 1 / -1; grid-row: 1; display: block; height: min(310px, 33vh); min-height: 220px; background: #e9eded; overflow: hidden; }
.showcase-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform .5s; }
.showcase-media:hover img { transform: scale(1.015); }
.showcase-media.lawboat { background: #e4edf9; }
.showcase-media.lawboat img { width: 260px; height: auto; margin: 18px auto 0; }
.showcase-media.wayfare img { object-position: top; }
.showcase-media.sitefoundry img { object-position: top; }
.showcase-toolbar { grid-row: 2; min-width: 0; display: flex; align-items: center; padding-top: 10px; }
.showcase-switch { display: inline-flex; flex-wrap: wrap; gap: 2px; }
.showcase-switch button { border: 0; border-radius: 2px; background: transparent; min-height: 44px; padding: 8px 13px; font-size: 14px; color: var(--muted); }
.showcase-switch button:hover { background: var(--soft); color: var(--ink); }
.showcase-switch button[aria-pressed="true"] { background: var(--ink); color: var(--panel); }
.showcase-type { display: none; }
.showcase-caption { grid-row: 2; display: flex; align-items: center; justify-content: end; gap: 24px; padding-top: 10px; min-width: 0; font-size: 13px; color: var(--muted); }
.showcase-caption .text-link { flex-shrink: 0; color: var(--ink); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 32px; }
.section-note { font-size: 16px; max-width: 390px; }
.work-section { padding-top: 64px; }
.work-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.filter-group { display: flex; flex-wrap: wrap; gap: 4px; }
.filter-group button { min-height: 44px; padding: 9px 14px; border: 0; background: transparent; border-radius: 2px; font-size: 14px; color: var(--muted); }
.filter-group button:hover { color: var(--ink); background: var(--soft); }
.filter-group button[aria-pressed="true"] { color: var(--panel); background: var(--ink); }
.project-count { font-size: 13px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.project-grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 52px 32px; align-items: start; }
.project-card { grid-column: span 5; min-width: 0; }
.project-card:nth-child(4n + 2), .project-card:nth-child(4n + 3) { grid-column: span 7; }
.project-link { display: block; }
.project-image { height: 330px; position: relative; background: var(--soft); overflow: hidden; border-radius: 2px; }
.project-image img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: top; transition: transform .45s; }
.project-link:hover .project-image img { transform: scale(1.025); }
.project-image.lawboat { background: #e4edf9; }
.project-image.lawboat img { width: 246px; height: auto; margin: 22px auto 0; }
.project-image.xvalue { background: #11171b; }
.project-image.xvalue img { object-fit: contain; }
.project-image.sitefoundry img { object-fit: cover; }
.project-image.alfredo-heritage img { object-position: left top; }
.project-image.image-contain img { object-fit: contain; object-position: center; }
.project-image.npa-valuation { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 14px; background: #e7edeb; }
.project-image.npa-valuation img { min-width: 0; border: 1px solid #d4ded9; border-radius: 2px; }
.project-image.serorem { background: #f0e7dc; }
.project-content { padding-top: 22px; }
.project-title { display: flex; align-items: start; justify-content: space-between; gap: 14px; }
.project-title > span { font-size: 22px; transition: transform .2s; }
.project-link:hover .project-title > span { transform: translate(3px,-3px); }
.project-description { font-size: 16px; margin-top: 12px; max-width: 640px; }
.project-overline { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 18px; color: var(--muted); font-size: 13px; }
.status-label { color: var(--muted); }
.project-stack { margin-top: 6px; font-size: 13px; color: var(--muted); }
.project-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.project-card:last-child:nth-child(odd) .project-link { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); align-items: center; gap: 40px; }
.project-card:last-child:nth-child(odd) .project-content { padding-top: 0; }
.project-card:only-child .project-image { height: 380px; }
.project-card:only-child .project-image.lawboat { height: 460px; }
.project-card:only-child .project-image.lawboat img { width: 280px; }
.capabilities { background: var(--soft); }
.capabilities > .container { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.4fr); gap: 80px; }
.capabilities .section-heading { display: block; align-self: start; position: sticky; top: 120px; margin: 0; }
.capabilities .section-note { margin-top: 24px; max-width: 320px; }
.capability-list { display: grid; gap: 36px; }
.capability-list article { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px 20px; }
.capability-list h3 { font-size: 24px; }
.capability-list p { grid-column: 1 / -1; font-size: 16px; max-width: 700px; }
.capability-proof { grid-column: 2; grid-row: 1; align-self: center; font-size: 13px; color: var(--muted); }
.capability-toc { display: flex; flex-wrap: wrap; gap: 4px 32px; margin-top: 28px; }
.capability-toc a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; text-decoration: underline; text-underline-offset: 6px; }
.capability-toc a:hover { color: var(--green); }
.capability-list-expanded { gap: 32px; }
.capability-list-expanded > article { grid-template-columns: minmax(0,1fr); gap: 14px; }
.capability-list-expanded h3 { display: flex; align-items: baseline; gap: 16px; }
.capability-index { flex: 0 0 24px; color: var(--green); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.capability-details { padding-left: 20px; margin: 0; font-size: 15px; color: var(--muted); }
.capability-details li + li { margin-top: 8px; }
.capability-evidence { display: flex; align-items: center; flex-wrap: wrap; gap: 0 18px; font-size: 13px; }
.capability-evidence > span { color: var(--muted); }
.capability-evidence a { display: inline-flex; align-items: center; min-height: 44px; color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
.capability-evidence a:hover { color: var(--ink); }
.scenario-row { display: grid; grid-template-columns: minmax(0,.8fr) repeat(2,minmax(0,1fr)); gap: 40px; padding-block: 32px; border-top: 1px solid var(--line); }
.scenario-row:last-child { border-bottom: 1px solid var(--line); }
.scenario-row h3 { font-size: 22px; }
.scenario-label { margin-bottom: 12px; font-size: 13px; font-weight: 600; color: var(--green); }
.scenario-row > div > p:last-child { font-size: 15px; }
.capability-boundary { max-width: 960px; border-left: 2px solid var(--line); padding-left: 20px; margin-top: 28px; color: var(--muted); font-size: 14px; }
.delivery-section { background: #edf2f7; }
.delivery-steps { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 32px; list-style: none; padding: 0; margin: 0; }
.delivery-steps > li { border-top: 1px solid #ccd7e1; padding-top: 20px; min-width: 0; }
.delivery-number { display: block; margin-bottom: 20px; font-size: 13px; font-weight: 600; color: var(--blue); }
.delivery-steps h3 { font-size: 21px; margin-bottom: 12px; }
.delivery-steps p { font-size: 15px; }
.technical-practice { margin: 0; }
.technical-practice > div { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 32px; padding-block: 22px; border-top: 1px solid var(--line); }
.technical-practice > div:last-child { border-bottom: 1px solid var(--line); }
.technical-practice dt { font-size: 15px; font-weight: 600; }
.technical-practice dd { margin: 0; font-size: 15px; color: var(--muted); }
.about-layout { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 100px; }
.about-intro { font-size: 20px; max-width: 360px; margin-top: 24px; }
.about-copy > p + p { margin-top: 24px; }
.stack-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 24px; margin-top: 32px; font-size: 14px; color: var(--muted); }
.contact-section { background: #e4ece7; }
.contact-layout { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 80px; align-items: center; }
.contact-layout h2 { font-size: 44px; max-width: 640px; }
.contact-layout p { font-size: 16px; margin-top: 24px; max-width: 570px; }
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.contact-email { display: inline-block; max-width: 100%; min-height: 44px; font-size: 28px; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 8px; }
.contact-email:hover { color: var(--green); }
.copy-email { border: 0; padding: 10px 0; min-height: 44px; background: transparent; font-size: 14px; text-decoration: underline; text-underline-offset: 5px; }
.copy-email:hover { color: var(--green); }
.copy-status { min-height: 24px; font-size: 14px; color: var(--green); }
.site-footer { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-block: 32px; font-size: 13px; color: var(--muted); }
.case-hero { padding-block: 38px 48px; }
.breadcrumb { display: inline-flex; min-height: 44px; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.breadcrumb:hover { color: var(--green); text-decoration: underline; }
.case-header { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,.7fr); gap: 64px; align-items: end; }
.case-hero h1 { font-size: 56px; line-height: 1.2; }
.case-lede { font-size: 18px; margin-top: 24px; max-width: 720px; }
.section-kicker { font-size: 14px; color: var(--muted); margin-top: 18px; }
.case-meta { margin: 0; font-size: 14px; display: grid; gap: 18px; }
.case-meta > div { display: grid; grid-template-columns: 70px minmax(0,1fr); gap: 20px; }
.case-meta dt { color: var(--muted); }
.case-meta dd { margin: 0; }
.case-media-section { margin-bottom: 20px; }
.case-media-header { padding-block: 12px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 14px; color: var(--muted); }
.case-media { margin: 0; max-height: 600px; overflow: auto; background: var(--soft); border-radius: 2px; }
.case-media img { width: 100%; height: auto; display: block; }
.case-media.lawboat { display: flex; justify-content: center; background: #e4edf9; }
.case-media.lawboat img { width: auto; max-width: 100%; height: 600px; object-fit: contain; }
.case-media.xvalue img { max-height: 600px; object-fit: contain; background: #11171b; }
.case-media.image-contain img { max-height: 600px; object-fit: contain; }
.case-media.npa-valuation { display: grid; grid-template-columns: repeat(3, minmax(220px, 1fr)); align-items: start; gap: 20px; padding: 24px; max-height: none; background: #e7edeb; scroll-snap-type: x proximity; }
.case-media.npa-valuation img { min-width: 0; border: 1px solid #d4ded9; border-radius: 2px; scroll-snap-align: start; }
.case-grid { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 70px; padding-block: 48px; }
.case-grid h2 { font-size: 26px; }
.case-grid p { max-width: 840px; font-size: 16px; }
.case-stage-note { margin-top: 24px; padding: 20px 24px; background: var(--soft); font-size: 14px !important; }
.module-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px 40px; }
.module-list h3 { font-size: 22px; margin-bottom: 12px; }
.workflow-list { padding: 0; margin: 0; display: flex; flex-wrap: wrap; list-style-position: inside; gap: 14px 24px; font-size: 16px; }
.archive-links { display: grid; gap: 4px; }
.archive-links a { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 48px; padding: 12px 16px; background: var(--soft); font-size: 16px; }
.archive-links a:hover { color: var(--green); background: #e1e9e3; }
.case-end { padding-block: 40px 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.case-error { padding-block: 90px; }
@media (max-width: 1100px) {
  .hero h1 { font-size: 80px; }
  .hero-intro { gap: 36px; }
  .hero-statement { font-size: 20px; }
  .capabilities > .container { gap: 48px; }
  .about-layout, .contact-layout { gap: 48px; }
  .capability-list article { grid-template-columns: minmax(0,1fr); }
  .capability-proof { grid-column: 1; grid-row: 3; }
}
@media (max-width: 960px) {
  .container { width: calc(100% - 48px); }
  .site-header { padding-inline: 24px; }
  .header-actions, .site-nav { gap: 22px; }
  .hero h1 { font-size: 64px; }
  .page-intro-grid { gap: 32px; }
  .page-intro h1 { font-size: 44px; }
  .hero-intro { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 28px; }
  .hero-lede { font-size: 16px; }
  .showcase-caption p { display: none; }
  .project-grid { gap: 40px 24px; }
  .project-image { height: 280px; }
  .project-content { padding-top: 18px; }
  .project-card:last-child:nth-child(odd) .project-link { gap: 28px; }
  .about-layout { gap: 48px; }
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .case-header { gap: 32px; }
  .case-hero h1 { font-size: 44px; }
  .case-grid { grid-template-columns: 160px minmax(0,1fr); gap: 36px; }
  .scenario-row { gap: 24px; }
  .delivery-steps { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 720px) {
  html { scroll-padding-top: 84px; }
  .container { width: calc(100% - 40px); }
  .site-header { min-height: 68px; padding-inline: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
  .header-actions { gap: 8px; }
  .nav-toggle { display: block; }
  .site-nav { position: fixed; top: 68px; left: 0; right: 0; display: flex; align-items: stretch; flex-direction: column; gap: 0; padding: 16px 20px 24px; background: var(--ground); visibility: hidden; opacity: 0; pointer-events: none; }
  .site-nav a { min-height: 52px; font-size: 18px; }
  body.nav-open .site-nav { visibility: visible; opacity: 1; pointer-events: auto; }
  .hero { padding-top: 24px; }
  .profile-hero { padding-top: 32px; }
  .profile-visual { margin-top: 32px; }
  .profile-image { height: auto; min-height: 0; aspect-ratio: 16 / 9; }
  .profile-visual figcaption { flex-wrap: wrap; gap: 2px 16px; }
  .page-intro { padding-block: 32px; }
  .page-intro-grid { grid-template-columns: 1fr; gap: 20px; }
  .page-intro h1 { font-size: 36px; }
  .page-intro .hero-showcase { margin-top: 28px; }
  .next-pages { margin-bottom: 40px; }
  .next-pages > a { grid-template-columns: 28px minmax(0,1fr) 20px; gap: 12px; padding-block: 22px; }
  .next-pages strong { font-size: 21px; }
  .hero-intro { grid-template-columns: 1fr; gap: 20px; }
  .hero h1 { font-size: 56px; }
  .hero-statement { font-size: 20px; margin-top: 12px; }
  .hero-lede { max-width: 560px; font-size: 16px; line-height: 1.75; }
  .hero-actions { gap: 24px; margin-top: 20px; }
  .hero-showcase { margin-top: 28px; grid-template-columns: 1fr; }
  .showcase-media { height: auto; min-height: 0; aspect-ratio: 16 / 10; }
  .showcase-media img { object-position: left top; }
  .showcase-media.lawboat img { width: 180px; margin-top: 16px; }
  .showcase-toolbar { grid-row: 2; padding-top: 12px; }
  .showcase-switch { width: 100%; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2px; }
  .showcase-switch button { padding-inline: 8px; font-size: 13px; }
  .showcase-caption { grid-row: 3; justify-content: space-between; gap: 12px; padding-top: 0; }
  .showcase-caption p { display: block; font-size: 13px; }
  .showcase-caption .text-link { font-size: 13px; }
  .section-pad { padding-block: 64px; }
  .work-section { padding-top: 44px; }
  h2 { font-size: 32px; }
  .section-heading { display: block; margin-bottom: 24px; }
  .section-note { margin-top: 16px; max-width: 540px; }
  .work-toolbar { align-items: start; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
  .filter-group { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); width: 100%; gap: 6px; }
  .filter-group button { padding-inline: 8px; text-align: left; font-size: 14px; background: var(--soft); }
  .filter-group button[data-filter="all"] { grid-column: 1 / -1; }
  .project-grid { grid-template-columns: 1fr; gap: 40px; }
  .project-card, .project-card:nth-child(n), .project-card:last-child:nth-child(odd) { grid-column: auto; }
  .project-card:last-child:nth-child(odd) .project-link { display: block; }
  .project-card:last-child:nth-child(odd) .project-content { padding-top: 18px; }
  .project-image, .project-card:only-child .project-image { height: auto; aspect-ratio: 16 / 11; }
  .project-image.lawboat img { width: 196px; margin-top: 18px; }
  .project-card:only-child .project-image.lawboat { height: auto; }
  .project-card:only-child .project-image.lawboat img { width: 196px; }
  .project-title h3 { font-size: 24px; }
  .project-overline { margin-top: 16px; }
  .capabilities > .container { grid-template-columns: 1fr; gap: 36px; }
  .capabilities .section-heading { position: static; }
  .capabilities .section-note { max-width: 560px; margin-top: 16px; }
  .capability-list { gap: 32px; }
  .capability-list h3 { font-size: 22px; }
  .capability-toc { gap: 4px 24px; margin-top: 20px; }
  .capability-list-expanded h3 { gap: 12px; }
  .scenario-row { grid-template-columns: minmax(0,1fr); gap: 20px; padding-block: 28px; }
  .scenario-label { margin-bottom: 8px; }
  .delivery-steps { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .delivery-number { margin-bottom: 12px; }
  .technical-practice > div { grid-template-columns: minmax(0,1fr); gap: 8px; padding-block: 20px; }
  .candidate-focus > div { grid-template-columns: minmax(0,1fr); gap: 8px; }
  .interview-topics > article { grid-template-columns: 24px minmax(0,1fr); gap: 12px; padding-block: 26px; }
  .interview-topics h3 { font-size: 21px; }
  .interview-links { grid-column: 2; flex-direction: row; flex-wrap: wrap; gap: 0 20px; }
  .about-layout, .contact-layout, .case-header { grid-template-columns: 1fr; gap: 32px; }
  .about-intro { font-size: 18px; margin-top: 16px; }
  .stack-list { grid-template-columns: 1fr; gap: 12px; }
  .contact-layout h2 { font-size: 32px; }
  .contact-email { font-size: 24px; }
  .site-footer { font-size: 13px; gap: 12px 20px; padding-bottom: max(32px, env(safe-area-inset-bottom)); }
  .site-footer > span:nth-child(2) { display: none; }
  .case-hero { padding-block: 24px 32px; }
  .breadcrumb { margin-bottom: 24px; }
  .case-hero h1 { font-size: 36px; }
  .case-lede { font-size: 16px; margin-top: 18px; }
  .case-media-header { flex-wrap: wrap; gap: 0; font-size: 13px; }
  .case-media { max-height: 440px; }
  .case-media.lawboat img { height: 440px; }
  .case-grid { grid-template-columns: 1fr; gap: 24px; padding-block: 32px; }
  .module-list { grid-template-columns: 1fr; gap: 24px; }
  .case-end { flex-wrap: wrap; }
}
@media (max-width: 370px) {
  .hero h1 { font-size: 48px; }
  .contact-email { font-size: 22px; }
  .project-title h3 { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
