
/* SMG V30.7 FINAL ENTERPRISE POLISH — geometry, gold typography, touch stability */
:root{
  --smg-gold-1:#fff2b6;
  --smg-gold-2:#f6c44f;
  --smg-gold-3:#b77a18;
  --smg-line:rgba(246,196,79,.46);
  --smg-text:#f7f2e7;
  --smg-muted:rgba(247,242,231,.78);
  --smg-card:rgba(8,10,14,.74);
  --smg-radius:28px;
  --smg-shadow:0 22px 70px rgba(0,0,0,.44);
}
html,body{overflow-x:hidden!important;scroll-behavior:smooth;}
*{box-sizing:border-box;}
body{background:#050505!important;color:var(--smg-text)!important;}
body::before{filter:none!important;transform:none!important;}
body::after{transform:none!important;}

/* global container discipline */
.wrap,.hero .wrap,.section .wrap,main>.wrap,section.wrap{
  width:min(1180px, calc(100% - 48px))!important;
  max-width:1180px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.section{padding:clamp(56px,7vw,96px) 0!important;}
.hero{padding:clamp(54px,7vw,96px) 0!important;overflow:hidden!important;}
.heroGrid,.split,.two{display:grid!important;grid-template-columns:minmax(0,1.08fr) minmax(300px,.78fr)!important;gap:clamp(28px,4vw,56px)!important;align-items:center!important;}
.heroGrid>* ,.split>* ,.two>*{min-width:0!important;}

/* premium gold headings: every heading and card subtitle */
h1,h2,h3,h4,h5,h6,
.head h2,.card h3,.panel h2,.step b,.smg-media-card h3,
.smg-v28-admin-tile,.smg-v28-admin-tile small:first-child,
footer h3,footer h4,.smg-guardian-footer h3,.smg-guardian-footer h4,
.smg-guardian-footer strong,.smg-home-title span,
[class*="title"], [class*="Title"]{
  color:var(--smg-gold-2)!important;
  background:linear-gradient(110deg,var(--smg-gold-1) 0%,var(--smg-gold-2) 46%,var(--smg-gold-3) 100%)!important;
  -webkit-background-clip:text!important;background-clip:text!important;
  -webkit-text-fill-color:transparent!important;
  text-shadow:0 0 22px rgba(246,196,79,.22)!important;
  overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;
  text-wrap:balance;
}
p,li,span,small,td,th,label,input,textarea,select{hyphens:none!important;word-break:normal!important;}

/* serious heading scale: luxury without breaking words */
h1,.hero h1{font-size:clamp(42px,5.2vw,78px)!important;line-height:.98!important;letter-spacing:-.025em!important;max-width:850px!important;}
h2,.head h2,.section h2{font-size:clamp(32px,3.35vw,52px)!important;line-height:1.04!important;letter-spacing:-.018em!important;}
h3,.card h3,.smg-media-card h3{font-size:clamp(22px,2vw,31px)!important;line-height:1.08!important;letter-spacing:-.01em!important;}
h4,footer h4,.smg-guardian-footer h4{font-size:clamp(17px,1.22vw,21px)!important;line-height:1.2!important;}
.head p,.hero p,.lead,.muted,.card p,.step span,.panel p{color:var(--smg-muted)!important;line-height:1.55!important;}

/* main brand title — never lose O, never split inside word */
.smg-home-title{display:block!important;max-width:700px!important;margin:0 0 26px!important;font-size:clamp(42px,4.8vw,74px)!important;line-height:.96!important;letter-spacing:-.018em!important;white-space:normal!important;}
.smg-home-title span{display:block!important;white-space:nowrap!important;word-break:keep-all!important;overflow-wrap:normal!important;max-width:100%!important;}
.smg-home-title span:first-child::after{content:""!important;}
.smg-home-title span:first-child{font-size:.96em!important;}
.smg-home-title span:nth-child(2),.smg-home-title span:nth-child(3){font-size:.92em!important;}

/* hero card text stability */
.hero .panel h2,.hero aside h2{font-size:clamp(28px,2.35vw,40px)!important;line-height:1.08!important;white-space:normal!important;max-width:100%!important;}
.hero .panel,.hero aside.panel{min-width:0!important;overflow:hidden!important;padding:clamp(24px,3vw,40px)!important;}
.hero .panel h2 br{display:none!important;}

/* cards / modules: exact grid rhythm */
.grid,.steps,.smg-media-grid,.executive-photo-grid,.smg-v28-admin-grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr))!important;
  gap:clamp(20px,2.4vw,30px)!important;
  align-items:stretch!important;
}
.card,.step,.panel,.smg-media-card,.smg-v28-admin-tile,
.smg-guardian-footer .wrap>div,.smg-guardian-footer article,
footer .wrap>div, footer article{
  background:linear-gradient(145deg,rgba(10,12,17,.86),rgba(5,5,5,.66))!important;
  border:1px solid var(--smg-line)!important;
  border-radius:var(--smg-radius)!important;
  box-shadow:var(--smg-shadow)!important;
  padding:clamp(22px,2.3vw,32px)!important;
  min-width:0!important;
  transform:none!important;
  min-height:unset!important;
}
a.card,.smg-v28-admin-tile{cursor:pointer!important;text-decoration:none!important;transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease!important;}
a.card:hover,.smg-v28-admin-tile:hover{transform:translateY(-3px)!important;border-color:rgba(255,216,105,.78)!important;box-shadow:0 28px 90px rgba(0,0,0,.55),0 0 34px rgba(246,196,79,.16)!important;}
.card .tag,.tag,.kicker,.eyebrow,.smg-media-type{
  color:var(--smg-gold-1)!important;border-color:var(--smg-line)!important;letter-spacing:.08em!important;text-transform:uppercase!important;
}
.card h3,.step b{display:block!important;margin:10px 0 10px!important;}
.step{display:flex!important;align-items:flex-start!important;justify-content:flex-start!important;min-height:126px!important;}
.steps{grid-template-columns:repeat(4,minmax(0,1fr))!important;}

