:root {
  /*
    Brand palette sampled from the approved EWS artwork.
    These colours are intentionally used as ACCENTS rather than large fills.
  */
  --ews-blue: #86CDFD;
  --ews-orange: #FCB260;
  --ews-green: #8CE80E;
  --ews-orange-overlap: #FB852F;
  --ews-green-overlap: #16CF1C;

  --ink: #303338;
  --ink-strong: #25282D;
  --muted: #6E737A;
  --line: #E7E7E4;
  --soft: #F7F7F4;
  --warm: #FBFAF7;
  --white: #FFFFFF;

  --radius-sm: 14px;
  --radius: 24px;
  --radius-lg: 34px;

  --shadow: 0 24px 70px rgba(35, 38, 43, 0.08);
  --shell: min(1180px, calc(100vw - 48px));
}

/* ------------------------------ Base ------------------------------ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family:
    "Manrope",
    "Noto Sans Thai",
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

/* ------------------------------ Header ---------------------------- */

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto 0;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 35px rgba(35, 38, 43, 0.035);
}

.header-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.header-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.header-logo {
  display: block;
  width: auto;
  height: 32px;
  max-width: none;
  object-fit: contain;
  object-position: center;
  flex: 0 0 auto;
}

.header-brand span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.main-nav a {
  color: #555A61;
  font-size: 13px;
  font-weight: 600;
  transition: color .2s ease;
}

.main-nav a:hover {
  color: var(--ink-strong);
}

.main-nav .nav-action {
  color: var(--ink-strong);
  border: 1px solid #D8D9D7;
  border-radius: 999px;
  padding: 10px 15px;
}

.menu-button {
  display: none;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 23px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  border-radius: 3px;
}

/* ------------------------------ Hero ------------------------------ */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 130px 0 82px;
  background: #FFFFFF;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .58fr);
  column-gap: 72px;
  align-items: end;
}

.hero-brand {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 50px;
  width: min(700px, 82vw);
}

.master-logo {
  width: clamp(250px, 32vw, 465px);
  height: auto;
  object-fit: contain;
}

.master-tagline {
  width: clamp(360px, 48vw, 680px);
  height: auto;
  margin-top: 8px;
  object-fit: contain;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 17px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: .145em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.location h2 {
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(48px, 6.2vw, 82px);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -.055em;
}

.hero h1 {
  max-width: 760px;
}

.hero-lead {
  max-width: 690px;
  margin: 27px 0 0;
  color: #555A61;
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.6;
  letter-spacing: -.018em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 34px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    background .2s ease,
    border-color .2s ease;
}

.button-primary {
  background: var(--ink-strong);
  color: white;
}

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 13px 28px rgba(37, 40, 45, .15);
}

.button-quiet {
  background: rgba(255,255,255,.75);
  border-color: #DCDDDA;
  color: var(--ink-strong);
}

.button-quiet:hover {
  background: white;
  border-color: #C9CAC7;
}

