:root{color-scheme:dark;--bg:#101316;--panel:#191e23;--text:#edf2f5;--muted:#a1adb7;--line:#30383f;--accent:#27bef5}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.7 Inter,sans-serif}a{color:inherit;text-decoration:none}a:hover{color:var(--accent)}a:focus-visible,button:focus-visible{outline:2px solid var(--accent);outline-offset:5px}.wrap{width:min(1240px,calc(100% - 64px));margin:auto}.brand{font-weight:600}.brand span{display:block;color:var(--muted);font-size:12px;font-weight:400}.hero{padding-top:64px}.eyebrow{font-size:12px;letter-spacing:.16em;color:var(--accent);margin-bottom:24px}.hero-heading{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:70px}h1,h2,h3{font-family:'Space Grotesk',sans-serif;line-height:1.12;letter-spacing:-.04em}h1{font-size:clamp(64px,8vw,108px);margin:0}h1>span:first-child{color:var(--accent)}.hero-subtitle{display:block;font-size:clamp(32px,4vw,52px);color:var(--muted);margin-top:24px;font-weight:500}h2{font-size:clamp(32px,4vw,52px);margin:0 0 28px}h3{font-size:24px;margin:16px 0}p{color:var(--muted);margin:0 0 22px}.lead{font-size:22px;color:var(--text);line-height:1.5}.button{display:inline-flex;align-items:center;padding:12px 20px;border:1px solid var(--accent);color:var(--accent);font-size:14px}.hero-image{margin:48px 0 0}.hero-image img{width:100%;max-height:560px;object-fit:contain;background:#080a0c;display:block;border-radius:16px}.hero-image figcaption{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);margin-top:14px;gap:16px}.section{padding-top:88px;padding-bottom:88px;border-bottom:1px solid var(--line)}.split{display:grid;grid-template-columns:1fr 1.2fr;gap:80px;align-items:start}.chips{display:flex;flex-wrap:wrap;gap:8px}.chips span,.badge{font-size:12px;padding:5px 10px;border:1px solid var(--line);display:inline-block}.badge{color:var(--accent);border-color:#27566a;border-radius:20px;margin-bottom:20px}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.feature-grid article,.team-grid article{background:var(--panel);padding:28px;border:1px solid var(--line);border-radius:12px}.number{font-size:13px;color:var(--accent)}.feature-grid p,.team-grid p{font-size:15px;margin:0}.gallery-stage{height:480px;background:#050607;border-radius:16px;overflow:hidden;display:grid;place-items:center}.gallery-stage img,.gallery-stage video{width:100%;height:100%;max-height:480px;object-fit:contain}.gallery-controls{display:flex;align-items:center;justify-content:space-between;margin:16px 0;gap:16px}.gallery-controls span{color:var(--muted);font-size:14px}button{cursor:pointer;background:var(--panel);border:1px solid var(--line);color:var(--text);padding:10px 18px;font:inherit}.thumbnails{display:flex;gap:10px}.thumbnails button{width:64px;height:52px;padding:0;overflow:hidden}.thumbnails img{width:100%;height:100%;object-fit:cover}.thumbnails button.active{border-color:var(--accent)}video{width:100%;background:#000;border-radius:10px}.outcome{border-left:2px solid var(--accent);padding:16px 20px;background:var(--panel);font-size:15px;margin-top:24px}.outcome strong{display:block;color:var(--text);margin-bottom:8px}.award-band{background:#151c22}.award-photo{width:100%;border-radius:14px;align-self:center}.team-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.team-grid h3{margin-top:0}footer{display:flex;justify-content:space-between;gap:20px;padding:32px 0;color:var(--muted);font-size:14px}@media(max-width:760px){.wrap{width:calc(100% - 36px)}.hero-heading,.split,.feature-grid,.team-grid{grid-template-columns:1fr;gap:28px}.hero{padding-top:40px}.section{padding:48px 0}.hero-image figcaption{flex-direction:column;gap:4px}.gallery-stage,.gallery-stage img,.gallery-stage video{height:300px;max-height:300px}.hero-heading{gap:32px}footer{flex-wrap:wrap}.lead{font-size:20px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

/* Smaller media within the restored case-study layout. */
.hero-image { max-width: 760px; margin-inline: auto; }
.hero-image img { max-height: 320px; }
.gallery { max-width: 760px; margin-inline: auto; }
.gallery-stage, .gallery-stage img, .gallery-stage video { height: 320px; max-height: 320px; }
.award-photo { max-width: 420px; max-height: 300px; object-fit: contain; justify-self: center; }
.split video { max-height: 260px; object-fit: contain; }
@media(max-width:760px) { .hero-image img { max-height: 250px; } .gallery-stage, .gallery-stage img, .gallery-stage video { height: 250px; max-height: 250px; } }

/* Shared portfolio navigation. */
body > header { color: var(--ink); }
body > header a { color: inherit; }
body > header .nav-links { color: var(--ink-soft); }
body > header .nav-links a:hover { color: var(--blue); }
html:not([data-theme="dark"]) body > header { --line: #e4e7ee; }
html[data-theme="dark"] { --bg: #0a1425; --panel: #101e33; --text: #edf2fa; --muted: #abb9ce; --line: #243650; }

/* Team role, shared footer and popup-style media galleries. */
.team-grid article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: start;
  column-gap: 12px;
  row-gap: 16px;
  grid-template-rows: minmax(33px, auto) auto;
  padding: 24px 28px;
}
.team-grid article > h3 { grid-column: 1; grid-row: 1; align-self: start; margin: 0; }
.team-grid article > .badge { grid-column: 2; grid-row: 1; align-self: start; margin: 0; }
.team-grid article > p { grid-column: 1 / -1; grid-row: 2; }
@media(max-width:480px) {
  .team-grid article { padding: 20px; column-gap: 8px; }
  .team-grid article > h3 { font-size: 21px; }
}
body > footer { display: block; padding: 0; font-size: 16px; }
body > footer h3 { font-family: Inter, sans-serif; font-size: 20px; letter-spacing: -.02em; line-height: 1.4; margin: 0; }
body > footer .footer-tag { margin: 8px 0 0; font-size: 16px; color: #768391; }
.page-news-link { display: inline-block; color: var(--accent); font-size: 14px; margin: 12px 0 0 16px; }
.page-carousel-stage { height: 320px; position: relative; overflow: hidden; isolation: isolate; }
.development-gallery .page-carousel-stage { height: 260px; }
.page-carousel-active { position: absolute; inset: 7% 12%; background: #000; border-radius: 22px; padding: 12px; z-index: 2; display: grid; place-items: center; overflow: hidden; }
.page-carousel-active img,.page-carousel-active video { width: 100%; height: 100%; min-height: 0; object-fit: contain; border-radius: 8px; }
.page-carousel-preview { position: absolute; top: 21%; bottom: 21%; width: 45%; background: #000; padding: 10px; filter: blur(4px); opacity: .4; overflow: hidden; pointer-events: none; border-radius: 18px; }
.page-carousel-preview.previous { left: -12%; }.page-carousel-preview.next { right: -12%; }
.page-carousel-preview img { width: 100%; height: 100%; object-fit: contain; }
.page-carousel-arrow { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: #080808; color: #fff; font-size: 28px; line-height: 1; }
.page-carousel-arrow.previous { left: 4px; }.page-carousel-arrow.next { right: 4px; }
.page-carousel .thumbnails { justify-content: center; margin-top: 8px; gap: 8px; }
.page-carousel .thumbnails button { width: 48px; height: 48px; display: grid; place-items: center; }
.page-carousel .thumbnails .page-media-placeholder { font-size: 10px; line-height: 1.2; }
.page-media-placeholder { font-size: 14px; color: var(--muted); text-align: center; }
.page-carousel-status { display: block; text-align: center; color: var(--muted); font-size: 12px; margin-top: 8px; }
@media(max-width:760px) { .page-carousel-stage { height: 270px; } .development-gallery .page-carousel-stage { height: 230px; } body > footer .footer-tag { font-size: 14px; } }

/* Give the development description and outcome more room. */
.development-section { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; }
@media(max-width:760px) { .development-section { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* Reference carousel: large central card, blurred previews and counter. */
.page-carousel { position: relative; width: 100%; max-width: 668px; margin-inline: auto; }
.page-carousel .page-carousel-stage { height: auto; aspect-ratio: 668 / 435; }
.page-carousel .page-carousel-active {
  inset: 9.2% 12% 1.8%;
  padding: clamp(8px, 1.8vw, 22px) 12px;
  border-radius: 24px;
  box-shadow: 0 14px 30px rgba(0,0,0,.2);
}
.page-carousel .page-carousel-preview { top: 23%; bottom: 12%; border-radius: 20px; }
.page-carousel .page-carousel-arrow { top: 54%; display: grid; place-items: center; }
.page-carousel .page-carousel-arrow.previous { left: 8px; }
.page-carousel .page-carousel-arrow.next { right: 8px; }
.page-carousel .page-carousel-status {
  position: absolute; top: 13px; left: 10px; z-index: 4;
  margin: 0; padding: 4px 8px; font-size: 11px;
  color: #d8e4ff; background: #203257;
}
.page-carousel .thumbnails { margin-top: 11px; gap: 8px; }
.page-carousel .thumbnails button { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 0; }
.page-carousel .thumbnails button.active { border-color: #628dff; }
.development-gallery { max-width: 668px; }
.development-gallery .page-carousel-active video { max-height: none; }
@media(max-width:480px) {
  .page-carousel .page-carousel-active { padding: 10px 8px; border-radius: 18px; }
  .page-carousel .page-carousel-status { top: 2px; left: 4px; padding: 2px 6px; }
  .page-carousel .thumbnails button { flex-basis: 40px; width: 40px; height: 40px; }
}

/* Larger page carousels with more space for testing media. */
.page-carousel { max-width: 900px; }
.page-carousel .page-carousel-stage { aspect-ratio: 900 / 640; }
.development-section { grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: 24px; }
.development-section > div { min-width: 0; }
.development-gallery { max-width: 900px; }
@media(max-width:760px) {
  .development-section { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

/* Keep development copy together beside the compact testing carousel. */
.development-section {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.development-section > div:first-child { display: block; }
.development-section > div:last-child { padding-top: 8px; }
.development-section .outcome { margin-top: 24px; }
@media(max-width:760px) {
  .development-section { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .development-section > div:last-child { padding-top: 0; }
}

/* Development reference: centered container with equal video and text columns. */
.development-section {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 40px;
  row-gap: 28px;
}
.development-section .development-heading { grid-column: 1 / -1; }
.development-section .development-heading h2 { margin-bottom: 0; }
.development-section .development-media,
.development-section .development-copy { padding-top: 0; }
.development-section .development-gallery { max-width: none; }
.development-section .page-carousel-stage { aspect-ratio: 2 / 1; }
.development-section .page-carousel-active { inset: 0; padding: 0; border: 1px solid var(--line); border-radius: 10px; }
.development-section .page-carousel-active video { border-radius: 10px; max-height: none; }
.development-section .page-carousel-preview { display: none; }
.development-section .page-carousel-arrow { top: 50%; opacity: .8; }
.development-section .page-carousel-status { top: 8px; }
.development-section .outcome {
  border: 1px solid var(--accent);
  border-left-width: 4px;
  border-radius: 6px;
  padding: 16px 18px;
  margin: 24px 0 0;
}
.development-section .outcome strong { color: var(--accent); }
@media(max-width:760px) {
  .development-section { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .development-section .development-heading { grid-column: 1; }
}

/* Match the introduction and recognition containers to development. */
.hero.wrap,
.award-band > .wrap {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
}
.hero .hero-heading,
.award-band > .split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}
.hero .hero-heading > *,
.award-band > .split > * { min-width: 0; }
.award-band .award-photo { max-width: none; max-height: none; }
@media(max-width:760px) {
  .hero .hero-heading,
  .award-band > .split { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

/* Case-study introduction: copy left, large media and thumbnails right. */
.hero .hero-heading { align-items: start; }
.hero .hero-intro h1 { font-size: clamp(56px, 5.5vw, 88px); color: var(--accent); }
.hero .hero-subtitle { font-size: clamp(28px, 3vw, 40px); margin-top: 16px; }
.hero .hero-copy { margin-top: 12px; }
.hero .hero-copy .lead { font-size: 20px; }
.hero .hero-copy .button { border-radius: 5px; }
.hero .hero-media { width: 100%; }
.hero .hero-carousel { max-width: none; }
/* Same central card, side previews and controls as the LiftAssist popup. */
.hero .page-carousel-stage { aspect-ratio: 668 / 435; overflow: hidden; }
.hero .page-carousel-active {
  inset: 8% 12%; padding: 12px; border: 0; border-radius: 24px;
  background: #000; box-shadow: 0 14px 30px rgba(0,0,0,.2);
}
.hero .page-carousel-active img,
.hero .page-carousel-active video { border-radius: 8px; }
.hero .page-carousel-preview {
  display: block; top: 21%; bottom: 21%; width: 45%;
  padding: 10px; border-radius: 20px; background: #000;
  filter: blur(4px); opacity: .4;
}
.hero .page-carousel-arrow {
  top: 50%; bottom: auto; transform: translateY(-50%);
  width: 34px; height: 34px; background: #080808;
}
.hero .page-carousel-arrow:hover { background: #202020; }
.hero .page-carousel .thumbnails { margin: 0; justify-content: center; gap: 8px; }
.hero .page-carousel .thumbnails button {
  flex: 0 0 44px; width: 44px; max-width: none;
  height: 44px; aspect-ratio: auto; border-radius: 0;
}
.hero .page-carousel .thumbnails img { object-fit: cover; }
.hero .page-carousel-status {
  top: 10px; left: 10px; font-size: .72rem;
  color: #bcd0ff; background: rgba(45,107,255,.28);
}
.hero .hero-caption { margin: 16px 0 0; }
.hero .hero-caption figcaption { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 11px; }
@media(max-width:760px) {
  .hero .hero-heading { grid-template-columns: minmax(0, 1fr); }
  .hero .hero-caption figcaption { flex-wrap: wrap; }
}

/* Fine alignment of the team lead name with the adjacent name. */
.team-grid article:has(> .badge) > h3 { position: relative; top: -3px; }

/* Position the team lead badge closer to the top-right card corner. */
.team-grid article > .badge { position: relative; top: -12px; right: -16px; }
@media(max-width:480px) {
  .team-grid article > .badge { top: -8px; right: -8px; }
}

/* Section chooser beneath the project introduction. */
.case-section-nav {
  display: flex; gap: clamp(20px, 4vw, 56px);
  width: 90%; max-width: 1400px; margin: 36px auto 0;
  border-bottom: 1px solid var(--line); overflow-x: auto;
}
.case-section-nav a {
  flex: 0 0 auto; padding: 18px 4px; border-bottom: 3px solid transparent;
  color: var(--muted); font-size: 16px; font-weight: 600;
}
.case-section-nav a:hover,
.case-section-nav a[aria-current="location"] { color: var(--accent); border-bottom-color: var(--accent); }
#overview, #system-design, #development, #team, #recognition { scroll-margin-top: 100px; }
@media(prefers-reduced-motion:no-preference) { html { scroll-behavior: smooth; } }

#gallery { scroll-margin-top: 100px; }

/* New tab content is independent of the original sections below. */
.case-explorer { width: 90%; max-width: 1400px; margin: 44px auto 0; background: #0d1418; color: #f2f5f7; border: 1px solid #647178; border-radius: 8px; overflow: hidden; }
.case-explorer-header { display: flex; align-items: center; gap: 36px; padding: 0 28px; border-bottom: 1px solid #49545b; }
.case-explorer-brand { font-size: 24px; font-weight: 700; letter-spacing: -.04em; }
.case-explorer-brand span { color: #32cbe2; }
.case-explorer .case-section-nav { flex: 1; width: auto; max-width: none; margin: 0; border: 0; justify-content: flex-end; gap: clamp(16px, 3vw, 40px); }
.case-explorer [role="tab"] { flex: 0 0 auto; border: 0; border-bottom: 3px solid transparent; padding: 19px 4px; background: transparent; color: #dce3e7; font-size: 15px; font-weight: 600; }
.case-explorer [role="tab"][aria-selected="true"] { border-color: #32cbe2; color: #32cbe2; }
.case-panel { padding: 32px; min-height: 460px; }
.case-panel[hidden], .explorer-gallery [hidden] { display: none; }
.case-panel h2 { color: #f5f7f9; font: 700 clamp(28px, 3vw, 42px)/1.15 Inter, sans-serif; letter-spacing: -.035em; margin: 0 0 18px; }
.case-panel h3 { color: #f1f5f7; font: 700 20px/1.3 Inter, sans-serif; letter-spacing: -.02em; margin: 0 0 10px; }
.case-panel p { color: #d1d9de; font-size: 16px; line-height: 1.55; margin: 0 0 16px; }
.explorer-icon { display: block; flex-shrink: 0; color: #32cbe2; font-size: 36px; line-height: 1; }
.explorer-icon svg { display: block; width: 36px; height: 36px; }
.explorer-overview { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 28px; margin: 14px 0 48px; }
.explorer-overview > article { border-left: 1px solid #657178; padding-left: 28px; }
.explorer-overview > article .explorer-icon { float: left; margin: 0 14px 12px 0; }
.explorer-overview > article h3 { min-height: 36px; padding-top: 4px; }
.explorer-overview > article p { clear: both; }
.case-panel .explorer-callout { border-left: 4px solid #32cbe2; padding-left: 18px; margin-bottom: 0; }
.explorer-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.explorer-cards article { display: flex; gap: 18px; align-items: start; border: 1px solid #79858b; border-radius: 10px; padding: 24px; }
.explorer-cards p { font-size: 15px; margin: 0; }
.explorer-design { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.explorer-design > img { width: 100%; height: 390px; object-fit: contain; background: #080b0d; border: 1px solid #79858b; border-radius: 12px; }
.explorer-design ol { list-style: none; margin: 0; padding: 0; counter-reset: parts; }
.explorer-design li { counter-increment: parts; position: relative; padding: 12px 0 12px 50px; border-bottom: 1px solid #49545b; }
.explorer-design li:last-child { border: 0; }
.explorer-design li::before { content: counter(parts); display: grid; place-items: center; position: absolute; left: 0; top: 14px; width: 34px; height: 34px; border-radius: 50%; color: #08171b; background: #32cbe2; font-weight: 700; }
.explorer-design h3 { margin-bottom: 3px; }
.explorer-design p { font-size: 14px; margin: 0; }
.explorer-technologies { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 22px; }
.explorer-technologies strong { margin-right: 8px; }
.explorer-technologies span { border: 1px solid #879198; border-radius: 30px; padding: 7px 28px; }
.explorer-process { margin: 28px 0 32px; gap: 48px; }
.explorer-process article { position: relative; border-radius: 18px; }
.explorer-process article:not(:last-child)::after { content: '→'; position: absolute; right: -35px; top: 40%; font-size: 26px; }
.explorer-development { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.explorer-development video { aspect-ratio: 16 / 9; object-fit: contain; border: 1px solid #79858b; border-radius: 12px; }
.explorer-development h3 { font-size: 28px; }
.explorer-development .explorer-callout { border: 1px solid #32cbe2; border-left-width: 4px; padding: 16px; border-radius: 8px; margin-top: 24px; }
.explorer-team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.explorer-team article { border: 1px solid #79858b; border-radius: 10px; padding: 24px; }
.explorer-team .badge { float: right; margin: 0 0 12px 12px; }
.explorer-filters { display: flex; flex-wrap: wrap; gap: 16px; margin: 22px 0; }
.explorer-filters button { padding: 5px 24px; border-radius: 8px; border: 1px solid #879198; background: transparent; color: #e5ebee; font-size: 15px; }
.explorer-filters button[aria-pressed="true"] { color: #08171b; background: #32cbe2; border-color: #32cbe2; }
.explorer-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; align-items: start; }
.explorer-gallery figure { margin: 0; min-width: 0; }
.explorer-gallery figure:first-child { grid-row: span 2; }
.explorer-gallery img, .explorer-gallery video { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; border: 1px solid #879198; border-radius: 10px; background: #080b0d; }
.explorer-gallery figure:first-child img { aspect-ratio: 1.28; }
.explorer-gallery figcaption { color: #d1d9de; font-size: 13px; padding-top: 8px; }
@media(max-width:1000px) {
  .case-explorer-header { flex-wrap: wrap; gap: 0; padding-top: 16px; }
  .case-explorer .case-section-nav { flex-basis: 100%; justify-content: flex-start; }
  .explorer-overview { grid-template-columns: 1fr 1fr; }
  .explorer-overview > div { grid-column: 1 / -1; }
  .explorer-cards { gap: 16px; }
  .explorer-cards article { padding: 18px; gap: 12px; }
  .explorer-process article::after { display: none; }
  .explorer-design > img { height: 320px; }
}
@media(max-width:760px) {
  .case-panel { padding: 22px; min-height: 0; }
  .explorer-cards, .explorer-design, .explorer-development, .explorer-team { grid-template-columns: 1fr; }
  .explorer-design > img { height: auto; aspect-ratio: 4 / 3; }
  .explorer-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .explorer-gallery figure:first-child { grid-column: 1 / -1; grid-row: auto; }
  .explorer-gallery figure:first-child img { aspect-ratio: 4 / 3; }
}
@media(max-width:480px) {
  .explorer-overview { grid-template-columns: 1fr; gap: 24px; margin-bottom: 28px; }
  .explorer-overview > article { padding-left: 16px; }
  .case-explorer-header { padding-inline: 20px; }
}

/* Keep the reference's inner feature boxes, with no outer enclosure. */
.case-explorer {
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}
.case-explorer .case-panel { padding: 32px 0 32px 48px; }

/* Reference typography scales with the width of the tab content. */
.case-explorer { container-type: inline-size; }
.case-explorer .case-panel h2 {
  font-size: calc(clamp(28px, 3.2cqw, 46px) - 2px);
  line-height: 1.15;
  letter-spacing: -.025em;
}
.case-explorer .case-panel h3 {
  font-size: calc(clamp(20px, 2.05cqw, 29px) - 2px);
  line-height: 1.25;
  letter-spacing: -.02em;
}
.case-explorer .case-panel p {
  font-size: calc(clamp(16px, 1.65cqw, 23px) - 2px);
  line-height: 1.4;
}
.case-explorer .explorer-overview {
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
  margin: 16px 0 56px;
}
.case-explorer .explorer-overview > article { padding-left: 32px; }
.case-explorer .explorer-overview h2 { font-size: calc(clamp(30px, 3.65cqw, 52px) - 2px); }
.case-explorer .explorer-overview > article h3 { min-height: 40px; }
.case-explorer .explorer-cards { gap: 32px; }
.case-explorer .explorer-cards article { padding: 26px; gap: 24px; }
.case-explorer .explorer-cards h3 { margin-bottom: 18px; }
.case-explorer .explorer-icon svg { width: clamp(36px, 3.5cqw, 50px); height: clamp(36px, 3.5cqw, 50px); }
.case-explorer .explorer-design p { font-size: calc(clamp(14px, 1.3cqw, 18px) - 2px); }
.case-explorer .explorer-design h3 { font-size: calc(clamp(19px, 1.8cqw, 25px) - 2px); }
@media(max-width:1000px) {
  .case-explorer .explorer-overview { grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 32px; }
  .case-explorer .explorer-cards { gap: 16px; }
  .case-explorer .explorer-cards article { padding: 20px; gap: 16px; }
}
@media(max-width:760px) {
  .case-explorer .explorer-cards { grid-template-columns: 1fr; }
}
@media(max-width:480px) {
  .case-explorer .explorer-overview { grid-template-columns: 1fr; }
  .case-explorer .explorer-overview > article { padding-left: 16px; }
}

/* Carry the reference arrangement through the remaining option panels. */
.case-explorer #panel-design .explorer-design {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
  align-items: stretch;
}
.case-explorer #panel-design .explorer-design > img {
  height: 100%; min-height: 380px; object-fit: contain; border-radius: 14px;
}
.case-explorer #panel-design .explorer-design ol { display: grid; grid-template-rows: repeat(5, 1fr); }
.case-explorer #panel-design .explorer-design li { padding: 14px 0 14px 58px; }
.case-explorer #panel-design .explorer-design li::before { width: 38px; height: 38px; top: 16px; font-size: 21px; }
.case-explorer #panel-design .explorer-technologies { justify-content: space-between; gap: 16px; margin-top: 24px; }
.case-explorer #panel-design .explorer-technologies span { flex: 1; text-align: center; white-space: nowrap; }
.case-explorer #panel-development .explorer-process { gap: 56px; margin-block: 28px 36px; }
.case-explorer #panel-development .explorer-process article { border-radius: 18px; }
.case-explorer #panel-development .explorer-process article::after { right: -40px; }
.case-explorer #panel-development .explorer-development { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; }
.case-explorer #panel-development .explorer-development h3 { font-size: calc(clamp(26px, 2.8cqw, 40px) - 2px); }
.case-explorer #panel-development .explorer-callout { position: relative; padding: 18px 18px 18px 52px; }
.case-explorer #panel-development .explorer-callout::before { content: 'i'; position: absolute; left: 16px; top: 20px; width: 22px; height: 22px; border: 2px solid #32cbe2; border-radius: 50%; color: #32cbe2; font-size: 17px; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.case-explorer #panel-gallery .explorer-gallery { grid-template-columns: minmax(0, 2.8fr) repeat(2, minmax(0, 1fr)); gap: 16px; }
.case-explorer #panel-gallery .explorer-gallery img,
.case-explorer #panel-gallery .explorer-gallery video { border-radius: 12px; }
.case-explorer #panel-gallery .explorer-gallery figure:first-child img { aspect-ratio: 1.9; }
.case-explorer #panel-gallery .explorer-gallery figcaption { font-size: 14px; font-weight: 500; }
.case-explorer #panel-gallery .explorer-filters { margin-block: 22px 18px; }
@media(max-width:1000px) {
  .case-explorer #panel-design .explorer-design { gap: 24px; }
  .case-explorer #panel-development .explorer-process { gap: 20px; }
  .case-explorer #panel-design .explorer-technologies span { padding-inline: 16px; }
}
@media(max-width:760px) {
  .case-explorer #panel-design .explorer-design,
  .case-explorer #panel-development .explorer-development { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .case-explorer #panel-design .explorer-design > img { min-height: 0; height: auto; }
  .case-explorer #panel-gallery .explorer-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-explorer #panel-gallery .explorer-gallery figure:first-child img { aspect-ratio: 4 / 3; }
  .case-explorer .case-panel { padding-left: 24px; }
}

/* More compact development cards and demonstration video. */
.case-explorer #panel-development .explorer-process { max-width: 1100px; gap: 44px; }
.case-explorer #panel-development .explorer-process article { padding: 18px; gap: 16px; border-radius: 14px; }
.case-explorer #panel-development .explorer-process article::after { right: -32px; }
.case-explorer #panel-development .explorer-process h3 { font-size: 21px; margin-bottom: 12px; }
.case-explorer #panel-development .explorer-process p { font-size: 17px; line-height: 1.4; }
.case-explorer #panel-development .explorer-process .explorer-icon svg { width: 36px; height: 36px; }
.case-explorer #panel-development .explorer-development { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); }
.case-explorer #panel-development .explorer-development video { max-width: 520px; width: 100%; max-height: 290px; }
@media(max-width:760px) {
  .case-explorer #panel-development .explorer-process { gap: 20px; }
  .case-explorer #panel-development .explorer-development { grid-template-columns: minmax(0, 1fr); }
}

/* Two compact development videos within the existing media column. */
.explorer-development-videos { display: grid; gap: 18px; min-width: 0; }
.explorer-development-videos figure { margin: 0; }
.explorer-development-videos figcaption { margin-top: 6px; color: #c1ccd3; font-size: 13px; }

/* Final outcome in the Development tab, matching the supplied callout. */
.case-explorer #panel-development .explorer-final-outcome {
  margin-top: 24px;
  padding: 16px;
  border: 1px solid #27bef5;
  border-left-width: 3px;
  border-radius: 5px;
  background: #191e23;
}
.case-explorer #panel-development .explorer-final-outcome h4 {
  margin: 0 0 10px;
  color: #27bef5;
  font: 600 14px/1.4 Inter, sans-serif;
}
.case-explorer #panel-development .explorer-final-outcome p {
  margin: 0;
  color: #a1adb7;
  font-size: 14px;
  line-height: 1.6;
}

/* Show one development video at a time with compact carousel controls. */
.explorer-development-videos { gap: 12px; max-width: 520px; }
.explorer-development-videos figure[hidden] { display: none; }
.development-video-controls { display: flex; justify-content: center; align-items: center; gap: 18px; }
.development-video-controls button { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid #657178; border-radius: 50%; background: #080b0d; color: #edf2f5; font-size: 26px; line-height: 1; }
.development-video-controls button:hover { border-color: #32cbe2; color: #32cbe2; }
.development-video-status { color: #c1ccd3; font-size: 13px; }

/* Bring the testing description closer to the compact video carousel. */
.case-explorer #panel-development .explorer-development {
  grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
  gap: 40px;
}
@media(max-width:760px) {
  .case-explorer #panel-development .explorer-development { grid-template-columns: minmax(0, 1fr); }
}

/* Slightly smaller experimental path-following heading and description. */
.case-explorer #panel-development .explorer-development > div > h3 {
  font-size: calc(clamp(26px, 2.8cqw, 40px) - 3px);
}
.case-explorer #panel-development .explorer-development > div > p {
  font-size: calc(clamp(16px, 1.65cqw, 23px) - 3px);
}

/* Align development copy with the video and slightly enlarge the outcome. */
.case-explorer #panel-development .explorer-development { align-items: start; }
.case-explorer #panel-development .explorer-final-outcome h4,
.case-explorer #panel-development .explorer-final-outcome p { font-size: 15px; }

/* Smaller prototype image in the System design tab. */
.case-explorer #panel-design .explorer-design > img {
  width: 100%;
  max-width: 561px;
  height: 321px;
  min-height: 0;
  align-self: start;
}
@media(max-width:760px) {
  .case-explorer #panel-design .explorer-design > img { height: auto; }
}

/* Larger design image with a compact, vertically balanced component list. */
.case-explorer #panel-design .explorer-design {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.case-explorer #panel-design .explorer-design > img {
  max-width: 640px;
  height: 400px;
  min-height: 0;
}
.case-explorer #panel-design .explorer-design ol { grid-template-rows: none; align-content: start; }
.case-explorer #panel-design .explorer-design li { padding: 10px 0 10px 54px; }
.case-explorer #panel-design .explorer-design li::before { top: 12px; width: 34px; height: 34px; font-size: 19px; }
.case-explorer #panel-design .explorer-technologies span {
  display: inline-flex; justify-content: center; align-items: center; gap: 14px;
  padding: 8px 18px;
}
.case-explorer .explorer-technologies svg { width: 30px; height: 30px; flex-shrink: 0; }
@media(max-width:760px) {
  .case-explorer #panel-design .explorer-design { grid-template-columns: minmax(0, 1fr); }
  .case-explorer #panel-design .explorer-design > img { height: auto; }
}

.case-explorer #panel-design .explorer-technologies > strong { font-size: 20px; }

/* Bring the component points slightly closer to the prototype image. */
.case-explorer #panel-design .explorer-design {
  grid-template-columns: minmax(0, 640px) minmax(0, 1fr);
  gap: 32px;
}
@media(max-width:760px) {
  .case-explorer #panel-design .explorer-design { grid-template-columns: minmax(0, 1fr); }
}

.case-explorer #panel-design .explorer-technologies { margin-top: 40px; }

/* Reuse the lower team section's card layout and typography in its tab. */
.case-explorer #panel-team { min-height: 0; }
.case-explorer #panel-team > h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.04em;
  margin: 0 0 28px;
  color: var(--text);
}
.case-explorer #panel-team .team-grid { width: 100%; max-width: 1240px; }
.case-explorer #panel-team .team-grid h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.04em;
  margin: 0;
  color: var(--text);
}
.case-explorer #panel-team .team-grid p {
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
  color: var(--muted);
}
@media(max-width:480px) {
  .case-explorer #panel-team .team-grid h3 { font-size: 21px; }
}

/* Build process within System design, matching the Development process cards. */
.case-explorer #panel-design .design-build-process { margin-top: 44px; }
.case-explorer #panel-design .explorer-process { max-width: 1100px; gap: 44px; margin: 28px 0 0; }
.case-explorer #panel-design .explorer-process article { padding: 18px; gap: 16px; border-radius: 14px; }
.case-explorer #panel-design .explorer-process article::after { right: -32px; }
.case-explorer #panel-design .explorer-process h3 { font-size: 21px; margin-bottom: 12px; }
.case-explorer #panel-design .explorer-process p { font-size: 17px; line-height: 1.4; }
.case-explorer #panel-design .explorer-process .explorer-icon svg { width: 36px; height: 36px; }
@media(max-width:760px) {
  .case-explorer #panel-design .explorer-process { gap: 20px; }
}

.case-explorer #panel-design .design-build-process { margin-top: 0; margin-bottom: 44px; }

/* Technologies shared with Overview, including the same icons and badges. */
.case-explorer #panel-overview .explorer-technologies { margin-top: 40px; gap: 16px; }
.case-explorer #panel-overview .explorer-technologies > strong { font-size: 20px; }
.case-explorer #panel-overview .explorer-technologies span {
  display: inline-flex; flex: 1; align-items: center; justify-content: center;
  gap: 14px; padding: 8px 18px; white-space: nowrap;
}

.case-explorer #panel-development .development-panel-title { margin-bottom: 32px; }

/* Four overview features, wrapping cleanly on smaller screens. */
.case-explorer #panel-overview .explorer-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.case-explorer #panel-overview .explorer-cards article { padding: 22px 18px; gap: 16px; }
@media(max-width:1100px) {
  .case-explorer #panel-overview .explorer-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media(max-width:600px) {
  .case-explorer #panel-overview .explorer-cards { grid-template-columns: minmax(0, 1fr); }
}

/* Compact overview feature cards with text two pixels smaller. */
.case-explorer #panel-overview .explorer-cards h3 {
  font-size: calc(clamp(20px, 2.05cqw, 29px) - 4px);
  margin-bottom: 14px;
}
.case-explorer #panel-overview .explorer-cards p {
  font-size: calc(clamp(16px, 1.65cqw, 23px) - 4px);
}
.case-explorer #panel-overview .explorer-cards article {
  padding: 18px 16px;
  gap: 12px;
}

/* Smaller problem and approach copy, matching the compact feature text. */
.case-explorer #panel-overview .explorer-overview > article h3 {
  font-size: calc(clamp(20px, 2.05cqw, 29px) - 4px);
  min-height: 36px;
}
.case-explorer #panel-overview .explorer-overview > article p {
  font-size: calc(clamp(16px, 1.65cqw, 23px) - 4px);
  margin-bottom: 0;
}
.case-explorer #panel-overview .explorer-overview > article { padding-left: 24px; }
@media(max-width:480px) {
  .case-explorer #panel-overview .explorer-overview > article { padding-left: 16px; }
}

/* Fine-tune the introduction copy hierarchy. */
.hero .hero-copy > p:not(.lead) { font-size: 19px; }
.hero .hero-copy > .lead { font-size: 18px; }

/* Development reference: narrative left, video right, outcome below both. */
.case-explorer #panel-development .development-panel-title {
  position: relative;
  font-size: clamp(28px, 3cqw, 40px);
  margin: 0 0 16px;
  padding-left: 22px;
}
.case-explorer #panel-development .development-panel-title::before {
  content: ''; position: absolute; left: 0; top: .13em;
  width: 5px; height: .8em; background: #32cbe2; border-radius: 4px;
}
.case-explorer #panel-development .explorer-development {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: start; gap: 56px;
  padding-left: 22px;
}
.case-explorer #panel-development .development-description > h3 {
  font-size: 21px; margin: 0 0 24px; line-height: 1.3;
}
.case-explorer #panel-development .development-description > p {
  font-size: 17px; line-height: 1.55; margin: 0;
  padding-left: 18px; border-left: 4px solid #32cbe2;
}
.case-explorer #panel-development .explorer-development-videos {
  width: 100%; max-width: 580px; margin: 0; justify-self: end;
}
.case-explorer #panel-development .explorer-development video {
  display: block; width: 100%; max-width: none; height: auto;
  max-height: none; aspect-ratio: 16 / 9; border-radius: 15px;
  border: 1px solid #879198; object-fit: contain;
}
.case-explorer #panel-development .explorer-final-outcome {
  margin-top: 40px; padding: 18px 24px;
  border: 1px solid #38454e; border-left: 5px solid #32cbe2;
  border-radius: 7px; background: #191f26;
}
.case-explorer #panel-development .explorer-final-outcome h4 {
  display: inline; font-size: 16px; color: #edf2f5;
  margin: 0 5px 0 0; line-height: 1.6;
}
.case-explorer #panel-development .explorer-final-outcome h4::after { content: ':'; }
.case-explorer #panel-development .explorer-final-outcome p {
  display: inline; font-size: 16px; color: #d1d9de; line-height: 1.6;
}
@media(max-width:760px) {
  .case-explorer #panel-development .explorer-development {
    grid-template-columns: minmax(0, 1fr); gap: 28px; padding-left: 0;
  }
  .case-explorer #panel-development .explorer-development-videos { justify-self: start; }
  .case-explorer #panel-development .explorer-final-outcome { margin-top: 28px; padding: 16px 18px; }
}

/* Adjust Development text emphasis and give the description more width. */
.case-explorer #panel-development .explorer-final-outcome h4,
.case-explorer #panel-development .explorer-final-outcome p { font-size: 18px; }
.case-explorer #panel-development .development-description > h3 { font-size: 19px; }
.case-explorer #panel-development .explorer-development {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px;
}
@media(max-width:760px) {
  .case-explorer #panel-development .explorer-development { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

/* Lift the Development video carousel slightly on desktop. */
@media(min-width:761px) {
  .case-explorer #panel-development .explorer-development-videos { margin-top: -20px; }
}

/* Smaller Development subtitle and slightly raised video carousel. */
.case-explorer #panel-development .development-description > h3 { font-size: 16px; }
.case-explorer #panel-development .explorer-development-videos { position: relative; top: -20px; }
@media(max-width:760px) {
  .case-explorer #panel-development .explorer-development-videos { top: 0; }
}

/* Keep the main Development title large; only its subtitle is smaller. */
.case-explorer #panel-development h2.development-panel-title { font-size: 39px; font-weight: 700; }
.case-explorer #panel-development .development-description > h3 { font-size: 16px; }

/* Explicit heading hierarchy, overriding the older direct-child subtitle rule. */
.case-explorer #panel-development > h2.development-panel-title {
  font-size: 39px;
  font-weight: 700;
}
.case-explorer #panel-development .explorer-development > .development-description > h3 {
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
}

.case-explorer #panel-development .explorer-development > .development-description > h3 { font-weight: 400; }

/* Increase both Development headings by two pixels. */
.case-explorer #panel-development > h2.development-panel-title { font-size: 41px; }
.case-explorer #panel-development .explorer-development > .development-description > h3 { font-size: 23px; }

/* Slightly larger Development title and a tighter gap before the outcome. */
.case-explorer #panel-development > h2.development-panel-title { font-size: 42px; }
.case-explorer #panel-development .explorer-final-outcome { margin-top: 20px; }

/* Bring Development video navigation closer to its caption. */
.case-explorer #panel-development .development-video-controls { margin-top: -28px; }

.case-explorer #panel-development .explorer-final-outcome h4 { font-size: 20px; }

/* Requested size for the full Final Outcome callout. */
.case-explorer #panel-development .explorer-final-outcome h4,
.case-explorer #panel-development .explorer-final-outcome p { font-size: 25px; }

/* Updated Development title, subtitle and outcome sizes. */
.case-explorer #panel-development > h2.development-panel-title { font-size: 44px; }
.case-explorer #panel-development .explorer-development > .development-description > h3 { font-size: 24px; }
.case-explorer #panel-development .explorer-final-outcome h4,
.case-explorer #panel-development .explorer-final-outcome p { font-size: 21px; }

/* System design reference: image beside an icon-based component list. */
.case-explorer #panel-design .system-design-title {
  position: relative; padding-left: 22px; margin-bottom: 8px;
  font-size: 36px; font-weight: 700;
}
.case-explorer #panel-design .system-design-title::before,
.case-explorer #panel-design .components-title::before {
  content: ''; position: absolute; left: 0; top: .15em;
  width: 5px; height: .8em; background: #32cbe2; border-radius: 3px;
}
.case-explorer #panel-design .system-design-intro { margin: 0 0 28px 22px; font-size: 16px; }
.case-explorer #panel-design .explorer-design {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 36px; align-items: start;
}
.case-explorer #panel-design .explorer-design > img {
  width: 100%; max-width: none; height: 370px; min-height: 0;
  object-fit: contain; border: 1px solid #48545b; border-radius: 14px;
}
.case-explorer #panel-design .system-components { border-left: 1px solid #657178; padding-left: 26px; }
.case-explorer #panel-design .system-components .components-title {
  position: relative; font-size: 25px; font-weight: 700; padding-left: 22px; margin: 0 0 12px;
}
.case-explorer #panel-design .explorer-design li {
  display: grid; grid-template-columns: 36px minmax(0, 1fr);
  gap: 18px; padding: 10px 0; align-items: start;
}
.case-explorer #panel-design .explorer-design li::before { content: none; }
.case-explorer #panel-design .component-icon { color: #32cbe2; }
.case-explorer #panel-design .component-icon svg { display: block; width: 32px; height: 32px; }
.case-explorer #panel-design .explorer-design li h3 { font-size: 19px; margin: 0 0 4px; }
.case-explorer #panel-design .explorer-design li p { font-size: 14px; line-height: 1.4; }
@media(max-width:760px) {
  .case-explorer #panel-design .explorer-design { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .case-explorer #panel-design .explorer-design > img { height: auto; }
  .case-explorer #panel-design .system-components { border-left: 0; padding-left: 0; }
}

/* Technologies beneath the Key Components list. */
.case-explorer #panel-design .component-technologies { margin-top: 24px; }
.case-explorer #panel-design .component-technologies > h3 {
  position: relative; padding-left: 22px; margin: 0 0 16px;
  font-size: 25px; font-weight: 700;
}
.case-explorer #panel-design .component-technologies > h3::before {
  content: ''; position: absolute; left: 0; top: .15em;
  width: 5px; height: .8em; background: #32cbe2; border-radius: 3px;
}
.case-explorer #panel-design .component-technologies .explorer-technologies {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px; margin-top: 0;
}
.case-explorer #panel-design .component-technologies .explorer-technologies span {
  padding: 8px 12px; gap: 10px; font-size: 14px;
}
@media(min-width:1400px) {
  .case-explorer #panel-design .component-technologies .explorer-technologies {
    grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px;
  }
  .case-explorer #panel-design .component-technologies .explorer-technologies span {
    padding: 8px; gap: 6px; font-size: 12px;
  }
  .case-explorer #panel-design .component-technologies svg { width: 24px; height: 24px; }
}