/* section headers alignment */
.head{margin:0 0 clamp(24px,3vw,38px)!important;max-width:900px!important;}
.head h2{margin:0 0 14px!important;}
.head p{margin:0!important;}
.section .wrap>.head,.section .wrap>h2,.section .wrap>p:first-child{padding-left:0!important;}

/* forms and buttons */
input,textarea,select{background:rgba(2,2,3,.72)!important;border:1px solid var(--smg-line)!important;border-radius:18px!important;color:#fff!important;min-height:52px!important;}
textarea{min-height:140px!important;}
.btn,button,.button,[class*="btn"]{
  border-radius:999px!important;min-height:46px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;white-space:nowrap!important;
  touch-action:manipulation!important;
}
.btn:not(.ghost),button.btn:not(.ghost),.primary{
  background:linear-gradient(135deg,#fff0a8 0%,#f7bd33 45%,#a96508 100%)!important;color:#080808!important;border:1px solid rgba(255,220,113,.72)!important;
}
.btn.ghost,.secondary{background:rgba(0,0,0,.38)!important;color:var(--smg-gold-1)!important;border:1px solid var(--smg-line)!important;}
.actions,.btnrow,.btns{display:flex!important;flex-wrap:wrap!important;gap:14px!important;align-items:center!important;}

/* header/menu */
.smg-guardian-header{position:sticky!important;top:0!important;z-index:1000!important;backdrop-filter:blur(18px)!important;background:rgba(5,5,5,.88)!important;border-bottom:1px solid rgba(246,196,79,.22)!important;}
.smg-guardian-links{gap:clamp(12px,1.5vw,24px)!important;align-items:center!important;}
.smg-guardian-links a{white-space:nowrap!important;}
.smg-guardian-menu{display:none!important;}

/* footer final polish */
.smg-guardian-footer,footer.smg-guardian-footer{padding:clamp(48px,6vw,78px) 0 36px!important;border-top:1px solid rgba(246,196,79,.34)!important;}
.smg-guardian-footer .wrap,footer.smg-guardian-footer .wrap{
  display:grid!important;grid-template-columns:1.3fr .9fr .9fr 1.15fr!important;gap:clamp(20px,2.4vw,30px)!important;align-items:stretch!important;
}
.smg-guardian-footer a,footer a{color:#fff!important;text-decoration:none!important;}
.smg-guardian-footer a:hover,footer a:hover{color:var(--smg-gold-1)!important;}
.smg-guardian-footer h3,.smg-guardian-footer h4{margin-top:0!important;margin-bottom:14px!important;}
.smg-guardian-footer p,.smg-guardian-footer li{color:var(--smg-muted)!important;}
.smg-final-copyright{width:min(1180px,calc(100% - 48px));margin:28px auto 0!important;padding-top:18px;border-top:1px solid rgba(246,196,79,.22);color:rgba(247,242,231,.7);font-size:13px;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;}
.smg-final-copyright a{color:var(--smg-gold-1)!important;}

/* prevent horizontal crop on laptop/tablet */
@media (max-width:1180px){
  .wrap,.hero .wrap,.section .wrap,main>.wrap,section.wrap{width:min(1080px,calc(100% - 36px))!important;}
  .heroGrid,.split,.two{grid-template-columns:minmax(0,1fr)!important;}
  .hero .panel,.hero aside.panel{max-width:760px!important;}
  .steps{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .smg-home-title{font-size:clamp(40px,7vw,68px)!important;}
}
@media (max-width:760px){
  .wrap,.hero .wrap,.section .wrap,main>.wrap,section.wrap{width:calc(100% - 28px)!important;}
  .hero{padding:40px 0!important;}
  h1,.hero h1,.smg-home-title{font-size:clamp(38px,12vw,54px)!important;line-height:1!important;}
  h2,.head h2,.section h2{font-size:clamp(30px,9vw,42px)!important;}
  h3,.card h3,.smg-media-card h3{font-size:clamp(22px,7vw,30px)!important;}
  .grid,.steps,.smg-media-grid,.executive-photo-grid,.smg-v28-admin-grid{grid-template-columns:1fr!important;}
  .smg-guardian-menu{display:inline-flex!important;}
  .smg-guardian-links{display:none!important;}
  .smg-guardian-links.open{display:flex!important;flex-direction:column!important;align-items:stretch!important;position:absolute!important;left:14px!important;right:14px!important;top:100%!important;background:rgba(5,5,5,.96)!important;border:1px solid var(--smg-line)!important;border-radius:22px!important;padding:18px!important;}
  .smg-guardian-footer .wrap,footer.smg-guardian-footer .wrap{grid-template-columns:1fr!important;}
  .smg-final-copyright{width:calc(100% - 28px);}
  .actions,.btnrow,.btns{align-items:stretch!important;}
  .btn,.button,button{width:auto!important;}
}
