/* ══════════════════════════════════════════════════════════════
   EMERA · Founders — page-specific styles
   Editorial portraits with alternating left/right layout.
═══════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════
   PROFILE — alternating image/text layout
═══════════════════════════════════════════════════════════ */
.tm-profile {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) 1fr;
  gap: clamp(48px, 7vw, 140px);
  align-items: center;
}
.tm-profile-rev {
  grid-template-columns: 1fr minmax(360px, 1fr);
}
.tm-profile-rev .tm-portrait { order: 2; }
.tm-profile-rev .tm-text { order: 1; }

.tm-portrait {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-2);
}
.tm-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(.10);
  transition: transform 1.6s var(--ease-out), filter 1s var(--ease-out);
}
.tm-profile:hover .tm-portrait img {
  transform: scale(1.03);
  filter: grayscale(0);
}
.tm-portrait-cap {
  position: absolute;
  top: 20px; left: 20px;
  font-family: var(--serif);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  padding-left: .4em;
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
}

.tm-text { max-width: 580px; }
.tm-text .ep-section-num { margin-bottom: 24px; }
.tm-text .ep-section-title { margin-bottom: 20px; }
.tm-text .ep-section-lead { margin-top: 0; margin-bottom: 40px; }
.tm-text .ep-body + .ep-body { margin-top: 1em; }

.tm-quote {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--hair);
  font-family: var(--sans);
  font-style: italic;
  font-weight: 200;
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.5;
  color: var(--ink);
  max-width: 24em;
}

.tm-meta {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--hair);
  display: flex; flex-direction: column;
  gap: 0;
}
.tm-meta > div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 12px 0;
  border-bottom: 1px solid var(--hair-2);
  align-items: baseline;
}
.tm-meta > div:last-child { border-bottom: none; }
.tm-meta dt {
  font-family: var(--serif);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--ink-4);
  padding-left: .38em;
}
.tm-meta dd {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(14px, 1vw, 16px);
  color: var(--ink);
}

/* ══════════════════════════════════════════════════════════
   LOUIS DUCRUET — asymmetric full bleed
═══════════════════════════════════════════════════════════ */
.tm-louis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 92vh;
  background: var(--paper);
}
.tm-louis-text {
  padding: clamp(80px, 14vh, 160px) clamp(40px, 7vw, 100px) clamp(80px, 14vh, 160px) clamp(40px, 6vw, 90px);
  display: flex; flex-direction: column;
  justify-content: center;
  max-width: 640px;
}
.tm-louis-text .ep-section-num { margin-bottom: 24px; }
.tm-louis-text .ep-section-title { margin-bottom: 16px; }
.tm-louis-text .ep-section-lead { margin-top: 0; margin-bottom: 40px; }
.tm-louis-text .ep-body + .ep-body { margin-top: 1em; }
.tm-louis-img {
  position: relative;
  overflow: hidden;
  background: var(--paper-2);
}
.tm-louis-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.04);
  transition: transform 1.8s var(--ease-out);
}
.tm-louis-img:hover img { transform: scale(1.04); }

/* ══════════════════════════════════════════════════════════
   SHADOWS / PARTNERS
═══════════════════════════════════════════════════════════ */
.tm-shadows-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(40px, 6vw, 120px);
  align-items: start;
}
.tm-shadows-side .ep-section-num { margin-bottom: 24px; }
.tm-shadows-body { max-width: 680px; }
.tm-shadows-body .ep-section-lead { margin-top: 0; margin-bottom: 24px; }
.tm-shadows-body .ep-body + .ep-body { margin-top: 1em; }

.tm-stats {
  margin-top: clamp(64px, 9vh, 96px);
  padding-top: clamp(40px, 6vh, 56px);
  border-top: 1px solid var(--hair);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
}
.tm-stat {
  display: flex; flex-direction: column; gap: 14px;
}
.tm-stat-n {
  font-family: var(--serif);
  font-weight: 200;
  font-style: italic;
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: 1;
  color: var(--ink);
  letter-spacing: -.02em;
}
.tm-stat-u {
  font-size: .55em;
  vertical-align: top;
  margin-left: 4px;
  color: var(--gold);
}
.tm-stat-l {
  font-family: var(--serif);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-left: .38em;
}

/* ══════════════════════════════════════════════════════════
   CONTINUE
═══════════════════════════════════════════════════════════ */
.tm-continue .ep-section-num { margin-bottom: clamp(40px, 6vh, 64px); }
.tm-cont-grid {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--hair);
}
.tm-cont {
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(28px, 4vh, 40px) 0;
  border-bottom: 1px solid var(--hair);
  text-decoration: none;
  color: var(--ink);
  transition: color .25s, padding-left .35s var(--ease-out);
}
.tm-cont:hover {
  color: var(--gold);
  padding-left: 16px;
}
.tm-cont-label {
  font-family: var(--serif);
  font-weight: 200;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -.012em;
}
.tm-cont-arrow {
  font-family: var(--serif);
  font-size: clamp(24px, 2vw, 30px);
  color: var(--ink-4);
  transition: transform .35s var(--ease-out), color .25s;
}
.tm-cont:hover .tm-cont-arrow { color: var(--gold); transform: translateX(8px); }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 1000px) {
  .tm-profile, .tm-profile-rev {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .tm-profile-rev .tm-portrait { order: 1; }
  .tm-profile-rev .tm-text { order: 2; }
  .tm-portrait { aspect-ratio: 4 / 3; max-height: 60vh; }
  .tm-louis { grid-template-columns: 1fr; }
  .tm-louis-img { aspect-ratio: 3 / 4; }
  .tm-shadows-grid { grid-template-columns: 1fr; gap: 32px; }
  .tm-stats { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 600px) {
  .tm-louis-text { padding: 60px 22px; }
  .tm-meta > div { grid-template-columns: 120px 1fr; gap: 16px; }
}
