    .case-analysis {margin-top:28px;border-top:1px solid #31504f;font-size:16px;line-height:1.65}
    .analysis-heading {display:flex;align-items:center;gap:12px;margin:32px 0 12px}
    .case-analysis .analysis-heading h3 {margin:0}
    .case-analysis .analysis-link {display:inline-flex;flex:none;align-items:center;justify-content:center;gap:5px;padding:5px 10px;min-height:36px;border:1px solid #61cfc3;border-radius:8px;background:#143236;color:#92f4e8;text-decoration:none;font-size:16px;font-weight:700}
    .analysis-link:hover,.analysis-link:focus-visible {background:#20464a;outline:2px solid #92f4e8;outline-offset:2px}
    .analysis-scroll {max-width:100%;overflow-x:auto;margin:16px 0}
    .case-analysis table {width:100%;min-width:550px;border-collapse:collapse;text-align:left;font-variant-numeric:tabular-nums}
    .case-analysis caption {text-align:left;font-weight:700;padding-bottom:8px}
    .case-analysis th,.case-analysis td {padding:8px 12px;border-bottom:1px solid #35454c}
    .case-analysis thead {background:#183237;color:#98f3e9}
    .case-analysis td:nth-child(2),.case-analysis td:nth-child(3) {white-space:nowrap}
    .case-analysis p {margin:12px 0}
    #photoLightbox {position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:8px;background:rgba(0,0,0,.94)}
    #photoLightbox.hidden, #photoLightbox button[hidden] {display:none}
    #photoLightbox .lightbox-panel {width:min(100%,1100px);max-width:100%;display:flex;align-items:center;flex-direction:column}
    .lightbox-stage {width:100%;display:flex;align-items:center;justify-content:center;--arrow-gap:clamp(8px,1.2vw,16px);gap:var(--arrow-gap)}
    #lightboxImg {width:auto;height:auto;max-width:calc(100% - 88px - var(--arrow-gap) - var(--arrow-gap));max-height:calc(100dvh - 126px);object-fit:contain}
    .lightbox-step {box-sizing:border-box;flex:0 0 44px;height:44px;display:grid;place-items:center;padding:0;border:2px solid #67e5d7;border-radius:12px;background:#112e33;cursor:pointer}
    .lightbox-step svg {width:24px;height:24px;stroke:#83fff0}
    .lightbox-step:hover,.lightbox-step:focus-visible {background:#215055;outline:2px solid white}
    #lightboxCaption {margin-top:8px;color:white;font-size:16px}

.case-heading{margin:0 0 18px;color:white;font-size:clamp(28px,4vw,44px);font-weight:850}
.record-card{box-sizing:border-box;display:flex;align-items:center;gap:clamp(12px,2vw,24px);border:1px solid #36585a;border-radius:18px;padding:18px;background:#101920;color:white;text-decoration:none;font-size:16px;line-height:1.55;min-width:0}
a.record-card:hover,a.record-card:focus-visible{border-color:#73eadf;background:#152328;outline:2px solid #65cfc5}
.record-card img{width:clamp(76px,12vw,132px);height:auto;border-radius:10px}
.record-card dl{margin:0;display:grid;gap:5px;min-width:0}
.record-card dt,.record-card dd{display:inline;margin:0;font-weight:700}
.record-card dt{color:#81e5da}
#home-case{max-width:620px}
.case-page{margin:0;background:#0a1117;color:#f3f7f7;font:16px/1.65 system-ui,sans-serif;color-scheme:dark}
.case-page *{box-sizing:border-box}
.case-page main,.case-nav{width:min(1120px,calc(100% - 32px));margin:auto}
.case-page main{padding:32px 0 64px}
.case-nav{display:flex;align-items:center;gap:24px;padding:15px 0;border-bottom:1px solid #365154}
.case-nav a,.other-cases{color:#88e6da;font-weight:700}
.case-nav a:first-child{margin-right:auto;color:white}
#records-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
@media(max-width:680px){#records-grid{grid-template-columns:1fr}.record-card{padding:12px}}
.filters{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:20px}
.filters select,.other-cases,#closeLightboxBtn{border:1px solid #42736e;background:#122b2d;color:white;font:inherit;border-radius:8px;padding:5px 10px}
.other-cases{display:inline-block;margin-top:32px;padding:10px 20px;text-decoration:none}
.case-page h2,.case-page h3{font-size:24px;color:white}
.case-page .case-gallery{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}
.case-page .case-gallery button,.case-page .case-curves button{background:#101e27;color:white;border:1px solid #54706e;border-radius:10px;padding:4px;cursor:pointer;font:inherit}
.case-gallery button img{display:block;width:clamp(54px,9vw,88px);height:auto}
.case-page .case-curves{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.case-curves img{display:block;width:100%;height:auto}
@media(max-width:600px){.case-page .case-curves{grid-template-columns:1fr}}
#closeLightboxBtn{align-self:end;margin-bottom:8px;cursor:pointer}
.curve-svg{display:block;width:100%;max-width:760px;height:auto}

.catalog-filters {display:flex;flex-wrap:nowrap;align-items:center;gap:8px;overflow-x:auto;padding:4px 3px 8px;margin:0 0 20px;scroll-padding-inline:4px}
.catalog-filters [role=group] {display:contents}
.catalog-filters button {flex:none;white-space:nowrap;font:inherit;font-weight:650;border:1px solid #467c78;border-radius:999px;padding:5px 16px;background:#122426;color:#a2f1e7;cursor:pointer}
.catalog-filters button[aria-pressed=true] {background:#83e8dc;color:#082323;border-color:#9ef8ed;box-shadow:0 0 10px #46cdb644}
.catalog-filters button:focus-visible {outline:2px solid white;outline-offset:2px}
.catalog-filters [role=group][hidden],.catalog-filters button[hidden] {display:none}


/* === v1.0.95 Narrow-Screen Auto-Wrap, Auto-Height & Vertical Image/Text Stack ===
   Strictly scoped to < 1024px so desktop (>= 1024px) layout, proportions & positions stay 100% unchanged. */
@media (max-width: 1023px) {
  /* Header: auto-wrap & auto-grow height */
  header > div:first-child {
    height: auto !important;
    min-height: 80px;
    flex-wrap: wrap !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    row-gap: 10px !important;
  }
  header #brandHomeBtn {
    flex: 1 1 auto;
    min-width: 0;
  }
  header #brandHomeBtn > div > div {
    white-space: normal !important;
    line-height: 1.25 !important;
    overflow-wrap: break-word;
  }
  header > div:first-child > div:last-child {
    flex-wrap: wrap !important;
    row-gap: 6px;
  }
  header button,
  header a {
    white-space: normal !important;
    height: auto !important;
    text-align: center;
  }

  /* Dynamic top offset when wrapped header grows taller */
  main#frontShowroom {
    padding-top: var(--header-h, 88px) !important;
  }
  .case-page:has(> header),
  .case-detail-page:has(> header) {
    padding-top: var(--header-h, 88px) !important;
  }
  .case-view-shell {
    padding-top: calc(var(--header-h, 88px) + 24px) !important;
  }

  /* Medium screens (768px-1023px): keep intentional hero car + headline overlap;
     only wrap hero car vertically once squeezed to <= 767px */
  #heroCarBreakout {
    display: none !important;
  }
}

@media (max-width: 767px) {
  /* Hero squeezed view: headline+CTA -> hero car (slight overlap behind text) -> 3 KPI cards below */
  #hero {
    min-height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding-bottom: 28px;
  }
  #hero > .relative.z-20 {
    display: contents !important;
  }
  #hero > .relative.z-20 > .max-w-2xl {
    order: 1;
    position: relative;
    z-index: 20;
    width: 100% !important;
    max-width: 80rem !important;
    padding: 28px 16px 0 !important;
  }
  #heroCarForeground {
    order: 2;
    position: relative !important;
    z-index: 10;
    inset: auto !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    max-width: 80rem !important;
    height: auto !important;
    min-height: 0 !important;
    transform: none !important;
    translate: none !important;
    padding: 0 16px !important;
    margin-top: clamp(-56px, -7vw, -24px) !important;
  }
  #heroCarForeground > img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center !important;
    border-radius: 16px;
  }
  #heroCarForeground > div {
    display: none !important;
  }
  #heroKpiStrip {
    order: 3;
    position: relative;
    z-index: 20;
    width: 100% !important;
    max-width: 80rem !important;
    padding: 0 16px !important;
    margin-top: 44px !important;
  }
}

@media (max-width: 1023px) {
  #heroKpiStrip > div,
  #heroKpiStrip > div *,
  #hero a,
  #hero button,
  #services button,
  #services a {
    white-space: normal !important;
    height: auto !important;
    overflow-wrap: break-word;
  }

  /* Flagship cards: allow auto-height & text wrapping */
  #services .glass-panel,
  #services .glass-panel .grid > div {
    height: auto !important;
    min-width: 0;
  }

  /* Catalog filter chips: wrap cleanly instead of clipping */
  .catalog-filters {
    flex-wrap: wrap !important;
    overflow-x: visible !important;
  }
  .catalog-filters button {
    white-space: normal !important;
    height: auto !important;
  }

  /* Case analysis header wrap */
  .analysis-heading {
    flex-wrap: wrap;
  }
}

@media (max-width: 680px) {
  /* Record summary cards: vertical image-above-text stack on narrow screens */
  .record-card {
    flex-direction: column !important;
    align-items: stretch !important;
    height: auto !important;
  }
  .record-card img {
    width: 100% !important;
    max-width: 360px;
    height: auto !important;
    object-fit: cover;
  }
  .record-card dl > div {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 4px;
  }
  .record-card dt,
  .record-card dd {
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

@media (max-width: 640px) {
  /* Keep Flagship 02 & 03 in-image captions anchored inside the image at bottom */
  #services .relative.rounded-2xl > .absolute.bottom-0 {
    padding: 12px 14px !important;
  }

  /* Floating contact card: fit narrow screen, allow wrapping & auto-height */
  #floatingContactCard {
    top: calc(var(--header-h, 88px) + 12px) !important;
    right: 12px !important;
    width: auto !important;
    min-width: 240px;
    max-width: calc(100vw - 24px) !important;
  }
  #floatingCardBody > div {
    flex-wrap: wrap !important;
    row-gap: 2px;
  }
  #floatingCardBody a,
  #floatingCardBody span {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    overflow-wrap: anywhere;
  }
}


/* === v1.0.96 Comfortable Readability Floor (Zero Small Text) === */
.record-card { font-size: 18px; line-height: 1.65; }
.case-analysis { font-size: 17px; line-height: 1.75; }
.case-analysis th, .case-analysis td { font-size: 17px; padding: 10px 14px; }
.case-analysis .analysis-link { font-size: 17px; padding: 6px 12px; }
.catalog-filters button { font-size: 17px; padding: 7px 18px; }
.case-page { font-size: 17px; line-height: 1.75; }
.case-page h2, .case-page h3 { font-size: clamp(22px, 3vw, 26px); }
.other-cases, #closeLightboxBtn { font-size: 17px; }
#lightboxCaption { font-size: 18px; font-weight: 700; }

/* Mobile & narrow-screen comfort bump without altering desktop (>=1024px) */
@media (max-width: 1023px) {
  body { font-size: 17px !important; line-height: 1.75; }
  #services .text-base,
  #heroKpiStrip .text-base,
  #floatingCardBody,
  footer { font-size: 17px !important; line-height: 1.7; }
  #booking { font-size: 18px !important; }
  header button, header a { font-size: 16px !important; }
}


/* === v1.1.0 Per-Stage Swipeable Curve Strip & Gemini Markdown Styling (Readability >= 17px) === */
.stage-strip-wrap { margin: 16px 0 28px; }
.stage-strip-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.stage-strip-hint { font-size: 17px; font-weight: 700; color: #cbd5e1; }
.stage-strip-nav { display: inline-flex; gap: 8px; }
.stage-strip-nav button, .stage-zoom-btn { font: inherit; font-size: 16px; font-weight: 700; padding: 6px 14px; border: 1px solid #467c78; border-radius: 10px; background: #122426; color: #98f3e9; cursor: pointer; }
.stage-strip-nav button:hover, .stage-zoom-btn:hover { background: #1d3c40; border-color: #78eadc; }
.stage-curve-strip { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 14px; -webkit-overflow-scrolling: touch; }
.stage-curve-slide { flex: 0 0 min(780px, 90vw); scroll-snap-align: start; border: 1px solid #36585a; border-radius: 16px; padding: 14px; background: #101920; display: flex; flex-direction: column; gap: 10px; }
.stage-curve-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.stage-curve-head h3 { margin: 0; font-size: 20px; font-weight: 800; color: #81e5da; }
.stage-curve-img-btn { display: block; width: 100%; padding: 0; border: 1px solid #26424a; border-radius: 12px; background: #07111a; overflow: hidden; cursor: inherit; }
.stage-curve-img-btn img { display: block; width: 100%; height: auto; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.ai-markdown-body { margin-top: 14px; font-size: 17px; line-height: 1.75; color: #f1f5f9; }
.ai-markdown-body .md-heading { font-size: 20px; font-weight: 800; color: #81e5da; margin: 20px 0 10px; }
.ai-markdown-body .md-list { margin: 10px 0 14px; padding-left: 24px; }
.ai-markdown-body .md-list li { margin: 6px 0; }
.ai-markdown-body code { background: #183237; color: #98f3e9; padding: 2px 6px; border-radius: 6px; font-size: 16px; }
.curve-caption { display: block; font-size: 17px; font-weight: 700; color: #81e5da; margin-bottom: 6px; text-align: left; }

/* === v1.1.1 Detail Page Hero Summary Card (2x Proportional Front Photo + 4-Line Specs) === */
.case-detail-page #record > .record-card {
  padding: clamp(22px, 3vw, 34px);
  gap: clamp(22px, 3.6vw, 44px);
  font-size: clamp(22px, 2.8vw, 36px);
  line-height: 1.45;
  border-radius: 22px;
}
.case-detail-page #record > .record-card img {
  width: clamp(180px, 25vw, 272px);
  height: clamp(180px, 25vw, 272px);
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 16px;
}
.case-detail-page #record > .record-card dl {
  gap: 10px;
}
@media (max-width: 680px) {
  .case-detail-page #record > .record-card {
    padding: 18px;
    gap: 18px;
    font-size: 24px;
    line-height: 1.45;
  }
  .case-detail-page #record > .record-card img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
  }
}
