/* ============================================================
   Gulf subject (.me-subj)
   Editorial prospectus: gold spine, ledger syllabus, ink why.
   Tokens match the rest of the site.
   ============================================================ */

.me-subj {
  --me-ink: var(--ink, var(--ink));
  --me-mute: var(--slate, var(--slate));
  --me-gold: var(--gold, var(--gold));
  --me-paper: var(--cream, var(--white));
  --me-wash: var(--cream-2, var(--cream-2));
  --me-line: var(--line, var(--line));
  background: var(--bg-body);
  color: var(--me-ink);
  overflow-x: clip;
  max-width: 100%;
  font-family:var(--font-body);
  font-weight: 400;
  line-height: 1.5;
  overflow-wrap: break-word;
}

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

.me-subj img { max-width: 100%; height: auto; }

.me-subj .me-hero-media img,
.me-subj .me-why-media img {
  height: 100%;
}

.me-subj h1,
.me-subj h2,
.me-subj h3,
.me-subj h4 {
  font-family:var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--me-ink);
  margin: 0;
}

.me-subj .btn {
  font-family:var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: 0.5rem;
  line-height: 1.5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.me-subj .wrap {
  width: 100%;
  max-width: var(--maxw, 1280px);
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-right: 40px;
}

.me-hl { color: var(--me-gold); }

.me-kicker {
  margin: 0 0 10px;
  font-family:var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--me-gold);
}

.me-kicker--light { color: var(--me-gold); }

.me-subj .me-path-icon .ja-img-wrap,
.me-subj .me-stat-icon .ja-img-wrap {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: transparent;
  animation: none;
}

.me-subj .me-hero-media .ja-img-wrap,
.me-subj .me-why-media .ja-img-wrap {
  width: 100%;
  height: 100%;
}

.me-subj .me-hero-media .ja-img-wrap img,
.me-subj .me-why-media .ja-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- HERO ---- */
.me-hero {
  position: relative;
  padding: clamp(40px, 6vw, 72px) 0 36px;
  background: var(--bg-body);
}

.me-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.me-hero-copy {
  min-width: 0;
}

.me-brand {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--me-mute);
}

.me-hero-copy h1 {
  font-size: clamp(30px, 4.4vw, 56px);
  font-weight: 600;
  max-width: 18ch;
  margin: 0 0 18px;
}

.me-lead {
  margin: 0 0 28px;
  max-width: 46ch;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--me-mute);
}

.me-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.me-hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 20px;
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid var(--me-line);
}

.me-hero-meta div { min-width: 0; }

.me-hero-meta dt {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--me-gold);
}

.me-hero-meta dd {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--me-ink);
}

.me-hero-visual { min-width: 0; }

.me-hero-frame {
  position: relative;
  width: min(100%, 460px);
  margin-left: auto;
  padding: 14px;
}

.me-corner {
  position: absolute;
  width: 44px;
  height: 44px;
  pointer-events: none;
}

.me-corner--tl {
  top: 0;
  left: 0;
  border-top: 3px solid var(--me-gold);
  border-left: 3px solid var(--me-gold);
}

.me-corner--br {
  right: 0;
  bottom: 0;
  border-right: 3px solid var(--me-gold);
  border-bottom: 3px solid var(--me-gold);
}

.me-hero-media {
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
  background: var(--me-wash);
}

.me-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.me-hero-chip {
  position: absolute;
  left: 28px;
  bottom: 28px;
  max-width: calc(100% - 42px);
  padding: 8px 14px;
  background: var(--me-ink);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---- STATS ---- */
.me-stats { padding: 0 0 8px; }

.me-stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--me-line);
  border-bottom: 1px solid var(--me-line);
}

.me-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 16px;
  min-width: 0;
}

.me-stat:not(:last-child) {
  border-right: 1px solid var(--me-line);
}

.me-stat-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  background: var(--me-wash);
  border-radius: 50%;
}

.me-stat-icon img {
  width: 18px;
  height: 18px;
  opacity: 0.7;
}

.me-stat strong {
  display: block;
  font-family:var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.15;
}

.me-stat span {
  display: block;
  font-size: 13px;
  color: var(--me-mute);
}

/* ---- TOPICS / LEDGER ---- */
.me-topics { padding: 72px 0; }

.me-topics-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.me-topics-intro {
  position: sticky;
  top: 96px;
  padding: 28px 28px 32px 26px;
  background: var(--me-wash);
  border-left: 3px solid var(--me-gold);
  min-width: 0;
}

.me-topics-intro-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.me-topics-intro .me-kicker { margin: 0; }

