:root{
      --black:#0b0b0b;
      --white:#ffffff;

      --gray-50:#f7f7f7;
      --gray-100:#f1f1f1;
      --gray-200:#e2e2e2;
      --gray-400:#b5b5b5;
      --gray-700:#3a3a3a;

      --orange:#e06b1a;
      --orange-dark:#c85f17;
      --orange-soft:#fff1e6;

      --max:1100px;
      --radius:18px;
      --shadow-soft: 0 12px 30px rgba(0,0,0,.10);
    }

    *{box-sizing:border-box}
    html,body{height:100%}
    body{
      margin:0;
      font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
      color:var(--black);
      background:var(--white);
      line-height:1.55;
    }
    img{max-width:100%; display:block}
    a{color:inherit}
    .container{width:min(var(--max), calc(100% - 2rem)); margin-inline:auto}
    .muted{color:var(--gray-700)}
    section{padding:2.6rem 0}

    /* Top bar */
    .topbar{
      background:var(--black);
      color:var(--gray-200);
      font-size:.9rem;
    }
    .topbar .inner{
      display:flex;
      gap:1rem;
      align-items:center;
      justify-content:space-between;
      padding:.65rem 0;
    }
    .topbar a{color:var(--gray-200); text-decoration:none}
    .topbar a:hover{color:var(--white)}
    .topbar .meta{display:flex; gap:1rem; flex-wrap:wrap}
    .topbar .meta span{opacity:.9}

    /* Header / Nav */
    header{
      position:sticky;
      top:0;
      z-index:50;
      background:rgba(11,11,11,.92);
      backdrop-filter: blur(10px);
      border-bottom:1px solid rgba(255,255,255,.08);
    }
    .nav{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:1rem;
      padding:.9rem 0;
    }
    .brand{
      display:flex;
      align-items:center;
      gap:.75rem;
      text-decoration:none;
      color:var(--white);
      white-space:nowrap;
      font-weight:700;
      letter-spacing:.2px;
    }
    .brand-mark{
      width:38px;
      height:38px;
      border-radius:10px;
      background:linear-gradient(145deg, #111, #000);
      border:1px solid rgba(255,255,255,.12);
      display:grid;
      place-items:center;
      box-shadow:0 6px 20px rgba(0,0,0,.35);
      font-size:.95rem;
    }

    .nav-cta{
      display:flex;
      align-items:center;
      gap:.75rem;
    }

    /* --- NAV: smooth hover + dropdowns --- */
.primary-nav .nav-list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  align-items:center;
  gap:1.1rem;
}

.primary-nav a{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  color:var(--gray-200);
  text-decoration:none;
  font-weight:650;
  font-size:.95rem;
  padding:.45rem .2rem;
  transition: color .18s ease, transform .18s ease;
  will-change: transform;
}

/* Animated underline */
.primary-nav a::after{
  content:"";
  position:absolute;
  left:.2rem;
  right:.2rem;
  bottom:.15rem;
  height:2px;
  border-radius:999px;
  background: var(--orange, #e06b1a);
  transform: scaleX(0);
  transform-origin:left;
  transition: transform .22s ease;
  opacity:.95;
}

/* Hover / focus animation */
.primary-nav a:hover,
.primary-nav a:focus-visible{
  color:var(--white);
  transform: translateY(-1px);
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after{
  transform: scaleX(1);
}

/* Dropdown container */
.has-dropdown{
  position:relative;
}

/* Chevron subtle animation */
.has-dropdown .chev{
  font-size:.8rem;
  opacity:.85;
  transform: translateY(1px);
  transition: transform .18s ease, opacity .18s ease;
}

.has-dropdown:hover .chev,
.has-dropdown:focus-within .chev{
  transform: translateY(1px) rotate(180deg);
  opacity:1;
}

/* Dropdown panel */
.dropdown{
  position:absolute;
  top: 100%;
  left: 0;
  margin-top: .35rem;
  min-width: 220px;
  padding:.5rem;
  margin:0;
  list-style:none;

  background: rgba(11,11,11,.98);
  border:1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);

  opacity:0;
  transform: translateY(6px);
  pointer-events:none;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 100;
}

/* Open on hover (desktop) + keyboard focus */
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown{
  opacity:1;
  transform: translateY(0);
  pointer-events:auto;
}

/* Dropdown links */
.dropdown a{
  width:100%;
  padding:.65rem .6rem;
  border-radius: 12px;
  color: rgba(255,255,255,.9);
  font-weight:650;
  font-size:.92rem;
}

.dropdown a::after{ display:none; } /* remove underline inside dropdown */
.dropdown a:hover,
.dropdown a:focus-visible{
  background: rgba(255,255,255,.07);
  transform: none;
  color: var(--white);
}

/* Keep your existing mobile breakpoint behaviour */
@media (max-width: 980px){
  .primary-nav .nav-list{display:none;} /* you already hide desktop nav here */
}
.topbar-right{
  display:flex;
  align-items:center;
  gap:1rem;
}

.topbar-social{
  display:flex;
  gap:.45rem;
  margin-left:.5rem;
}

.topbar-social a{
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
  transition: background .15s ease, transform .15s ease;
}

.topbar-social a:hover{
  background:rgba(224,107,26,.25);
  transform: translateY(-1px);
}

.topbar-social svg{
  width:14px;
  height:14px;
  fill: rgba(255,255,255,.9);
}
@media (max-width: 560px){
  .topbar-social{
    display:none;
  }
}


    .btn{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      gap:.5rem;
      padding:.7rem 1rem;
      border-radius:999px;
      border:1px solid rgba(255,255,255,.16);
      background:transparent;
      color:var(--white);
      text-decoration:none;
      font-weight:700;
      font-size:.95rem;
      transition: transform .15s ease, background .15s ease, border-color .15s ease;
      white-space:nowrap;
    }
    .btn:hover{transform: translateY(-1px); background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.26)}
    .btn.primary{
      background:var(--orange);
      color:var(--white);
      border-color:transparent;
    }

    .btn.primary:hover{
      background:var(--orange-dark);
    }

 .btn-orange{
  background: var(--orange);
  color: var(--white);
  border-color: transparent;
}

