/* Svolazzo Energies — site styles */
:root{
  --shale:#1E2A2F;      /* primary ink */
  --brine:#2F6F73;      /* primary accent */
  --brine-dark:#245659;
  --sand:#D9C7A3;       /* reservoir sand */
  --ochre:#B8792A;      /* gauge accent, used sparingly */
  --paper:#F6F7F5;
  --slate:#5A676C;      /* secondary text */
  --rule:#D5DAD8;
  --white:#FFFFFF;
  --serif:"Source Serif 4", Georgia, "Times New Roman", serif;
  --sans:"Libre Franklin", "Segoe UI", Arial, sans-serif;
  --measure:68ch;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--shale);font-family:var(--sans);font-size:1.0625rem;line-height:1.6}
img,svg{max-width:100%;height:auto;display:block}
a{color:var(--brine-dark);text-underline-offset:.18em}
a:hover{color:var(--shale)}
:focus-visible{outline:3px solid var(--ochre);outline-offset:3px}
.skip{position:absolute;left:-999px;top:0;background:var(--shale);color:#fff;padding:.6rem 1rem;z-index:10}
.skip:focus{left:1rem;top:1rem}

.wrap{width:min(1120px,100% - 3rem);margin-inline:auto}

/* Header */
.site-header{background:var(--white);border-bottom:1px solid var(--rule)}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;padding-block:1rem;flex-wrap:wrap}
.brand{display:flex;align-items:center;gap:.7rem;text-decoration:none;color:var(--shale)}
.brand svg{width:34px;height:34px}
.brand-name{font-family:var(--serif);font-weight:600;font-size:1.3rem;line-height:1.1}
.brand-name small{display:block;font-family:var(--sans);font-weight:400;font-size:.78rem;color:var(--slate);letter-spacing:.01em}
.nav{display:flex;gap:.25rem 1.4rem;flex-wrap:wrap;margin:0;padding:0;list-style:none}
.nav a{text-decoration:none;color:var(--shale);font-size:.97rem;padding:.3rem 0;border-bottom:2px solid transparent}
.nav a:hover{border-bottom-color:var(--rule)}
.nav a[aria-current="page"]{border-bottom-color:var(--brine);color:var(--brine-dark)}

/* Type */
h1,h2,h3{font-family:var(--serif);font-weight:600;line-height:1.15;margin:0 0 .6em}
h1{font-size:clamp(2.1rem,4.6vw,3.3rem);letter-spacing:-.01em}
h2{font-size:clamp(1.55rem,2.8vw,2.1rem)}
h3{font-size:1.25rem}
p{margin:0 0 1em;max-width:var(--measure)}
.lede{font-size:1.2rem;color:var(--slate);max-width:56ch}

