/* ─── VARIABLES ─── */
    :root {
      --forest: #1e2028;
      --deep: #12141a;
      --gold: #f47c20;
      --gold-light: #ff9a45;
      --gold-pale: #ffe4cc;
      --cream: #f4f5f7;
      --warm-white: #ffffff;
      --charcoal: #1e2028;
      --mid: #6b7280;
      --blue: #2563eb;
      --blue-dark: #d8711d;
      --orange: #f47c20;
      --orange-light: #ff9a45;
    }

    /* ─── RESET ─── */
    *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
    html { scroll-behavior: smooth; font-size: 16px; }
    body {
      font-family: 'Jost', sans-serif;
      background: var(--warm-white);
      color: var(--charcoal);
      overflow-x: hidden;
    }

    /* ─── NOISE OVERLAY ─── */
    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='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
      pointer-events: none;
      z-index: 9999;
      opacity: 0.4;
    }

    /* ─── SCROLLBAR ─── */
    ::-webkit-scrollbar { width: 6px; }
    ::-webkit-scrollbar-track { background: var(--cream); }
    ::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

    /* ─── NAVBAR ─── */
    nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 1000;
      padding: 1.25rem 0;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.4s ease;
      background: rgba(18, 20, 26, 0.97);
      backdrop-filter: blur(12px);
      box-shadow: 0 2px 40px rgba(0,0,0,0.25);
    }

    .nav-inner {
      width: 100%;
      max-width: 1300px;
      padding: 0 3rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      text-decoration: none;
    }

    .logo img{
  height:60px;
  width:auto;
  display:block;
}

/* Mobile only */
@media (max-width: 768px) {
  .logo img {
    width: 120px;   /* adjust as needed */
    height: auto;   /* keeps aspect ratio */
  }
}