.me-topics-count {
  font-family:var(--font-heading);
  font-size: 42px;
  font-weight: 600;
  line-height: 0.8;
  color: var(--me-gold);
  opacity: 0.45;
  letter-spacing: -0.04em;
}

.me-topics-intro h2 {
  font-size: clamp(30px, 3.4vw, 44px);
  margin: 0 0 18px;
  max-width: 12ch;
}

.me-topics-rule {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--me-gold);
  margin: 0 0 18px;
}

.me-topics-lead {
  margin: 0 0 22px;
  max-width: 34ch;
  color: var(--me-mute);
  font-size: 1.02rem;
  line-height: 1.7;
}

.me-topics-jump {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--me-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--me-gold);
  padding-bottom: 2px;
}

.me-topics-jump::after {
  content: '→';
  color: var(--me-gold);
  font-size: 16px;
  line-height: 1;
}

.me-topics-jump:hover { color: var(--me-gold); }

.me-sec-head h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  margin: 0 0 14px;
  max-width: 16ch;
}

.me-sec-head > p:not(.me-kicker) {
  margin: 0;
  max-width: 42ch;
  color: var(--me-mute);
  font-size: 1rem;
  line-height: 1.7;
}

.me-sec-head--center {
  text-align: center;
  margin: 0 auto 48px;
}

.me-sec-head--center h2,
.me-sec-head--center > p { max-width: none; margin-left: auto; margin-right: auto; }

.me-sec-head--center > p { max-width: 48ch; }

.me-syllabus {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
}

.me-syl-item {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 20px 8px 20px 0;
  border-bottom: 1px solid var(--me-line);
  cursor: default;
}

.me-syl-item:first-child { border-top: 1px solid var(--me-line); }

.me-syl-num {
  font-family:var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--me-gold);
  line-height: 1.2;
}

.me-syl-item h3 {
  font-size: 20px;
  margin: 0 0 6px;
}

.me-syl-item p {
  margin: 0;
  color: var(--me-mute);
  font-size: 14.5px;
  line-height: 1.65;
}

.me-syl-item:hover h3 { color: var(--me-gold); }

/* ---- WHY ---- */
.me-why { padding: 24px 0 72px; }

.me-why-board {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  background: var(--white);
  border: 1px solid var(--me-line);
  overflow: hidden;
}

.me-why-board--full {
  grid-template-columns: minmax(0, 1fr);
}

.me-why-photo {
  min-width: 0;
  min-height: 100%;
  background: var(--me-wash);
}

.me-why-media {
  height: 100%;
  min-height: 520px;
}

.me-why-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.me-why-main {
  min-width: 0;
  padding: clamp(28px, 3.5vw, 48px) clamp(24px, 3vw, 44px) 12px;
}

.me-why-copy {
  margin: 0 0 8px;
  padding: 0 0 28px;
  border-bottom: 1px solid var(--me-line);
}

.me-why-copy h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  margin: 0 0 14px;
  max-width: 14ch;
}

.me-why-lead {
  margin: 0;
  max-width: 48ch;
  color: var(--me-mute);
  font-size: 1.02rem;
  line-height: 1.7;
}

.me-why-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.me-why-list li {
  display: grid;
  grid-template-columns: 3.6rem minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--me-line);
  min-width: 0;
}

.me-why-list li:last-child { border-bottom: 0; }

.me-why-n {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  font-family:var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--me-ink);
  background: var(--me-wash);
  border: 1px solid var(--me-gold);
}

.me-why-list li:hover .me-why-n {
  background: var(--me-gold);
  color: var(--me-ink);
}

.me-why-text {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 12px 20px;
  align-items: start;
  min-width: 0;
}

.me-why-list h3 {
  font-size: 20px;
  margin: 0;
  padding-top: 10px;
}

.me-why-list p {
  margin: 0;
  color: var(--me-mute);
  font-size: 14.5px;
  line-height: 1.65;
  padding-top: 10px;
}

/* ---- METHOD PATH ---- */
.me-method { padding: 72px 0; }

.me-method-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 16px 48px;
  align-items: end;
  margin: 0 0 28px;
}

.me-method-head h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  margin: 0;
  max-width: 12ch;
}

.me-method-lead {
  margin: 0;
  max-width: 36ch;
  color: var(--me-mute);
  font-size: 1.02rem;
  line-height: 1.7;
  justify-self: end;
}

.me-path {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--white);
  border: 1px solid var(--me-line);
}

.me-path-step {
  position: relative;
  min-width: 0;
  padding: 28px 24px 32px;
}

