/* pages/ai-engineering.css — styles unique to this page (shared rules live in core.css + components.css) */

/* ============================================================
   BASE / RESET
   ============================================================ */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

:root{
  --sas-orange:#F94C30;
  --sas-orange-dk:#D93B20;
  --sas-orange-lt:#FF6D54;
  --sas-purple:#34005F;
  --sas-purple-lt:#5A2D8A;
  --bg:#FFFBF7;
  --bg-warm:#FFF8F2;
  --bg-cream:#FEF5EC;
  --surface:#FFFFFF;
  --text:#1A1210;
  --text-2:#574F46;
  --text-3:#9A918A;
  --sh-sm:0 2px 8px rgba(52,0,95,.05);
  --sh-md:0 8px 24px rgba(52,0,95,.08),0 2px 8px rgba(52,0,95,.04);
  --sh-lg:0 20px 50px rgba(52,0,95,.1),0 6px 16px rgba(52,0,95,.05);
  --sh-ora:0 10px 32px rgba(249,76,48,.22);
  --sh-pur:0 10px 32px rgba(52,0,95,.2);
}

html{scroll-behavior:smooth}

body{
  font-family:'Trebuchet MS','Source Sans 3',sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.65;
  overflow-x:hidden;
}

body::before{
  content:'';
  position:fixed;inset:0;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events:none;z-index:9999;opacity:.3;
}

h1,h2,h3,h4{font-family:'DM Serif Display',serif;font-weight:400;line-height:1.1;letter-spacing:-.02em}

.container{max-width:1240px;margin:0 auto;padding:0 40px}

