/* ============================================================
   page-international-narrative.css
   Page-specific styles for international-ai-narrative-frame-research.html

   Inherits transcript section styling from page-report.css. Any
   override of report-toc / report-sidebar / report-drawer is scoped
   under .intl-narrative so the UK report is unaffected.
   ============================================================ */


/* ============================================================
   1. HERO
   Matches the blue/yellow/white palette of nf-hero on
   narrative-frames.html (sibling page) but at 50vh so the top
   half of the theatre band is visible on landing.
   ============================================================ */

.intl-hero {
  background: var(--color-blue);
  color: var(--color-white);
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

@media (max-width: 900px) {
  .intl-hero { min-height: 70vh; }
}

.intl-hero__body {
  flex: 1;
  display: flex;
  align-items: center;
  padding: clamp(6rem, 10vw, 9rem) var(--site-gutter, clamp(1.5rem, 4vw, 4rem)) clamp(2.5rem, 5vw, 4rem);
}

.intl-hero__content {
  max-width: 880px;
}

.intl-hero__eyebrow {
  font-family: var(--font-body);
  font-weight: var(--font-weight-semibold);
  font-size: clamp(0.75rem, 0.9vw, 0.85rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-yellow);
  margin: 0 0 var(--space-sm, 1rem);
}

.intl-hero__title {
  font-family: var(--font-display);
  font-weight: var(--font-weight-bold);
  font-size: clamp(2rem, 3.6vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-md, 1.5rem);
  color: var(--color-white);
}

.intl-hero__title em {
  font-style: italic;
  font-weight: var(--font-weight-bold);
}

.intl-hero__subtitle {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1.06rem, 1.3vw, 1.2rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  max-width: 720px;
  margin: 0 0 clamp(1.5rem, 3vw, 2.25rem);
}

.intl-hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md, 1.5rem);
  flex-wrap: wrap;
}

.intl-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-display);
  font-weight: var(--font-weight-bold);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  padding: 0.7em 1.6em;
  background: var(--color-yellow);
  color: var(--color-black);
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.intl-hero__btn:hover {
  transform: scale(1.04);
}

.intl-hero__btn-icon {
  font-size: 0.7em;
  line-height: 1;
}

.intl-hero__link {
  font-family: var(--font-body);
  font-weight: var(--font-weight-medium);
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 0.15em;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.intl-hero__link:hover {
  color: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.6);
}


/* ============================================================
   2. THEATRE VIDEO BAND
   Inlined subset of compass-theatre (CA Compass talk page) so
   we don't have to load the full 897-line page-compass.css.
   Tokens (--theatre-bg etc.) live in tokens.css.
   ============================================================ */

.intl-theatre {
  background: var(--theatre-bg);
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: clamp(1.5rem, 3vh, 2.5rem) clamp(1.5rem, 4vw, 3rem) clamp(1.5rem, 3vh, 2.5rem);
  scroll-margin-top: 0;
}

.intl-theatre__video {
  position: relative;
  width: 100%;
  max-width: 1200px;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  background: #000;
}

.intl-theatre__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.intl-theatre__info {
  width: 100%;
  max-width: 1200px;
  margin-top: clamp(1.25rem, 2.5vh, 2rem);
  text-align: left;
}

.intl-theatre__title {
  font-family: var(--font-display);
  font-weight: var(--font-weight-semibold);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  color: var(--theatre-text-meta);
  margin: 0;
}

.intl-theatre__attr {
  font-family: var(--font-body);
  font-size: clamp(0.8rem, 0.9vw, 0.9rem);
  color: var(--theatre-text-muted);
  margin: 0.4rem 0 1rem;
}

/* Share row beneath the video and attribution */
.intl-theatre__share {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.6rem;
}

.intl-theatre__share a,
.intl-theatre__share button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.intl-theatre__share a:hover,
.intl-theatre__share button:hover {
  color: var(--color-white);
  border-color: var(--color-white);
}


