/* ============================================================================

   about.css - sections unique to about-maranatha.html

   Shared pieces (hero, buttons, cards, stats, FAQ) live in css/style.css.

   ========================================================================= */



/* ======= 02 WELCOME / ANSWER CAPSULE ======= */

/*.welcome-block { padding: 96px 0; }*/



/* The figure is the positioning context for the inset photo and the side

   rail. They must live outside .welcome-stage, which clips its overflow. */

.welcome-figure { position: relative; }



.welcome-stage {

  position: relative;

  border-radius: 6px;

  overflow: hidden;

  aspect-ratio: 4 / 3;

}

.welcome-stage .welcome-slide {

  position: absolute;

  inset: 0;

  width: 100%;

  height: 100%;

  object-fit: cover;

  opacity: 0;

  transition: opacity .9s ease;

}

.welcome-stage .welcome-slide.is-active { opacity: 1; }



.welcome-dots {

  position: absolute;

  left: 0;

  right: 0;

  bottom: 0;

  display: flex;

  justify-content: center;

  gap: 7px;

  padding: 16px;

  background: linear-gradient(0deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, 0));

}

.welcome-dot {

  width: 9px;

  height: 9px;

  padding: 0;

  border: none;

  border-radius: 50%;

  background: var(--surface);

  opacity: .45;

  cursor: pointer;

  transition: opacity .3s ease, transform .3s ease;

}

.welcome-dot.is-active { opacity: 1; }

.welcome-dot:hover { opacity: .85; transform: scale(1.2); }



/* small photo overlapping the stage */

.welcome-inset {

  position: absolute;

  right: -30px;

  bottom: -40px;

  width: 210px;

  border-radius: 6px;

  overflow: hidden;

  border: 6px solid var(--surface);

  box-shadow: 0 16px 34px rgba(0, 0, 0, .14);

}

.welcome-inset img {

  display: block;

  width: 100%;

  height: 150px;

  object-fit: cover;

}



/* vertical "Since 1936" rail down the left of the stage */

.welcome-rail {

  position: absolute;

  left: -46px;

  top: 0;

  height: 100%;

  display: flex;

  align-items: center;

}

.welcome-rail span {

  writing-mode: vertical-rl;

  transform: rotate(180deg);

  font-size: 11px;

  font-weight: 800;

  letter-spacing: 3px;

  text-transform: uppercase;

  color: #c3ccc7;

  white-space: nowrap;

}



.welcome-copy .welcome-mark {

  display: inline-flex;

  align-items: center;

  gap: 16px;

  margin-bottom: 14px;

}

.welcome-copy .mark-tile {

  width: 34px;

  height: 34px;

  background: var(--brand-accent);

  border-radius: 7px;

  position: relative;

  flex: none;

}

.welcome-copy .mark-tile::after {

  content: "";

  position: absolute;

  right: -6px;

  bottom: -6px;

  width: 16px;

  height: 16px;

  background: var(--brand-primary);

  border-radius: 4px;

}

.welcome-copy .script-accent { margin-bottom: 0; }

/*.welcome-copy h2 {

  margin: 0 0 24px;

  font-size: 39px;

  line-height: 1.2;

  letter-spacing: -.4px;

}*/

.welcome-copy p {

  margin: 0 0 28px;

/*  font-size: 17px;*/

/*  line-height: 1.85;*/

/*  color: #5a655f;*/

}

.welcome-copy p strong { font-weight: 700; color: var(--brand-primary); }



.welcome-figures {

  display: flex;

  align-items: center;

  gap: 26px;

}

.welcome-figures .figure-value {

  font-size: 24px;

  font-weight: 800;

  color: var(--brand-primary);

  line-height: 1.2;

}

.welcome-figures .figure-label {

  font-size: 11px;

  letter-spacing: .6px;

  text-transform: uppercase;

  color: #8a938e;

}



/* ======= 03 WHO WE ARE ======= */

.whowe-section { background: var(--surface-alt); }



.whowe-band {

  position: relative;

  overflow: hidden;

  min-height: 620px;

}

.whowe-band > img {

  position: absolute;

  inset: 0;

  width: 100%;

  height: 100%;

  object-fit: cover;

}

