

.wp-site-blocks {
  padding-block: 0;
}

.wp-site-blocks > *, .foe-main {
  margin-block-start: 0;
}

.foe-header, .foe-footer {
  margin: 0;
  padding-inline: clamp(20px, 4vw, 64px);
}

.foe-header {
  background: var(--wp--preset--color--night);
  color: var(--wp--preset--color--paper);
  border-bottom: 1px solid var(--foe-rule);
  padding-block: 6px 10px;
}

.foe-header-inner, .foe-footer-inner {
  max-width: 1360px;
  margin-inline: auto;
}

.foe-header-inner {
  gap: 24px;
}

.foe-header a, .foe-footer a {
  color: inherit;
  text-decoration: none;
}

.foe-header .foe-mobile-menu-link {
  display: none;
}

.foe-header .is-menu-open .foe-mobile-menu-link {
  display: flex;
}

.foe-header .wp-block-navigation {
  font-size: 11px;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  gap: 24px;
}

.foe-header .wp-block-navigation .wp-block-navigation__responsive-container.has-modal-open.is-menu-open {
  background: var(--wp--preset--color--night);
  color: var(--wp--preset--color--paper);
  padding: 28px;
}

.foe-header .is-menu-open .wp-block-navigation__container {
  align-items: flex-start;
  gap: 24px;
  font-size: 16px;
}

.foe-header .is-menu-open .wp-block-navigation__responsive-container-content {
  align-items: flex-start;
  padding-top: 56px;
}

.foe-brand {
  gap: 12px;
}

.foe-brand p {
  font-family: var(--wp--preset--font-family--display);
  font-size: 19px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin: 0;
  white-space: nowrap;
}

.foe-brand a {
  text-decoration: none;
}

.foe-logo {
  margin: 0;
  flex-shrink: 0;
}

.foe-logo img {
  width: 32px;
  height: 48px;
  object-fit: contain;
}

.foe-header-actions {
  gap: 20px;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.foe-header-actions p {
  margin: 0;
}

.foe-header-actions .wp-block-button__link {
  background: var(--wp--preset--color--crimson);
  color: var(--wp--preset--color--white);
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.055em;
  padding: 11px 17px;
}

.foe-header-utility .wp-block-button__link {
  padding: 5px 10px;
  font-size: 9px;
}

.foe-header :focus-visible, .foe-footer :focus-visible, .foe-animation-feature :focus-visible {
  outline-color: var(--wp--preset--color--gold);
}

.foe-home {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.foe-home > * {
  margin-block: 0;
}

.foe-animation-feature {
  display: grid;
  position: relative;
  isolation: isolate;
  background: var(--wp--preset--color--night);
  color: var(--wp--preset--color--white);
}

.foe-animation-feature > figure, .foe-animation-caption {
  grid-area: 1 / 1;
}

.foe-animation-feature > figure {
  overflow: hidden;
  position: relative;
  margin: 0;
}

.foe-animation-feature > figure::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgb(12 16 21 / 85%), rgb(12 16 21 / 48%) 36%, rgb(12 16 21 / 8%) 72%), linear-gradient(0deg, rgb(12 16 21 / 40%), transparent 45%);
}

.foe-animation-feature img {
  width: 100%;
  height: clamp(460px, 46vw, 690px);
  display: block;
  object-fit: cover;
  object-position: 64% center;
}

.foe-animation-caption {
  position: relative;
  z-index: 1;
  align-self: center;
  width: min(100%, 1360px);
  margin: 0 auto;
  padding: 64px clamp(24px, 5vw, 72px);
  pointer-events: none;
}

.foe-animation-caption :is(h1, h2) {
  max-width: 520px;
  font-size: clamp(44px, 5.5vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
  margin: 0 0 30px;
}

.foe-animation-caption a {
  pointer-events: auto;
}

.foe-home .wp-block-button__link {
  border-radius: 3px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.06em;
  font-weight: 600;
  padding: 14px 24px;
}

.foe-home-intro {
  max-width: 1360px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
  align-items: center;
  padding: 14px clamp(24px, 5vw, 72px);
}

.foe-home-intro h1 {
  font-size: clamp(28px, 3.2vw, 43px);
  line-height: 1.14;
  margin: 0;
  text-wrap: balance;
}

.foe-home-intro .wp-block-search {
  width: 100%;
  margin: 0;
}

.foe-home-intro input {
  min-width: 0;
  padding: 14px 18px;
  border: 1px solid var(--foe-rule);
  border-radius: 3px;
  background: var(--wp--preset--color--white);
  font: inherit;
  font-size: 13px;
}

.foe-home-intro .wp-block-search__button {
  font-size: 11px;
  border-radius: 3px;
  margin-left: 8px;
}

.foe-home-section {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 88px);
  padding: clamp(40px, 5vw, 72px) max(clamp(24px, 5vw, 72px), calc((100% - 1216px) / 2));
  border-top: 1px solid var(--foe-rule);
}

