/* ========== Global Resets & Tokens ========== */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

:root{
  --butler-navy:#13294B;
  --butler-accent:#00A3E0;
  --butler-gray:#75787B;
  --butler-white:#FFFFFF;

  --text:#0b1220;
  --border:#e7e8ea;
  --bg-muted:#f7f7f8;
}

html,body{
  margin:0; padding:0;
  font-family:"Industry", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color:var(--text);
  line-height:1.5;
  background:#fff;
}

img, video{ max-width:100%; height:auto; display:block; }

/* Utility */
.spacer{ flex:1; }
.sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* ========== Navigation (shared) ========== */
.nav{
  position:sticky; top:0; z-index:100;
  background:var(--butler-navy); color:var(--butler-white);
  border-bottom:4px solid var(--butler-accent);
}
.nav__wrap{
  max-width:1100px; margin:0 auto;
  display:flex; align-items:center; gap:16px;
  padding:12px 20px;
}
.brand{
  display:flex; align-items:center; gap:8px;
  font-weight:900; letter-spacing:.5px; text-transform:uppercase; font-size:1.05rem;
}
.brand img{ height:32px; width:auto; }
.nav a{
  color:var(--butler-white); text-decoration:none;
  padding:8px 10px; border-radius:8px;
}
.nav a:hover{ background:rgba(255,255,255,.12); }
.nav__btn{
  background:var(--butler-accent); color:#06233d;
  font-weight:800; padding:10px 14px; border-radius:999px;
}
.nav__btn:hover{ filter:brightness(.95); }

/* ========== Hero (shared) ========== */
.hero{
  color:var(--butler-white);
  padding:72px 20px 56px;
  text-align:center;
  background:var(--butler-navy); /* fallback if no image set inline */
  position:relative;
}
.hero::before{
  content:""; position:absolute; inset:0;
  background:rgba(19,41,75,.7); /* overlay; can tune between .45–.75 */
}
.hero__inner{ max-width:980px; margin:0 auto; position:relative; z-index:1; }
.eyebrow{
  display:inline-block; background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.25);
  padding:6px 10px; border-radius:999px;
  font-size:.8rem; letter-spacing:.6px; text-transform:uppercase;
  margin-bottom:14px;
}
.hero h1{ margin:10px 0 12px; font-size:clamp(2rem, 5vw, 3rem); line-height:1.1; font-weight:900; }
.hero p{ margin:0 auto 24px; max-width:760px; opacity:.95; font-size:1.05rem; }

