:root {
  --bg: #FAFAF7;
  --bg-warm: #F5F2ED;
  --bg-card: #FFFFFF;
  --bg-dark: #262523;
  --text: #333130;
  --text-sub: #636059;
  --text-muted: #A09A93;
  --accent: #C27B4E;
  --accent-light: #D9A47F;
  --accent-pale: #FBF3ED;
  --teal: #5A8E7C;
  --teal-pale: #EDF5F1;
  --border: #E8E4DD;
  --border-light: #F0EDE8;
  --shadow-s: 0 2px 8px rgba(40,38,35,0.04);
  --shadow-m: 0 6px 20px rgba(40,38,35,0.06);
  --shadow-l: 0 12px 36px rgba(40,38,35,0.08);
  --r: 14px;
  --risk: #9A514D;
  --opportunity: #8C78B8;
  --case-width: 1140;
  --case-scale: 1;
}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  font-family:var(--font-sans);
  background:var(--bg);color:var(--text);
  line-height:1.9;overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
::selection{background:var(--accent-light);color:#fff;}
.return-bar{
  position:fixed;top:0;left:0;right:0;z-index:100;
  background:rgba(250,250,247,.76);
  backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);
  border-bottom:1px solid rgba(232,228,221,.72);
}
.return-inner{
  max-width:1140px;margin:0 auto;padding:0 48px;height:58px;
  display:flex;align-items:center;justify-content:space-between;gap:18px;
}
.case-nav{display:flex;align-items:center;justify-content:center;gap:4px;flex:1;}
.case-nav a{
  color:var(--text-sub);text-decoration:none;font-size:14px;font-weight:500;
  padding:6px 12px;border-radius:16px;
  transition:color .25s ease,background-color .25s ease;
}
.case-nav a:hover,.case-nav a.active,.case-nav a[aria-current="true"]{color:var(--accent);background:var(--accent-pale);}
.return-link,.return-name{
  color:var(--text);text-decoration:none;font-weight:700;letter-spacing:1px;
}
.return-link{font-size:15px;color:var(--accent);}
.return-name{font-family:var(--font-serif);font-size:17px;letter-spacing:3px;}
.return-link:hover{color:#9b5630;}
.case-stage{width:calc(var(--case-width) * 1px);max-width:none;margin:0 auto;position:relative;z-index:auto;zoom:var(--case-scale);overflow:visible;}
.case-main{position:relative;padding-top:calc(58px / var(--case-scale));}
.story-line{
  position:absolute;left:calc(50% - 570px);top:132px;bottom:120px;width:2px;
  background:linear-gradient(to bottom,var(--accent),var(--teal));
  border-radius:2px;opacity:.72;
}
.case-section{position:relative;padding:78px 48px;scroll-margin-top:0;}
.case-section:nth-of-type(odd){background:var(--bg);}
.case-section:nth-of-type(even){background:var(--bg-warm);}
#problem.case-section,
#strategy.case-section,
#prototype.case-section{background:var(--bg);}
.case-wrap{max-width:1140px;margin:0 auto;position:relative;}
.read-wrap{max-width:760px;margin:0 auto;}
.hero-cover{padding-top:108px;min-height:92vh;display:flex;align-items:center;}
.hero-tag{
  display:inline-flex;align-items:center;gap:8px;
  font-size:13px;font-weight:700;color:var(--accent);
  background:var(--accent-pale);border:1px solid rgba(194,123,78,.18);
  padding:7px 16px;border-radius:999px;letter-spacing:.06em;margin-bottom:22px;
}
.case-title{
  font-family:var(--font-serif);font-size:clamp(36px,5vw,52px);
  line-height:1.18;letter-spacing:2px;margin-bottom:16px;color:var(--text);
}
.case-subtitle{
  font-family:var(--font-display);font-size:18px;font-style:italic;
  color:var(--text-muted);margin-bottom:28px;
}
.meta-row{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:38px;}
.meta-pill{
  background:rgba(255,255,255,.72);border:1px solid var(--border-light);
  border-radius:999px;padding:7px 14px;color:var(--text-sub);font-size:14px;
}
.metric-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;}
.metric-card{
  background:var(--bg-card);border:1px solid var(--border-light);
  border-radius:var(--r);padding:24px 24px 22px;box-shadow:var(--shadow-s);
  display:flex;flex-direction:column;align-items:center;text-align:center;
}
.metric-num{
  font-family:var(--font-serif);font-size:clamp(40px,6vw,64px);
  font-weight:700;color:var(--accent);line-height:1;
}
.metric-label{font-size:15px;color:var(--text-sub);margin-top:10px;}
.section-head{display:flex;align-items:baseline;gap:14px;margin-bottom:34px;}
.sec-num{font-family:var(--font-mono);font-size:13px;color:var(--accent);font-weight:700;}
.sec-title{font-family:var(--font-serif);font-size:30px;font-weight:700;letter-spacing:1px;}
.sec-en{font-family:var(--font-display);font-size:15px;color:var(--text-muted);font-style:italic;}
.sec-line{height:1px;flex:1;background:var(--border);}
.lead-text,.body-text{font-size:18px;line-height:2.05;color:var(--text-sub);text-align:justify;}
.pain-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:28px;}
.pain-card,.insight-box,.result-box{
  background:var(--bg-card);border:1px solid var(--border-light);
  border-radius:var(--r);padding:24px;box-shadow:var(--shadow-s);
}
.pain-card{border-left:3px solid var(--accent);}
.pain-card h3,.insight-box h3,.result-box h3{
  font-family:var(--font-serif);font-size:19px;margin-bottom:8px;
}
.pain-card p,.insight-box p,.result-box p{font-size:15px;color:var(--text-sub);line-height:1.9;}
.role-chips{display:flex;flex-wrap:wrap;gap:10px;margin:26px 0;}
.role-chips span{
  display:inline-flex;align-items:center;background:var(--accent-pale);
  color:var(--accent);border:1px solid rgba(194,123,78,.16);
  padding:7px 14px;border-radius:999px;font-size:14px;font-weight:700;
}
.study-row{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:24px;}
.study-mini{
  border:1px solid var(--border-light);background:rgba(255,255,255,.7);
  border-radius:var(--r);padding:16px;text-align:center;
}
.study-mini strong{font-family:var(--font-serif);font-size:30px;color:var(--teal);}
.study-mini span{display:block;color:var(--text-muted);font-size:13px;}
.insight-box,.result-box{background:var(--teal-pale);border-left:3px solid var(--teal);}
.transition-note{
  margin:52px auto 0;max-width:860px;text-align:center;
  color:var(--text);font-family:var(--font-serif);font-style:italic;font-size:22px;
  line-height:1.75;font-weight:700;letter-spacing:.04em;
}
.swot-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:28px;}
.swot-card{
  background:var(--bg-card);border:1px solid var(--border-light);
  border-radius:var(--r);padding:24px 22px;box-shadow:var(--shadow-s);
}
.swot-card.s{border-top:4px solid var(--teal);}
.swot-card.w{border-top:4px solid var(--risk);}
.swot-card.o{border-top:4px solid var(--opportunity);}
.swot-card.t{border-top:4px solid var(--accent);}
.swot-head{display:flex;align-items:center;gap:10px;margin-bottom:14px;}
.swot-badge{
  width:34px;height:34px;border-radius:10px;display:flex;align-items:center;justify-content:center;
  font-family:var(--font-mono);font-weight:700;color:#fff;
}
.s .swot-badge{background:var(--teal);}.w .swot-badge{background:var(--risk);}
.o .swot-badge{background:var(--opportunity);}.t .swot-badge{background:var(--accent);}
.swot-card h3{font-family:var(--font-serif);font-size:18px;}
.swot-card li,.strategy-card li{font-size:15px;color:var(--text-sub);line-height:1.9;margin-left:14px;}
.swot-card code,.strategy-card code{
  font-family:var(--font-mono);color:var(--accent);background:var(--accent-pale);
  padding:1px 5px;border-radius:5px;
}
.derive-note{text-align:center;color:var(--accent);font-weight:700;margin:32px 0 20px;}
.strategy-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;}
.strategy-card{
  background:var(--bg-card);border:1px solid var(--border-light);
  border-radius:var(--r);padding:24px;box-shadow:var(--shadow-s);
  transition:transform .25s ease,box-shadow .25s ease;
}
.strategy-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-m);}
.strategy-card h3{font-family:var(--font-serif);font-size:19px;color:var(--accent);margin-bottom:12px;}
#strategy{
  --swot-bg:#F6F2EC;
  --swot-card:#FFFDF8;
  --swot-text:#3F3D39;
  --swot-sub:#6F6A62;
  --swot-line:#E2CDBD;
  --swot-ink:#B8A08A;
  --swot-s:#5E9A86;
  --swot-w:#A85B56;
  --swot-o:#8D75BD;
  --swot-t:#C87545;
}
#strategy.case-section{background:var(--bg);}
.strategy-image-wrap{max-width:980px;}
.strategy-image-wrap .body-text{
  max-width:900px;margin:0 auto 30px;text-align:left;
}
.swot-image-card{
  margin:32px auto 0;padding:0;background:transparent;border:0;box-shadow:none;
}
.swot-image-card .image-button{
  border-radius:14px;background:#fff;box-shadow:0 14px 38px rgba(63,61,57,.08);
}
.swot-image-card img{
  display:block;width:100%;height:auto;border-radius:14px;border:1px solid rgba(226,205,189,.72);
}
.case-swot-wrap{max-width:1180px;}
.case-swot-header{
  display:flex;align-items:baseline;gap:16px;margin:0 auto 28px;max-width:980px;
}
.case-swot-index{font-family:var(--font-mono);font-size:13px;font-weight:800;color:var(--swot-t);}
.case-swot-header h2{
  font-family:var(--font-serif);font-size:34px;font-weight:800;color:var(--swot-text);letter-spacing:1px;
}
.case-swot-en{font-family:var(--font-display);font-size:16px;color:#9C948B;font-style:italic;}
.case-swot-line{height:1px;flex:1;background:var(--swot-line);}
.case-swot-intro{
  max-width:980px;margin:0 auto 34px;font-size:18px;line-height:1.9;color:var(--swot-sub);
}
.case-swot-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:10px;
}
.case-swot-card,
.case-strategy-card{
  position:relative;overflow:hidden;background:linear-gradient(135deg,rgba(255,253,248,.98),rgba(255,253,248,.88));
  border:1.5px solid var(--swot-line)!important;border-radius:14px!important;
  box-shadow:0 14px 34px rgba(63,61,57,.055)!important;
  transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;
}
.case-swot-card:hover,
.case-strategy-card:hover{
  transform:translateY(-2px);border-color:#D7BBA5!important;box-shadow:0 16px 38px rgba(63,61,57,.075)!important;
}
.case-swot-card{
  min-height:252px;padding:28px 28px 24px;display:grid;grid-template-columns:minmax(235px,1fr) minmax(0,240px);gap:10px;
}
.case-swot-card::before,
.case-strategy-card::before{
  content:"";position:absolute;inset:0;pointer-events:none;opacity:.28;
  background-image:linear-gradient(rgba(226,205,189,.55) 1px,transparent 1px),linear-gradient(90deg,rgba(226,205,189,.55) 1px,transparent 1px);
  background-size:18px 18px;mask-image:linear-gradient(90deg,#000,transparent 70%);
}
.case-swot-copy,.case-strategy-copy{position:relative;z-index:2;}
.case-swot-title-row{display:flex;align-items:center;gap:14px;margin-bottom:20px;}
.case-swot-letter{
  width:48px;height:48px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;
  color:#fff;font-family:var(--font-mono);font-size:27px;font-weight:900;box-shadow:inset 0 -10px 18px rgba(0,0,0,.08);
}
.case-swot-card-s .case-swot-letter{background:var(--swot-s);}
.case-swot-card-w .case-swot-letter{background:var(--swot-w);}
.case-swot-card-o .case-swot-letter{background:var(--swot-o);}
.case-swot-card-t .case-swot-letter{background:var(--swot-t);}
.case-swot-title-row h3{
  font-family:var(--font-serif);font-size:24px;color:var(--swot-text);font-weight:800;margin:0;
}
.case-swot-title-row em{
  font-family:var(--font-display);font-size:18px;color:var(--swot-sub);font-style:normal;font-weight:500;margin-left:6px;
}
.case-swot-list,.case-strategy-card ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px;}
.case-swot-list li,.case-strategy-card li{
  display:flex;align-items:flex-start;gap:9px;font-size:15px;line-height:1.55;color:var(--swot-sub);
}
.case-swot-list code,.case-strategy-card code{
  flex:0 0 auto;font-family:var(--font-mono);font-size:13px;font-weight:800;line-height:1.35;
  padding:2px 6px;border-radius:5px;background:rgba(226,205,189,.34);color:var(--swot-t);
}
.case-swot-card-s code{color:var(--swot-s);}
.case-swot-card-w code{color:var(--swot-w);}
.case-swot-card-o code{color:var(--swot-o);}
.case-swot-card-t code{color:var(--swot-t);}
.case-swot-illo{
  position:relative;z-index:1;align-self:center;width:100%;max-width:min(280px,100%);justify-self:end;margin:0;
  overflow:hidden;display:flex;align-items:center;justify-content:flex-end;
}
.case-swot-illo img,
.case-strategy-illo img{
  display:block;width:100%;max-width:100%;height:auto;border-radius:10px;object-fit:contain;
  filter:saturate(.92) contrast(.98);mix-blend-mode:multiply;
}
.case-swot-illo img{max-height:190px;}
.swot-line,.swot-person,.swot-ground,.swot-dash{
  fill:none;stroke:var(--swot-ink);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;
}
.swot-person{stroke:#8F8174;}
.swot-ground{stroke:#C8B7A8;}
.swot-dash{stroke-dasharray:4 5;opacity:.8;}
.swot-fill{fill:#C87545;opacity:.09;}
.case-swot-bridge{
  display:flex;align-items:center;justify-content:center;margin:28px 0 20px;color:var(--swot-t);
  font-size:19px;font-weight:800;letter-spacing:.06em;
}
.case-strategy-grid{
  position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 22px;margin-top:4px;
}
.case-strategy-card{
  min-height:176px;padding:22px 24px;display:grid;grid-template-columns:minmax(250px,1fr) 220px;align-items:center;gap:10px;
}
.case-strategy-card h3{
  font-family:var(--font-serif);font-size:23px;color:var(--swot-t);font-weight:800;margin:0 0 12px;
}
.case-strategy-card li{font-size:14px;gap:7px;}
.case-strategy-card li::before{
  content:"";width:5px;height:5px;border-radius:50%;background:var(--swot-sub);margin-top:.72em;flex:0 0 auto;
}
.case-strategy-card code{color:var(--swot-t);background:rgba(200,117,69,.12);}
.case-strategy-illo{position:relative;z-index:1;width:100%;max-width:220px;justify-self:end;margin:0;}
.case-strategy-center{
  position:absolute;left:50%;top:50%;z-index:4;width:98px;height:98px;transform:translate(-50%,-50%);
  border-radius:50%;background:#FFFDF8;box-shadow:0 10px 24px rgba(63,61,57,.12);padding:5px;
}
.case-swot-pie{display:block;width:100%;height:100%;}
.case-swot-pie text{
  fill:#fff;font-family:var(--font-mono);font-size:22px;font-weight:900;text-anchor:middle;dominant-baseline:middle;
}
.case-swot-footer{max-width:980px;}
@media(max-width:980px){
  .case-swot-card{grid-template-columns:1fr;min-height:auto;}
  .case-swot-illo{justify-self:center;justify-content:center;max-width:320px;}
  .case-swot-illo img{max-height:none;}
  .case-strategy-card{grid-template-columns:1fr;min-height:auto;}
  .case-strategy-illo{justify-self:center;}
  .case-strategy-center{width:84px;height:84px;}
}
@media(max-width:760px){
  .case-swot-wrap{max-width:100%;}
  .case-swot-header{flex-wrap:wrap;gap:10px;}
  .case-swot-header h2{font-size:28px;}
  .case-swot-line{flex-basis:100%;}
  .case-swot-grid,.case-strategy-grid{grid-template-columns:1fr;}
  .case-strategy-center{position:relative;left:auto;top:auto;transform:none;margin:6px auto;grid-row:auto;}
  .case-swot-card,.case-strategy-card{padding:22px 18px;}
  .case-swot-illo{width:100%;max-width:100%;}
  .case-swot-title-row h3{font-size:22px;}
  .case-swot-list li,.case-strategy-card li{font-size:14px;}
}
.flow-stepper{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;gap:14px;align-items:center;margin:30px 0;}
.flow-stepper .step-card,.flow-stepper .flow-arrow{
  opacity:0;transform:translateY(10px);
  transition:opacity .45s ease,transform .45s ease;
}
.flow-stepper.vis .step-card,.flow-stepper.vis .flow-arrow{opacity:1;transform:translateY(0);}
.flow-stepper.vis .flow-arrow:nth-child(2){transition-delay:.12s;}
.flow-stepper.vis .step-card:nth-child(3){transition-delay:.22s;}
.flow-stepper.vis .flow-arrow:nth-child(4){transition-delay:.34s;}
.flow-stepper.vis .step-card:nth-child(5){transition-delay:.44s;}
.step-card{
  background:var(--bg-card);border:1.5px solid var(--teal);border-radius:var(--r);padding:22px 20px;box-shadow:var(--shadow-s);
}
.step-card.warn{border-color:var(--accent);}
.step-card.critical{border-color:var(--risk);}
.step-no{font-family:var(--font-mono);color:var(--accent);font-weight:700;font-size:13px;}
.step-card h3{font-family:var(--font-serif);font-size:20px;margin:4px 0 10px;}
.step-card p{font-size:15px;color:var(--text-sub);line-height:1.75;}
.flow-arrow{font-size:26px;color:var(--accent);}
.hitl-bar{
  margin:6px 0 26px;padding:14px 20px;border-radius:999px;
  background:linear-gradient(90deg,var(--accent-pale),var(--teal-pale));
  color:var(--text);font-weight:700;text-align:center;
}
.image-card{
  background:var(--bg-card);border:1px solid var(--border-light);
  border-radius:var(--r);padding:18px;box-shadow:var(--shadow-m);
}
.image-button{display:block;width:100%;border:0;background:transparent;padding:0;cursor:zoom-in;text-align:left;}
.image-button img{display:block;width:100%;height:auto;border-radius:10px;}
.caption{font-size:13px;color:var(--text-muted);margin-top:12px;text-align:center;}
.prototype-flow{display:grid;grid-template-columns:1fr 120px 1.3fr;gap:22px;align-items:center;margin-top:30px;}
.proto-label{font-size:13px;font-weight:700;color:var(--accent);letter-spacing:.08em;text-transform:uppercase;margin-bottom:10px;}
.flow-link{text-align:center;color:var(--accent);font-weight:700;}
.browser-frame{background:var(--bg-dark);border-radius:16px;padding:12px;box-shadow:var(--shadow-l);}
.browser-top{display:flex;align-items:center;gap:8px;margin-bottom:12px;}
.browser-dot{width:9px;height:9px;border-radius:50%;background:#D96F5F;}
.browser-dot:nth-child(2){background:#E4B85C;}.browser-dot:nth-child(3){background:#68A878;}
.browser-url{height:18px;flex:1;background:rgba(255,255,255,.1);border-radius:999px;margin-left:8px;}
.intent-list{
  max-width:860px;margin:32px auto 0;background:rgba(255,255,255,.78);
  border:1px solid var(--border-light);border-radius:var(--r);
  padding:24px 34px 24px 46px;text-align:left;box-shadow:var(--shadow-s);
  list-style-position:outside;
}
.intent-list li{
  font-size:17px;color:var(--text);line-height:2;margin-left:0;
  font-weight:600;letter-spacing:.01em;
}
.intent-list li::marker{color:var(--accent);font-weight:800;}
.deliverables{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px;}
.deliverables span{
  background:var(--bg-warm);border:1px solid var(--border-light);border-radius:999px;
  padding:8px 15px;color:var(--text-sub);font-size:15px;
}
#outcome .result-box{
  background:transparent;border:0;border-top:1px solid var(--border-light);border-radius:0;
  box-shadow:none;padding:28px 0 0;margin-top:26px;
}
#outcome .result-box h3{margin-bottom:10px;color:var(--text);}
#outcome .result-box p{font-size:16px;line-height:1.95;color:var(--text-sub);}
.footer{text-align:center;padding:64px 48px 40px;border-top:1px solid var(--border-light);background:var(--bg);}
.footer-name{
  font-family:var(--font-serif);font-size:22px;font-weight:700;
  color:var(--text);letter-spacing:4px;margin-bottom:18px;
  cursor:pointer;display:inline-block;position:relative;
}
.footer-contact{display:flex;justify-content:center;flex-wrap:wrap;gap:34px;margin-bottom:30px;}
.footer-contact a,.footer-contact span{font-size:18px;color:var(--text);text-decoration:none;font-weight:600;}
.footer-contact a:hover{color:var(--accent);}
.footer-end{font-size:17px;color:var(--text-sub);font-style:italic;font-weight:600;}
.rv{opacity:0;transform:translateY(16px);transition:opacity .75s ease,transform .75s ease;}
.rv.vis{opacity:1;transform:translateY(0);}
.rv-d1{transition-delay:.1s;}.rv-d2{transition-delay:.2s;}.rv-d3{transition-delay:.3s;}.rv-d4{transition-delay:.4s;}
.case-summary{
  font-size:18px;
  line-height:2;
  color:var(--text);
  font-weight:500;
  border-left:3px solid var(--accent);
  padding-left:20px;
  margin:20px 0 32px;
  text-align:justify;
}
.reflection-box{
  margin-top:36px;
  padding:28px 28px 24px;
  background:linear-gradient(135deg,rgba(251,243,237,.6),rgba(237,245,241,.5));
  border:1px solid var(--border-light);
  border-radius:var(--r);
  box-shadow:var(--shadow-s);
}
.reflection-box h3{
  font-family:var(--font-serif);
  font-size:22px;
  font-weight:700;
  color:var(--text);
  margin-bottom:20px;
}
.reflection-item{
  padding:16px 0;
  border-top:1px solid var(--border-light);
}
.reflection-item:first-of-type{
  border-top:none;
  padding-top:0;
}
.reflection-item h4{
  font-size:17px;
  font-weight:700;
  color:var(--accent);
  margin-bottom:8px;
}
.reflection-item p{
  font-size:16px;
  line-height:2;
  color:var(--text-sub);
  text-align:justify;
}
/* ── Hero cover: flex title row (full case-wrap) + read-wrap below ── */
.hero-title-area{
  display:flex;
  align-items:flex-start;
  gap:40px;
  margin-bottom:44px;
}
.hero-title-col{
  flex:1;
  min-width:0;   /* lets flex shrink properly */
}
.hero-cover-right{
  flex-shrink:0;
  width:200px;
  padding-top:6px;  /* optical nudge — aligns image with title visually */
}
.hero-cover-img{
  width:100%;height:auto;
  max-height:220px;       /* cap so image height matches title block height */
  object-fit:contain;
  object-position:center top;
  border-radius:14px;
  opacity:.88;
  mix-blend-mode:multiply;
  filter:saturate(.92) contrast(.98);
  box-shadow:var(--shadow-m);
}

/* Fit Chinese title on one line within the flex column */
.hero-cover .case-title{
  font-size:clamp(32px,3.4vw,48px);
  white-space:nowrap;
}
/* Meta pills: ensure single row */
.hero-cover .meta-row{
  flex-wrap:nowrap;
}

/* Old helpers — no longer used */
.hero-cover-layout{display:none!important;}
.hero-cover-left{display:none!important;}
.hero-cover-text{all:unset;}

@media(max-width:760px){
  .hero-title-area{flex-direction:column;gap:20px;}
  .hero-cover-right{width:160px;padding-top:0;}
  .hero-cover .case-title{white-space:normal;}
  .hero-cover .meta-row{flex-wrap:wrap;}
}


/* ── Prototype dual-layer ── */
.proto-arrow-note{
  display:flex;flex-direction:column;
  justify-content:center;gap:12px;
}
.proto-desc{
  font-size:15px;line-height:1.85;
  color:var(--text-sub);
}
.proto-see-below{
  font-size:13px;font-weight:700;
  color:var(--accent);letter-spacing:.04em;
}
.proto-dashboard-wrap{
  margin-top:24px;
}
.proto-dashboard-wrap .proto-label{
  margin-bottom:10px;
}
/* ── Layout alignment: hero metric-grid & case-summary ── */
/* case-summary + metric-grid now live in read-wrap below hero-cover-layout,
   inheriting the same 760px centered column as all other sections. */

/* ── Response Flow ── */
.response-flow{margin:32px 0 28px;}

.rf-track{
  position:relative;
  height:54px;
  margin-bottom:18px;
}
.rf-line{
  position:absolute;
  top:50%;left:calc(16.67% - 2px);right:calc(16.67% - 2px);
  height:2px;margin-top:-1px;
  background:linear-gradient(90deg,var(--teal),var(--accent),var(--risk));
  border-radius:1px;
  transform:scaleX(0);
  transform-origin:left center;
}
.rf-nodes{
  position:absolute;inset:0;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:0 calc(16.67% - 22px);
}
.rf-node{
  width:44px;height:44px;border-radius:50%;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:1px;color:#fff;
  font-family:var(--font-mono);
  position:relative;z-index:2;
  box-shadow:0 4px 16px rgba(0,0,0,.14);
}
.rf-icon{width:16px;height:16px;stroke:#fff;flex-shrink:0;}
.rf-node span{font-size:10px;font-weight:700;letter-spacing:.08em;line-height:1;}
.n1{background:var(--teal);}
.n2{background:var(--accent);}
.n3{background:var(--risk);}

.rf-cards{display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px;}

.rf-card{
  border-radius:14px;
  padding:22px 20px 20px;
  box-shadow:0 3px 14px rgba(40,38,35,.055);
  border:1px solid transparent;
  border-top-width:3px;
}
.rf-1{
  background:linear-gradient(150deg,rgba(237,245,241,.9),rgba(237,245,241,.55));
  border-color:rgba(90,142,124,.22);
  border-top-color:var(--teal);
}
.rf-2{
  background:linear-gradient(150deg,rgba(251,243,237,.9),rgba(251,243,237,.55));
  border-color:rgba(194,123,78,.22);
  border-top-color:var(--accent);
}
.rf-3{
  background:linear-gradient(150deg,rgba(154,81,77,.07),rgba(154,81,77,.03));
  border-color:rgba(154,81,77,.22);
  border-top-color:var(--risk);
}

.rf-card-head{margin-bottom:14px;padding-bottom:12px;border-bottom:1px solid rgba(40,38,35,.06);}
.rf-level{
  display:block;
  font-family:var(--font-mono);font-size:10px;font-weight:700;
  letter-spacing:.12em;text-transform:uppercase;margin-bottom:4px;
  opacity:.65;
}
.rf-1 .rf-level{color:var(--teal);}
.rf-2 .rf-level{color:var(--accent);}
.rf-3 .rf-level{color:var(--risk);}

.rf-card-title{
  font-family:var(--font-serif);font-size:24px;font-weight:800;
  line-height:1.1;margin-bottom:2px;
}
.rf-1 .rf-card-title{color:var(--teal);}
.rf-2 .rf-card-title{color:var(--accent);}
.rf-3 .rf-card-title{color:var(--risk);}

.rf-card-sub{font-size:13px;color:var(--text-muted);}

.rf-rows{display:flex;flex-direction:column;gap:9px;}
.rf-row{display:flex;gap:10px;align-items:flex-start;}
.rf-key{
  flex-shrink:0;width:30px;
  font-family:var(--font-mono);font-size:10px;font-weight:700;
  letter-spacing:.06em;text-transform:uppercase;
  line-height:1.65;
  opacity:.55;
}
.rf-1 .rf-key{color:var(--teal);}
.rf-2 .rf-key{color:var(--accent);}
.rf-3 .rf-key{color:var(--risk);}
.rf-val{font-size:14px;color:var(--text-sub);line-height:1.65;}

/* reduced motion fallback */
@media(prefers-reduced-motion:reduce){
  .rf-line{transform:scaleX(1)!important;}
  .rf-node,.rf-card{opacity:1!important;transform:none!important;}
}

/* mobile */
@media(max-width:640px){
  .rf-cards{grid-template-columns:1fr;}
  .rf-nodes{padding:0 2%;}
  .rf-line{left:6%;right:6%;}
  .hero-cover .metric-grid{max-width:none;}
}
.lightbox{
  position:fixed;inset:0;z-index:300;background:rgba(38,37,35,.86);
  display:none;align-items:center;justify-content:center;padding:34px;
}
.lightbox.open{display:flex;}
.lightbox img{max-width:96vw;max-height:88vh;border-radius:12px;box-shadow:0 24px 80px rgba(0,0,0,.34);}
.lightbox-close{
  position:absolute;top:18px;right:22px;width:42px;height:42px;border-radius:50%;
  border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.12);
  color:#fff;font-size:28px;line-height:1;cursor:pointer;
}
@media(max-width:640px){.case-stage{width:auto;max-width:min(100% - 28px,1140px);zoom:1!important;height:auto!important;}.case-main{padding-top:58px;}}
@media(max-width:900px){
  .return-inner{padding:0 24px;gap:10px;}
  .case-nav{gap:2px;}
  .case-nav a{font-size:13px;padding:5px 8px;}
  .return-name{font-size:16px;}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto;}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;}
  .rv{opacity:1!important;transform:none!important;}
}
@media(max-width:640px){
  .return-inner{padding:0 14px;gap:8px;max-width:100vw;}
  .return-link,.return-name{font-size:13px;white-space:nowrap;}
  .case-nav{overflow-x:auto;justify-content:flex-start;scrollbar-width:none;}
  .case-nav::-webkit-scrollbar{display:none;}
  .case-nav a{white-space:nowrap;flex:0 0 auto;}
  .case-stage{width:auto;max-width:calc(100vw - 28px);}
  .case-section{padding:64px 22px;}
  .hero-cover{padding-top:92px;min-height:auto;}
  .story-line{display:none;}
  .case-wrap,.read-wrap{width:100%;max-width:100%;min-width:0;}
  .case-title{font-size:34px;word-break:break-word;}
  .lead-text,.body-text{font-size:17px;line-height:1.95;}
  .transition-note{font-size:19px;line-height:1.7;letter-spacing:.02em;}
  .footer-contact a,.footer-contact span{font-size:16px;}
  .footer-end{font-size:15px;}
  .metric-grid,.pain-grid,.study-row,.swot-grid,.strategy-grid,.prototype-flow{grid-template-columns:1fr;}
  .flow-stepper{grid-template-columns:1fr;}
  .flow-arrow,.flow-link{text-align:center;}
  .image-card,.browser-frame{min-width:0;}
  .image-button img{max-width:100%;height:auto;}
}