.return-card {
  padding: 30px;
  background: rgba(251, 250, 247, .86);
  border: 1px solid rgba(223, 223, 218, .92);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.return-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.brand-line {
  display: flex;
  width: 88px;
  gap: 4px;
  margin: 21px 0 25px;
}

.brand-line i {
  height: 4px;
  flex: 1;
  border-radius: 999px;
}

.brand-line i:nth-child(1) { background: var(--ews-blue); }
.brand-line i:nth-child(2) { background: var(--ews-orange); }
.brand-line i:nth-child(3) { background: var(--ews-green); }

.return-title {
  margin: 0;
  color: var(--ink-strong);
  font-size: 25px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -.035em;
}

.return-copy {
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 14px;
}

/* Faded brand colour fields, not bubbles */
.hero-wash {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  opacity: .10;
}

.hero-wash-blue {
  width: 400px;
  height: 300px;
  left: -190px;
  top: 10%;
  background: var(--ews-blue);
}

.hero-wash-orange {
  width: 310px;
  height: 260px;
  right: -125px;
  top: 6%;
  background: var(--ews-orange);
}

.hero-wash-green {
  width: 360px;
  height: 300px;
  right: -175px;
  bottom: 0;
  background: var(--ews-green);
  opacity: .07;
}

/* ------------------------------ Sections -------------------------- */

.section {
  padding: 120px 0;
}

.section-heading {
  max-width: 830px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-heading.compact {
  max-width: 760px;
}

.section-heading h2,
.story h2,
.memories h2 {
  font-size: clamp(42px, 5.1vw, 68px);
}

.heading-copy {
  max-width: 670px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 18px;
}

/* ------------------------------ Story ----------------------------- */

.story {
  background: var(--warm);
}

.story-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 90px;
}

.story-text {
  max-width: 650px;
  justify-self: end;
}

.story-text p {
  color: #5A5E64;
  font-size: 17px;
}

.story-text .story-lead {
  margin-top: 0;
  color: var(--ink-strong);
  font-size: 23px;
  line-height: 1.55;
  font-weight: 500;
  letter-spacing: -.025em;
}

.pullquote {
  margin-top: 38px;
  padding-top: 25px;
  border-top: 1px solid #DDDDD8;
}

.pullquote span {
  color: var(--ink-strong);
  font-size: 28px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -.035em;
}

/* ------------------------------ Approach -------------------------- */

.approach {
  background: #FFFFFF;
}

.approach-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.approach-card {
  min-height: 350px;
  display: flex;
  flex-direction: column;
  padding: 27px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .25s ease, box-shadow .25s ease;
}

.approach-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 55px rgba(37, 40, 45, .07);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-index {
  color: #8A8E93;
  font-size: 11px;
  font-weight: 700;
}

.card-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.card-blue .card-dot { background: var(--ews-blue); }
.card-orange .card-dot { background: var(--ews-orange); }
.card-green .card-dot { background: var(--ews-green); }

.approach-card h3 {
  margin: auto 0 11px;
  color: var(--ink-strong);
  font-size: 39px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -.05em;
}

.approach-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.card-blue { border-top: 4px solid var(--ews-blue); }
.card-orange { border-top: 4px solid var(--ews-orange); }
.card-green { border-top: 4px solid var(--ews-green); }

.approach-question {
  max-width: 900px;
  margin: 82px auto 0;
  padding-top: 42px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.approach-question span {
  color: var(--ink-strong);
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -.045em;
}

/* ------------------------------ Memories -------------------------- */

.memories {
  background: var(--soft);
}

.memories-head {
  display: grid;
  grid-template-columns: 1fr .72fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 53px;
}

.memories-copy {
  color: var(--muted);
  font-size: 17px;
}

.historical-note {
  font-size: 12px;
  color: #8B8E92;
}

 .gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 230px;
  gap: 13px;
}

.photo {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 19px;
  background: #EDEDE9;
}

.photo-lead {
  grid-column: span 2;
  grid-row: span 2;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.photo-lead img {
  object-position: center 48%;
}

.photo:hover img {
  transform: scale(1.018);
}

.photo figcaption,
.archive-badge {
  position: absolute;
  z-index: 2;
  background: rgba(255,255,255,.91);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  border-radius: 999px;
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.35;
}

.photo figcaption {
  left: 14px;
  bottom: 13px;
  max-width: calc(100% - 28px);
  padding: 7px 10px;
}

.archive-badge {
  top: 14px;
  left: 14px;
  padding: 7px 10px;
  color: #62666B;
  letter-spacing: .02em;
}

/* ------------------------------ Programmes ------------------------ */

.programmes {
  background: #FFFFFF;
}

.programme-list {
  max-width: 1010px;
  margin-inline: auto;
  border-top: 1px solid var(--line);
}

.programme-list article {
  min-height: 104px;
  display: grid;
  grid-template-columns: 65px 1fr 1.35fr;
  align-items: center;
  gap: 22px;
  border-bottom: 1px solid var(--line);
}

.programme-list article > span {
  color: #9A9DA0;
  font-size: 11px;
  font-weight: 700;
}

.programme-list h3 {
  margin: 0;
  color: var(--ink-strong);
  font-size: 23px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -.035em;
}

.programme-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* ------------------------------ Location -------------------------- */

.location {
  padding: 25px 0 105px;
  background: #FFFFFF;
}

.location-panel {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 32px;
  align-items: center;
  padding: 45px;
  background: var(--warm);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.location-panel h2 {
  font-size: clamp(37px, 4.6vw, 60px);
}

.location-panel p:last-child {
  max-width: 690px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.location-mark {
  width: 90px;
  height: 90px;
  display: grid;
  place-items: center;
  border: 1px solid #DBDCD8;
  border-radius: 50%;
  background: white;
}

.location-mark span {
  position: relative;
  width: 26px;
  height: 36px;
  border: 2px solid var(--ink);
  border-radius: 18px 18px 22px 22px;
}

.location-mark span::before {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  top: 8px;
  left: 50%;
  border-radius: 50%;
  background: var(--ink);
  transform: translateX(-50%);
}

/* ------------------------------ Connect --------------------------- */

.connect {
  background: var(--soft);
  border-top: 1px solid var(--line);
}

.connect-grid {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 78px;
  align-items: start;
}

.connect-copy h2 {
  font-size: clamp(48px, 5.5vw, 70px);
}

.connect-copy > p:last-of-type {
  max-width: 590px;
  color: var(--muted);
  font-size: 17px;
}

.mini-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 34px;
  color: #73777C;
  font-size: 12px;
  font-weight: 600;
}

.mini-brand img {
  display: block;
  width: auto;
  height: 39px;
  max-width: none;
  object-fit: contain;
  object-position: center;
  flex: 0 0 auto;
}

.interest-form {
  padding: 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(35,38,43,.05);
}

.interest-form label {
  display: block;
  margin-bottom: 15px;
  color: #5A5E64;
  font-size: 12px;
  font-weight: 700;
}

.form-pair {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 11px;
}

.interest-form input,
.interest-form select {
  width: 100%;
  min-height: 48px;
  margin-top: 6px;
  padding: 0 12px;
  color: var(--ink);
  background: #FCFCFA;
  border: 1px solid #DDDEDB;
  border-radius: 11px;
  outline: none;
}

.interest-form input:focus,
.interest-form select:focus {
  border-color: #AEB1B3;
  box-shadow: 0 0 0 3px rgba(134,205,253,.15);
}

.checkbox {
  display: flex !important;
  align-items: center;
  gap: 9px;
  margin: 21px 0 !important;
  font-weight: 500 !important;
}

.checkbox input {
  width: 17px;
  min-height: 17px;
  margin: 0;
  padding: 0;
}

.form-button {
  width: 100%;
}

.form-status {
  min-height: 20px;
  margin: 10px 0 0;
  color: #5C6166;
  font-size: 12px;
}

.form-note {
  margin: 8px 0 0;
  color: #929599;
  font-size: 10px;
  line-height: 1.5;
}

/* ------------------------------ Footer ---------------------------- */

.site-footer {
  padding: 58px 0 50px;
  background: white;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr .62fr .78fr .65fr;
  gap: 48px;
}

.footer-brand > img:first-child {
  width: 126px;
  height: auto;
}

.footer-tagline {
  width: 220px;
  height: auto;
  margin-top: 2px;
}

.footer-nav {
  display: grid;
  align-content: start;
  gap: 7px;
}

.footer-nav a {
  color: #686C72;
  font-size: 12px;
  font-weight: 600;
}

.footer-meta {
  color: #8B8E92;
  font-size: 11px;
}

.footer-meta p {
  margin: 0 0 5px;
}


/* ------------------------------ EWS online ------------------------ */

.social-history {
  background: var(--ink-strong);
  color: white;
}

.social-history .eyebrow {
  color: rgba(255, 255, 255, .5);
}

.social-history h2 {
  color: white;
  font-size: clamp(42px, 5.1vw, 68px);
}

.social-history-head {
  display: grid;
  grid-template-columns: 1fr .72fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 46px;
}

.social-history-copy {
  color: rgba(255, 255, 255, .66);
  font-size: 17px;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.social-card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px;
  background: rgba(255, 255, 255, .035);
  transition:
    transform .22s ease,
    border-color .22s ease,
    background .22s ease;
}

.social-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .07);
}

.social-icon {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  color: white;
}

.social-icon svg {
  width: 27px;
  height: 27px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.7;
}

.social-icon rect,
.social-icon circle {
  fill: none;
}

.social-icon .social-play {
  fill: var(--ink-strong);
  stroke: none;
}

.social-icon .social-line-word {
  fill: var(--ink-strong);
  stroke: none;
}

.social-text {
  display: grid;
  gap: 3px;
  margin-top: auto;
}

.social-text strong {
  color: white;
  font-size: 17px;
  letter-spacing: -.025em;
}

.social-text small {
  color: rgba(255, 255, 255, .5);
  font-size: 11px;
  line-height: 1.4;
}

.social-arrow {
  align-self: flex-end;
  margin-top: 15px;
  color: rgba(255, 255, 255, .48);
  font-size: 17px;
}

.social-card:nth-child(1) {
  border-top: 3px solid var(--ews-blue);
}

.social-card:nth-child(2) {
  border-top: 3px solid var(--ews-orange);
}

.social-card:nth-child(3) {
  border-top: 3px solid var(--ews-green);
}

.social-card:nth-child(4) {
  border-top: 3px solid rgba(255,255,255,.68);
}

.social-card:nth-child(5) {
  border-top: 3px solid var(--ews-green);
}

.social-history-note {
  max-width: 760px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, .44);
  font-size: 12px;
}

/* ------------------------------ Footer social --------------------- */

.footer-social {
  align-content: start;
}

.footer-social-title {
  display: block;
  margin-bottom: 9px;
  color: var(--ink-strong);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 13px;
}

.footer-social-links a {
  color: #686C72;
  font-size: 12px;
  font-weight: 600;
}

.footer-social-links a:hover {
  color: var(--ink-strong);
}