.me-path-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 24px;
  right: 0;
  bottom: 24px;
  width: 1px;
  background: var(--me-line);
}

.me-path-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.me-path-num {
  font-family:var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--me-gold);
}

.me-path-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--me-wash);
}

.me-path-icon img {
  width: 18px;
  height: 18px;
  opacity: 0.65;
}

.me-path-step h3 {
  font-size: 22px;
  margin: 0 0 10px;
}

.me-path-step p {
  margin: 0;
  color: var(--me-mute);
  font-size: 14.5px;
  line-height: 1.65;
}

.me-path-step:hover {
  background: var(--me-wash);
}

/* ---- VOICE ---- */
.me-voice { padding: 8px 0 72px; }

.me-voice-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: end;
  margin: 0;
  padding: clamp(36px, 4vw, 52px) clamp(28px, 4vw, 48px);
  background: var(--me-wash);
}

.me-voice-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding-bottom: 4px;
}

.me-voice-stars {
  margin: 4px 0 10px;
  color: var(--me-gold);
  font-size: 12px;
  letter-spacing: 3px;
}

.me-voice-meta cite {
  font-family:var(--font-heading);
  font-style: normal;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--me-ink);
}

.me-voice-place {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--me-mute);
}

.me-quote {
  margin: 0;
  min-width: 0;
}

.me-quote p {
  margin: 0;
  font-family:var(--font-heading);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 500;
  line-height: 1.4;
  color: var(--me-ink);
}

.me-faq {
  overflow-x: clip;
  max-width: 100%;
}

.me-faq-visual {
  align-self: start;
  border-radius: 18px;
  overflow: hidden;
  background: var(--cream);
  min-height: 420px;
  min-width: 0;
}

.me-faq-visual img,
.me-faq-visual .ja-img-wrap,
.me-faq-visual .ja-img-wrap img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
}

.me-faq-visual .ja-img-wrap {
  background: transparent;
  animation: none;
}

/* ---- CTA ---- */
.me-cta { padding: 0 0 72px; }

.me-cta-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px 32px;
  padding: 36px 40px;
  background: var(--me-ink);
  border-radius: 4px;
}

.me-cta-copy { min-width: 0; }

.me-cta-copy h2 {
  color: var(--white);
  font-size: clamp(26px, 2.8vw, 34px);
  margin: 0 0 8px;
}

.me-cta-copy p {
  margin: 0;
  max-width: 48ch;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.65;
}

.me-cta-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
}

.me-cta-actions .btn { white-space: nowrap; }