/* Stretch the image box to the full height of the component partition. */
.case-explorer #panel-design .explorer-design { align-items: stretch; }
.case-explorer #panel-design .explorer-design > img {
  height: 100%;
  min-height: 370px;
  align-self: stretch;
}
@media(max-width:760px) {
  .case-explorer #panel-design .explorer-design > img { height: auto; min-height: 0; }
}

/* Overview reference: introduction left, narrative and features right. */
.case-explorer #panel-overview .overview-reference-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) repeat(2, minmax(0, 1fr));
  column-gap: 30px; row-gap: 36px; margin-top: 12px;
}
.case-explorer #panel-overview .explorer-overview { display: contents; }
.case-explorer #panel-overview .explorer-overview > div {
  grid-column: 1; grid-row: 1 / 3; padding-right: 28px;
  border-right: 1px solid #48545b;
}
.case-explorer #panel-overview .explorer-overview > div h2 { margin-bottom: 32px; }
.case-explorer #panel-overview .explorer-overview > article {
  grid-row: 1; border-left: 0; padding-left: 0;
  display: grid; grid-template-columns: 42px minmax(0, 1fr);
  column-gap: 16px; align-content: start;
}
.case-explorer #panel-overview .explorer-overview > article:first-of-type { grid-column: 2; }
.case-explorer #panel-overview .explorer-overview > article:last-of-type { grid-column: 3; border-left: 1px solid #48545b; padding-left: 24px; }
.case-explorer #panel-overview .explorer-overview > article .explorer-icon { grid-column: 1; grid-row: 1 / 3; float: none; margin: 0; }
.case-explorer #panel-overview .explorer-overview > article .explorer-icon svg { width: 40px; height: 40px; }
.case-explorer #panel-overview .explorer-overview > article h3 { grid-column: 2; min-height: 0; padding: 0; margin: 0 0 16px; }
.case-explorer #panel-overview .explorer-overview > article p { grid-column: 2; }
.case-explorer #panel-overview .explorer-cards {
  grid-column: 2 / 4; grid-row: 2;
  grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
}
.case-explorer #panel-overview .explorer-cards article { gap: 12px; padding: 20px 16px; }
.case-explorer #panel-overview .explorer-cards .explorer-icon svg { width: 32px; height: 32px; }
.case-explorer #panel-overview .explorer-cards h3 { font-size: 18px; }
.case-explorer #panel-overview .explorer-cards p { font-size: 16px; }
@media(max-width:1100px) {
  .case-explorer #panel-overview .overview-reference-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-explorer #panel-overview .explorer-overview > div { grid-column: 1 / -1; grid-row: auto; border: 0; padding-right: 0; }
  .case-explorer #panel-overview .explorer-overview > article { grid-row: 2; }
  .case-explorer #panel-overview .explorer-overview > article:first-of-type { grid-column: 1; }
  .case-explorer #panel-overview .explorer-overview > article:last-of-type { grid-column: 2; }
  .case-explorer #panel-overview .explorer-cards { grid-column: 1 / -1; grid-row: 3; }
}
@media(max-width:600px) {
  .case-explorer #panel-overview .overview-reference-layout { display: block; }
  .case-explorer #panel-overview .explorer-overview > article { margin-top: 28px; }
  .case-explorer #panel-overview .explorer-overview > article:last-of-type { border: 0; padding-left: 0; }
  .case-explorer #panel-overview .explorer-cards { grid-template-columns: minmax(0, 1fr); margin-top: 28px; }
}

