/* /results, /journal, /contact, journal post — page-specific extensions */

/* ─── PAGE HERO (compact) ─── */
.page-hero {
  background: var(--ef-navy-deep);
  color: var(--ef-white);
  padding: var(--s-9) 0 var(--s-8);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; left:0; right:0; bottom:0;
  height: 4px; background: var(--ef-gradient);
}
.page-hero h1 {
  font-family: var(--font-editorial);
  font-weight: 600;
  font-size: clamp(34px, 4.8vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: var(--s-4) 0 var(--s-4);
  max-width: 22ch;
}
.page-hero p.lede {
  font-size: 19px; color: rgba(255,255,255,0.86);
  max-width: 56ch;
}

/* ─── RESULTS ─── */
.results-section { padding: var(--s-9) 0; background: var(--ef-paper); }
.results-grid-lg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
  margin-top: var(--s-7);
}
.result-card {
  background: var(--ef-white);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.result-card:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -24px rgba(17,56,95,0.22); }
.result-card-img { aspect-ratio: 4/5; overflow: hidden; position: relative; }
.result-card-img img,
.result-card-img video { width:100%; height:100%; object-fit: cover; display: block; }
.result-card-img .play-icon {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 56px; height: 56px;
}
.result-card-body { padding: var(--s-5); flex: 1; display: flex; flex-direction: column; }
.result-card .quote {
  font-family: var(--font-editorial);
  font-style: italic; font-weight: 500;
  font-size: 19px; line-height: 1.4;
  color: var(--ef-navy-deep);
  margin: 0 0 var(--s-4);
  flex: 1;
}
.result-card .meta {
  font-family: var(--font-display);
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--ef-teal-aa);
}

.review-strip {
  background: var(--ef-white);
  border-top: 1px solid var(--color-border);
  padding: var(--s-7) 0;
  text-align: center;
}
.review-strip .stars {
  font-family: var(--font-editorial);
  font-weight: 600; font-size: 32px;
  color: var(--ef-navy-deep);
  margin-bottom: var(--s-2);
}
.review-strip .label {
  font-family: var(--font-display); font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: rgba(11,30,51,0.65);
}

/* ─── JOURNAL ARCHIVE ─── */
.journal-section { padding: var(--s-9) 0; background: var(--ef-paper); }
.tag-bar {
  display: flex; flex-wrap: wrap; gap: var(--s-3);
  margin: var(--s-6) 0 var(--s-7);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--color-border);
}
.tag-pill {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--ef-white);
  color: var(--ef-navy-deep);
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all .15s ease;
}
.tag-pill:hover, .tag-pill[aria-selected="true"] {
  background: var(--ef-navy-deep);
  border-color: var(--ef-navy-deep);
  color: var(--ef-white);
}

.journal-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
@media (max-width: 960px) {
  .results-grid-lg { grid-template-columns: 1fr 1fr; }
  .journal-archive-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .results-grid-lg, .journal-archive-grid { grid-template-columns: 1fr; }
}

/* ─── JOURNAL POST (long form) ─── */
.post-hero {
  background: var(--ef-paper);
  padding: var(--s-9) 0 var(--s-7);
  border-bottom: 1px solid var(--color-border);
}
.post-hero .meta-row {
  display: flex; gap: var(--s-4); align-items: center;
  font-family: var(--font-display); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: rgba(11,30,51,0.65);
  margin-bottom: var(--s-4);
}
.post-hero .meta-row .tag { color: var(--ef-teal-aa); }
.post-hero h1 {
  font-family: var(--font-editorial);
  font-weight: 600;
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ef-navy-deep);
  margin: 0 0 var(--s-4);
  max-width: 22ch;
}
.post-hero p.dek {
  font-size: 20px; color: rgba(11,30,51,0.75);
  max-width: 56ch; margin: 0;
}
.post-hero .byline {
  margin-top: var(--s-6);
  font-family: var(--font-display); font-size: 14px;
  color: rgba(11,30,51,0.7);
}
.post-cover { margin-top: var(--s-6); border-radius: 6px; overflow: hidden; max-height: 520px; }
.post-cover img { width:100%; height:100%; object-fit: cover; }

.post-body { padding: var(--s-9) 0; background: var(--ef-paper); }
.post-prose {
  max-width: 680px; margin: 0 auto;
  font-size: 18px; line-height: 1.78; color: var(--ef-ink);
}
.post-prose h2 {
  font-family: var(--font-editorial);
  font-weight: 600;
  font-size: 30px; line-height: 1.2;
  color: var(--ef-navy-deep);
  margin: var(--s-7) 0 var(--s-4);
}
.post-prose h3 {
  font-family: var(--font-editorial);
  font-weight: 600;
  font-size: 22px;
  color: var(--ef-navy-deep);
  margin: var(--s-6) 0 var(--s-3);
}
.post-prose p { margin: 0 0 1.4em; }
.post-prose ul, .post-prose ol { margin: 0 0 1.4em; padding-left: 1.2em; }
.post-prose li { margin-bottom: .5em; }
.post-prose blockquote {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 500;
  font-size: 24px; line-height: 1.4;
  color: var(--ef-navy-deep);
  border-left: 3px solid var(--ef-teal-aa);
  padding-left: 24px;
  margin: var(--s-7) 0;
}

/* ─── CONTACT ─── */
.contact-section { padding: var(--s-9) 0; background: var(--ef-paper); }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
  margin-top: var(--s-7);
}
.contact-card {
  background: var(--ef-white);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: var(--s-6);
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -24px rgba(17,56,95,0.2); }
.contact-card .badge {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--ef-teal-aa);
  margin-bottom: var(--s-3);
}
.contact-card h3 {
  font-family: var(--font-editorial);
  font-weight: 600;
  font-size: 22px;
  color: var(--ef-navy-deep);
  margin: 0 0 var(--s-3);
}
.contact-card p {
  font-size: 15px; color: rgba(11,30,51,0.78);
  margin: 0 0 var(--s-5); flex: 1;
}
.contact-card .response {
  font-family: var(--font-display); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ef-navy-deep);
  border-top: 1px dashed var(--color-border);
  padding-top: var(--s-3); margin-bottom: var(--s-4);
}
.contact-direct {
  background: var(--ef-navy-deep);
  color: var(--ef-white);
  padding: var(--s-8) 0;
  text-align: center;
}
.contact-direct h2 {
  font-family: var(--font-editorial);
  font-weight: 600;
  font-size: clamp(26px, 3.2vw, 36px);
  margin: 0 0 var(--s-4);
}
.contact-direct .lines {
  display: flex; gap: var(--s-7); justify-content: center; flex-wrap: wrap;
  font-family: var(--font-display); font-size: 16px;
  color: rgba(255,255,255,0.88);
}
.contact-direct .lines a { color: var(--ef-cyan-aa); font-weight: 600; }

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