:root {
  --home-header-overlap: 104px;
}

.home-page {
  background: #f6f1e8;
  color: #111;
  overflow-x: hidden;
}

.home-field {
  position: relative;
  isolation: isolate;
}

/* OPENING */

.home-field--opening {
  margin-top: calc(var(--home-header-overlap) * -1);
  padding:
    calc(clamp(72px, 8vw, 150px) + var(--home-header-overlap))
    clamp(24px, 6vw, 96px)
    clamp(72px, 8vw, 150px);

  display: grid;
  align-items: center;

  background:
    linear-gradient(to right, rgba(255,255,255,1) 25%, rgba(255,255,255,0.33) 75%, rgba(255,255,255,0) 100%),
    url('/assets/images/fdl-cathedral.avif') center top / cover no-repeat;

  color: #000;
}

.grid-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
}

.openign-kicker {
  margin: 0 0 18px;
  color: #a07435;
  font-size: 0.82rem;
  line-height: 1.45;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.opening-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 38px);
  letter-spacing: .02em;
  color: var(--ink);
}

.opending-text {
  margin: 3rem 0 20px;
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.7;
  opacity: .92;
}

/* ORDER SECTION */

.home-field--order {
  background:
    radial-gradient(circle at 70% 18%, rgba(212,176,106,0.08), transparent 26rem),
    #08111c;
}

.order-band {
  position: relative;
  overflow: visible;
}

.order-band__inner {
  position: relative;
  display: grid;
  grid-template-columns:
    minmax(280px, 0.78fr)
    minmax(360px, 0.92fr)
    minmax(300px, 0.82fr);
  gap: clamp(26px, 3vw, 44px);
  min-height: 520px;
  padding:
    clamp(64px, 7vw, 92px)
    clamp(28px, 6vw, 92px)
    clamp(44px, 5vw, 58px);
  color: #fff;
}

.order-band__thesis {
  position: relative;
  z-index: 2;
}

.order-band__kicker {
  margin: 0 0 18px;
  color: #d6b06a;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.order-band__thesis h2 {
  margin: 0 0 22px;
  color: #fff;
  font-size: clamp(2rem, 2.7vw, 3.05rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.order-band__thesis p {
  max-width: 30rem;
  margin: 0 0 20px;
  font-size: 1rem;
  line-height: 1.72;
}

.order-band__principles {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(24px, 4vw, 60px);
  row-gap: 36px;
  padding-left: clamp(22px, 3vw, 40px);
  border-left: 1px solid rgba(214,176,106,0.24);
}

.order-band__principle {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.order-band__icon img {
  display: block;
  width: 120px;
  height: 120px;
  object-fit: contain;
  opacity: 0.92;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.24));
}

.order-band__principle strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.order-band__principle p {
  margin: 0;
  color: rgba(255,255,255,0.68);
  font-size: 0.92rem;
  line-height: 1.55;
}

.order-band__visual {
  position: relative;
  min-height: 360px;
}

.order-band__image {
  position: absolute;
  right: -300px;
  bottom: -80px;
  width: min(980px, 80vw);
  height: min(980px, 80vw);
  background: url('/assets/images/flags.png') bottom center / contain no-repeat;
  filter: drop-shadow(0 42px 80px rgba(0,0,0,0.52));
  pointer-events: none;
}

.order-band__motto {
  position: relative;
  padding: 16px 24px 18px;
  border-top: 1px solid rgba(214,176,106,0.24);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.84rem;
  font-weight: 600;
  background: #bd842f;
}

/* RECENT WORK — EDITORIAL STAGE */

.home-field--evidence {
  overflow: hidden;
  background: #0c131b;
}

.evidence-stage {
  display: grid;
  grid-template-columns: minmax(300px, 0.58fr) minmax(0, 1.92fr);
  min-height: 640px;
}

.evidence-stage__intro {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(42px, 5vw, 70px);
  background: #bd842f;
  color: #fff;
}

.evidence-stage__mark {
  width: clamp(150px, 11vw, 205px);
  margin: 0 auto clamp(34px, 5vw, 72px);
}

.evidence-stage__mark img {
  display: block;
  width: 100%;
  height: auto;
}

.evidence-stage__intro-copy {
  padding-bottom: clamp(8px, 1.5vw, 20px);
}

.evidence-stage__kicker {
  margin: 0 0 14px;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.evidence-stage__intro h2 {
  margin: 0;
  color: #f5f0e7;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.evidence-stage__scene {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  background: #070b10;
}

.evidence-stage__image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: opacity 280ms ease, transform 700ms ease;
}

.evidence-stage__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7,10,16,0.22), rgba(7,10,16,0.08) 38%, rgba(7,10,16,0.58)),
    linear-gradient(180deg, rgba(7,10,16,0.04), rgba(7,10,16,0.14) 42%, rgba(7,10,16,0.78));
}

