/* =========================================================
   SUSTAINABLE OASIS · ALTERNATE HOME DESIGN
   Inspired by the panoramic mockup
   ========================================================= */

:root{
  --navy:#061b2c;
  --navy2:#09283f;
  --navy3:#0b344f;
  --green:#28c76f;
  --green2:#169b50;
  --lime:#7bdc4d;
  --orange:#ff6d00;
  --gold:#f3b51b;
  --sky:#38bdf8;
  --red:#ff493d;
  --text:#0a1620;
  --muted:#667683;
  --line:#dbe3e7;
  --paper:#ffffff;
  --soft:#f6f8f7;
  --shell:1360px;
  --radius:16px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  min-width:320px;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--text);
  background:#fff;
  -webkit-font-smoothing:antialiased;
}
img{display:block;max-width:100%}
a{text-decoration:none;color:inherit}
button{font:inherit}
.shell{
  width:min(calc(100% - 48px),var(--shell));
  margin-inline:auto;
}

/* TOP BAR */
.values-bar{
  background:linear-gradient(90deg,#041625,#062239);
  color:#fff;
  font-size:12px;
}
.values-inner{
  min-height:34px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.values-list{
  display:flex;
  align-items:center;
  gap:10px;
  white-space:nowrap;
}
.values-list i{opacity:.7;font-style:normal}
.values-list span:nth-of-type(1) b{color:#fff}
.values-list span:nth-of-type(2) b{color:#ffbf00}
.values-list span:nth-of-type(3) b{color:#25c5f2}
.values-list span:nth-of-type(4) b{color:#79db55}
.values-list span:nth-of-type(5) b{color:#ff6d00}
.quick-links{
  display:flex;
  align-items:center;
  gap:10px;
}
.quick-links a,
.lang-mini{
  border:1px solid rgba(255,255,255,.35);
  background:transparent;
  color:#fff;
  border-radius:5px;
  padding:4px 12px;
  font-size:10px;
  font-weight:800;
  letter-spacing:.03em;
}
.quick-links a:hover,
.lang-mini:hover{background:rgba(255,255,255,.08)}

/* HEADER */
.main-header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.97);
  border-bottom:1px solid #e8edf0;
  box-shadow:0 2px 12px rgba(0,0,0,.03);
}
.header-inner{
  min-height:88px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  flex:0 0 auto;
}
.brand-icon{
  position:relative;
  width:58px;
  height:58px;
  border:2px solid var(--orange);
  border-radius:50%;
  background:#fff;
  overflow:hidden;
  display:grid;
  place-items:center;
  box-shadow:0 5px 14px rgba(6,27,44,.08);
}
.brand-icon .sun{
  position:absolute;
  top:2px;
  color:var(--orange);
  font-size:26px;
}
.brand-icon .leaf{
  position:absolute;
  bottom:4px;
  left:12px;
  font-size:27px;
}
.brand-icon .wave{
  position:absolute;
  bottom:-3px;
  right:8px;
  color:#1d76a7;
  font-size:30px;
  transform:rotate(-7deg);
}
.brand-copy{line-height:.88}
.brand-top{
  color:#57a93c;
  font-size:14px;
  font-weight:700;
  letter-spacing:.16em;
}
.brand-name{
  font-size:35px;
  font-weight:600;
  letter-spacing:.01em;
}
.brand-tag{
  margin-top:7px;
  color:var(--orange);
  font-size:9px;
  font-weight:800;
  letter-spacing:.2em;
}

.desktop-nav{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:clamp(16px,1.8vw,31px);
  font-size:13px;
  font-weight:650;
}
.desktop-nav a{
  position:relative;
  padding:34px 0 32px;
}
.desktop-nav a::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:22px;
  height:2px;
  transform:scaleX(0);
  background:linear-gradient(90deg,var(--green),var(--orange));
  transition:.2s ease;
}
.desktop-nav a:hover::after{transform:scaleX(1)}
.mobile-toggle{
  display:none;
  border:0;
  background:var(--navy);
  color:#fff;
  width:42px;
  height:42px;
  border-radius:9px;
}
.mobile-menu{
  display:none;
  padding:12px 24px 18px;
  border-top:1px solid #edf0f1;
}
.mobile-menu.open{display:grid}
.mobile-menu a{padding:10px 6px;border-bottom:1px solid #edf0f1}

/* HERO */
.hero{
  position:relative;
  min-height:520px;
  overflow:hidden;
  background:var(--navy);
}
.hero-image{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}
.hero-shade{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(1,16,20,.92) 0%,rgba(1,18,19,.76) 20%,rgba(2,20,20,.35) 38%,rgba(4,17,20,.05) 64%,rgba(0,0,0,.08) 100%),
    linear-gradient(0deg,rgba(0,0,0,.13),rgba(0,0,0,.03));
}
.hero-content{
  position:relative;
  z-index:2;
  min-height:520px;
  display:flex;
  align-items:center;
}
.hero-copy{
  width:min(430px,42vw);
  color:#fff;
}
.eyebrow{
  display:block;
  margin-bottom:8px;
  color:#6fe23d;
  font-size:12px;
  font-weight:850;
  letter-spacing:.11em;
}
.hero h1{
  margin:0 0 16px;
  font-size:clamp(54px,5.4vw,83px);
  line-height:.82;
  letter-spacing:-.045em;
  font-weight:900;
  color:#fff;
}
.hero h1 .green{color:#27bb57}
.hero h1 .lime{color:#71c64d}
.hero h1 .orange{color:#ff6413}
.hero-copy p{
  max-width:420px;
  margin:0 0 18px;
  color:#fff;
  font-size:14px;
  line-height:1.45;
}
.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:0 20px;
  border-radius:5px;
  font-size:11px;
  font-weight:850;
  letter-spacing:.03em;
}
.btn-green{
  background:linear-gradient(90deg,#119f4e,#29b65b);
  color:#fff;
}
.btn-ghost{
  color:#fff;
  border:1px solid rgba(255,255,255,.7);
  background:rgba(2,21,26,.4);
  backdrop-filter:blur(3px);
}

/* OPERATING MODEL */
.operating-wrap{
  padding:18px 0 0;
  background:#fff;
}
.operating-card{
  display:grid;
  grid-template-columns:1.8fr repeat(6,1fr);
  background:linear-gradient(90deg,#061b2c,#08253a);
  color:#fff;
  border-radius:15px;
  padding:18px 20px;
  box-shadow:0 12px 26px rgba(3,28,44,.12);
  overflow:hidden;
}
.operating-intro{
  padding:2px 18px 0 0;
}
.eyebrow-lime{color:#83e63d}
.operating-intro h2{
  margin:0 0 10px;
  font-size:24px;
  line-height:1.08;
  letter-spacing:-.02em;
}
.operating-intro p{
  margin:0 0 12px;
  color:#eef6fa;
  font-size:11px;
  line-height:1.5;
}
.model-link{
  display:inline-flex;
  gap:9px;
  align-items:center;
  border:1px solid #75ba1b;
  color:#8de236;
  padding:7px 11px;
  border-radius:4px;
  font-size:10px;
  font-weight:850;
}
.model-step{
  min-height:166px;
  padding:0 14px;
  border-left:1px solid rgba(255,255,255,.18);
  text-align:center;
}
.model-icon{
  width:52px;
  height:52px;
  margin:0 auto 11px;
  border:1px solid #5f9e17;
  border-radius:50%;
  display:grid;
  place-items:center;
  color:#78d61d;
  font-size:24px;
}
.model-step b{
  display:block;
  font-size:9px;
  letter-spacing:.03em;
  margin-bottom:5px;
}
.model-step strong{
  display:block;
  color:#7dd533;
  font-size:10px;
  margin-bottom:7px;
}
.model-step p{
  margin:0;
  color:#eef3f5;
  font-size:9.5px;
  line-height:1.45;
}

/* PILLAR STRIP */
.pillar-strip{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:0;
  margin-top:16px;
  padding:18px 18px;
  border:1px solid #dbe4e7;
  border-radius:13px;
  background:#fff;
  box-shadow:0 7px 18px rgba(8,34,54,.04);
}
.pillar-strip article{
  display:grid;
  grid-template-columns:47px 1fr;
  gap:11px;
  padding:0 15px;
  border-right:1px solid #edf1f2;
}
.pillar-strip article:last-child{border-right:0}
.pillar-icon{
  width:45px;
  height:45px;
  display:grid;
  place-items:center;
  border-radius:50%;
  border:1px solid #cfe8c6;
  background:#f2faee;
  color:#2b9d3e;
  font-size:22px;
}
.sun-icon{color:#f5a700}
.pillar-strip h3{
  margin:1px 0 5px;
  font-size:11px;
}
.pillar-strip p{
  margin:0;
  color:#4f5f68;
  font-size:9.5px;
  line-height:1.45;
}

/* CONTENT */
.content-section{
  padding:90px 0;
  background:linear-gradient(#fff,#f7faf8);
}
.dark-eyebrow{color:var(--green2)}
.section-title{
  max-width:900px;
  margin:0 0 20px;
  font-size:clamp(38px,4.5vw,68px);
  line-height:.98;
  letter-spacing:-.05em;
}
.section-lead{
  max-width:760px;
  margin:0 0 34px;
  color:#566874;
  font-size:17px;
  line-height:1.65;
}
.vision-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}
.vision-grid article{
  border:1px solid #dfe7e3;
  border-radius:18px;
  background:#fff;
  padding:25px;
  box-shadow:0 10px 26px rgba(6,27,44,.05);
}
.vision-grid b{
  color:var(--orange);
  font-size:12px;
  letter-spacing:.14em;
}
.vision-grid h3{
  margin:25px 0 8px;
  font-size:23px;
}
.vision-grid p{
  margin:0;
  color:#667783;
  font-size:14px;
  line-height:1.6;
}

/* NEWSLETTER */
.newsletter-section{
  padding:0 0 80px;
  background:#f7faf8;
}
.newsletter-card{
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  gap:30px;
  padding:40px;
  border-radius:22px;
  background:linear-gradient(110deg,#061b2c,#0b314b);
  color:#fff;
}
.newsletter-card h2{
  margin:0 0 8px;
  font-size:35px;
}
.newsletter-card p{
  margin:0;
  color:#cbd9e0;
}
.newsletter-placeholder{
  min-height:60px;
  display:flex;
  align-items:center;
  justify-content:flex-end;
}

/* FOOTER */
footer{
  padding:36px 0;
  background:#061725;
  color:#fff;
}
.footer-inner{
  display:flex;
  justify-content:space-between;
  gap:30px;
  align-items:center;
}
.footer-inner p{
  margin:5px 0 0;
  color:#9eb3c0;
  font-size:13px;
}
.footer-links{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  color:#c7d4db;
  font-size:12px;
}

/* RESPONSIVE */
@media(max-width:1180px){
  .values-list{display:none}
  .values-inner{justify-content:flex-end}
  .desktop-nav{gap:15px;font-size:12px}
  .operating-card{
    grid-template-columns:1.45fr repeat(3,1fr);
    row-gap:20px;
  }
  .model-step:nth-of-type(5){border-left:0}
  .pillar-strip{grid-template-columns:repeat(3,1fr);row-gap:22px}
  .pillar-strip article:nth-child(3){border-right:0}
}
@media(max-width:900px){
  .shell{width:min(calc(100% - 28px),var(--shell))}
  .desktop-nav{display:none}
  .mobile-toggle{display:block}
  .header-inner{min-height:78px}
  .hero,
  .hero-content{min-height:620px}
  .hero-shade{
    background:linear-gradient(90deg,rgba(2,17,22,.88),rgba(2,17,22,.44) 70%,rgba(2,17,22,.22));
  }
  .hero-copy{width:min(520px,84vw)}
  .operating-card{grid-template-columns:1fr 1fr}
  .operating-intro{grid-column:1/-1;padding-right:0}
  .model-step{border-left:0;border-top:1px solid rgba(255,255,255,.14);padding-top:18px}
  .pillar-strip{grid-template-columns:1fr 1fr}
  .pillar-strip article,
  .pillar-strip article:nth-child(3){border-right:0}
  .vision-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
  .quick-links a:nth-child(3),
  .quick-links a:nth-child(4){display:none}
  .hero,
  .hero-content{min-height:650px}
  .hero-copy{width:100%}
  .hero h1{font-size:58px}
  .hero-copy p{font-size:13px}
  .hero-actions{display:grid}
  .btn{width:100%}
  .operating-card{grid-template-columns:1fr}
  .operating-intro{grid-column:auto}
  .pillar-strip{grid-template-columns:1fr}
  .pillar-strip article{
    border-right:0;
    border-bottom:1px solid #edf1f2;
    padding:14px 0;
  }
  .pillar-strip article:last-child{border-bottom:0}
  .vision-grid{grid-template-columns:1fr}
  .newsletter-card{grid-template-columns:1fr;padding:28px}
  .footer-inner{align-items:flex-start;flex-direction:column}
}


/* =========================================================
   LIVING LAB · VERSION B
   ========================================================= */
.lab-hero{
  position:relative;
  min-height:560px;
  overflow:hidden;
  background:#061b2c;
}
.lab-hero-bg{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;object-position:center;
}
.lab-hero-shade{
  position:absolute;inset:0;
  background:
    linear-gradient(90deg,rgba(2,18,25,.95) 0%,rgba(2,24,29,.80) 30%,rgba(3,25,28,.38) 58%,rgba(2,18,24,.18) 100%),
    linear-gradient(0deg,rgba(2,18,25,.30),transparent 45%);
}
.lab-hero-inner{
  position:relative;z-index:2;min-height:560px;
  display:grid;grid-template-columns:1fr .92fr;gap:70px;align-items:center;
  color:#fff;
}
.lab-kicker{color:#80df45;font-size:12px;font-weight:900;letter-spacing:.12em}
.lab-hero h1{
  margin:10px 0 20px;color:#fff;
  font-size:clamp(58px,6.5vw,94px);line-height:.88;letter-spacing:-.055em;
}
.lab-hero h1 span{color:#ff6d00}
.lab-hero .lead{max-width:610px;color:#eef5f7;font-size:16px;line-height:1.6}
.lab-proof{
  padding:28px;border:1px solid rgba(255,255,255,.22);border-radius:18px;
  background:rgba(4,29,42,.82);backdrop-filter:blur(10px);
  box-shadow:0 20px 50px rgba(0,0,0,.22);
}
.lab-proof h2{margin:5px 0 10px;color:#fff;font-size:29px;line-height:1.05}
.lab-proof>p{color:#cbdbe2;font-size:13px;line-height:1.55}
.lab-proof-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:18px}
.lab-proof-grid div{padding:14px 12px;border:1px solid rgba(255,255,255,.12);border-radius:10px;background:rgba(255,255,255,.055)}
.lab-proof-grid b{display:block;color:#83e63d;font-size:11px;margin-bottom:5px}
.lab-proof-grid span{color:#d5e2e8;font-size:10px;line-height:1.45;display:block}

.lab-section{padding:78px 0}
.lab-section.soft{background:#f7faf8}
.lab-section.dark{background:linear-gradient(115deg,#061b2c,#092b42);color:#fff}
.lab-head{display:grid;grid-template-columns:1fr .72fr;gap:50px;align-items:end;margin-bottom:34px}
.lab-head h2{margin:8px 0 0;font-size:clamp(38px,4.8vw,66px);line-height:.98;letter-spacing:-.05em}
.lab-section.dark .lab-head h2{color:#fff}
.lab-head p{margin:0;color:#667783;font-size:16px;line-height:1.65}
.lab-section.dark .lab-head p{color:#c4d4dc}

.grounds-vb{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.ground-vb{
  min-height:390px;position:relative;overflow:hidden;border-radius:18px;
  padding:28px;display:flex;flex-direction:column;justify-content:flex-end;color:#fff;
  box-shadow:0 18px 38px rgba(6,27,44,.12);
  background-size:cover;background-position:center;
}
.ground-vb:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(3,22,30,.05),rgba(3,22,30,.92))}
.ground-vb>*{position:relative;z-index:1}
.ground-vb small{color:#89e64c;font-weight:900;letter-spacing:.11em}
.ground-vb h3{margin:10px 0 8px;color:#fff;font-size:30px}
.ground-vb p{margin:0;color:#dce7eb;font-size:13px;line-height:1.55}
.ground-vb.vietnam{background-image:linear-gradient(140deg,rgba(22,120,68,.3),rgba(5,26,38,.2)),url('/images/gallery-vietnam-land.jpg')}
.ground-vb.montreal{background-image:linear-gradient(140deg,rgba(16,62,93,.25),rgba(5,26,38,.2)),url('/images/gallery-montreal-garage.jpg')}
.ground-vb.digital{background-image:linear-gradient(140deg,rgba(255,109,0,.18),rgba(5,26,38,.2)),url('/images/gallery-digital-space.jpg')}

.lab-systems{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.lab-system{
  padding:25px;border:1px solid #dce5e1;border-radius:16px;background:#fff;
  box-shadow:0 9px 24px rgba(6,27,44,.05)
}
.lab-system .num{color:#ff6d00;font-size:11px;font-weight:900;letter-spacing:.12em}
.lab-system .icon{width:52px;height:52px;margin:26px 0 22px;border-radius:50%;display:grid;place-items:center;background:#eff9eb;border:1px solid #cfe7c6;font-size:24px}
.lab-system h3{margin:0 0 10px;font-size:22px}
.lab-system p{color:#63747e;font-size:13px;line-height:1.55}
.lab-system ul{padding-left:18px;color:#63747e;font-size:12px;line-height:1.65}
.lab-system.featured{background:linear-gradient(140deg,#061b2c,#0a3048);border-color:#0b344f}
.lab-system.featured h3{color:#fff}.lab-system.featured p,.lab-system.featured ul{color:#c6d6dd}
.lab-system.featured .num{color:#83e63d}

.method-vb{
  margin-top:28px;padding:28px;border-radius:17px;
  background:linear-gradient(110deg,#061b2c,#0a3048);color:#fff;
}
.method-vb h3{color:#fff;font-size:28px;margin:4px 0 20px}
.method-steps{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}
.method-steps div{padding:17px;border-left:1px solid rgba(255,255,255,.2)}
.method-steps b{display:block;color:#83e63d;font-size:12px;margin-bottom:7px}
.method-steps span{display:block;color:#d3e0e6;font-size:11px;line-height:1.5}

.standards-vb{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:16px}
.standards-vb div{padding:18px;border:1px solid #dce5e1;border-radius:13px;background:#fff}
.standards-vb b{display:block;margin-bottom:5px;font-size:13px}
.standards-vb span{color:#667783;font-size:11px;line-height:1.5}

.lab-quote{padding:60px 0;background:#fff}
.lab-quote-card{
  padding:48px;border-radius:20px;text-align:center;color:#fff;
  background:linear-gradient(115deg,#061b2c,#0a3048);
  box-shadow:0 20px 48px rgba(6,27,44,.13)
}
.lab-quote-card p{max-width:1000px;margin:0 auto;font-size:clamp(24px,3vw,42px);font-weight:800;line-height:1.25}
.lab-quote-card small{display:block;margin-top:14px;color:#9fb7c3}

.leverage-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.leverage-grid article{padding:26px;border:1px solid #dce5e1;border-radius:16px;background:#fff}
.leverage-grid strong{color:#169b50;font-size:11px;letter-spacing:.1em}
.leverage-grid h3{font-size:22px;margin:24px 0 9px}
.leverage-grid p{color:#667783;font-size:13px;line-height:1.55}

@media(max-width:1000px){
  .lab-hero-inner,.lab-head{grid-template-columns:1fr}
  .lab-proof{max-width:700px}
  .grounds-vb,.lab-systems{grid-template-columns:1fr 1fr}
  .method-steps{grid-template-columns:repeat(3,1fr)}
  .standards-vb{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
  .lab-hero,.lab-hero-inner{min-height:700px}
  .lab-hero h1{font-size:58px}
  .lab-proof-grid,.grounds-vb,.lab-systems,.method-steps,.standards-vb,.leverage-grid{grid-template-columns:1fr}
  .lab-section{padding:58px 0}
  .ground-vb{min-height:330px}
  .lab-quote-card{padding:30px 22px}
}

/* OFFICIAL SUSTAINABLE OASIS BRAND MARK */
.brand-logo{
  display:block;
  width:190px;
  max-height:72px;
  object-fit:contain;
  object-position:left center;
}
.brand-icon,.brand-copy{display:none!important}
@media(max-width:640px){
  .brand-logo{width:160px}
}


/* =========================================================
   SUSTAINABLE OASIS · MOBILE PRODUCTION HOTFIX · 2026-09-06
   Desktop-neutral. Targets tablets/phones only.
   ========================================================= */

/* Prevent accidental horizontal page drift from wide children. */
html, body { max-width:100%; }
body { overflow-x:hidden; }
img, video, iframe, svg { max-width:100%; height:auto; }
input, select, textarea, button { max-width:100%; }

/* Make the official logo predictable in every header. */
.brand-logo{
  height:auto;
  flex:0 0 auto;
}

/* TABLET */
@media (max-width:900px){
  .main-header{position:sticky;top:0}
  .header-inner{
    min-height:72px;
    gap:14px;
  }
  .brand-logo{
    width:132px;
    max-height:58px;
  }
  .mobile-toggle{
    display:grid;
    place-items:center;
    flex:0 0 44px;
    width:44px;
    height:44px;
    font-size:22px;
  }

  /* The top values/language bar was the main overflow risk. */
  .values-inner{
    width:100%;
    min-height:auto;
    padding:6px 12px;
    justify-content:center;
  }
  .values-list{display:none!important}
  .quick-links{
    width:100%;
    justify-content:center;
    gap:5px;
    flex-wrap:wrap;
  }
  .quick-links a,
  .quick-links .lang-mini,
  .lang-mini{
    padding:4px 7px;
    font-size:9px;
    line-height:1.15;
    white-space:nowrap;
  }

  .mobile-menu{
    max-height:calc(100vh - 72px);
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
    padding:8px 16px 14px;
    background:#fff;
  }
  .mobile-menu a{
    min-height:44px;
    display:flex;
    align-items:center;
  }

  /* Generic two-column page headers become one clean column. */
  .re-inner,.re-head,
  .rm-inner,.rm-head,
  .manifesto-hero-inner,.manifesto-head,
  .mp-hero-inner,.mp-head,
  .mm-hero-inner,.mm-head,
  .ns-inner,.ns-head,
  .sd-hero-grid,.intake,
  .lab-hero-inner,.lab-head{
    grid-template-columns:1fr!important;
    gap:28px!important;
  }

  /* Cards never force viewport width. */
  .re-engine,.rm-map,.manifesto-core,.mp-summary,.mm-sidecard,.ns-compass,
  .sd-proof,.lab-proof,.operating-card,.newsletter-card,
  .flywheel,.horizon,.economy-banner,.decision-card,
  .re-quote-card,.rm-quote-card,.oath-card,.mp-quote-card,.mm-quote-card,.lab-quote-card{
    width:100%;
    min-width:0;
  }

  .re-v1-grid,.stream-grid,.ladder,.fly-grid,.rules-grid,
  .score-grid,.sequence-grid,
  .definition-grid,.commitments-grid,.tech-nature,.economy-steps,
  .phase-grid,.system-grid,.grounds-grid,.guardrail-grid,.metrics-grid,.next-grid,.timeline-track,
  .concept-grid,.culture-grid,.menu-grid,.experience-wrap,.experience-steps,.revenue-grid,.pilot-grid,
  .direction-grid,.questions,.alignment,
  .grounds-vb,.lab-systems,.method-steps,.standards-vb,.leverage-grid,
  .offer-grid{
    min-width:0;
  }
}

/* PHONE */
@media (max-width:640px){
  .shell{
    width:calc(100% - 24px)!important;
    margin-inline:auto;
  }

  .values-inner{padding:5px 8px}
  /* Keep the useful actions + languages; hide lower-priority links on phones. */
  .quick-links > a[href*="pinterest"],
  .quick-links > a[href*="#newsletter"]{
    display:none!important;
  }
  .quick-links{
    gap:4px;
  }
  .quick-links a,
  .quick-links .lang-mini,
  .lang-mini{
    padding:4px 6px!important;
    font-size:8.5px!important;
  }

  .header-inner{min-height:66px}
  .brand-logo{
    width:108px!important;
    max-height:52px!important;
  }
  .mobile-toggle{
    width:42px;
    height:42px;
  }

  /* Home hero */
  .hero,.hero-content{
    min-height:600px!important;
  }
  .hero-content{
    align-items:flex-end;
    padding-top:74px;
    padding-bottom:42px;
  }
  .hero-shade{
    background:
      linear-gradient(180deg,rgba(2,17,22,.25) 0%,rgba(2,17,22,.48) 35%,rgba(2,17,22,.94) 100%)!important;
  }
  .hero-image{object-position:center}
  .hero h1{
    font-size:clamp(43px,14vw,56px)!important;
    line-height:.88!important;
  }
  .hero-copy p{
    font-size:13px!important;
    line-height:1.55!important;
  }
  .hero-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
    width:100%;
  }
  .hero-actions .btn,.btn{
    width:100%;
    min-height:44px;
    padding:10px 14px;
    text-align:center;
  }

  /* All major inner-page hero typography. */
  .re-hero,.re-inner,
  .rm-hero,.rm-inner,
  .manifesto-hero,.manifesto-hero-inner,
  .mp-hero,.mp-hero-inner,
  .mm-hero,.mm-hero-inner,
  .ns-hero,.ns-inner,
  .lab-hero,.lab-hero-inner{
    min-height:auto!important;
  }
  .re-inner,.rm-inner,.manifesto-hero-inner,.mp-hero-inner,.mm-hero-inner,.ns-inner,.lab-hero-inner{
    padding-top:48px!important;
    padding-bottom:48px!important;
  }
  .re-hero h1,.rm-hero h1,.manifesto-hero h1,.mp-hero h1,.mm-hero h1,.ns-hero h1,.lab-hero h1,
  .sd-hero h1{
    font-size:clamp(42px,13vw,56px)!important;
    line-height:.92!important;
    letter-spacing:-.045em!important;
    overflow-wrap:anywhere;
  }
  .re-lead,.rm-lead,.manifesto-hero .lead,.mp-hero .lead,.mm-hero .lead,.ns-lead,.lab-hero .lead,.sd-hero p{
    font-size:14px!important;
    line-height:1.6!important;
  }

  /* Reduce mobile padding so content breathes rather than overflows. */
  .re-section,.rm-section,.manifesto-section,.mp-section,.mm-section,.ns-section,.lab-section,.sd-section,
  .content-section{
    padding:46px 0!important;
  }
  .re-engine,.rm-map,.manifesto-core,.mp-summary,.mm-sidecard,.ns-compass,.lab-proof,.sd-proof,
  .flywheel,.horizon,.economy-banner,.decision-card,.guardrail-banner,.pilot-banner,
  .re-quote-card,.rm-quote-card,.oath-card,.closing-card,.mp-quote-card,.mm-quote-card,.lab-quote-card,
  .intake{
    padding:22px 18px!important;
  }

  /* One-column cards on phones regardless of page-specific inline CSS. */
  .engine-grid,.re-v1-grid,.stream-grid,.ladder,.fly-grid,.rules-grid,.re-scoreboard,
  .rm-map-grid,.score-grid,.sequence-grid,.phase,
  .core-equation,.definition-grid,.commitments-grid,.tech-nature,.economy-steps,
  .mp-summary-grid,.phase-grid,.system-grid,.grounds-grid,.guardrail-grid,.metrics-grid,.next-grid,.timeline-track,
  .mm-sidegrid,.concept-grid,.culture-grid,.menu-grid,.experience-wrap,.experience-steps,.revenue-grid,.pilot-grid,
  .compass-grid,.direction-grid,.questions,.alignment,
  .lab-proof-grid,.grounds-vb,.lab-systems,.method-steps,.standards-vb,.leverage-grid,
  .offer-grid,.sd-hero-grid,.intake,.intake form{
    grid-template-columns:1fr!important;
  }

  .phase>div:last-child,
  .phase-card:last-child,
  .field.full,
  .intake button,
  .form-note{
    grid-column:auto!important;
  }

  /* Avoid enormous titles in content sections. */
  .re-head h2,.rm-head h2,.manifesto-head h2,.mp-head h2,.mm-head h2,.ns-head h2,.lab-head h2,.sd-head h2,
  .section-title{
    font-size:clamp(32px,10vw,44px)!important;
    line-height:1.02!important;
  }

  /* Revenue Control Center V3 */
  .rc{
    padding:34px 0!important;
  }
  .rc h1{
    font-size:clamp(40px,12vw,54px)!important;
    line-height:.94!important;
    overflow-wrap:anywhere;
  }
  .loginbox,.entrybox{
    display:grid!important;
    grid-template-columns:1fr!important;
    align-items:stretch!important;
    padding:16px!important;
  }
  .loginbox label,.entrybox label{
    min-width:0!important;
    width:100%!important;
  }
  .loginbox input,.entrybox input,.entrybox select{
    width:100%!important;
  }
  .grid,.two{
    grid-template-columns:1fr!important;
  }
  .metric,.panel{
    padding:18px!important;
    min-width:0;
  }
  .panel{
    overflow:hidden;
  }
  .panel > div[style*="overflow"]{
    -webkit-overflow-scrolling:touch;
  }
  table{
    min-width:620px;
  }

  /* Footer */
  .footer-inner{
    flex-direction:column!important;
    align-items:flex-start!important;
    gap:18px!important;
  }
  .footer-links{
    gap:10px 14px;
  }
}

/* Very narrow phones */
@media (max-width:380px){
  .shell{width:calc(100% - 18px)!important}
  .brand-logo{width:96px!important}
  .quick-links a,.quick-links .lang-mini,.lang-mini{
    font-size:8px!important;
    padding:4px 5px!important;
  }
  .hero h1,
  .re-hero h1,.rm-hero h1,.manifesto-hero h1,.mp-hero h1,.mm-hero h1,.ns-hero h1,.lab-hero h1,.sd-hero h1{
    font-size:42px!important;
  }
}
