/* ==========================================================================
   Home page
   ========================================================================== */
.page-home section { position: relative; }

/* Shared “single statement” section: big H1 + line of copy, centred ------- */
.statement {
  min-height: 100vh;
  padding: 140px 20px 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.statement h1 { margin: 0 0 15px; }
.statement p { font-size: 22px; line-height: 1.4em; margin-bottom: 0; }
.statement .cta { margin-top: 80px; }
.statement--red { background: var(--red); color: #fff; }
.statement--red h1 { color: #fff; }
.statement--skyline {
  background: #fcfcfc url('/assets/uploads/2020/11/skyline.jpg') center / cover no-repeat;
  color: var(--ink);
}
.statement--skyline h1 { color: #212b31; }


/* 1. Hero ------------------------------------------------------------------ */
.hero {
  min-height: 100vh;
  background: #212a30;
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero__video, .hero__video video, .hero__mask { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__video video { object-fit: cover; }
.hero__mask { background: url('/assets/img/videomask.png'); opacity: .6; }
.hero__inner { padding: 0 20px; }
.hero__hello { position: relative; z-index: 2; }
.hero__hello {
  display: block;
  font-family: var(--head);
  font-weight: 700;
  font-size: 180px;
  line-height: 237px;
  height: 237px;
  letter-spacing: -10px;
  color: #fff;
}
.hero__hello .dot { font-size: 220px; letter-spacing: 0; line-height: 0; }
.hero__scroll { position: absolute; left: 0; right: 0; bottom: 36px; z-index: 2; }
.hero__scroll p { margin: -5px 0 0; position: relative; font-size: 14px; line-height: 20px; text-align: center; }
.mouse {
  position: relative;
  width: 52px; height: 88px;
  margin: 0 auto;
  border: 2px solid #fff;
  border-radius: 26px;
  background: rgba(107, 113, 117, .35);
}
.mouse::before {
  content: "";
  position: absolute;
  top: 16px; left: 50%;
  width: 6px; height: 14px;
  margin-left: -3px;
  border-radius: 3px;
  background: #fff;
}

/* 2. Conversations ---------------------------------------------------------- */
.conversations { background: var(--navy-deep); color: #fff; padding: 96px 0 112px; }
.conversations__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: start;
  padding: 0 var(--gutter);
}
.conversations__photo { padding-right: 14px; }
.conversations__photo img { display: block; margin: 0 auto; }
.conversations__copy { padding-left: 14px; }
.conversations__title { width: 100%; max-width: 500px; margin-bottom: 15px; }
.conversations__copy p { border-left: 1px solid #eaeaea; padding-left: 20px; margin: 0; }

/* 3. Russell Peters --------------------------------------------------------- */
.rpeters {
  background: #f9fafb;
  padding: 100px 3% 31px;
}
.rpeters__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 30px; align-items: center; }
.rpeters__photo img { width: 100%; }
.rpeters__copy { min-width: 0; padding: 40px 60px 40px 0; }
.rpeters__lockup { width: 450px; max-width: 100%; display: block; margin: 0 0 30px; }
.rpeters__copy p { color: var(--ink); font-size: 18px; line-height: 1.4em; margin-top: 0; }

.rpvideo { background: #f9fafb; padding: 50px 3% 55px; }
.rpvideo__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.rpvideo__item { display: block; padding: 0 14px; }
.rpvideo__item img { width: 100%; transition: transform .35s ease, filter .35s ease; }
.rpvideo__item span { display: block; color: var(--ink); font-size: 15px; margin-top: 8px; }
.rpvideo__item:hover img { transform: scale(1.02); }

/* little white pointer where the interview strip meets the Russell Peters block */
.rpeters::before {
  content: ""; position: absolute; top: 0; left: 50%; margin-left: -32px;
  border-left: 32px solid transparent; border-right: 32px solid transparent; border-bottom: 30px solid #f9fafb;
  transform: translateY(-100%);
}

/* 4. Authority -------------------------------------------------------------- */
.authority { background: var(--paper); overflow: clip; }
.authority__row { height: 100vh; min-height: 560px; position: relative; }
.authority__row-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 5%;
  background: #fcfcfc;
  backface-visibility: hidden;
}
.authority__row--intro .authority__row-inner { flex-direction: column; text-align: center; padding: 80px 13.5%; background: var(--paper); }
.authority__row--intro h2 { margin-bottom: 30px; }
.authority__row--intro p { font-size: 18px; margin: 0 auto; max-width: 940px; }
.authority__row--split .authority__row-inner { gap: 8%; }
.authority__row--split figure { margin: 0; flex: 0 0 38%; max-width: 551px; }
.authority__row--split figure img { width: 100%; }
.authority__text { flex: 0 1 34%; }
.authority h2 { color: #212a30; }
.authority p { color: #212930; }

/* The roll: the row arriving unfolds from its top edge, the row leaving folds away
   from its bottom edge. Driven by scroll position on the compositor where supported
   (smooth); assets/js/home.js does the same maths as a fallback. */
@supports (animation-timeline: view()) {
  @media (min-width: 769px) and (prefers-reduced-motion: no-preference) {
    .authority__row { transform-origin: 50% 0%; animation: roll-in linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
    .authority__row-inner { transform-origin: 50% 100%; animation: roll-out linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
  }
}
@keyframes roll-in  { from { transform: perspective(1000px) rotateX(-91deg); } to { transform: perspective(1000px) rotateX(0deg); } }
@keyframes roll-out { from { transform: perspective(1000px) rotateX(0deg); }   to { transform: perspective(1000px) rotateX(91deg); } }

/* 5. What we do ---------------------------------------------------------------- */
.whatwedo {
  min-height: 100vh;
  background: #1c232b;
  --fx-img: url('/assets/uploads/2020/11/bg1.jpg');
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.whatwedo__inner { padding: 0 2%; }
.whatwedo h2 { color: #fff; font-size: 140px; line-height: 1; margin-bottom: 20px; }
.whatwedo p { font-size: 28px; line-height: 1.5em; color: #fff; }
.ethos { background: var(--paper-2); padding: 80px 14px 50px; }
.ethos img { display: block; margin: 0 auto 0 0; max-width: 1411px; }
.ethos__inner { max-width: 1411px; margin: 0 auto; }

/* 6. Story ---------------------------------------------------------------------- */
.story { background: var(--paper-2); padding: 180px 14px 200px; }
.story__block { max-width: 1411px; margin: 0 auto; padding-bottom: 180px; }
.story__block:last-child { padding-bottom: 0; }
/* fade in from the left as each block scrolls into view (only when JS is running) */
.js .story__block { opacity: 0; transform: translateX(-160px); transition: opacity .9s ease-out, transform 1s cubic-bezier(.2,.7,.2,1); }
.js .story__block.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .story__block { opacity: 1; transform: none; transition: none; } }
.story h2 { color: #212930; }
.story p { color: #1a1a1a; }
.dropcap {
  float: left;
  width: 65px; height: 65px;
  margin: 0 10px 0 0;
  background: var(--red-dot);
  color: #fff;
  font-family: var(--body);
  font-weight: 300;
  font-size: 40px;
  line-height: 65px;
  text-align: center;
}

/* 7. Quote ------------------------------------------------------------------------ */
.quote {
  min-height: 100vh;
  background: #bc0d0e;
  --fx-img: url('/assets/uploads/2020/11/quote-copy.jpg');
  color: #fff;
  display: grid;
  grid-template-columns: 39.6% 1fr;
  align-items: center;
}
.quote__inner { grid-column: 2; padding: 0 6% 0 0; }
.quote blockquote { margin: 0; }
.quote blockquote p { font-size: 50px; line-height: 1.2em; margin-bottom: 30px; }
.quote cite { display: block; text-align: right; font-style: italic; font-size: 32px; margin-right: 8%; }

/* 8. Press teaser ---------------------------------------------------------------------- */
.press-teaser {
  background: #222c32;
  --fx-img: url('/assets/uploads/2020/11/presswall.jpg');
  display: grid;
  grid-template-columns: 1fr 1fr;
  color: #fff;
  overflow: hidden;
  min-height: 740px;
}
.press-teaser__copy { padding: 30% 10% 0 8%; align-self: start; }
.press-teaser__copy h2 { color: #fff; font-size: 120px; line-height: 1; margin-bottom: 10px; }
.press-teaser__copy p { font-size: 20px; line-height: 1.5em; }
.press-teaser__art img { width: 100%; display: block; }

/* 9. Simon teaser -------------------------------------------------------------------------- */
.simon-teaser {
  min-height: 100vh;
  background: #000 url('/assets/uploads/2026/09/simon26.png') left top / auto 100% no-repeat;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}
.simon-teaser__copy { grid-column: 2; padding: 200px 4% 0 0; }
.simon-teaser h2 { color: #fff; font-size: 80px; }
.simon-teaser h4 { color: #fff; font-family: var(--body); font-weight: 700; letter-spacing: 0; margin-bottom: 15px; }

/* 10. Philanthropy ------------------------------------------------------------------------------ */
.philanthropy {
  background: #222c32;
  color: #fcfcfc;
  min-height: 982px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 278px;
}
.philanthropy__copy { padding: 40px 10% 0 12%; }
.philanthropy h2 { color: #fcfcfc; }
.philanthropy .dot { color: #eb081d; }
.philanthropy__logos { width: 100%; max-width: 800px; margin-top: 40px; opacity: .55; }
.philanthropy__photo { padding: 0 10% 0 0; align-self: start; margin-top: -28px; }
.philanthropy__photo img { width: 600px; max-width: 100%; display: block; margin-left: auto; transform: rotate(3deg); }

/* 11. Scholarships ---------------------------------------------------------------------------------- */
.scholarships {
  background: #fff;
  --fx-img: url('/assets/uploads/2020/11/university_scholarship.jpg');
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}
.scholarships__panel { grid-column: 2; background: #fff; padding: 400px 8% 130px; }
.scholarships h2 { color: #212a30; }
.scholarships p { color: #212b31; }
.scholarships__list { list-style: none; margin: 20px 0 0; padding: 0; }
.scholarships__list li { margin-bottom: 40px; }
.scholarships__list img { display: block; margin-bottom: 15px; }
.scholarships__list p { color: #212930; }

/* 12. Get in touch ------------------------------------------------------------------------------------ */
.touch {
  min-height: 100vh;
  background: #d61f27 url('/assets/uploads/2020/11/footer-1.jpg') center bottom / cover no-repeat;
  overflow: hidden;
}
.touch__birds { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.touch__inner { position: relative; z-index: 2; margin-left: 50%; padding: 370px 4% 0 76px; }
.touch h2 a { color: #fcfcfc; }
.touch h2 .dot { font-family: var(--head); letter-spacing: 0; }

/* Video popup ------------------------------------------------------------------------------------------ */
.video-modal {
  position: fixed; inset: 0; z-index: 2000;
  display: none; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, .8);
}
.video-modal.is-open { display: flex; }
.video-modal__frame { position: relative; width: min(960px, 92vw); aspect-ratio: 16 / 9; background: #000; }
.video-modal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-modal__close {
  position: absolute; top: -40px; right: 0;
  background: none; border: 0; color: #fff; font: 700 16px var(--head); cursor: pointer;
}

/* Responsive -------------------------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .hero__hello { font-size: 120px; letter-spacing: -6px; }
  .hero__hello .dot { font-size: 150px; }
  .whatwedo h2, .press-teaser__copy h2 { font-size: 90px; }
  .quote blockquote p { font-size: 36px; }
}
@media (max-width: 768px) {
  .hero__hello { font-size: 80px; letter-spacing: -4px; }
  .hero__hello .dot { font-size: 100px; }
  .conversations__grid, .rpeters__grid, .rpvideo__grid, .quote, .press-teaser, .simon-teaser,
  .philanthropy, .scholarships { grid-template-columns: 1fr; }
  .conversations__copy { padding: 30px 0 0; }
  .rpeters { padding-top: 70px; }
  .rpeters__copy { padding: 20px 0 0; }
  .rpvideo__item { padding: 0 0 24px; }
  .authority__row { height: auto; min-height: 0; }
  .authority__row-inner { flex-direction: column; padding: 70px 24px; gap: 30px; }
  .authority__row--split figure { flex-basis: auto; max-width: 320px; }
  .whatwedo h2, .press-teaser__copy h2 { font-size: 56px; line-height: 1.05; }
  .story { padding: 80px 20px 90px; }
  .js .story__block { transform: translateX(-60px); }
  .rpeters__grid { column-gap: 0; }
  .rpeters__copy { padding: 20px 0 0; }
  .story__block { padding-bottom: 60px; }
  .quote__inner { grid-column: 1; padding: 100px 24px; }
  .quote blockquote p { font-size: 30px; }
  .quote cite { font-size: 22px; margin-right: 0; }
  .press-teaser__copy { padding: 90px 24px 30px; }
  .simon-teaser { background-size: cover; background-position: center top; }
  .simon-teaser__copy { grid-column: 1; padding: 62vh 24px 60px; }
  .simon-teaser h2 { font-size: 50px; }
  .statement { padding: 120px 20px 80px; min-height: 80vh; }
  .statement p { font-size: 18px; }
  .philanthropy { padding-top: 90px; }
  .philanthropy__copy { padding: 0 24px; }
  .philanthropy__photo { padding: 30px 24px 50px; }
  .scholarships__panel { grid-column: 1; padding: 80px 24px; }
  .touch__inner { margin-left: 0; padding: 120px 24px 0; }
}