/* Gradient text */
.grad-inline{
  background:linear-gradient(135deg,var(--sas-orange) 0,#FF8C6A 100%);
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;
  background-clip:text;
  display:inline;
  -webkit-box-decoration-break:clone;
  box-decoration-break:clone;
  font-style:italic;
  padding-right:.1em;
}

.grad-it{
  display:inline-block;font-style:italic;
  background:linear-gradient(135deg,var(--sas-orange) 0,#FF8C6A 100%);
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;
  background-clip:text;
  padding:0 0.25em 0.3em 0;margin:0 -0.25em -0.3em 0;line-height:1.1;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar{position:fixed;top:0;left:0;right:0;z-index:1000}

.navbar-shell{
  background:rgba(255,251,247,.93);
  backdrop-filter:blur(28px) saturate(1.8);
  -webkit-backdrop-filter:blur(28px) saturate(1.8);
  border-bottom:1px solid rgba(52,0,95,.1);
  box-shadow:0 1px 0 rgba(255,255,255,.9),0 2px 16px rgba(52,0,95,.05);
}

.navbar-inner{max-width:1240px;margin:0 auto;width:100%;display:flex;align-items:center;height:72px;padding:0 40px}

.logo{flex-shrink:0;display:flex;align-items:center;text-decoration:none}

.logo img{height:42px;display:block}

.nav-spacer{flex:1}

.nav-links{display:flex;align-items:center;gap:2px;list-style:none;flex-shrink:0}

.nav-links li{position:relative}

.nav-links a{
  text-decoration:none;font-weight:600;font-size:.87rem;
  font-family:'Trebuchet MS',sans-serif;
  padding:9px 16px;border-radius:8px;
  transition:all .2s ease;color:var(--text-2);
  display:flex;align-items:center;gap:6px;letter-spacing:.01em;
}

.nav-links a:hover{color:var(--sas-orange);background:rgba(249,76,48,.06)}

.nav-cta{
  background:linear-gradient(135deg,var(--sas-orange),var(--sas-orange-dk))!important;
  color:#fff!important;box-shadow:var(--sh-ora)!important;
  border-radius:9px!important;margin-left:6px;
}

.nav-cta:hover{
  background:linear-gradient(135deg,var(--sas-orange-dk),#BB3010)!important;
  transform:translateY(-1px)!important;
  box-shadow:0 14px 28px rgba(249,76,48,.3)!important;
}

.has-dropdown{position:relative}

.dropdown-menu{
  position:absolute;top:calc(100% + 8px);left:0;min-width:210px;
  background:rgba(255,251,247,.97);backdrop-filter:blur(20px);
  border:1px solid rgba(52,0,95,.1);border-radius:13px;padding:8px;
  opacity:0;visibility:hidden;transform:translateY(6px);
  transition:all .22s cubic-bezier(.4,0,.2,1);box-shadow:var(--sh-lg);
}

.has-dropdown:hover .dropdown-menu{opacity:1;visibility:visible;transform:translateY(0)}

.dropdown-menu a{display:block;padding:9px 14px;border-radius:7px;font-size:.84rem;color:var(--text-2)}

.dropdown-menu a:hover{background:rgba(249,76,48,.06);color:var(--sas-orange)}

.nav-toggle{display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;padding:8px;margin-left:auto}

.nav-toggle span{display:block;width:22px;height:2px;background:var(--text);border-radius:2px;transition:all .3s ease}

.nav-toggle.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}

.nav-toggle.open span:nth-child(2){opacity:0}

.nav-toggle.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

.mobile-nav{
  display:none;position:absolute;top:72px;left:0;right:0;
  background:rgba(255,251,247,.98);backdrop-filter:blur(20px);
  border-bottom:1px solid rgba(52,0,95,.1);
  padding:12px 24px 20px;box-shadow:0 20px 40px rgba(52,0,95,.08);
}

.mobile-nav.open{display:block}

.mobile-nav a{
  display:block;padding:12px 8px;
  border-bottom:1px solid rgba(52,0,95,.06);
  font-size:.92rem;font-weight:600;color:var(--text-2);
  text-decoration:none;font-family:'Trebuchet MS',sans-serif;
}

.mobile-nav a:hover{color:var(--sas-orange)}

.mobile-nav a.mob-cta{
  background:linear-gradient(135deg,var(--sas-orange),var(--sas-orange-dk));
  color:#fff;border-radius:9px;text-align:center;
  border:none;margin-top:12px;padding:13px;display:block;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}

@keyframes pulseDot{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.4;transform:scale(.7)}}

/* ============================================================
   HERO
   ============================================================ */
:root{ --nav-h: 72px; }

.hero-decorations{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0}

.hero-amb{
  position:absolute;inset:0;
  background:
    radial-gradient(ellipse 65% 55% at 85% 50%,rgba(52,0,95,.05) 0,transparent 60%),
    radial-gradient(ellipse 50% 45% at 10% 80%,rgba(249,76,48,.06) 0,transparent 55%),
    radial-gradient(ellipse 60% 40% at 50% 0%,rgba(255,248,240,.95) 0,transparent 60%);
}

.hero-dots{
  position:absolute;inset:0;
  background-image:radial-gradient(circle,rgba(52,0,95,.1) 1px,transparent 1px);
  background-size:44px 44px;
  mask-image:radial-gradient(ellipse 75% 80% at 75% 50%,black 0,transparent 75%);
  -webkit-mask-image:radial-gradient(ellipse 75% 80% at 75% 50%,black 0,transparent 75%);
}

.hero-content{
  position:relative;z-index:2;
  display:grid;grid-template-columns:1fr 1fr;
  gap:64px;align-items:center;width:100%;
}

.hero-kicker{
  display:inline-flex;align-items:center;gap:10px;
  padding:7px 16px 7px 12px;
  background:rgba(255,255,255,.85);
  border:1px solid rgba(52,0,95,.12);
  border-radius:40px;font-size:.75rem;font-weight:700;
  text-transform:uppercase;letter-spacing:.08em;
  color:var(--sas-purple);margin-bottom:24px;
  box-shadow:var(--sh-pur);
  animation:fadeUp .8s ease-out both;
  font-family:'Trebuchet MS',sans-serif;
}

.pulse-dot{
  width:7px;height:7px;border-radius:50%;
  background:var(--sas-orange);
  animation:pulseDot 2s ease-in-out infinite;
  flex-shrink:0;
}

.hero-text{overflow:visible}

.hero-h1{
  font-size:clamp(2.4rem,4.2vw,4.2rem);
  color:var(--text);margin-bottom:28px;
  letter-spacing:-.035em;line-height:1.25;
  overflow:visible;animation:fadeUp .8s ease-out .15s both;
}

.hero-desc{
  font-size:1rem;color:var(--text-2);
  line-height:1.85;margin-bottom:36px;
  animation:fadeUp .8s ease-out .3s both;
}

.hero-btns{display:flex;gap:12px;flex-wrap:wrap;animation:fadeUp .8s ease-out .45s both}

/* Buttons */
.btn{
  display:inline-flex;align-items:center;gap:10px;
  padding:13px 26px;border-radius:10px;
  font-weight:600;font-size:.92rem;
  font-family:'Trebuchet MS',sans-serif;
  text-decoration:none;
  transition:all .3s cubic-bezier(.4,0,.2,1);
  letter-spacing:.02em;position:relative;overflow:hidden;
  white-space:nowrap;cursor:pointer;border:none;
}

.btn-primary{
  background:linear-gradient(135deg,var(--sas-orange),var(--sas-orange-dk));
  color:#fff;box-shadow:var(--sh-ora);
}

.btn-primary::after{
  content:'';position:absolute;top:0;left:-100%;
  width:60%;height:100%;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent);
  transition:left .5s ease;
}

.btn-primary:hover::after{left:150%}

.btn-primary:hover{transform:translateY(-2px);box-shadow:0 14px 32px rgba(249,76,48,.3)}

.btn-outline{
  background:rgba(255,255,255,.8);color:var(--sas-purple);
  border:1.5px solid rgba(52,0,95,.2);backdrop-filter:blur(8px);
}

.btn-outline:hover{border-color:var(--sas-purple);background:rgba(255,255,255,.95);transform:translateY(-2px);box-shadow:var(--sh-pur)}

/* Hero visual */
.hero-visual{animation:fadeUp .8s ease-out .2s both}

.hero-vis-card{
  background:rgba(255,255,255,.85);
  border:1px solid rgba(52,0,95,.1);
  border-radius:22px;padding:28px;
  backdrop-filter:blur(16px);
  box-shadow:var(--sh-md);
  position:relative;overflow:hidden;
}

.hero-vis-card::before{
  content:'';position:absolute;top:0;left:10px;right:10px;height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.95),transparent);
}

.hero-vis-card::after{
  content:'';position:absolute;top:-30px;right:-30px;
  width:180px;height:180px;
  background:radial-gradient(circle,rgba(52,0,95,.05) 0,transparent 70%);
  border-radius:50%;pointer-events:none;
}

.hero-img-wrap{
  border-radius:14px;overflow:hidden;
  margin-bottom:16px;
  border:1px solid rgba(52,0,95,.08);
}

.hero-img-wrap img{width:100%;display:block;aspect-ratio:16/10;object-fit:cover}

