/* Quanta Orbis signature actions: asymmetric metal edges and inset arrow medallions. */
.home-page .cover-actions {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 16px;
  width: 100%;
  max-width: 620px;
}
.home-page .cover-actions > .film-link { grid-column: 1 / -1; justify-self: start; margin-top: 1px; }
:is(.home-page .cover-actions > .button, .home-page .contact-banner-action > .button),
.qo-entry-buttons button {
  --sa-edge: #d4bc8b;
  --sa-underside: #7e6946;
  --sa-inset: #fff0cb55;
  --sa-arrow-ink: #ead5ad;
  --sa-arrow-face: #173139;
  position: relative;
  isolation: isolate;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-sizing: border-box;
  border: 1px solid var(--sa-edge);
  border-radius: 23px 8px 29px 9px;
  color: #152a31;
  background: linear-gradient(112deg, #e0d0ac 0%, #c5ad80 55%, #d5c19a 100%);
  box-shadow: inset 0 1px 0 #fff6de88, 0 9px 20px #0208134d;
  font-family: var(--serif, Georgia, serif);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.015em;
  text-align: left;
  text-transform: none;
  text-decoration: none;
  cursor: pointer;
  transform: translateY(0);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, color .22s ease;
  -webkit-tap-highlight-color: transparent;
}
:is(.home-page .cover-actions > .button, .home-page .contact-banner-action > .button) { min-height: 66px; padding: 13px 14px 13px 22px; }
:is(.home-page .cover-actions > .button, .home-page .contact-banner-action > .button)::before,
.qo-entry-buttons button::before {
  content: '';
  position: absolute;
  inset: 3px;
  pointer-events: none;
  border: 1px solid var(--sa-inset);
  border-radius: 19px 5px 25px 6px;
}
:is(.home-page .cover-actions > .button, .home-page .contact-banner-action > .button)::after,
.qo-entry-buttons button::after {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
  left: 10px;
  right: 3px;
  bottom: -5px;
  height: 8px;
  border: 1px solid #c0a36c66;
  border-top: 0;
  border-radius: 0 0 20px 7px;
  background: var(--sa-underside);
  transform: skewX(-12deg);
  box-shadow: 0 5px 12px #0002;
}
:is(.home-page .cover-actions > .button, .home-page .contact-banner-action > .button) > .arrow,
.qo-entry-buttons button > span[aria-hidden="true"] {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  margin: 0 0 0 auto;
  border: 1px solid #162c354d;
  border-radius: 50%;
  color: var(--sa-arrow-ink);
  background: var(--sa-arrow-face);
  box-shadow: inset 0 1px 2px #0003, 0 1px 0 #f4e3bf55;
  font: 21px/1 var(--sans, Arial, sans-serif);
  letter-spacing: 0;
}
:is(.home-page .cover-actions > .button, .home-page .contact-banner-action > .button).outline,
.qo-entry-buttons button.qo-entry-secondary {
  --sa-edge: #b99f6f99;
  --sa-underside: #122c32;
  --sa-inset: #d2bb8b22;
  --sa-arrow-ink: #ddc8a2;
  --sa-arrow-face: #26413f99;
  color: #e2d5bc;
  background: radial-gradient(ellipse at 12% 0%, #50716424, transparent 72%), linear-gradient(115deg, #1a3438, #10222f 85%);
  box-shadow: inset 0 1px 0 #d9c79e18, 0 9px 20px #0208134d;
}
:is(.home-page .cover-actions > .button, .home-page .contact-banner-action > .button).outline > .arrow,
.qo-entry-buttons button.qo-entry-secondary > span[aria-hidden="true"] { border-color: #b99f6f66; box-shadow: inset 0 1px 0 #d7c29915; }
:is(.home-page .cover-actions > .button, .home-page .contact-banner-action > .button):focus-visible,
.qo-entry-buttons button:focus-visible {
  outline: 2px solid #f0d29a;
  outline-offset: 6px;
  box-shadow: 0 0 0 3px #0b1926, inset 0 1px 0 #fff5d955, 0 12px 24px #0005;
}
:is(.home-page .cover-actions > .button, .home-page .contact-banner-action > .button):active,
.qo-entry-buttons button:active { transform: translateY(2px); box-shadow: inset 0 1px 3px #0003, 0 4px 12px #0004; }

/* The opening keeps its compact vertical rhythm and full-width touch targets. */
.qo-entry-buttons { gap: 15px; align-items: stretch; }
.qo-entry-buttons button { flex: 1 1 0; height: 60px; min-height: 60px; max-height: 68px; padding: 11px 13px 11px 21px; font-size: 21px; line-height: 1.1; white-space: nowrap; }
.qo-entry-buttons button > span[aria-hidden="true"] { flex-basis: 32px; width: 32px; height: 32px; font-size: 20px; }

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  :is(.home-page .cover-actions > .button, .home-page .contact-banner-action > .button):hover,
  .qo-entry-buttons button:hover { transform: translateY(-3px); border-color: #ecd2a1; box-shadow: inset 0 1px 0 #fff4d666, 0 14px 27px #0005; }
  :is(.home-page .cover-actions > .button, .home-page .contact-banner-action > .button).outline:hover,
  .qo-entry-buttons button.qo-entry-secondary:hover { color: #f6e7c9; border-color: #dbc08b; background: radial-gradient(ellipse at 12% 0%, #6d8c762a, transparent 72%), linear-gradient(115deg, #25433f, #142a35 85%); }
}
@media (max-width: 700px) {
  .home-page .cover-actions { gap: 15px; }
  :is(.home-page .cover-actions > .button, .home-page .contact-banner-action > .button) { min-height: 64px; padding: 12px 13px 12px 19px; font-size: 20px; gap: 12px; }
}
@media (max-width: 600px) {
  .qo-entry-buttons { flex-direction: column; gap: 10px; }
  .qo-entry-buttons button { flex: 0 0 auto; width: 100%; height: 58px; min-height: 58px; max-height: 64px; padding: 11px 14px 11px 21px; font-size: 21px; }
}
@media (max-width: 520px) {
  .home-page .cover-actions { grid-template-columns: minmax(0, 1fr); gap: 15px; }
  :is(.home-page .cover-actions > .button, .home-page .contact-banner-action > .button) { min-height: 66px; font-size: 22px; padding: 13px 16px 13px 23px; gap: 15px; }
  .home-page .cover-actions > .film-link { grid-column: auto; margin-top: 0; }
}
@media (max-width: 360px) {
  :is(.home-page .cover-actions > .button, .home-page .contact-banner-action > .button) { font-size: 21px; padding-left: 20px; }
  .qo-entry-buttons button { font-size: 20px; padding-left: 18px; gap: 12px; }
}
@media (max-height: 700px) and (max-width: 600px) {
  .qo-entry-buttons { gap: 9px; }
  .qo-entry-buttons button { height: 56px; min-height: 56px; max-height: 56px; padding-top: 10px; padding-bottom: 10px; font-size: 20px; }
  .qo-entry-buttons button > span[aria-hidden="true"] { flex-basis: 30px; width: 30px; height: 30px; font-size: 19px; }
}
@media (max-height: 650px) and (min-width: 601px) {
  .qo-entry-buttons button { height: 56px; min-height: 56px; max-height: 56px; padding-block: 9px; font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  :is(.home-page .cover-actions > .button, .home-page .contact-banner-action > .button),
  .qo-entry-buttons button { transition: none; transform: none !important; }
}
html.no-motion :is(.home-page .cover-actions > .button, .home-page .contact-banner-action > .button),
html.no-motion .qo-entry-buttons button { transition: none; transform: none !important; }
@media (forced-colors: active) {
  :is(.home-page .cover-actions > .button, .home-page .contact-banner-action > .button),
  .qo-entry-buttons button { color: ButtonText; background: Canvas; border-color: ButtonText; box-shadow: none; }
  :is(.home-page .cover-actions > .button, .home-page .contact-banner-action > .button)::before, :is(.home-page .cover-actions > .button, .home-page .contact-banner-action > .button)::after,
  .qo-entry-buttons button::before, .qo-entry-buttons button::after { display: none; }
  :is(.home-page .cover-actions > .button, .home-page .contact-banner-action > .button) > .arrow,
  .qo-entry-buttons button > span[aria-hidden="true"] { color: ButtonText; background: Canvas; border-color: ButtonText; }
  :is(.home-page .cover-actions > .button, .home-page .contact-banner-action > .button):focus-visible,
  .qo-entry-buttons button:focus-visible { outline-color: Highlight; }
}
/* Preserve the metal face when earlier opening styles supply a hover fill. */
.qo-entry-buttons button.qo-entry-primary,
.qo-entry-buttons button.qo-entry-primary:hover { color: #152a31; background: linear-gradient(112deg, #e0d0ac 0%, #c5ad80 55%, #d5c19a 100%); }
@media (forced-colors: active) {
  .qo-entry-buttons button.qo-entry-primary,
  .qo-entry-buttons button.qo-entry-primary:hover { color: ButtonText; background: Canvas; }
}