.evidence-stage__content {
  position: absolute;
  left: clamp(34px, 5vw, 72px);
  bottom: clamp(42px, 6vw, 82px);
    z-index: 2;
    isolation: isolate;
  max-width: 620px;
}

.evidence-stage__content::before {
  content: '';
  position: absolute;
  inset: -72px -90px -80px -70px;
  z-index: -1;
  pointer-events: none;

  background:
    radial-gradient(
      circle at left center,
      rgba(0, 0, 0, 0.58) 0%,
      rgba(0, 0, 0, 0.42) 34%,
      rgba(0, 0, 0, 0.20) 58%,
      rgba(0, 0, 0, 0) 82%
    );
}

.evidence-stage__content p:first-child {
  margin: 0 0 12px;
  color: #d4ab66;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.evidence-stage__content h3 {
  max-width: 13ch;
  margin: 0;
  color: #fff;
  font-size: clamp(2.4rem, 4vw, 5rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.evidence-stage__content p:nth-of-type(2) {
  max-width: 36rem;
  margin: 18px 0 0;
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  line-height: 1.65;
}

.evidence-stage__content span {
  display: inline-block;
  margin-top: 22px;
  color: rgba(255,255,255,0.74);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.evidence-stage__nav {
  position: absolute;
  top: 50%;
  right: clamp(26px, 4vw, 52px);
  transform: translateY(-50%);
  z-index: 3;
  width: min(340px, 32vw);
  display: grid;
  gap: 10px;
}

.evidence-stage__nav button {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  align-items: start;
  width: 100%;
  padding: 16px 18px 18px;
  border: 1px solid rgba(214,176,106,0.14);
  background: linear-gradient(90deg, rgba(7,11,17,0.72), rgba(7,11,17,0.46));
  color: #fff;
  text-align: left;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.evidence-stage__nav button span {
  color: #d4ab66;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.evidence-stage__nav button strong {
  color: rgba(255,255,255,0.82);
  font-size: 0.9rem;
  line-height: 1.25;
}

.evidence-stage__nav button.is-active {
  background: linear-gradient(90deg, rgba(12,18,28,0.92), rgba(12,18,28,0.72));
  border-color: rgba(214,176,106,0.48);
  transform: translateX(-8px);
}

.evidence-stage__nav button.is-active strong {
  color: #fff;
}

.evidence-stage__link {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;

    margin-top: 1.2rem;
    padding: 0.9rem 1.4rem;

    background: rgba(184, 134, 52, 0.92);
    border: 1px solid rgba(255,255,255,0.18);

    color: #0f1724;
    text-decoration: none;

    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;

    transition:
        background 180ms ease,
        transform 180ms ease,
        box-shadow 180ms ease;
}

.evidence-stage__link:hover {
    background: #d4a34a;
    transform: translateY(-2px);

    box-shadow:
        0 10px 24px rgba(0,0,0,0.28);
}


/* PARTICIPATION */

.home-field--participation {
  padding:
    clamp(56px, 6vw, 88px)
    clamp(24px, 5vw, 72px)
    clamp(72px, 7vw, 110px);
  background: #fff;
  color: #111;
}

.participation-heading {
  margin-bottom: clamp(32px, 4vw, 54px);
  text-align: center;
}

.participation-heading__kicker {
  margin: 0 0 10px;
  color: #9f6d2d;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.participation-heading h2 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 3vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: #181512;
}

.participation-heading p:last-child {
  margin: 0;
  color: rgba(24,21,18,0.72);
  font-size: 1rem;
  line-height: 1.6;
}

.participation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.participation-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 320px;
  overflow: hidden;
  text-decoration: none;
  background: #0d1620;
  box-shadow: 0 24px 60px rgba(18,18,18,0.16);
}

.participation-card__image {
  position: relative;
  background-size: cover;
  background-position: center;
}

.participation-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,12,18,0), rgba(8,12,18,0.16));
}

