/* =========================================================================
   Meet the Team — page 154 (/meet-the-team/)
   Scoped to body.aw-team-page (body class added in functions.php for ID 154).
   Ports the approved Claude Design canvas. Brand tokens mirror the Argentum
   system used on the Contact Us redesign. See docs/meet-the-team-redesign-worklog.md
   ========================================================================= */

/* ---- Brand tokens (scoped so nothing leaks to the rest of the site) ---- */
body.aw-team-page {
  --aw-green:#0db664; --aw-green-deep:#02974f; --aw-green-darker:#017a40; --aw-green-soft:#e6f7ee;
  --aw-ink:#1a1a1a;
  --aw-silver-50:#f7f8f9; --aw-silver-100:#eef0f2; --aw-silver-200:#dfe3e6;
  --aw-silver-300:#c4cad0; --aw-silver-500:#6b737c; --aw-silver-600:#4a5159;
  --fg-1:var(--aw-ink); --fg-2:var(--aw-silver-600); --fg-3:var(--aw-silver-500);
  --bg-1:var(--aw-silver-50); --bg-2:var(--aw-silver-100);
  --border-1:var(--aw-silver-200); --border-2:var(--aw-silver-300);
  --accent:var(--aw-green); --accent-hover:var(--aw-green-deep); --accent-press:var(--aw-green-darker);
  --shadow-md:0 6px 18px rgba(15,22,28,.10); --shadow-lg:0 18px 40px rgba(15,22,28,.14);
  --mtt-font:"Poppins","Helvetica Neue",Arial,sans-serif;
}

/* ---- Neutralise Enfold's section/container/codeblock chrome so our own
        wrappers control widths and full-bleed backgrounds ---- */
body.aw-team-page .mtt-section.avia-section > .container{
  max-width:none; width:100%; padding:0; margin:0;
}
body.aw-team-page .mtt-section .avia_codeblock_section,
body.aw-team-page .mtt-section .avia_codeblock{
  margin:0; padding:0; background:none; border:0;
}
body.aw-team-page .mtt-section.avia-section{ padding:0; }
/* Enfold puts a 1px top border + inset shadow on every .avia-section — remove it
   on our full-bleed sections (it showed as a grey line above Tokyo HQ). */
body.aw-team-page .mtt-section.avia-section{ border:0 !important; box-shadow:none !important; }
/* Enfold reveal can get stuck at opacity:0 after a DB import — keep visible */
body.aw-team-page .mtt-section .container{ opacity:1 !important; }

body.aw-team-page .mtt-inner{
  max-width:1200px; margin:0 auto; padding:0 32px; width:100%;
  font-family:var(--mtt-font);
}
body.aw-team-page .mtt-section *{ box-sizing:border-box; }