.whowe-band .band-scrim {

  position: absolute;

  inset: 0;

  background: linear-gradient(105deg, rgba(9, 32, 27, .82) 0%, rgba(9, 32, 27, .55) 42%, rgba(9, 32, 27, .15) 100%);

}

.whowe-band .container { position: relative; padding-top: 80px; padding-bottom: 130px; }

.whowe-copy { max-width: 640px; }

.whowe-copy h2 {

  /*margin: 0 0 20px;

  font-size: 40px;

  line-height: 1.18;

  letter-spacing: -.4px;*/

  color: var(--text-light) !important;

}

.whowe-copy p {

  margin: 0;

  /*font-size: 16px;

  line-height: 1.8;*/

  color: rgba(255, 255, 255, .9);

}

.whowe-band .spin-badge {

  position: absolute;

  right: 8%;

  top: 50%;

  transform: translateY(-50%);

}



.whowe-note {

    max-width: 1020px;

    margin: 64px auto 0;

    text-align: center;

    /* font-size: 16px; */

    /* line-height: 1.8; */

    color: #6b6b6b;

}



/* ======= 04 OUR MISSION ======= */

.mission-band {

  position: relative;

  overflow: hidden;

/*  padding: 100px 0;*/

}

.mission-band > img {

  position: absolute;

  inset: 0;

  width: 100%;

  height: 100%;

  object-fit: cover;

}

.mission-band .band-scrim {

  position: absolute;

  inset: 0;

  background: linear-gradient(180deg, rgba(9, 32, 27, .55), rgba(9, 32, 27, .72));

}

.mission-band .container { position: relative; }

.mission-band .section-intro h2 { color: var(--text-light); }

.mission-band .section-intro p strong { color: var(--text-light); font-weight: 700; }



/* --- flip cards --- */

.flip-grid { --bs-gutter-x: 26px; --bs-gutter-y: 26px; }

.flip {

  perspective: 1400px;

  height: 390px;

}

.flip-inner {

  position: relative;

  width: 100%;

  height: 100%;

  transition: transform .85s cubic-bezier(.4, .1, .2, 1);

  transform-style: preserve-3d;

}

.flip:hover .flip-inner,

.flip:focus-within .flip-inner { transform: rotateY(180deg); }



.flip-face {

  position: absolute;

  inset: 0;

  -webkit-backface-visibility: hidden;

  backface-visibility: hidden;

  border-radius: 18px;

  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, .14);

}

.flip-face > img {

  position: absolute;

  inset: 0;

  width: 100%;

  height: 100%;

  object-fit: cover;

}

.flip-face .flip-scrim {

  position: absolute;

  inset: 0;

  background: linear-gradient(180deg, rgba(6, 26, 22, .1) 0%, rgba(6, 26, 22, .68) 100%);

}

.flip-front-body {

  position: absolute;

  inset: 0;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: flex-end;

  text-align: center;

  padding: 0 32px 40px;

  gap: 12px;

}

.flip-front-body .flip-ico {

  width: 54px;

  height: 54px;

  border-radius: 50%;

  background: rgba(168, 219, 213, .16);

  border: 1px solid rgba(168, 219, 213, .45);

  display: flex;

  align-items: center;

  justify-content: center;

  animation: mbcFloat 4.5s ease-in-out infinite;

}

.flip:nth-child(2) .flip-front-body .flip-ico { animation-delay: .7s; }

.flip:nth-child(3) .flip-front-body .flip-ico { animation-delay: 1.4s; }

.flip-front-body .flip-ico img { width: 28px; height: 28px; }

.flip-front-body h3 { margin: 0;  font-weight:600; color: var(--text-light);  }

.flip-front-body .flip-hint {

  font-size: 10.5px;

  font-weight: 700;

  letter-spacing: 1.6px;

  color: var(--brand-mint);

  text-transform: uppercase;

}



.flip-back {

  transform: rotateY(180deg);

  background: var(--brand-primary);

  border: 1px solid rgba(168, 219, 213, .5);

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  text-align: center;

  padding: 44px 34px;

}

.flip-back .flip-dash { width: 46px; height: 2px; background: var(--brand-accent); margin-bottom: 18px; }