.hero-vis-footer{display:flex;align-items:center;gap:14px}

.hero-vis-icon{
  width:46px;height:46px;border-radius:12px;flex-shrink:0;
  background:linear-gradient(135deg,var(--sas-orange),var(--sas-orange-lt));
  display:flex;align-items:center;justify-content:center;
  color:#fff;font-size:1.1rem;
  box-shadow:0 6px 16px rgba(249,76,48,.28);position:relative;
}

.hero-vis-icon::after{
  content:'';position:absolute;top:3px;left:7px;right:7px;height:38%;
  background:linear-gradient(to bottom,rgba(255,255,255,.22),transparent);
  border-radius:7px 7px 0 0;
}

.hero-vis-label strong{display:block;font-family:'DM Serif Display',serif;font-size:.95rem;color:var(--text)}

.hero-vis-label span{font-size:.78rem;color:var(--text-3)}

/* ============================================================
   SECTION COMMONS
   ============================================================ */
.svc-section{padding:80px 0;position:relative;overflow:hidden}

.svc-section::before{
  content:'';position:absolute;top:0;left:0;right:0;height:1px;
  background:linear-gradient(90deg,transparent,rgba(52,0,95,.12),transparent);
}

.svc-section.bg-warm{background:var(--bg-warm)}

.svc-section.bg-cream{background:var(--bg-cream)}

.svc-section.bg-white{background:#fff}

.sec-header{margin-bottom:50px;position:relative;z-index:2}

.sec-header.center{text-align:center}

.sec-kicker{
  display:flex;align-items:center;gap:10px;
  font-size:.71rem;font-weight:700;
  text-transform:uppercase;letter-spacing:4px;
  color:var(--sas-purple);margin-bottom:8px;
  font-family:'Trebuchet MS',sans-serif;
}

.sec-kicker-line{
  width:22px;height:2px;
  background:linear-gradient(to right,var(--sas-orange),var(--sas-purple));
  border-radius:2px;flex-shrink:0;
}

.sec-header.center .sec-kicker{justify-content:center}

.sec-title{
  font-family:'DM Serif Display',serif;
  font-size:clamp(1.8rem,3vw,2.6rem);
  color:var(--text);letter-spacing:-.03em;margin-bottom:12px;
}

.sec-sub{
  font-size:.95rem;color:var(--text-2);
  max-width:800px;margin:0 auto;line-height:1.7;
}

/* ============================================================
   INTRO / HOW WE DELIVER  (split-grid style)
   ============================================================ */
.split-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:start}

.intro-text-block{font-size:1.05rem;color:var(--text-2);line-height:1.8}

.intro-text-block p{margin-bottom:20px}

.intro-text-block p:last-child{margin-bottom:0}

.intro-cap-list{display:flex;flex-direction:column;gap:0}

.intro-cap-row{
  display:flex;align-items:flex-start;gap:16px;
  padding:18px 0;border-bottom:1px solid rgba(52,0,95,.07);
  transition:all .2s;
}

.intro-cap-row:first-child{border-top:1px solid rgba(52,0,95,.07)}

.icr-icon{
  width:46px;height:46px;border-radius:12px;
  background:rgba(52,0,95,.07);
  border:1px solid rgba(52,0,95,.1);
  display:flex;align-items:center;justify-content:center;
  color:var(--sas-purple);font-size:.9rem;
  flex-shrink:0;transition:all .3s ease;
}

.intro-cap-row:hover .icr-icon{
  background:linear-gradient(135deg,var(--sas-orange),var(--sas-orange-lt));
  color:#fff;border-color:transparent;
  box-shadow:0 6px 16px rgba(249,76,48,.25);
}

.icr-body{flex:1;padding-top:2px}

.icr-body strong{display:block;font-size:.88rem;font-weight:700;color:var(--text);margin-bottom:4px}

.icr-body span{font-size:.82rem;color:var(--text-3);line-height:1.6}

/* ============================================================
   HOW WE SEE GENERATIVE AI — PREMIUM REDESIGN
   ============================================================ */
.genai-vision {
  margin-top: 2rem;
  min-width: 0;
  width: 100%;
}

/* PREMIUM PILLS NAVIGATION (Glass Dock Style) */
.vision-pills-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: 0 auto 3.5rem;
  padding: 10px 24px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(52,0,95,.05), inset 0 2px 4px rgba(255,255,255,0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  width: fit-content;
  max-width: 100%;
}

.vision-pills-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--sas-purple);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-right: 0.5rem;
  opacity: 0.8;
}

.vision-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.vision-pill-wrap {
  position: relative;
}

.vision-pill {
  padding: 12px 24px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-2);
  font-family: 'Trebuchet MS', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 40px !important;
}

.vision-pill:hover:not([aria-selected="true"]) {
  background: rgba(249,76,48,.04);
  color: var(--sas-orange);
}

.vision-pill[aria-selected="true"] {
  background: linear-gradient(135deg, var(--sas-orange), var(--sas-orange-dk));
  color: #fff;
  box-shadow: 0 8px 20px rgba(249,76,48,.3);
  transform: translateY(-1px);
}

/* =====================================================
   GRID LAYOUT
   ===================================================== */
.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: stretch;
  position: relative;
  width: 100%;
}

.vision-grid-left {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0;
  transform: translateZ(0);
}

