/* GeoFinX v46. The three approved concepts; typography uses the v43/v44 role system.
   Shared fonts, responsive variables and all unrelated section styles are retained. */

/* 01 — Bronze Crescent */
#collection.bronze-crescent{--horizon-ivory:#f7eddf;--horizon-gold:#c5a17e;--horizon-muted:#ecdfce;position:relative;isolation:isolate;overflow:hidden;background-color:#232326;background-image:url("assets/model-grain.svg"),radial-gradient(ellipse at 20% 67%,#8f705041,transparent 52%),linear-gradient(125deg,#232326ef,#242326cf),var(--matte-stone);background-size:240px 240px,cover,cover,310px 307px;background-repeat:repeat,no-repeat,no-repeat,repeat}
#collection .crescent-field{position:absolute;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none}
#collection .horizon-inner{position:relative;display:grid;grid-template-columns:minmax(0,1.8fr) minmax(0,1fr);column-gap:clamp(32px,4vw,68px);padding-block:clamp(44px,4.4vw,72px) clamp(32px,3vw,48px)}
#collection .crescent-main{min-width:0}
#collection .crescent-accent{color:#c5a17e}
#collection .crescent-cta{position:relative;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;gap:24px;border:0;margin:clamp(22px,2.1vw,34px) 0 0;padding:7px clamp(30px,3.1vw,52px);color:#fff3e3;min-height:54px;filter:drop-shadow(0 5px 5px #0003);text-decoration:none}
#collection .crescent-cta::before{content:"";position:absolute;inset:0;z-index:-1;clip-path:polygon(6% 0,94% 0,100% 50%,94% 100%,6% 100%,0 50%);background:linear-gradient(175deg,#ad213c,#870d25 52%,#650b1d);box-shadow:inset 0 2px #d15c6c88,inset 0 -2px #470919}
#collection .crescent-cta:hover{color:#fff9ed;text-decoration:none}
#collection .crescent-cta:hover::before{filter:brightness(1.12)}
#collection .horizon-markets{padding-top:clamp(24px,2.5vw,42px)}
#collection .horizon-markets h3{max-width:47%;margin-bottom:6px}
#collection .crescent-planned{font-size:clamp(16px,1.9vw,32px);line-height:1.25;color:var(--horizon-ivory);margin:0;position:relative;z-index:2}
#collection .market-stage{position:relative;width:calc(100% + 90px);margin:clamp(-100px,-6vw,-48px) -40px 0 -50px}
#collection .market-stage img{width:100%;height:auto;display:block}
#collection .market-stage ul{position:absolute;bottom:9%;left:10%;right:8%;display:grid;grid-template-columns:1.35fr .85fr 1fr .9fr .8fr;gap:0;align-items:center;justify-content:initial}
#collection .market-stage li{grid-column:auto;text-align:center;white-space:nowrap;min-width:0;padding-inline:6px}
#collection .market-stage li+li{border-left:1px solid #bc936d99}
#collection .horizon-services{display:flex;flex-direction:column;justify-content:flex-start;gap:0;align-self:stretch;min-width:0;border:0;border-radius:0;padding:clamp(60px,5.8vw,96px) 0 40px;background:none;box-shadow:none;position:relative;z-index:1}
#collection .horizon-services a{grid-template-columns:auto minmax(0,1fr);padding:clamp(30px,3.1vw,52px) 0;gap:clamp(15px,1.5vw,25px)}
#collection .horizon-services a+a{border-left:0;border-top:1px solid #bb967168}
#collection .horizon-services a>div{padding-left:clamp(15px,1.5vw,25px);border-left:1px solid #b99a7b}
#collection .horizon-services a:hover{text-decoration:none}
#collection .horizon-services a:hover h3{text-decoration:underline;text-underline-offset:5px}
#collection .horizon-principles{grid-column:1/-1;margin-top:clamp(18px,2vw,34px)}

