/* FACHS International College of Business & Technology holding page (site not live yet). Same design as the School holding
   page: logo, spaced capitals, one note, phone and email, Team login, on white with fine stripes. Colours come from brand.css.
   Designed and developed by FTK Technologies, ftktechnologies@gmail.com */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body.holding {
  min-height: 100vh;
  min-height: 100svh;
  background-color: var(--fachs-white);
  overflow-x: hidden;
  font-family: var(--fachs-font-head);
  color: var(--fachs-night-900);
}
/* Fine diagonal stripes drifting slowly; 36.77px across = two 26px periods, so the loop is seamless. */
body.holding::before {
  content: "";
  position: fixed;
  inset: -80px;
  z-index: -2;
  pointer-events: none;
  background: repeating-linear-gradient(135deg, var(--fachs-night-50) 0 2px, transparent 2px 26px);
  animation: holding-drift 14s linear infinite;
}
/* Soft night glow from both bottom corners, breathing gently. */
body.holding::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60% 55% at 0% 100%, var(--fachs-night-50), transparent 70%),
    radial-gradient(60% 55% at 100% 100%, var(--fachs-night-50), transparent 70%);
  animation: holding-breathe 9s ease-in-out infinite alternate;
}
@keyframes holding-drift { to { transform: translate(36.77px, 36.77px); } }
@keyframes holding-breathe { from { opacity: .55; } to { opacity: 1; } }
.stage {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: clamp(1.25rem, 4vh, 2.25rem);
  padding: 1rem;
}
.admin-bar .stage { min-height: calc(100svh - var(--wp-admin--admin-bar--height, 32px)); }
/* The logo sits in a fixed frame at its own 1200:458 ratio. */
.stage__logo { margin: 0; line-height: 0; width: 100%; min-width: 0; display: flex; justify-content: center; }
.stage__frame { display: block; width: min(34rem, 82vw); max-width: 100%; aspect-ratio: 1200 / 458; animation: holding-rise 1.2s cubic-bezier(.2, .7, .2, 1) both; }
.stage__frame img { display: block; width: 100%; height: 100%; object-fit: contain; }
@keyframes holding-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
/* The one animated element: the logo's own rule under COLLEGE. A short crimson stroke travels along it, slowly and then rests,
   the way the crest's crimson quarters pick up the navy. Positions are percentages of the 1200 x 458 logo (rule at x 515 to 884, y 328 to 330). */
.stage__frame { position: relative; }
.stage__rule { position: absolute; left: 42.917%; top: 71.616%; width: 30.833%; height: 0.655%; overflow: hidden; display: block; }
.stage__rule::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 22%; background: var(--fachs-crimson-600); transform: translateX(-100%); animation: holding-sweep 6s cubic-bezier(.45, 0, .25, 1) 1.4s infinite; }
@keyframes holding-sweep { 0% { transform: translateX(-100%); } 45%, 100% { transform: translateX(455%); } }
.credit { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.stage__title, .stage__note, .stage__contact {
  margin: 0;
  text-align: center;
  color: var(--fachs-night-900);
  animation: holding-rise 1.2s .3s cubic-bezier(.2, .7, .2, 1) both;
}
.stage__title {
  font-weight: 600;
  font-size: clamp(.85rem, .78rem + .35vw, 1.05rem);
  line-height: 1.3;
  letter-spacing: .28em;
  text-transform: uppercase;
  padding-left: .28em;
}
.stage__note { max-width: 32rem; font-size: clamp(.95rem, .9rem + .2vw, 1.05rem); line-height: 1.55; color: var(--fachs-night-900); margin-top: -.5rem; }
.stage__note p { margin: 0; }
.stage__contact { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.75rem; font-weight: 600; font-size: clamp(.95rem, .9rem + .2vw, 1.05rem); }
.stage__contact a { color: var(--fachs-night-900); text-decoration: none; border-bottom: 1px solid var(--fachs-night-200); padding-bottom: 2px; }
.stage__contact a:hover { border-bottom-color: var(--fachs-crimson-600); }
.stage a:focus-visible { outline: 2px solid var(--fachs-crimson-600); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) { .stage__frame, .stage__title, .stage__note, .stage__contact, .stage__rule::after, body.holding::before, body.holding::after { animation: none; } }

/* Team login (17 Nov 2026): one outline button under the contact line, and a shared-password box (inc/lock.php). */
.stage__team { margin: 0; }
.stage__team .btn { font-family: var(--fachs-font-body); }
.team-dialog { width: min(100% - 32px, 24rem); margin: auto; padding: clamp(1.4rem, 3vw, 2rem); border: 0; border-radius: var(--fachs-radius); background: var(--fachs-white); color: var(--fachs-ink); font-family: var(--fachs-font-body); text-align: left; }
.team-dialog::backdrop { background: rgba(12, 19, 39, .72); }
.team-form { display: grid; gap: .45rem; }
.team-form h2 { margin: 0 0 .2rem; font-family: var(--fachs-font-head); font-size: var(--fachs-font-size-x-large); color: var(--fachs-navy-900); }
.team-form p { margin: 0 0 .6rem; font-size: var(--fachs-font-size-small); color: var(--fachs-night-700); }
.team-form label { font-weight: 600; font-size: var(--fachs-font-size-small); color: var(--fachs-navy-900); }
.team-form input { width: 100%; padding: .7rem .8rem; border: 1px solid var(--fachs-night-400); border-radius: var(--fachs-radius); background: var(--fachs-white); color: var(--fachs-ink); font: var(--fachs-font-size-medium) var(--fachs-font-body); }
.team-form .team-form__status { margin: .2rem 0 0; font-weight: 600; color: var(--fachs-crimson-600); }
.team-form .team-form__status:empty { display: none; }
.team-form .team-form__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: .6rem 0 0; }