@media (max-width: 1050px) {
  .social-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .social-history-head {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-social {
    grid-column: auto;
  }

  .footer-meta {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .social-grid {
    grid-template-columns: 1fr;
  }

  .social-card {
    min-height: 132px;
  }

  .social-history h2 {
    font-size: 42px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-meta {
    grid-column: auto;
  }
}

/* ------------------------------ Responsive ------------------------ */

@media (max-width: 920px) {
  :root {
    --shell: min(1180px, calc(100vw - 36px));
  }

  .menu-button {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 72px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 1px;
    padding: 14px;
    background: rgba(255,255,255,.98);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 10px 8px;
  }

  .main-nav .nav-action {
    margin-top: 4px;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding-top: 128px;
  }

  .hero-inner,
  .story-grid,
  .connect-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    row-gap: 42px;
  }

  .hero-brand {
    margin-bottom: 10px;
  }

  .return-card {
    max-width: 620px;
  }

  .story-grid,
  .connect-grid {
    gap: 46px;
  }

  .story-text {
    justify-self: start;
  }

  .approach-cards {
    grid-template-columns: 1fr;
  }

  .approach-card {
    min-height: 260px;
  }

  .memories-head {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 230px;
  }

  .photo-lead {
    grid-column: span 2;
    grid-row: span 2;
  }

  .programme-list article {
    grid-template-columns: 48px 1fr;
    gap: 12px 16px;
    padding: 20px 0;
  }

  .programme-list article p {
    grid-column: 2;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-meta {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  :root {
    --shell: min(1180px, calc(100vw - 28px));
  }

  .header-inner {
    min-height: 70px;
  }

  .header-brand span {
    display: none;
  }

  .header-logo {
    width: auto;
    height: 32px;
  }

  .main-nav {
    top: 64px;
    left: 14px;
    right: 14px;
  }

  .hero {
    padding: 112px 0 74px;
  }

  .hero-brand {
    width: 100%;
    align-items: center;
  }

  .master-logo {
    width: min(80vw, 350px);
  }

  .master-tagline {
    width: min(94vw, 480px);
    margin-top: 0;
  }

  .hero-copy {
    text-align: center;
  }

  .hero h1 {
    font-size: clamp(43px, 13vw, 62px);
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .return-card {
    padding: 24px;
  }

  .section {
    padding: 82px 0;
  }

  .section-heading h2,
  .story h2,
  .memories h2 {
    font-size: 42px;
  }

  .story-text .story-lead {
    font-size: 20px;
  }

  .pullquote span {
    font-size: 24px;
  }

  .approach-question {
    margin-top: 58px;
    padding-top: 32px;
  }

  .approach-question span {
    font-size: 30px;
  }

  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 230px;
  }

  .photo-lead {
    grid-column: auto;
    grid-row: auto;
    min-height: 270px;
  }

  .location {
    padding-bottom: 78px;
  }

  .location-panel {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .location-mark {
    width: 72px;
    height: 72px;
  }

  .form-pair {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-meta {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}


/* ==============================================================
   Language switch
   ============================================================== */

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 4px 10px;
  background: rgba(247, 247, 244, .92);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #85898E;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .035em;
}

.language-switch a {
  color: #85898E;
  transition: color .2s ease;
}

.language-switch a:hover {
  color: var(--ink-strong);
}

.language-switch a.is-active {
  color: var(--ink-strong);
}

.language-switch span {
  color: #C1C3C4;
  font-weight: 400;
}

/* Thai brand companion line:
   the approved English master tagline artwork remains untouched. */
.thai-tagline-companion {
  margin: 10px 0 0;
  color: #555A61;
  font-family: "Noto Sans Thai", sans-serif;
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .01em;
}

/* Thai typography requires a little more vertical space and
   less tracking than Latin uppercase interface typography. */
html[lang="th"] body {
  font-family:
    "Noto Sans Thai",
    "Manrope",
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.78;
}

html[lang="th"] .hero h1,
html[lang="th"] .section h2,
html[lang="th"] .location h2 {
  line-height: 1.17;
  letter-spacing: -.025em;
}

html[lang="th"] .approach-card h3,
html[lang="th"] .programme-list h3,
html[lang="th"] .return-title,
html[lang="th"] .pullquote span {
  line-height: 1.35;
  letter-spacing: -.015em;
}

html[lang="th"] .eyebrow,
html[lang="th"] .return-label,
html[lang="th"] .footer-social-title {
  text-transform: none;
  letter-spacing: .025em;
}

html[lang="th"] .hero-lead,
html[lang="th"] .story-text p,
html[lang="th"] .heading-copy,
html[lang="th"] .memories-copy,
html[lang="th"] .social-history-copy,
html[lang="th"] .connect-copy > p:last-of-type {
  line-height: 1.8;
}

@media (max-width: 920px) {
  .header-actions {
    margin-left: auto;
  }

  .language-switch {
    min-height: 34px;
    padding-inline: 9px;
  }
}

@media (max-width: 620px) {
  .header-actions {
    gap: 3px;
  }

  .language-switch {
    gap: 5px;
    padding-inline: 8px;
    font-size: 10px;
  }

  html[lang="th"] .hero h1 {
    font-size: clamp(38px, 11vw, 54px);
  }

  .thai-tagline-companion {
    text-align: center;
    font-size: 18px;
  }
}


/* ==============================================================
   V15 — preserve complete EWS logo artwork everywhere
   ============================================================== */

.header-logo,
.mini-brand img,
.footer-brand > img:first-child {
  object-fit: contain;
  object-position: center;
}

.header-logo {
  width: auto !important;
  height: 32px;
  max-width: none;
}

.mini-brand img {
  width: auto !important;
  height: 39px;
  max-width: none;
}

.footer-brand > img:first-child {
  width: auto;
  height: 48px;
  max-width: none;
}

@media (max-width: 620px) {
  .header-logo {
    width: auto !important;
    height: 30px;
  }

  .mini-brand img {
    width: auto !important;
    height: 36px;
  }
}


/* ==============================================================
   V16 — expandable EWS approach
   ============================================================== */

.approach-cards {
  align-items: start;
}

.approach-card {
  display: block;
  min-height: 0;
  padding: 0;
  overflow: hidden;
}

.approach-card > summary {
  list-style: none;
}

.approach-card > summary::-webkit-details-marker {
  display: none;
}

.approach-summary {
  min-height: 346px;
  display: flex;
  flex-direction: column;
  padding: 27px;
  cursor: pointer;
  outline: none;
}

.approach-summary:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(37, 40, 45, .13);
  border-radius: calc(var(--radius) - 2px);
}

.approach-summary h3 {
  margin: auto 0 11px;
}

.card-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid rgba(48, 51, 56, .09);
  color: #62666B;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .015em;
}

.toggle-close {
  display: none;
}

.card-chevron {
  font-size: 16px;
  line-height: 1;
  transition: transform .22s ease;
}

.approach-card[open] {
  box-shadow: 0 24px 60px rgba(37, 40, 45, .08);
}

.approach-card[open] .toggle-open {
  display: none;
}

.approach-card[open] .toggle-close {
  display: inline;
}

.approach-card[open] .card-chevron {
  transform: rotate(180deg);
}

.approach-card-detail {
  padding: 0 27px 29px;
  border-top: 1px solid var(--line);
}

.approach-card-detail p {
  margin: 0;
  padding-top: 18px;
  color: #5F646A;
  font-size: 14px;
  line-height: 1.72;
}

.approach-card-detail p + p {
  padding-top: 13px;
}

.lesson-example {
  margin-top: 34px;
  padding: 34px;
  background: var(--warm);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.lesson-example-head {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 54px;
  align-items: end;
}

.lesson-example .eyebrow {
  margin-bottom: 8px;
}

.lesson-example h3 {
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(30px, 3.3vw, 44px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -.045em;
}

.lesson-example-intro {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.lesson-example-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 31px;
}

.lesson-step {
  padding-top: 17px;
  border-top: 3px solid var(--line);
}

.lesson-step.step-blue {
  border-top-color: var(--ews-blue);
}

.lesson-step.step-orange {
  border-top-color: var(--ews-orange);
}

.lesson-step.step-green {
  border-top-color: var(--ews-green);
}

.lesson-step-number {
  color: #989B9E;
  font-size: 10px;
  font-weight: 700;
}

.lesson-step h4 {
  margin: 8px 0 7px;
  color: var(--ink-strong);
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -.025em;
}

.lesson-step p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.lesson-example-note {
  margin: 23px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #85898E;
  font-size: 11px;
  line-height: 1.6;
}

html[lang="th"] .card-toggle {
  letter-spacing: 0;
}

html[lang="th"] .approach-card-detail p,
html[lang="th"] .lesson-example-intro,
html[lang="th"] .lesson-step p,
html[lang="th"] .lesson-example-note {
  line-height: 1.8;
}

html[lang="th"] .lesson-example h3,
html[lang="th"] .lesson-step h4 {
  letter-spacing: -.015em;
}

@media (max-width: 920px) {
  .approach-summary {
    min-height: 260px;
  }

  .lesson-example-head {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .lesson-example-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 620px) {
  .approach-summary {
    min-height: 238px;
    padding: 23px;
  }

  .approach-card-detail {
    padding: 0 23px 24px;
  }

  .lesson-example {
    padding: 25px 23px;
  }

  .lesson-example h3 {
    font-size: 31px;
  }
}


/* ==============================================================
   V18 — new EWS premises preview
   ============================================================== */

.location-features-wrap {
  margin-top: 30px;
}

.location-features-intro {
  max-width: 1050px;
  margin: 0;
  color: #62666B;
  font-size: 15px;
  line-height: 1.75;
}

.location-features-intro strong {
  color: var(--ink-strong);
  font-weight: 700;
}

.location-features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.location-feature {
  min-height: 150px;
  padding: 20px 20px 18px;
  background: rgba(255, 255, 255, .64);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.location-feature-1 {
  border-top: 3px solid var(--ews-blue);
}

.location-feature-2 {
  border-top: 3px solid var(--ews-orange);
}

.location-feature-3 {
  border-top: 3px solid var(--ews-green);
}

.location-feature-number {
  display: block;
  margin-bottom: 16px;
  color: #9A9DA1;
  font-size: 10px;
  font-weight: 700;
}

.location-feature h3 {
  margin: 0 0 8px;
  color: var(--ink-strong);
  font-size: 17px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -.02em;
}

.location-feature p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

html[lang="th"] .location-features-intro,
html[lang="th"] .location-feature p {
  line-height: 1.8;
}

html[lang="th"] .location-feature h3 {
  letter-spacing: 0;
}

@media (max-width: 920px) {
  .location-features-grid {
    grid-template-columns: 1fr;
  }

  .location-feature {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  .location-features-wrap {
    margin-top: 24px;
  }

  .location-features-intro {
    font-size: 14px;
  }

  .location-feature {
    padding: 18px;
  }
}


/* ==============================================================
   V19 — optional lesson example / progressive disclosure
   ============================================================== */

.lesson-example-disclosure {
  margin-top: 34px;
}

.lesson-example-disclosure > summary {
  list-style: none;
}

.lesson-example-disclosure > summary::-webkit-details-marker {
  display: none;
}

.lesson-example-trigger {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 23px 25px;
  background: var(--warm);
  border: 1px solid var(--line);
  border-radius: 20px;
  cursor: pointer;
  transition:
    border-color .2s ease,
    box-shadow .2s ease,
    transform .2s ease;
}

.lesson-example-trigger:hover {
  border-color: #D8D8D3;
  box-shadow: 0 13px 32px rgba(37, 40, 45, .05);
  transform: translateY(-1px);
}

.lesson-example-trigger:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(134, 205, 253, .28);
}

.lesson-example-trigger-copy {
  display: grid;
  gap: 3px;
}

.lesson-example-trigger-title {
  color: var(--ink-strong);
  font-size: 17px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: -.02em;
}

.lesson-example-trigger-subtitle {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.lesson-example-trigger-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  color: var(--ink-strong);
  font-size: 11px;
  font-weight: 700;
}

.lesson-trigger-close {
  display: none;
}

.lesson-trigger-arrow {
  font-size: 16px;
  line-height: 1;
  transition: transform .22s ease;
}

.lesson-example-disclosure[open] .lesson-trigger-open {
  display: none;
}

.lesson-example-disclosure[open] .lesson-trigger-close {
  display: inline;
}

.lesson-example-disclosure[open] .lesson-trigger-arrow {
  transform: rotate(180deg);
}

.lesson-example-disclosure[open] .lesson-example-trigger {
  border-color: #D8D8D3;
}

.lesson-example-disclosure > .lesson-example {
  margin-top: 16px;
}

html[lang="th"] .lesson-example-trigger-title {
  letter-spacing: 0;
  line-height: 1.65;
}

html[lang="th"] .lesson-example-trigger-subtitle,
html[lang="th"] .lesson-example-trigger-action {
  line-height: 1.7;
}

@media (max-width: 620px) {
  .lesson-example-disclosure {
    margin-top: 26px;
  }

  .lesson-example-trigger {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 20px 19px;
  }

  .lesson-example-trigger-action {
    justify-content: space-between;
    width: 100%;
    padding-top: 13px;
    border-top: 1px solid var(--line);
  }

  .lesson-example-trigger-title {
    font-size: 16px;
  }
}


/* ==============================================================
   V20 — refined approach-card disclosure
   ============================================================== */

.card-toggle {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(48, 51, 56, .08);
  color: #6E737A;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.card-chevron {
  width: 27px;
  height: 27px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(48, 51, 56, .12);
  border-radius: 999px;
  font-size: 14px;
  line-height: 1;
  color: var(--ink-strong);
  transition:
    transform .22s ease,
    background .22s ease,
    border-color .22s ease;
}

.approach-summary:hover .card-chevron {
  background: rgba(255, 255, 255, .72);
  border-color: rgba(48, 51, 56, .2);
}

.approach-card[open] .card-chevron {
  transform: rotate(180deg);
}

.approach-card-detail {
  padding: 0 27px 24px;
  border-top: 0;
}

.approach-detail-compact {
  padding-top: 2px;
  border-top: 1px solid rgba(48, 51, 56, .08);
}

.approach-detail-row {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 15px;
  align-items: start;
  padding: 14px 0;
}

.approach-detail-row + .approach-detail-row {
  border-top: 1px solid rgba(48, 51, 56, .07);
}

.approach-detail-label {
  color: #93979C;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding-top: 3px;
}

.approach-detail-row p {
  margin: 0;
  padding: 0;
  color: #555A61;
  font-size: 13px;
  line-height: 1.62;
}

html[lang="th"] .card-toggle,
html[lang="th"] .approach-detail-label {
  text-transform: none;
  letter-spacing: 0;
}

html[lang="th"] .approach-detail-row p {
  line-height: 1.78;
}

@media (max-width: 620px) {
  .approach-detail-row {
    grid-template-columns: 58px 1fr;
    gap: 12px;
  }

  .approach-card-detail {
    padding-inline: 23px;
  }
}


/* ==============================================================
   V21 — premium "How it works" interaction
   ============================================================== */

.approach-card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(250,250,248,.84));
  border: 1px solid rgba(48, 51, 56, .095);
  box-shadow:
    0 1px 0 rgba(255,255,255,.9) inset,
    0 12px 34px rgba(37, 40, 45, .035);
  transition:
    transform .32s cubic-bezier(.2,.75,.25,1),
    box-shadow .32s cubic-bezier(.2,.75,.25,1),
    border-color .32s ease,
    background .32s ease;
  will-change: transform;
}

.approach-card:hover {
  transform: translateY(-3px);
  border-color: rgba(48, 51, 56, .14);
  box-shadow:
    0 1px 0 rgba(255,255,255,.96) inset,
    0 20px 48px rgba(37, 40, 45, .07);
}

.approach-card[open] {
  transform: translateY(-2px);
  border-color: rgba(48, 51, 56, .14);
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,248,245,.94));
  box-shadow:
    0 1px 0 rgba(255,255,255,.98) inset,
    0 24px 58px rgba(37, 40, 45, .08);
}

.approach-summary {
  position: relative;
  overflow: hidden;
}

.approach-accent-line {
  position: absolute;
  top: 0;
  left: 27px;
  right: 27px;
  height: 2px;
  border-radius: 999px;
  transform: scaleX(.16);
  transform-origin: left center;
  opacity: .58;
  transition:
    transform .4s cubic-bezier(.2,.75,.25,1),
    opacity .3s ease;
}

.card-blue .approach-accent-line {
  background: var(--ews-blue);
}

.card-orange .approach-accent-line {
  background: var(--ews-orange);
}

.card-green .approach-accent-line {
  background: var(--ews-green);
}

.approach-card:hover .approach-accent-line,
.approach-card[open] .approach-accent-line {
  transform: scaleX(1);
  opacity: .9;
}

.card-toggle {
  position: relative;
  min-height: 42px;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid rgba(48, 51, 56, .075);
  color: #666B71;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .065em;
  text-transform: uppercase;
}

.card-toggle::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--ink-strong);
  opacity: .5;
  transition: width .35s cubic-bezier(.2,.75,.25,1);
}

.approach-summary:hover .card-toggle::before,
.approach-card[open] .card-toggle::before {
  width: 44px;
}

.card-toggle-label {
  transition: color .22s ease;
}

.approach-summary:hover .card-toggle-label,
.approach-card[open] .card-toggle-label {
  color: var(--ink-strong);
}

.card-control-icon {
  position: relative;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border: 1px solid rgba(48, 51, 56, .13);
  border-radius: 999px;
  background: rgba(255,255,255,.66);
  box-shadow: 0 1px 0 rgba(255,255,255,.95) inset;
  transition:
    background .26s ease,
    border-color .26s ease,
    transform .35s cubic-bezier(.2,.75,.25,1),
    box-shadow .26s ease;
}

.card-control-icon::before,
.card-control-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 1px;
  background: #303338;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  transition:
    transform .32s cubic-bezier(.2,.75,.25,1),
    opacity .22s ease,
    background .22s ease;
}

.card-control-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.approach-summary:hover .card-control-icon {
  background: #fff;
  border-color: rgba(48, 51, 56, .22);
  box-shadow:
    0 1px 0 rgba(255,255,255,1) inset,
    0 6px 16px rgba(37,40,45,.06);
}

.approach-card[open] .card-control-icon {
  background: var(--ink-strong);
  border-color: var(--ink-strong);
  transform: rotate(180deg);
}

.approach-card[open] .card-control-icon::before,
.approach-card[open] .card-control-icon::after {
  background: #fff;
}

.approach-card[open] .card-control-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0deg);
}

