/* FoT Family E intro + C member grid — scoped under Uncode. Body background is the only unscoped page rule. Staging ?fot_family=1. */
body.fot-home-app {
  --night: #0A0B1C;
  --card: #14162E;
  --mist: #C8C6D4;
  --ivory: #F4F1EA;
  --indigo: #3E3FE8;
  --first: #C4BEF2;
  background: var(--night);
  color: var(--ivory);
}

body.fot-home-app .fot-home-page,
body.fot-home-app .fot-home-page * {
  box-sizing: border-box;
}

body.fot-home-app .fot-home-page {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-top: 0;
  font-family: Inter, "Liberation Sans", sans-serif;
  background: var(--night);
  color: var(--ivory);
}

body.fot-home-app .fot-home-page a {
  color: var(--ivory);
  text-decoration: none;
  box-shadow: none;
  background: none;
}
body.fot-home-app .fot-home-page a:hover,
body.fot-home-app .fot-home-page a:focus-visible {
  color: var(--first);
  background: transparent;
  background-image: none;
  text-decoration: none;
  transform: none;
  filter: none;
}

/*
 * Public-site hover (locked).
 * Text links / nav / titles: ivory #F4F1EA → #C4BEF2. No fill.
 * Ghost / outlined buttons: type and rim #C4BEF2. Fill stays transparent.
 * Indigo primary pills: fill stays #3E3FE8, type stays white.
 * Hover adds 1px rim #C4BEF2. Do not turn violet. No gradient, no scale.
 * No glow. No underline except FAQ-style 1px rule on All messages / Full profile.
 */
body.fot-home-app header a:hover,
body.fot-home-app header a:focus-visible,
body.fot-home-app .menu-container a:hover,
body.fot-home-app .menu-wrapper a:hover,
body.fot-home-app .overlay-menu a:hover,
body.fot-home-app .mobile-menu a:hover,
body.fot-home-app .navbar a:hover {
  color: #C4BEF2 !important;
  background-color: transparent !important;
  background-image: none !important;
  text-decoration: none !important;
  transform: none !important;
  filter: none !important;
  box-shadow: none;
}

body.fot-home-app .fot-ghost:hover,
body.fot-home-app .fot-home-page a.fot-ghost:hover {
  color: #C4BEF2;
  border-color: #C4BEF2;
  background: transparent;
  background-image: none;
  transform: none;
  filter: none;
}

body.fot-home-app .fot-pill:hover,
body.fot-home-app header a.btn:hover,
body.fot-home-app header .btn:hover {
  background-color: #3E3FE8 !important;
  background-image: none !important;
  color: #fff !important;
  box-shadow: 0 0 0 1px #C4BEF2;
  transform: none !important;
  filter: none !important;
  opacity: 1 !important;
}

body.fot-home-app .fot-home-page p {
  margin: 0;
  padding: 0;
}
body.fot-home-app .fot-home-page h1 {
  margin: 0;
  padding: 0;
  text-transform: none;
  letter-spacing: -.01em;
}
body.fot-home-app .fot-home-page blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  quotes: none;
}
body.fot-home-app .fot-home-page hr {
  background: none;
}

/* Hide leftover plugin chrome if another plugin injects it. Uncode nav stays. */
body.fot-home-app .fot-home-page > header,
body.fot-home-app .fot-home-page .wordmark,
body.fot-home-app .fot-home-page .brand,
body.fot-home-app .fot-home-page .close,
body.fot-home-app .fot-home-page footer.bar {
  display: none !important;
}

/* —— Hero / wash —— */
body.fot-home-app .fot-home-page .top {
  background:
    linear-gradient(180deg, rgba(10,11,28,.28) 0%, rgba(10,11,28,.72) 70%, var(--night) 100%),
    url("hero-a3-wash.png") center 16% / cover no-repeat,
    var(--night);
}
body.fot-home-app .fot-home-page h1 {
  font-family: "Playfair Display", serif;
  font-size: 52px;
  line-height: 1.04;
  font-weight: 500;
  color: var(--ivory);
  letter-spacing: -.01em;
}

/* —— Intro: still = first member column; copy through col 2 and 3/4 of col 3 (Laka). —— */
body.fot-home-app .fot-home-page .intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr) minmax(0, 0.25fr);
  gap: 36px;
  padding: 14px 48px 40px;
  align-items: start;
}
body.fot-home-app .fot-home-page .group {
  grid-column: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  border-radius: 12px;
  overflow: hidden;
  background: var(--card);
  box-shadow: 0 0 0 1px rgba(200,198,212,.32);
}
body.fot-home-app .fot-home-page .group img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
body.fot-home-app .fot-home-page .copy {
  grid-column: 2;
  max-width: 100%;
}
body.fot-home-app .fot-home-page .copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
}
body.fot-home-app .fot-home-page .lede {
  margin-top: 18px;
}
body.fot-home-app .fot-home-page .lede p {
  font-family: Inter, "Liberation Sans", sans-serif;
  font-size: 15px;
  line-height: 1.58;
  color: var(--mist);
}
body.fot-home-app .fot-home-page .lede p + p {
  margin-top: 14px;
}
body.fot-home-app .fot-home-page .lede p.ivory {
  color: var(--ivory);
}