/* FADED BLUEPRINT GRID WITH GLOW */
.vision-grid-left::before {
  content: '';
  position: absolute;
  inset: -40px;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(52,0,95, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(52,0,95, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  pointer-events: none;
}

.vision-grid-left::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(249,76,48,0.15) 0%, transparent 65%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

/* =====================================================
   PREMIUM PYRAMID (Focus effect applied)
   ===================================================== */
.pyramid {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 520px;
  height: 580px;
  gap: 0;
  position: relative;
  z-index: 2;
  /* Adds a beautiful shadow to the overall pyramid shape */
  filter: drop-shadow(0 15px 35px rgba(52,0,95,0.1)); 
}

/* Pyramid focus state: lower opacity of non-hovered elements */
.pyramid:hover .pyramid-layer:not(:hover):not([aria-selected="true"]) {
  opacity: 0.65;
  filter: grayscale(0.3);
}

.pyramid-layer {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(240,232,245,0.9) 100%);
  color: var(--text);
  font-family: 'Trebuchet MS', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-sizing: border-box;
  clip-path: polygon(8% 0%, 92% 0%, 100% 100%, 0% 100%);
  margin-bottom: -2px; /* Slight overlap */
  backdrop-filter: blur(10px);
}

/* Individual Layer Overrides */
.pyramid-layer[data-layer="action_decisions"] {
  width: 38%; height: 100px; font-size: 0.7rem;
  clip-path: polygon(15% 0%, 85% 0%, 100% 100%, 0% 100%);
}

.pyramid-layer[data-layer="intelligence"] {
  width: 52%; height: 100px; font-size: 0.78rem;
  clip-path: polygon(10% 0%, 90% 0%, 100% 100%, 0% 100%);
}

.pyramid-layer[data-layer="analysis_insights"] {
  width: 68%; height: 110px; font-size: 0.82rem;
  clip-path: polygon(8% 0%, 92% 0%, 100% 100%, 0% 100%);
}

.pyramid-layer[data-layer="system_of_records"] {
  width: 84%; height: 120px; font-size: 0.88rem;
  clip-path: polygon(5% 0%, 95% 0%, 100% 100%, 0% 100%);
}

.pyramid-layer[data-layer="raw_data"] {
  width: 100%; height: 150px; font-size: 0.92rem;
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
  border-radius: 0 0 16px 16px;
}

/* Active / Hover State */
.pyramid-layer:hover,
.pyramid-layer[aria-selected="true"] {
  background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(255,235,230,0.95) 100%);
  color: var(--sas-orange-dk);
  z-index: 3;
}

.pyramid-layer-label {
  display: block;
  font-weight: 800;
  white-space: nowrap;
  text-align: center;
  line-height: 1.2;
  font-size: inherit;
  color: inherit;
  z-index: 1;
  padding: 0 10px;
}

.pyramid-layer-icons { display: none; }

/* =====================================================
   ANIMATED CONNECTOR
   ===================================================== */
.vision-connector-wrap {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 1;
}

.vision-connector {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.vision-connector line {
  stroke: url(#connector-gradient);
  stroke-width: 2.5;
  stroke-dasharray: 8 6;
  animation: dataFlow 1.5s linear infinite;
  transition: all 0.3s ease;
}

@keyframes dataFlow {
  from { stroke-dashoffset: 28; }
  to { stroke-dashoffset: 0; }
}

/* =====================================================
   PREMIUM TILE (Glassmorphism & Rich Styling)
   ===================================================== */
.vision-tile-wrap {
  display: flex;
  justify-content: stretch;
  align-items: center;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  position: relative;
  z-index: 2;
}

.vision-tile {
  background: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(255,255,255,0.7));
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255,255,255,0.9);
  padding: 3.5rem 3rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  border-radius: 32px;
  box-shadow: 
    0 30px 60px rgba(52,0,95,0.08),
    inset 0 0 0 1px rgba(255,255,255,0.6);
  position: relative;
  overflow: hidden;
  height: 580px; /* MATCHED with pyramid */
  transition: all 0.4s ease;
}

/* Elegant gradient top bar */
.vision-tile::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, var(--sas-orange), #FF8C6A, var(--sas-purple));
  border-radius: 32px 32px 0 0;
}

.vision-tile-title {
  font-family: 'DM Serif Display', serif;
  font-size: 2.2rem;
  margin: 0 0 0.5rem 0;
  color: var(--text);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.vision-tile-subtitle {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--sas-orange);
  margin: 0 0 1.5rem 0;
  font-weight: 700;
  font-family: 'Trebuchet MS', sans-serif;
  display: flex;
  align-items: center;
  gap: 16px;
}

.vision-tile-subtitle::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(249,76,48,.2), transparent);
}

.vision-tile-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-2);
  margin-bottom: 2rem;
  min-height: 80px;
}

/* Modern inline highlights */
.vision-tile-body .vision-tile-highlight {
  background: rgba(249,76,48,.06);
  color: var(--sas-orange-dk);
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 600;
  border: 1px solid rgba(249,76,48,.15);
  box-shadow: 0 2px 4px rgba(249,76,48,.05);
  display: inline;
}

.vision-tile-deliverables {
  list-style: none;
  padding-left: 0;
  margin: 0 0 2rem 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-2);
  min-height: 140px;
  flex: 1;
  overflow-y: auto;
}

.vision-tile-deliverables li {
  margin-bottom: 0.75rem;
  padding-left: 2rem;
  position: relative;
  font-weight: 500;
}

/* Glowing Checkmarks */
.vision-tile-deliverables li::before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--sas-orange);
  font-size: 1.1rem;
  filter: drop-shadow(0 2px 4px rgba(249,76,48,0.3));
}