.approach-card-detail {
  overflow: hidden;
}

.approach-detail-compact {
  margin-top: 2px;
  padding-top: 1px;
  border-top: 1px solid rgba(48, 51, 56, .075);
}

.approach-detail-row {
  padding: 15px 0;
}

.approach-detail-row + .approach-detail-row {
  border-top: 1px solid rgba(48, 51, 56, .06);
}

.approach-detail-label {
  color: #9A9DA1;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: .09em;
}

.approach-detail-row p {
  color: #50555B;
  font-size: 12.5px;
  line-height: 1.62;
}

html[lang="th"] .card-toggle,
html[lang="th"] .approach-detail-label {
  letter-spacing: 0;
  text-transform: none;
}

html[lang="th"] .approach-detail-row p {
  line-height: 1.78;
}

/* The custom animation is additive. Without JS, native details still works. */
.approach-card.is-animating {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .approach-card,
  .approach-accent-line,
  .card-toggle::before,
  .card-control-icon,
  .card-control-icon::before,
  .card-control-icon::after {
    transition: none !important;
  }
}

@media (max-width: 620px) {
  .approach-accent-line {
    left: 23px;
    right: 23px;
  }

  .card-control-icon {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }
}


/* ==============================================================
   V22 — Public relaunch refinement
   ============================================================== */

