:root{
  --navy:#031b31;
  --navy-deep:#021426;
  --gold:#d28a16;
  --gold-soft:#e0a449;
  --cream:#f5f1e9;
  --ink:#071b31;
  --white:#fff;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--cream);color:var(--ink);font-family:Arial,Helvetica,sans-serif}
img{max-width:100%;display:block}
a{color:inherit}

/* Header */
header{
  height:92px;
  position:sticky;top:0;z-index:50;
  display:flex;align-items:center;justify-content:space-between;
  padding:0 5vw 0 3.5vw;
  background:rgba(3,27,49,.98);
  border-bottom:1px solid rgba(210,138,22,.28);
}
.brand-logo{display:flex;align-items:center;text-decoration:none}
.brand-logo img{height:68px;width:auto;object-fit:contain}
nav{display:flex;align-items:center;gap:42px}
nav a{color:#fff;text-decoration:none;text-transform:uppercase;font-size:12px;letter-spacing:.16em}
nav a:hover{color:var(--gold-soft)}
.matrixlink{border:1px solid var(--gold);padding:16px 22px}

/* Hero */
.hero{
  position:relative;
  min-height:calc(100vh - 92px);
  overflow:hidden;
  display:flex;align-items:center;
  background:
    linear-gradient(90deg,rgba(3,27,49,.82) 0%,rgba(3,27,49,.58) 34%,rgba(3,27,49,.14) 69%,rgba(3,27,49,.03) 100%),
    linear-gradient(0deg,rgba(3,27,49,.48) 0%,rgba(3,27,49,.02) 52%),
    url('assets/hero-house-wide.jpg') center/cover no-repeat;
}
.hero-watermark{
  position:absolute;left:8.5vw;bottom:10vh;width:min(260px,18vw);aspect-ratio:1;
  background:url('assets/watermark-clover-only.png') center/contain no-repeat;
  opacity:.065;pointer-events:none;z-index:1;
}
.copy{
  position:relative;z-index:3;
  width:min(760px,48vw);
  margin-left:6vw;
  padding:7vh 0 250px;
  color:#fff;
}
.kicker,.eyebrow{margin:0;color:var(--gold-soft);font-size:12px;font-weight:600;letter-spacing:.24em;text-transform:uppercase}
h1,h2{font-family:Georgia,'Times New Roman',serif;font-weight:400}
h1{
  margin:22px 0 24px;
  max-width:760px;
  font-size:clamp(72px,7.2vw,118px);
  line-height:.92;
  letter-spacing:-.035em;
}
.rule{display:flex;align-items:center;gap:12px;width:300px;color:var(--gold);margin:8px 0 26px}
.rule i{height:1px;background:var(--gold);flex:1}.rule em{font-size:9px;font-style:normal}
.lead{max-width:650px;margin:0;color:#fff;font-size:clamp(18px,1.32vw,23px);line-height:1.55;text-shadow:0 2px 12px rgba(0,0,0,.22)}

/* floating journey panel */
.journey{
  position:absolute;z-index:4;
  left:5vw;right:5vw;bottom:30px;
  display:grid;grid-template-columns:repeat(4,1fr);
  max-width:1380px;margin:0 auto;
  border:1px solid rgba(210,138,22,.28);
  background:rgba(3,27,49,.88);
  backdrop-filter:blur(10px);
  box-shadow:0 18px 45px rgba(0,0,0,.18);
}
.journey a{
  position:relative;min-height:190px;
  padding:30px 24px 26px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-decoration:none;color:#fff;text-align:center;
  border-right:1px solid rgba(210,138,22,.25);
}
.journey a:last-child{border-right:0}
.journey a:after{content:"";position:absolute;bottom:28px;width:52px;height:2px;background:var(--gold);opacity:.9}
.journey a:hover{background:rgba(255,255,255,.035)}
.journey-icon{width:58px;height:58px;margin:0 auto 15px;object-fit:contain}
.journey b{font-size:17px;letter-spacing:.16em;margin:2px 0 13px}
.journey small{font-size:13px;color:#fff;opacity:.88;margin-bottom:22px}

/* rest of landing page */
.intro{padding:110px 8vw;text-align:center;max-width:1080px;margin:auto}
.intro h2,.matrix h2,.steps h2{font-size:clamp(42px,4vw,68px);margin:12px 0 25px}
.intro p:last-child{font-family:Georgia,serif;font-size:22px;line-height:1.7}
.intro strong{color:var(--gold);font-weight:400}
.steps article{min-height:68vh;padding:9vh 9vw;display:grid;grid-template-columns:180px 1fr;align-items:center;border-top:1px solid #dfd6c8}
.steps article:nth-child(even){background:#fff}
.num{font-family:Georgia,serif;font-size:90px;color:var(--gold)}
.steps article>div:last-child{max-width:780px}.steps p{font-size:18px;line-height:1.8}.steps a{color:var(--gold);text-decoration:none;text-transform:uppercase;letter-spacing:2px;font-size:11px}
.matrix{background:var(--navy);color:#fff;padding:90px 7vw;display:grid;grid-template-columns:38% 62%;gap:55px;align-items:center}
.matrixcopy{align-self:center}.matrix p{line-height:1.8;color:#d9e0e6}.matrix img{width:100%;max-height:760px;object-fit:contain;box-shadow:0 24px 80px rgba(0,0,0,.35)}
.button{display:inline-block;margin-top:20px;border:1px solid var(--gold);color:#fff;text-decoration:none;padding:15px 24px;text-transform:uppercase;letter-spacing:2px;font-size:11px}
footer{background:var(--navy-deep);color:#fff;padding:45px 5vw;display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--gold)}
footer p{letter-spacing:4px;font-size:11px;color:#ddd}footer>small{color:#aaa}

/* Tablet */
@media(max-width:1050px){
  header{height:80px;padding:0 24px}
  .brand-logo img{height:56px}
  nav{gap:21px}nav a{font-size:10px}.matrixlink{padding:12px 15px}
  .hero{min-height:920px;background-position:64% center}
  .copy{width:min(760px,68vw);margin-left:5vw;padding:80px 0 330px}
  h1{font-size:clamp(68px,8vw,94px)}
  .journey{left:4vw;right:4vw;bottom:28px}
  .journey a{min-height:170px;padding:24px 14px}
  .journey-icon{width:50px;height:50px}.journey b{font-size:14px}.journey small{font-size:11px}
}

/* Mobile: everything stacks */
@media(max-width:760px){
  header{height:auto;min-height:74px;padding:8px 14px;display:grid;grid-template-columns:1fr auto;gap:10px}
  .brand-logo{order:1}.brand-logo img{height:48px}
  nav{order:2;grid-column:1/-1;overflow-x:auto;gap:15px;padding:4px 0 3px;scrollbar-width:none}
  nav::-webkit-scrollbar{display:none}nav a{white-space:nowrap;font-size:9px}.matrixlink{padding:8px 10px}
  .hero{min-height:1180px;display:block;background-position:68% center}
  .hero:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(3,27,49,.24),rgba(3,27,49,.56) 53%,rgba(3,27,49,.88) 78%);z-index:1}
  .copy{z-index:3;width:auto;margin:0 22px;padding:68px 0 610px}
  h1{font-size:clamp(54px,14vw,74px);line-height:.94;max-width:96%}
  .kicker{font-size:9px;letter-spacing:.18em}.lead{font-size:17px;max-width:100%}.rule{width:220px}
  .hero-watermark{left:auto;right:4vw;bottom:auto;top:270px;width:190px;opacity:.055;z-index:2}
  .journey{left:22px;right:22px;bottom:30px;grid-template-columns:1fr;max-width:none}
  .journey a{min-height:130px;padding:18px 14px;border-right:0;border-bottom:1px solid rgba(210,138,22,.25)}
  .journey a:last-child{border-bottom:0}.journey a:after{bottom:16px;width:42px}
  .journey-icon{width:42px;height:42px;margin-bottom:8px}.journey b{font-size:13px;margin-bottom:7px}.journey small{font-size:11px;margin-bottom:14px}
  .steps article{grid-template-columns:1fr;padding:70px 8vw}.num{font-size:58px}.matrix{grid-template-columns:1fr}.matrix img{max-height:none}
  footer{flex-direction:column;gap:25px;text-align:center}
}


/* =========================================================
   V9 detail pages — V8 homepage/header remain unchanged
   ========================================================= */
.detail-main{background:#f6f1e8}
.detail-hero{min-height:620px;display:flex;align-items:center;position:relative;color:#fff;background-size:cover;background-position:center;overflow:hidden}
.detail-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(1,26,49,.88),rgba(1,26,49,.58) 46%,rgba(1,26,49,.08) 78%)}
.detail-copy{position:relative;z-index:2;width:min(760px,67vw);margin-left:5.2vw}
.detail-copy h1,.matrix-hero h1{font-size:clamp(64px,6.3vw,112px);line-height:.95;margin:20px 0 18px;color:#fff}
.detail-copy .lead{font-size:18px;line-height:1.7;max-width:690px}
.detail-find{background-image:url('assets/find-hero.jpg')}
.detail-analyse{background-image:url('assets/analyse-hero.jpg')}
.detail-design{background-image:url('assets/design-hero.jpg')}
.detail-build{background-image:url('assets/build-hero.jpg')}
.detail-intro{text-align:center;padding:95px max(7vw,40px)}
.detail-intro h2{max-width:920px;margin:15px auto 25px;font-size:clamp(44px,5vw,74px)}
.detail-intro>p:last-child{max-width:820px;margin:auto;font-size:15px;line-height:1.85}
.guide-cards{padding:0 4.5vw 100px;display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.guide-cards article{background:#fff;border:1px solid rgba(196,133,41,.34);box-shadow:0 12px 32px rgba(0,0,0,.07)}
.guide-cards article img{display:block;width:100%;height:auto}
.guide-cards article div{padding:23px 24px 28px}
.guide-cards article span{color:var(--gold);font-size:28px;font-family:Georgia,serif}
.guide-cards h3,.single-copy h3{font-family:Georgia,serif;font-weight:400;font-size:29px;margin:5px 0 12px}
.guide-cards p{font-size:12px;line-height:1.75}
.detail-highlight{background:var(--navy);color:#fff;padding:80px 6vw;display:grid;grid-template-columns:.9fr 1.1fr;gap:55px;align-items:center}
.detail-highlight h2{font-size:56px}.detail-highlight p{line-height:1.8}
.detail-highlight img{width:100%;max-height:720px;object-fit:contain}
.single-guide{padding:30px 6vw 100px;display:grid;grid-template-columns:1.1fr .55fr;gap:55px;align-items:center}
.single-guide img{width:100%;max-height:980px;object-fit:contain;box-shadow:0 14px 42px rgba(0,0,0,.09)}
.single-copy ol{padding-left:20px;line-height:2.2;font-size:14px}
.detail-next{background:var(--navy);color:#fff;text-align:center;padding:85px 6vw}
.detail-next>p{color:var(--gold);font-size:10px;letter-spacing:3px;font-weight:700}
.detail-next h2{font-size:54px;margin:10px 0 28px}
.detail-next a{display:inline-block;border:1px solid var(--gold);color:#fff;text-decoration:none;padding:15px 24px;text-transform:uppercase;letter-spacing:2px;font-size:10px}
.detail-next a:hover{background:var(--gold)}
.matrix-hero{background:var(--navy);color:#fff;text-align:center;padding:120px 7vw 100px}
.matrix-hero .rule{margin:0 auto}.matrix-hero .lead{max-width:780px;margin:24px auto 0}
.matrix-showcase{padding:90px 5vw;display:grid;grid-template-columns:.55fr 1fr;gap:55px;align-items:start;background:#f6f1e8}
.matrix-showcase.alt{grid-template-columns:1fr .55fr;background:#fff}
.matrix-showcase img{width:100%;max-height:1080px;object-fit:contain;box-shadow:0 12px 40px rgba(0,0,0,.08)}
.matrix-copy-long h2{font-size:52px}.matrix-copy-long p{line-height:1.85}

@media(max-width:900px){
  .detail-hero{min-height:620px}
  .detail-copy{width:auto;margin:0 6vw}
  .guide-cards{grid-template-columns:1fr}
  .detail-highlight,.single-guide,.matrix-showcase,.matrix-showcase.alt{grid-template-columns:1fr}
}
@media(max-width:560px){
  .detail-hero{min-height:580px;background-position:62% center}
  .detail-copy h1,.matrix-hero h1{font-size:50px}
  .detail-copy .lead{font-size:15px}
  .detail-intro{padding:70px 24px}
  .guide-cards,.detail-highlight,.single-guide,.matrix-showcase{padding-left:24px;padding-right:24px}
  .detail-next h2{font-size:42px}
}

.guide-webtitle{padding:22px 24px 18px;background:#fff;border-bottom:1px solid rgba(196,133,41,.28)}
.guide-webtitle span{display:block;color:var(--gold);font-size:9px;letter-spacing:2.4px;font-weight:700;text-transform:uppercase;margin-bottom:8px}
.guide-webtitle h3{margin:0!important;color:var(--navy);font-family:Georgia,"Times New Roman",serif;font-size:25px!important;font-weight:400}
.guide-excerpt-block{background:#fff;border:1px solid rgba(196,133,41,.26)}
.guide-excerpt-block>img{display:block;width:100%;height:auto}
.guide-cards article>div:last-child h3{display:none}
@media(max-width:560px){.guide-webtitle{padding:18px 18px 14px}.guide-webtitle h3{font-size:22px!important}}


/* =========================================================
   V11 — native web sections; no brochure page screenshots
   Homepage/header remain unchanged from previous version.
   ========================================================= */
.native-stack{
  max-width:1320px;
  margin:0 auto;
  padding:10px 4vw 100px;
  display:flex;
  flex-direction:column;
  gap:44px;
}
.native-panel{
  background:#fff;
  border:1px solid rgba(196,133,41,.28);
  box-shadow:0 14px 34px rgba(0,0,0,.06);
  padding:42px;
}
.native-panel-head{
  max-width:900px;
  margin-bottom:28px;
}
.native-panel-head>span,
.native-panel-copy>span,
.matrix-column>span{
  display:block;
  color:var(--gold);
  font-size:10px;
  letter-spacing:2.4px;
  font-weight:700;
  text-transform:uppercase;
  margin-bottom:10px;
}
.native-panel h2{
  font-size:clamp(38px,4.2vw,62px);
  margin:0 0 16px;
}
.native-panel h3{
  font-family:Georgia,"Times New Roman",serif;
  font-weight:400;
  font-size:26px;
  margin:0 0 12px;
}
.native-panel p,
.native-panel li{
  font-size:14px;
  line-height:1.75;
}
.native-panel ul{
  margin:10px 0 0;
  padding-left:18px;
}
.native-list.five,
.native-five{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:1px;
  background:rgba(196,133,41,.22);
  border:1px solid rgba(196,133,41,.22);
}
.native-list.five>div,
.native-five>div{
  background:#fff;
  padding:24px 20px;
}
.native-list b,
.native-five b{
  display:block;
  color:var(--navy);
  font-size:15px;
  letter-spacing:.4px;
  margin-bottom:8px;
}
.native-callout{
  margin-top:28px;
  background:var(--navy);
  color:#fff;
  padding:30px 32px;
  border-left:3px solid var(--gold);
}
.native-callout h3{color:#fff}
.native-callout li{color:#fff}
.split-photo{
  display:grid;
  grid-template-columns:1fr .86fr;
  gap:42px;
  align-items:stretch;
}
.split-photo>img{
  width:100%;
  height:100%;
  min-height:430px;
  object-fit:cover;
}
.native-two{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
  margin-top:28px;
}
.native-three{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1px;
  background:rgba(196,133,41,.22);
  border:1px solid rgba(196,133,41,.22);
  margin-top:28px;
}
.native-three>div{
  background:#fff;
  padding:28px;
}
.accent-panel{
  text-align:center;
  padding:70px 8vw;
  background:#f8f2e9;
}
.accent-panel>p:last-child{
  max-width:820px;
  margin:0 auto;
  font-size:16px;
}
.native-matrix-top{
  background:var(--navy);
  color:#fff;
}
.native-matrix-top h2{color:#fff}
.matrix-villa img{
  width:100%;
  height:100%;
  min-height:430px;
  object-fit:cover;
  display:block;
}
.matrix-flow{
  padding:90px 5vw;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
  background:#f7f2e9;
}
.matrix-column{
  background:#fff;
  border:1px solid rgba(196,133,41,.30);
  padding:34px 32px;
}
.matrix-column.center{
  background:var(--navy);
  color:#fff;
}
.matrix-column h3{
  font-family:Georgia,"Times New Roman",serif;
  font-size:30px;
  font-weight:400;
  margin:0 0 20px;
}
.matrix-column ul{
  margin:0;
  padding-left:18px;
}
.matrix-column li{
  margin:10px 0;
  line-height:1.55;
}
.matrix-column.center h3,
.matrix-column.center li{color:#fff}

/* remove the old pasted-guide presentation from detail pages */
.guide-cards,
.single-guide,
.detail-highlight,
.guide-excerpt-block{
  display:none !important;
}

/* responsive: all information stacks vertically */
@media(max-width:1000px){
  .native-list.five,
  .native-five{grid-template-columns:1fr 1fr}
  .split-photo{grid-template-columns:1fr}
  .split-photo>img{min-height:360px}
  .matrix-flow{grid-template-columns:1fr}
}
@media(max-width:720px){
  .native-stack{padding:0 18px 70px;gap:24px}
  .native-panel{padding:26px 20px}
  .native-panel h2{font-size:36px}
  .native-panel h3{font-size:23px}
  .native-panel p,
  .native-panel li{font-size:15px;line-height:1.65}
  .native-list.five,
  .native-five,
  .native-two,
  .native-three{grid-template-columns:1fr}
  .native-callout{padding:24px 20px}
  .split-photo>img{min-height:270px}
  .matrix-flow{padding:50px 18px}
  .matrix-column{padding:28px 22px}
}


/* =========================================================
   V12 — requested corrections only
   ========================================================= */

/* Remove stray brochure typography from Find / Analyse hero backgrounds. */
.detail-find{background-image:url('assets/find-hero-clean.jpg') !important}
.detail-analyse{background-image:url('assets/analyse-hero-clean.jpg') !important}

/* Slight spacing for the extra Home definition paragraph. */
.intro > p + p{margin-top:14px}

/* Matrix: visual translation of the approved four-leaf data model. */
.matrix-engine{
  padding:90px 5vw 105px;
  background:#f7f2e9;
  text-align:center;
}
.matrix-engine-title{
  max-width:900px;
  margin:0 auto 55px;
}
.matrix-engine-title h2{
  font-size:clamp(42px,5vw,68px);
  margin:12px 0 20px;
}
.matrix-engine-title > p:last-child{
  max-width:760px;
  margin:0 auto;
  font-size:15px;
  line-height:1.8;
}

.matrix-clover{
  position:relative;
  width:min(720px,78vw);
  aspect-ratio:1 / .82;
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr 1fr;
  grid-template-rows:1fr 1fr;
  gap:12px;
}
.clover-leaf{
  min-height:250px;
  padding:40px 52px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  color:#fff;
  box-shadow:0 10px 25px rgba(0,0,0,.12);
}
.clover-leaf img{
  width:62px;
  height:62px;
  object-fit:contain;
  filter:brightness(0) invert(1);
  margin-bottom:15px;
  opacity:.96;
}
.clover-leaf strong{
  display:block;
  font-size:21px;
  letter-spacing:1.5px;
  margin-bottom:10px;
}
.clover-leaf small{
  font-size:12px;
  line-height:1.55;
  max-width:230px;
}
.leaf-find{
  background:#647d42;
  border-radius:48% 48% 12% 48%;
}
.leaf-analyse{
  background:#577b96;
  border-radius:48% 48% 48% 12%;
}
.leaf-design{
  background:#c58a2d;
  border-radius:48% 12% 48% 48%;
}
.leaf-build{
  background:#775e87;
  border-radius:12% 48% 48% 48%;
}
.clover-center{
  position:absolute;
  z-index:4;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:150px;
  height:150px;
  border-radius:50%;
  background:#fff;
  border:4px solid rgba(196,133,41,.55);
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 9px 25px rgba(0,0,0,.14);
}
.clover-center img{
  width:105px;
  height:105px;
  object-fit:contain;
}

.matrix-data-flow{
  padding-top:80px;
}
.matrix-col-icon{
  width:48px;
  height:48px;
  border:1px solid var(--gold);
  border-radius:50%;
  color:var(--gold);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:24px;
  margin-bottom:18px;
}
.matrix-data-flow .matrix-column.center .matrix-col-icon{
  margin-left:auto;
  margin-right:auto;
}
.matrix-data-flow .matrix-column.center{
  text-align:left;
}
.matrix-data-flow .matrix-column.center .matrix-col-icon{
  margin-left:0;
}

@media(max-width:720px){
  .matrix-engine{padding:65px 18px 75px}
  .matrix-clover{
    width:100%;
    aspect-ratio:auto;
    grid-template-columns:1fr;
    grid-template-rows:auto;
    gap:12px;
  }
  .clover-leaf{
    min-height:210px;
    border-radius:32px !important;
    padding:30px 25px;
  }
  .clover-center{
    position:relative;
    left:auto;
    top:auto;
    transform:none;
    width:125px;
    height:125px;
    margin:12px auto;
    grid-row:3;
  }
  .clover-center img{
    width:88px;
    height:88px;
  }
}


/* V14 — CasaMatrix data-clover added to homepage only */
.home-matrix-visual{
  width:min(100%, 980px);
  margin:42px auto 0;
}
.home-matrix-visual img{
  display:block;
  width:100%;
  height:auto;
}
@media(max-width:700px){
  .home-matrix-visual{margin-top:28px}
}


/* V15 — homepage matrix block only */
.matrix > img.homepage-matrix-infographic{
  width:100%;
  height:auto;
  max-height:520px;
  object-fit:contain;
  background:#061f35;
}
@media(max-width:900px){
  .matrix > img.homepage-matrix-infographic{
    max-height:none;
  }
}


/* V17 — homepage Matrix visual only; layout untouched */
.matrix > img.homepage-matrix-infographic{
  width:100%;
  height:auto;
  max-height:540px;
  object-fit:contain;
  object-position:center;
  background:#061f35;
}
@media(max-width:900px){
  .matrix > img.homepage-matrix-infographic{
    max-height:none;
  }
}


/* V18 — homepage Matrix as one integrated section */
.matrix.matrix-integrated{
  background:#061f35;
  color:#fff;
  display:grid;
  grid-template-columns:minmax(360px,.72fr) minmax(620px,1.38fr);
  gap:48px;
  align-items:center;
  padding:76px 2.8vw;
}
.matrix-integrated .matrixcopy{
  max-width:560px;
}
.matrix-integrated .matrixcopy h2{
  color:#fff;
  font-family:Georgia,"Times New Roman",serif;
  font-weight:400;
  font-size:clamp(46px,4vw,68px);
  line-height:1.08;
  margin:0 0 28px;
}
.matrix-integrated .matrixcopy p{
  color:#fff;
  font-size:16px;
  line-height:1.72;
  margin:0 0 20px;
  max-width:540px;
}
.matrix-integrated .matrixcopy .eyebrow{
  color:#d29128;
}
.matrix-integrated .matrixvisual{
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:0;
}
.matrix-integrated .matrixvisual img{
  display:block;
  width:100%;
  height:auto;
  max-height:560px;
  object-fit:contain;
  object-position:center;
}
@media(max-width:1050px){
  .matrix.matrix-integrated{
    grid-template-columns:1fr;
    gap:36px;
    padding:60px 5vw;
  }
  .matrix-integrated .matrixcopy{
    max-width:700px;
  }
  .matrix-integrated .matrixvisual img{
    max-height:none;
  }
}
@media(max-width:640px){
  .matrix.matrix-integrated{
    padding:48px 20px 54px;
  }
  .matrix-integrated .matrixcopy h2{
    font-size:40px;
  }
  .matrix-integrated .matrixcopy p{
    font-size:15px;
  }
}

/* V19 — Matrix visual background visually merged with homepage */
.matrix.matrix-integrated,
.matrix-integrated .matrixvisual {
  background:#061f35 !important;
}


/* CasaMatrix 2.0 — multilingual entry, partner route and mobile navigation */
.cm2-header{display:flex;align-items:center;gap:26px}
.cm2-header .mainnav{display:flex;align-items:center;gap:22px;margin-left:auto}
.cm2-header .langnav{display:flex;gap:7px;align-items:center;margin-left:8px}
.cm2-header .langnav a{font-size:11px;letter-spacing:.12em;opacity:.7;padding:7px 4px}
.cm2-header .langnav a.active{color:#d29128;opacity:1}
.cm2-header .home-link{opacity:.8}
.menu-toggle{display:none;background:transparent;border:1px solid rgba(255,255,255,.28);color:#fff;padding:9px 11px;font-size:20px;line-height:1}
.partner-page{background:#f4f0e8}
.partner-hero{background:#061f35;color:#fff;padding:110px 8vw 78px}
.partner-hero h1{font-family:Georgia,"Times New Roman",serif;font-weight:400;font-size:clamp(48px,6vw,78px);max-width:900px;margin:8px 0 22px}
.partner-hero p{max-width:760px;font-size:18px;line-height:1.7}
.partner-content{padding:70px 8vw 90px;max-width:1260px;margin:auto}
.partner-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:34px 0 42px}
.partner-card{background:#fff;padding:28px;min-height:160px;border-top:3px solid #d29128}
.partner-card h3{font-family:Georgia,"Times New Roman",serif;font-size:23px;font-weight:400;margin:0 0 10px;color:#061f35}
.partner-card p{line-height:1.6;color:#45515b}
.partner-contact{background:#061f35;color:#fff;padding:34px;margin-top:26px}
.partner-contact a{color:#fff}
@media(max-width:980px){
  header.cm2-header{padding-right:18px}
  .menu-toggle{display:block;margin-left:auto}
  .cm2-header .mainnav{display:none;position:absolute;top:82px;left:0;right:0;background:#061f35;padding:22px 24px;flex-direction:column;align-items:flex-start;z-index:50;border-top:1px solid rgba(255,255,255,.12)}
  .cm2-header .mainnav.open{display:flex}
  .cm2-header .langnav{margin-left:0;padding-top:10px;border-top:1px solid rgba(255,255,255,.12);width:100%}
  .partner-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
  .entry-hero{padding:62px 16px;align-items:flex-start}
  .entry-panel{padding:34px 20px;margin-top:24px}
  .entry-panel h1{font-size:48px}
  .entry-choices{grid-template-columns:1fr}
  .choice-card{text-align:center}
  .partner-hero{padding:82px 22px 55px}
  .partner-content{padding:48px 20px 65px}
  .partner-grid{grid-template-columns:1fr}
}

/* V21 — V19 header retained, expanded in three visual groups */
.cm21-header{height:92px;position:sticky;top:0;z-index:60;display:flex;align-items:center;padding:0 2.2vw 0 3.2vw;background:rgba(3,27,49,.98);border-bottom:1px solid rgba(210,138,22,.28)}
.cm21-header .brand-logo{flex:0 0 auto}
.cm21-header .cm21-nav{margin-left:auto;display:flex;align-items:center;gap:0}
.cm21-group{display:flex;align-items:center;gap:24px}
.cm21-group + .cm21-group{margin-left:54px}
.cm21-header nav a{font-size:10px;letter-spacing:.14em;white-space:nowrap}
.cm21-header .partnerlink{border:1px solid var(--gold);padding:13px 15px}
.cm21-lang{gap:12px}
.cm21-lang a{opacity:.68}
.cm21-lang a.active{color:var(--gold-soft);opacity:1}
.cm21-menu{display:none;background:transparent;border:1px solid rgba(255,255,255,.3);color:#fff;font-size:20px;padding:8px 10px}
@media(max-width:1180px){
  .cm21-group{gap:15px}.cm21-group + .cm21-group{margin-left:28px}
  .cm21-header nav a{font-size:9px;letter-spacing:.1em}
}
@media(max-width:900px){
  .cm21-header{height:76px;padding:7px 14px}
  .cm21-header .brand-logo img{height:52px}
  .cm21-menu{display:block;margin-left:auto}
  .cm21-header .cm21-nav{display:none;position:absolute;left:0;right:0;top:76px;background:#031b31;padding:20px 22px 24px;flex-direction:column;align-items:stretch;border-top:1px solid rgba(210,138,22,.25);max-height:calc(100vh - 76px);overflow:auto}
  .cm21-header .cm21-nav.open{display:flex}
  .cm21-group{flex-direction:column;align-items:flex-start;gap:16px}
  .cm21-group + .cm21-group{margin:20px 0 0;padding-top:20px;border-top:1px solid rgba(255,255,255,.12)}
  .cm21-lang{flex-direction:row;gap:22px}
  .cm21-header .partnerlink{padding:11px 14px}
}

/* V22 Over ons */
.about-page{background:#f4f0e8;color:#061f35}.about-hero{background:#061f35;color:#fff;padding:110px 8vw 80px}.about-wrap{max-width:1180px;margin:auto;padding:70px 6vw 90px}.about-hero>div{max-width:1100px;margin:auto}.about-hero h1,.about-wrap h2{font-family:Georgia,"Times New Roman",serif;font-weight:400}.about-hero h1{font-size:clamp(52px,6vw,82px);margin:8px 0 18px}.about-hero p{max-width:800px;font-size:19px;line-height:1.7}.about-status{display:grid;grid-template-columns:.9fr 1.1fr;gap:55px;align-items:start;margin-bottom:65px}.about-status h2,.about-section h2{font-size:clamp(34px,4vw,50px);margin:7px 0 18px}.status-card{background:#fff;border-top:3px solid #d29128;padding:30px}.status-card strong{display:block;font-family:Georgia,"Times New Roman",serif;font-size:26px;font-weight:400;margin-bottom:12px}.about-mv{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:65px}.mv-card{background:#061f35;color:#fff;padding:36px;min-height:250px}.mv-card h2{font-size:38px}.about-pillar-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:28px 0 70px}.about-pillar,.strategy-card{background:#fff;padding:25px 22px;border-top:2px solid #d29128}.about-pillar h3,.strategy-card h3{font-family:Georgia,"Times New Roman",serif;font-size:22px;font-weight:400;margin:0 0 10px}.strategy-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:28px 0 70px}.strategy-card{min-height:205px}.strategy-card span{color:#d29128;font-size:12px;letter-spacing:.14em}.about-matrix{display:grid;grid-template-columns:.7fr 1.3fr;gap:42px;align-items:center;background:#061f35;color:#fff;padding:44px;margin-bottom:65px}.about-matrix img{width:100%;height:auto}.about-contact{text-align:center;background:#fff;padding:55px 25px}.about-contact a{color:#061f35;font-size:20px;text-decoration:none;border-bottom:1px solid #d29128}@media(max-width:900px){.about-status,.about-mv,.about-matrix{grid-template-columns:1fr}.about-pillar-grid{grid-template-columns:1fr 1fr}.strategy-grid{grid-template-columns:1fr}}@media(max-width:600px){.about-hero{padding:78px 22px 55px}.about-wrap{padding:48px 20px 65px}.about-pillar-grid{grid-template-columns:1fr}.mv-card,.about-matrix{padding:26px 22px}}