.flip-back h3 { margin: 0 0 14px;  font-weight: 600; color: var(--text-light);}

.flip-back p {

  margin: 0 0 24px;

  /*font-size: 15px;

  line-height: 1.8;*/

  color: rgba(255, 255, 255, .88);

}

.flip-back .flip-link {

  display: inline-flex;

  align-items: center;

  gap: 8px;

/*  font-size: 11.5px;*/

  font-weight: 700;

  letter-spacing: 1.2px;

  text-transform: uppercase;

  color: var(--brand-mint);

  text-decoration: none;

}

.flip-back .flip-link:hover { color: var(--brand-accent); }



/* ======= 05 WHAT WE BELIEVE ======= */

/*.believe-section { background: var(--surface); padding: 96px 0 0; }*/



.believe-split {

  display: grid;

  grid-template-columns: 1.08fr .92fr;

  align-items: stretch;

}



/* --- animated photo mosaic --- */

.vstage {

  position: relative;

  min-height: 520px;

  overflow: hidden;

}

.vmosaic {

  position: absolute;

  inset: 0;

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  grid-template-rows: repeat(3, 1fr);

}

.vbase {

  position: absolute;

  inset: 0;

  width: 100%;

  height: 100%;

  object-fit: cover;

  opacity: 0;

  z-index: 0;

  animation: mosaicBase 12s cubic-bezier(.4, 0, .2, 1) infinite;

}

.vtile {

  position: relative;

  overflow: hidden;

  opacity: 0;

  z-index: 1;

  animation: mosaicTile 12s cubic-bezier(.4, 0, .2, 1) infinite;

  will-change: opacity, transform;

}

.vtile img {

  position: absolute;

  width: 400%;

  height: 300%;

  object-fit: cover;

}

/* each tile shows its own slice of the same photo */

.vtile:nth-child(2)  img { left: 0;     top: 0; }

.vtile:nth-child(3)  img { left: -100%; top: 0; }

.vtile:nth-child(4)  img { left: -200%; top: 0; }

.vtile:nth-child(5)  img { left: -300%; top: 0; }

.vtile:nth-child(6)  img { left: 0;     top: -100%; }

.vtile:nth-child(7)  img { left: -100%; top: -100%; }

.vtile:nth-child(8)  img { left: -200%; top: -100%; }

.vtile:nth-child(9)  img { left: -300%; top: -100%; }

.vtile:nth-child(10) img { left: 0;     top: -200%; }

.vtile:nth-child(11) img { left: -100%; top: -200%; }

.vtile:nth-child(12) img { left: -200%; top: -200%; }

.vtile:nth-child(13) img { left: -300%; top: -200%; }



/* the three mosaics take turns */

.vmosaic:nth-of-type(2) .vtile,

.vmosaic:nth-of-type(2) .vbase { animation-delay: 4s; }

.vmosaic:nth-of-type(3) .vtile,

.vmosaic:nth-of-type(3) .vbase { animation-delay: 8s; }



.vstage-scrim {

  position: absolute;

  inset: 0;

  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, .5) 100%);

  z-index: 2;

}

.vstage-caption {

  position: absolute;

  left: 32px;

  bottom: 28px;

  z-index: 3;

  color: var(--text-light);

  font-family: "Covered By Your Grace", cursive;

  font-size: 30px;

}

.vdots {

  position: absolute;

  right: 22px;

  top: 50%;

  transform: translateY(-50%);

  z-index: 3;

  display: flex;

  flex-direction: column;

  gap: 10px;

}

.vdot {

  width: 10px;

  height: 10px;

  border-radius: 999px;

  background: rgba(255, 255, 255, .45);

  border: none;

  padding: 0;

  animation: vDot 12s cubic-bezier(.4, 0, .2, 1) infinite;

}

.vdot:nth-of-type(2) { animation-delay: 4s; }

.vdot:nth-of-type(3) { animation-delay: 8s; }



@keyframes mosaicTile {

  0%        { opacity: 0; transform: scale(.82); }

  7%, 30%   { opacity: 1; transform: scale(1); }

  37%, 100% { opacity: 0; transform: scale(1.06); }

}