/* Aya origin: upright Inter pull quote. Not excerpt A. Not drop cap. */
body.fot-home-app .fot-home-page .lede blockquote {
  margin: 22px 0 20px;
  padding: 4px 0 4px 22px;
  border: 0;
  border-left: 3px solid #C4BEF2;
  font-family: Inter, "Liberation Sans", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-synthesis: none;
  font-size: 15px;
  line-height: 1.58;
  color: var(--ivory);
}
body.fot-home-app .fot-home-page .lede blockquote .mark {
  font-family: Inter, "Liberation Sans", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 60px;
  line-height: .55;
  color: #C4BEF2;
  display: block;
  margin: 0 0 -0.22em;
  height: 0.52em;
  overflow: visible;
}
body.fot-home-app .fot-home-page .lede blockquote p {
  font-family: Inter, "Liberation Sans", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-synthesis: none;
  font-size: 15px;
  line-height: 1.58;
  color: var(--ivory);
  margin: 0 0 12px;
}
body.fot-home-app .fot-home-page .lede blockquote cite {
  display: block;
  font-family: Inter, "Liberation Sans", sans-serif;
  font-style: normal;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mist);
}

/* —— Members —— */
body.fot-home-app .fot-home-page .members {
  padding: 16px 48px 48px;
}
body.fot-home-app .fot-home-page .members-h {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 14px;
}
body.fot-home-app .fot-home-page .lab {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--mist);
  font-weight: 500;
}

body.fot-home-app .fot-home-page .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
body.fot-home-app .fot-home-page .mcard {
  background: var(--card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(200,198,212,.08);
  display: flex;
  flex-direction: column;
  padding: 12px 12px 16px;
}
body.fot-home-app .fot-home-page .mcard a.thumb {
  height: 280px;
  background: var(--card);
  box-shadow: 0 0 0 1px rgba(200,198,212,.32);
  border-radius: 10px;
  overflow: hidden;
}
body.fot-home-app .fot-home-page .mcard a.thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  border: 0;
}
body.fot-home-app .fot-home-page .mcard .body {
  padding: 16px 8px 4px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
body.fot-home-app .fot-home-page .mcard a.nm {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.15;
  color: var(--ivory);
  letter-spacing: 0;
  text-decoration: none;
  cursor: pointer;
  width: fit-content;
}
body.fot-home-app .fot-home-page .mcard a.nm:hover,
body.fot-home-app .fot-home-page .mcard a.nm:focus-visible {
  color: var(--first);
}
body.fot-home-app .fot-home-page .mcard a.thumb {
  display: block;
  color: inherit;
  cursor: pointer;
}
body.fot-home-app .fot-home-page .mcard a.thumb:hover {
  color: inherit;
}
body.fot-home-app .fot-home-page .mcard a.thumb:hover img {
  opacity: 0.92;
}
body.fot-home-app .fot-home-page .mcard a.thumb:focus-visible {
  outline: 2px solid var(--first);
  outline-offset: 2px;
}
body.fot-home-app .fot-home-page .mcard a.thumb img {
  transition: opacity 0.15s ease;
}
body.fot-home-app .fot-home-page .mcard .sacred {
  display: block;
  font-size: 12.5px;
  color: var(--mist);
  line-height: 1.35;
  margin-top: 5px;
}
body.fot-home-app .fot-home-page .mcard .bio {
  margin-top: 12px;
  font-family: Inter, "Liberation Sans", sans-serif;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--mist);
}

/* All messages / Full profile: ivory + right caret. Hover type + underline #C4BEF2. */
body.fot-home-app .fot-home-page a.primary,
body.fot-home-app .fot-home-page a.more {
  display: inline-flex;
  align-items: center;
  color: var(--ivory);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  background: none;
  box-shadow: none;
  transform: none;
  filter: none;
}
body.fot-home-app .fot-home-page a.primary {
  font-size: 12.5px;
}
body.fot-home-app .fot-home-page a.more {
  margin-top: auto;
  padding-top: 14px;
  font-family: Inter, "Liberation Sans", sans-serif;
  font-size: 13px;
  width: fit-content;
}
body.fot-home-app .fot-home-page a.primary::after,
body.fot-home-app .fot-home-page a.more::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 7px;
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg);
  flex: 0 0 auto;
}
body.fot-home-app .fot-home-page a.primary:hover,
body.fot-home-app .fot-home-page a.primary:focus-visible,
body.fot-home-app .fot-home-page a.more:hover,
body.fot-home-app .fot-home-page a.more:focus-visible {
  color: var(--first);
  border-bottom-color: var(--first);
  background: transparent;
  background-image: none;
  text-decoration: none;
  transform: none;
  filter: none;
  box-shadow: none;
}

