/* Emma English Club — v16 structural additions. Uses v15 tokens; loaded last. */

/* Facts strip under course heroes */
html body .eec-v16-facts{background:var(--stone);border-bottom:1px solid var(--rule);padding:34px 0}
html body .eec-facts-inner{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,10fr);gap:24px;align-items:start}
html body .eec-facts-inner .eec-kicker{margin:6px 0 0}
html body .eec-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:0;border-left:1px solid var(--rule)}
html body .eec-facts>div{padding:2px 22px;border-right:1px solid var(--rule)}
html body .eec-facts dt{font-size:.85rem;font-weight:600;color:var(--ink-2);margin:0 0 6px}
html body .eec-facts dd{margin:0;font-family:var(--display);font-weight:600;font-size:1.05rem;line-height:1.3;letter-spacing:-.01em}
html body .eec-facts>div:last-child dd{background:linear-gradient(transparent 58%,var(--marker) 58%);display:inline}

/* LanguageCert cross-sell */
html body .eec-v16-lc{padding:0 0 72px}
html body .eec-lc-box{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:32px;align-items:center;border:1px solid var(--rule);
  border-left:8px solid var(--marker);padding:30px 34px;background:#fff}
html body .eec-lc-box h2{font-size:clamp(1.5rem,2.4vw,2.1rem);line-height:1.1;margin:0 0 10px}
html body .eec-lc-box p{margin:0;color:var(--ink-2);max-width:62ch}
html body .eec-lc-box .eec-kicker{margin-bottom:10px}

/* Language note on homepage */
html body .eec-lang-note{margin-top:28px;padding:28px 32px;background:var(--marker-pale);border-left:6px solid var(--board);max-width:880px}
html body .eec-lang-note h3{font-size:1.45rem;margin:0 0 8px}
html body .eec-lang-note p{margin:0}

/* Team */
html body .eec-v16-team{background:#fff}
html body .eec-team-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
html body .eec-team-card h3{font-size:1.6rem;margin:18px 0 2px}
html body .eec-team-role{font-weight:600;color:var(--board);margin:0 0 10px}
html body .eec-team-card p{font-size:.98rem}
html body .eec-team-langs{color:var(--ink-2);font-size:.9rem!important;border-top:1px solid var(--rule);padding-top:10px;margin-top:12px}
html body .eec-team-langs span{font-weight:600;color:var(--ink)}
html body .eec-photo-ph{aspect-ratio:4/5;border:2px dashed var(--border-strong);background:var(--stone);display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:10px}
html body .eec-photo-initial{font-family:var(--display);font-weight:700;font-size:4.4rem;line-height:1;color:var(--board)}
html body .eec-photo-note{font-size:.85rem;color:var(--ink-2);font-weight:600}

/* Reviews */
html body .eec-v16-reviews{background:var(--stone)}
html body .eec-reviews-head{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:32px;align-items:end;margin-bottom:44px}
html body .eec-reviews-head h2{margin:0}
html body .eec-rating{display:grid;grid-template-columns:auto 1fr;column-gap:16px;align-items:center;background:#fff;border:1px solid var(--rule);
  padding:20px 24px;color:var(--ink);text-decoration:none;justify-self:end}
html body .eec-rating strong{grid-row:1/4;font-family:var(--display);font-size:3.6rem;line-height:1;letter-spacing:-.04em}
html body .eec-rating-stars{color:#C99A00;letter-spacing:2px}
html body .eec-rating-link{font-weight:600;text-decoration:underline;text-decoration-color:var(--marker);text-decoration-thickness:.3em;text-underline-offset:-.06em}
html body .eec-rating:hover{border-color:var(--ink)}
html body .eec-review-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
html body .eec-review-ph{background:#fff;border:2px dashed var(--border-strong);padding:28px;min-height:220px}
html body .eec-review-ph h3{font-size:1.2rem;margin:12px 0 6px}
html body .eec-review-ph p{color:var(--ink-2);margin:0}
html body .eec-review-stars{color:#C99A00;letter-spacing:2px}

/* FAQ */
html body .eec-faq-layout{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(32px,6vw,96px);align-items:start}
html body .eec-faq-list{border-top:2px solid var(--ink)}
html body .eec-faq-item{border-bottom:1px solid var(--rule)}
html body .eec-faq-item summary{cursor:pointer;list-style:none;padding:22px 44px 22px 0;position:relative;font-family:var(--display);
  font-weight:600;font-size:1.15rem;line-height:1.3}
html body .eec-faq-item summary::-webkit-details-marker{display:none}
html body .eec-faq-item summary::after{content:"+";position:absolute;right:4px;top:16px;font-size:1.8rem;font-weight:400;line-height:1}
html body .eec-faq-item[open] summary::after{content:"–"}
html body .eec-faq-item summary:hover{text-decoration:underline;text-decoration-color:var(--marker);text-decoration-thickness:.3em;text-underline-offset:-.06em}
html body .eec-faq-item p{margin:0 0 22px;color:var(--ink-2);max-width:62ch}

/* Contact block additions */
html body .eec-msg-label{font-weight:600;margin:28px 0 10px!important}
html body .eec-msg-links{display:flex;flex-wrap:wrap;gap:10px}
html body .eec-msg-btn{display:inline-flex;align-items:center;gap:8px;min-height:50px;padding:12px 20px;background:var(--ink);color:#fff;
  font-weight:600;text-decoration:none;border-radius:var(--r);border:2px solid var(--ink)}
html body .eec-msg-btn:hover{background:#fff;color:var(--ink)}
html body .eec-v16-contact .eec-contact-address{display:flex;flex-direction:column;gap:6px;margin-top:26px}
html body .eec-google-chip{display:inline-flex;gap:6px;margin-top:18px;font-weight:600;color:var(--ink);text-decoration:none;
  border-bottom:2px solid var(--ink);padding-bottom:2px}
html body .eec-form-row2{display:grid;grid-template-columns:1fr 1fr;gap:16px}
html body .eec-v16-contact .eec-contact-form h3{margin-top:0}
html body .eec-v16-contact .eec-enquiry-trial-explainer{margin:0 0 22px;padding:14px 16px;background:var(--marker-pale);font-size:.95rem}
html body .eec-v16-contact .eec-enquiry-child-note{font-size:.85rem;color:var(--ink-2)}

/* Hero Google line */
html body .eec-trust-google a{color:inherit;font-weight:600;text-decoration:underline;text-decoration-color:var(--marker);
  text-decoration-thickness:.32em;text-underline-offset:-.08em;text-decoration-skip-ink:none}

/* Contact page */
html body .eec-v16-contact-hero{padding:72px 0 56px}
html body .eec-visit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:36px}
html body .eec-visit-grid article{border-top:2px solid var(--ink);padding-top:18px}
html body .eec-visit-grid h3{font-size:1.3rem;margin:0 0 8px}
html body .eec-v16-visit h2{margin:0}

/* Pricing additions */
html body .eec-consult-first{border:2px solid var(--board);padding:22px 26px;margin:0 0 36px;background:#fff}
html body .eec-consult-first h3{margin:0 0 6px;font-size:1.35rem}
html body .eec-consult-first p{margin:0}
html body .eec-v16-club-aside{margin-top:20px}
html body .eec-v16-price-note{margin-top:32px;max-width:820px;font-size:1.02rem}
html body .eec-v16-note{margin-top:32px;color:var(--ink-2);font-size:.92rem;max-width:760px}

/* Responsive */
@media (max-width:1100px){
  html body .eec-team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  html body .eec-facts{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:18px}
  html body .eec-facts-inner{grid-template-columns:1fr;gap:14px}
}
@media (max-width:760px){
  html body .eec-facts{grid-template-columns:1fr;border-left:0}
  html body .eec-facts>div{border-right:0;border-bottom:1px solid var(--rule);padding:10px 0}
  html body .eec-lc-box{grid-template-columns:1fr;padding:24px}
  html body .eec-reviews-head,html body .eec-faq-layout{grid-template-columns:1fr}
  html body .eec-rating{justify-self:start}
  html body .eec-review-grid,html body .eec-visit-grid{grid-template-columns:1fr}
  html body .eec-form-row2{grid-template-columns:1fr;gap:0}
  html body .eec-team-grid{grid-template-columns:1fr 1fr;gap:16px}
  html body .eec-photo-initial{font-size:3rem}
}
html body .eec-team-enquiry:has(+ .eec-v16-contact) .eec-team-enquiry-inner{background:#fff!important;border:2px solid var(--ink)}
html body .eec-why .eec-lang-note{grid-column:1/-1;background:var(--marker);border-left:0;max-width:none;display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:24px;align-items:start}
html body .eec-why .eec-lang-note h3,html body .eec-why .eec-lang-note p{color:var(--ink)!important}
@media (max-width:760px){html body .eec-why .eec-lang-note{grid-template-columns:1fr;gap:8px}}

/* v16.1 — real team photos (black & white) and Google reviews */
html body .eec-team-photo{aspect-ratio:4/5;overflow:hidden;background:var(--stone)}
html body .eec-team-photo img,html body img.eec-bw{width:100%;height:100%;object-fit:cover;filter:grayscale(1) contrast(1.06)}
html body .eec-review-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
html body .eec-review{margin:0;background:#fff;border:1px solid var(--rule);border-top:4px solid var(--ink);padding:30px 32px;display:flex;flex-direction:column;gap:16px}
html body .eec-review blockquote{margin:0}
html body .eec-review blockquote p{margin:0;font-size:1.04rem;line-height:1.6;color:var(--ink)}
html body .eec-review figcaption{margin-top:auto;display:flex;flex-direction:column;gap:2px;border-top:1px solid var(--rule);padding-top:14px}
html body .eec-review figcaption strong{font-weight:600}
html body .eec-review figcaption span{font-size:.85rem;color:var(--ink-2)}
@media (max-width:760px){html body .eec-review-grid{grid-template-columns:1fr}html body .eec-review{padding:24px}}

/* v16.2 — pricing table fits phone screens: no sideways scrolling */
@media (max-width:640px){
  html body .eec-v12-price-table-wrap{overflow-x:visible}
  html body .eec-v12-price-table{min-width:0;table-layout:fixed}
  html body .eec-v12-price-table th,html body .eec-v12-price-table td{padding:16px 8px;vertical-align:middle}
  html body .eec-v12-price-table thead th{font-size:.8rem;line-height:1.25}
  html body .eec-v12-price-table thead th:first-child,html body .eec-v12-price-table tbody th{width:40%;padding-left:0}
  html body .eec-v12-price-table tbody th{font-size:.95rem;line-height:1.3;hyphens:auto}
  html body .eec-v12-price-table tbody td{font-size:1.15rem;white-space:nowrap;text-align:center}
  html body .eec-v12-price-table thead th:not(:first-child){text-align:center}
}

/* v16.3 — teacher portraits are pre-processed (B&W on brand yellow); only the Speaking Club photo uses the CSS filter */
html body .eec-team-photo img{filter:none}
html body .eec-team-photo img[src*="/team/club"]{filter:grayscale(1) contrast(1.06)}
html body .eec-team-photo{background:var(--marker)}
/* v16.4 — Speaking Club photo is pre-processed (people B&W, room in yellow duotone) */
html body .eec-team-photo img[src*="/team/club"],html body img.eec-bw[src*="club-wide"]{filter:none}