@keyframes mosaicBase {

  0%, 6%    { opacity: 0; }

  10%, 30%  { opacity: 1; }

  37%, 100% { opacity: 0; }

}

@keyframes vDot {

  0%, 7%, 30% { background: var(--surface); height: 26px; }

  37%, 100%   { background: rgba(255, 255, 255, .45); height: 10px; }

}



/* --- sand panel beside the mosaic --- */

.believe-panel {

  background: var(--surface-sand);

  padding: 56px 60px;

  position: relative;

  overflow: hidden;

  display: flex;

  flex-direction: column;

  justify-content: center;

}

.believe-panel .panel-watermark {

  position: absolute;

  right: -40px;

  bottom: -30px;

  width: 250px;

  opacity: .08;

  transform: rotate(-6deg);

  pointer-events: none;

}

.believe-panel .panel-body { max-width: 520px; position: relative; }

.believe-panel h3 {

  margin: 0 0 16px;

  font-size: 40px;

  line-height: 50px;

  font-weight: 700;

  color: var(--brand-ink);

}

.believe-panel p {

  margin: 0 0 26px;

  /*font-size: 16px;

  line-height: 1.8;*/

  color: #5f6a64;

}

.believe-call {

  display: flex;

  align-items: center;

  gap: 14px;

  margin-top: 30px;

}

.believe-call .call-ico {

  flex: none;

  width: 46px;

  height: 46px;

  border-radius: 50%;

  background: var(--brand-primary);

  color: var(--text-light);

  display: inline-flex;

  align-items: center;

  justify-content: center;

}

.believe-call .call-label { font-size: 12px; letter-spacing: .5px; color: #8a938e; }

.believe-call a {

  font-size: 18px;

  font-weight: 800;

  color: var(--brand-ink);

  text-decoration: none;

}

.believe-call a:hover { color: var(--brand-accent); }



/* --- rooted / marquee row --- */

/*.rooted-row { padding: 80px 0 0; }*/

.rooted-row h3 {

  margin: 0 0 20px;

  font-size: 40px;

  line-height: 1.22;

  font-weight: 700;

  color: var(--brand-ink);

  letter-spacing: -.3px;

}



.belief-strip {

  position: relative;

  overflow: hidden;

  padding: 28px 0 40px;

}

.belief-track {

  display: flex;

  gap: 18px;

  width: max-content;

  align-items: center;

  animation: beliefMarquee 34s linear infinite;

}

.belief-strip:hover .belief-track { animation-play-state: paused; }

.belief-circle {

  flex: none;

  width: 230px;

  height: 290px;

  border-radius: 14px;

  overflow: hidden;

  box-shadow: 0 2px 6px rgba(18, 59, 46, .05), 0 10px 22px rgba(18, 59, 46, .07), 0 26px 50px rgba(18, 59, 46, .06);

  transition: transform .5s var(--ease-out), box-shadow .5s ease;

}

.belief-circle:hover {

  transform: scale(1.06);

  box-shadow: 0 4px 10px rgba(18, 59, 46, .07), 0 16px 32px rgba(18, 59, 46, .1), 0 34px 64px rgba(18, 59, 46, .08);

}

.belief-circle img { width: 100%; height: 100%; object-fit: cover; }

.belief-fade {

  position: absolute;

  top: 0;

  bottom: 0;

  width: 80px;

  pointer-events: none;

}

.belief-fade.left  { left: 0;  background: linear-gradient(90deg, var(--surface) 0%, var(--surface) 18%, rgba(255, 255, 255, .7) 55%, rgba(255, 255, 255, 0) 100%); }

.belief-fade.right { right: 0; background: linear-gradient(270deg, var(--surface) 0%, var(--surface) 18%, rgba(255, 255, 255, .7) 55%, rgba(255, 255, 255, 0) 100%); }



@keyframes beliefMarquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 9px)); } }



/* ======= 06 OUR HERITAGE ======= */

.heritage-section {

  background: var(--surface-dark);

/*  padding: 96px 0;*/

  position: relative;

  overflow: hidden;

}

.heritage-section::before {

  content: "";

  position: absolute;

  inset: 0;

  background: radial-gradient(1200px 500px at 15% 0%, rgba(255, 255, 255, .05), rgba(255, 255, 255, 0) 60%);

}