/* ============================ HERO ============================ */
body.aw-team-page .mtt-hero.avia-section{
  position:relative; min-height:480px; display:flex; align-items:center;
  justify-content:center; overflow:hidden;
  background:var(--aw-ink) url("../images/meet-hero.jpg") 58% 84%/150% no-repeat;
}
body.aw-team-page .mtt-hero.avia-section::before{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(180deg,rgba(0,0,0,.40) 0%,rgba(0,0,0,.50) 100%);
}
body.aw-team-page .mtt-hero .mtt-inner{
  position:relative; max-width:1000px; padding:72px 32px; color:#fff;
  text-align:center; z-index:1;
}
body.aw-team-page .mtt-hero__eyebrow{
  font-size:12px; font-weight:600; letter-spacing:.14em; text-transform:uppercase;
  color:var(--accent); margin:0 0 14px;
}
body.aw-team-page .mtt-hero__title{
  font-family:var(--mtt-font); font-size:64px; font-weight:700; text-transform:uppercase;
  letter-spacing:-.02em; line-height:1; margin:0; color:#fff;
}
body.aw-team-page .mtt-rule{
  display:block; width:56px; height:3px; background:var(--accent); border:0;
  margin:22px auto 26px;
}
body.aw-team-page .mtt-btn{
  display:inline-block; background:var(--accent); color:#fff; padding:14px 26px;
  font-family:var(--mtt-font); font-size:13px; font-weight:700; text-transform:uppercase;
  letter-spacing:.06em; border:0; border-radius:2px; cursor:pointer; text-decoration:none;
  transition:background .15s;
}
body.aw-team-page .mtt-btn:hover{ background:var(--accent-hover); color:#fff; }

/* ============================ TEAM ============================ */
body.aw-team-page .mtt-team.avia-section{
  background:linear-gradient(180deg,#fff 0%,var(--bg-1) 100%);
}
body.aw-team-page .mtt-team .mtt-inner{ padding-top:80px; padding-bottom:96px; }
body.aw-team-page .mtt-team__intro{ text-align:center; max-width:760px; margin:0 auto 8px; }
body.aw-team-page .mtt-team__intro .mtt-eyebrow{
  font-size:12px; font-weight:600; letter-spacing:.14em; text-transform:uppercase;
  color:var(--accent-hover); margin:0;
}
body.aw-team-page .mtt-team__intro h2{
  font-family:var(--mtt-font); font-size:44px; font-weight:700; text-transform:uppercase;
  letter-spacing:-.02em; line-height:1.05; margin:10px 0 0; color:var(--fg-1);
}
body.aw-team-page .mtt-team__intro .mtt-rule{ margin:18px auto 20px; }
body.aw-team-page .mtt-team__intro p{
  font-size:17px; line-height:1.7; color:var(--fg-2); margin:0;
}

/* group heading (Our Advisors / Client Services & Administration) */
body.aw-team-page .mtt-group-head{
  display:flex; align-items:baseline; gap:16px; margin:64px 0 32px;
}
body.aw-team-page .mtt-group-head.mtt-group-head--admin{ margin:72px 0 32px; }
body.aw-team-page .mtt-group-head h3{
  font-family:var(--mtt-font); font-size:15px; font-weight:700; letter-spacing:.14em;
  text-transform:uppercase; color:var(--fg-1); margin:0;
}
body.aw-team-page .mtt-group-head span{ flex:1; height:1px; background:var(--border-1); }

/* advisor grid */
body.aw-team-page .mtt-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:24px;
}
body.aw-team-page .mtt-grid--admin{
  grid-template-columns:repeat(3,266px); justify-content:center;
}
body.aw-team-page .mtt-card{
  background:#fff; border:1px solid var(--border-1); border-radius:2px; overflow:hidden;
}
body.aw-team-page .mtt-card--advisor{
  cursor:pointer; transition:box-shadow .2s, transform .2s;
}
body.aw-team-page .mtt-card--advisor:hover{
  box-shadow:var(--shadow-md); transform:translateY(-3px);
}
body.aw-team-page .mtt-card--admin{ text-align:center; }
body.aw-team-page .mtt-card__photo{
  aspect-ratio:1/1; background:var(--bg-2); position:relative;
}
body.aw-team-page .mtt-card__photo img{
  width:100%; height:100%; object-fit:cover; display:block;
}
body.aw-team-page .mtt-card__body{ padding:16px 18px 18px; }
body.aw-team-page .mtt-card--admin .mtt-card__body{ padding:16px 14px 18px; }
body.aw-team-page .mtt-card__name{ font-size:16px; font-weight:700; color:var(--fg-1); }
body.aw-team-page .mtt-card--admin .mtt-card__name{ font-size:15px; }
body.aw-team-page .mtt-card__title{
  font-size:11.5px; font-weight:600; letter-spacing:.05em; text-transform:uppercase;
  color:var(--accent-hover); margin-top:5px;
}
body.aw-team-page .mtt-card--admin .mtt-card__title{ font-size:11px; color:var(--fg-3); }

/* ============================ MODAL ============================ */
body.aw-team-page .mtt-modal[hidden]{ display:none; }
body.aw-team-page .mtt-modal{
  position:fixed; inset:0; z-index:100000; background:rgba(12,15,18,.62);
  display:flex; align-items:center; justify-content:center; padding:32px;
}
body.aw-team-page .mtt-modal__dialog{
  background:#fff; max-width:820px; width:100%; border-radius:2px;
  display:grid; grid-template-columns:320px 1fr; align-items:start; overflow:hidden;
  box-shadow:var(--shadow-lg); font-family:var(--mtt-font);
}
body.aw-team-page .mtt-modal__photo{ background:var(--bg-2); height:430px; }
body.aw-team-page .mtt-modal__photo img{
  width:100%; height:100%; object-fit:cover; object-position:center top; display:block;
}
body.aw-team-page .mtt-modal__body{ padding:38px 38px 34px; position:relative; }
body.aw-team-page .mtt-modal__close{
  position:absolute; top:16px; right:18px; border:0; background:transparent;
  font-size:26px; line-height:1; cursor:pointer; color:var(--fg-3);
}
body.aw-team-page .mtt-modal__name{
  font-family:var(--mtt-font); font-size:30px; font-weight:700; text-transform:uppercase;
  letter-spacing:-.01em; line-height:1.05; color:var(--fg-1);
}
body.aw-team-page .mtt-modal__title{
  font-size:12px; font-weight:600; letter-spacing:.06em; text-transform:uppercase;
  color:var(--accent-hover); margin-top:0;
}
body.aw-team-page .mtt-modal__body .mtt-rule{ margin:18px 0; }
body.aw-team-page .mtt-modal__bio{ font-size:15px; line-height:1.72; color:var(--fg-2); margin:0; }
body.aw-team-page .mtt-modal__soon{ margin-top:14px; font-size:11px; color:var(--fg-3); }
/* Role line + inline LinkedIn icon (shown for the two founders only) */
body.aw-team-page .mtt-modal__role{ display:flex; align-items:center; margin-top:8px; }
body.aw-team-page .mtt-modal__li[hidden]{ display:none; }
body.aw-team-page .mtt-modal__li{
  display:inline-flex; align-items:center; color:var(--accent-hover);
  text-decoration:none; transition:color .15s;
}
body.aw-team-page .mtt-modal__li::before{
  content:"\00B7"; margin:0 7px; color:var(--fg-3); font-weight:400;
}
body.aw-team-page .mtt-modal__li-icon{ width:14px; height:14px; display:block; transform:translateY(-2px); }
body.aw-team-page .mtt-modal__li:hover{ color:var(--accent); }

/* ========================= TOKYO HQ ========================= */
body.aw-team-page .mtt-hq.avia-section{ background:var(--bg-1); }
body.aw-team-page .mtt-hq .mtt-inner{ max-width:1120px; padding-top:88px; padding-bottom:88px; }
body.aw-team-page .mtt-hq__grid{
  display:grid; grid-template-columns:320px 1fr; gap:56px; align-items:start;
}
body.aw-team-page .mtt-hq__eyebrow{
  font-size:12px; font-weight:600; letter-spacing:.14em; text-transform:uppercase;
  color:var(--accent-hover); margin:0;
}
body.aw-team-page .mtt-hq__title{
  font-family:var(--mtt-font); font-size:34px; font-weight:700; text-transform:uppercase;
  letter-spacing:-.02em; line-height:1.1; margin:10px 0 0; color:var(--fg-1);
}
body.aw-team-page .mtt-hq__left .mtt-rule{ margin:16px 0 0; }
body.aw-team-page .mtt-hq__right p{ font-size:17px; line-height:1.75; color:var(--fg-2); margin:20px 0 0; }
body.aw-team-page .mtt-hq__right p:first-child{ margin:4px 0 0; }
body.aw-team-page .mtt-btn-outline{
  display:inline-flex; align-items:center; gap:8px; margin-top:28px; padding:13px 24px;
  font-family:var(--mtt-font); font-size:13px; font-weight:700; text-transform:uppercase;
  letter-spacing:.06em; color:var(--accent); background:transparent; border:1px solid var(--accent);
  border-radius:2px; text-decoration:none; transition:background .15s, color .15s;
}
body.aw-team-page .mtt-btn-outline:hover{ background:var(--accent); color:#fff; }

/* ========================== VIDEO ========================== */
body.aw-team-page .mtt-video.avia-section{ background:var(--aw-ink); }
body.aw-team-page .mtt-video .mtt-inner{ max-width:900px; padding-top:80px; padding-bottom:80px; text-align:center; }
body.aw-team-page .mtt-video__eyebrow{
  font-size:12px; font-weight:600; letter-spacing:.14em; text-transform:uppercase;
  color:var(--accent); margin:0;
}
body.aw-team-page .mtt-video__title{
  font-family:var(--mtt-font); font-size:30px; font-weight:700; text-transform:uppercase;
  letter-spacing:-.01em; color:#fff; margin:10px 0 24px;
}
body.aw-team-page .mtt-video__frame{
  position:relative; padding-top:56.25%; border-radius:3px; overflow:hidden; box-shadow:var(--shadow-lg);
}
body.aw-team-page .mtt-video__frame iframe{
  position:absolute; inset:0; width:100%; height:100%; border:0;
}

/* =========================== CTA / FORM =========================== */
body.aw-team-page .mtt-cta.avia-section{ background:var(--aw-green-soft); }
body.aw-team-page .mtt-cta .mtt-inner{ max-width:1100px; padding-top:88px; padding-bottom:96px; }
body.aw-team-page .mtt-cta__grid{
  display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:start;
}
body.aw-team-page .mtt-cta__left{ padding-top:8px; }
body.aw-team-page .mtt-cta__eyebrow{
  font-size:12px; font-weight:600; letter-spacing:.14em; text-transform:uppercase;
  color:var(--accent-hover); margin:0;
}
body.aw-team-page .mtt-cta__title{
  font-family:var(--mtt-font); font-size:38px; font-weight:700; text-transform:uppercase;
  letter-spacing:-.02em; line-height:1.1; margin:8px 0 14px; color:var(--fg-1);
}
body.aw-team-page .mtt-cta__lead{ font-size:16px; line-height:1.65; color:var(--fg-2); margin:0 0 28px; }
body.aw-team-page .mtt-steps{ display:grid; gap:18px; }
body.aw-team-page .mtt-step{ display:flex; gap:16px; align-items:flex-start; }
body.aw-team-page .mtt-step__num{
  font-family:var(--mtt-font); font-size:14px; font-weight:700; color:var(--accent);
  width:28px; height:28px; display:inline-flex; align-items:center; justify-content:center;
  border:1.5px solid var(--accent); border-radius:50%; flex-shrink:0;
}
body.aw-team-page .mtt-step__t{ font-size:15px; font-weight:700; color:var(--fg-1); }
body.aw-team-page .mtt-step__d{ font-size:13px; color:var(--fg-2); margin-top:2px; }

/* form card */
body.aw-team-page .mtt-formcard{
  background:#fff; border:1px solid var(--border-1); padding:36px 36px 32px;
  border-radius:2px; box-shadow:var(--shadow-md);
}
body.aw-team-page .mtt-formcard__top{
  display:flex; justify-content:space-between; align-items:center; margin-bottom:14px;
}
body.aw-team-page .mtt-tag{
  font-size:10.5px; font-weight:700; letter-spacing:.18em; text-transform:uppercase;
  color:var(--accent-press); padding:6px 10px; background:var(--aw-green-soft); border-radius:2px;
}
body.aw-team-page .mtt-badge{
  font-size:10px; border:1px solid var(--border-2); padding:6px 10px; border-radius:2px;
  color:var(--fg-2); letter-spacing:.04em; text-transform:uppercase; font-weight:600;
}
body.aw-team-page .mtt-formcard__title{
  font-family:var(--mtt-font); font-size:24px; font-weight:700; text-transform:uppercase;
  letter-spacing:-.01em; margin:4px 0 22px; color:var(--fg-1);
}

/* Gravity Form #2 styled to match the light design */
body.aw-team-page .mtt-formcard .gform_wrapper .gform_body,
body.aw-team-page .mtt-formcard .gform_wrapper form{ margin:0; }
body.aw-team-page .mtt-formcard .gfield_label{
  font-family:var(--mtt-font); font-size:12px; font-weight:600; color:var(--fg-1); margin-bottom:6px;
}
body.aw-team-page .mtt-formcard .ginput_container input,
body.aw-team-page .mtt-formcard .ginput_container select,
body.aw-team-page .mtt-formcard .ginput_container textarea{
  font-family:var(--mtt-font); font-size:15px; padding:12px 14px;
  border:1px solid var(--border-2); border-radius:2px; outline:none; background:#fff; width:100%;
}
body.aw-team-page .mtt-formcard .ginput_container input:focus,
body.aw-team-page .mtt-formcard .ginput_container select:focus{
  border-color:var(--accent);
}
body.aw-team-page .mtt-formcard .gform_footer input[type="submit"],
body.aw-team-page .mtt-formcard .gform_footer button{
  width:100%; margin-top:8px; background:var(--accent); color:#fff; padding:16px 24px;
  font-family:var(--mtt-font); font-size:13px; font-weight:700; text-transform:uppercase;
  letter-spacing:.06em; border:0; border-radius:2px; cursor:pointer; transition:background .15s;
}
body.aw-team-page .mtt-formcard .gform_footer input[type="submit"]:hover{ background:var(--accent-hover); }

/* Heading case (Argentum decision): section headings stay in TITLE case, not the
   concept's uppercase — consistent with the rest of the live site / Contact Us.
   The hero H1 and the small eyebrow labels remain uppercase (they match the
   concept). Enfold's own heading CSS already renders these in title case; this
   makes the intent explicit and independent of that theme behaviour. */
body.aw-team-page .mtt-team__intro h2,
body.aw-team-page .mtt-group-head h3,
body.aw-team-page .mtt-hq__title,
body.aw-team-page .mtt-video__title,
body.aw-team-page .mtt-cta__title,
body.aw-team-page .mtt-formcard__title{ text-transform:none; }

/* ============================ RESPONSIVE ============================ */
@media (max-width:1024px){
  body.aw-team-page .mtt-grid{ grid-template-columns:repeat(3,1fr); }
}
@media (max-width:820px){
  body.aw-team-page .mtt-hero__title{ font-size:44px; }
  body.aw-team-page .mtt-team__intro h2{ font-size:34px; }
  body.aw-team-page .mtt-hq__grid,
  body.aw-team-page .mtt-cta__grid{ grid-template-columns:1fr; gap:32px; }
  body.aw-team-page .mtt-grid{ grid-template-columns:repeat(2,1fr); }
  body.aw-team-page .mtt-grid--admin{ grid-template-columns:repeat(2,minmax(0,266px)); }
  body.aw-team-page .mtt-modal__dialog{ grid-template-columns:1fr; }
  body.aw-team-page .mtt-modal__photo{ height:300px; }
}
@media (max-width:520px){
  body.aw-team-page .mtt-inner{ padding-left:20px; padding-right:20px; }
  body.aw-team-page .mtt-hero__title{ font-size:36px; }
  body.aw-team-page .mtt-grid{ grid-template-columns:1fr; gap:16px; }
  body.aw-team-page .mtt-grid--admin{ grid-template-columns:1fr; }
  body.aw-team-page .mtt-grid--admin{ justify-content:stretch; }
}