/* ============================================================
   3. SHARE TOAST (used by both theatre and findings share rows
   and the transcript-section right sidebar copy buttons)
   ============================================================ */

.share-toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--color-black);
  color: var(--color-white);
  padding: 0.6rem 1rem;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: var(--font-weight-medium);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: none;
  z-index: 9999;
}

.share-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================================
   4. KEY FINDINGS BAND
   Four cards in a row on desktop, stacked at narrower widths.
   Frame name links use the brand yellow accent for "this is a
   named narrative frame" affordance.
   ============================================================ */

.intl-findings {
  background: var(--color-white);
  padding: clamp(4rem, 10vh, 8rem) 0;
}

.intl-findings__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--site-gutter, clamp(1.5rem, 4vw, 4rem));
}

.intl-findings__heading {
  font-family: var(--font-display);
  font-weight: var(--font-weight-bold);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 clamp(2rem, 4vw, 3rem);
  color: var(--color-black);
}

.intl-findings__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 2.5vw, 2.25rem);
}

@media (max-width: 1100px) {
  .intl-findings__cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .intl-findings__cards { grid-template-columns: 1fr; }
}

.intl-finding {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.4rem 0 0;
  border-top: 2px solid var(--color-black);
  margin: 0;
}

.intl-finding__number {
  font-family: var(--font-body);
  font-weight: var(--font-weight-semibold);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--color-blue);
}

.intl-finding__title {
  font-family: var(--font-body);
  font-weight: var(--font-weight-semibold);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-black);
  line-height: 1.35;
  margin: 0;
}

.intl-finding__body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--color-black);
  margin: 0;
}

.intl-finding__frame {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(10, 10, 10, 0.3);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.15s ease;
}

.intl-finding__frame:hover {
  text-decoration-color: var(--color-black);
  text-decoration-thickness: 1.5px;
}

/* Share strip at the bottom of the findings band */
.intl-findings__share-block {
  margin-top: clamp(3rem, 6vh, 4.5rem);
  padding-top: clamp(2rem, 4vh, 2.5rem);
  border-top: 1px solid rgba(10, 10, 10, 0.1);
  text-align: center;
}

.intl-findings__share-eyebrow {
  font-family: var(--font-body);
  font-weight: var(--font-weight-semibold);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-black);
  opacity: 0.5;
  margin: 0 0 0.85rem;
}

.intl-findings__share {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.intl-findings__share a,
.intl-findings__share button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--color-black);
  border-radius: 999px;
  color: var(--color-black);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.15s ease, color 0.15s ease;
}

.intl-findings__share a:hover,
.intl-findings__share button:hover {
  background: var(--color-black);
  color: var(--color-white);
}


/* ============================================================
   5. TRANSCRIPT SECTION OVERRIDES
   Inherits report-content / report-toc / report-body /
   report-sidebar / report-drawer styling wholesale from
   page-report.css. These overrides handle the few places where
   our page diverges from the UK report pattern.
   ============================================================ */

/* This page has no .report-hero-image to trigger the fade-in
   IntersectionObserver in report-scroll.js, so override the
   default opacity:0 / pointer-events:none on TOC and sidebar. */
.intl-narrative #report .report-toc,
.intl-narrative #report .report-sidebar {
  opacity: 1;
  pointer-events: auto;
}

/* Citation block inside report-sidebar */
.intl-cite {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--color-black);
  margin: 0 0 0.65rem;
}