/* LINE is primary, but remains inside the EWS visual system. */
.button-line {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.button-line::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 999px;
  background: #06C755;
  box-shadow: 0 0 0 4px rgba(6, 199, 85, .08);
}

/* People behind EWS — compact continuity section. */
.people {
  padding-top: 78px;
  padding-bottom: 78px;
  background: var(--white);
  border-top: 1px solid rgba(48, 51, 56, .055);
  border-bottom: 1px solid rgba(48, 51, 56, .055);
}

.people-grid {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 100px;
  align-items: start;
}

.people h2 {
  max-width: 510px;
}

.people-copy {
  max-width: 760px;
}

.people-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.people-copy .people-lead {
  color: var(--ink-strong);
  font-size: 20px;
  line-height: 1.55;
  font-weight: 500;
}

.people-copy p + p {
  margin-top: 20px;
}

.people-continuity {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 29px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #777B80;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .025em;
}

.people-continuity-arrow {
  color: #A3A6A8;
}

/* Faster parent scan in the approach cards. */
.approach-benefit {
  margin: 4px 0 8px !important;
  color: var(--ink-strong) !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
  font-weight: 700;
}

.approach-summary > h3 + .approach-benefit + p {
  margin-top: 0;
}

/* Social roles: LINE = connect, the rest = follow/discover. */
.social-purpose {
  display: block;
  margin-bottom: 2px;
  color: rgba(255, 255, 255, .38);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.social-card-connect {
  background: rgba(255, 255, 255, .075);
  border-color: rgba(255, 255, 255, .22);
}

.social-card-connect .social-purpose {
  color: rgba(255, 255, 255, .58);
}

.social-card-connect .social-text strong::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 7px;
  vertical-align: 2px;
  border-radius: 999px;
  background: #06C755;
}

/* Future premises: visually reads as design priorities, not promises. */
.location-features-intro strong {
  font-weight: 700;
}

.location-feature {
  background: rgba(255, 255, 255, .5);
}

/* Former families — responsible, calm, deliberately compact. */
.former-families {
  padding-top: 72px;
  padding-bottom: 72px;
}

.former-families-panel {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 90px;
  padding: 40px 42px;
  background: var(--warm);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.former-families h2 {
  margin-top: 9px;
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1.1;
}

.former-families-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.former-families-copy .former-families-lead {
  color: var(--ink-strong);
  font-size: 17px;
  font-weight: 500;
}

.former-families-note {
  margin-top: 17px !important;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  font-size: 13px !important;
}

.former-line-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
}

.former-line-id {
  color: #72767B;
  font-size: 12px;
  font-weight: 700;
}

/* Public conversion is LINE-first; no non-functional form. */
.connect-v22 {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.connect-lead {
  color: var(--ink-strong) !important;
  font-size: 18px !important;
  font-weight: 500;
}

.connect-line-panel {
  padding: 31px 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 20px 52px rgba(37, 40, 45, .055);
}

.connect-line-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
}

.connect-line-label {
  color: #7C8085;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
}

.connect-line-top strong {
  color: var(--ink-strong);
  font-size: 20px;
  letter-spacing: -.025em;
}

.connect-line-panel > p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.connect-line-button {
  margin-top: 22px;
}

.connect-confirmed-note {
  padding-top: 15px;
  border-top: 1px solid var(--line);
  font-size: 11px !important;
  color: #8A8E92 !important;
}

.connect-secondary-socials {
  margin-top: 22px;
  padding-top: 19px;
  border-top: 1px solid var(--line);
}

.connect-secondary-label {
  display: block;
  margin-bottom: 8px;
  color: #95989B;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.connect-secondary-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 15px;
}

.connect-secondary-links a {
  color: #666A70;
  font-size: 12px;
  font-weight: 650;
}

.connect-secondary-links a:hover {
  color: var(--ink-strong);
}

/* Desktop LINE handoff — QR dialog. Mobile keeps the real LINE link. */
.line-dialog {
  width: min(440px, calc(100vw - 36px));
  padding: 0;
  border: 0;
  border-radius: 26px;
  color: var(--ink-strong);
  background: transparent;
  box-shadow: 0 38px 90px rgba(24, 27, 30, .22);
}

.line-dialog::backdrop {
  background: rgba(27, 30, 34, .44);
  backdrop-filter: blur(5px);
}

.line-dialog-inner {
  position: relative;
  padding: 32px;
  background: #fff;
  border: 1px solid rgba(48, 51, 56, .09);
  border-radius: 26px;
  text-align: center;
}

.line-dialog-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--warm);
  color: var(--ink-strong);
  font: inherit;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.line-dialog h2 {
  margin: 6px auto 9px;
  max-width: 330px;
  font-size: 29px;
  line-height: 1.15;
  letter-spacing: -.04em;
}