.foe-home-section figure {
  margin: 0;
}

.foe-home-section img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.foe-home-section:nth-of-type(odd) {
  background: var(--wp--preset--color--night);
  color: var(--wp--preset--color--paper);
}

.foe-home-section:nth-of-type(even) figure {
  order: 2;
}

.foe-home-section-copy {
  margin: 0;
  max-width: 460px;
}

.foe-home-section h2 {
  font-size: clamp(32px, 3.6vw, 50px);
  line-height: 1.08;
  text-wrap: balance;
  margin: 0 0 22px;
}

.foe-home-section p {
  font-size: 15px;
  line-height: 1.75;
  margin-block: 16px;
}

.foe-home-section-copy a {
  display: inline-block;
  color: var(--wp--preset--color--crimson);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding-block: 6px;
  border-bottom: 1px solid currentcolor;
}

.foe-home-section-copy a::after {
  content: '→';
  margin-left: 14px;
}

.foe-animation-feature > figure > a {
  display: block;
  width: 100%;
}

.foe-home-section:nth-of-type(odd) a {
  color: var(--wp--preset--color--gold);
}

.foe-home-section:nth-of-type(odd) :focus-visible {
  outline-color: var(--wp--preset--color--gold);
}

.foe-footer {
  background: var(--wp--preset--color--night);
  color: var(--wp--preset--color--paper);
}

.foe-footer-appeal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-block: 1px solid var(--foe-rule);
  padding-block: 32px;
}

.foe-footer-appeal h2 {
  font-size: 30px;
  margin-block: 0 12px;
}

.foe-footer-appeal p {
  font-size: 13px;
  color: var(--wp--preset--color--stone);
  margin: 0;
}

.foe-footer-appeal .wp-block-button__link {
  border-radius: 3px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.foe-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-block: 40px;
}

.foe-footer-brand > p {
  max-width: 260px;
  font-size: 12px;
  color: var(--wp--preset--color--stone);
}

.foe-footer-col h3 {
  font-family: var(--wp--preset--font-family--body);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wp--preset--color--gold);
  margin-block: 12px 20px;
}

.foe-footer-col p {
  font-size: 12px;
  margin-block: 8px;
}

.foe-footer-bottom {
  border-top: 1px solid var(--foe-rule);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 18px;
  font-size: 10px;
  color: var(--wp--preset--color--stone);
}

.foe-single {
  max-width: 1000px;
  margin-inline: auto;
  padding-block: 50px;
}

.foe-single > h1 {
  font-size: clamp(36px, 4vw, 60px);
}

.foe-single > .wp-block-post-featured-image {
  max-width: 900px;
  margin: 32px auto;
}

.foe-single > .wp-block-post-featured-image img {
  max-height: 85vh;
  object-fit: contain;
}

.foe-reading {
  margin-block: 40px;
}

.foe-header a:hover, .foe-footer a:hover {
  color: var(--wp--preset--color--gold);
}

.foe-home-section-copy > p:last-child {
  margin-top: 26px;
}

@media (width <= 1100px) {
.foe-header-actions {
  display: none;
}

.foe-header-inner {
  justify-content: space-between;
}

.foe-header .foe-mobile-menu-link {
  display: flex;
}

.foe-header .wp-block-navigation {
  gap: 16px;
  font-size: 10px;
}
}

@media (width >= 600px) and (width <= 1100px) {
.foe-header .wp-block-navigation__responsive-container:not(.is-menu-open) {
  display: none;
}

.foe-header .wp-block-navigation__responsive-container-open {
  display: flex;
}
}