.btn-orange:hover{
  background: var(--orange-dark);
  color: var(--white);
}


    .burger{
      display:none;
      width:44px; height:44px;
      border-radius:12px;
      border:1px solid rgba(255,255,255,.14);
      background:rgba(255,255,255,.06);
      color:var(--white);
      cursor:pointer;
    }
    .burger:active{transform: translateY(1px)}

    /* Mobile nav */
    @media (max-width: 980px){
      nav ul{display:none}
      .burger{display:inline-grid; place-items:center}
    }
    .mobile-menu{
      display:none;
      border-top:1px solid rgba(255,255,255,.08);
      background:rgba(11,11,11,.92);
    }
    .mobile-menu.open{display:block}
    .mobile-menu a{
      display:block;
      padding:1rem 0;
      color:var(--gray-200);
      text-decoration:none;
      border-bottom:1px solid rgba(255,255,255,.08);
      font-weight:650;
    }
    .mobile-menu a:hover{color:var(--white)}
    .mobile-menu .container{padding-bottom:.25rem}

    /* Subtle hero */
    .hero{
      background: linear-gradient(180deg, #0b0b0b 0%, #111 45%, #0b0b0b 100%);
      color: var(--white);
      border-bottom: 1px solid rgba(255,255,255,.08);
    }
    .hero-inner{
      padding: 2.1rem 0 1.7rem;
      display:flex;
      align-items:flex-end;
      justify-content:space-between;
      gap:1rem;
      flex-wrap:wrap;
    }
    .hero-pill{
      display:inline-flex;
      align-items:center;
      gap:.5rem;
      padding:.35rem .7rem;
      border-radius:999px;
      background: rgba(224,107,26,.14);
      border: 1px solid rgba(224,107,26,.28);
      color: #ffd7b8;
      font-weight:900;
      font-size:.9rem;
      width:max-content;
      margin-bottom:.6rem;
    }
    .hero h1{
      margin:0 0 .35rem;
      font-size: clamp(1.75rem, 2.8vw, 2.35rem);
      letter-spacing:-.5px;
      line-height:1.15;
    }
    .hero p{
      margin:0;
      color: rgba(255,255,255,.78);
      max-width: 70ch;
      font-weight:650;
    }

    /* Section head */
    .section-head{
      display:flex;
      justify-content:space-between;
      align-items:flex-end;
      gap:1rem;
      flex-wrap:wrap;
      margin-bottom: 1.1rem;
    }
    .section-head h2{
      margin:0;
      font-size: clamp(1.4rem, 2.1vw, 1.8rem);
      letter-spacing:-.35px;
      font-weight:950;
    }

    /* Team grid (uniform) */
    .team{
      background: linear-gradient(180deg, var(--white), var(--gray-50));
      border-top: 1px solid rgba(0,0,0,.06);
    }
    .grid{
      display:grid;
      grid-template-columns: repeat(12, 1fr);
      gap: .95rem;
    }

    .card{
      grid-column: span 4;
      border-radius: 22px;
      overflow:hidden;
      border: 1px solid var(--gray-200);
      background: var(--white);
      box-shadow: var(--shadow-soft);
      transition: transform .15s ease, border-color .15s ease;
      height: 455px;           /* same size */
      display:flex;
      flex-direction:column;
    }
    .card:hover{
      transform: translateY(-3px);
      border-color: rgba(224,107,26,.30);
    }

    /* Image area */
    .media{
      height: 220px;
      position:relative;
      background: linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.70));
      overflow:hidden;
    }
    .media img{
      width:100%;
      height:100%;
      object-fit:cover;
      transform: scale(1.03);
    }
    .media::after{
      content:"";
      position:absolute;
      inset:0;
      background:
        radial-gradient(520px 320px at 18% 18%, rgba(224,107,26,.18), transparent 60%),
        linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.55));
      pointer-events:none;
    }
    .badge{
      position:absolute;
      left: 14px;
      top: 14px;
      display:inline-flex;
      align-items:center;
      gap:.45rem;
      padding:.32rem .62rem;
      border-radius:999px;
      background: rgba(0,0,0,.44);
      border: 1px solid rgba(255,255,255,.16);
      color: rgba(255,255,255,.92);
      font-weight:900;
      font-size:.84rem;
    }
    .dot{
      width:10px; height:10px; border-radius:999px;
      background: var(--orange);
      box-shadow: 0 0 0 4px rgba(224,107,26,.14);
    }

    /* Content */
    .body{
      padding: 1rem 1rem 1.05rem;
      display:flex;
      flex-direction:column;
      gap:.65rem;
      flex: 1;
    }
    .nameRow{
      display:flex;
      justify-content:space-between;
      align-items:flex-start;
      gap: .85rem;
    }
    .nameRow h3{
      margin:0;
      font-weight:950;
      letter-spacing:-.2px;
      font-size: 1.08rem;
      line-height:1.25;
    }
    .title{
      margin:.15rem 0 0;
      color: var(--gray-700);
      font-weight:850;
      font-size:.95rem;
    }
    .rolePill{
      display:inline-flex;
      align-items:center;
      padding:.28rem .6rem;
      border-radius:999px;
      background: rgba(224,107,26,.12);
      border: 1px solid rgba(224,107,26,.25);
      color: var(--orange-dark);
      font-weight:950;
      font-size: .78rem;
      white-space:nowrap;
      height: fit-content;
    }

    .bio{
      margin:0;
      color: var(--gray-700);
      font-weight:650;
      font-size:.98rem;
    }

    /* Optional: keep heights consistent even if bios vary */
    .bioWrap{
      margin-top:.1rem;
      padding-top:.2rem;
      border-top: 1px solid rgba(0,0,0,.06);
      flex: 1;
      display:flex;
    }
    .bioWrap p{
      margin:.75rem 0 0;
    }

    /* Footer */
    /* --- FOOTER COMPLETE --- */