.line-dialog-copy {
  max-width: 330px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.line-dialog-qr {
  display: block;
  width: 190px;
  height: 190px;
  margin: 24px auto 13px;
  padding: 7px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.line-dialog-id {
  margin-bottom: 18px;
  color: var(--ink-strong);
  font-size: 16px;
  font-weight: 750;
}

/* Thai refinements for new sections. */
html[lang="th"] .people-copy p,
html[lang="th"] .former-families-copy p,
html[lang="th"] .connect-line-panel > p {
  line-height: 1.82;
}

html[lang="th"] .social-purpose,
html[lang="th"] .connect-secondary-label {
  text-transform: none;
  letter-spacing: 0;
}

html[lang="th"] .people-continuity {
  letter-spacing: 0;
}

@media (max-width: 1024px) {
  .people-grid,
  .former-families-panel,
  .connect-v22 {
    gap: 48px;
  }
}

@media (max-width: 920px) {
  .people-grid,
  .former-families-panel,
  .connect-v22 {
    grid-template-columns: 1fr;
  }

  .people {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .former-families-panel {
    padding: 32px;
  }

  .connect-line-panel {
    padding: 28px;
  }
}

@media (max-width: 620px) {
  .people,
  .former-families {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .people-copy .people-lead {
    font-size: 18px;
  }

  .former-families-panel {
    padding: 25px 22px;
    gap: 25px;
  }

  .former-line-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .connect-v22 {
    gap: 34px;
  }

  .connect-line-panel {
    padding: 24px 21px;
  }

  .connect-line-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .connect-line-button,
  .former-line-button,
  .hero-line-button {
    min-height: 46px;
  }

  .line-dialog-inner {
    padding: 29px 22px 24px;
  }
}


/* V22 final mobile hero fit:
   keep the long EnglishWorkshop word fully inside narrow screens. */
@media (max-width: 620px) {
  html[lang="en"] .hero h1 {
    font-size: clamp(38px, 10.2vw, 46px);
  }
}


/* ==============================================================
   V23 — visual people-behind-EWS section
   ============================================================== */

.people-grid {
  grid-template-columns: .72fr 1.28fr;
  gap: 84px;
}

.people-visual {
  min-width: 0;
}

.people-portrait-stage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: 0;
  overflow: hidden;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.people-person {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 18px 18px 0;
  overflow: hidden;
}

.people-person + .people-person {
  border-left: 1px solid rgba(48, 51, 56, .08);
}

.people-person img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: contain;
  object-position: center bottom;
  filter: saturate(.96) contrast(.99);
}

.people-person figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin: 0 -18px;
  padding: 14px 18px 15px;
  background: rgba(255, 255, 255, .86);
  border-top: 1px solid rgba(48, 51, 56, .07);
}

.people-person figcaption strong {
  color: var(--ink-strong);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 750;
  letter-spacing: -.015em;
}

.people-person figcaption span {
  color: #8B8F93;
  font-size: 9px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.people-copy {
  max-width: none;
  margin-top: 28px;
}

.people-copy .people-lead {
  max-width: 820px;
}

html[lang="th"] .people-person figcaption span {
  letter-spacing: 0;
  text-transform: none;
}

@media (max-width: 1024px) {
  .people-grid {
    gap: 52px;
  }

  .people-person img {
    height: 290px;
  }
}

@media (max-width: 920px) {
  .people-grid {
    grid-template-columns: 1fr;
  }

  .people-visual {
    max-width: 760px;
  }
}

@media (max-width: 620px) {
  .people-portrait-stage {
    gap: 0;
  }

  .people-person {
    padding: 12px 10px 0;
  }

  .people-person img {
    height: 220px;
  }

  .people-person figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
    margin: 0 -10px;
    padding: 12px 10px 13px;
  }

  .people-person figcaption span {
    font-size: 8px;
  }

  .people-copy {
    margin-top: 22px;
  }
}

@media (max-width: 390px) {
  .people-person img {
    height: 195px;
  }
}


/* ==============================================================
   V24 — current Andy & Shiela portrait integration
   ============================================================== */

/*
   The current Andy portrait has an opaque white canvas while Shiela's
   portrait is transparent. A common white visual surface keeps both portraits
   visually consistent without altering either supplied image.
*/
.people-portrait-stage,
.people-person {
  background: #fff;
}

.people-person img {
  filter: none;
}


/* ==============================================================
   V25 — Hero CTA fold protection
   ==============================================================
   On short desktop browser windows, keep the CTA row from landing halfway
   across the viewport edge. Normal-height desktops and mobile layouts retain
   the existing V24 composition.
   ============================================================== */

@media (min-width: 921px) and (max-height: 720px) {
  .hero {
    padding-top: 104px;
    padding-bottom: 64px;
  }

  .hero-brand {
    margin-bottom: 34px;
  }

  .hero-lead {
    margin-top: 20px;
    line-height: 1.52;
  }

  .hero-actions {
    margin-top: 22px;
  }
}

@media (min-width: 921px) and (max-height: 560px) {
  .hero {
    padding-top: 92px;
    padding-bottom: 54px;
  }

  .hero-brand {
    margin-bottom: 26px;
  }

  .hero-lead {
    margin-top: 17px;
    line-height: 1.48;
  }

  .hero-actions {
    margin-top: 18px;
  }
}

/*
  This class is added only when JavaScript detects that the CTA row would be
  cut by the initial viewport fold. The value is calculated dynamically.
*/
.hero-actions.hero-actions-fold-protected {
  transition: margin-top .18s ease;
}

@media (prefers-reduced-motion: reduce) {
  .hero-actions.hero-actions-fold-protected {
    transition: none;
  }
}


/* ==============================================================
   V27 — former EWS family reconnection
   ============================================================== */

.former-family-marker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  padding: 8px 11px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(48, 51, 56, .08);
  border-radius: 999px;
  color: #85898E;
  font-size: 8.5px;
  line-height: 1;
  font-weight: 750;
  letter-spacing: .085em;
  text-transform: uppercase;
}

.former-family-marker-primary {
  color: var(--ink-strong);
}

.former-family-marker-divider {
  color: #B1B4B7;
}

.former-families-reconnect-copy {
  margin: 17px 0 0 !important;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px !important;
  line-height: 1.7 !important;
}

.former-families-panel {
  position: relative;
  overflow: hidden;
}

.former-families-panel::before {
  content: "";
  position: absolute;
  left: 42px;
  top: 0;
  width: 54px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--ews-blue) 0 33.33%,
    var(--ews-orange) 33.33% 66.66%,
    var(--ews-green) 66.66% 100%
  );
  opacity: .82;
}

html[lang="th"] .former-family-marker {
  letter-spacing: 0;
  text-transform: none;
}

html[lang="th"] .former-families-reconnect-copy {
  line-height: 1.85 !important;
}

@media (max-width: 620px) {
  .former-families-panel::before {
    left: 22px;
  }

  .former-family-marker {
    flex-wrap: wrap;
    gap: 6px 8px;
    font-size: 8px;
  }
}


/* ==============================================================
   V28 — secondary email contact route
   ============================================================== */

.email-contact-disclosure {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.email-contact-disclosure > summary {
  list-style: none;
}

.email-contact-disclosure > summary::-webkit-details-marker {
  display: none;
}

.email-contact-trigger {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 0;
  cursor: pointer;
}

.email-contact-trigger-copy {
  display: grid;
  gap: 3px;
}

.email-contact-trigger-title {
  color: var(--ink-strong);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 750;
}

.email-contact-trigger-subtitle {
  color: #85898E;
  font-size: 11px;
  line-height: 1.55;
}

.email-contact-trigger-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #6F7479;
  font-size: 9.5px;
  font-weight: 750;
  letter-spacing: .055em;
  text-transform: uppercase;
  white-space: nowrap;
}

.email-trigger-close {
  display: none;
}

.email-trigger-icon {
  position: relative;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(48, 51, 56, .13);
  border-radius: 999px;
  background: rgba(255,255,255,.7);
}

.email-trigger-icon::before,
.email-trigger-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 1px;
  background: var(--ink-strong);
  border-radius: 999px;
  transform: translate(-50%, -50%);
  transition: transform .22s ease, opacity .2s ease;
}

.email-trigger-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.email-contact-disclosure[open] .email-trigger-open {
  display: none;
}

.email-contact-disclosure[open] .email-trigger-close {
  display: inline;
}

.email-contact-disclosure[open] .email-trigger-icon::after {
  opacity: 0;
}

.email-contact-body {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.email-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 16px;
}

.email-field {
  display: grid;
  gap: 7px;
}

.email-field:last-child {
  grid-column: 1 / -1;
}

.email-field label {
  color: #72767B;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .065em;
  text-transform: uppercase;
}

.email-field input,
.email-field select,
.email-field textarea {
  width: 100%;
  min-height: 45px;
  padding: 11px 12px;
  border: 1px solid #DDDEDC;
  border-radius: 11px;
  outline: none;
  background: #FAFAF8;
  color: var(--ink-strong);
  font: inherit;
  font-size: 13px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.email-field textarea {
  min-height: 104px;
  resize: vertical;
  line-height: 1.55;
}

.email-field input:focus,
.email-field select:focus,
.email-field textarea:focus {
  border-color: #AEB1B2;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(134, 205, 253, .16);
}

.email-form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 13px 18px;
  margin-top: 18px;
}

.email-submit {
  min-height: 44px;
}