.intl-cite__copy {
  background: transparent;
  border: 1px solid var(--color-black);
  color: var(--color-black);
  padding: 0.4rem 0.75rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.intl-cite__copy:hover {
  background: var(--color-black);
  color: var(--color-white);
}

/* Copy-link button styled to match sibling share links exactly
   (page-report.css styles the <a> elements; this mirrors that) */
.report-sidebar__copy-link,
.report-drawer__copy-link {
  display: flex;
  align-items: center;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: var(--font-weight-bold);
  color: var(--grey-500);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}

.report-sidebar__copy-link:hover,
.report-drawer__copy-link:hover {
  color: var(--color-blue);
}


/* ============================================================
   6. FINAL CTA BAND
   Asymmetric two-column on desktop. Scale-driven hierarchy.
   Yellow used as a typographic device (rule, eyebrow, italic
   subhead, button). Eye-path is diagonal: top-left heading →
   italic question → bottom-right tight body + button.
   ============================================================ */

.intl-cta {
  background: var(--color-blue);
  color: var(--color-white);
  padding: clamp(5rem, 10vh, 8rem) var(--site-gutter, clamp(1.5rem, 4vw, 4rem));
  text-align: left;
}

.intl-cta__inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: end;
}

@media (max-width: 900px) {
  .intl-cta__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: start;
  }
}

.intl-cta__lead {
  /* Lead fills the grid column. No internal max-width override. */
}

.intl-cta__rule {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--color-yellow);
  margin: 0 0 1.5rem;
}

.intl-cta__eyebrow {
  font-family: var(--font-body);
  font-weight: var(--font-weight-semibold);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-yellow);
  margin: 0 0 1.5rem;
}

.intl-cta__heading {
  font-family: var(--font-display);
  font-weight: var(--font-weight-bold);
  font-size: clamp(1.85rem, 3.6vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--color-white);
  margin: 0 0 1.5rem;
}

.intl-cta__sub {
  font-family: var(--font-display);
  font-weight: var(--font-weight-bold);
  font-style: italic;
  font-size: clamp(1.45rem, 2.8vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--color-yellow);
  margin: 0;
}

.intl-cta__action {
  max-width: 30ch;
}

.intl-cta__body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 2rem;
}

.intl-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-display);
  font-weight: var(--font-weight-bold);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  padding: 0.85em 1.7em;
  background: var(--color-yellow);
  color: var(--color-black);
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease;
}

.intl-cta__btn:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 18px rgba(245, 197, 24, 0.35);
}

.intl-cta__btn-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.intl-cta__btn:hover .intl-cta__btn-arrow {
  transform: translateX(2px);
}


/* ============================================================
   7. METHODOLOGY CROSS-LINK BAND
   Two-column band with photo on the left, copy and pill links
   on the right. Mirrors the nf-research band structure but
   inverted (sends to methodology, not from it).
   ============================================================ */

.intl-methodology {
  background: var(--color-grey-light);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 60vh;
}

@media (max-width: 900px) {
  .intl-methodology {
    grid-template-columns: 1fr;
    min-height: 0;
  }
}

.intl-methodology__photo {
  width: 100%;
  height: 100%;
  overflow: hidden;
  min-height: 320px;
}

.intl-methodology__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Daniel is in the right ~third of the source image with his face
     ~20% from the top. Bias the crop point to keep him in frame
     across viewport heights. */
  object-position: 75% 22%;
  display: block;
}

.intl-methodology__inner {
  display: flex;
  align-items: center;
  padding: clamp(3rem, 6vh, 5rem) clamp(1.5rem, 4vw, 4rem);
}

.intl-methodology__text {
  max-width: 56ch;
}

.intl-methodology__eyebrow {
  font-family: var(--font-body);
  font-weight: var(--font-weight-semibold);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-blue);
  margin: 0 0 1rem;
}

.intl-methodology__heading {
  font-family: var(--font-display);
  font-weight: var(--font-weight-bold);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 1.25rem;
  color: var(--color-black);
}

.intl-methodology__body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-black);
  margin: 0 0 1.75rem;
}

.intl-methodology__pills {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: flex-start;
}

.intl-methodology__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--color-white);
  color: var(--color-black);
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: var(--font-weight-semibold);
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.intl-methodology__pill:hover {
  background: var(--color-black);
  color: var(--color-white);
}

.intl-methodology__pill-arrow {
  display: inline-block;
  transition: transform 0.15s ease;
}

.intl-methodology__pill:hover .intl-methodology__pill-arrow {
  transform: translateX(3px);
}
