/* Components added in the multi-prototype build: demo bar, quick actions, statement band,
   services accordion, page wipe, hover details. Shared by all prototypes (colours come from tokens). */

/* ---------- Prototype bar ---------- */
/* Gentle cross-fade when the prototype changes */
main,
.site-header,
.site-footer {
  transition: opacity 0.35s;
}

/* ---------- Quick actions ---------- */
.quick {
  position: fixed;
  z-index: 45;
  display: flex;
  gap: 0.5rem;
  transform: translateY(140%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.7s var(--ease), opacity 0.4s;
}
.quick.is-on {
  transform: none;
  opacity: 1;
  pointer-events: auto;
}
.quick a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0 1.15rem;
  text-decoration: none;
  font: 600 0.7rem/1 var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: var(--navy-2);
  border: 1px solid var(--gold-line);
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.quick a:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.quick-call {
  background: var(--gold) !important;
  color: #030164 !important;
  border-color: var(--gold) !important;
}
.quick small {
  display: none;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
}
@media (min-width: 760px) {
  .quick {
    right: max(24px, env(safe-area-inset-right));
    bottom: 24px;
    box-shadow: 0 16px 40px rgba(1, 1, 40, 0.35);
  }
  .quick-mail {
    display: none !important;
  }
  .quick small {
    display: inline;
  }
}
@media (max-width: 759px) {
  .quick {
    inset: auto 0 0 0;
    gap: 0;
    padding: 0.5rem var(--gutter) calc(0.5rem + env(safe-area-inset-bottom));
    background: rgba(2, 1, 74, 0.96);
    border-top: 1px solid var(--gold-line);
  }
  .quick a {
    flex: 1;
    padding: 0 0.4rem;
    min-height: 46px;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
  }
  .site-footer {
    padding-bottom: calc(5.5rem + env(safe-area-inset-bottom)) !important;
  }
}

/* ---------- Statement band ---------- */
.statement {
  position: relative;
  overflow: hidden;
  background: var(--navy-2);
  color: #fff;
  text-align: center;
  padding-block: clamp(5rem, 3rem + 9vw, 10rem);
}
.statement::before,
.statement::after {
  content: '';
  position: absolute;
  left: 50%;
  width: 1px;
  height: clamp(2.5rem, 6vw, 5rem);
  background: var(--gold-line);
}
.statement::before {
  top: 0;
}
.statement::after {
  bottom: 0;
}
.statement-lead {
  margin: 0 0 1.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1rem + 7vw, 7.2rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
.st-word:nth-child(2) {
  color: var(--gold);
  font-style: italic;
}
.statement-sub {
  margin: 0 auto;
  max-width: 36rem;
  color: #cfd2f0;
  font-size: 1.05rem;
}

/* ---------- Services accordion ---------- */
.svc-lists {
  display: grid;
  gap: 0.5rem;
}
.svc {
  position: relative;
  border-bottom: 1px solid var(--gold-line);
}
.svc::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s var(--ease);
}
.svc:hover::after,
.svc.is-open::after {
  transform: scaleX(1);
}
.svc h3 {
  margin: 0;
  font: inherit;
}
.svc-btn {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) auto;
  align-items: baseline;
  column-gap: 1rem;
  width: 100%;
  padding: 1.5rem 0;
  background: none;
  border: 0;
  color: #fff;
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.svc-n {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold);
}
.svc-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.25rem + 1.5vw, 2.5rem);
  line-height: 1.1;
  transition: transform 0.7s var(--ease), color 0.4s;
}
.svc-btn:hover .svc-title,
.svc.is-open .svc-title {
  color: var(--gold);
}
.svc-btn:hover .svc-title {
  transform: translateX(8px);
}
.svc-btn svg {
  color: var(--gold);
  align-self: center;
}
.svc-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.6s var(--ease);
}
.svc.is-open .svc-body {
  grid-template-rows: 1fr;
}
.svc-body > div {
  overflow: hidden;
  padding-left: 4rem;
  visibility: hidden;
  transition: visibility 0s 0.6s;
}
.svc.is-open .svc-body > div {
  visibility: visible;
  transition-delay: 0s;
}
.svc-body p {
  margin: 0 0 1.6rem;
  max-width: 44ch;
  color: #c9ccee;
  font-size: 0.98rem;
}

/* ---------- Page wipe (used by the Noir prototype) ---------- */

/* ---------- Hover details ---------- */
.member-cap {
  position: absolute;
  inset: auto 0 0 0;
  display: grid;
  gap: 0.2rem;
  padding: 2.4rem 1.1rem 1rem;
  color: #fff;
  background: linear-gradient(transparent, rgba(1, 1, 40, 0.9));
  transform: translateY(101%);
  transition: transform 0.7s var(--ease);
}
.member-cap b {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1.1;
}
.member-cap span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.member-photo:hover .member-cap {
  transform: none;
}
@media (hover: none) {
  .member-cap {
    display: none;
  }
}
.contact-list a {
  text-decoration: none;
  background:
    linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat,
    linear-gradient(var(--gold-line), var(--gold-line)) 0 100% / 100% 1px no-repeat;
  transition: background-size 0.6s var(--ease), color 0.3s;
}
.contact-list a:hover {
  background-size: 100% 1px, 100% 1px;
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.footer-vcard {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding: 0.5rem 0;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--gold-line);
  color: #fff;
  font: 500 0.82rem/1 var(--font-body);
  cursor: pointer;
}
.footer-vcard:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* ---------- Prototype switcher: seven entries, dropdown on phones, loader replay ---------- */

/* ---------- Transition covers (page wipe, shutter slats) ---------- */

/* ---------- Marquee (only shown by 06 Monolith) ---------- */