.email-direct-link {
  color: #74787D;
  font-size: 10.5px;
  line-height: 1.5;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.email-form-status {
  min-height: 0;
  margin: 11px 0 0;
  color: #A34A3A;
  font-size: 11px;
  line-height: 1.5;
}

.email-form-status:empty {
  display: none;
}

.email-form-privacy {
  margin: 12px 0 0 !important;
  color: #989B9E !important;
  font-size: 9.5px !important;
  line-height: 1.55 !important;
}

.email-contact-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

html[lang="th"] .email-contact-trigger-action,
html[lang="th"] .email-field label {
  letter-spacing: 0;
  text-transform: none;
}

html[lang="th"] .email-contact-trigger-subtitle,
html[lang="th"] .email-field input,
html[lang="th"] .email-field select,
html[lang="th"] .email-field textarea,
html[lang="th"] .email-form-privacy {
  line-height: 1.75;
}

@media (max-width: 620px) {
  .email-contact-trigger {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .email-contact-trigger-action {
    justify-content: space-between;
    width: 100%;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }

  .email-form-grid {
    grid-template-columns: 1fr;
  }

  .email-field:last-child {
    grid-column: auto;
  }

  .email-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .email-submit {
    width: 100%;
  }
}


/* ==============================================================
   V29 — premium email enquiry experience
   ============================================================== */

.email-contact-disclosure {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.email-contact-trigger {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 16px;
  align-items: center;
  min-height: 82px;
  padding: 16px 17px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,.94), rgba(249,249,247,.9));
  border: 1px solid rgba(48, 51, 56, .085);
  border-radius: 16px;
  box-shadow:
    0 1px 0 rgba(255,255,255,.95) inset,
    0 10px 26px rgba(37, 40, 45, .035);
  cursor: pointer;
  transition:
    transform .24s cubic-bezier(.2,.75,.25,1),
    box-shadow .24s ease,
    border-color .24s ease,
    background .24s ease;
}

.email-contact-trigger::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  bottom: 15px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    var(--ews-blue),
    var(--ews-orange),
    var(--ews-green)
  );
  opacity: .72;
}

.email-contact-trigger:hover {
  transform: translateY(-2px);
  border-color: rgba(48, 51, 56, .14);
  box-shadow:
    0 1px 0 rgba(255,255,255,1) inset,
    0 17px 34px rgba(37, 40, 45, .065);
}

.email-contact-trigger:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(134, 205, 253, .18),
    0 17px 34px rgba(37, 40, 45, .055);
}

.email-contact-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(48, 51, 56, .11);
  border-radius: 999px;
  background: rgba(255,255,255,.86);
}

.email-envelope {
  position: relative;
  width: 17px;
  height: 12px;
  border: 1.4px solid #555A5F;
  border-radius: 3px;
}

.email-envelope::before,
.email-envelope::after {
  content: "";
  position: absolute;
  top: 2px;
  width: 9px;
  height: 1.2px;
  background: #555A5F;
  transform-origin: center;
}

.email-envelope::before {
  left: 0;
  transform: rotate(34deg);
}

.email-envelope::after {
  right: 0;
  transform: rotate(-34deg);
}

.email-contact-trigger-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.email-contact-eyebrow {
  margin-bottom: 2px;
  color: #9A9DA1;
  font-size: 8px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .12em;
}

.email-contact-trigger-title {
  color: var(--ink-strong);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 760;
  letter-spacing: -.015em;
}

.email-contact-trigger-subtitle {
  color: #7C8085;
  font-size: 10.5px;
  line-height: 1.5;
}

.email-contact-trigger-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #696E73;
  font-size: 9px;
  line-height: 1;
  font-weight: 760;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.email-trigger-control {
  position: relative;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border: 1px solid rgba(48, 51, 56, .12);
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  transition:
    background .22s ease,
    border-color .22s ease,
    transform .28s cubic-bezier(.2,.75,.25,1);
}

.email-trigger-control::before,
.email-trigger-control::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 1px;
  background: var(--ink-strong);
  border-radius: 999px;
  transform: translate(-50%, -50%);
  transition: opacity .2s ease, transform .25s ease;
}

.email-trigger-control::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.email-contact-disclosure[open] .email-contact-trigger {
  border-color: rgba(48, 51, 56, .14);
  background: #fff;
}

.email-contact-disclosure[open] .email-trigger-control {
  background: var(--ink-strong);
  border-color: var(--ink-strong);
  transform: rotate(180deg);
}

.email-contact-disclosure[open] .email-trigger-control::before,
.email-contact-disclosure[open] .email-trigger-control::after {
  background: #fff;
}

.email-contact-disclosure[open] .email-trigger-control::after {
  opacity: 0;
}

.email-contact-body {
  margin: 12px 0 0;
  padding: 22px 21px 20px;
  background:
    linear-gradient(180deg, rgba(251,250,247,.94), rgba(255,255,255,.98));
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(37, 40, 45, .035);
}