.vision-tile-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(52,0,95,.08);
}

.vision-tile-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(52,0,95,.08);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--sas-purple);
  font-family: 'Trebuchet MS', sans-serif;
  box-shadow: 0 4px 12px rgba(52,0,95,.04);
  transition: all 0.3s ease;
}

.vision-tile-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(52,0,95,.08);
  border-color: rgba(52,0,95,.15);
}

.vision-tile-chip img {
  width: 16px;
  height: 16px;
  opacity: 0.8;
  filter: invert(20%) sepia(60%) saturate(400%) hue-rotate(220deg);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1100px) {
  .vision-grid { gap: 2rem; }
  .pyramid { max-width: 450px; height: 520px; }
  .vision-tile { min-height: 520px; height: 520px; padding: 2.5rem 2rem; }
  .vision-tile-title { font-size: 1.8rem; }
  .pyramid-layer[data-layer="action_decisions"] { height: 85px; }
  .pyramid-layer[data-layer="intelligence"] { height: 90px; }
  .pyramid-layer[data-layer="analysis_insights"] { height: 100px; }
  .pyramid-layer[data-layer="system_of_records"] { height: 110px; }
  .pyramid-layer[data-layer="raw_data"] { height: 135px; }
}

@media (max-width: 900px) {
  .vision-pills-row {
    flex-direction: column;
    align-items: stretch;
    border-radius: 24px;
    padding: 16px;
    width: 100%;
  }
  .vision-pills-label { margin-right: 0; margin-bottom: 0.75rem; text-align: center; }
  .vision-pills { flex-direction: column; width: 100%; gap: 8px;}
  .vision-pill { width: 100%; text-align: center; }
  
  .vision-grid { grid-template-columns: 1fr; gap: 2rem; }
  .vision-connector-wrap { display: none; }
  .vision-grid-left { order: 1; padding: 1rem 0; }
  .vision-tile-wrap { order: 2; }
  
  /* Stack layers vertically on mobile */
  .pyramid { max-width: 100%; height: auto; padding: 0; filter: none; }
  .pyramid:hover .pyramid-layer:not(:hover):not([aria-selected="true"]) { opacity: 1; filter: none; }
  
  .pyramid-layer { 
    width: 100% !important; 
    height: auto !important;
    border-radius: 16px !important; 
    margin-bottom: 12px; 
    padding: 20px !important; 
    clip-path: none !important; 
    border: 1px solid rgba(52,0,95,.1);
    box-shadow: 0 4px 12px rgba(52,0,95,.05);
  }
  .pyramid-layer-label { white-space: normal; }
  
  .vision-tile { padding: 2rem; height: auto; min-height: auto; }
  .vision-tile-title { font-size: 1.6rem; }
}

/* ============================================================
   ACCELERATORS — TABS
   ============================================================ */
#our-accelerators {
  position: relative;
  z-index: 1;
}

/* Premium Segmented Tab Bar */
.tab-row {
  display: flex; justify-content: center; gap: 8px;
  margin: 0 auto 48px; padding: 8px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(52, 0, 95, 0.08);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(52, 0, 95, 0.04);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  flex-wrap: wrap; max-width: fit-content;
}

.tab-btn {
  padding: 12px 24px; border-radius: 10px; border: 1px solid transparent;
  background: transparent; font-size: 0.8rem; font-weight: 700;
  font-family: 'Trebuchet MS', sans-serif; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--text-2); cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex; align-items: center; gap: 8px;
}

.tab-btn i { font-size: 0.85rem; opacity: 0.6; transition: opacity 0.3s; }

.tab-btn:hover { color: var(--sas-orange); background: rgba(249, 76, 48, 0.04); }

.tab-btn:hover i { opacity: 1; }

.tab-btn.active {
  background: linear-gradient(135deg, var(--sas-orange), var(--sas-orange-dk));
  color: #fff; border-color: rgba(249, 76, 48, 0.2);
  box-shadow: 0 8px 24px rgba(249, 76, 48, 0.25); transform: translateY(-2px);
}

.tab-btn.active i { opacity: 1; }

/* Smooth Tab Transitions */
.tab-pane { display: none; animation: fadeScaleUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

.tab-pane.active { display: block; }

@keyframes fadeScaleUp {
  0% { opacity: 0; transform: translateY(20px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* HORIZONTAL CARD LAYOUT */
.accel-card {
  background: #ffffff;
  border: 1px solid rgba(52, 0, 95, 0.08);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(52, 0, 95, 0.08), 0 4px 12px rgba(52, 0, 95, 0.02);
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Gradient shimmer top line */
.accel-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--sas-orange), #FF8C6A, var(--sas-purple), var(--sas-orange));
  background-size: 200% auto; animation: gradientShimmer 6s linear infinite; z-index: 10;
}

@keyframes gradientShimmer { 0% { background-position: 0% center; } 100% { background-position: 200% center; } }

/* Desktop Specific Constraints */
@media (min-width: 992px) {
  .accel-card-header { width: 55%; padding: 48px 48px 16px 48px !important; border-bottom: none !important; }
  .accel-card-body { width: 55%; padding: 0 48px 48px 48px !important; }
  
  .accel-grid { display: block !important; margin-bottom: 0 !important; }
  .accel-grid > div:first-child { margin-bottom: 36px; }
  
  .accel-img-box {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 48px;
    width: calc(45% - 48px);
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border: none;
  }
}

/* Header contents */
.accel-card-header {
  padding: 32px 24px 16px;
  display: flex; align-items: center; gap: 24px; border-bottom: none;
}

.accel-card-icon {
  width: 76px; height: 76px; border-radius: 20px;
  background: linear-gradient(135deg, var(--sas-orange), var(--sas-orange-lt));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 2rem; flex-shrink: 0; position: relative;
  box-shadow: 0 16px 32px rgba(249, 76, 48, 0.3);
}

.accel-card-icon::after {
  content: ''; position: absolute; top: 3px; left: 8px; right: 8px; height: 35%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  border-radius: 12px 12px 0 0;
}

.accel-card-title {
  font-family: 'DM Serif Display', serif; font-size: 2.4rem;
  color: var(--text); line-height: 1.1; margin-bottom: 8px;
}

.accel-card-tag {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--sas-orange);
  font-family: 'Trebuchet MS', sans-serif; display: inline-flex;
  align-items: center; padding: 6px 14px;
  background: rgba(249, 76, 48, 0.08); border-radius: 8px;
}

/* Body and Typography */
.accel-card-body > p {
  font-size: 1.15rem; color: var(--text-2); line-height: 1.7;
  margin-bottom: 32px;
}

/* Features Block */
.accel-features-label {
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--sas-purple); margin-bottom: 20px;
  font-family: 'Trebuchet MS', sans-serif; display: flex; align-items: center; gap: 16px;
}

.accel-features-label::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, rgba(52,0,95,0.1), transparent);
}