@media (max-width: 768px) {
  .nav-inner {
    padding-left: 1em!important;
  }
}

    .nav-links {
      display: flex;
      gap: 2.5rem;
      list-style: none;
      align-items: center;
    }

    .nav-links a {
      color: rgba(249, 245, 236, 0.8);
      text-decoration: none;
      font-size: 0.82rem;
      font-weight: 400;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      transition: color 0.3s;
      position: relative;
    }

    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -4px; left: 0; right: 0;
      height: 1px;
      background: var(--gold);
      transform: scaleX(0);
      transition: transform 0.3s ease;
      transform-origin: left;
    }

    .nav-links a:hover { color: var(--gold-light); }
    .nav-links a:hover::after { transform: scaleX(1); }
    .nav-links a.active { color: var(--gold-light); }
    .nav-links a.active::after { transform: scaleX(1); }

    .nav-cta {
      background: var(--gold) !important;
      color: var(--deep) !important;
      padding: 0.55rem 1.4rem !important;
      border-radius: 1px;
      font-weight: 500 !important;
      letter-spacing: 0.1em !important;
      transition: background 0.3s, transform 0.2s !important;
    }

    .nav-cta::after { display: none !important; }
    .nav-cta:hover { background: var(--gold-light) !important; transform: translateY(-1px); }

    /* ─── PAGE HERO ─── */
    .page-hero {
      padding-top: 10rem;
      padding-bottom: 5rem;
      background: var(--forest);
      position: relative;
      overflow: hidden;
      text-align: center;
    }

    .page-hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 60% 80% at 50% 0%, rgba(244,124,32,0.08) 0%, transparent 60%),
        radial-gradient(ellipse 40% 60% at 0% 100%, rgba(37,99,235,0.06) 0%, transparent 60%);
      pointer-events: none;
    }

    /* Grid pattern background */
    .page-hero::after {
      content: '';
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(244,124,32,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(244,124,32,0.04) 1px, transparent 1px);
      background-size: 80px 80px;
      pointer-events: none;
    }

    .page-hero-inner {
      position: relative;
      z-index: 1;
      max-width: 1300px;
      margin: 0 auto;
      padding: 0 3rem;
    }

    .page-hero .section-label {
      justify-content: center;
      margin-bottom: 1.5rem;
    }

    .page-hero-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(3rem, 7vw, 5.5rem);
      font-weight: 300;
      color: var(--cream);
      line-height: 1.05;
      margin-bottom: 1.5rem;
      opacity: 0;
      animation: fadeUp 0.9s ease 0.3s forwards;
    }

    .page-hero-title em {
      font-style: italic;
      color: var(--gold-light);
    }

    .page-hero-body {
      max-width: 600px;
      margin: 0 auto;
      font-size: 1.05rem;
      font-weight: 300;
      line-height: 1.75;
      color: rgba(249, 245, 236, 0.6);
      opacity: 0;
      animation: fadeUp 0.9s ease 0.5s forwards;
    }

    .hero-rule-bottom {
      position: absolute;
      bottom: 0; left: 0; right: 0;
      height: 2px;
      background: linear-gradient(90deg, transparent, var(--orange), transparent);
      opacity: 0.5;
    }

    /* ─── SECTION COMMONS ─── */
    .section-label {
      display: flex;
      align-items: center;
      gap: 1rem;
      margin-bottom: 1.25rem;
    }

    .section-label-line { width: 35px; height: 1px; background: var(--gold); }

    .section-label span {
      font-size: 0.7rem;
      font-weight: 500;
      letter-spacing: 0.3em;
      text-transform: uppercase;
      color: var(--gold);
    }

    .gold-divider {
      width: 60px; height: 1px;
      background: linear-gradient(90deg, var(--gold), transparent);
      margin: 1.5rem auto;
    }

    /* ─── TEAM SECTION ─── */

    @media (max-width: 768px) {
  .card-image-wrap {
    height: 220px; /* adjust as needed */
    overflow: hidden;
  }

  .card-image-wrap img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
}
    .team-section {
      padding: 7rem 3rem;
      background: var(--cream);
      position: relative;
    }

    .team-section::before {
      content: '';
      position: absolute;
      top: 0; right: 0;
      width: 45%; height: 100%;
      background: radial-gradient(ellipse at right center, rgba(37,99,235,0.03) 0%, transparent 70%);
      pointer-events: none;
    }

    .team-container {
      max-width: 1300px;
      margin: 0 auto;
    }

    .team-intro {
      text-align: center;
      margin-bottom: 5rem;
    }

    .team-intro .section-label { justify-content: center; }

    .team-intro-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(2.2rem, 4vw, 3.5rem);
      font-weight: 300;
      line-height: 1.15;
      color: var(--forest);
      margin-bottom: 1.25rem;
    }

    .team-intro-title em { font-style: italic; color: var(--blue-dark); }

    .team-intro-body {
      max-width: 560px;
      margin: 0 auto;
      font-size: 1rem;
      line-height: 1.8;
      color: var(--mid);
      font-weight: 300;
    }

    /* ─── TEAM GRID ─── */
    .team-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2rem;
    }

    /* ─── TEAM CARD ─── */
    .team-card {
      background: var(--warm-white);
      position: relative;
      overflow: hidden;
      transition: transform 0.4s ease, box-shadow 0.4s ease;
      cursor: default;
    }

    .team-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 24px 60px rgba(0,0,0,0.12);
    }

    /* Orange top accent line */
    .team-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 3px;
      background: linear-gradient(90deg, var(--gold), var(--orange-light));
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.4s ease;
      z-index: 2;
    }

    .team-card:hover::before { transform: scaleX(1); }

    /* Image container */
    .card-image-wrap {
      position: relative;
      width: 100%;
      aspect-ratio: 4 / 3;
      overflow: hidden;
      background: var(--forest);
    }

    /* Placeholder portrait — elegant SVG silhouette */
    .card-image-wrap svg {
      width: 100%;
      height: 100%;
      display: block;
    }

    /* Subtle overlay gradient on image */
    .card-image-wrap::after {
      content: '';
      position: absolute;
      bottom: 0; left: 0; right: 0;
      height: 40%;
      background: linear-gradient(to top, rgba(18,20,26,0.5) 0%, transparent 100%);
    }

    /* Card body */
    .card-body {
      padding: 2rem 2.5rem 2.5rem;
      display: flex;
      flex-direction: column;
      gap: 0.25rem;
      border-left: 3px solid transparent;
      transition: border-color 0.4s ease;
    }

    .team-card:hover .card-body { border-color: var(--gold); }

    .card-position {
      font-size: 0.68rem;
      font-weight: 500;
      letter-spacing: 0.3em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 0.4rem;
    }

    .card-name {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.65rem;
      font-weight: 600;
      color: var(--forest);
      line-height: 1.2;
      margin-bottom: 0.75rem;
    }

    .card-divider {
      width: 40px; height: 1px;
      background: linear-gradient(90deg, var(--gold), transparent);
      margin-bottom: 1rem;
    }

    .card-excerpt {
      font-size: 0.87rem;
      line-height: 1.7;
      color: var(--mid);
      font-weight: 300;
      margin-bottom: 1.75rem;
    }

    /* View More button */
    .card-btn {
      display: inline-flex;
      align-items: center;
      gap: 0.6rem;
      font-size: 0.72rem;
      font-weight: 500;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--charcoal);
      background: none;
      border: 1px solid rgba(0,0,0,0.15);
      padding: 0.65rem 1.4rem;
      cursor: pointer;
      transition: all 0.3s ease;
      align-self: flex-start;
    }

    .card-btn:hover {
      background: var(--gold);
      border-color: var(--gold);
      color: var(--deep);
    }

    .card-btn svg {
      width: 14px; height: 14px;
      transition: transform 0.3s ease;
    }

    .card-btn:hover svg { transform: translateX(3px); }

    /* ─── MODAL OVERLAY ─── */
    .modal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(12, 14, 20, 0.85);
      backdrop-filter: blur(8px);
      z-index: 2000;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 2rem;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.35s ease;
    }

    .modal-overlay.open {
      opacity: 1;
      pointer-events: all;
    }

    /* ─── MODAL PANEL ─── */
    .modal-panel {
      background: var(--warm-white);
      max-width: 860px;
      width: 100%;
      max-height: 90vh;
      overflow-y: auto;
      position: relative;
      display: grid;
      grid-template-columns: 340px 1fr;
      transform: translateY(24px) scale(0.97);
      transition: transform 0.35s ease;
    }

    .modal-overlay.open .modal-panel {
      transform: translateY(0) scale(1);
    }

    /* Orange top bar on modal */
    .modal-panel::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 3px;
      background: linear-gradient(90deg, var(--gold), var(--orange-light), var(--gold));
      z-index: 1;
    }

    /* Modal left — portrait */
    .modal-portrait {
      background: var(--forest);
      position: relative;
      min-height: 400px;
      overflow: hidden;
    }

    .modal-portrait svg {
      width: 100%;
      height: 100%;
      position: absolute;
      inset: 0;
    }

    .modal-portrait-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(160deg, rgba(244,124,32,0.12) 0%, rgba(18,20,26,0.4) 100%);
    }

    .modal-portrait-badge {
      position: absolute;
      bottom: 2rem;
      left: 2rem;
      right: 2rem;
      z-index: 2;
    }

    .modal-portrait-position {
      font-size: 0.65rem;
      font-weight: 500;
      letter-spacing: 0.3em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 0.3rem;
    }

    .modal-portrait-name {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.5rem;
      font-weight: 600;
      color: var(--cream);
      line-height: 1.2;
    }

    /* Modal right — profile content */
    .modal-content {
      padding: 3rem 2.5rem;
      overflow-y: auto;
      border-left: 3px solid var(--gold);
    }

    .modal-section-label {
      font-size: 0.65rem;
      font-weight: 500;
      letter-spacing: 0.3em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 0.75rem;
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }

    .modal-section-label::before {
      content: '';
      display: block;
      width: 25px; height: 1px;
      background: var(--gold);
    }

    .modal-name {
      font-family: 'Cormorant Garamond', serif;
      font-size: 2rem;
      font-weight: 600;
      color: var(--forest);
      line-height: 1.15;
      margin-bottom: 0.4rem;
    }

    .modal-position {
      font-size: 0.82rem;
      font-weight: 400;
      color: var(--mid);
      letter-spacing: 0.08em;
      margin-bottom: 1.5rem;
    }

    .modal-divider {
      width: 50px; height: 1px;
      background: linear-gradient(90deg, var(--gold), transparent);
      margin-bottom: 1.75rem;
    }

    .modal-bio-heading {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1rem;
      font-weight: 600;
      color: var(--forest);
      letter-spacing: 0.05em;
      margin-bottom: 0.75rem;
      margin-top: 1.5rem;
    }

    .modal-bio-heading:first-of-type { margin-top: 0; }

    .modal-bio p {
      font-size: 0.9rem;
      line-height: 1.8;
      color: var(--mid);
      font-weight: 300;
      margin-bottom: 1rem;
    }

    .modal-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-top: 1.5rem;
    }

    .modal-tag {
      font-size: 0.68rem;
      font-weight: 500;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--charcoal);
      padding: 0.4rem 0.9rem;
      border: 1px solid rgba(0,0,0,0.12);
      background: var(--cream);
    }

    /* Close button */
    .modal-close {
      position: absolute;
      top: 1.25rem;
      right: 1.25rem;
      width: 38px; height: 38px;
      background: var(--forest);
      border: none;
      color: var(--gold-light);
      font-size: 1.1rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 10;
      transition: background 0.3s;
      line-height: 1;
    }

    .modal-close:hover { background: var(--gold); color: var(--deep); }

    /* ─── SCROLL REVEAL ─── */
    .reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.8s ease, transform 0.8s ease;
    }

    .reveal.visible { opacity: 1; transform: translateY(0); }
    .reveal-delay-1 { transition-delay: 0.15s; }
    .reveal-delay-2 { transition-delay: 0.3s; }
    .reveal-delay-3 { transition-delay: 0.45s; }

    /* ─── KEYFRAMES ─── */
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(25px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    /* ─── FOOTER STRIP ─── */
    .footer-strip {
      background: var(--deep);
      padding: 2.5rem 3rem;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.75rem;
    }

    .footer-strip a {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1rem;
      font-weight: 600;
      color: rgba(255,154,69,0.7);
      letter-spacing: 0.08em;
      text-decoration: none;
    }

    .footer-strip span {
      font-size: 0.72rem;
      color: rgba(249,245,236,0.2);
      letter-spacing: 0.2em;
    }

    /* ─── HAMBURGER ─── */
    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      padding: 4px;
    }

    .hamburger span {
      display: block;
      width: 26px; height: 2px;
      background: var(--gold-light);
      transition: all 0.3s;
    }

    /* ─── MOBILE MENU ─── */
    .mobile-menu {
      display: none;
      position: fixed;
      inset: 0;
      background: var(--deep);
      z-index: 999;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 2.5rem;
    }

    .mobile-menu.open { display: flex; }

    .mobile-menu a {
      font-family: 'Cormorant Garamond', serif;
      font-size: 2.2rem;
      color: var(--cream);
      text-decoration: none;
      letter-spacing: 0.08em;
      transition: color 0.3s;
    }

    .mobile-menu a:hover,
    .mobile-menu a.active { color: var(--gold); }

    .mobile-close {
      position: absolute;
      top: 1.5rem; right: 1.5rem;
      background: none;
      border: none;
      color: var(--gold-light);
      font-size: 2rem;
      cursor: pointer;
      line-height: 1;
    }

    /* ─── RESPONSIVE ─── */
    @media (max-width: 900px) {
      .nav-inner { padding: 0 1.5rem; }
      .nav-links { display: none; }
      .hamburger { display: flex; }
      .team-section { padding: 5rem 1.5rem; }
      .team-grid { grid-template-columns: 1fr; gap: 1.5rem; }
      .modal-panel { grid-template-columns: 1fr; }
      .modal-portrait { min-height: 260px; }
      .page-hero-inner { padding: 0 1.5rem; }
      .page-hero { padding-top: 8rem; padding-bottom: 3.5rem; }
    }

    @media (max-width: 600px) {
      .modal-content { padding: 2rem 1.5rem; }
    }

    /* ─── PORTRAIT ILLUSTRATIONS ─── */
    /* Each team member gets a unique abstract geometric portrait */