.heritage-section .container { position: relative; }



.heritage-mark {

  display: flex;

  align-items: center;

  gap: 18px;

  margin-bottom: 20px;

}

.heritage-mark img { height: 58px; }

.heritage-mark .script-accent {

  color: var(--text-light);

  transform: rotate(-3deg);

  margin-bottom: 0;

}

.heritage-head {

  display: flex;

  align-items: flex-end;

  justify-content: space-between;

  gap: 40px;

  margin-bottom: 56px;

}

.heritage-head h2 {

  margin: 0 0 20px;

  /*font-size: 40px;

  line-height: 1.16;*/

  color: var(--text-light) !important;

  letter-spacing: -.5px;

}

.heritage-head p {

  margin: 0;

  /*font-size: 17px;

  line-height: 1.7;*/

  color: #a7b0ac;

  max-width: 660px;

}

.heritage-year {

  flex: none;

  text-align: right;

}

.heritage-year .year-big {

  font-size: 64px;

  font-weight: 800;

  color: rgba(255, 255, 255, .14);

  line-height: 1;

  letter-spacing: -1px;

}

.heritage-year .year-label {

  font-size: 12px;

  font-weight: 700;

  letter-spacing: 2px;

  color: var(--brand-mint);

  text-transform: uppercase;

}



.heritage-photo {

  position: relative;

  border-radius: 6px;

  overflow: hidden;

  min-height: 430px;

  height: 100%;

}

.heritage-photo img {

  position: absolute;

  inset: 0;

  width: 100%;

  height: 100%;

  object-fit: cover;

}

.heritage-photo .photo-scrim {

  position: absolute;

  inset: 0;

  background: linear-gradient(180deg, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, 0) 45%);

}

.heritage-photo .photo-badge {

  position: absolute;

  right: 26px;

  bottom: 26px;

  width: 96px;

  height: 96px;

  border-radius: 50%;

  background: #efefef;

  color: var(--surface-dark);

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  gap: 4px;

  font-size: 9.5px;

  font-weight: 700;

  letter-spacing: 1.2px;

  text-align: center;

  line-height: 1.4;

  text-decoration: none;

  text-transform: uppercase;

}

.heritage-photo .photo-badge:hover { background: var(--brand-mint); }



.heritage-copy p {

  margin: 0 0 30px;

  /*font-size: 16px;

  line-height: 1.9;*/

  color: #c9c9c9;

}

.heritage-fact {

  display: flex;

  align-items: center;

  gap: 18px;

  padding: 20px 0;

  border-top: 1px solid rgba(255, 255, 255, .18);

}

.heritage-fact .fact-value {

  flex: none;

  width: 88px;

  font-size: 33px;

  font-weight: 800;

  color: var(--brand-mint);

  letter-spacing: .5px;

  line-height: 1;

}

.heritage-fact .fact-title {

  font-size: 15px;

  font-weight: 700;

  color: var(--text-light);

  letter-spacing: .4px;

}

.heritage-fact .fact-sub {

  font-size: 12px;

  line-height: 1.5;

  letter-spacing: 1.2px;

  color: #9a9a9a;

  text-transform: uppercase;

  margin-top: 3px;

}

.heritage-fact .fact-title { line-height: 1.3; }

.heritage-facts-2 {

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 32px;

  padding: 20px 0;

  border-top: 1px solid rgba(255, 255, 255, .18);

}

.heritage-facts-2 .heritage-fact { border-top: 0; padding: 0; gap: 14px; }

.heritage-facts-2 .fact-value { width: 52px; font-size: 26px; }

.heritage-facts-2 .fact-title { font-size: 13px; }

.heritage-facts-2 .fact-sub { font-size: 11px; letter-spacing: 1px; }

.heritage-facts-2 .fact-dot {

  flex: none;

  width: 52px;

  display: flex;

  align-items: center;

  justify-content: center;

}

.heritage-facts-2 .fact-dot span {

  width: 13px;

  height: 13px;

  border-radius: 50%;

  background: var(--brand-mint);

}

.heritage-copy > .lightbtn {

  border-top: 1px solid rgba(255, 255, 255, .18);

  padding-top: 28px;

}