.cap-pills { display: flex; flex-wrap: wrap; gap: 12px; }

.cap-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 30px;
  background: #ffffff; border: 1px solid rgba(52, 0, 95, 0.12);
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--sas-purple);
  font-family: 'Trebuchet MS', sans-serif; box-shadow: 0 4px 12px rgba(52,0,95,0.02);
}

.cap-pill.core {
  background: rgba(249, 76, 48, 0.03);
  border-color: rgba(249, 76, 48, 0.25);
  color: var(--sas-orange);
}

.cap-pill.core::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--sas-orange); flex-shrink: 0; box-shadow: 0 0 6px var(--sas-orange);
}

/* Image Frame */
.accel-img-box {
  border-radius: 20px; overflow: hidden;
  background: var(--bg-cream);
  border: 1px solid rgba(52, 0, 95, 0.06);
  display: flex; align-items: center; justify-content: center;
  padding: 16px; box-shadow: inset 0 0 40px rgba(255,255,255,0.6);
}

.accel-img-box img, 
.accel-img-box .accel-img-placeholder {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 12px; 
  box-shadow: 0 8px 30px rgba(52, 0, 95, 0.08);
  background: var(--bg-cream);
  padding: 16px;
}

.accel-img-placeholder {
  font-size: 1.1rem; color: var(--sas-purple); padding: 24px; text-align: center;
  font-family: 'DM Serif Display', serif;
}

/* CTA Alignment */
.accel-cta-wrap {
  border-top: none; padding-top: 0; text-align: left;
}

.accel-img-box .accel-cta-wrap {
  margin-top: 24px;
  text-align: center;
}

.accel-cta-wrap .btn-primary {
  padding: 15px 32px; font-size: 0.95rem; border-radius: 12px;
  box-shadow: 0 12px 28px rgba(249, 76, 48, 0.3);
}

/* Responsive Fallbacks */
@media (max-width: 991px) {
  .accel-grid { display: flex; flex-direction: column; gap: 32px; margin-bottom: 0; } 
  .accel-img-box { 
    position: relative; 
    width: 100%; 
    height: auto; 
    min-height: 250px; 
    flex-direction: column; 
  }
  .accel-card-body > p { margin-bottom: 24px; }
  .accel-card-header { padding: 32px 24px 16px; flex-direction: column; align-items: flex-start; gap: 16px; }
  .accel-card-body { padding: 0 24px 32px; }
  .accel-card-title { font-size: 1.8rem; }
  .tab-row { margin-bottom: 32px; justify-content: flex-start; overflow-x: auto; padding: 6px; border-radius: 12px; }
  .tab-btn { white-space: nowrap; padding: 10px 18px; }

  .accel-card-body .accel-cta-wrap {
    margin-top: 32px;
  }
  .accel-img-box .accel-cta-wrap {
    margin-top: 24px;
  }
}

/* ============================================================
   VIDEO MODAL STYLES
   ============================================================ */
.video-modal {
    position: fixed; inset: 0; z-index: 10000;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
}

.video-modal.active {
    opacity: 1; visibility: visible; pointer-events: auto;
}

.video-modal-content {
    width: 100%; max-width: 900px;
    position: relative;
    transform: scale(0.9); transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.video-modal.active .video-modal-content {
    transform: scale(1);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0; background: #000;
    border-radius: 16px; overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255,255,255,0.1);
}

.video-wrapper video {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: contain;
}

.video-modal-close {
    position: absolute; top: -45px; right: 0;
    color: #fff; background: none; border: none;
    font-size: 2rem; width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; opacity: 0.8; transition: all 0.2s;
    z-index: 10;
}

.video-modal-close:hover {
    opacity: 1; transform: scale(1.1); color: var(--sas-orange);
}

@media (max-width: 768px) {
    .video-modal-close { top: -40px; right: 0; font-size: 1.8rem; }
}

/* ============================================================
   SUCCESS STORIES
   ============================================================ */
.stories-sec{
  padding:110px 0 120px;
  background:var(--bg-warm);
  position:relative;overflow:hidden;
}

.stories-header{text-align:center;margin-bottom:60px;position:relative;z-index:2}