/* 02 — Contour Portfolio */
#strategy-index.contour-portfolio{--portfolio-pearl:#f8eddd;--portfolio-bronze:#c9a480;--portfolio-line:#aa876571;position:relative;isolation:isolate;overflow:hidden;color:var(--portfolio-pearl);background-color:#232326;background-image:url("assets/model-grain.svg"),radial-gradient(ellipse at 80% 50%,#66504130,transparent 67%),linear-gradient(#232326e8,#232326e8),var(--matte-stone);background-size:240px 240px,cover,cover,310px 307px;background-repeat:repeat,no-repeat,no-repeat,repeat}
#strategy-index.contour-portfolio::before{content:"";position:absolute;z-index:-1;right:-120px;top:-115px;width:320px;height:180px;border:2px solid #c8a180;border-radius:0 0 0 90%;transform:rotate(25deg);box-shadow:-6px 7px 0 #551724,0 10px 20px #ad795526}
#strategy-index .gx-intro>p{color:#e8e0d4;padding-left:clamp(22px,3.6vw,60px);border-left:1px solid #ba9674}
#strategy-index .gx-intro h2{color:var(--portfolio-pearl)}
#strategy-index .gx-intro h2 em,#strategy-index .eyebrow{color:var(--portfolio-bronze)}
#strategy-index .index-shell{display:block;min-height:0;border:0;overflow:visible;border-radius:0;box-shadow:none}
#strategy-index .index-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:0;background:none;gap:2px}
#strategy-index .index-tabs>button{flex:none;gap:10px;border:1px solid #91806e70;border-bottom:0;border-left:1px solid #91806e70;padding:clamp(20px,2.1vw,32px);border-radius:3px 3px 0 0;background:linear-gradient(130deg,#39373577,#202326a8),var(--matte-stone);background-size:cover,310px 307px;color:var(--portfolio-pearl);transition:background-color .15s}
#strategy-index .index-tabs>button:first-child{border-top-left-radius:14px}
#strategy-index .index-tabs>button:last-child{border-top-right-radius:14px}
#strategy-index .index-tabs>button:hover{background-color:#64503d}
#strategy-index .index-tabs>button[aria-selected=true]{background:linear-gradient(120deg,#8a1834ec,#591a2bda),var(--matte-stone);background-size:cover,310px 307px;border-color:#bf706b;border-left:7px solid #dbb785;padding-left:calc(clamp(20px,2.1vw,32px) - 6px)}
#strategy-index .index-tabs>button[aria-selected=true]::after{right:0;border-color:transparent #edcca3 transparent transparent}
#strategy-index .index-tabs>button:focus-visible{outline:3px solid #f5cf9b;outline-offset:-7px;z-index:2}
#strategy-index .index-tabs .gx-code{color:#e1bb93}
#strategy-index .index-tabs .gx-pill,#strategy-index .index-dossier .gx-pill{color:#f7e4c9;background:#191b1a50;border-color:#b49c7e;white-space:normal;max-width:100%;text-align:left}
#strategy-index .index-content{position:relative;isolation:isolate;border:1px solid #927051;border-bottom:2px solid #cfa67c;border-radius:0 0 34% 12% / 0 0 36px 32px;background:url("assets/model-grain.svg"),linear-gradient(120deg,#594435b8,#382f2ad9 55%,#392f2bd9),var(--matte-stone);background-size:240px 240px,cover,310px 307px;box-shadow:0 8px 0 #4c1621,0 10px 0 #96664d,0 16px 25px #0005}
#strategy-index .index-content::after{content:"";position:absolute;bottom:-2px;left:10%;right:30%;height:1px;box-shadow:0 2px 13px 2px #d3a17077;z-index:-1}
#strategy-index [data-strategy-panel]{display:grid;min-width:0}
#strategy-index .index-dossier{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:24px clamp(32px,4vw,64px);padding:clamp(28px,3.3vw,50px) clamp(24px,3.6vw,56px) clamp(28px,3.2vw,48px);background:none;border:0;min-width:0}
#strategy-index .index-copy{min-width:0}
#strategy-index .gx-strat-top{justify-content:flex-start;gap:20px;flex-wrap:wrap;margin-bottom:17px}
#strategy-index .index-dossier .gx-code{color:#e1bb93}
#strategy-index .index-dossier h3{color:var(--portfolio-pearl);margin:0 0 20px}
#strategy-index .index-summary{font:400 var(--type-body)/1.6 GeoText,Arial,sans-serif;letter-spacing:normal;margin:0;color:#f1e7d9}
#strategy-index .index-dossier .gx-facts{align-self:start;margin:0;border-top:0;border-left:1px solid #a1816380;padding:0 0 0 clamp(26px,3.1vw,48px);grid-template-columns:auto minmax(0,1fr);gap:0 20px;min-width:0}
#strategy-index .index-dossier .gx-facts dt,#strategy-index .index-dossier .gx-facts dd{border-top:0;border-bottom:1px solid var(--portfolio-line);padding:11px 0;align-self:stretch}
#strategy-index .index-dossier .gx-facts dt{color:#e1bb93}
#strategy-index .index-dossier .gx-facts dd{color:#f4e9dc;overflow-wrap:anywhere}
#strategy-index .index-dossier .gx-facts dt:nth-last-of-type(1),#strategy-index .index-dossier .gx-facts dd:last-child{border-bottom:0}
#strategy-index .index-dossier .text-link{grid-column:2;justify-self:end;align-self:end;color:#fff0dc;margin:0}
#strategy-index .index-dossier .text-link:hover{color:#f0bf8e}
#strategy-index .sample-footer{margin-top:clamp(38px,3.4vw,54px)}