/* Overview reference layout with isolated styles. */
.case-explorer #panel-overview .overview-showcase { padding-top: 20px; }
.overview-showcase-main { display: grid; grid-template-columns: 1.05fr 1fr 1.1fr; gap: 30px; align-items: center; }
.overview-introduction { border-right: 1px solid #52636c; padding-right: 28px; }
.overview-kicker { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; font-size: 14px; letter-spacing: .25em; color: #9dd5df; }
.overview-kicker::before { content: ''; width: 24px; height: 3px; background: #00d8e8; }
.case-explorer #panel-overview .overview-introduction h2 { font-size: clamp(32px, 3.45cqw, 49px); line-height: 1.15; margin: 0 0 28px; }
.case-explorer #panel-overview .overview-introduction .explorer-callout { font-size: 18px; line-height: 1.55; border-color: #00d8e8; }
.overview-narrative { display: grid; gap: 32px; }
.overview-narrative > article { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 0 20px; }
.overview-narrative .explorer-icon { grid-column: 1; grid-row: 1 / 3; }
.case-explorer #panel-overview .overview-narrative .explorer-icon svg { width: 40px; height: 40px; }
.case-explorer #panel-overview .overview-narrative h3 { font-size: 24px; margin: 0 0 12px; }
.case-explorer #panel-overview .overview-narrative p { grid-column: 2; font-size: 16px; line-height: 1.5; margin: 0; }
.overview-prototype { position: relative; margin: 0; isolation: isolate; }
.overview-prototype::before { content: ''; position: absolute; inset: 8% 0 8% 20%; background: linear-gradient(145deg, #00899670, #002b3520); border-radius: 45% 30% 40% 50%; z-index: -1; }
.overview-prototype::after { content: ''; position: absolute; left: 8%; right: 3%; bottom: 7%; height: 12%; border: 1px solid #00d8e8; border-radius: 50%; box-shadow: 0 0 24px #00d8e833; z-index: -1; }
.overview-prototype img { display: block; width: 100%; height: 410px; object-fit: contain; mix-blend-mode: screen; }
.overview-actions { display: grid; grid-template-columns: .85fr repeat(3, 1fr); align-items: start; gap: 26px; max-width: 1050px; margin-top: 32px; }
.case-explorer #panel-overview .overview-actions > h3 { position: relative; padding-bottom: 20px; font-size: 24px; margin: 0; }
.overview-actions > h3::after { content: ''; position: absolute; bottom: 0; left: 0; width: 48px; height: 4px; background: #00d8e8; }
.overview-action { position: relative; display: flex; gap: 16px; }
.overview-action:not(:last-child)::after { content: '→'; position: absolute; right: -18px; top: 12px; color: #00d8e8; font-size: 24px; }
.overview-action svg, .overview-facts svg { width: 40px; height: 40px; flex: 0 0 40px; color: #00d8e8; }
.case-explorer #panel-overview .overview-action h3, .case-explorer #panel-overview .overview-facts h3 { font-size: 21px; margin: 0 0 8px; }
.case-explorer #panel-overview .overview-action p, .case-explorer #panel-overview .overview-facts p { font-size: 16px; line-height: 1.5; margin: 0; }
.overview-facts { display: grid; grid-template-columns: .85fr 1fr 1fr 1.35fr; gap: 24px; border-top: 1px solid #52636c; padding-top: 30px; margin-top: 40px; }
.overview-facts > div { display: flex; gap: 20px; padding-right: 20px; }
.overview-facts > div + div { border-left: 1px solid #52636c; padding-left: 24px; }
@media(max-width:1100px) {
  .overview-showcase-main { grid-template-columns: 1fr 1fr; }
  .overview-prototype { grid-column: 1 / -1; max-width: 550px; justify-self: center; width: 100%; }
  .overview-actions { grid-template-columns: repeat(3, 1fr); }
  .overview-actions > h3 { grid-column: 1 / -1; }
  .overview-facts { grid-template-columns: 1fr 1fr; }
}
@media(max-width:600px) {
  .overview-showcase-main { grid-template-columns: 1fr; gap: 28px; }
  .overview-introduction { border: 0; padding-right: 0; }
  .overview-prototype img { height: 340px; }
  .overview-actions, .overview-facts { grid-template-columns: 1fr; }
  .overview-action::after { display: none; }
  .overview-facts > div + div { border: 0; padding-left: 0; }
}

/* Keep action icons, copy and connecting arrows in separate spaces. */
.case-explorer #panel-overview .overview-actions {
  max-width: none;
  grid-template-columns: minmax(140px, .8fr) repeat(3, minmax(0, 1fr));
  column-gap: 48px;
  align-items: start;
}
.case-explorer #panel-overview .overview-action {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
}
.case-explorer #panel-overview .overview-action > svg { width: 36px; height: 36px; }
.case-explorer #panel-overview .overview-action > div { min-width: 0; }
.case-explorer #panel-overview .overview-action h3 { margin-bottom: 8px; }
.case-explorer #panel-overview .overview-action:not(:last-child)::after {
  right: -34px;
  top: 14px;
  width: 20px;
  text-align: center;
}
@media(max-width:1100px) {
  .case-explorer #panel-overview .overview-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 40px; }
  .case-explorer #panel-overview .overview-actions > h3 { grid-column: 1 / -1; }
  .case-explorer #panel-overview .overview-action:not(:last-child)::after { right: -30px; }
}
@media(max-width:600px) {
  .case-explorer #panel-overview .overview-actions { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .case-explorer #panel-overview .overview-action::after { display: none; }
}

/* Compact action strip matching the supplied reference. */
.case-explorer #panel-overview .overview-actions {
  grid-template-columns: minmax(140px, .85fr) repeat(3, minmax(0, 1fr));
  column-gap: 42px;
  align-items: start;
}
.case-explorer #panel-overview .overview-actions > h3 { font-size: 24px; padding-top: 2px; }
.case-explorer #panel-overview .overview-action { grid-template-columns: 40px minmax(0, 1fr); gap: 18px; }
.case-explorer #panel-overview .overview-action > svg { width: 40px; height: 40px; }
.case-explorer #panel-overview .overview-action h3 { font-size: 20px; line-height: 1.2; margin: 0 0 4px; }
.case-explorer #panel-overview .overview-action p { font-size: 14px; line-height: 1.35; }
.case-explorer #panel-overview .overview-action:not(:last-child)::after { top: 8px; right: -30px; font-size: 23px; }
@media(max-width:1100px) {
  .case-explorer #panel-overview .overview-actions { grid-template-columns: minmax(120px, .8fr) repeat(3, minmax(0, 1fr)); column-gap: 30px; }
  .case-explorer #panel-overview .overview-actions > h3 { grid-column: auto; font-size: 21px; }
  .case-explorer #panel-overview .overview-action { gap: 12px; grid-template-columns: 32px minmax(0, 1fr); }
  .case-explorer #panel-overview .overview-action > svg { width: 32px; height: 32px; }
  .case-explorer #panel-overview .overview-action:not(:last-child)::after { right: -25px; }
}
@media(max-width:760px) {
  .case-explorer #panel-overview .overview-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .case-explorer #panel-overview .overview-actions > h3 { grid-column: 1 / -1; }
  .case-explorer #panel-overview .overview-action::after { display: none; }
}
@media(max-width:480px) {
  .case-explorer #panel-overview .overview-actions { grid-template-columns: minmax(0, 1fr); }
}

/* Reference action row: label, action, arrow, action, arrow, action. */
.case-explorer #panel-overview .overview-showcase-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.case-explorer #panel-overview .overview-actions {
  display: grid; grid-template-columns: 185px minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1fr);
  width: 100%; max-width: 1100px; column-gap: 24px;
  align-items: start; margin-top: 42px;
}
.case-explorer #panel-overview .overview-actions > h3 { grid-column: auto; font-size: 24px; padding-top: 3px; white-space: nowrap; }
.case-explorer #panel-overview .overview-action {
  grid-template-columns: 40px minmax(0, 1fr); gap: 18px;
}
.case-explorer #panel-overview .overview-action > svg { width: 40px; height: 40px; }
.case-explorer #panel-overview .overview-action h3 { font-size: 20px; margin-bottom: 4px; }
.case-explorer #panel-overview .overview-action p { font-size: 14px; line-height: 1.35; }
.case-explorer #panel-overview .overview-action::after { display: none; }
.case-explorer #panel-overview .overview-action-arrow { color: #00d8e8; font-size: 26px; line-height: 1; padding-top: 11px; text-align: center; }
@media(max-width:1100px) {
  .case-explorer #panel-overview .overview-actions { grid-template-columns: 160px minmax(0, 1fr) 20px minmax(0, 1fr) 20px minmax(0, 1fr); column-gap: 16px; }
  .case-explorer #panel-overview .overview-actions > h3 { font-size: 21px; }
  .case-explorer #panel-overview .overview-action { grid-template-columns: 36px minmax(0, 1fr); gap: 12px; }
  .case-explorer #panel-overview .overview-action > svg { width: 36px; height: 36px; }
}
@media(max-width:760px) {
  .case-explorer #panel-overview .overview-showcase-main { grid-template-columns: minmax(0, 1fr); }
  .case-explorer #panel-overview .overview-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .case-explorer #panel-overview .overview-actions > h3 { grid-column: 1 / -1; }
  .case-explorer #panel-overview .overview-action-arrow { display: none; }
}
@media(max-width:480px) {
  .case-explorer #panel-overview .overview-actions { grid-template-columns: minmax(0, 1fr); }
}

/* Exact action strip sequence with dedicated columns for the arrows. */
.overview-image-space { width: 100%; min-height: 410px; }
.case-explorer #panel-overview .overview-showcase-main { grid-template-columns: 1.05fr 1fr 1.1fr; }
.case-explorer #panel-overview .overview-actions {
  width: 100%; max-width: 1050px;
  display: grid; grid-template-columns: .85fr 1fr 24px 1fr 24px 1fr;
  gap: 20px; align-items: start;
}
.case-explorer #panel-overview .overview-actions > h3 { grid-column: auto; font-size: 24px; }
.case-explorer #panel-overview .overview-action { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 18px; }
.case-explorer #panel-overview .overview-action > svg { width: 40px; height: 40px; }
.case-explorer #panel-overview .overview-action h3 { font-size: 20px; margin: 0 0 4px; }
.case-explorer #panel-overview .overview-action p { font-size: 14px; line-height: 1.35; }
.case-explorer #panel-overview .overview-action::after { display: none; }
.case-explorer #panel-overview .overview-action-arrow { display: block; position: static; color: #00d8e8; font-size: 24px; padding-top: 8px; }
@media(max-width:1100px) {
  .case-explorer #panel-overview .overview-showcase-main { grid-template-columns: 1fr 1fr; }
  .overview-image-space { grid-column: 1 / -1; min-height: 300px; }
}
@media(max-width:760px) {
  .case-explorer #panel-overview .overview-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .case-explorer #panel-overview .overview-actions > h3 { grid-column: 1 / -1; }
  .case-explorer #panel-overview .overview-action-arrow { display: none; }
}
@media(max-width:600px) {
  .case-explorer #panel-overview .overview-showcase-main { grid-template-columns: 1fr; }
  .case-explorer #panel-overview .overview-actions { grid-template-columns: 1fr; }
}

/* Enlarge the Overview action strip by two pixels. */
.case-explorer #panel-overview .overview-actions > h3 { font-size: 26px; font-weight: 700; }
.case-explorer #panel-overview .overview-action h3 { font-size: 22px; }
.case-explorer #panel-overview .overview-action p { font-size: 16px; }
.case-explorer #panel-overview .overview-action { grid-template-columns: 42px minmax(0, 1fr); }
.case-explorer #panel-overview .overview-action > svg { width: 42px; height: 42px; }

/* Popup-style carousel in the reserved Overview image column. */
.case-explorer #panel-overview .overview-image-space { min-width: 0; min-height: 0; width: 100%; align-self: center; }
.case-explorer #panel-overview .overview-carousel { max-width: 668px; }
.case-explorer #panel-overview .overview-carousel .page-carousel-stage { height: auto; aspect-ratio: 668 / 435; }
.case-explorer #panel-overview .overview-carousel .page-carousel-active { inset: 8% 12%; padding: 12px; border-radius: 24px; background: #000; }
.case-explorer #panel-overview .overview-carousel .page-carousel-preview { display: block; top: 21%; bottom: 21%; }
.case-explorer #panel-overview .overview-carousel .page-carousel-arrow { top: 50%; }
.case-explorer #panel-overview .overview-carousel .thumbnails { margin-top: 8px; gap: 8px; }
.case-explorer #panel-overview .overview-carousel .thumbnails button { flex: 0 0 44px; width: 44px; height: 44px; }
@media(max-width:1100px) {
  .case-explorer #panel-overview .overview-image-space { max-width: 668px; justify-self: center; }
}

/* Wider Overview panel with a larger carousel column. */
@media(min-width:1101px) {
  .case-explorer #panel-overview {
    width: min(1600px, 94vw);
    margin-left: 50%;
    transform: translateX(-50%);
    padding-inline: 24px;
    box-sizing: border-box;
  }
  .case-explorer #panel-overview .overview-showcase-main {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1fr) minmax(0, 1.5fr);
    gap: 28px;
  }
  .case-explorer #panel-overview .overview-image-space { grid-column: auto; }
}
.case-explorer #panel-overview .overview-carousel { max-width: 800px; }

/* Overview reference: readable three-column layout and large clean carousel. */
.case-explorer #panel-overview {
  width: min(1600px, 94vw); margin-left: 50%; transform: translateX(-50%);
  padding: 32px 24px;
}
.case-explorer #panel-overview .overview-showcase-main {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 34px; align-items: start;
}
.case-explorer #panel-overview .overview-introduction { padding-right: 28px; }
.case-explorer #panel-overview .overview-narrative { padding-top: 22px; }
.case-explorer #panel-overview .overview-image-space { grid-column: auto; padding-top: 20px; align-self: start; max-width: none; }
.case-explorer #panel-overview .overview-carousel { max-width: none; }
.case-explorer #panel-overview .overview-carousel .page-carousel-stage { aspect-ratio: 1.5; height: auto; overflow: visible; }
.case-explorer #panel-overview .overview-carousel .page-carousel-active { inset: 0 8px; padding: 0; border: 1px solid #52636c; border-radius: 18px; }
.case-explorer #panel-overview .overview-carousel .page-carousel-active img,
.case-explorer #panel-overview .overview-carousel .page-carousel-active video { object-fit: contain; border-radius: 17px; }
.case-explorer #panel-overview .overview-carousel .page-carousel-preview { display: none; }
.case-explorer #panel-overview .overview-carousel .page-carousel-status { display: none; }
.case-explorer #panel-overview .overview-carousel .page-carousel-arrow { width: 40px; height: 40px; background: #132027; border: 1px solid #67747b; }
.case-explorer #panel-overview .overview-carousel .page-carousel-arrow.previous { left: -12px; }
.case-explorer #panel-overview .overview-carousel .page-carousel-arrow.next { right: -12px; }
.case-explorer #panel-overview .overview-carousel .thumbnails { margin-top: 14px; gap: 10px; }
.case-explorer #panel-overview .overview-carousel .thumbnails button { width: 72px; flex-basis: 72px; height: 48px; border-radius: 5px; }
.case-explorer #panel-overview .overview-carousel .thumbnails button.active { border-color: #00d8e8; }
.case-explorer #panel-overview .overview-actions {
  max-width: none; margin-top: 48px; padding-bottom: 30px;
  border-bottom: 1px solid #52636c;
  grid-template-columns: .9fr 1fr 30px 1fr 30px 1fr; gap: 26px;
}
.case-explorer #panel-overview .overview-facts {
  display: grid; grid-template-columns: .85fr 1fr 1fr 1.35fr;
  margin-top: 30px; padding: 26px; border: 1px solid #657780;
  border-radius: 18px; gap: 24px;
}
@media(max-width:1100px) {
  .case-explorer #panel-overview { width: 100%; margin-left: 0; transform: none; padding-inline: 16px; }
  .case-explorer #panel-overview .overview-showcase-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-explorer #panel-overview .overview-image-space { grid-column: 1 / -1; max-width: 680px; justify-self: center; }
  .case-explorer #panel-overview .overview-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .case-explorer #panel-overview .overview-actions > h3 { grid-column: 1 / -1; }
  .case-explorer #panel-overview .overview-action-arrow { display: none; }
  .case-explorer #panel-overview .overview-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media(max-width:600px) {
  .case-explorer #panel-overview .overview-showcase-main,
  .case-explorer #panel-overview .overview-actions,
  .case-explorer #panel-overview .overview-facts { grid-template-columns: minmax(0, 1fr); }
  .case-explorer #panel-overview .overview-introduction { border: 0; padding-right: 0; }
  .case-explorer #panel-overview .overview-facts > div + div { border-left: 0; padding-left: 0; }
}