/* ======= 07 LEADERSHIP AND TEAM ======= */

.team-section { background: var(--surface-alt);  }

.team-strip {

  display: flex;

  gap: 16px;

  height: 460px;

  margin-bottom: 48px;

}

.team-panel {

  position: relative;

  flex: 1 1 0;

  border-radius: 8px;

  overflow: hidden;

  transition: flex-grow .6s var(--ease-out);

  min-width: 0;

}

.team-panel > img {

  position: absolute;

  inset: 0;

  width: 100%;

  height: 100%;

  object-fit: cover;

}

.team-panel .team-scrim {

  position: absolute;

  inset: 0;

  background: linear-gradient(180deg, rgba(9, 32, 27, .15) 25%, rgba(9, 32, 27, .95) 100%);

}

.team-collapsed {

  position: absolute;

  inset: 0;

  display: flex;

/*  align-items: center;*/

  justify-content: center;

  opacity: 1;

  transition: opacity .4s ease;

  bottom: 30px;

}

.team-collapsed span {

  writing-mode: vertical-rl;

  transform: rotate(180deg);

  font-size: 28px;

  font-weight: 700;

  letter-spacing: 2.5px;

  color: var(--text-light);

  white-space: nowrap;

}

.team-expanded {

  position: absolute;

  left: 32px;

  right: 32px;

  bottom: 34px;

  opacity: 0;

  transition: opacity .4s ease;

}

.team-panel.is-open .team-collapsed { opacity: 0; }

.team-panel.is-open .team-expanded { opacity: 1; }

.team-expanded .team-kicker {

  font-size: 16px;

  font-weight: 700;

  letter-spacing: 1.6px;

  color: var(--brand-mint);

  text-transform: uppercase;

}

.team-expanded h3 { margin: 0 0 10px; font-weight: 700; color: var(--text-light); }

.team-expanded p {

  margin: 0;

/*  font-size: 15px;*/

/*  line-height: 1.7;*/

  color: rgba(255, 255, 255, .9);

  max-width: 640px;

}



/* ======= 08 GET INVOLVED ======= */

.involve-band {

  position: relative;

  overflow: hidden;

/*  padding: 84px 0;*/

}

.involve-band > img {

  position: absolute;

  inset: 0;

  width: 100%;

  height: 100%;

  object-fit: cover;

}

.involve-band .band-scrim {

  position: absolute;

  inset: 0;

/*  background: linear-gradient(180deg, rgba(9, 32, 27, .45), rgba(9, 32, 27, .65));*/

}

.involve-band .container { position: relative; }

.involve-band .section-intro { margin-bottom: 0; }

.involve-band .section-intro h2 { color: var(--text-light); }

.involve-band .section-intro p { color: rgba(255, 255, 255, .95); }

.involve-band .btn-row { margin-top: 30px; }



/* ======= 09 PLAN YOUR VISIT ======= */

.plan-section { background: var(--surface);

 padding: 0px 0; }





/* ============================================================================

   about.css - RESPONSIVE

   Loaded after responsive.css, so these rules win for this page.

   ========================================================================= */



/* --- 1200-1399 --- */

@media(min-width: 1200px) and (max-width: 1399px) {

  .believe-panel { padding: 48px 44px; }

/*  .welcome-copy h2 { font-size: 35px; }*/

}



/* --- 992-1199 --- */

@media(min-width: 992px) and (max-width: 1199px) {

  .welcome-block { padding: 80px 0; }

  .welcome-inset { width: 175px; right: -18px; }

  .welcome-rail { left:-20px; }

  .whowe-band { min-height: 540px; }

  .whowe-copy h2 { font-size: 33px; }

  .flip { height: 360px; }

  .believe-panel { padding: 44px 36px; }

  .vstage { min-height: 470px; }

  .heritage-head h2 { font-size: 34px; }

  .heritage-year .year-big { font-size: 54px; }

  .team-strip { height: 420px; }

  .belief-circle { width: 200px; height: 250px; }

}



/* ==========================================================================

   BELOW 992px - TOUCH LAYOUT

   Everything that is revealed by :hover on desktop is permanently visible

   here. Touch devices have no hover, so a hover-only card would otherwise

   be invisible copy on a phone.

   ========================================================================= */