body.fot-home-app .fot-home-page .mcard .rule {
  height: 0;
  border: 0;
  border-top: 1px solid rgba(200,198,212,.16);
  margin: 16px 0 14px;
}
body.fot-home-app .fot-home-page .mcard .latest {
  font-family: Inter, "Liberation Sans", sans-serif;
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mist);
  font-weight: 500;
  margin-bottom: 7px;
}
body.fot-home-app .fot-home-page a.msg {
  display: block;
  color: var(--ivory);
  background: none;
}
body.fot-home-app .fot-home-page a.msg .ttl {
  display: block;
  font-family: Inter, "Liberation Sans", sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--ivory);
}
body.fot-home-app .fot-home-page a.msg time {
  display: none;
}
body.fot-home-app .fot-home-page a.msg:hover,
body.fot-home-app .fot-home-page a.msg:focus-visible {
  color: var(--ivory);
  background: transparent;
  background-image: none;
  transform: none;
  filter: none;
}
body.fot-home-app .fot-home-page a.msg:hover .ttl,
body.fot-home-app .fot-home-page a.msg:focus-visible .ttl {
  color: var(--first);
}
body.fot-home-app .fot-home-page a.msg:hover time,
body.fot-home-app .fot-home-page a.msg:focus-visible time {
  color: var(--mist);
}
body.fot-home-app .fot-home-page .mcard .note {
  font-family: Inter, "Liberation Sans", sans-serif;
  font-size: 13px;
  color: var(--mist);
  line-height: 1.45;
}

/* Mobile — from fot-fam-e-mobile.html. Still full-width 1:1, then H1 + body, then 2-col C cards. */
@media (max-width: 900px) {
  body.fot-home-app .fot-home-page h1 {
    font-family: "Playfair Display", serif;
    font-size: 34px;
    line-height: 1.06;
    font-weight: 500;
  }
  body.fot-home-app .fot-home-page .intro {
    display: block;
    padding: 14px 16px 4px;
  }
  body.fot-home-app .fot-home-page .group {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    grid-column: auto;
    margin-bottom: 8px;
  }
  body.fot-home-app .fot-home-page .copy {
    grid-column: auto;
  }
  body.fot-home-app .fot-home-page .copy {
    padding: 36px 0 4px;
  }
  body.fot-home-app .fot-home-page .lede {
    margin-top: 14px;
    max-width: none;
  }
  body.fot-home-app .fot-home-page .lede p {
    font-size: 14.5px;
    line-height: 1.58;
    max-width: none;
  }
  body.fot-home-app .fot-home-page .lede p + p {
    margin-top: 12px;
  }
  body.fot-home-app .fot-home-page .members-h {
    display: none;
  }

  body.fot-home-app .fot-home-page .members {
    padding: 8px 16px 32px;
  }
  body.fot-home-app .fot-home-page .grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  body.fot-home-app .fot-home-page .mcard {
    box-shadow: 0 0 0 1px rgba(200,198,212,.10);
    padding: 8px 8px 12px;
  }
  body.fot-home-app .fot-home-page .mcard a.thumb {
    height: auto;
    aspect-ratio: 1 / 1;
  }
  body.fot-home-app .fot-home-page .mcard .body {
    padding: 10px 2px 2px;
  }
  body.fot-home-app .fot-home-page .mcard a.nm {
    font-family: "Playfair Display", serif;
    font-size: 16.5px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.15;
  }
  body.fot-home-app .fot-home-page .mcard .sacred {
    font-size: 11px;
    margin-top: 3px;
  }
  body.fot-home-app .fot-home-page .mcard .bio {
    margin-top: 8px;
    font-size: 12.5px;
    line-height: 1.4;
  }
  body.fot-home-app .fot-home-page a.more {
    padding-top: 8px;
    font-size: 12px;
  }
  body.fot-home-app .fot-home-page .mcard .rule {
    margin: 10px 0 8px;
  }
  body.fot-home-app .fot-home-page .mcard .latest {
    font-size: 9.5px;
    margin-bottom: 4px;
  }
  body.fot-home-app .fot-home-page a.msg .ttl {
    font-size: 12px;
    font-weight: 600;
  }
  body.fot-home-app .fot-home-page .mcard .note {
    font-size: 12px;
  }
}

@media (min-width: 901px) and (max-width: 1200px) {
  body.fot-home-app .fot-home-page .mast,
  body.fot-home-app .fot-home-page .intro,
  body.fot-home-app .fot-home-page .members {
    padding-left: 32px;
    padding-right: 32px;
  }
}