/* Raise the Overview carousel to align with the text columns. */
.case-explorer #panel-overview .overview-image-space { padding-top: 0; }

/* Larger Overview introduction and problem/approach copy. */
.case-explorer #panel-overview .overview-introduction h2 { font-size: calc(clamp(32px, 3.45cqw, 49px) + 3px); }
.case-explorer #panel-overview .overview-introduction .explorer-callout { font-size: 21px; }
.case-explorer #panel-overview .overview-narrative h3 { font-size: 27px; }
.case-explorer #panel-overview .overview-narrative p { font-size: 19px; }

/* Raise the Overview carousel slightly further on desktop. */
@media(min-width:1101px) {
  .case-explorer #panel-overview .overview-image-space { position: relative; top: -20px; }
}

/* Compact Overview details and raise the action row. */
.case-explorer #panel-overview .overview-actions { margin-top: 24px; }
.case-explorer #panel-overview .overview-facts { margin-top: 22px; padding: 16px 24px; }
.case-explorer #panel-overview .overview-facts h3 { margin-bottom: 5px; }
.case-explorer #panel-overview .overview-facts > div { align-items: start; }

/* Lower the Overview divider independently of its text. */
.case-explorer #panel-overview .overview-introduction { position: relative; border-right: 0; }
.case-explorer #panel-overview .overview-introduction::after {
  content: ''; position: absolute; right: 0; top: 24px; bottom: -24px;
  width: 1px; background: #52636c;
}
@media(max-width:600px) {
  .case-explorer #panel-overview .overview-introduction::after { display: none; }
}