.stories-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
  position:relative;z-index:2;
}

.stories-grid-row2{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:28px;
  max-width:calc(66.66% + 14px);
  margin:28px auto 0;
  position:relative;z-index:2;
}

.story-card{
  position:relative;border-radius:24px;overflow:hidden;
  text-decoration:none;min-height:520px;
  display:flex;flex-direction:column;
  cursor:pointer;
  transition:all .55s cubic-bezier(.4,0,.2,1);
  box-shadow:0 8px 30px rgba(0,0,0,.12);
}

.story-card:hover{
  transform:translateY(-14px) scale(1.02);
  box-shadow:0 40px 80px rgba(0,0,0,.25);
}

.story-card-img{position:absolute;inset:0;z-index:0}

.story-card-img img{
  width:100%;height:100%;object-fit:cover;
  transition:transform 1.2s cubic-bezier(.4,0,.2,1),filter .6s ease;
  filter:brightness(.85) saturate(1.1);
}

.story-card:hover .story-card-img img{
  transform:scale(1.12);
  filter:brightness(.55) saturate(1.2);
}

.story-card-grad{position:absolute;inset:0;z-index:1}

.story-card:nth-child(1) .story-card-grad{background:linear-gradient(180deg,transparent 0,rgba(26,18,16,.25) 25%,rgba(26,18,16,.75) 55%,rgba(26,18,16,.97) 80%)}

.story-card:nth-child(2) .story-card-grad{background:linear-gradient(180deg,transparent 0,rgba(52,0,95,.2) 25%,rgba(52,0,95,.7) 55%,rgba(52,0,95,.97) 80%)}

.story-card:nth-child(3) .story-card-grad{background:linear-gradient(180deg,transparent 0,rgba(10,10,10,.25) 25%,rgba(10,10,10,.75) 55%,rgba(10,10,10,.97) 80%)}

.stories-grid-row2 .story-card:nth-child(1) .story-card-grad{background:linear-gradient(180deg,transparent 0,rgba(26,18,16,.25) 25%,rgba(26,18,16,.75) 55%,rgba(26,18,16,.97) 80%)}

.stories-grid-row2 .story-card:nth-child(2) .story-card-grad{background:linear-gradient(180deg,transparent 0,rgba(52,0,95,.2) 25%,rgba(52,0,95,.7) 55%,rgba(52,0,95,.97) 80%)}

.story-card-inner{
  position:relative;z-index:3;
  padding:36px 32px 32px;
  display:flex;flex-direction:column;
  height:100%;justify-content:flex-end;
}

.story-card-tag{
  position:absolute;top:28px;left:28px;
  display:inline-flex;align-items:center;gap:8px;
  padding:8px 18px;border-radius:30px;
  font-size:.7rem;font-weight:700;
  text-transform:uppercase;letter-spacing:.08em;
  font-family:'Trebuchet MS',sans-serif;
  backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);
  z-index:4;transition:transform .3s ease;
}