/* 03 — Client Charter, all eight promises together */
#client-charter{--charter-pearl:#f8eddd;--charter-bronze:#c9a480;position:relative;isolation:isolate;overflow:hidden;color:var(--charter-pearl);background-color:#232326;background-image:url("assets/model-grain.svg"),radial-gradient(ellipse at 50% 100%,#66504130,transparent 60%),linear-gradient(#232326eb,#232326eb),var(--matte-stone);background-size:240px 240px,cover,cover,310px 307px;background-repeat:repeat,no-repeat,no-repeat,repeat}
#client-charter>.container{position:relative;padding-bottom:clamp(64px,6vw,96px)}
#client-charter .gx-intro{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:clamp(30px,4vw,64px)}
#client-charter h2{color:var(--charter-pearl)}
#client-charter h2 em,#client-charter .eyebrow{color:var(--charter-bronze)}
#client-charter .gx-intro>p{color:#e8e0d4;margin:0;border-left:1px solid #ba9674;padding-left:clamp(22px,3.6vw,60px)}
#client-charter .text-link{color:#fff0dc;margin-top:4px}
#client-charter .text-link:hover{color:#e5b88d}
#client-charter .chapter-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;background:none;border:0}
#client-charter .chapter-links article{position:relative;min-width:0;border:1px solid #b29576;border-radius:18px;padding:clamp(20px,1.8vw,28px);background:url("assets/model-grain.svg"),radial-gradient(ellipse at 35% 5%,#b08c6540,transparent 65%),linear-gradient(135deg,#33302dbf,#242426dc),var(--matte-stone);background-size:240px 240px,cover,cover,310px 307px;box-shadow:inset 0 1px #eedbc433,0 10px 18px #0003;display:flex;flex-direction:column}
#client-charter .chapter-links article::before{display:none}
#client-charter .charter-visual{position:relative;height:clamp(128px,11vw,174px);margin-bottom:15px;display:flex;align-items:center;justify-content:flex-end;flex:none}
#client-charter .charter-number{position:absolute;top:5px;left:0;color:#d6b08d;font:600 clamp(30px,2.6vw,42px)/1 GeoBrand,Arial,sans-serif;letter-spacing:-.035em;border-right:1px solid #b69774;padding-right:13px}
#client-charter .charter-art{width:calc(100% - 44px);max-height:100%;height:100%;overflow:hidden}
#client-charter .chapter-links h3{color:var(--charter-pearl);margin:0 0 12px;min-height:2.48em}
#client-charter .chapter-links p{color:#eee4d6;margin:0}
#client-charter .charter-contour{position:absolute;bottom:0;left:-1%;width:102%;height:clamp(52px,5.5vw,90px);z-index:0;pointer-events:none;filter:drop-shadow(0 -4px 10px #b48b6066)}