.site-footer{
  background:#050505;
  color:rgba(255,255,255,.88);
  border-top:1px solid rgba(255,255,255,.10);
}

.site-footer .container{
  padding:2.75rem 0 1.25rem;
}

.site-footer::before{
  content:"";
  display:block;
  height:3px;
  background:linear-gradient(
    90deg,
    rgba(224,107,26,0),
    rgba(224,107,26,.9),
    rgba(224,107,26,0)
  );
}

/* Layout */
.footer-top{
  display:grid;
  grid-template-columns:1.15fr 1.85fr;
  gap:2rem;
  align-items:start;
}

.footer-brand{
  display:flex;
  gap:1rem;
  align-items:flex-start;
}

.footer-mark{
  width:44px;
  height:44px;
  border-radius:14px;
  display:grid;
  place-items:center;
  font-weight:950;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
}

.footer-brand p{
  margin:.45rem 0 0;
  max-width:50ch;
}

/* Social */
.footer-social{
  margin-top:.75rem;
  display:flex;
  gap:.6rem;
}

.footer-social a{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  transition: background .15s ease, transform .15s ease;
}

.footer-social a:hover{
  background:rgba(224,107,26,.25);
  transform: translateY(-1px);
}

.footer-social svg{
  width:18px;
  height:18px;
  fill: rgba(255,255,255,.9);
}


/* Columns */
.footer-cols{
  display:grid;
  grid-template-columns: 1fr 1.25fr; /* hours | map */
  gap: 1.75rem;
}


