/* Shared RTY landing styles: contact drawer, business footer, SimplWorks strip,
   atmospheric door art. Loaded by /, /boats, and /store. */

:root {
  --font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

/* ---- Atmospheric art ---- */
.door-art {
  position: absolute;
  left: 50%;
  bottom: 2%;
  transform: translateX(-50%);
  width: min(64%, 420px);
  max-height: 34%;
  object-fit: contain;
  opacity: 0.13;
  filter: saturate(0.75) contrast(0.88);
  -webkit-mask-image: radial-gradient(70% 68% at 50% 52%, #000 38%, transparent 72%);
  mask-image: radial-gradient(70% 68% at 50% 52%, #000 38%, transparent 72%);
  pointer-events: none;
}
@media (max-width: 767px) {
  .door-art { width: min(76%, 320px); max-height: 30%; bottom: 2%; opacity: 0.11; }
}

/* ---- Contact drawer ---- */
.cdrawer[hidden] { display: none; }
.cdrawer { position: fixed; inset: 0; z-index: 50; }
.cdrawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(36, 52, 66, 0.72);
}
.cdrawer-panel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(92vw, 440px);
  max-height: 88svh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 12px;
  padding: 28px 28px 32px;
  box-shadow: 0 12px 40px rgba(36, 52, 66, 0.5);
  font-family: var(--font-brand);
  color: var(--dark);
}
@media (prefers-reduced-motion: no-preference) {
  .cdrawer .cdrawer-panel { animation: cdrawer-in 180ms ease-out; }
  @keyframes cdrawer-in {
    from { opacity: 0; transform: translate(-50%, -48%); }
    to { opacity: 1; transform: translate(-50%, -50%); }
  }
}
.cdrawer-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--navy);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.cdrawer-close:hover { background: rgba(53, 74, 95, 0.08); }
.cdrawer-close:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.cdrawer-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  padding-right: 40px;
}

.cdrawer-options { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.copt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 20px;
  border: 1px solid rgba(53, 74, 95, 0.4);
  border-radius: 9999px;
  background: transparent;
  color: var(--navy);
  font-family: var(--font-brand);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}
.copt:hover { background: rgba(53, 74, 95, 0.06); border-color: var(--navy); }
.copt:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* ---- Subtle back button ---- */
.back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 28px;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid rgba(216, 227, 238, 0.22);
  border-radius: 9999px;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(216, 227, 238, 0.75);
  text-decoration: none;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}
.back:hover {
  background: rgba(216, 227, 238, 0.1);
  border-color: rgba(216, 227, 238, 0.45);
  color: #fff;
}
.back:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.back .arr { font-size: 0.95em; line-height: 1; }

/* ---- RTY business footer ---- */
.biz-footer {
  background: var(--dark);
  color: var(--wash);
  text-align: center;
  padding: 40px 24px 34px;
  font-family: var(--font-brand);
}
.biz-footer .biz-name {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
}
.biz-footer address {
  font-style: normal;
  margin-top: 10px;
  font-size: 0.9rem;
  line-height: 1.9;
}
.biz-contact {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 22px;
  border: 1px solid rgba(216, 227, 238, 0.3);
  border-radius: 9999px;
  background: rgba(216, 227, 238, 0.06);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}
.chip:hover {
  background: rgba(216, 227, 238, 0.16);
  border-color: rgba(216, 227, 238, 0.55);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
@media (prefers-reduced-motion: reduce) {
  .chip, .back { transition: none; }
  .chip:hover { transform: none; }
}
.chip:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.biz-footer .biz-desc {
  margin: 18px auto 0;
  max-width: 52ch;
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(216, 227, 238, 0.75);
}

/* ---- SimplWorks strip ---- */
.sw-strip {
  background: #ffffff;
  color: var(--navy);
  text-align: center;
  padding: 11px 16px;
  font-family: var(--font-brand);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  line-height: 1.5;
}
.sw-strip a {
  color: #9c7c38;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sw-strip a:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