@media(max-width: 991px) {



  /* --- flip cards: stop flipping, stack front image over back copy --- */

  .flip { height: auto; perspective: none; }

  .flip-inner { transform: none !important; transform-style: flat; height: auto; }

  .flip-face {

    position: relative;

    inset: auto;

    backface-visibility: visible;

    -webkit-backface-visibility: visible;

  }

  .flip-face:not(.flip-back) { height: 240px; border-radius: 18px 18px 0 0; }

  .flip-front-body { gap: 10px; padding: 0 24px 26px; }

  .flip-front-body .flip-hint { display: none; }   /* nothing to hover for */

  .flip-back {

    transform: none;

    border-radius: 0 0 18px 18px;

    padding: 20px 20px;

    position: relative;

}



  /* --- team panels: stack as cards, every panel's copy on show --- */

  .team-strip {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 16px;

    height: auto;

    margin-bottom: 40px;

  }

  .team-panel { flex: none !important; height: 320px; }

  .team-collapsed { display: none; }

  .team-expanded { opacity: 1 !important; left: 15px; right: 15px; bottom: 20px;}

  .team-panel .team-scrim {

    background: linear-gradient(180deg, rgba(9, 32, 27, .25) 20%, rgba(9, 32, 27, .95) 100%);

  }



  /* --- believe split stacks --- */

  .believe-split { grid-template-columns: 1fr; }

  .vstage { min-height: 380px; }

  .believe-panel { padding: 50px 28px; }

  .believe-panel .panel-body { max-width: none; }



  /* --- heritage --- */

  .heritage-head { flex-direction: column; align-items: flex-start; gap: 20px; }

  .heritage-year { text-align: left; }

  .heritage-photo { min-height: 320px; margin-bottom: 32px; }

}



/* --- 768-991 --- */

@media(min-width: 768px) and (max-width: 991px) {

  .welcome-block { padding: 64px 0; }

  .welcome-stage { margin-bottom: 56px; }

  .welcome-inset { width: 160px; right: -10px; bottom: -30px; }

  .welcome-rail { left: -25px; }

  .welcome-copy h2 { font-size: 30px; }

  .whowe-band { min-height: 480px; }

  .whowe-band .container { padding-top: 64px; padding-bottom: 100px; }

  .whowe-copy h2 { font-size: 30px; }

  .whowe-band .spin-badge { display: none; }

  .whowe-section { padding-bottom: 64px; }

  .mission-band { padding: 72px 0; }

  .heritage-section { padding: 72px 0; }

  .heritage-head h2 { font-size: 31px; }

  .team-section { padding: 72px 0; }

  .belief-circle { width: 180px; height: 225px; }

/*  .plan-section { padding: 72px 0; }*/

  .believe-section { padding-top: 72px; }

}



/* --- 568-767 --- */

@media(min-width: 568px) and (max-width: 767px) {

  .welcome-block { padding: 56px 0; }

  .welcome-stage { margin-bottom: 48px; }

  .welcome-inset { width: 140px; right: 0; bottom: -26px; }

  .welcome-rail { display: none; }

  .welcome-copy h2 { font-size: 27px; }

  .welcome-copy p { font-size: 16px; }

  .whowe-band { min-height: 420px; }

  .whowe-band .container { padding-top: 56px; padding-bottom: 80px; }

  .whowe-copy h2 { font-size: 27px; }

  .whowe-band .spin-badge { display: none; }

  .whowe-section { padding-bottom: 56px; }

  .whowe-note { margin-top: 44px; font-size: 15px; }

  .mission-band { padding: 60px 0; }

  .believe-section { padding-top: 60px; }

  .rooted-row { padding-top: 56px; }

  .rooted-row h3 { font-size: 26px; }

  .heritage-section { padding: 60px 0; }

  .heritage-head h2 { font-size: 27px; }

  .heritage-year .year-big { font-size: 46px; }

  .heritage-facts-2 { grid-template-columns: 1fr; gap: 20px; }

  .team-section { padding: 60px 0; }

  .team-strip { grid-template-columns: 1fr; }

  .team-panel { height: 300px; }

  .belief-circle { width: 165px; height: 205px; }

  .involve-band { padding: 60px 0; }

  .plan-section { padding: 60px 0; }

  .vstage-caption { font-size: 25px; left: 20px; }

}