/* More breathing room around action icons and centered connecting arrows. */
.case-explorer #panel-overview .overview-action { gap: 26px; }
.case-explorer #panel-overview .overview-action-arrow {
  align-self: center;
  justify-self: center;
  padding-top: 0;
  line-height: 1;
}
@media(max-width:760px) {
  .case-explorer #panel-overview .overview-action { gap: 18px; }
}

/* Larger action icons and connecting arrows. */
.case-explorer #panel-overview .overview-action { grid-template-columns: 50px minmax(0, 1fr); }
.case-explorer #panel-overview .overview-action > svg { width: 50px; height: 50px; }
.case-explorer #panel-overview .overview-action-arrow { font-size: 34px; }

.case-explorer #panel-overview .overview-actions > h3 { font-size: 30px; }

/* Align each connecting arrow with the center of the 50px action icons. */
.case-explorer #panel-overview .overview-action-arrow {
  align-self: start;
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0;
  margin: 0;
}
@media(max-width:1100px) {
  .case-explorer #panel-overview .overview-action-arrow { display: none; }
}

/* Keep arrows centered in equal gaps between the action groups. */
@media(min-width:1101px) {
  .case-explorer #panel-overview .overview-actions {
    grid-template-columns: minmax(170px, .9fr) minmax(0, 1fr) 56px minmax(0, 1fr) 56px minmax(0, 1fr);
    column-gap: 20px;
  }
  .case-explorer #panel-overview .overview-action-arrow { width: 100%; text-align: center; }
}

