/* =========================
   Stewart Bradley Companies
   Apple/Stripe Minimal (Dark)
   Brand: Navy + Teal
========================= */

:root{
  /* Brand (logo palette) */
  --brand-navy: #123447;   /* deep blue */
  --brand-teal: #3AB09E;   /* accent teal */
  --brand-ink:  #020617;   /* near-black */

  /* Surfaces (dark throughout) */
  --surface-1: #020617;    /* page background */
  --surface-2: #0b1220;    /* section alt */
  --surface-3: #0f172a;    /* cards/panels */

  /* Text */
  --text: #f8fafc;
  --muted: #cbd5e1;
  --muted2:#94a3b8;

  /* UI */
  --border: rgba(148,163,184,.22);
  --shadow: 0 18px 45px rgba(0,0,0,.35);

  --r-lg:16px;
  --r-xl:22px;

  --max:1100px;
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial,
    "Apple Color Emoji","Segoe UI Emoji";
  font-size: 16.5px;
  background: var(--surface-1);
  color: var(--text);
  line-height: 1.55;
}

img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}

.container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================
   Header
========================= */

.site-header{
  position: sticky;
  top: 0;
  z-index: 50;

  /* Brand navy “glass” */
  background: rgba(18, 52, 71, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding: 14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
  min-width: 260px;
}

.brand-logo{
  height: 76px;   /* adjust if needed */
  width:auto;
}

.brand-text{
  display:flex;
  flex-direction:column;
  gap:2px;
}

.brand-name{
  font-weight: 700;
  letter-spacing: .02em;
  font-size: 1.75rem;
  white-space: nowrap;
}

.brand-tag{
  color: rgba(248,250,252,.80);
  font-size: .85rem;
  white-space: nowrap;
}

.nav{
  display:flex;
  align-items:center;
  gap: 26px;
  color: rgba(248,250,252,.82);
  font-size: .92rem;
}

.nav a{
  opacity: .9;
}
.nav a:hover{
  opacity: 1;
}

.header-cta{
  margin-left: auto;
}

/* Mobile nav toggle */
.nav-toggle{
  display:none;
  background:transparent;
  border:0;
  padding:10px;
  cursor:pointer;
}
.nav-toggle span{
  display:block;
  width:20px;
  height:2px;
  background: rgba(248,250,252,.85);
  border-radius:999px;
}
.nav-toggle span+span{margin-top:4px}

.mobile-nav{
  display:none;
  padding: 14px 24px 18px;
  border-top: 1px solid var(--border);
  background: rgba(18, 52, 71, 0.92);
}
.mobile-nav a{
  display:block;
  padding:10px 0;
  color: rgba(248,250,252,.85);
  opacity:.9;
}
.mobile-nav a:hover{opacity:1}
.mobile-nav.open{display:block}

/* =========================
   Buttons & Links
========================= */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .92rem;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}

.btn-primary{
  background: var(--brand-teal);
  color: #06231f;
  box-shadow: 0 14px 28px rgba(58,176,158,.25);
}
.btn-primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(58,176,158,.32);
}

.btn-quiet{
  background: rgba(18,52,71,.28);
  border-color: rgba(58,176,158,.28);
  color: var(--text);
}
.btn-quiet:hover{transform: translateY(-1px)}

.text-link{
  color: var(--muted);
}
.text-link:hover{color: var(--text)}

/* =========================
   Sections
========================= */

.section{
  padding: 84px 0;
  background: var(--surface-1);
}

.section-alt{
  background: linear-gradient(
    180deg,
    rgba(15,23,42,.95),
    rgba(2,6,23,1)
  );
  border-top: 1px solid rgba(148,163,184,.10);
  border-bottom: 1px solid rgba(148,163,184,.10);
  color: var(--text);
}

.section-head{
  text-align:center;
  max-width: 720px;
  margin: 0 auto 44px;
}