@media (width <= 781px) {
.foe-header {
  padding-block: 10px;
}

.foe-brand p {
  font-size: 16px;
}

.foe-logo img {
  height: 42px;
  width: 28px;
}

.foe-animation-feature img {
  height: 540px;
  object-position: 60% center;
}

.foe-animation-feature > figure::after {
  background: linear-gradient(0deg, rgb(12 16 21 / 92%), rgb(12 16 21 / 22%) 70%);
}

.foe-animation-caption {
  align-self: end;
  padding: 40px 24px;
}

.foe-animation-caption :is(h1, h2) {
  max-width: 380px;
  font-size: 48px;
}

.foe-home-intro {
  grid-template-columns: 1fr;
  gap: 0;
  padding-block: 14px;
}

.foe-home-section {
  grid-template-columns: 1fr;
  gap: 28px;
  padding-block: 36px;
}

.foe-home-section:nth-of-type(even) figure {
  order: initial;
}

.foe-home-section-copy {
  max-width: none;
}

.foe-footer-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.foe-footer-brand {
  grid-column: 1 / -1;
}

.foe-footer-appeal {
  display: block;
}

.foe-footer-appeal .wp-block-buttons {
  margin-top: 20px;
}

.foe-footer-bottom {
  display: block;
}
}

@media (width <= 480px) {
.foe-home-intro .wp-block-search__inside-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.foe-home-intro .wp-block-search__button {
  margin-left: 0;
  padding-block: 13px;
}

.foe-footer-grid {
  grid-template-columns: repeat(2, 1fr);
}
}

/* Extra admin toolbar items can wrap over the menu button on narrow previews. */
@media (width <= 600px) {
.admin-bar .foe-header {
  padding-top: 34px;
}
}

/* Keep social links and support visible above the primary navigation. */

.foe-header-utility {
  max-width: 1360px;
  margin: 0 auto 4px;
  padding: 0;
  justify-content: flex-end;
  gap: 20px;
}

.foe-header .foe-header-social {
  margin: 0;
  font-size: 18px;
  gap: 10px;
}

.foe-header-utility .foe-header-actions {
  display: flex;
  gap: 14px;
}

.foe-home-section-copy .foe-resource-links {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: none;
}

.foe-home-section-copy .foe-resource-links a {
  font-family: var(--wp--preset--font-family--body);
  font-size: clamp(17px, 2.1vw, 27px);
  letter-spacing: 0.035em;
  color: var(--wp--preset--color--white);
  border-bottom: 0;
  padding: 4px 16px;
}

.foe-header-utility .foe-header-social a {
  padding: 3px;
}

.foe-header-utility .foe-header-actions p a {
  display: inline-block;
  padding-block: 5px;
}

.foe-home-section-copy .foe-resource-links a + a {
  border-left: 1px solid rgb(255 255 255 / 80%);
}

.foe-home-section-copy .foe-resource-links a:first-child {
  padding-left: 0;
}

.foe-home-section-copy .foe-resource-links a:hover {
  color: var(--wp--preset--color--gold);
}

.foe-home .foe-home-section-copy .wp-block-button__link {
  background: var(--wp--preset--color--crimson);
  color: var(--wp--preset--color--white);
  border: 0;
  padding: 14px 24px;
}

.foe-home-section-copy .foe-resource-links a::after,
.foe-home-section-copy .wp-block-button__link::after {
  content: none;
}

@media (width <= 480px) {
.foe-header .foe-header-social {
  gap: 8px;
  font-size: 20px;
}

.foe-header-utility .foe-header-actions {
  gap: 12px;
}

.foe-header-utility .wp-block-button__link {
  padding: 10px;
  font-size: 9px;
}

.foe-home-section-copy .foe-resource-links a {
  padding-inline: 12px;
  font-size: 17px;
}

.foe-home-section-copy .foe-resource-links a:first-child {
  padding-left: 0;
}
}

/* A quiet utility row above the primary brand/navigation. */

@media (width <= 480px) {
.foe-header-utility {
  gap: 12px;
}

.foe-header .foe-header-social {
  gap: 4px;
  font-size: 17px;
}

.foe-header-utility .foe-header-actions {
  gap: 10px;
}

.foe-header-utility .wp-block-button__link {
  padding: 5px 7px;
  font-size: 8px;
}
}