.email-form-intro {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 17px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

.email-form-intro strong {
  color: var(--ink-strong);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 750;
}

.email-form-intro span {
  color: #8B8F93;
  font-size: 10px;
  line-height: 1.45;
}

.email-form-grid {
  gap: 13px 14px;
}

.email-field {
  gap: 6px;
}

.email-field label {
  color: #7B7F84;
  font-size: 8.5px;
  font-weight: 760;
  letter-spacing: .075em;
}

.email-field input,
.email-field select,
.email-field textarea {
  min-height: 44px;
  padding: 10px 12px;
  border-color: rgba(48, 51, 56, .105);
  border-radius: 10px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset;
}

.email-field textarea {
  min-height: 94px;
}

.email-field input:hover,
.email-field select:hover,
.email-field textarea:hover {
  border-color: rgba(48, 51, 56, .18);
}

.email-field input:focus,
.email-field select:focus,
.email-field textarea:focus {
  border-color: rgba(48, 51, 56, .24);
  box-shadow:
    0 0 0 3px rgba(134, 205, 253, .12),
    0 1px 0 rgba(255,255,255,1) inset;
}

.email-form-actions {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px 18px;
  align-items: center;
  margin-top: 17px;
}

.email-submit {
  min-height: 43px;
  padding-inline: 20px;
}

.email-direct-wrap {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.email-direct-link {
  width: fit-content;
  color: #6D7277;
  font-size: 9.5px;
  font-weight: 650;
  text-decoration: none;
}

.email-direct-link:hover {
  color: var(--ink-strong);
}

.email-direct-address {
  overflow: hidden;
  color: #A0A3A6;
  font-size: 8.5px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.email-form-privacy {
  position: relative;
  margin-top: 14px !important;
  padding: 12px 0 0 19px;
  border-top: 1px solid var(--line);
}

.email-form-privacy::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 14px;
  width: 9px;
  height: 8px;
  border: 1px solid #A5A8AB;
  border-radius: 2px;
}

.email-form-privacy::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 10px;
  width: 5px;
  height: 6px;
  border: 1px solid #A5A8AB;
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
}

html[lang="th"] .email-contact-eyebrow {
  letter-spacing: .12em;
}

html[lang="th"] .email-contact-trigger-title,
html[lang="th"] .email-contact-trigger-subtitle,
html[lang="th"] .email-form-intro strong,
html[lang="th"] .email-form-intro span {
  line-height: 1.7;
}

html[lang="th"] .email-contact-trigger-action,
html[lang="th"] .email-field label {
  text-transform: none;
  letter-spacing: 0;
}

@media (max-width: 620px) {
  .email-contact-trigger {
    grid-template-columns: 38px 1fr;
    gap: 13px;
    min-height: 0;
    padding: 14px 14px;
  }

  .email-contact-icon {
    width: 38px;
    height: 38px;
  }

  .email-contact-trigger-action {
    grid-column: 1 / -1;
    justify-content: space-between;
    width: 100%;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }

  .email-contact-body {
    padding: 19px 16px 17px;
  }

  .email-form-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .email-form-actions {
    grid-template-columns: 1fr;
  }

  .email-submit {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .email-contact-trigger,
  .email-trigger-control {
    transition: none;
  }
}


/* ==============================================================
   V30 — real form submission states
   ============================================================== */

.email-submit[disabled] {
  cursor: wait;
  opacity: .72;
}

.email-submit.is-loading {
  min-width: 142px;
}

.email-form-status {
  grid-column: 1 / -1;
  margin: 13px 0 0;
  padding: 0;
  border: 0;
}

.email-form-status.is-success {
  display: grid;
  gap: 3px;
  padding: 14px 15px;
  background: rgba(140, 232, 14, .055);
  border: 1px solid rgba(22, 207, 28, .14);
  border-radius: 11px;
  color: var(--ink-strong);
}

.email-form-status.is-success strong {
  font-size: 12px;
  line-height: 1.35;
  font-weight: 760;
}

.email-form-status.is-success span {
  color: #74787D;
  font-size: 10.5px;
  line-height: 1.5;
}

.email-form-status.is-error {
  display: block;
  padding: 11px 13px;
  background: rgba(185, 75, 61, .045);
  border: 1px solid rgba(185, 75, 61, .12);
  border-radius: 10px;
  color: #8A433A;
  font-size: 10.5px;
  line-height: 1.5;
}

html[lang="th"] .email-form-status.is-success span,
html[lang="th"] .email-form-status.is-error {
  line-height: 1.75;
}


/* ==============================================================
   V31 — seven-point launch refinement
   ============================================================== */

.hero-actions .hero-line-button.button-primary {
  box-shadow: 0 10px 28px rgba(37, 40, 45, .11);
}

.discover-social {
  padding-top: 56px;
  padding-bottom: 58px;
  background: var(--white);
  border-top: 1px solid rgba(48, 51, 56, .06);
}

.discover-social-inner {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.discover-social-copy h2 {
  margin: 7px 0 9px;
  max-width: 520px;
  color: var(--ink-strong);
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.12;
  letter-spacing: -.04em;
}

.discover-social-copy > p:last-child {
  max-width: 590px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.discover-social-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.discover-social .discover-card {
  min-height: 74px;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 15px;
  background: var(--warm);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink-strong);
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.discover-social .discover-card:hover {
  transform: translateY(-2px);
  border-color: rgba(48,51,56,.16);
  background: #fff;
}

.discover-social .social-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(48,51,56,.1);
  border-radius: 999px;
  color: #555A60;
}

.discover-social .social-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.discover-social .social-icon svg rect,
.discover-social .social-icon svg circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.discover-social .social-play { fill: #fff; }
.discover-social .social-text { display: block; }
.discover-social .social-text strong { font-size: 12px; line-height: 1.2; font-weight: 720; }
.discover-social .social-arrow { color: #A1A4A7; font-size: 13px; }
.discover-social .social-card::before,
.discover-social .social-card::after { display: none !important; }

html[lang="th"] .discover-social-copy > p:last-child { line-height: 1.82; }

@media (max-width: 920px) {
  .discover-social-inner { grid-template-columns: 1fr; gap: 26px; }
  .discover-social-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .discover-social .discover-card { grid-template-columns: 1fr; gap: 8px; text-align: center; }
  .discover-social .social-icon { margin-inline: auto; }
  .discover-social .social-arrow { display: none; }
}

@media (max-width: 620px) {
  .discover-social { padding-top: 46px; padding-bottom: 48px; }
  .discover-social-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .discover-social .discover-card { min-height: 84px; padding: 13px 12px; }
}


/* V31 Discover EWS contrast correction */
.discover-social .social-text strong {
  color: var(--ink-strong);
}

.discover-social .social-arrow {
  color: #8F9397;
}


/* ==============================================================
   V32 — final refinement: compact next-home treatment + privacy
   ============================================================== */

.location-priorities {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 24px;
  padding-top: 19px;
  border-top: 1px solid var(--line);
}

.location-priorities-label {
  color: #8A8E92;
  font-size: 9px;
  line-height: 1.3;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.location-priorities-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--ink-strong);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 650;
}

.location-priorities-list span + span::before {
  content: "·";
  margin-right: 18px;
  color: #B4B7BA;
}

html[lang="th"] .location-priorities-label {
  letter-spacing: 0;
  text-transform: none;
}

html[lang="th"] .location-priorities-list {
  line-height: 1.7;
}

.footer-legal a {
  color: inherit;
  font-size: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.footer-legal a:hover {
  color: var(--ink-strong);
}

.privacy-main {
  min-height: 72vh;
  padding: 150px 0 92px;
  background: var(--warm);
}

.privacy-shell {
  max-width: 900px;
}

.privacy-back {
  display: inline-block;
  margin-bottom: 46px;
  color: #777B80;
  font-size: 11px;
  font-weight: 650;
}

.privacy-main h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(48px, 7vw, 82px);
  line-height: 1.02;
}

.privacy-intro {
  max-width: 730px;
  margin: 0 0 50px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.privacy-content {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.privacy-section {
  display: grid;
  grid-template-columns: .42fr 1fr;
  gap: 42px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.privacy-section h2 {
  margin: 0;
  color: var(--ink-strong);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: -.015em;
}

.privacy-section p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.privacy-footer-inner {
  display: grid;
  grid-template-columns: 1fr .7fr;
  gap: 60px;
  align-items: start;
}

html[lang="th"] .privacy-intro,
html[lang="th"] .privacy-section p {
  line-height: 1.9;
}

@media (max-width: 620px) {
  .location-priorities {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
  }

  .location-priorities-list {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .location-priorities-list span + span::before {
    content: none;
  }

  .privacy-main {
    padding: 122px 0 70px;
  }

  .privacy-back {
    margin-bottom: 34px;
  }

  .privacy-intro {
    margin-bottom: 38px;
    font-size: 16px;
  }

  .privacy-section {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 22px 0;
  }

  .privacy-footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* V37 — expandable co-founder profiles within the existing portrait frame. */
.people-portrait-stage { align-items: start; }
.people-profile { margin: 0 -18px; padding: 0 18px 15px; }
.people-profile-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  cursor: pointer;
  list-style: none;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 700;
}
.people-profile-trigger::-webkit-details-marker { display: none; }
.people-profile-trigger:focus-visible {
  outline: 2px solid var(--ink-strong);
  outline-offset: 4px;
  border-radius: 4px;
}
.people-profile-trigger .card-control-icon { flex-shrink: 0; }
.people-profile-less,
.people-profile[open] .people-profile-more { display: none; }
.people-profile[open] .people-profile-less { display: inline; }
.people-profile[open] .card-control-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.people-profile-body p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}
html[lang="th"] .people-profile-body p { line-height: 1.82; }
@media (max-width: 620px) {
  .people-profile { margin: 0 -10px; padding: 0 10px 13px; }
}

/* V40 — clearer parent journey within the established EWS design. */
.skip-link {
  position: fixed;
  top: 10px;
  left: 14px;
  z-index: 1000;
  padding: 12px 18px;
  border-radius: 10px;
  background: #fff;
  color: #20242a;
  box-shadow: 0 3px 20px #0002;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.people-person figcaption {
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}
.people-person figcaption .people-experience {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0;
  text-transform: none;
  color: #666a70;
}
.people-profile-trigger { font-size: 14px; }
.programme-list article { padding-block: 24px; }
.programme-list p { font-size: 16px; line-height: 1.75; }
.programme-future {
  max-width: 1010px;
  margin: 24px auto 0;
  font-size: 14px;
  line-height: 1.75;
  color: #666a70;
}
.hero-copy .eyebrow { line-height: 1.7; }
.hero h1 { overflow-wrap: anywhere; }
.hero-actions { flex-wrap: wrap; }
.approach-summary > p:not(.approach-benefit) { font-size: 16px; line-height: 1.75; }
.approach-question span { text-wrap: balance; }
.email-contact-trigger-subtitle,
.email-form-intro > span,
.email-field label,
.email-direct-link,
.email-direct-address,
.email-form-status { font-size: 14px; }
.email-field input,
.email-field select,
.email-field textarea { font-size: 16px; }
.email-form-privacy { font-size: 12px !important; color: #666a70 !important; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid #17699b;
  outline-offset: 5px;
}
@media (max-width: 620px) {
  .hero { padding-top: 100px; }
  .hero-inner { row-gap: 28px; }
  .hero-brand { margin-bottom: 0; }
  .hero h1 { font-size: clamp(34px, 9vw, 50px); }
  .hero-copy .eyebrow { font-size: 12px; letter-spacing: .055em; }
  html[lang="th"] .hero-copy .eyebrow { letter-spacing: 0; }
  .people-person figcaption .people-experience { font-size: 13px; }
  .people-profile-trigger { font-size: 13px; }
  .programme-list article {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px 14px;
    padding-block: 24px;
  }
  .programme-list article > p { grid-column: 2; }
  .programme-list h3 { font-size: 22px; }
  .approach-question span { font-size: 26px; line-height: 1.5; }
}
@media (max-width: 360px) {
  .people-portrait-stage { grid-template-columns: 1fr; }
  .people-person + .people-person { border-left: 0; border-top: 1px solid var(--line); }
  .people-person img { height: 250px; }
}


/* V44 — align the Learn it / Share it / Use it card content. */
.approach-summary > h3 {
  margin: 24px 0 11px;
}

.approach-summary > p:not(.approach-benefit) {
  flex-grow: 1;
}