@media(max-width:1100px){
 #collection .horizon-inner{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:28px}
 #collection .market-stage{width:calc(100% + 35px);margin-inline:-18px -17px;margin-top:12px}
 #collection .market-stage ul{position:relative;inset:auto;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 8px;margin-top:8px}
 #collection .market-stage li{white-space:normal;border:0;padding:0}
 #collection .market-stage li+li{border:0}
 #collection .horizon-services a{padding-block:30px}
 #client-charter .chapter-links{grid-template-columns:repeat(2,minmax(0,1fr))}
 #client-charter .charter-visual{height:164px}
 #client-charter .charter-art{width:calc(100% - 64px)}
}
@media(max-width:860px){
 #strategy-index .gx-intro>p{padding-left:0;border-left:0}
 #strategy-index .index-dossier{grid-template-columns:1fr;gap:24px;padding:30px}
 #strategy-index .index-dossier .gx-facts{border-left:0;border-top:1px solid #a1816380;padding:14px 0 0;gap:0 20px}
 #strategy-index .index-dossier .text-link{grid-column:1;justify-self:start}
 #client-charter .gx-intro{grid-template-columns:1fr;gap:18px}
 #client-charter .gx-intro>p{padding-left:0;border-left:0}
}
@media(max-width:760px){
 #collection .horizon-inner{display:block;padding-top:44px}
 #collection .horizon-markets h3{max-width:100%}
 #collection .horizon-services{padding:10px 0 0;margin-top:30px;border-top:1px solid #ba967470}
 #collection .horizon-services a{padding:22px 0}
 #collection .crescent-field{display:none}
 #collection .market-stage{width:100%;margin-inline:0}
 #collection .market-stage ul{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
 #collection .horizon-principles{margin-top:32px}
 #collection .horizon-principles span{display:none}
 #collection .horizon-principles a{flex:0 0 100%;text-align:center}
}
@media(max-width:640px){
 #strategy-index .index-tabs{grid-template-columns:1fr;gap:4px}
 #strategy-index .index-tabs>button{display:grid;grid-template-columns:60px minmax(0,1fr);gap:7px 14px;padding:17px 22px;border:1px solid #91806e70;border-radius:5px;align-items:center}
 #strategy-index .index-tabs>button:first-child,#strategy-index .index-tabs>button:last-child{border-radius:5px}
 #strategy-index .index-tabs>button[aria-selected=true]{border-left:5px solid #dbb785;padding-left:18px}
 #strategy-index .index-tabs>button>.gx-code{grid-row:1/3}
 #strategy-index .index-tab-title{grid-column:2}
 #strategy-index .index-tabs>button>.gx-pill{grid-column:2;justify-self:start}
 #strategy-index .index-tabs>button[aria-selected=true]::after{display:none}
 #strategy-index .index-content{margin-top:8px;border-radius:5px 5px 20% 8% / 5px 5px 24px 24px}
 #strategy-index .index-dossier{padding:25px 22px 32px;gap:20px}
 #strategy-index .index-dossier .gx-facts{grid-template-columns:1fr;gap:0}
 #strategy-index .index-dossier .gx-facts dt{border-bottom:0;padding:12px 0 3px}
 #strategy-index .index-dossier .gx-facts dd{padding:0 0 12px}
 #strategy-index .index-dossier .gx-facts dt:nth-last-of-type(1){padding-top:12px}
 #strategy-index .sample-footer{justify-content:flex-start}
 #client-charter .chapter-links{grid-template-columns:1fr;gap:14px}
 #client-charter .chapter-links article{padding:24px}
 #client-charter .charter-visual{height:150px}
 #client-charter .charter-art{width:calc(100% - 45px);max-width:260px}
 #client-charter .chapter-links h3{min-height:0}
}
@media(prefers-reduced-motion:reduce){#strategy-index .index-tabs>button{transition:none}}
