  /* Uses --navy/--ink/--gold/--cream from style.css's shared :root — this file used to
     redeclare them with slightly different values, which silently overrode style.css's
     dark-mode variants (site-wide dark mode never reached this page's headings/text). */

    body {
      background-color: var(--cream);
      font-family: 'Nunito Sans', system-ui, sans-serif;
      color: var(--ink);
    }

    /* ============ ABOUT HERO (full-bleed background image) ============ */
    .about-hero {
          /*border-bottom: 3px solid #183421;*/
      position: relative;
      display: flex;
      align-items: center;
      min-height: calc(100vh - var(--nav-h));
      overflow: hidden;
      background: #f2ecdc;
    }

    .about-hero__bg {
      position: absolute;
      inset: 0;
      z-index: 0;
      background-image: url('/alcotexa/static/src/img/iabout_us_img.png');
      background-size: cover;
      background-position: center right;
      background-repeat: no-repeat;
      animation: heroZoom 1.6s cubic-bezier(.2,.7,.2,1) both;
    }
  .intro-eyebrow{
        text-align: center;
    font-family: 'IBM Plex Mono', monospace;
    letter-spacing: 4px;
    font-size: 0.72rem;
    color: #e8cd7a;
    text-transform: uppercase;
    margin-bottom: 22px;
    opacity: 0;
    animation: fadeUp 1s ease 0.2s forwards;
  }
  .intro-title{
        text-align: center;
    color: var(--cream);
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: clamp(2.4rem, 7vw, 5rem);
    line-height: 1.08;
    margin: 0;
    max-width: 900px;
    opacity: 0;
    animation: fadeUp 1.1s ease 0.4s forwards;
  }
  .intro-title-p{
      font-weight: 700;
    font-size: 26px;
    margin-top: 12px;
    font-family: 'Playfair Display', serif;
    text-align: center;
    font-style: italic !important;
    color: #e8cd7a!important;
  }
  .intro-sub{
    margin-top: 26px;
    max-width: 520px;
    color: var(--green);
    font-size: 1rem;
    line-height: 1.8;
    opacity: 0;
    animation: fadeUp 1.1s ease 0.65s forwards;
  }


    /* cream gradient veil so navy text stays readable over the photo */
    .about-hero__overlay {
      position: absolute;
      inset: 0;
      z-index: 1;
      pointer-events: none;
      background:radial-gradient(120% 90% at 50% 0%, rgb(47 47 47 / 54%), rgb(18 38 86 / 21%) 55%);

    }

    .about-hero__container {
          justify-content: center;
    display: flex;
      position: relative;
      z-index: 2;
      width: 100%;
      padding-block: clamp(3rem, 7vw, 6rem);
    }
    /*.about-hero__inner { max-width: 710px; }*/

    .about-hero__title {
      font-family: "Playfair Display", serif;
      font-weight: 700;
      color: var(--navy);
      line-height: 1.08;
      letter-spacing: 5px;
      font-size: clamp(2.3rem, 3.2vw, 3.15rem);
      margin: 0 0 1.4rem;
    }

    .about-hero__lead {
      color: var(--muted);
      font-size: clamp(1rem, 1.6vw, 1.18rem);
      line-height: 1.65;
      max-width: 60ch;
      margin: 0 0 2.4rem;
    }

    .about-hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; }

     @media (max-width: 1025px) {
  .about-hero__overlay {
      position: absolute;
      inset: 0;
      z-index: 1;
      pointer-events: none;
      background:linear-gradient(358deg, rgb(172 172 172 / 42%) 0%, rgb(0 0 0 / 48%) 55%, rgb(255 255 255) 100%) !important;

    }
    }




    @media (max-width: 991.98px) {
      .about-hero__overlay {
        background: linear-gradient(180deg,
          rgba(245,241,228,.93) 0%,
          rgba(245,241,228,.82) 55%,
          rgba(245,241,228,.72) 100%);
      }
      .about-hero__bg { background-position: center; }
    }

    @media (max-width: 575.98px) {
      .about-hero .btn-hero { flex: 1 1 100%; justify-content: center; }
    }

    @media (prefers-reduced-motion: reduce) {
      .about-hero__bg { animation: none !important; opacity: 1 !important; }
    }





    .aims {
          background: #faf6ed;
      padding-block: 4rem;
    }

    /* ---- Heading ---- */
    .aims-heading {
      font-family: 'Playfair Display', serif;
      font-weight: 700;
      color: var(--ink);
      font-size: clamp(1.75rem, 4vw, 2.4rem);
      margin-bottom: .75rem;
    }
    .aims-underline {
      display: block;
      width: 64px;
      height: 3px;
      background-color: var(--gold);
      margin-bottom: 2.25rem;
    }

    /* ---- Each aim ---- */
    .aim-item {
      gap: 1.1rem;
      margin-bottom: 2rem;
    }
    .aim-item:last-child {
      margin-bottom: 0;
    }
    .aim-icon {
      flex: 0 0 auto;
      width: 46px;
      height: 46px;
      border-radius: 8px;
      background-color: var(--navy);
      color: var(--gold);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.1rem;
      box-shadow: 0 6px 14px rgba(22, 35, 58, .18);
    }
    .aim-title {
      font-family: 'Playfair Display', serif;
      font-weight: 700;
      font-size: 1.3rem;
      color: var(--ink);
      margin-bottom: .35rem;
    }
    .aim-desc {
      color: #444444;
      font-size: .95rem;
      line-height: 1.55;
      margin-bottom: 0;
      max-width: 66ch;
    }

    /* ---- Image ---- */
    .aims-image-wrap {
      width: 100%;
      aspect-ratio: 4 / 3.6;
      border-radius: 14px;
      overflow: hidden;
      box-shadow: 0 18px 40px rgba(22, 35, 58, .15);
    }
    .aims-image {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
      object-position: center;
    }

    /* ---- Tablet & mobile ---- */
    @media (max-width: 991.98px) {
      .aims-image-wrap { margin-top: 2.5rem; aspect-ratio: 16 / 10; }
      .aim-desc { max-width: none; }
    }
    @media (max-width: 575.98px) {
      .aims { padding-block: 2.75rem; }
      .aims-image-wrap { aspect-ratio: 4 / 3; }
      .aim-icon { width: 42px; height: 42px; }
      .aim-title { font-size: 1.15rem; }
    }

    /* ================= About section ================= */
    .about {
      padding-block: 4rem;
      background-color: #ffffff;
    }
    .about-text p {
      font-style: italic;
      font-size: 1rem;
      line-height: 1.85;
      color: var(--ink);
      margin-bottom: 1.5rem;
    }
    .about-text p:last-child {
      margin-bottom: 0;
    }
    .about-text strong {
      font-style: normal;
      font-weight: 700;
    }

    .about-media {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
    }
    .about-photo-wrap {
      width: 100%;
      aspect-ratio: 4 / 3.2;
      border-radius: 14px;
      overflow: hidden;
      box-shadow: 0 18px 40px rgba(22, 35, 58, .15);
    }
    .about-photo {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
      object-position: center;
    }
    .about-logo-wrap {
      width: 100%;
      background-color: #fff;
      border: 1px solid #eee7d8;
      border-radius: 14px;
      padding: 1.75rem;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 10px 24px rgba(22, 35, 58, .08);
    }
    .about-logo {
      max-width: 220px;
      width: 100%;
      height: auto;
    }

    @media (max-width: 991.98px) {
      .about-media { margin-top: 2.5rem; }
    }
    @media (max-width: 575.98px) {
      .about { padding-block: 2.75rem; }
      .about-text p { font-size: .95rem; }
    }



  .leadership-section{
    position:relative;
    background:linear-gradient(180deg,#fbf8f0 0%, var(--cream) 55%, var(--cream) 100%);
    padding:88px 0 120px;
    overflow:hidden;
    font-family:'Poppins', sans-serif;
    isolation:isolate;
  }

  /* decorative curve at bottom */
  .leadership-section::after{
    content:"";
    position:absolute;
    left:0; right:0; bottom:0;
    height:190px;
    background:#bbb49e75;
    border-radius:50% 50% 0 0 / 100% 100% 0 0;
    transform:scale(1.6);
    transform-origin:bottom;
    z-index:0;
  }

  .leadership-section .tw-container{
    position:relative;
    z-index:2;
  }

  /* Eyebrow badge */
  .eyebrow-badge{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:7px 20px;
    border:1px solid var(--gold);
    border-radius:999px;
    background:rgba(212,175,55,0.08);
    color:var(--gold);
    font-family:'Poppins', sans-serif;
    font-weight:600;
    font-size:.72rem;
    letter-spacing:.18em;
    text-transform:uppercase;
  }
  .eyebrow-badge i{ font-size:.75rem; }

  .lead-heading{
    font-family:'Playfair Display', 'Noto Serif', serif;
    font-weight:700;
    color:var(--navy);
    font-size:2.75rem;
    margin-top:18px;
    margin-bottom:14px;
  }

  .lead-divider{
    width:70px;
    height:2px;
    background:linear-gradient(90deg, transparent, var(--gold), transparent);
    margin:0 auto 20px;
    position:relative;
  }
  .lead-divider::before{
    content:"";
    position:absolute;
    left:50%; top:50%;
    width:6px; height:6px;
    background:var(--gold);
    border-radius:50%;
    transform:translate(-50%,-50%);
  }

  .lead-subtitle{
    font-family:'Noto Serif', serif;
    color:var(--ink-muted);
    font-size:1rem;
    max-width:480px;
    margin:0 auto;
    line-height:1.7;
  }

  /* Card */
  .leader-card{
    background:#fffdf8;
    border-radius:22px;
    padding:38px 34px 30px;
    box-shadow:0 18px 40px -18px rgba(13,31,76,0.18), 0 2px 10px rgba(13,31,76,0.05);
    border:1px solid rgba(212,175,55,0.15);
    height:100%;
    transition:transform .35s ease, box-shadow .35s ease;
  }
  .leader-card:hover{
    transform:translateY(-6px);
    box-shadow:0 24px 50px -18px rgba(13,31,76,0.25), 0 4px 14px rgba(13,31,76,0.08);
  }

  /* Photo circle */
  .leader-photo-wrap{
    position:relative;
    width:150px;
    height:150px;
    margin:0 auto 26px;
  }
  .leader-photo-ring{
    width:150px;
    height:150px;
    border-radius:50%;
    padding:5px;
    background:conic-gradient(from 180deg, var(--gold), var(--gold-soft), var(--gold));
    display:flex;
    align-items:center;
    justify-content:center;
  }
  .leader-photo{
    width:100%;
    height:100%;
    border-radius:50%;
    overflow:hidden;
    background:var(--cream-deep);
    border:3px solid #fffdf8;
  }
  .leader-photo img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
  }
  .leader-photo.split-photo{
    display:flex;
  }
  .leader-photo.split-photo img{
    width:33.34%;
    height:100%;
    object-fit:cover;
  }

  .leader-badge-icon{
    position:absolute;
    bottom:-6px;
    left:50%;
    transform:translateX(-50%);
    width:38px;
    height:38px;
    border-radius:50%;
    background:var(--navy);
    border:3px solid #fffdf8;
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--gold-soft);
    font-size:1rem;
    box-shadow:0 4px 10px rgba(13,31,76,0.35);
  }

  .leader-card-title{
    text-align:center;
    font-family:'Noto Serif', serif;
    font-weight:700;
    letter-spacing:.06em;
    color:var(--navy);
    font-size:1.15rem;
    text-transform:uppercase;
    margin-bottom:10px;
  }

  .leader-card-divider{
    width:44px;
    height:2px;
    background:var(--gold);
    margin:0 auto 22px;
    opacity:.7;
    position:relative;
  }
  .leader-card-divider::before{
    content:"";
    position:absolute;
    left:50%; top:50%;
    width:5px; height:5px;
    background:var(--gold);
    border-radius:50%;
    transform:translate(-50%,-50%);
  }

  /* Member rows */
  .member-list{
    display:flex;
    flex-direction:column;
  }
  .member-row{
    display:flex;
    align-items:flex-start;
    gap:14px;
    padding:13px 0;
    border-bottom:1px solid rgba(13,31,76,0.08);
  }
  .member-row:last-child{
    border-bottom:none;
    padding-bottom:2px;
  }
  .member-icon{
    flex:0 0 auto;
    width:34px;
    height:34px;
    border-radius:50%;
    background:rgba(212,175,55,0.12);
    color:var(--navy);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:.95rem;
    margin-top:2px;
  }
  .member-role{
    font-family:'Poppins', sans-serif;
    font-size:.74rem;
    font-weight:600;
    letter-spacing:.03em;
    color:var(--gold);
    text-transform:uppercase;
    margin-bottom:2px;
  }
  .member-name{
    font-family:'Noto Serif', serif;
    font-weight:600;
    color:var(--navy);
    font-size:.94rem;
    letter-spacing:.01em;
  }

  /* Responsive tweaks */
  @media (max-width:991.98px)
  {
    .leadership-section{ padding:70px 0 100px; }
    .lead-heading{ font-size:2.3rem; }
  }

  @media (max-width:767.98px){
    .leadership-section{ padding:56px 0 90px; }
    .lead-heading{ font-size:1.85rem; margin-top:14px; }
    .lead-subtitle{ font-size:.92rem; padding:0 10px; }
    .leader-card{ padding:32px 24px 26px; margin-bottom:26px; }
    .leader-photo-wrap, .leader-photo-ring, .leader-photo{
      width:130px; height:130px;
    }
    #leadershipRow > .scroll-reveal:last-child .leader-card{ margin-bottom:0; }
  }

  @media (max-width:575.98px){
    .leader-card{ padding:28px 18px 22px; }
    .member-row{ gap:10px; }
    .member-name{ font-size:.88rem; }
  }

  /* ============ SCROLL REVEAL (whole page, re-triggers up/down) ============
     .scroll-reveal starts hidden/offset; about_us.js toggles .is-visible via
     IntersectionObserver on every enter/exit, so sections fade back out when
     scrolled past and animate again on re-entry in either scroll direction. */
  .scroll-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
  }
  .scroll-reveal.is-visible {
    opacity: 1;
    transform: none;
  }

  .aims .scroll-reveal:nth-child(2) { transition-delay: .08s; }
  .aims .scroll-reveal:nth-child(3) { transition-delay: .16s; }

  #vpRow > .scroll-reveal:nth-child(2) { transition-delay: .08s; }
  #vpRow > .scroll-reveal:nth-child(3) { transition-delay: .16s; }

  #membersRow > .scroll-reveal:nth-child(4n+2) { transition-delay: .06s; }
  #membersRow > .scroll-reveal:nth-child(4n+3) { transition-delay: .12s; }
  #membersRow > .scroll-reveal:nth-child(4n+4) { transition-delay: .18s; }

  #leadershipRow > .scroll-reveal:nth-child(2) { transition-delay: .12s; }

  @media (prefers-reduced-motion: reduce) {
    .scroll-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  }

  /* ================= DARK MODE ================= */
  html[data-theme="dark"] .about-hero__title { color: #eef2fb; }
  html[data-theme="dark"] .about-hero__lead { color: var(--muted); }
  html[data-theme="dark"] .about-hero { background: #0b1220; }
  html[data-theme="dark"] .about-hero__overlay {
    background: linear-gradient(90deg,
      rgba(8,13,26,.96) 0%,
      rgba(8,13,26,.88) 34%,
      rgba(8,13,26,.55) 60%,
      rgba(8,13,26,0) 90%);
  }
  @media (max-width: 991.98px) {
    html[data-theme="dark"] .about-hero__overlay {
      background: linear-gradient(180deg, rgba(8,13,26,.93) 0%, rgba(8,13,26,.82) 55%, rgba(8,13,26,.74) 100%);
    }
  }

  html[data-theme="dark"] .aims-heading,
  html[data-theme="dark"] .aim-title{ color: var(--ink); }
  html[data-theme="dark"] .aim-desc{ color: var(--ink-muted); }

  html[data-theme="dark"] .leadership-section::after{ background: var(--surface-2); }
  html[data-theme="dark"] .lead-heading,
  html[data-theme="dark"] .leader-card-title{ color: var(--ink); }
  html[data-theme="dark"] .lead-subtitle{ color: var(--ink-muted); }
  html[data-theme="dark"] .leader-card{
    background: var(--card-bg);
    border-color: var(--line);
  }
  html[data-theme="dark"] .member-row{ border-bottom-color: var(--line); }
