/* G1-08 Batch B: page-owned CSS extracted from canonical projects/aerech/index.html. Production Shared Header/Footer remain separately owned. */
:root{--bg:#f6f6f4;
  --paper:#fff;
  --ink:#0b0b0d;
  --muted:#646872;
  --line:#dcdde1;
  --violet:#5a46f6;
  --dark:#0b0c0f;
  --max:1380px;}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%}
a{color:inherit}
p,h1,h2,h3,figure{margin:0}
.wrap{width:min(var(--max),calc(100% - 64px));margin:auto}
.eyebrow,.section-label,.evidence-label{font-size:10px;line-height:1.2;letter-spacing:.15em;text-transform:uppercase;font-weight:800}
.eyebrow{color:var(--violet)}
.section-label{color:#8a8d95}
.evidence-label{color:#7f828a}
.hero{padding:82px 0 94px;background:#f8f8f6}
.hero-stage{display:block}
.hero-copy{max-width:980px}
.hero-meta{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:28px}
.hero-meta span{display:inline-flex;align-items:center;min-height:28px;padding:0 9px;border:1px solid #d9dbe0;border-radius:4px;background:rgba(255,255,255,.56);color:#6f737b;font-size:9.5px;line-height:1;letter-spacing:.12em;text-transform:uppercase;font-weight:800}
.hero-meta span:first-child{border-color:#cbc4ff;color:var(--violet);background:#f7f5ff}
.hero h1{max-width:980px;margin:0;font-size:clamp(56px,5.45vw,82px);line-height:.99;letter-spacing:-.058em;font-weight:760}
.hero-lead{max-width:790px;margin-top:24px;color:var(--muted);font-size:18px;line-height:1.68}
.business-trigger{display:grid;grid-template-columns:145px minmax(0,620px);gap:26px;max-width:820px;margin-top:30px;padding-top:17px;border-top:1px solid var(--line)}
.business-trigger span{font-size:9.5px;letter-spacing:.14em;text-transform:uppercase;color:#8c8f96;font-weight:800;padding-top:4px}
.business-trigger strong{font-size:16px;line-height:1.5;font-weight:650;color:#26292e}
.hero-visual{width:min(1120px,100%);margin:50px 0 0}
.hero-visual .evidence-label{margin-bottom:10px}
.hero-frame{background:#fff;border:1px solid #d9dbe0;padding:10px;box-shadow:0 20px 56px rgba(12,18,30,.06)}
.hero-frame img{width:100%;height:auto}
.diagnosis{background:var(--dark);color:#fff;padding:98px 0 104px}
.diagnosis-inner{width:min(1160px,calc(100% - 64px));margin:auto}
.diagnosis .eyebrow{color:#aaa1ff}
.diagnosis h2{max-width:950px;margin-top:16px;font-size:clamp(42px,4.7vw,68px);line-height:1.02;letter-spacing:-.055em;font-weight:730}
.diagnosis-copy{max-width:720px;margin-top:24px;color:#b6b8c0;font-size:16px;line-height:1.7}
.logic{margin-top:48px;border-top:1px solid rgba(255,255,255,.18)}
.logic-row{display:grid;grid-template-columns:135px 1fr;gap:28px;padding:23px 0;border-bottom:1px solid rgba(255,255,255,.18)}
.logic-row span{font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:#858993;font-weight:800;padding-top:6px}
.logic-row strong{font-size:clamp(20px,2vw,29px);line-height:1.42;font-weight:580;letter-spacing:-.025em}
.logic-row.after strong{color:#dedaff}
.decision{padding:92px 0 98px;border-top:1px solid var(--line)}
.decision.white{background:#fff}
.decision-grid{display:grid;grid-template-columns:minmax(320px,.72fr) minmax(0,1.08fr);gap:72px;align-items:start}
.decision-copy{position:sticky;top:112px;align-self:start}
.decision-copy .section-label{margin-bottom:14px}
.decision-copy h2{max-width:560px;font-size:clamp(38px,3.6vw,54px);line-height:1.06;letter-spacing:-.048em;font-weight:745}
.decision-copy>p{max-width:560px;margin-top:18px;color:var(--muted);font-size:15px;line-height:1.68}
.buyer-question{margin-top:24px;padding-top:16px;border-top:1px solid var(--line)}
.buyer-question span{display:block;margin-bottom:7px;color:var(--violet);font-size:10px;letter-spacing:.14em;text-transform:uppercase;font-weight:800}
.buyer-question strong{display:block;max-width:520px;font-size:17px;line-height:1.5;font-weight:650;color:#24262b}
.key-conclusion{margin-top:34px!important;padding-top:24px!important;border-top:1px solid var(--line);color:#1f2228!important;font-size:17px!important;line-height:1.5!important;font-weight:680!important}
.chapter-num{display:block;font-size:78px;line-height:.88;font-weight:820;letter-spacing:-.06em;color:#dedfdc;margin-bottom:12px}
.decision.white .chapter-num{color:#e8eaee}
@media (max-width:720px){.chapter-num{font-size:44px}}
.evidence{min-width:0}
.evidence-block{background:#fff;border:1px solid #dcdfe4;padding:12px}
.evidence-block img{width:100%;height:auto}
.evidence-meta{display:flex;justify-content:space-between;gap:20px;margin-bottom:9px;color:#7f828a;font-size:10px;line-height:1.4}
.evidence-meta b{color:#303239;font-weight:760}
.evidence-caption{margin-top:10px;color:#7a7e86;font-size:11.5px;line-height:1.55}
.arch-compare{display:grid;gap:18px}
.arch-compare .old{width:74%;margin-left:0}
.arch-compare .new{width:100%}
.arch-compare .old .evidence-block{background:#fbfbfb}
.eval-pair{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(280px,.72fr);gap:20px;align-items:start}
.eval-main .evidence-block{padding:10px}
.eval-side{margin-top:28px}
.eval-side .evidence-block{padding:10px}
.eval-note{grid-column:1/-1;margin-top:-2px;color:#858992;font-size:11px;line-height:1.55}
.solution-proof{width:min(720px,100%);margin-left:auto}
.solution-proof .evidence-block{padding:10px}
.inquiry-compare{display:grid;grid-template-columns:minmax(180px,.34fr) minmax(0,.66fr);gap:20px;align-items:end}
.inquiry-before{margin-bottom:14px}
.closing{padding:92px 0 96px;background:#fff;border-top:1px solid var(--line)}
.closing h2{max-width:900px;margin-top:14px;font-size:clamp(38px,4vw,58px);line-height:1.06;letter-spacing:-.05em;font-weight:745}
.closing-flow{display:grid;grid-template-columns:1fr 22px 1fr 22px 1.15fr;gap:14px;align-items:start;margin-top:34px;padding:22px 0 24px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.closing-step span{display:block;margin-bottom:7px;color:#90939a;font-size:9px;letter-spacing:.13em;text-transform:uppercase;font-weight:800}
.closing-step strong{font-size:clamp(18px,1.7vw,24px);line-height:1.35;font-weight:620;letter-spacing:-.02em}
.closing-step.highlight strong{color:var(--violet)}
.closing-arrow{text-align:center;color:#a4a7ae;font-size:21px;padding-top:24px}
.boundary{max-width:860px;margin-top:18px;color:#858992;font-size:11.5px;line-height:1.62}
.boundary strong{color:#494d54}
.case-cta{padding:96px 0 104px;background:#f7f7f5}
.cta-box{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:56px;align-items:end;padding-top:42px;border-top:1px solid var(--line)}
.cta-box h2{max-width:900px;margin-top:12px;font-size:clamp(40px,4.2vw,62px);line-height:1.04;letter-spacing:-.052em;font-weight:745}
.cta-box p{max-width:720px;margin-top:16px;color:var(--muted);font-size:15px;line-height:1.68}
.cta-actions{display:grid;gap:10px}
.button{min-height:54px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:0 17px;border-radius:6px;text-decoration:none;font-size:13px;font-weight:760}
.button.primary{background:linear-gradient(135deg,#533bff,#654fff);color:#fff}
.button.secondary{background:#fff;border:1px solid #d7dae0;color:#25282d}
@media (max-width:1040px){.decision-grid{grid-template-columns:1fr;gap:38px}
.decision-copy{position:relative;top:auto;max-width:720px}
.eval-pair{grid-template-columns:1fr 1fr}
.solution-proof{margin-left:0}
.cta-box{grid-template-columns:1fr}
.cta-actions{max-width:330px}}
@media (max-width:720px){.wrap,.diagnosis-inner{width:calc(100% - 34px)}
.hero{padding:56px 0 68px}
.hero-meta{margin-bottom:22px}
.business-trigger{grid-template-columns:1fr;gap:6px}
.hero h1{font-size:46px}
.hero-lead{font-size:16px}
.hero-visual{margin-top:36px}
.hero-frame{padding:7px}
.diagnosis{padding:72px 0 76px}
.diagnosis h2{font-size:40px}
.logic-row{grid-template-columns:1fr;gap:8px}
.logic-row span{padding-top:0}
.decision{padding:72px 0 76px}
.decision-grid{gap:30px}
.decision-copy h2{font-size:36px}
.decision-copy>p{font-size:14.5px}
.arch-compare .old{width:100%}
.eval-pair{grid-template-columns:1fr}
.eval-side{margin-top:0}
.inquiry-compare{grid-template-columns:1fr}
.inquiry-before{width:70%;margin-bottom:0}
.closing{padding:72px 0}
.closing-flow{grid-template-columns:1fr;gap:10px}
.closing-arrow{text-align:left;padding:0;transform:rotate(90deg);transform-origin:left center;margin-left:6px}
.case-cta{padding:72px 0 78px}
.cta-box h2{font-size:38px}}
/* Contextual project-team conversation entry */
body.inquiry-open{overflow:hidden}
.project-team-float{position:fixed;
  right:28px;
  bottom:26px;
  z-index:70;
  display:flex;
  align-items:center;
  gap:12px;
  min-height:64px;
  max-width:min(360px,calc(100vw - 40px));
  padding:7px 18px 7px 8px;
  border:1px solid rgba(133,151,255,.30);
  border-radius:999px;
  background:rgba(12,26,46,.96);
  color:#fff;
  box-shadow:0 18px 46px rgba(4,12,24,.26),0 0 0 1px rgba(117,104,255,.04);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  font:inherit;
  text-align:left;
  cursor:pointer;
  animation:projectTeamFloatIntro .72s cubic-bezier(.2,.72,.2,1) 1s 1 both;
  transition:opacity .24s ease,transform .28s cubic-bezier(.2,.7,.2,1),box-shadow .2s ease,background .2s ease,border-color .2s ease;}
.project-team-float:hover{background:#112542;
  border-color:rgba(143,129,255,.50);
  box-shadow:0 22px 54px rgba(4,12,24,.32),0 0 0 4px rgba(117,104,255,.06);
  transform:translateY(-2px);}
.project-team-float.is-hidden{opacity:0;
  pointer-events:none;
  transform:translateY(14px) scale(.94);}
.project-team-float-mark{position:relative;
  width:50px;
  height:50px;
  flex:0 0 50px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:linear-gradient(145deg,#655cff 0%,#476fff 100%);
  box-shadow:0 8px 20px rgba(73,88,255,.28),inset 0 0 0 1px rgba(255,255,255,.18);}
.project-team-float-mark::before{content:"";
  position:absolute;
  inset:-4px;
  border:1px solid rgba(132,119,255,.42);
  border-radius:50%;
  pointer-events:none;}
.project-team-float-mark::after{content:"";
  position:absolute;
  right:-4px;
  bottom:3px;
  width:14px;
  height:11px;
  border-radius:7px 7px 7px 3px;
  background:#fff;
  box-shadow:0 3px 8px rgba(4,12,24,.22);
  pointer-events:none;}
.project-team-float-mark strong{position:relative;
  z-index:1;
  color:#fff;
  font-size:22px;
  line-height:1;
  font-weight:830;
  letter-spacing:-.08em;
  transform:translateX(-1px);}
.project-team-float-copy{display:flex;
  flex-direction:column;
  gap:4px;
  min-width:0;}
.project-team-float-copy strong{font-size:14px;
  line-height:1.14;
  font-weight:780;
  letter-spacing:-.01em;
  white-space:nowrap;}
.project-team-float-copy > span{max-width:245px;
  overflow:hidden;
  text-overflow:ellipsis;
  color:#aebbd0;
  font-size:10.5px;
  line-height:1.2;
  white-space:nowrap;
  transition:opacity .16s ease,transform .16s ease;}
.project-team-float.is-updating .project-team-float-copy > span{opacity:.3;
  transform:translateY(2px);}
@keyframes projectTeamFloatIntro{
  0%{opacity:0;transform:translateY(12px) scale(.94)}
  60%{opacity:1;transform:translateY(-2px) scale(1.025)}
  100%{opacity:1;transform:translateY(0) scale(1)}
}
/* Right-side conversation drawer */
.inquiry-dialog{position:fixed;
  inset:0 0 0 auto;
  width:min(560px,94vw);
  height:100dvh;
  max-height:none;
  margin:0;
  padding:0;
  border:0;
  border-radius:18px 0 0 18px;
  background:#fff;
  color:#14171d;
  box-shadow:-24px 0 70px rgba(7,13,22,.16);
  overflow:auto;
  overscroll-behavior:contain;}
.inquiry-dialog[open]{animation:projectTeamDrawerIn .34s cubic-bezier(.2,.7,.2,1) both}
.inquiry-dialog::backdrop{background:rgba(7,13,22,.58);backdrop-filter:blur(2px)}
@keyframes projectTeamDrawerIn{
  from{opacity:0;transform:translateX(34px)}
  to{opacity:1;transform:translateX(0)}
}
.inquiry-shell{position:relative;
  min-height:100%;
  padding:34px 30px 40px;}
.inquiry-close{position:absolute;
  top:20px;
  right:20px;
  width:38px;
  height:38px;
  border:1px solid #dfe2e7;
  border-radius:999px;
  background:#fff;
  color:#3b4049;
  font:inherit;
  font-size:23px;
  line-height:1;
  cursor:pointer;}
.inquiry-head{padding-right:44px}
.inquiry-kicker{margin:0 0 12px;
  color:var(--violet);
  font-size:10px;
  line-height:1;
  font-weight:800;
  letter-spacing:.13em;
  text-transform:uppercase;}
.inquiry-head h2{margin:0;
  max-width:440px;
  font-size:34px;
  line-height:1.04;
  letter-spacing:-.045em;
  font-weight:750;}
.inquiry-head > p:last-child{margin:15px 0 0;
  max-width:450px;
  color:#6c727d;
  font-size:14px;
  line-height:1.62;}
.conversation-context{display:inline-flex;
  align-items:center;
  gap:7px;
  margin:24px 0 2px;
  padding:9px 11px;
  border:1px solid #dedbefff;
  border-radius:999px;
  background:#f8f7ff;
  color:#4f44bd;
  font-size:11px;
  line-height:1.2;
  font-weight:650;}
.conversation-context::before{content:"";
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--violet);}
.inquiry-form{margin-top:22px}
.inquiry-form input,.inquiry-form textarea{width:100%;
  border:1px solid #d9dde4;
  border-radius:7px;
  background:#fff;
  color:#181b21;
  font:inherit;
  outline:none;
  transition:border-color .16s ease,box-shadow .16s ease;}
.inquiry-form input{height:48px;padding:0 13px}
.inquiry-form textarea{min-height:170px;padding:13px;resize:vertical;line-height:1.55}
.inquiry-form input:focus,.inquiry-form textarea:focus{border-color:#8b7cff;
  box-shadow:0 0 0 3px rgba(90,70,246,.09);}
.form-grid{display:grid;
  grid-template-columns:1fr 1fr;
  gap:17px 14px;}
.form-field{display:block}
.form-field-wide{grid-column:1/-1}
.form-field > span{display:block;
  margin-bottom:7px;
  color:#343942;
  font-size:11.5px;
  line-height:1.25;
  font-weight:680;}
.form-field > span em{font-style:normal;color:#8a8f98;font-weight:500}
.conversation-help{margin-top:12px;
  color:#8a9099;
  font-size:11.5px;
  line-height:1.45;}
.inquiry-submit{width:100%;
  min-height:52px;
  margin-top:20px;
  padding:0 16px;
  border:0;
  border-radius:7px;
  background:#101a2c;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:space-between;
  font:inherit;
  font-size:13px;
  font-weight:760;
  cursor:pointer;}
.inquiry-submit:disabled{opacity:.6;cursor:wait}
.inquiry-status{margin-top:14px;
  padding:11px 12px;
  border-radius:7px;
  font-size:12px;
  line-height:1.5;}
.inquiry-status.is-success{background:#f0f8f3;color:#24563a}
.inquiry-status.is-error{background:#fff2f2;color:#8a3030}
.inquiry-hp{position:absolute!important;
  width:1px!important;
  height:1px!important;
  opacity:0!important;
  pointer-events:none!important;}
@media (max-width:980px){.project-team-float{right:18px;bottom:18px}}
@media (max-width:680px){.project-team-float{right:14px;
    bottom:14px;
    min-height:58px;
    padding:5px;
    border-radius:50%;}
.project-team-float-mark{width:48px;height:48px;flex-basis:48px}
.project-team-float-copy{display:none}
.inquiry-dialog{width:100vw;height:100dvh;border-radius:0}
.inquiry-shell{padding:26px 18px 34px}
.form-grid{grid-template-columns:1fr}}
@media (prefers-reduced-motion:reduce){.project-team-float{animation:none;transition:none}
.inquiry-dialog[open]{animation:none}}
/* =========================================================
   AERECH V1 — final case-system brand calibration
   Scope only: frozen Case Study header, single final CTA,
   label specificity lock, and no-upscale evidence images.
   Hero / Diagnosis / Decision 01–04 / evidence composition /
   closing proof / contextual conversation remain unchanged.
   ========================================================= */
/* Frozen Case Study Header */
/* Freeze editorial labels against generic paragraph selectors. */
.decision-copy .section-label,.closing .section-label{margin:0 0 14px;
  color:#8a8d95;
  font-size:10px;
  line-height:1.2;
  letter-spacing:.15em;
  text-transform:uppercase;
  font-weight:800;}
.case-cta .eyebrow{margin:0;
  color:var(--violet);
  font-size:10px;
  line-height:1.2;
  letter-spacing:.15em;
  text-transform:uppercase;
  font-weight:800;}
/* Evidence images may scale down to fit, but never upscale. */
.hero-frame img,.evidence-block img{width:auto;
  max-width:100%;
  height:auto;
  margin-inline:auto;
  object-fit:contain;}
/* Final CTA keeps one primary sales action. */
.cta-actions{max-width:330px}


/* RC2 P0 — Direct Conversation message-first UX. */
.direct-conversation-shell{
  display:flex;
  flex-direction:column;
}
.direct-conversation-head{
  margin-bottom:22px;
}
.direct-conversation-shell .screen-reader-text{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}
.inquiry-form-direct{
  display:flex;
  flex:1;
  min-height:0;
  flex-direction:column;
  margin-top:0;
}
.direct-conversation-prompts{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0 0 20px;
}
.direct-conversation-prompt{
  appearance:none;
  border:1px solid #d9dde4;
  border-radius:999px;
  background:#fff;
  color:#343942;
  padding:9px 12px;
  font:inherit;
  font-size:12px;
  line-height:1.25;
  cursor:pointer;
}
.direct-conversation-prompt:hover,
.direct-conversation-prompt.is-active{
  border-color:#8b7cff;
  background:#f7f5ff;
  color:#3f3598;
}
.direct-conversation-thread{
  display:flex;
  flex:1;
  min-height:100px;
  max-height:38vh;
  overflow:auto;
  flex-direction:column;
  gap:10px;
  margin:0 0 14px;
  padding:4px 2px 2px;
}
.direct-conversation-thread[hidden]{display:none}
.direct-conversation-bubble{
  max-width:88%;
  padding:11px 13px;
  border-radius:14px;
  font-size:13px;
  line-height:1.55;
  white-space:pre-line;
}
.direct-conversation-bubble.is-visitor{
  align-self:flex-end;
  background:#101a2c;
  color:#fff;
  border-bottom-right-radius:5px;
}
.direct-conversation-bubble.is-team{
  align-self:flex-start;
  background:#f3f5f7;
  color:#343942;
  border-bottom-left-radius:5px;
}
.direct-conversation-composer{
  display:grid;
  grid-template-columns:minmax(0,1fr) 46px;
  gap:8px;
  align-items:end;
  margin-top:auto;
  padding:7px;
  border:1px solid #d9dde4;
  border-radius:14px;
  background:#fff;
}
.inquiry-form-direct .direct-conversation-composer textarea{
  width:100%;
  min-height:44px;
  max-height:150px;
  padding:11px 10px;
  border:0;
  border-radius:8px;
  resize:vertical;
  outline:none;
  box-shadow:none;
  font:inherit;
  line-height:1.45;
}
.inquiry-form-direct .direct-conversation-composer textarea:focus{
  border:0;
  box-shadow:none;
}
.inquiry-form-direct .direct-conversation-send{
  width:46px;
  min-width:46px;
  max-width:46px;
  min-height:46px;
  height:46px;
  margin:0;
  padding:0;
  gap:0;
  border-radius:11px;
  justify-content:center;
  font-size:20px;
}
.direct-conversation-status{
  margin-top:10px;
}
.direct-conversation-after{
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid #e4e7eb;
}
.direct-conversation-after[hidden],
.direct-conversation-contact[hidden],
.direct-conversation-contact-status[hidden],
.direct-conversation-reference[hidden]{display:none}
.direct-conversation-reference{
  margin:0 0 9px;
  color:#7a818b;
  font-size:11px;
  line-height:1.4;
}
.direct-conversation-contact-toggle{
  appearance:none;
  padding:0;
  border:0;
  background:transparent;
  color:#4f44bd;
  font:inherit;
  font-size:12.5px;
  font-weight:700;
  cursor:pointer;
}
.direct-conversation-contact{
  margin-top:14px;
  padding:14px;
  border:1px solid #e1e4e8;
  border-radius:12px;
  background:#fafbfc;
}
.direct-conversation-contact-fields{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.direct-conversation-contact-save{
  appearance:none;
  margin-top:12px;
  padding:10px 13px;
  border:0;
  border-radius:8px;
  background:#101a2c;
  color:#fff;
  font:inherit;
  font-size:12px;
  font-weight:700;
  cursor:pointer;
}
.direct-conversation-contact-save:disabled,
.direct-conversation-send:disabled{
  opacity:.58;
  cursor:wait;
}
.direct-conversation-contact-status{
  margin-top:9px;
  font-size:12px;
  line-height:1.45;
}
.direct-conversation-contact-status.is-success{color:#24563a}
.direct-conversation-contact-status.is-error{color:#8a3030}
@media (max-width:680px){
  .direct-conversation-head{margin-bottom:18px}
  .direct-conversation-prompts{gap:7px;margin-bottom:16px}
  .direct-conversation-prompt{padding:8px 10px;font-size:11.5px}
  .direct-conversation-thread{max-height:34vh}
  .direct-conversation-contact-fields{grid-template-columns:1fr}
}
