:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#17130e;background:#fffaf0;--ink:#17130e;--muted:#5a4b38;--paper:#fffaf0;--paper2:#fff2d6;--gold:#f6b100;--red:#be1e2d;--green:#0f7d45;--line:#e4cfaa}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink)}.side-nav{position:fixed;z-index:10;left:0;top:0;width:218px;height:100vh;background:#11100e;color:#fff;padding:20px 18px;display:flex;flex-direction:column;gap:7px}.side-nav img{width:64px;height:64px;object-fit:contain;background:#fff;border-radius:8px;padding:8px;margin-bottom:12px}.side-nav a{color:#fff7e3;text-decoration:none;font-size:13px;padding:8px 10px;border-radius:7px;font-weight:700}.side-nav a:hover{background:#2a241a;color:var(--gold)}main{margin-left:218px}.hero{min-height:96vh;display:grid;grid-template-columns:1.08fr .92fr;align-items:center;gap:38px;padding:46px 56px;background:linear-gradient(110deg,#fff7e7 0%,#fff0c9 42%,#fffaf0 100%)}.hero-logo{width:250px;max-width:76%;margin-bottom:28px}.hero h1{font-size:clamp(44px,6vw,82px);line-height:.95;letter-spacing:0;margin:0 0 22px;font-weight:950}.hero p,.section-head p,.lead{font-size:clamp(18px,2vw,24px);line-height:1.42;color:var(--muted)}.hero-photo,.warm-photo{width:100%;border-radius:8px;box-shadow:0 24px 70px #3d29172b;object-fit:cover}.hero-proof{display:grid;grid-template-columns:auto 1fr;gap:8px 14px;margin-top:26px;max-width:700px}.hero-proof b{font-size:26px;color:var(--red)}.hero-proof span{align-self:center;color:#3f3427;font-weight:800}.section{padding:76px 56px;background:var(--paper);color:var(--ink)}.section:nth-of-type(even):not(.dark){background:var(--paper2)}.dark{background:#11100e;color:#fff}.dark .section-head p,.dark .lead,.dark p{color:#eadfc8}.section h2{font-size:clamp(34px,5vw,64px);line-height:1;margin:0 0 18px;font-weight:950}.section-head{max-width:1160px;margin-bottom:28px}.source-grid,.model-grid,.budget-grid,.risk-grid,.schema-map{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.source-grid article,.model-grid article,.budget-grid article,.risk-grid article,.schema-map article,.insight-list span{background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:8px;padding:18px;box-shadow:0 12px 28px #4d361912}.source-grid b,.model-grid b,.budget-grid b,.risk-grid b,.schema-map b{display:block;font-size:20px;margin-bottom:8px}.source-grid small,.model-grid small,.budget-grid small{display:block;color:#7a6548;font-weight:800}.split-section{display:grid;grid-template-columns:1fr .9fr;gap:34px;align-items:center}.warm{background:#fff1d1}.insight-list{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:22px}.logic-chain{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.logic-chain article{background:#fff;color:var(--ink);border-radius:8px;padding:20px;min-height:180px}.logic-chain b{display:block;color:var(--red);font-size:24px;margin-bottom:10px}.logic-chain span{line-height:1.42}.gallery-tabs,.filter-row{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}.gallery-tabs button,.filter-row button{border:1px solid var(--ink);background:#fff;color:var(--ink);font-weight:900;border-radius:8px;padding:11px 14px;cursor:pointer}.gallery-tabs button.active,.filter-row button.active{background:var(--ink);color:var(--gold)}.asset-gallery,.logo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.asset-card,.logo-card{margin:0;background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:8px;padding:12px;display:grid;gap:10px}.asset-card img,.logo-card img{width:100%;height:190px;object-fit:contain;background:#f4ead9;border-radius:6px}.asset-card figcaption,.logo-card figcaption{display:grid;gap:4px}.asset-card b,.logo-card b{font-size:15px}.asset-card span,.logo-card span{font-size:13px;color:#6a5940;line-height:1.35}.logo-section{background:#fff5df}.table-wrap{overflow:auto;background:#fff;border:1px solid var(--line);border-radius:8px}table{width:100%;border-collapse:collapse;min-width:880px;background:#fff;color:var(--ink)}th,td{text-align:left;border-bottom:1px solid #eadabe;padding:13px;vertical-align:top}th{background:#18130d;color:#fff;font-size:13px;letter-spacing:.02em}td{font-size:14px;line-height:1.35}.calculator{margin-top:24px;background:#fff;border:1px solid var(--line);border-radius:8px;padding:20px;color:var(--ink);display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.calculator h3{grid-column:1/-1;margin:0;font-size:28px}.calculator label{display:grid;gap:8px;font-weight:800}.calculator output{color:var(--red);margin-left:6px}.calculator input{accent-color:var(--gold)}.profit{grid-column:1/-1;background:#11100e;color:#fff;border-radius:8px;padding:20px}.profit b{display:block;color:var(--gold);font-size:48px}.competitor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.competitor-grid article{background:#fff;color:var(--ink);border-radius:8px;padding:20px}.competitor-grid b{font-size:24px}.competitor-grid span{display:block;color:#8a681c;font-weight:900;margin:6px 0}.competitor-grid dl{display:grid;grid-template-columns:130px 1fr;gap:6px 10px}.competitor-grid dt{font-weight:900}.competitor-grid dd{margin:0;color:#594b38}.kpi-strip{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.kpi-strip span{background:#11100e;color:#fff;border-radius:999px;padding:10px 14px;font-weight:900}.pipeline{display:grid;grid-template-columns:repeat(7,1fr);gap:10px}.pipeline div{background:#fff;color:var(--ink);border-radius:8px;padding:16px;min-height:108px;font-weight:950}.pipeline small{color:#6b593d}.schema-map{margin-top:18px}.timeline{display:grid;gap:12px}.timeline article{background:#fff;border:1px solid var(--line);border-radius:8px;display:grid;grid-template-columns:130px 1fr;overflow:hidden}.timeline b{background:#11100e;color:var(--gold);padding:18px}.timeline span{padding:18px;font-weight:800;color:var(--ink)}.dark .risk-grid article,.dark .schema-map article{background:#fff;color:var(--ink)}@media(max-width:1100px){.source-grid,.model-grid,.budget-grid,.risk-grid,.schema-map,.asset-gallery,.logo-grid{grid-template-columns:repeat(2,1fr)}.logic-chain,.pipeline{grid-template-columns:repeat(2,1fr)}.competitor-grid{grid-template-columns:1fr}}@media(max-width:900px){.side-nav{position:relative;width:auto;height:auto;flex-direction:row;overflow:auto}.side-nav a{white-space:nowrap}main{margin-left:0}.hero,.split-section{grid-template-columns:1fr}.section,.hero{padding:38px 22px}.hero h1{font-size:44px}.competitor-grid dl{grid-template-columns:1fr}.insight-list{grid-template-columns:1fr}}@media(max-width:620px){.source-grid,.model-grid,.budget-grid,.risk-grid,.schema-map,.asset-gallery,.logo-grid,.logic-chain,.pipeline,.calculator{grid-template-columns:1fr}.hero-proof{grid-template-columns:1fr}.timeline article{grid-template-columns:1fr}.section h2{font-size:34px}}

