
:root{--bg:#EEE7E3;--ink:#121417;--muted:#5a5f66;--border:#d6cfc9;--radius:14px;--container:1200px;}
*{box-sizing:border-box;}
html,body{height:100%;}
body{
  min-height: 100vh;                         /* fill viewport */
  min-height: 100svh;                        /* better on mobile browser UI */
  min-height: 100dvh;                        /* dynamic viewport on iOS/Android */
  display: flex;
  flex-direction: column;
}

/* Footer should stick to bottom when content is short */
.site-footer { margin-top: auto; }
body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;}
.container{width:min(var(--container),92%);margin-inline:auto;}
.section{padding:80px 0;}
.grid{display:grid;gap:24px;}
.eyebrow{letter-spacing:.18em;text-transform:uppercase;font-size:.8rem;color:var(--muted);}
.headline{font-size:clamp(28px,2.6vw + 8px,44px);line-height:1.08;margin:.4rem 0 .6rem;}
.sub{font-size:1.05rem;color:var(--muted);max-width:62ch;}

/* header */
.hdr{position:sticky;top:0;z-index:50;background:var(--bg);border-bottom:1px solid var(--border);}
.hdr .bar{display:flex;align-items:center;gap:20px;padding:14px 0;}
.logo{font-weight:800;letter-spacing:.2px;}
.crumb{color:var(--muted);}
.spacer{flex:1;}
.btn{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 14px;border-radius:0px;font-weight:700;border:1px solid var(--ink);color:var(--ink);background:transparent;text-decoration:none;transition:background .15s ease,color .15s ease;}
.btn:hover{background:var(--ink);color:#fff;}

/* hero */
.hero{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:stretch;}
.card{background:#fff;border:1px solid var(--border);border-radius:0px;}
.card.pad{padding:28px;}

/* stats */
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid var(--border);margin-top:20px;}
.stat{padding:14px 0;}
.stat .num{font-weight:800;}
.stat .lbl{color:var(--muted);font-size:.95rem;}

/* forms */
.hero-form{display:grid;gap:14px;}
label{font-size:.9rem;color:var(--muted);display:block;}
input,textarea{width:100%;margin-top:6px;padding:12px 12px;border:1px solid var(--border);border-radius:0px;background:#fff;color:var(--ink);outline:none;}
textarea{min-height:110px;resize:vertical;}
input:focus,textarea:focus{border-color:#bcb4ad;}
.submit{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;height:40px;border-radius:0px;border:1px solid var(--ink);background:var(--ink);color:#fff;font-weight:800;cursor:pointer;}
.row-2{display:grid;grid-template-columns:1fr 1fr;gap:12px;}

/* coverage */
.w-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.w-card{border:1px solid var(--border); border-radius:0px; padding:18px; background:#fff}
.w-card h4{margin:.2rem 0 .35rem}
.w-card ul{margin:.2rem 0 0; padding-left:18px; color:var(--muted)}
  

/* Timeline + methodology (desktop = horizontal, mobile = vertical) */
:root{--dot:34px;--rail:2px;}
.chain-line{display:flex;align-items:flex-start;justify-content:space-between;gap:clamp(16px,3vw,36px);position:relative;margin-top:28px;padding:0;--rail-muted:var(--border);--rail-active:var(--ink);}
.chain-line::before{content:none;}
.chain-line::after{content:"";position:absolute;top:calc(var(--dot)/2);right:-2px;transform:translateY(-50%);border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:10px solid var(--ink);z-index:1;}
.dot-phase{position:relative;flex:1 1 0;text-align:center;}
.dot{width:var(--dot);height:var(--dot);border:3px solid var(--ink);border-radius:50%;background:#fff;margin:0 auto;position:relative;z-index:2;box-shadow:0 0 0 6px var(--bg),0 1px 0 rgba(0,0,0,.05);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease,background .16s ease;}
.dot-phase::before,.dot-phase::after{content:"";position:absolute;top:calc(var(--dot)/2 - var(--rail)/2);height:var(--rail);background:var(--rail-muted);z-index:1;transition:background .2s ease;}
.dot-phase::before{left:calc(50% + var(--dot)/2);width:calc(50% - var(--dot)/2);}
.dot-phase:last-child::before{width:calc(50% - var(--dot)/2 - 12px);}
.dot-phase::after{right:calc(50% + var(--dot)/2);width:calc(50% - var(--dot)/2);}
.dot-phase:first-child::after{display:none;}
.dot-phase:hover .dot{transform:translateY(-3px);box-shadow:0 0 0 6px var(--bg),0 10px 16px rgba(0,0,0,.06);}
.dot-phase:hover .dot,.dot-phase:has(~ .dot-phase:hover) .dot{background:var(--ink);border-color:var(--ink);color:#fff;}
.dot-phase:hover::before,.dot-phase:hover::after,.dot-phase:has(~ .dot-phase:hover)::before,.dot-phase:has(~ .dot-phase:hover)::after{background:var(--rail-active);}
.label{margin-top:10px;font-weight:800;font-size:.9rem;color:var(--ink);letter-spacing:.01em;opacity:.9;transition:opacity .15s ease;}
.dot-phase:hover .label,.dot-phase:has(~ .dot-phase:hover) .label{opacity:1;}
.tooltip{margin-top:10px;background:#fff;border:1px solid var(--border);border-radius:0px;padding:10px;max-width:220px;margin-inline:auto;box-shadow:0 6px 18px rgba(0,0,0,.06);font-size:.86rem;color:var(--muted);display:flex;flex-direction:column;gap:6px;position:relative;}
.tooltip::before{content:"";position:absolute;left:50%;top:-14px;transform:translateX(-50%);width:2px;height:12px;background:var(--ink);opacity:.55;border-radius:0px;}@media (max-width:768px){.chain-line{flex-direction:column;align-items:flex-start;gap:18px;}.dot-phase{text-align:left;width:100%;}.dot{margin:0 12px 0 0;}.dot-phase::before,.dot-phase::after{display:none;}.chain-line::after{display:none;}.chain-line::before{content:"";position:absolute;left:14px;top:0;bottom:0;width:var(--rail);background:var(--ink);}.tooltip{margin-left:40px;}}

@media (max-width:768px){
  .chain-line{flex-direction:column;align-items:flex-start;gap:24px;padding-left:48px;position:relative;} /* Arrange the section as a vertical timeline with a left rail */
  .chain-line::before{content:"";position:absolute;left:22px;top:0;bottom:0;width:var(--rail);background:var(--ink);} /* Vertical rail centered behind the dots */
  .chain-line::after{content:"";position:absolute;left:22px;bottom:-8px;transform:translateX(-50%) rotate(90deg);border-left:10px solid var(--ink);border-top:6px solid transparent;border-bottom:6px solid transparent;right:auto;top:auto;} /* Arrow at the end of the vertical rail */
  .dot-phase{width:100%;display:grid;grid-template-columns:var(--dot) 12px 1fr;grid-template-rows:auto auto;column-gap:12px;align-items:center;text-align:left;} /* Each phase becomes a neat 3-column grid */
  .dot{grid-column:1;grid-row:1 / span 2;margin:0;} /* Dot spans both rows */
  .label{grid-column:3;grid-row:1;margin:0 0 8px 0;font-size:1rem;} /* Label next to the dot */
  .tooltip{grid-column:3;grid-row:2;margin:0;} /* Card below the label */
  .dot-phase::before,.dot-phase::after{display:none;} /* Hide horizontal connectors */
  .tooltip::before{display:none;} /* Hide vertical “tick” above cards */
}

 /* AI section */
.ai-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.ai-card{border:1px solid var(--border); border-radius:0px; background:#fff; padding:18px}
.ai-card h4{margin:.2rem 0 .35rem}
.badge{display:inline-block; padding:4px 8px; border:1px solid var(--border); border-radius:0px; background:#f7f4f1; font-size:.78rem; color:#333; margin-left:8px}
.ai-card ul{margin:.3rem 0 0; padding-left:18px; color:var(--muted)}
.ai-card ul,.card.pad ul,.card.pad li,.card.pad p.sub{overflow-wrap:anywhere;word-break:break-word;}
@media(max-width:700px){.card.pad > .grid{grid-template-columns:1fr !important;}}

/* packages */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.tier { display: flex; flex-direction: column; background: #fff; border-radius: 0px; padding: 24px; }
.tier ul { flex: 1 1 auto; }
.tier .cta2 { margin-top: auto; }


/* faq */
.faq details{background:#fff; border:1px solid var(--border); border-radius:0px; padding:14px 16px; margin:10px 0}
summary{cursor:pointer; list-style:none; font-weight:700}
summary::-webkit-details-marker{display:none}
details p{color:var(--muted); margin:.6rem 0 0}

/* footer */
footer{border-top:1px solid var(--border);}
.center{text-align:center;}
/* responsive */
@media(max-width:980px){.hero{grid-template-columns:1fr;}.stats{grid-template-columns:repeat(2,1fr);}.w-grid{grid-template-columns:repeat(2,1fr);}.phase-grid{grid-template-columns:1fr;}.ai-grid{grid-template-columns:1fr;}.tiers{grid-template-columns:1fr 1fr;}.row-2{grid-template-columns:1fr;}}
@media(max-width:640px){.tiers{grid-template-columns:1fr;}}


/* intro (What is Red Team) */
.intro-card{position:relative;background:#fff;border:1px solid var(--border);border-radius:0px;padding:24px;box-shadow:0 8px 24px rgba(0,0,0,.05);max-width:800px;margin-inline:auto;text-align:justify;}
.intro-card::before{content:"";position:absolute;left:0;top:0;bottom:0;width:6px;border-radius:6px 0 0 6px;background:linear-gradient(180deg,var(--ink),rgba(18,20,23,.45));opacity:.9;}
.intro-card .sub + ul{margin-top:10px;}
.intro-card ul{padding-left:18px;}
.intro-card > p.sub { 
  max-width: none;
}
@media(min-width:980px){.intro-card{padding:28px 32px;}}

.faq-hint{color:var(--muted);font-size:.92rem;margin:2px 0 12px;}
.faq details{transition:border-color .15s ease,box-shadow .15s ease;}
.faq details:hover{border-color:#bcb4ad;box-shadow:0 4px 14px rgba(0,0,0,.04);}
.faq details[open]{border-color:#bcb4ad;}
.faq details > summary{display:flex;align-items:center;justify-content:space-between;gap:12px;}
.faq details > summary::after{content:"▸";flex:0 0 auto;opacity:.6;transform:translateY(1px) rotate(0deg);transition:transform .15s ease,opacity .15s ease;}
.faq details[open] > summary::after{transform:translateY(1px) rotate(90deg);opacity:.9;}
.faq details > summary:focus-visible{outline:2px solid var(--ink);outline-offset:2px;border-radius:0px;}


/* --- Section separators (subtle line between sections) --- */
.section{position:relative;}
.section + .section{padding-top:72px;}
.section + .section::before{content:"";position:absolute;top:0;left:50%;transform:translateX(-50%);width:min(var(--container),92%);height:1px;background:linear-gradient(90deg,rgba(0,0,0,0) 0%,#dcd4ce 12%,#dcd4ce 88%,rgba(0,0,0,0) 100%);pointer-events:none;}
@media(max-width:700px){.section + .section{padding-top:56px;}}


/* nav and footer */

body{
    margin:0; background:var(--bg); color:var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial;
    -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
  }
  .logo { position: absolute; width: 130px; height: 168px; left: 131px; top: 20px; object-fit: contain; }
/* Header: logo image next to title */
.and-logo img{
  display: block;
  height: 90px; /* 8px top/bottom breathing room */
  width: 250px;                        /* keep aspect ratio */
  object-fit: contain;                /* no cropping */
}

/* layout */
.container{width:min(var(--container),92%); margin-inline:auto}
.section{padding:80px 0}
.grid{display:grid; gap:24px}
.eyebrow{letter-spacing:.18em; text-transform:uppercase; font-size:.8rem; color:var(--muted)}
.headline{font-size:clamp(28px,2.6vw + 8px,44px); line-height:1.08; margin:.4rem 0 .6rem}
.sub{font-size:1.05rem; color:var(--muted); max-width:62ch}

/* header */
.hdr{position:sticky; top:0; z-index:50; background:var(--bg); border-bottom:1px solid var(--border)}
.hdr .bar{display:flex; align-items:center; gap:20px; padding:14px 0}
.logo{font-weight:800; letter-spacing:.2px}
.crumb{color:var(--muted)}
.spacer{flex:1}
.btn{
    display:inline-flex; align-items:center; gap:8px; height:40px;
    padding:0 14px; border-radius:0px; font-weight:700;
    border:1px solid var(--ink); color:var(--ink); background:transparent;
    text-decoration:none; transition:background .15s ease, color .15s ease;
}
.btn:hover{background:var(--ink); color:#fff}

.top-bar { position: fixed; width: 1121px; height: 43px; left: 274px; top: 67px; filter: drop-shadow(0px 4px 4px #000000); z-index: 1000; }
.top-bar-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1200px; margin: 0 auto; height: 100px; }
.top-bar.hidden { opacity: 0; pointer-events: none; transition: opacity 0.5s ease; }
.top-bar nav { flex: 1; display: flex; align-items: center; height: 100%; margin-left: 32px; }
.top-bar nav ul { display: flex; gap: 48px; list-style: none; margin: 0; padding: 0; align-items: center; height: 100%; }
nav ul li { font-family: 'Inter', Arial, sans-serif; font-size: 18px; font-weight: 500; color: #fff; cursor: pointer; text-transform: uppercase; letter-spacing: 0.08em; transition: color 0.2s; height: 100%; display: flex; align-items: center; padding: 0 8px; position: relative; }
nav ul li:hover { color: #007aff; }
.nav-links { position: relative; width: 100%; height: 100%; }
.nav-links ul { display: flex; flex-wrap: wrap; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nav-item { position: absolute; top: 73px; height: 31px; font-family: 'Inter', sans-serif; font-style: normal; font-weight: 500; font-size: 18px; line-height: 22px; color: #FFFFFF; text-decoration: none; text-transform: uppercase; cursor: pointer; border-bottom: 2px solid transparent; padding-bottom: 4px; transition: border-color 0.3s ease; }
.nav-item:hover { border-bottom: 2px solid #fff; }
.nav-line { position: absolute; left: 1135px; top: 70px; width: 1px; height: 22px; background-color: #FFFFFF; }

/* ===  NAV + MOBILE SHEET + FOOTER (glass header) === */
:root { --nav-h: 56px; }
/* Push content below fixed header */
body { padding-top: var(--nav-h); }
/* Header (glass) */
.and-header { position: fixed; top: 0; left: 0; right: 0; z-index: 90; background: rgba(0,0,0,.30); -webkit-backdrop-filter: saturate(150%) blur(10px); backdrop-filter: saturate(150%) blur(10px); border-bottom: 1px solid rgba(255,255,255,.15); }
.and-row { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); padding-right: 0; }
@media (min-width: 768px) {
  .and-row { justify-content: flex-start; }
  .and-divide > * + * { border-left: 1px solid rgba(255,255,255,.20); }
}

/* Logo + name */
.and-logo { display: flex; align-items: center; gap: 12px; padding: 0 12px; color: #fff; text-decoration: none; }
.and-logo-badge { width: 32px; height: 32px; border-radius: 0px; background: #000; color: #EEE7E3; display: grid; place-items: center; font-weight: 900; }
.and-logo-text { font-weight: 700; color: #fff; }
/* Desktop menu */
.and-menu { display: none; }
@media (min-width: 768px) { .and-menu { display: flex; align-items: center; gap: 32px; padding: 0 16px; flex: 1; } }
.and-menu a { display: inline-flex; align-items: center; color: #fff; text-decoration: none; }
.and-plus { margin-left: 8px; font-size: 18px; line-height: 1; }
/* "We're Hiring" (sm+) */
.and-hire { display: none; color: #fff; text-decoration: none; }
@media (min-width: 640px) { .and-hire { display: flex; align-items: center; padding: 0 16px; } }

/* Black hamburger (iOS-safe) */
.and-hamb { margin-left: auto; width: var(--nav-h); height: var(--nav-h); background: #000; color: #fff; border: 0; border-top-right-radius: 0; border-bottom-right-radius: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; appearance: none; -webkit-appearance: none; outline: none; box-shadow: none; }
.and-hamb svg{ width:24px; height:24px; display:block; }

/* Navbar dividers: full-height lines next to Logo|Menu and Hire|Hamburger */
@media (min-width: 768px){
  .and-row{ align-items: stretch; }                 /* children fill bar height */
  .and-divide > *{ display:flex; align-items:center; position:relative; }

  /* turn OFF the old short borders */
  .and-divide > * + *{ border-left: none !important; }

  /* draw full-height lines only before the Menu and Hire blocks */
  .and-divide > .and-menu::before,
  .and-divide > .and-hire::before{
    content:"";
    position:absolute;
    left:0; top:0; bottom:0;                       /* full height of the bar */
    width:1px;
    background: rgba(255,255,255,.35);
  }
}

/* Mobile sheet */
.and-sheet-wrap { position: fixed; inset: 0; z-index: 95; pointer-events: none; overflow: hidden; }
.and-sheet-wrap.open { pointer-events: auto; }
.and-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.5); opacity: 0; transition: opacity .3s ease; }
.and-sheet-wrap.open .and-backdrop { opacity: 1; }
.and-sheet { position: absolute; left: 20px; right: 20px; top: 20px; bottom: 20px; background: #000; color: #fff; border-radius: 0px; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 20px 60px rgba(0,0,0,.3); transform: translateY(-20px); opacity: 0; transition: transform .3s ease, opacity .3s ease; overflow: hidden; }
.and-sheet-wrap.open .and-sheet{ transform:none; opacity:1; }
/* === Show the menu from the RIGHT on all screens === */
.and-sheet { left: auto !important; right: 12px !important; top: 12px !important; bottom: 12px !important; width: min(92vw, 480px); transform: translateX(110%); transition: transform .32s cubic-bezier(.22,.61,.36,1), opacity .25s ease; } /* start off-canvas right */
.and-sheet-wrap.open .and-sheet { transform: translateX(0); opacity: 1; } /* slide in from right */
.and-sheet-top { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; padding: 0 20px; border-bottom: 1px solid rgba(255,255,255,.15); }
.and-close { width: 40px; height: 40px; background: transparent; color: #fff; border: 0; border-radius: 8px; appearance: none; -webkit-appearance: none; outline: none; box-shadow: none; margin-left: auto;}
.and-close:hover {
  background: rgba(255, 255, 255, 0.16);
}
.and-list { overflow: auto; max-height: calc(100% - var(--nav-h)); }
.and-list a { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid rgba(255,255,255,.08); font-weight: 600; font-size: 20px; color: #fff; text-decoration: none; }
.and-list a:hover{ background:rgba(255,255,255,.05); }

/* Footer */
.and-footer{ margin-top:80px; background:#000; color:#fff; }
.and-foot-wrap{ max-width:1200px; margin:0 auto; padding:0 20px; }
.and-foot-logo{ display:flex; flex-direction:column; align-items:center; padding:40px 0 12px; }
.and-foot-logo img{ width:196px; height:196px; object-fit:contain; }
.and-foot-name{ margin-top:8px; font-size:14px; letter-spacing:0.35em; }
.and-foot-grid { display: grid; grid-template-columns: 1fr; gap: 24px; padding-bottom: 28px; }

@media (min-width:768px){ .and-foot-grid{ grid-template-columns:repeat(4,minmax(0,1fr)); } }
.and-foot-grid h5{ font-size:12px; font-weight:700; letter-spacing:.16em; color:rgba(255,255,255,.7); margin:0; }
.and-foot-grid ul{ margin:10px 0 0; padding:0; list-style:none; }
.and-foot-grid li{ margin:8px 0; }
.and-foot-grid a{ color:#fff; opacity:.9; text-decoration:none; }
.and-foot-grid a:hover{ opacity:1; text-decoration:underline; }
.and-foot-div{ border-top:1px solid rgba(255,255,255,.1); }
.and-copy{ text-align:center; padding:14px 0; font-size:14px; color:rgba(255,255,255,.7); }
.and-legal{ display:flex; flex-wrap:wrap; justify-content:center; gap:16px; padding:0 0 28px; font-size:12px; color:rgba(255,255,255,.6); }
.and-legal a{ color:inherit; text-decoration:none; }
.and-legal a:hover{ color:#fff; }

/* ── Mobile footer clean-up ─────────────────────────────────────────── */
@media (max-width: 900px){
  .site-footer { padding: 28px 16px 24px; overflow-x: hidden; } /* tighter vertical rhythm; prevent any stray sideways scroll */
  .footer-container { width: min(640px, 94vw); margin: 0 auto; gap: 24px; align-items: center; text-align: center; } /* keep content centered/narrower; was 40px */
  .footer-logo img { width: 110px; height: auto; } /* smaller logo on phones */
  .footer-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; width: 100%; text-align: left; } /* compact grid for link columns on mobile; smaller gap */
  .footer-column { min-width: 0; }
  .footer-column h4 { margin: 0 0 6px; font-size: 12px; letter-spacing: .08em; color: #bbb; }
  .footer-column ul li { margin: 0 0 6px; }
  .footer-column ul li a, .contact-email { font-size: 14px; white-space: normal; word-break: break-word; } /* allow wrapping; avoid overflow on long addresses */
  .footer-bottom { margin-top: 18px; padding-top: 14px; font-size: 12.5px; }
}

/* --- Mobile arrow tweaks --- */
@media (max-width: 900px){
  /* Move the DOWN arrow to the left on mobile */
  .arrow-btn { right: 5px; bottom: 15%; } /* was right-aligned; keep it comfortably above the edge */
  /* Hide any UP arrows on mobile (hero or mission) */
  .arrow-btn.up, .mission .arrow-btn.up, .mission--glass .arrow-btn.up, .mission-desktop .arrow-btn.up { display: none !important; }
}

/* footer section */
.site-footer { background: #000; color: #fff; padding: 60px 40px 40px; font-family: 'Inter', sans-serif; }
.footer-container { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 1200px; margin: 0 auto; gap: 40px; }
.footer-logo img { width: 140px; height: auto; }
.footer-columns { display: flex; justify-content: center; flex-wrap: wrap; text-align: left; gap: 60px; }
.footer-column h4 { font-size: 14px; text-transform: uppercase; margin-bottom: 12px; text-align: left; font-weight: 600; }
.footer-column ul { list-style: none; padding: 0; margin: 0; }
.footer-column ul li { margin-bottom: 8px; }
.footer-column ul li a, .contact-email { color: #fff; text-decoration: none; font-size: 16px; transition: color 0.3s ease; }
.footer-column ul li a:hover, .contact-email:hover { color: #007aff; }
.footer-bottom { border-top: 1px solid #333; margin-top: 40px; padding-top: 20px; display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a { color: #aaa; text-decoration: none; }
.footer-links a:hover { color: #fff; }

/* Top quick-contact (hero) – make the CTA smaller */
.hero-form .submit{
  width: auto;            /* stop filling the grid track */
  place-self: start;      /* align top/left inside the grid cell */
  padding: 8px 12px;      /* tighter */
  height: 34px;           /* shorter */
  font-size: .95rem;      /* slightly smaller type */
  border-radius: 0px;     /* (optional) a bit of rounding */
}

/* even tighter on small phones (optional) */
@media (max-width: 480px){
  .hero-form .submit{
    padding: 7px 10px;
    height: 32px;
    font-size: .9rem;
  }
}
/* 1) Sticky footer for either footer variant used in this project */
html, body { height: 100%; }
body {
  min-height: 100dvh;           /* support mobile dynamic viewport */
  display: flex;
  flex-direction: column;
}

/* whichever footer is present becomes the last flex child */
.and-footer,
.site-footer { margin-top: auto; }

/* 2) Kill any accidental space after the last block */
body > *:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* --- 3D drop shadows for cards --- */
:root{
  /* Layered shadow tokens (subtle depth on rest, stronger on hover) */
  --elev-1: 0 1px 0 rgba(0,0,0,.02),
            0 6px 12px rgba(17,23,31,.08),
            0 22px 40px -16px rgba(17,23,31,.16);
  --elev-2: 0 2px 0 rgba(0,0,0,.03),
            0 12px 24px rgba(17,23,31,.12),
            0 46px 80px -28px rgba(17,23,31,.24);
}

/* Base elevation on all cards used across the page */
.card,
.w-card,
.ai-card,
.tier{
  box-shadow: var(--elev-1);
  transform: translateZ(0);                /* creates its own layer for smoother anim */
  transition: transform .18s ease, box-shadow .22s ease;
}

/* Lift + deepen shadow on hover/focus */
.card:hover, .card:focus-within,
.w-card:hover, .w-card:focus-within,
.ai-card:hover, .ai-card:focus-within,
.tier:hover, .tier:focus-within{
  transform: translateY(-2px);
  box-shadow: var(--elev-2);
}

/* Motion-friendly fallback */
@media (prefers-reduced-motion: reduce){
  .card, .w-card, .ai-card, .tier{
    transition: box-shadow .22s ease;
  }
  .card:hover, .w-card:hover, .ai-card:hover, .tier:hover{
    transform: none;
  }
}
/* Optional heavier cast shadow */
.card.e3d{
  box-shadow:
    0 2px 0 rgba(0,0,0,.03),
    0 16px 32px rgba(17,23,31,.14),
    0 60px 90px -40px rgba(17,23,31,.28);
}


/* Make the mobile sheet a column layout */
.and-sheet{
  display:flex;
  flex-direction:column;
}

/* Top bar: only the close button, aligned right */
.and-sheet-top{
  height: var(--nav-h);
  display:flex;
  align-items:center;
  justify-content:flex-end;   /* was space-between */
  padding: 0 20px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}

/* List should take remaining space and scroll */
.and-list{
  flex:1;
  overflow:auto;
  max-height: none;           /* override earlier rule */
}

/* Bottom logo area */
.and-sheet-bottom{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:22px 20px;
  border-top:1px solid rgba(255,255,255,.12);
}
.and-sheet-bottom img{
  max-width: 220px;   /* adjust as you like */
  height:auto;
  opacity:.95;
}
/* === Packages color tiers === */
.tiers .tier {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.04);
}

/* 1) Assessment – soft / entry */
.tiers .tier:nth-child(1) {
  background: linear-gradient(140deg, #ffffff 0%, #f5f1ec 80%);
  border-color: #e1d8cf;
}

/* 2) Assessment + Remediation – highlight (most “complete”) */
.tiers .tier:nth-child(2) {
  background: radial-gradient(circle at top, #101317 0%, #15191c 28%, #0e1114 80%);
  color: #9b1c1c;
  border-color: rgba(255,255,255,.06);
  box-shadow: 0 14px 40px rgba(0,0,0,.12);
}
.tiers .tier:nth-child(2) h3,
.tiers .tier:nth-child(2) .price,
.tiers .tier:nth-child(2) li {
  color: #fff;
}
.tiers .tier:nth-child(2) .btn {
  background: #fff;
  color: #111;
  border-color: #fff;
}

/* 3) Bespoke / Confidential – darker “special” tone */
.tiers .tier:nth-child(3) {
  background: linear-gradient(145deg, #f1f0ff 0%, #dbe5ff 100%);
  border-color: rgba(125,146,196,.35);
}

/* Hover effects */
.tiers .tier:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.16);
}

/* Subtle “shine” on hover */
.tiers .tier::after {
  content: "";
  position: absolute;
  inset: -40% -60%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.205) 0%, rgba(255,255,255,0) 55%);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.tiers .tier:hover::after {
  opacity: .7;
}


/* Mobile: fill attack-chain dots as they become visible */
@media (max-width: 768px) {
  .chain-line .dot-phase.is-active .dot {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
  }
  .chain-line .dot-phase.is-active .label {
    opacity: 1;
  }
  .chain-line .dot-phase.is-active .tooltip {
    border-color: rgba(0,0,0,.08);
    box-shadow: 0 8px 22px rgba(0,0,0,.04);
  }
}


/* clean deliverables layout */
.deliverables-slab {
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 18px 55px rgba(0,0,0,.08);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 26px 30px 26px;
}
.deliverables-slab .del-col h2 {
  font-size: 1.6rem;
  margin: 0 0 12px;
}
.deliverables-slab ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}
@media (max-width: 780px) {
  .deliverables-slab {
    grid-template-columns: 1fr;
  }
  .deliverables-slab .del-col h2 {
    font-size: 1.4rem;
  }
}

/* Hero: make the Send request button sit at the same bottom line as "See packages" */
.hero > aside.card.pad { 
  display: flex; 
  flex-direction: column;            /* the card becomes a vertical stack */
}

.hero > aside.card.pad form.hero-form{
  flex: 1;                            /* form fills the card’s remaining height */
  display: flex; 
  flex-direction: column; 
  gap: 14px;                          /* keep the same spacing as before */
}

.hero > aside.card.pad .hero-form .submit{
  margin-top: auto;                   /* push the button to the bottom */
  align-self: flex-start;
  height: 40px;
  line-height: 40px;                  /* neat vertical centering */
  padding: 0 14px;
}