/* --- 320-567 --- */

@media(min-width: 320px) and (max-width: 567px) {

  .welcome-block { padding: 48px 0; }

  .welcome-stage { margin-bottom: 44px; }

  .welcome-inset { width: 120px; right: 0; bottom: -24px; border-width: 4px; }

  .welcome-inset img { height: 92px; }

  .welcome-rail { display: none; }

  .welcome-copy h2 { font-size: 24px; }

  .welcome-copy p { font-size: 15px; }

  .welcome-figures { gap: 20px; }

  .whowe-band { min-height: 380px; }

  .whowe-band .container { padding-top: 50px; padding-bottom: 50px; }

  .whowe-copy h2 { font-size: 24px; }

  .whowe-band .spin-badge { display: none; }

  .whowe-section { padding-bottom: 48px; }

  .whowe-note { margin-top: 36px; font-size: 15px; }

  .mission-band { padding: 52px 0; }

  .flip-face:not(.flip-back) { height: 200px; }

  .flip-front-body h3 { font-size: 19px; }

  .believe-section { padding-top: 52px; }

  .vstage { min-height: 300px; }

  .vstage-caption { font-size: 22px; left: 16px; bottom: 20px; }

  .vdots { right: 14px; }

  .believe-panel { padding: 50px 20px; }

  .believe-panel h3 { font-size: 22px; line-height: 30px;}

  .believe-call { gap: 12px; }

  .believe-call a { font-size: 16px; }

  .rooted-row { padding-top: 48px; }

  .rooted-row h3 { font-size: 23px; }

  .belief-circle { width: 140px; height: 175px; }

  .belief-fade { width: 40px; }

  .heritage-section { padding: 52px 0; }

  .heritage-mark img { height: 44px; }

  .heritage-head { margin-bottom: 36px; }

  .heritage-head h2 { font-size: 24px; }

  .heritage-head p { font-size: 15px; }

  .heritage-year .year-big { font-size: 40px; }

  .heritage-photo { min-height: 260px; }

  .heritage-photo .photo-badge { width: 78px; height: 78px; right: 16px; bottom: 16px; }

  .heritage-facts-2 { grid-template-columns: 1fr; gap: 18px; }

  .heritage-fact .fact-value { width: 70px; font-size: 25px; }

  .team-section { padding: 52px 0; }

  .team-strip { grid-template-columns: 1fr; margin-bottom: 32px; }

  .team-panel { height: 270px; }

  .team-expanded { left: 20px; right: 20px; bottom: 24px; }

  .team-expanded h3 { font-size: 20px; }

  .involve-band { padding: 52px 0; }

/*  .plan-section { padding: 52px 0; }*/

}



/* --- reduced motion: the marquee and mosaic must not keep moving --- */

@media (prefers-reduced-motion: reduce) {

  .belief-track { animation: none; }

  /* the rail becomes natively scrollable instead of drifting */

  .belief-strip { overflow-x: auto; }

  .belief-fade { display: none; }

  .vtile, .vbase, .vdot { animation: none; }

  .vmosaic:not(:first-of-type) { display: none; }   /* show one, not mid-fade */

  .vmosaic:first-of-type .vtile,

  .vmosaic:first-of-type .vbase { opacity: 1; transform: none; }

  .flip-inner { transition: none; }

  .flip-front-body .flip-ico { animation: none; }

  .team-panel { transition: none; }

  .welcome-stage .welcome-slide { transition: none; }

}





/* ---- team panel widths (state classes toggled by js/inner-pages.js) ---- */

.team-panel { flex-grow: 1; }                    /* CONFIG.teamPanels.idleGrow */

.team-panel.is-open { flex-grow: 3.4; }          /* CONFIG.teamPanels.activeGrow */

/* below the breakpoint the panels are a stacked grid - no growing at all */

@media(max-width: 991px) {

  .team-panel,

  .team-panel.is-open { flex-grow: 0; }

}