.story-card:nth-child(1) .story-card-tag,
.stories-grid-row2 .story-card:nth-child(1) .story-card-tag{background:rgba(249,76,48,.25);border:1px solid rgba(249,76,48,.35);color:#fff}

.story-card:nth-child(2) .story-card-tag,
.stories-grid-row2 .story-card:nth-child(2) .story-card-tag{background:rgba(120,60,180,.3);border:1px solid rgba(120,60,180,.4);color:#e8d5ff}

.story-card:nth-child(3) .story-card-tag{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);color:rgba(255,255,255,.9)}

.story-card-ghost{
  position:absolute;top:16px;right:24px;
  font-family:'DM Serif Display',serif;
  font-size:7rem;line-height:1;
  -webkit-text-stroke:1.5px rgba(255,255,255,.06);
  -webkit-text-fill-color:transparent;
  z-index:2;pointer-events:none;
  transition:all .5s ease;
}

.story-card:hover .story-card-ghost{
  -webkit-text-stroke-color:rgba(249,76,48,.12);
  transform:translateY(-10px) scale(1.05);
}

.story-card-inner h3{
  font-family:'DM Serif Display',serif;
  font-size:1.5rem;color:#fff;
  margin-bottom:12px;line-height:1.25;
}

.story-card-inner p{
  font-size:.88rem;color:rgba(255,255,255,.55);
  line-height:1.75;margin-bottom:26px;
}

.story-card-cta{
  display:flex;align-items:center;
  padding-top:20px;border-top:1px solid rgba(255,255,255,.1);
}

.story-cta-label{
  font-size:.78rem;font-weight:700;letter-spacing:.06em;
  color:var(--sas-orange);font-family:'Trebuchet MS',sans-serif;
  transition:all .3s ease;
}

.story-card:hover .story-cta-label{color:var(--sas-orange-lt);letter-spacing:.1em}

.story-cta-arrow{
  width:44px;height:44px;border-radius:50%;
  background:rgba(249,76,48,.12);
  border:1px solid rgba(249,76,48,.2);
  display:flex;align-items:center;justify-content:center;
  color:var(--sas-orange);font-size:.85rem;
  margin-left:auto;
  transition:all .45s cubic-bezier(.4,0,.2,1);
}

.story-card:hover .story-cta-arrow{
  background:var(--sas-orange);border-color:var(--sas-orange);
  color:#fff;transform:translateX(6px) scale(1.08);
  box-shadow:0 10px 30px rgba(249,76,48,.4);
}

/* ============================================================
   CONTACT BAR
   ============================================================ */
.contact-section{
  background:linear-gradient(135deg,var(--bg-cream),rgba(52,0,95,.03));
  padding:32px 0;
  border-top:1px solid rgba(52,0,95,.1);
  border-bottom:1px solid rgba(52,0,95,.1);
}

.contact-inner{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap}

.contact-inner i{color:var(--sas-orange);font-size:1rem}

.contact-inner p{font-size:.97rem;color:var(--text-2)}

.contact-inner a{color:var(--sas-orange);text-decoration:none;font-weight:700}

.contact-inner a:hover{color:var(--sas-orange-dk);text-decoration:underline}

/* ============================================================
   FOOTER
   ============================================================ */
footer{background:var(--sas-purple);color:rgba(255,255,255,.8);padding:40px 0 24px;position:relative;overflow:hidden}

footer::before{
  content:'';position:absolute;top:0;left:0;right:0;height:3px;
  background:linear-gradient(90deg,transparent,var(--sas-orange),#FF8C6A,var(--sas-orange),transparent);
}

footer::after{
  content:'';position:absolute;bottom:-40px;right:-40px;
  width:300px;height:300px;
  background:radial-gradient(circle,rgba(249,76,48,.08) 0,transparent 70%);
  border-radius:50%;pointer-events:none;
}

.footer-top{
  display:flex;justify-content:space-between;align-items:center;
  padding-bottom:24px;border-bottom:1px solid rgba(255,255,255,.1);
  margin-bottom:18px;position:relative;z-index:2;
}

.footer-logo img{height:32px;filter:brightness(0) invert(1)}

.footer-social{display:flex;gap:9px}

.footer-social a{
  width:36px;height:36px;
  background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);
  border-radius:9px;display:flex;align-items:center;justify-content:center;
  color:rgba(255,255,255,.6);transition:all .3s;text-decoration:none;
}

.footer-social a:hover{background:var(--sas-orange);border-color:var(--sas-orange);color:#fff;transform:translateY(-2px)}

.footer-bottom{
  display:flex;justify-content:space-between;align-items:center;
  font-size:.78rem;color:rgba(255,255,255,.35);
  position:relative;z-index:2;
}

.footer-bottom a{color:rgba(249,76,48,.7);text-decoration:none}

.footer-bottom a:hover{color:var(--sas-orange-lt)}

.footer-bottom-links{display:flex;gap:16px}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media(max-width:1100px){
  .hero-content{grid-template-columns:1fr;gap:40px}
  .hero-visual{order:-1;max-width:540px;margin:0 auto;width:100%}
  .split-grid{grid-template-columns:1fr;gap:40px}
  .stories-grid{grid-template-columns:1fr 1fr}
  .stories-grid-row2{grid-template-columns:1fr 1fr;max-width:100%}
  .navbar-inner{padding:0 32px}
}

@media(max-width:768px){
  .container{padding:0 20px}
  .hero{padding:100px 0 70px}
  .nav-links{display:none}
  .nav-toggle{display:flex}
  .navbar-inner{padding:0 20px;height:64px}
  .mobile-nav{top:64px}
  .hero-btns{flex-direction:column;align-items:flex-start;gap:10px}
  .btn{width:100%;justify-content:center}
  .stories-grid,
  .stories-grid-row2{grid-template-columns:1fr}
  .story-card{min-height:440px}
  .story-card-ghost{font-size:5rem}
  .footer-top,.footer-bottom{flex-direction:column;gap:16px;text-align:center}
  .footer-bottom-links{justify-content:center}
  .stories-sec{padding:80px 0 90px}
}

@media(max-width:480px){
  .container{padding:0 16px}
  .hero{padding:90px 0 56px}
}

/* ═══════ MODAL POPUP ═══════ */
.modal-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(26, 18, 16, 0.65); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    z-index: 2000; display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: all 0.3s ease; padding: 20px;
}

.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-content {
    background: #ffffff; width: 100%; max-width: 480px; border-radius: 24px;
    padding: 48px 40px; text-align: center; position: relative;
    transform: translateY(20px) scale(0.95); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--sh-lg); border: 1px solid rgba(52,0,95,0.1);
}

.modal-overlay.active .modal-content { transform: translateY(0) scale(1); }

.modal-close {
    position: absolute; top: 16px; right: 16px; background: rgba(52,0,95,0.05);
    border: none; width: 36px; height: 36px; border-radius: 50%;
    color: var(--text-2); cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: all 0.2s ease;
}

.modal-close:hover { background: rgba(249,76,48,0.1); color: var(--sas-orange); transform: rotate(90deg); }

.modal-icon {
    width: 72px; height: 72px; border-radius: 20px; background: linear-gradient(135deg, var(--sas-orange), var(--sas-orange-dk));
    color: #fff; font-size: 1.8rem; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 24px; box-shadow: var(--sh-ora);
}

.modal-title { font-family: 'DM Serif Display', serif; font-size: 2rem; color: var(--text); margin-bottom: 16px; line-height: 1.1; }

.modal-message { font-size: 1.05rem; color: var(--text-2); line-height: 1.6; margin-bottom: 32px; }

.modal-message a { color: var(--sas-orange); text-decoration: none; font-weight: 700; }

.modal-message a:hover { text-decoration: underline; color: var(--sas-orange-dk); }

.modal-action { width: 100%; justify-content: center; font-size: 1rem; padding: 14px 28px; }

@media (max-width: 768px) {
    .modal-content { padding: 40px 24px; }
}