.me-cta-actions .btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.me-cta-actions .btn-ghost:hover {
  background: var(--white);
  color: var(--me-ink);
  border-color: var(--white);
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .me-subj .wrap { padding-left: 28px; padding-right: 28px; }
  .me-hero-grid,
  .me-why-board,
  .me-method-head { grid-template-columns: 1fr; }
  .me-hero-visual { order: -1; }
  .me-hero-frame { width: min(100%, 360px); margin: 0 auto; }
  .me-hero-copy h1,
  .me-lead,
  .me-method-head h2,
  .me-method-lead,
  .me-why-copy h2,
  .me-why-lead { max-width: none; }
  .me-method-head {
    gap: 10px;
    justify-items: start;
    align-items: start;
  }
  .me-method-lead { justify-self: start; }
  .me-hero-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .me-why-text { grid-template-columns: 1fr; }
  .me-why-list h3,
  .me-why-list p { padding-top: 4px; }
  .me-why-media { min-height: 280px; height: 280px; }
  .me-path { grid-template-columns: 1fr 1fr; }
  .me-path-step:nth-child(2)::after { display: none; }
  .me-path-step:nth-child(-n+2) { border-bottom: 1px solid var(--me-line); }
  .me-stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .me-stat:nth-child(2) { border-right: 0; }
  .me-stat:nth-child(-n+2) { border-bottom: 1px solid var(--me-line); }
  .me-cta-box { grid-template-columns: 1fr; }
  .me-cta-copy p { max-width: none; }
  .me-cta-actions { flex-wrap: wrap; }
  .me-faq-visual { display: none; }
  .me-faq .faq-main {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 900px) {
  .me-subj .wrap { padding-left: 24px; padding-right: 24px; }
  .me-hero { padding: 28px 0 24px; }
  .me-topics-grid { grid-template-columns: 1fr; }
  .me-hero-frame { width: min(100%, 300px); }
  .me-hero-chip { left: 22px; bottom: 22px; }
  .me-sec-head h2,
  .me-topics-intro h2,
  .me-topics-lead { max-width: none; }
  .me-topics-intro {
    position: static;
    padding: 22px 20px 24px 18px;
  }
  .me-why-media { min-height: 200px; height: 200px; }
  .me-why-main { padding: 24px 20px 8px; }
  .me-topics,
  .me-method { padding: 48px 0; }
  .me-why,
  .me-voice,
  .me-cta { padding-bottom: 48px; }
  .me-voice-card {
    grid-template-columns: 1fr;
    padding: 28px 22px 32px;
  }
  .me-cta-box { padding: 24px; }
  .me-hero-cta,
  .me-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .me-hero-cta .btn,
  .me-cta-actions .btn {
    width: 100%;
    white-space: normal;
  }
}

@media (max-width: 767px) {
  .me-subj h1 {
    font-size: clamp(28px, 8vw, 34px) !important;
    line-height: 1.18;
  }
  .me-path { grid-template-columns: 1fr; }
  .me-path-step:nth-child(-n+2) { border-bottom: 0; }
  .me-path-step:not(:last-child) {
    border-bottom: 1px solid var(--me-line);
  }
  .me-path-step:not(:last-child)::after { display: none; }
  .me-path-step { padding: 22px 18px 24px; }
  .me-stat { padding: 18px 12px; }
  .me-faq { padding: 48px 0; }
}

@media (max-width: 640px) {
  .me-subj .wrap { padding-left: 16px; padding-right: 16px; }
  .me-hero-meta { grid-template-columns: 1fr; }
  .me-stats-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    border-top: none;
    border-bottom: none;
  }

  /* Mobile spacing compaction: reduce big section paddings */
  .me-topics,
  .me-method { padding: 28px 0; }
  .me-why { padding: 18px 0 40px; }
  .me-voice { padding: 8px 0 40px; }
  .me-cta { padding: 0 0 40px; }
  .me-faq { padding: 28px 0; }

  /* Mobile UI for the hero meta <dl>: compact label/value cards */
  .me-hero-meta{
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 16px;
    border-top: none;
  }
  .me-hero-meta > div{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--me-line);
    background: var(--me-wash);
    border-radius: 10px;
    min-width: 0;
  }
  .me-hero-meta dt{
    flex: 0 0 auto;
    text-transform: uppercase;
    white-space: nowrap;
  }
  .me-hero-meta dd{
    margin: 0;
    text-align: right;
    line-height: 1.4;
    max-width: 62%;
  }

  .me-why-list li {
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: 12px;
  }
  /* Mobile stats UI: compact stat cards */
  .me-stat{
    padding: 14px 12px;
    border-right: none !important;
    border-bottom: none !important;
    border: 1px solid var(--me-line);
    border-radius: 10px;
    background: var(--me-wash);
    min-width: 0;
  }
  .me-stat-icon{
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
  }
  .me-stat-icon img{
    width: 16px;
    height: 16px;
  }
  .me-stat strong{
    font-size: 18px;
    line-height: 1.15;
  }
  .me-stat span{
    font-size: 12.5px;
  }
  .me-syl-item {
    grid-template-columns: 2.4rem minmax(0, 1fr);
    gap: 10px;
    padding: 16px 0;
  }
  .me-syl-item h3 { font-size: 18px; }
  .me-why-list h3,
  .me-path-step h3 { font-size: 18px; }
  .me-topics-count { font-size: 34px; }
}

@media (max-width: 480px) {
  .me-subj .wrap { padding-left: 14px; padding-right: 14px; }
  .me-subj h1 { font-size: clamp(26px, 8.5vw, 32px) !important; }
  .me-hero-frame { width: min(100%, 220px); padding: 10px; }
  .me-hero-chip {
    left: 16px;
    bottom: 16px;
    font-size: 11px;
    padding: 6px 10px;
    letter-spacing: 0.04em;
  }
  .me-corner { width: 32px; height: 32px; }
  .me-lead,
  .me-topics-lead,
  .me-why-lead,
  .me-method-lead { font-size: 0.98rem; }
  .me-why-n {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
  .me-voice-card { padding: 24px 16px 28px; }
  .me-quote p { font-size: 1.15rem; }
  .me-cta-box { padding: 20px 16px; }
  .me-subj .btn {
    width: 100%;
    padding: 12px 16px;
    white-space: normal;
  }
}

@media (max-width: 575px) {
  /* Let the banner image use the full column instead of the
     360px/300px/220px caps inherited from the tablet breakpoints above. */
  .me-hero-frame {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 8px;
  }
}