.participation-card__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px, 3vw, 38px);
  background: linear-gradient(180deg, rgba(7,12,18,0.96), rgba(7,12,18,0.92));
  color: #fff;
}

.participation-card__icon {
  margin-bottom: 18px;
}

.participation-card__icon img {
  width: 74px;
  height: 74px;
  object-fit: contain;
}

.participation-card__text h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 1.5rem;
}

.participation-card__text p {
  margin: 0 0 22px;
  color: rgba(255,255,255,0.76);
  font-size: 0.96rem;
  line-height: 1.7;
}

.participation-card__text span {
  color: #d7b36b;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* FORMATION */

.home-field--formation {
  overflow: hidden;
  background: #08111b;
}

.formation-retreat {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(300px, 0.55fr);
  align-items: center;
  gap: clamp(40px, 6vw, 90px);
  min-height: 420px;
  padding: clamp(54px, 6vw, 82px) clamp(34px, 6vw, 92px);
  background:
    linear-gradient(90deg, rgba(7,11,17,0.78), rgba(7,11,17,0.46) 42%, rgba(7,11,17,0.34) 62%, rgba(7,11,17,0.76)),
    url('/assets/images/path.avif') center 52% / cover no-repeat;
  color: #fff;
}

.formation-retreat__content {
  max-width: 560px;
  position: relative;
  z-index: 2;
}

.formation-retreat__kicker {
  margin: 0 0 14px;
  color: #d6b06a;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.formation-retreat h2 {
  margin: 0 0 18px;
  font-family: var(--serif);
  color: #f7f1e8;
  font-size: clamp(2.2rem, 3.5vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.formation-retreat__content p {
  max-width: 34rem;
  margin: 0;
  color: rgba(255,255,255,0.82);
  font-size: 1rem;
  line-height: 1.65;
}

.formation-retreat__actions {
  margin-top: 28px;
}

.formation-retreat__button {
  display: inline-flex;
  padding: 15px 24px;
  background: linear-gradient(135deg, #b88335, #d4a04b 50%, #b88335);
  color: #fff;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.formation-retreat__principles {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 28px;
  max-width: 420px;
  margin-left: auto;
}

.formation-retreat__principle {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 18px;
  align-items: start;
}

.formation-retreat__principle img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.formation-retreat__principle strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.formation-retreat__principle p {
  margin: 0;
  color: rgba(255,255,255,0.74);
  font-size: 0.9rem;
  line-height: 1.5;
}



/* RESPONSIVE */

@media (max-width: 1180px) {
  .order-band {
    overflow: hidden;
  }

  .order-band__inner {
    grid-template-columns: 1fr;
    padding-bottom: 0;
  }

  .order-band__principles {
    border-left: 0;
    padding-left: 0;
  }

  .order-band__visual {
    min-height: 280px;
    margin-top: 14px;
    overflow: hidden;
  }

  .order-band__image {
    right: 50%;
    bottom: 0;
    left: auto;
    top: auto;
    transform: translateX(50%);
    width: min(500px, 74vw);
    height: min(500px, 74vw);
    background-position: center bottom;
    background-size: contain;
  }

  .participation-grid {
    grid-template-columns: 1fr;
  }
}

/* Tablet landscape: remove flags so text stays readable */
@media (min-width: 901px) and (max-width: 1180px) {
  .order-band__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "thesis"
      "principles";
    padding-bottom: clamp(44px, 5vw, 58px);
  }

  .order-band__thesis {
    grid-area: thesis;
  }

  .order-band__principles {
    grid-area: principles;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 42px;
    row-gap: 32px;
  }

  .order-band__visual {
    display: none !important;
  }
}

/* Tablet portrait: keep flags grounded below text */
@media (min-width: 761px) and (max-width: 900px) {
  .order-band__inner {
    grid-template-columns: 1fr;
    padding-bottom: 0;
  }

  .order-band__principles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 34px;
    row-gap: 28px;
  }

  .order-band__visual {
    display: block;
    min-height: 285px;
    margin-top: 14px;
    overflow: hidden;
  }

  .order-band__image {
    right: 50%;
    bottom: 0;
    left: auto;
    top: auto;
    transform: translateX(50%);
    width: 360px;
    height: 360px;
    background-position: center bottom;
    background-size: contain;
  }
}

@media (max-width: 1100px) {
  .evidence-stage {
    grid-template-columns: 1fr;
  }

  .evidence-stage__intro {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    align-items: center;
    gap: 40px;
    min-height: auto;
    padding: 42px clamp(28px, 5vw, 54px);
  }

  .evidence-stage__mark {
    width: 100%;
    max-width: 170px;
    margin: 0;
  }

  .evidence-stage__intro-copy {
    padding-bottom: 0;
  }

  .evidence-stage__scene {
    min-height: 760px;
  }

  .evidence-stage__nav {
    left: 34px;
    right: 34px;
    top: 34px;
    transform: none;
    width: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .evidence-stage__content {
    left: 34px;
    right: 34px;
    bottom: 42px;
    max-width: 720px;
  }

  .evidence-stage__content h3 {
    max-width: 11ch;
    font-size: clamp(2.6rem, 7vw, 4.6rem);
  }

  .formation-retreat {
    grid-template-columns: 1fr;
  }

  .formation-retreat__principles {
    margin-left: 0;
  }
}

@media (max-width: 760px) {
  :root {
    --home-header-overlap: 72px;
  }

  .home-field--opening {
    background:
      linear-gradient(to right, rgba(255,255,255,0.94), rgba(255,255,255,0.7)),
      url('/assets/images/fdl-cathedral.avif') center top / cover no-repeat;
  }

  .grid-container {
    grid-template-columns: 1fr;
  }

  .order-band__inner,
  .home-field--participation,
  .formation-retreat {
    padding-left: 24px;
    padding-right: 24px;
  }

  .order-band__principles {
    grid-template-columns: 1fr;
  }

  .order-band__principle {
    grid-template-columns: 74px 1fr;
  }

  .order-band__icon img {
    width: 84px;
    height: 84px;
  }

  .order-band__visual {
    min-height: 205px;
    margin-top: 4px;
    overflow: hidden;
  }

  .order-band__image {
    right: 50%;
    bottom: 0;
    left: auto;
    top: auto;
    transform: translateX(50%);
    width: 310px;
    height: 310px;
    background-position: center bottom;
    background-size: contain;
  }

  .order-band__motto {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    line-height: 1.6;
  }

  .evidence-stage__intro {
    grid-template-columns: 1fr;
    gap: 26px;
    text-align: center;
  }

  .evidence-stage__mark {
    max-width: 140px;
    margin: 0 auto;
  }

  .evidence-stage__scene {
    min-height: 820px;
  }

  .evidence-stage__nav {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    padding: 20px 20px 0;
    grid-template-columns: 1fr;
  }

  .evidence-stage__nav button.is-active {
    transform: none;
  }

  .evidence-stage__content {
    left: 20px;
    right: 20px;
    bottom: 28px;
  }

  .evidence-stage__content h3 {
    max-width: 10ch;
    font-size: clamp(2.2rem, 12vw, 4rem);
  }

  .participation-card {
    grid-template-columns: 1fr;
  }

  .participation-card__image {
    min-height: 240px;
  }

  .formation-retreat__principle {
    grid-template-columns: 58px 1fr;
  }

  .formation-retreat__principle img {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 480px) {
  .home-field--opening {
    padding-left: 20px;
    padding-right: 20px;
  }

  .opening-title {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .opending-text {
    margin-top: 2rem;
  }

  .evidence-stage__intro h2,
  .participation-heading h2,
  .formation-retreat h2 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .evidence-stage__scene {
    min-height: 880px;
  }
}


@media (min-width: 761px) and (max-width: 1600px) {
  .order-band__visual {
    display: none;
  }

  .order-band__inner {
    grid-template-columns: 1fr;
  }

  .order-band__principles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }
}