.section-head h2{
  font-size: clamp(1.85rem, 2.4vw, 2.25rem);
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

.section-head p{
  margin:0;
  color: var(--muted);
}

/* =========================
   Hero
========================= */

.hero{
  padding: 86px 0 76px;
  background:
    radial-gradient(900px 500px at 15% 10%, rgba(58,176,158,.16), transparent 55%),
    radial-gradient(700px 420px at 85% 0%, rgba(255,255,255,.06), transparent 55%),
    linear-gradient(180deg, rgba(15,23,42,.55), rgba(2,6,23,1));
  border-bottom: 1px solid rgba(148,163,184,.10);
}

.hero-inner{
  display:grid;
  grid-template-columns: 1fr;  /* <-- single column */
  gap: 34px;
  align-items:start;
}

.hero-copy h1{
  font-size: clamp(2.6rem, 3.8vw, 3.4rem);
  line-height: 1.05;
  margin: 0 0 14px;
  letter-spacing: -0.03em;
   max-width: none;
  width: 100%;
}

.h1-accent{color: var(--text)}

.lead{
  margin: 0 0 20px;
  max-width: none;     /* <-- key change */
  width: 100%;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions{
  display:flex;
  align-items:center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.proof{
  margin-top: 20px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.proof span{
  font-size: .78rem;
  color: var(--muted);
  border: 1px solid rgba(148,163,184,.20);
  background: rgba(148,163,184,.06);
  padding: 7px 10px;
  border-radius: 999px;
}

/* Right hero panel */
.hero-panel{
  background: rgba(15,23,42,.55);
  border: 1px solid rgba(148,163,184,.20);
  border-radius: var(--r-xl);
  padding: 22px;
  box-shadow: var(--shadow);
}

.panel-title{
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: 8px;
}

.panel-text{
  margin: 0 0 14px;
  color: var(--muted);
}

.panel-list{
  list-style:none;
  padding:0;
  margin:0 0 16px;
  color: var(--muted);
  font-size: .95rem;
}

.panel-list li{
  position:relative;
  padding-left: 18px;
  margin: 10px 0;
}

.panel-list li::before{
  content:"";
  position:absolute;
  left:0;
  top: 10px;
  width:7px;height:7px;
  border-radius:999px;
  background: rgba(58,176,158,.95);
}
/* Make hero background full-bleed, but keep content in a centered wrapper */
.hero-inner{
  width: 100%;
}

/* New wrapper that replaces the old ".container hero-inner" behavior */
.hero-content-wrap{
  display: grid;
  grid-template-columns: 1fr;   /* full width for left copy */
  gap: 0;
}

/* =========================
   Grids & Cards
========================= */

.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card{
  background: rgba(15,23,42,.55);
  border: 1px solid rgba(148,163,184,.18);
  border-radius: var(--r-lg);
  padding: 22px;
  transition: transform .16s ease, border-color .16s ease;
}

.card:hover{
  transform: translateY(-2px);
  border-color: rgba(58,176,158,.35);
}

.card h3{
  margin: 0 0 10px;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.card p{
  margin:0 0 14px;
  color: var(--muted);
}

.bullets{
  margin:0;
  padding-left: 18px;
  color: var(--muted);
  font-size: .95rem;
}
.bullets li{margin: 8px 0}

/* =========================
   Process
========================= */

.process{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.step{
  background: rgba(2,6,23,.35);
  border: 1px solid rgba(148,163,184,.16);
  border-radius: var(--r-lg);
  padding: 18px;
  transition: transform .16s ease, border-color .16s ease;
}

.step:hover{
  transform: translateY(-2px);
  border-color: rgba(58,176,158,.32);
}

.step-top{
  display:flex;
  align-items:center;
  gap: 10px;
  margin-bottom: 10px;
}

.step-num{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(58,176,158,.14);
  border: 1px solid rgba(58,176,158,.32);
  color: var(--text);
  font-weight: 700;
  font-size: .85rem;
}

.step h3{
  margin:0;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.step p{
  margin:0;
  color: var(--muted);
}

/* =========================
   Work (Projects)
========================= */

/* Use real images when ready:
   Place files at /assets/placeholder-1.jpg etc.
   Update HTML img src accordingly. */

.work-card{
  border-radius: var(--r-lg);
  overflow:hidden;
  border: 1px solid rgba(148,163,184,.18);
  background: rgba(15,23,42,.55);
  transition: transform .16s ease, border-color .16s ease;
}

.work-card:hover{
  transform: translateY(-2px);
  border-color: rgba(58,176,158,.32);
}

/* If you use <div class="work-media"></div> placeholder */
.work-media{
  height: 190px;
  background:
    radial-gradient(500px 240px at 20% 0%, rgba(58,176,158,.18), transparent 55%),
    linear-gradient(135deg, rgba(30,41,59,.95), rgba(2,6,23,1));
}

/* If you switch to <div class="work-media"><img ...></div> */
.work-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
  opacity: 0.92;
}

.work-body{
  padding: 18px;
}

.work-body h3{
  margin:0 0 8px;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.work-body p{
  margin:0;
  color: var(--muted);
}

/* =========================
   Contact
========================= */

.contact{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 22px;
  align-items:start;
}

.contact-copy h2{
  margin:0 0 10px;
}

.contact-copy p{
  margin:0 0 18px;
  color: var(--muted);
}

.contact-meta{
  display:grid;
  gap: 10px;
  color: var(--muted);
}

.form{
  background: rgba(2,6,23,.35);
  border: 1px solid rgba(148,163,184,.18);
  border-radius: var(--r-xl);
  padding: 18px;
}

.form label{
  display:block;
  margin-bottom: 12px;
}

.form span{
  display:block;
  font-size: .82rem;
  color: var(--muted2);
  margin-bottom: 6px;
}

.row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

input, select, textarea{
  width:100%;
  border-radius: 12px;
  border: 1px solid rgba(148,163,184,.22);
  background: rgba(15,23,42,.55);
  color: var(--text);
  padding: 12px 12px;
  outline:none;
  font-size: .95rem;
}

input:focus, select:focus, textarea:focus{
  border-color: rgba(58,176,158,.60);
  box-shadow: 0 0 0 3px rgba(58,176,158,.18);
}

textarea{resize:vertical}

.form-note{
  margin: 12px 0 0;
  color: var(--muted2);
  font-size: .86rem;
}

/* =========================
   Footer
========================= */

.footer{
  padding: 26px 0;
  border-top: 1px solid rgba(148,163,184,.12);
  color: var(--muted2);
  background: var(--surface-1);
}

.footer-inner{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 18px;
}

.footer-brand{
  font-weight:700;
  color: var(--text);
}

.footer-tag{
  font-size:.9rem;
  color: var(--muted2);
}

/* =========================
   Responsive
========================= */

@media (max-width: 980px){
  .hero-inner{grid-template-columns: 1fr}
  .hero-panel{box-shadow:none}
  .grid-3{grid-template-columns: 1fr}
  .process{grid-template-columns: 1fr}
  .contact{grid-template-columns: 1fr}
  .row{grid-template-columns: 1fr}
  .nav{display:none}
  .header-cta{display:none}
  .nav-toggle{display:block}
}

@media (max-width: 520px){
  .brand-name{font-size: 1rem}
  .brand-tag{display:none}
  .brand-logo{height: 50px}
}

/* =========================
   HERO ONLY — FULL WIDTH
   (Surgical overrides)
   ========================= */

/* If your hero wrapper is .hero-inner */
.hero-inner{
  grid-template-columns: 1fr !important;
}

/* If your left column is .hero-content (common) */
.hero-content{
  max-width: 1100px;
}

/* If you have a right-side card like .hero-card, hide it */
.hero-card{
  display: none !important;
}