/* Buttons */
.actions{display:flex;gap:.8rem;flex-wrap:wrap;margin-top:1.6rem}
.btn{display:inline-block;padding:.75rem 1.25rem;border-radius:3px;text-decoration:none;font-weight:600;font-size:.98rem;border:2px solid var(--brine)}
.btn-primary{background:var(--brine);color:#fff}
.btn-primary:hover{background:var(--brine-dark);border-color:var(--brine-dark);color:#fff}
.btn-quiet{color:var(--brine-dark);background:transparent}
.btn-quiet:hover{background:#E8F0EF;color:var(--shale)}

/* Hero */
.hero{background:var(--white);border-bottom:1px solid var(--rule)}
.hero .wrap{display:grid;grid-template-columns:1.05fr .95fr;gap:3rem;align-items:center;padding-block:4rem 3.5rem}
.hero-figure{margin:0}
.hero-figure figcaption{font-size:.85rem;color:var(--slate);margin-top:.6rem}
.xsec .well{stroke-dasharray:420;stroke-dashoffset:420;animation:drill 2.2s ease-out .3s forwards}
.xsec .perf{opacity:0;animation:show .5s ease-out 2.4s forwards}
@keyframes drill{to{stroke-dashoffset:0}}
@keyframes show{to{opacity:1}}
@media (prefers-reduced-motion:reduce){
  .xsec .well{animation:none;stroke-dashoffset:0}
  .xsec .perf{animation:none;opacity:1}
}

/* Sections */
.section{padding-block:4rem}
.section + .section{border-top:1px solid var(--rule)}
.section-alt{background:var(--white)}
.page-head{background:var(--white);border-bottom:1px solid var(--rule)}
.page-head .wrap{padding-block:3rem 2.5rem}
.page-head p{color:var(--slate);font-size:1.15rem}

/* Split: heading left, body right */
.split{display:grid;grid-template-columns:minmax(200px,.8fr) 2fr;gap:2.5rem}
.split > h2{margin:0}

/* Service list (home + services) */
.service-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,1fr);gap:0 2.5rem}
.service-list li{padding:1.1rem 0;border-top:1px solid var(--rule)}
.service-list h3{margin-bottom:.3em;font-size:1.15rem}
.service-list p{margin:0;color:var(--slate);font-size:.98rem}

.service-block{display:grid;grid-template-columns:minmax(200px,.8fr) 2fr;gap:2.5rem;padding-block:2.2rem;border-top:1px solid var(--rule)}
.service-block:first-child{border-top:0;padding-top:0}
.service-block h2{font-size:1.5rem;margin:0}
.service-block ul{margin:0;padding-left:1.1rem}
.service-block li{margin-bottom:.45rem}
.service-block li::marker{color:var(--brine)}

/* Credentials strip */
.facts{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem;margin:0;padding:0}
.facts div{border-left:3px solid var(--sand);padding-left:1rem}
.facts dt{font-family:var(--serif);font-size:1.5rem;font-weight:600;line-height:1.2}
.facts dd{margin:0;color:var(--slate);font-size:.95rem}

/* Projects */
.project{display:grid;grid-template-columns:minmax(200px,.8fr) 2fr;gap:2.5rem;padding-block:2rem;border-top:1px solid var(--rule)}
.project:first-of-type{border-top:0}
.project-meta{color:var(--slate);font-size:.95rem}
.project-meta strong{display:block;font-family:var(--serif);font-size:1.2rem;color:var(--shale);font-weight:600;margin-bottom:.25rem}
.project-meta .role{display:inline-block;margin-top:.5rem;font-size:.85rem;padding:.15rem .55rem;border:1px solid var(--brine);color:var(--brine-dark);border-radius:2px}
.project p{margin-bottom:.5rem}
.note{background:#EEF3F2;border-left:3px solid var(--brine);padding:1rem 1.2rem;max-width:var(--measure);color:var(--shale)}

/* Contact */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:3rem}
.contact-card dl{margin:0}
.contact-card dt{font-weight:600;margin-top:1rem}
.contact-card dd{margin:0;color:var(--slate)}
.checklist{padding-left:1.1rem}
.checklist li{margin-bottom:.4rem}

/* CTA band */
.band{background:var(--shale);color:#fff}
.band .wrap{padding-block:3rem;display:flex;justify-content:space-between;align-items:center;gap:2rem;flex-wrap:wrap}
.band h2{margin:0;color:#fff;font-size:1.7rem}
.band p{margin:.4rem 0 0;color:#C9D3D5}
.band .btn-primary{background:var(--sand);border-color:var(--sand);color:var(--shale)}
.band .btn-primary:hover{background:#fff;border-color:#fff;color:var(--shale)}

/* Footer */
.site-footer{background:var(--white);border-top:1px solid var(--rule);font-size:.9rem;color:var(--slate)}
.site-footer .wrap{padding-block:2rem;display:flex;justify-content:space-between;gap:1.5rem;flex-wrap:wrap}
.site-footer p{margin:0}
.site-footer a{white-space:nowrap}

/* Responsive */
@media (max-width:860px){
  .hero .wrap,.split,.service-block,.project,.contact-grid{grid-template-columns:1fr;gap:1.2rem}
  .hero .wrap{padding-block:2.5rem}
  .service-list{grid-template-columns:1fr}
  .facts{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:480px){
  .facts{grid-template-columns:1fr}
  .site-header .wrap{justify-content:flex-start}
}

/* ===== v2 visual upgrade ===== */
:root{--deep:#1B3138;--deep-2:#23404A;--mist:#C9D6D8}

/* Dark hero */
.hero{background:var(--deep);color:#fff;border-bottom:0;position:relative;overflow:hidden}
.hero::after{content:"";position:absolute;inset:auto 0 0 0;height:6px;background:linear-gradient(90deg,var(--sand) 0 38%,var(--brine) 38% 76%,var(--ochre) 76% 100%)}
.hero .wrap{grid-template-columns:1fr 1.05fr;padding-block:4.5rem 4.5rem}
.hero h1{color:#fff;font-size:clamp(2.2rem,4.8vw,3.5rem)}
.hero .lede{color:var(--mist)}
.hero .btn-primary{background:var(--sand);border-color:var(--sand);color:var(--shale)}
.hero .btn-primary:hover{background:#fff;border-color:#fff}
.hero .btn-quiet{color:#fff;border-color:rgba(255,255,255,.55)}
.hero .btn-quiet:hover{background:rgba(255,255,255,.1);color:#fff}
.hero-figure figcaption{color:var(--mist)}
.hero-figure svg{border-radius:4px;box-shadow:0 18px 40px rgba(0,0,0,.35)}
.hero-kicker{color:var(--sand);font-weight:600;font-size:1rem;margin-bottom:1rem}
.xsec .gas{opacity:.35;animation:charge 1.2s ease-out 2.3s forwards}
@keyframes charge{to{opacity:1}}
@media (prefers-reduced-motion:reduce){.xsec .gas{animation:none;opacity:1}}

/* Service grid with icons */
.svc-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:2.2rem 2rem;margin-top:2.2rem}
.svc{border-top:3px solid var(--brine);padding-top:1.1rem}
.svc .ico{width:52px;height:52px;background:#EDE3CF;border-radius:6px;display:grid;place-items:center;margin-bottom:.9rem}
.svc .ico svg{width:30px;height:30px}
.svc h3{font-size:1.14rem;margin-bottom:.35em}
.svc p{margin:0;color:var(--slate);font-size:.96rem}
.section-intro{display:flex;justify-content:space-between;align-items:end;gap:2rem;flex-wrap:wrap}
.section-intro p{margin:0;color:var(--slate)}

/* Engagement steps (a real sequence) */
.steps{list-style:none;margin:2.4rem 0 0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:2rem;counter-reset:step;position:relative}
.steps::before{content:"";position:absolute;left:22px;right:22px;top:22px;height:2px;background:var(--rule)}
.steps li{position:relative;counter-increment:step}
.steps li::before{content:counter(step);display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:var(--deep);color:var(--sand);font-family:var(--serif);font-weight:600;font-size:1.2rem;position:relative;margin-bottom:1rem}
.steps h3{font-size:1.1rem;margin-bottom:.3em}
.steps p{margin:0;color:var(--slate);font-size:.96rem}

/* Credentials band */
.cred{background:#EDE3CF}
.cred .facts div{border-left-color:var(--brine)}
.cred .facts dt{font-size:2.2rem}
.cred .facts dd{color:var(--shale)}

/* Inner page heads: dark band with a well-log curve */
.page-head{background:var(--deep);color:#fff;border-bottom:0;position:relative;overflow:hidden}
.page-head h1{color:#fff}
.page-head p{color:var(--mist)}
.page-head a{color:var(--sand)}
.page-head .wrap{position:relative;z-index:1;padding-block:3.5rem 3rem}
.page-head .log{position:absolute;right:0;top:0;height:100%;width:min(46%,560px);opacity:.9;z-index:0}
@media (max-width:860px){.page-head .log{opacity:.25;width:100%}}

@media (max-width:980px){.svc-grid{grid-template-columns:repeat(2,1fr)}.steps{grid-template-columns:repeat(2,1fr)}.steps::before{display:none}}
@media (max-width:560px){.svc-grid,.steps{grid-template-columns:1fr}}
.cred .facts dt{font-size:1.9rem;white-space:nowrap}
.page-head p{max-width:46ch}
@media (max-width:860px){
  .hero .wrap{grid-template-columns:1fr;gap:2rem;padding-block:2.5rem 3rem}
}
.hero h1{font-size:clamp(2rem,3.4vw,2.75rem);line-height:1.12}

/* ===== Svolazzo visual refresh ===== */
:root{
  --ink:#102D35;
  --ink-2:#173F49;
  --teal:#3B8587;
  --teal-dark:#27686B;
  --gold:#D9BE86;
  --gold-pale:#F3EBDD;
  --mist:#EEF4F3;
  --white:#fff;
  --line:#DCE5E4;
  --text:#263B40;
  --muted:#607277;
}
*{box-sizing:border-box}
body{font-family:'DM Sans',Arial,sans-serif;color:var(--text);background:#fff;line-height:1.65}
h1,h2,h3{font-family:'Manrope',Arial,sans-serif;color:var(--ink);font-weight:800;letter-spacing:-.025em}
a{color:var(--teal-dark)}
.wrap{width:min(1160px,calc(100% - 3rem));margin-inline:auto}
.site-header{background:rgba(255,255,255,.97);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20;backdrop-filter:blur(10px)}
.site-header .wrap{padding-block:.85rem}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:2rem}
.brand{gap:.8rem}
.brand svg{width:42px;height:42px}
.brand-name{font-family:'Manrope',sans-serif;font-size:1.15rem;font-weight:800;color:var(--ink)}
.brand-name small{font-family:'DM Sans',sans-serif;font-size:.7rem;color:var(--muted);letter-spacing:.03em;text-transform:uppercase}
.nav{gap:.3rem .7rem;align-items:center}
.nav a{padding:.5rem .75rem;border:0!important;font-weight:600;font-size:.9rem;color:var(--ink)}
.nav a:hover{color:var(--teal)}
.nav .nav-cta{background:var(--ink);color:#fff;border-radius:999px;padding:.62rem 1rem}
.nav .nav-cta:hover{background:var(--teal);color:#fff}
.btn{border-radius:999px;padding:.8rem 1.25rem;border:1px solid var(--teal);font-weight:700;transition:.2s ease}
.btn-primary{background:var(--teal);border-color:var(--teal);color:#fff}
.btn-primary:hover{background:var(--teal-dark);border-color:var(--teal-dark);transform:translateY(-1px)}
.btn-quiet{background:#fff;color:var(--ink);border-color:rgba(255,255,255,.45)}
.section{padding-block:5rem}
.section-soft{background:var(--mist)}
.eyebrow{font-size:.72rem;letter-spacing:.16em;font-weight:800;color:var(--gold);margin:0 0 .9rem;text-transform:uppercase}
.eyebrow.dark{color:var(--teal-dark)}
.about-hero{background:linear-gradient(118deg,#0d2931 0%,#173F49 60%,#205A61 100%);color:#fff;position:relative;overflow:hidden}
.about-hero:before{content:"";position:absolute;width:520px;height:520px;border:1px solid rgba(217,190,134,.22);border-radius:50%;right:-150px;top:-200px;box-shadow:0 0 0 80px rgba(217,190,134,.035),0 0 0 160px rgba(217,190,134,.02)}
.about-hero-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:5rem;align-items:center;padding-block:6rem;position:relative}
.about-hero h1{color:#fff;font-size:clamp(2.7rem,5vw,4.5rem);max-width:12ch;line-height:1.03;margin-bottom:1.35rem}
.hero-copy{color:#D6E2E3;font-size:1.15rem;max-width:58ch}
.hero-pills{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1.7rem}
.hero-pills span,.credential-tags span,.capability-tags span{border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.06);border-radius:999px;padding:.35rem .7rem;font-size:.78rem;font-weight:700}
.about-hero-card{background:#fff;color:var(--text);padding:2.2rem;border-radius:18px;box-shadow:0 24px 70px rgba(0,0,0,.22);position:relative}
.monogram{width:58px;height:58px;border-radius:15px;background:var(--gold-pale);display:grid;place-items:center;color:var(--ink);font-family:'Manrope',Arial,sans-serif;font-weight:800;font-size:1.15rem;margin-bottom:2rem}
.card-kicker{font-size:.7rem;letter-spacing:.15em;font-weight:800;color:var(--teal-dark);margin-bottom:.6rem}
.about-hero-card h2{font-size:1.7rem;line-height:1.2}
.about-hero-card p:last-child{color:var(--muted);margin:0}
.about-two-col{display:grid;grid-template-columns:.72fr 1.28fr;gap:5rem}
.about-two-col h2,.credentials-layout h2{font-size:2.3rem;line-height:1.15}
.about-two-col p{font-size:1.05rem}
.section-heading.centered{text-align:center;max-width:720px;margin:0 auto 2.5rem}
.section-heading h2{font-size:2.35rem}
.principles{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}
.principle-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:1.7rem;min-height:235px;box-shadow:0 10px 30px rgba(16,45,53,.05)}
.principle-card .number{font-family:'Manrope',Arial,sans-serif;font-size:.8rem;color:var(--teal);font-weight:800;margin-bottom:2.4rem}
.principle-card h3{font-size:1.15rem;margin-bottom:.45rem}
.principle-card p{color:var(--muted);font-size:.92rem;margin:0}
.principal-profile{display:grid;grid-template-columns:.75fr 1.25fr;gap:5rem;align-items:start}
.profile-avatar{width:88px;height:88px;border-radius:24px;background:linear-gradient(145deg,var(--ink),var(--teal));color:#fff;display:grid;place-items:center;font-family:'Manrope',Arial,sans-serif;font-size:1.55rem;font-weight:800;margin-bottom:1.4rem}
.profile-side h2{font-size:2.2rem;line-height:1.15;margin-bottom:.5rem}
.role-line{font-weight:700;color:var(--teal-dark);margin-bottom:1.1rem}
.credential-tags{display:flex;gap:.5rem;flex-wrap:wrap}
.credential-tags span{border-color:var(--line);background:var(--mist);color:var(--ink);font-size:.72rem}
.profile-body{border-left:1px solid var(--line);padding-left:3rem}
.profile-body p{font-size:1.04rem}
.profile-note{background:var(--gold-pale);border-left:3px solid var(--gold);padding:1rem 1.2rem;font-size:.9rem!important}
.credentials-layout{display:grid;grid-template-columns:.75fr 1.25fr;gap:5rem}
.credential-list{border-top:1px solid var(--line)}
.credential-list div{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;padding:1rem 0;border-bottom:1px solid var(--line)}
.credential-list strong{color:var(--ink)}
.credential-list span{color:var(--muted);font-size:.94rem}
.capabilities-band{background:var(--ink);color:#fff}
.capabilities-band h2{color:#fff;font-size:2.2rem;max-width:14ch}
.capabilities-band .wrap{display:grid;grid-template-columns:.85fr 1.15fr;gap:5rem;align-items:center}
.capability-tags{display:flex;gap:.65rem;flex-wrap:wrap}
.capability-tags span{font-size:.82rem;padding:.55rem .85rem;background:rgba(255,255,255,.06)}
.band{background:var(--ink);color:#fff}
.band-inner{display:flex;justify-content:space-between;align-items:center;gap:3rem;padding-block:4rem}
.band h2{color:#fff;font-size:2rem;margin-bottom:.4rem}
.band p:not(.eyebrow){color:#BFD0D2;max-width:65ch}
.band .btn-primary{background:var(--gold);border-color:var(--gold);color:var(--ink);white-space:nowrap}
.site-footer{background:#fff;border-top:1px solid var(--line)}
.footer-inner{padding-block:1.7rem;display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.site-footer p{font-size:.82rem;color:var(--muted);margin:0}
.site-footer a{color:var(--ink)}
@media(max-width:900px){
 .about-hero-grid,.about-two-col,.principal-profile,.credentials-layout,.capabilities-band .wrap{grid-template-columns:1fr;gap:2.5rem}
 .about-hero-grid{padding-block:4.5rem}
 .about-hero h1{max-width:16ch}
 .principles{grid-template-columns:repeat(2,1fr)}
 .profile-body{border-left:0;border-top:1px solid var(--line);padding-left:0;padding-top:2rem}
}
@media(max-width:620px){
 .wrap{width:min(100% - 2rem,1160px)}
 .site-header .header-inner{align-items:flex-start;flex-direction:column}
 .nav{width:100%;overflow:auto;flex-wrap:nowrap}
 .nav a{white-space:nowrap;padding-inline:.45rem}
 .principles{grid-template-columns:1fr}
 .credential-list div{grid-template-columns:1fr;gap:.2rem}
 .band-inner{align-items:flex-start;flex-direction:column}
 .about-hero-card{padding:1.5rem}
}

/* ===== Fixes: fonts, header, mobile, band separation ===== */
:root{--serif:'Manrope',Arial,sans-serif;--sans:'DM Sans',Arial,sans-serif}
.facts dt,.project-meta strong,.steps li::before{font-weight:800;letter-spacing:-.02em}
.header-inner{flex-wrap:wrap;row-gap:.6rem}
.nav a[aria-current="page"]{color:var(--teal-dark)}
.nav .nav-cta[aria-current="page"]{background:var(--teal);color:#fff}
.capabilities-band{background:var(--ink-2)}
.btn-quiet{background:transparent}
@media (max-width:620px){
  .site-header{position:static}
  .header-inner{gap:.6rem}
  .nav{gap:.1rem .2rem}
  .nav a{padding:.45rem .5rem;font-size:.86rem}
  .nav .nav-cta{padding:.45rem .8rem}
  .brand-name small{letter-spacing:.02em}
}

/* ===== Company logo ===== */
.brand .brand-mark{width:46px;height:46px;object-fit:contain;flex:none}
.card-logo{margin:-.4rem 0 1.6rem}
.card-logo-img{width:240px;max-width:100%;height:auto}
.contact-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:2rem;box-shadow:0 12px 34px rgba(16,45,53,.05)}
.contact-logo{margin-bottom:1.2rem}
.contact-logo-img{width:150px;height:auto}
.footer-inner{align-items:center}
.footer-logo{display:block;flex:none;margin-right:.5rem}
.footer-logo-img{width:120px;height:auto}
.cta-with-mark{display:flex;gap:1.6rem;align-items:flex-start}
.cta-mark{flex:none;width:88px;height:88px;border-radius:20px;background:#fff;display:grid;place-items:center;box-shadow:0 12px 30px rgba(0,0,0,.2)}
.cta-mark img{width:64px;height:64px}
@media (max-width:620px){
  .brand .brand-mark{width:40px;height:40px}
  .cta-with-mark{flex-direction:column;gap:1rem}
  .cta-mark{width:72px;height:72px;border-radius:16px}
  .cta-mark img{width:52px;height:52px}
  .footer-inner{flex-direction:column;align-items:flex-start}
}

/* ===== Logo gold outlines ===== */
:root{--logo-gold:#BE893C;--logo-gold-bright:#DFAF52;--logo-gold-soft:rgba(190,137,60,.42)}
/* thin gold outline around every page */
html{border:5px solid var(--logo-gold);min-height:100%}
/* gold rules closing the header and opening the footer */
.site-header{border-bottom:2px solid var(--logo-gold)}
.site-footer{border-top:2px solid var(--logo-gold)}
/* gold base line under every dark page banner */
.home-hero,.about-hero,.page-head{border-bottom:3px solid var(--logo-gold)}
.hero::after{display:none}
/* current page marker in the menu */
.nav a[aria-current="page"]:not(.nav-cta){box-shadow:inset 0 -2px 0 var(--logo-gold)}
.nav .nav-cta{box-shadow:0 0 0 2px var(--logo-gold)}
/* gold outlines on cards and panels */
.home-service,.decision-card,.principle-card,.about-hero-card,.home-diagram{border:1px solid var(--logo-gold-soft)}
.home-service:hover,.decision-card:hover,.principle-card:hover{border-color:var(--logo-gold)}
.about-hero-card,.home-diagram{box-shadow:0 0 0 1px var(--logo-gold-soft),0 24px 70px rgba(0,0,0,.22)}
.contact-card{border:1px solid var(--logo-gold-soft);border-radius:16px;padding:2rem;background:#fff}
.cta-mark{box-shadow:0 0 0 2px var(--logo-gold),0 12px 30px rgba(0,0,0,.2)}
/* gold outline on pills and tags */
.hero-pills span,.capability-tags span{border-color:rgba(223,175,82,.55)}
.credential-tags span{border-color:var(--logo-gold-soft)}
/* gold rules in lists and project dividers */
.project{border-top-color:var(--logo-gold-soft)}
.credential-list,.credential-list div{border-color:var(--logo-gold-soft)}
.service-block{border-top-color:var(--logo-gold-soft)}
.note{border-left-color:var(--logo-gold)}
/* outline buttons pick up the gold on hover */
.btn:focus-visible,:focus-visible{outline-color:var(--logo-gold)}
@media (max-width:620px){html{border-width:3px}}

/* Decorative technical icons & reservoir model */
.card-icon,.service-icon,.project-icon,.contact-icon{width:34px;height:34px;flex:0 0 34px;color:var(--brine);display:block}
.card-icon{margin-bottom:.85rem}
.icon-heading{display:flex;align-items:center;gap:.8rem;margin-bottom:.5rem}
.icon-heading h2,.icon-heading h3{margin:0}
.service-block .icon-heading{align-items:flex-start}
.service-block .service-icon{width:40px;height:40px;flex-basis:40px;padding:.45rem;border-radius:12px;background:#e8f0ef;color:var(--brine-dark)}
.principle-card .card-icon{width:38px;height:38px;padding:.45rem;border-radius:12px;background:#f1e8d7;color:var(--ochre);margin-bottom:1rem}
.project-icon{width:38px;height:38px;padding:.5rem;border-radius:12px;background:#e8f0ef;color:var(--brine-dark);margin-bottom:.7rem}
.project-meta{position:relative}
.project .project-meta strong{display:block}
.page-head{position:relative;overflow:hidden}
.page-head-visual{position:absolute;right:0;top:0;width:min(48%,620px);height:100%;object-fit:cover;opacity:.96;mask-image:linear-gradient(to right,transparent 0%,black 18%,black 100%)}
.page-head .wrap{position:relative;z-index:1}
.contact-icon{width:40px;height:40px;padding:.55rem;border-radius:12px;background:#e8f0ef;color:var(--brine-dark)}
.contact-item{display:flex;gap:1rem;align-items:flex-start}
.contact-item .contact-copy{min-width:0}
.home-service .service-mark svg,.decision-card .num svg{width:25px;height:25px;display:block}
.home-service .service-mark{color:var(--brine-dark)}
.decision-card .num{width:46px;height:46px;border-radius:14px;background:#e8f0ef;display:grid;place-items:center;color:var(--brine-dark);margin-bottom:2rem}
.engagement .step{display:flex;align-items:center;gap:.55rem}
.engagement .step svg{width:23px;height:23px}
@media(max-width:950px){.page-head-visual{opacity:.22;width:65%}}
@media(max-width:620px){.page-head-visual{opacity:.12;width:100%}}

.contact-card dl dt{display:flex;align-items:center;gap:.65rem;font-weight:700}.contact-card dl .contact-icon{width:24px;height:24px;flex-basis:24px;padding:.25rem;border-radius:7px}

/* Banner model image: show whole illustration, not cropped */
.page-head-visual{object-fit:contain;object-position:right center}
@media(max-width:950px){.home-logo{margin:0 auto}}
.page-head-visual{top:1.4rem;right:2rem;height:calc(100% - 2.8rem);mask-image:none;-webkit-mask-image:none;border-radius:14px}
@media(max-width:950px){.page-head-visual{right:0;top:0;height:100%}}

/* ===== 3D reservoir model in Services / Projects banners ===== */
.page-head.has-model{overflow:visible;z-index:2}
.page-head-model{position:absolute;right:clamp(0px,2vw,2rem);bottom:-72px;width:min(50%,600px);height:auto;z-index:1;pointer-events:none;
  -webkit-mask-image:linear-gradient(to bottom,#000 72%,transparent 100%),linear-gradient(to right,transparent 0,#000 14%);
  -webkit-mask-composite:source-in;mask-image:linear-gradient(to bottom,#000 72%,transparent 100%),linear-gradient(to right,transparent 0,#000 14%);mask-composite:intersect;
  filter:drop-shadow(0 18px 28px rgba(0,0,0,.28))}
.page-head.has-model + .section{padding-top:6.5rem}
@media(max-width:950px){
  .page-head.has-model{display:flex;flex-direction:column}
  .page-head.has-model .wrap{order:1;padding-bottom:0}
  .page-head-model-wrap{order:2;display:block}
  .page-head-model{position:relative;right:auto;bottom:-40px;margin:0 auto -40px;width:min(92%,520px);display:block}
  .page-head.has-model + .section{padding-top:5rem}
}
.page-head-model{filter:none;
  -webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 9%,#000 84%,transparent 100%),linear-gradient(to right,transparent 0,#000 12%,#000 93%,transparent 100%);
  mask-image:linear-gradient(to bottom,transparent 0,#000 9%,#000 84%,transparent 100%),linear-gradient(to right,transparent 0,#000 12%,#000 93%,transparent 100%)}