/* Shift both Overview action arrows slightly left. */
.case-explorer #panel-overview .overview-action-arrow { position: relative; left: -50px; }

/* Larger Overview action symbols with the current arrow offset preserved. */
.case-explorer #panel-overview .overview-action { grid-template-columns: 58px minmax(0, 1fr); }
.case-explorer #panel-overview .overview-action > svg { width: 58px; height: 58px; }
.case-explorer #panel-overview .overview-action-arrow { font-size: 42px; height: 58px; }

/* Slightly larger Overview action labels and descriptions. */
.case-explorer #panel-overview .overview-action h3 { font-size: 23px; }
.case-explorer #panel-overview .overview-action p { font-size: 17px; }

/* Center the content within each Overview detail column. */
.case-explorer #panel-overview .overview-facts > div {
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Supplied illustration replaces only the introduction carousel. */
.hero .hero-illustration {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
}

/* Shift Overview content to the right without changing its internal layout. */
@media(min-width:1101px) {
  .case-explorer #panel-overview .overview-showcase { position: relative; left: 24px; }
}

/* Slight rightward shift for the introduction illustration. */
@media(min-width:761px) {
  .hero .hero-illustration { position: relative; left: 20px; }
}

/* Widen only the introduction paragraph without resizing the image column. */
@media(min-width:761px) {
  .hero .hero-copy > p:not(.lead) { width: calc(100% + 40px); }
}