/* ========== Buttons (shared) ========== */
.btn{
  appearance:none; border:0; cursor:pointer; text-decoration:none;
  padding:12px 18px; border-radius:12px;
  font-weight:800; letter-spacing:.2px;
  transition:transform .04s ease, filter .12s ease;
  display:inline-block; text-align:center;
}
.btn:active{ transform:translateY(1px); }
.btn--primary{ background:var(--butler-accent); color:#06233d; }
.btn--primary:hover{ filter:brightness(.95); }
.btn--ghost{ background:transparent; color:var(--butler-white); border:2px solid rgba(255,255,255,.6); }
.btn--ghost:hover{ border-color:#fff; }

/* ========== Sections, Containers, Grids ========== */
.section{ padding:48px 20px; }
.section.alt{ background:#fafafb; }
.section__inner, .container{ max-width:1100px; margin:0 auto; }

.section h2{ font-size:1.6rem; margin:0 0 10px; color:var(--butler-navy); }
.kicker{
  display:inline-block; margin-bottom:10px;
  font-size:.85rem; letter-spacing:.6px; text-transform:uppercase; color:var(--butler-gray);
}
.lead{ margin:0 0 18px; color:#2a3139; max-width:900px; }

.grid{
  display:grid; gap:16px; grid-template-columns:repeat(1, minmax(0,1fr));
}
@media (min-width:760px){
  .grid{ grid-template-columns:repeat(3, minmax(0,1fr)); }
}

.cols{
  display:grid; gap:20px; grid-template-columns:1fr;
}
@media (min-width:900px){
  .cols{ grid-template-columns:1.1fr .9fr; }
}

/* Cards */
.card{
  border:1px solid var(--border);
  border-radius:16px; padding:20px; background:#fff;
}
.card h3{ margin:0 0 6px; color:#102642; }
.card p{ margin:0; color:#2a3139; }

/* CTA Panel */
.cta-panel{
  display:flex; flex-direction:column; gap:12px;
  border:1px solid var(--border); background:#fff;
  border-radius:16px; padding:20px;
}
.cta-panel p{ margin:0; color:#2a3139; }

/* ========== Team (Loom-style) ========== */
.team-wrap{ text-align:center; }
.team-grid{
  margin-top:32px;
  display:grid; gap:40px;
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
  justify-items:center; align-items:start;
}
.member{ text-align:center; }
.member img{
  width:220px; height:220px; object-fit:cover; border-radius:50%;
  border:6px solid #f3f4f6; box-shadow:0 6px 18px rgba(0,0,0,.12);
  margin-bottom:14px; background:#fff;
}
.member h4{ margin:6px 0 2px; font-size:1.1rem; font-weight:700; color:#102642; }
.member .role{ margin:0; color:var(--butler-gray); font-size:.95rem; }

/* ========== Footer (shared) ========== */
.footer{
  background:var(--bg-muted);
  border-top:1px solid var(--border);
  color:#333; padding:20px; text-align:center;
}

/* ========== Mobile & Tablet Tweaks ========== */
@media (max-width: 640px){
  /* Nav */
  .nav__wrap{ gap:8px; padding:10px 14px; }
  .brand{ font-size:.95rem; }
  .brand img{ height:26px; }
  .nav a{ padding:6px 8px; }
  .nav__btn{ padding:8px 12px; }

  /* Hero */
  .hero{ padding:48px 16px 36px; background-position:center top; }
  .hero::before{ background:rgba(19,41,75,.55); }
  .hero h1{ font-size:clamp(1.6rem, 6vw, 2.1rem); }
  .hero p{ font-size:.98rem; }

  /* Buttons */
  .btn{ padding:10px 14px; border-radius:10px; }

  /* Sections & grids */
  .section{ padding:32px 16px; }
  .section h2{ font-size:1.35rem; }
  .lead{ font-size:.98rem; }
  .grid{ grid-template-columns:1fr !important; }
  .card{ padding:16px; border-radius:14px; }
  .cols{ grid-template-columns:1fr !important; }

  /* Team */
  .team-grid{ gap:28px; }
  .member img{ width:170px; height:170px; border-width:5px; }
  .member h4{ font-size:1rem; }
}

@media (min-width:641px) and (max-width:900px){
  .hero{ padding:60px 18px 42px; }
  .hero h1{ font-size:clamp(1.8rem, 4.4vw, 2.4rem); }
  .grid{ grid-template-columns:repeat(2, minmax(0,1fr)); }
  .cols{ grid-template-columns:1fr 1fr; }
}

/* ===== Mobile Nav (no JS) ===== */
.nav__wrap{ position:relative; }
.nav__links{ display:flex; gap:8px; align-items:center; }

/* Toggle + hamburger icon (hidden on desktop) */
.nav__toggle{ display:none; }
.nav__hamburger{
  display:none; cursor:pointer; margin-left:auto; /* pushes it right */
  width:38px; height:32px; border-radius:8px;
  display:none; align-items:center; justify-content:center;
}
.nav__hamburger span{
  display:block; width:22px; height:2px; background:#fff; margin:3px 0; border-radius:2px;
}

/* --- Phones --- */
@media (max-width: 640px){
  .nav__wrap{ gap:10px; }
  .brand img{ height:26px; }
  .brand{ font-size:.95rem; }

  /* Show hamburger, hide links by default */
  .nav__hamburger{ display:flex; }
  .nav__links{
    display:none;
    position:absolute; left:0; right:0; top:100%;
    background:var(--butler-navy); border-bottom:4px solid var(--butler-accent);
    padding:10px 14px; gap:6px; flex-direction:column;
  }
  .nav__links a{ padding:10px 8px; border-radius:8px; }
  .nav__links a:hover{ background:rgba(255,255,255,.12); }

  /* Keep Login pill visible on the right */
  .nav__btn{ padding:8px 12px; margin-left:6px; }

  /* When toggled, reveal the menu */
  .nav__toggle:checked ~ .nav__links{ display:flex; }

  /* Make sure the bar grows to fit the button row */
  .nav{ overflow:visible; }
}

/* --- Small tablets --- */
@media (min-width:641px) and (max-width:900px){
  .nav__hamburger{ display:none; }
  .nav__links{ display:flex; flex-wrap:wrap; }
  .nav__btn{ padding:9px 13px; }
}

.footer{
  background:#f7f7f8;
  border-top:1px solid #e7e8ea;
  color:#333;
  padding:20px;
  text-align:center;
  font-size:.9rem;
}
.footer em{
  font-style:italic;
  color:#2a3139;
}