/* Expressive redesign pass: contrast, motion, responsive mobile experience */
:root{
  --ink:#100d09;
  --charcoal:#14100c;
  --night:#080705;
  --paper:#fff8e9;
  --cream:#fff0ce;
  --gold:#ffbd18;
  --gold2:#f08b00;
  --red:#c91f32;
  --green:#0c8c4c;
  --blue:#1f6feb;
  --line:#dec28d;
}
body{
  background:
    linear-gradient(90deg, rgba(255,189,24,.10) 1px, transparent 1px),
    linear-gradient(180deg, rgba(201,31,50,.08) 1px, transparent 1px),
    var(--paper);
  background-size: 34px 34px;
}
.progress-bar{
  position:fixed;
  z-index:1000;
  top:0;
  left:0;
  height:5px;
  width:0;
  background:linear-gradient(90deg,var(--gold),var(--red),var(--green));
  box-shadow:0 0 20px rgba(255,189,24,.65);
}
.side-nav{
  background:
    linear-gradient(180deg,#080705 0%,#17100b 70%,#261704 100%) !important;
  border-right:1px solid rgba(255,189,24,.22);
}
.side-nav a{
  color:#fff5d8 !important;
  border:1px solid transparent;
}
.side-nav a:hover{
  border-color:rgba(255,189,24,.45);
  transform:translateX(4px);
}
.cinematic{
  position:relative;
  overflow:hidden;
  background:
    linear-gradient(135deg,rgba(255,189,24,.95) 0%,rgba(255,240,206,.98) 28%,rgba(255,248,233,.92) 57%,rgba(12,140,76,.14) 100%) !important;
}
.cinematic:before{
  content:"";
  position:absolute;
  inset:0;
  background:
    repeating-linear-gradient(135deg, rgba(16,13,9,.08) 0 2px, transparent 2px 18px),
    radial-gradient(circle at 85% 15%, rgba(201,31,50,.24), transparent 28%);
  pointer-events:none;
}
.hero-copy,.hero-stage{position:relative;z-index:1}
.hero h1{
  max-width:950px;
  color:#0d0a07;
  text-shadow:0 3px 0 rgba(255,255,255,.45);
}
.hero h1 .h-line{display:block}
.hero p{color:#24190f;font-weight:650}
.brand-strip{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:18px 0 4px;
}
.brand-chip{
  min-height:46px;
  display:inline-flex;
  align-items:center;
  gap:10px;
  border:1px solid rgba(16,13,9,.18);
  background:rgba(255,255,255,.78);
  color:#100d09;
  border-radius:8px;
  padding:9px 12px;
  font-weight:950;
  box-shadow:0 10px 24px rgba(0,0,0,.12);
  backdrop-filter:blur(10px);
}
.brand-chip img,
.service-logo,
.competitor-logo,
.multi-logo img,
.pipeline img{
  width:34px;
  height:34px;
  object-fit:contain;
  flex:0 0 auto;
}
.service-logo,
.competitor-logo{
  display:block;
  margin-bottom:12px;
}
.multi-logo{
  display:flex;
  gap:8px;
  align-items:center;
  margin-bottom:12px;
}
.multi-logo img{
  background:#fff6e4;
  border:1px solid rgba(16,13,9,.12);
  border-radius:8px;
  padding:7px;
}
.pipeline img{
  display:block;
  margin-bottom:8px;
}
.hero-stage{
  display:grid;
  gap:14px;
  transform:rotate(-1.5deg);
}
.hero-photo{
  border:6px solid #fff8e9;
  animation:floatFrame 5.5s ease-in-out infinite;
}
.stage-note{
  justify-self:end;
  background:#100d09;
  color:#ffbd18;
  border:1px solid rgba(255,189,24,.45);
  border-radius:8px;
  padding:12px 14px;
  font-weight:950;
  box-shadow:0 18px 40px rgba(0,0,0,.24);
}
.hero-proof{
  background:rgba(255,255,255,.72);
  border:1px solid rgba(16,13,9,.16);
  border-radius:8px;
  padding:16px;
  backdrop-filter:blur(10px);
}
.hero-proof b{
  color:var(--red) !important;
}
.section{
  position:relative;
  opacity:.001;
  transform:translateY(26px);
  transition:opacity .65s ease, transform .65s ease;
}
.section.is-visible{
  opacity:1;
  transform:translateY(0);
}
.section h2{
  color:var(--ink);
}
.dark h2{color:#fff}
.section-head p,.lead{color:#3f3020 !important}
.dark .section-head p,.dark .lead,.dark p{color:#ffedc7 !important}
.source-grid article,
.model-grid article,
.budget-grid article,
.risk-grid article,
.schema-map article,
.competitor-grid article,
.asset-card,
.logo-card,
.calculator,
.table-wrap{
  box-shadow:0 18px 45px rgba(61,41,23,.13);
}
.source-grid article,
.model-grid article,
.budget-grid article,
.risk-grid article,
.schema-map article{
  border-top:5px solid var(--gold);
}
.source-grid article:nth-child(3n+2),
.model-grid article:nth-child(3n+2),
.budget-grid article:nth-child(3n+2),
.schema-map article:nth-child(3n+2){border-top-color:var(--green)}
.source-grid article:nth-child(3n),
.model-grid article:nth-child(3n),
.budget-grid article:nth-child(3n),
.schema-map article:nth-child(3n){border-top-color:var(--red)}
.logic-chain article{
  box-shadow:inset 0 0 0 1px rgba(255,189,24,.22),0 22px 48px rgba(0,0,0,.25);
}
.logic-chain article:hover,
.source-grid article:hover,
.model-grid article:hover,
.asset-card:hover,
.logo-card:hover,
.competitor-grid article:hover{
  transform:translateY(-5px);
  transition:transform .18s ease, box-shadow .18s ease;
  box-shadow:0 26px 60px rgba(61,41,23,.22);
}
.gallery-tabs button,.filter-row button{
  transition:transform .15s ease, background .15s ease;
}
.gallery-tabs button:hover,.filter-row button:hover{
  transform:translateY(-2px);
}
.asset-gallery{
  align-items:stretch;
}
.asset-card,.logo-card{
  overflow:hidden;
}
.asset-card img,.logo-card img{
  background:
    linear-gradient(135deg,#fff8ed,#ead7ad);
  transition:transform .24s ease;
}
.asset-card:hover img,.logo-card:hover img{
  transform:scale(1.045);
}
.logo-card img{
  background:#fff;
  box-shadow:inset 0 0 0 1px rgba(16,13,9,.08);
}
.table-wrap{
  border:2px solid #11100e;
}
th{
  background:linear-gradient(90deg,#11100e,#33210b) !important;
  color:#ffedc7 !important;
}
td{
  color:#23180e;
}
tbody tr:nth-child(even) td{background:#fff6e3}
.calculator{
  background:linear-gradient(135deg,#fff,#fff1cd);
}
.profit{
  background:linear-gradient(135deg,#0b0906,#2b1705) !important;
}
.competitor-grid article{
  border-left:6px solid var(--gold);
}
.competitor-grid article[data-type="Lab"]{border-left-color:var(--red)}
.competitor-grid article[data-type="Both"]{border-left-color:var(--green)}
.pipeline{
  counter-reset:pipe;
}
.pipeline div{
  position:relative;
  overflow:hidden;
}
.pipeline div:before{
  counter-increment:pipe;
  content:"0" counter(pipe);
  display:block;
  color:var(--red);
  font-size:22px;
  margin-bottom:8px;
}
.pipeline div:after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  height:4px;
  width:100%;
  background:linear-gradient(90deg,var(--gold),var(--red),var(--green));
  animation:scanLine 2.4s ease-in-out infinite;
}
.timeline article{
  box-shadow:0 12px 34px rgba(61,41,23,.13);
}
.mobile-dock{
  display:none;
}
@keyframes floatFrame{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-12px)}
}
@keyframes scanLine{
  0%{transform:translateX(-100%)}
  55%,100%{transform:translateX(100%)}
}
@media (prefers-reduced-motion: reduce){
  *,*:before,*:after{animation:none!important;transition:none!important}
  .section{opacity:1;transform:none}
}
@media(max-width:900px){
  body{padding-bottom:78px}
  .side-nav{display:none!important}
  .mobile-dock{
    position:fixed;
    z-index:999;
    left:10px;
    right:10px;
    bottom:10px;
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:6px;
    background:rgba(8,7,5,.92);
    border:1px solid rgba(255,189,24,.35);
    border-radius:10px;
    padding:8px;
    backdrop-filter:blur(12px);
    box-shadow:0 18px 40px rgba(0,0,0,.32);
  }
  .mobile-dock a{
    color:#ffedc7;
    text-decoration:none;
    text-align:center;
    font-size:12px;
    font-weight:950;
    padding:9px 4px;
    border-radius:7px;
  }
  .mobile-dock a:focus,.mobile-dock a:hover{
    background:#ffbd18;
    color:#100d09;
  }
  main{margin-left:0!important}
  .hero{
    min-height:auto;
    padding:28px 18px 42px!important;
    gap:24px;
  }
  .hero h1{
    font-size:clamp(38px,12vw,58px);
  }
  .hero p,.section-head p,.lead{
    font-size:18px;
  }
  .hero-proof{
    grid-template-columns:1fr;
  }
  .hero-stage{
    transform:none;
  }
  .section{
    padding:44px 18px!important;
  }
  .section h2{
    font-size:clamp(32px,10vw,48px);
  }
  .asset-card img,.logo-card img{
    height:230px;
  }
  .logic-chain article{
    min-height:0;
  }
}
@media(max-width:520px){
  .asset-card img,.logo-card img{height:200px}
  .mobile-dock{left:6px;right:6px;bottom:6px}
  .mobile-dock a{font-size:11px;padding:8px 2px}
  th,td{font-size:13px}
}

/* Mobile overflow repair */
html,body{
  max-width:100%;
  overflow-x:hidden;
}
.hero-copy,.hero-stage,.section-head,.section > *{
  min-width:0;
}
@media(max-width:900px){
  .hero,.section,main{
    width:100vw;
    max-width:100vw;
    overflow-x:hidden;
  }
  .hero-copy{
    width:min(560px, 55vw);
    max-width:min(560px, 55vw);
  }
  .hero h1{
    width:min(560px, 55vw);
    max-width:min(560px, 55vw);
    font-size:38px;
    line-height:1;
    overflow-wrap:break-word;
    word-break:normal;
  }
  .hero h1 .h-line{
    max-width:100%;
  }
  .brand-strip{
    display:grid;
    grid-template-columns:1fr;
    gap:8px;
    width:min(560px, 55vw);
    max-width:min(560px, 55vw);
  }
  .brand-chip{
    width:100%;
    min-width:0;
    justify-content:flex-start;
    font-size:13px;
  }
  .brand-chip img{width:28px;height:28px}
  .mobile-dock{
    grid-template-columns:repeat(5,minmax(0,1fr));
    width:min(300px, 58vw);
    max-width:min(300px, 58vw);
    right:auto;
  }
  .hero p{
    width:min(560px, 55vw);
    max-width:min(560px, 55vw);
    overflow-wrap:break-word;
  }
  .hero-proof{
    width:min(560px, 55vw);
    max-width:min(560px, 55vw);
  }
}
@media(max-width:430px){
  .hero-copy,
  .hero h1,
  .hero p,
  .hero-proof,
  .brand-strip{
    width:min(310px, calc(100vw - 36px));
    max-width:min(310px, calc(100vw - 36px));
  }
  .hero h1{
    font-size:34px;
    line-height:1.04;
  }
  .brand-strip{
    grid-template-columns:1fr;
  }
  .hero-logo{
    width:240px;
    max-width:88%;
  }
  .hero-proof{
    padding:14px;
  }
  .hero-proof b{
    font-size:28px;
  }
  .hero-proof span{
    font-size:14px;
    line-height:1.32;
  }
}
@media(max-width:360px){
  .hero h1{font-size:30px}
  .brand-strip{grid-template-columns:1fr}
}

/* Final mobile navigation stability pass */
@media(max-width:900px){
  .mobile-dock{
    left:50% !important;
    right:auto !important;
    bottom:8px !important;
    width:min(340px, calc(100% - 16px)) !important;
    max-width:calc(100% - 16px) !important;
    transform:translateX(-50%) !important;
    grid-template-columns:repeat(5,minmax(0,1fr)) !important;
    gap:4px !important;
    padding:7px !important;
  }
  .mobile-dock a{
    display:flex !important;
    align-items:center;
    justify-content:center;
    min-width:0;
    height:34px;
    padding:0 2px !important;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:clip;
    font-size:11px !important;
    line-height:1 !important;
    letter-spacing:0;
  }
}
@media(max-width:340px){
  .mobile-dock a{
    font-size:10px !important;
  }
}