/* Floating pill navigation shared by all project pages. */
body.project-page > header {
  top: 8px; width: calc(100% - 28px); max-width: 1500px;
  margin: 8px auto 0; border: 1px solid #303336; border-radius: 40px;
  background: #494949; color: #fff;
  box-shadow: 0 5px 14px rgba(0,0,0,.12); backdrop-filter: blur(10px);
}
body.project-page > header > nav { min-height: 66px; padding: 12px 30px; max-width: none; gap: 24px; }
body.project-page > header .logo { color: #00bed2; }
body.project-page > header .logo-mark { background: #00bed2; border-color: #00bed2; }
body.project-page > header .nav-links { color: #eee; background: transparent; }
body.project-page > header .nav-links a { color: #eee; font-size: 13px; }
body.project-page > header .nav-links a:hover { color: #38def0; }
body.project-page > header .theme-toggle {
  border: 0; border-radius: 999px; padding: 9px 17px;
  color: #fff; background: #00b8ce; font-weight: 600;
  box-shadow: 0 3px 9px rgba(0,184,206,.2);
}
body.project-page > header .nav-toggle span { background: #fff; }
@media(max-width:880px) {
  body.project-page > header { border-radius: 28px; }
  body.project-page > header > nav { padding: 12px 20px; gap: 12px; }
  body.project-page > header .nav-links { border-bottom: 0; border-radius: 0 0 20px 20px; }
  body.project-page > header .nav-links a { padding: 12px 8px; }
  body.project-page > header .theme-toggle { margin-right: 0; }
}
@media(max-width:450px) {
  body.project-page > header > nav { padding-inline: 14px; gap: 8px; }
  body.project-page > header .logo { font-size: 14px; }
  body.project-page > header .theme-toggle { padding: 8px 12px; margin-left: auto; font-size: 11px; }
}

/* Frosted white project navigation with the LiftAssist title accent. */
body.project-page > header {
  background: rgba(255,255,255,.48);
  border-color: rgba(255,255,255,.65);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 5px 20px rgba(16,19,22,.1);
}
body.project-page > header .logo { color: #27bef5; }
body.project-page > header .logo-mark { background: #27bef5; border-color: #27bef5; }
body.project-page > header .nav-links,
body.project-page > header .nav-links a { color: #263341; }
body.project-page > header .nav-links a:hover { color: #27bef5; }
body.project-page > header .theme-toggle {
  background: #27bef5;
  color: #101316;
  box-shadow: 0 3px 10px rgba(39,190,245,.2);
}
body.project-page > header .nav-toggle span { background: #263341; }

/* Match project navbar text sizes to the home-page navigation. */
body.project-page > header .logo { font-size: 1.05rem; }
body.project-page > header .nav-links a { font-size: .92rem; }
body.project-page > header .theme-toggle { font-size: .75rem; }