.footer-col h4{
  margin:0 0 .75rem;
  font-size:.95rem;
  color:var(--white);
}

.footer-col ul{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:.45rem;
}

.footer-col a{
  color:rgba(255,255,255,.78);
  text-decoration:none;
  font-weight:650;
}
.footer-col a:hover{
  color:var(--orange);
}

/* Opening hours */
.hours{
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  gap:.55rem;
}

.hours li{
  display:grid;
  grid-template-columns: 1fr auto; /* left label + right time */
  align-items:baseline;
  gap:1rem;
  padding:.35rem 0;
  border-bottom: 1px dashed rgba(255,255,255,.12);
}

.hours li:last-child{
  border-bottom:none;
}

.hours li span:first-child{
  color: rgba(255,255,255,.86);
  font-weight: 750;
}

.hours li span:last-child{
  color: rgba(255,255,255,.76);
  font-weight: 650;
  white-space:nowrap; /* prevents wrapping into weird shapes */
}

/* Map */
.footer-map{
  border-radius:14px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 10px 25px rgba(0,0,0,.35);
}
.footer-map iframe{
  width:100%;
  height:160px;
  border:0;
}

.address{
  margin-top:.5rem;
  font-size:.85rem;
}

/* Bottom */
.footer-bottom{
  margin-top:2rem;
  padding-top:1.25rem;
  border-top:1px solid rgba(255,255,255,.12);
  display:flex;
  justify-content:space-between;
  gap:1rem;
  flex-wrap:wrap;
  font-size:.9rem;
  color:rgba(255,255,255,.65);
}

/* Back to top */
.back-to-top{
  color:var(--orange);
  font-weight:800;
  text-decoration:none;
}
.back-to-top:hover{
  text-decoration:underline;
}

/* Footer readability overrides */
.site-footer .muted{
  color: rgba(255,255,255,.70) !important;
}

.site-footer p,
.site-footer li,
.site-footer span{
  color: rgba(255,255,255,.78);
}

.site-footer .footer-bottom{
  color: rgba(255,255,255,.68);
}

.site-footer .address{
  color: rgba(255,255,255,.72);
}

    @media (max-width: 980px){
      nav ul{ display:none; }
      .card{ grid-column: span 6; }
    }
    @media (max-width: 640px){
      .card{ grid-column: span 12; height: auto; }
      .media{ height: 240px; }
      .bioWrap{ border-top: 0; }
    }

/* =========================
   RESPONSIVE POLISH — Meet the Team
   Paste at VERY END of meettheteam.css
   ========================= */

/* Tablet and down */
@media (max-width: 980px){
  /* Topbar: avoid squashing */
  .topbar .inner{
    flex-direction: column;
    align-items: flex-start;
    gap: .55rem;
  }

  /* Brand: allow wrap instead of forcing overflow */
  .brand{
    white-space: normal;
    max-width: 78%;
    line-height: 1.15;
  }

  /* Hero spacing */
  .hero-inner{
    padding: 1.6rem 0 1.25rem;
    align-items: flex-start;
  }

  /* Grid: slightly tighter */
  .grid{
    gap: .85rem;
  }

  /* Footer collapses */
  .footer-top{ grid-template-columns: 1fr; }
  .footer-cols{ grid-template-columns: 1fr; }
  .footer-map iframe{ height: 220px; }
}

/* Phone */
@media (max-width: 560px){
  /* Slightly more breathing room on small screens */
  .container{ width: min(var(--max), calc(100% - 1.25rem)); }
  section{ padding: 2.1rem 0; }

  /* Hero typography for phone */
  .hero h1{
    font-size: clamp(1.6rem, 6.5vw, 2.05rem);
  }
  .hero p{
    font-size: .98rem;
  }

  /* Cards: reduce “forced tall” feel */
  .card{
    border-radius: 20px;
  }
  .media{
    height: 210px; /* less tall on very small screens */
  }

  /* Make role pill wrap cleanly if needed */
  .nameRow{
    flex-direction: column;
    align-items: flex-start;
    gap: .35rem;
  }
  .rolePill{
    white-space: normal;
  }

  /* Footer bottom stacks */
  .footer-bottom{
    flex-direction: column;
    align-items: flex-start;
    gap: .6rem;
  }

  /* Hours list: stop cramped two-column layout */
  .hours li{
    grid-template-columns: 1fr;
    gap: .25rem;
  }
  .hours li span:last-child{
    white-space: normal;
  }
}
