/* Hallmark · custom BackstageTP homepage · teal scenery, copper light · Commissioner */
/* The harbour keeps its framing while weather and water move within the scene. */
:root {
  --night: var(--plat-dark);
  --ink: var(--plat-ink);
  --ink-soft: var(--plat-ink-muted);
  --paper: var(--plat-paper);
  --lavender: var(--plat-mint);
  --lavender-light: var(--plat-mint-light);
  --violet: var(--plat-focus);
  --line: var(--plat-line);
  --stage-band: var(--plat-darker);
  --stage-shadow: #101b1a;
  --stage-shadow-strong: #101b1ae8;
  --stage-shadow-medium: #101b1ab8;
  --stage-shadow-faint: #101b1a40;
  --stage-clear: #101b1a00;
  --stage-rule: var(--plat-dark-line);
  --stage-copy: var(--plat-quiet-light);
  --stage-copy-light: var(--plat-quiet-light);
  --stage-focus: var(--plat-light-focus);
  --stage-underline: #c8dfc876;
  --home-copper-veil: #ffa14324;
  --home-amber-fade: #f7f5ec40;
  --home-veil-hero: #101b1af5;
  --practitioner-base: var(--plat-dark);
  --practitioner-accent: var(--plat-mint);
  --practitioner-paper: var(--plat-mint-light);
  --family-accent: var(--plat-amber);
  --family-paper: var(--plat-amber-light);
}

.site-footer { color: var(--paper); background: var(--plat-darker); border-color: var(--plat-dark-line); }
.hero :focus-visible, .invitation :focus-visible, .site-footer :focus-visible { outline-color: var(--plat-light-focus); }
.button-lavender { color: var(--plat-ink); background: var(--plat-mint); }
.button-lavender:hover { background: var(--plat-amber); }
.button-ink { background: var(--plat-dark); color: var(--paper); }
.button-ink:hover { background: var(--plat-focus); }
.light-link { color: var(--plat-quiet-light); text-decoration-color: var(--plat-amber); }
.light-link:hover { color: var(--plat-amber); }
.site-footer .footer-identity p { color: var(--plat-quiet-light); }

.overview-page .hero { overflow: clip; }
.overview-page .hero::after { background: linear-gradient(90deg, var(--stage-shadow) 0, var(--stage-shadow-strong) 23%, var(--stage-shadow-medium) 43%, var(--stage-clear) 70%), linear-gradient(0deg, var(--stage-shadow-medium), var(--stage-clear) 23%); }
.overview-page .hero-picture, .overview-page .hero-motion { width: 100%; height: calc(100% + 54px); inset: -27px 0; }
.overview-page .hero-picture img { object-position: 69% 52%; }
.overview-page .hero-description { color: var(--plat-quiet-light); }
.hero-light { position: absolute; z-index: -1; inset: 0 0 0 43%; opacity: 0; background: radial-gradient(ellipse at var(--panel-x, 64%) var(--panel-y, 50%), var(--home-copper-veil), var(--stage-clear) 46%); mix-blend-mode: screen; pointer-events: none; transition: opacity .4s var(--plat-motion); }
.overview-page .hero:hover .hero-light { opacity: 1; }
.harbour-map { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.harbour-marker { position: absolute; inset: var(--marker-y) auto auto var(--marker-x); display: grid; place-items: center; width: 43px; height: 43px; transform: translate(-50%, -50%); border: 1px solid var(--stage-underline); border-radius: 50%; color: var(--plat-paper); background: var(--stage-shadow-medium); pointer-events: auto; transition: background .2s, border-color .2s; }
.harbour-marker::before { content: ""; width: 12px; height: 12px; border: 1px solid var(--plat-amber); border-radius: 50%; background: var(--plat-amber); box-shadow: inset 0 0 0 3px var(--plat-dark); }
.harbour-marker span { position: absolute; inset: auto auto calc(100% + 9px) 50%; transform: translate(-50%, 5px); opacity: 0; text-wrap: nowrap; padding: 5px 9px; border-radius: 5px; background: var(--plat-dark); font-size: .875rem; font-weight: 670; pointer-events: none; transition: opacity .2s, transform .2s; }
.harbour-marker:hover, .harbour-marker:focus-visible { background: var(--plat-dark); border-color: var(--plat-amber); }
.harbour-marker:hover span, .harbour-marker:focus-visible span { opacity: 1; transform: translate(-50%, 0); }
.marker-cafe { --marker-x: 60%; --marker-y: 45%; }
.marker-chimes { --marker-x: 68%; --marker-y: 23%; }
.marker-stage { --marker-x: 76%; --marker-y: 49%; }
.overview-page .art-label { color: var(--paper); border-color: var(--stage-underline); background: var(--stage-shadow-medium); }
.overview-page .art-label:hover { background: var(--plat-dark); border-color: var(--plat-mint); }
.overview-page .art-label-icon { color: var(--plat-amber); background: var(--plat-dark-line); }
.overview-page .art-label small { color: var(--plat-quiet-light); }
.overview-page .motion-toggle:hover { border-color: var(--plat-amber); }

.worlds-section { background: var(--plat-mint-light); border-color: var(--plat-line); }
.home-classic-strip { display: grid; grid-template-columns: minmax(0, .72fr) repeat(2, minmax(0, 1fr)); align-items: center; gap: .75rem; margin-block: 1.25rem; }
.home-classic-strip h3 { margin: 0; font-size: clamp(1.1rem, 2.3vw, 1.8rem); }
.home-classic-strip a { display: grid; grid-template-columns: clamp(3rem, 9vw, 5.2rem) minmax(0, 1fr) 1rem; align-items: center; gap: .65rem; padding: .45rem .7rem .45rem .45rem; min-height: 3.4rem; border: 1px solid #a9bfae; border-radius: .82rem; background: #f5f7e9; color: #20382e; text-decoration: none; }
.home-classic-strip a:hover { border-color: #587f69; background: #e1ead6; }
.home-classic-strip img { width: 100%; height: 3.5rem; object-fit: cover; border-radius: .48rem; }
.home-classic-strip strong, .home-classic-strip small { display: block; line-height: 1.16; }
.home-classic-strip small { margin-block-start: .24rem; color: #476255; }
@media (max-width: 55rem) {
  .home-classic-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-classic-strip h3 { grid-column: 1 / -1; }
}
@media (max-width: 36rem) {
  .home-classic-strip { grid-template-columns: minmax(0, 1fr); }
}
.studio-desk { background: var(--plat-amber-light); color: var(--plat-ink); padding-block: clamp(38px, 7vw, 105px); }
.studio-desk-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); gap: clamp(22px, 6vw, 98px); align-items: center; }
.studio-desk-art { overflow: hidden; min-width: 0; border-radius: 2px 2px 38px 2px; background: var(--plat-dark); box-shadow: 0 18px 42px var(--plat-shadow); }
.studio-desk-art img { display: block; width: 100%; height: auto; aspect-ratio: 1.47; object-fit: cover; object-position: 58% 58%; transform: translateY(calc(var(--depth-y, 0px) * .26)) scale(1.07); }
.studio-desk-copy { min-width: 0; }
.studio-desk-copy h2 { margin: 0; font-size: clamp(2.3rem, 4.4vw, 5.2rem); line-height: .99; }
.studio-desk-copy p { max-width: 390px; margin-block: 13px 19px; color: var(--plat-ink-muted); font-size: clamp(1rem, 1.4vw, 1.16rem); }
.studio-desk-copy nav { display: grid; border-top: 1px solid var(--plat-control-line); }
.studio-desk-copy nav a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 53px; padding: 6px 7px 6px 0; border-bottom: 1px solid var(--plat-control-line); font-weight: 670; text-decoration: none; transition: padding .24s var(--plat-motion), color .24s, background .24s; }
.studio-desk-copy nav a:hover { padding-inline: 10px 3px; background: var(--plat-mint-light); color: var(--plat-focus); }
.studio-desk-copy svg { flex: 0 0 22px; width: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.studio-desk-copy a:focus-visible { outline-color: var(--plat-focus); }
.library-intro-links { width: min(100%, 360px); color: var(--ink-soft); font-size: clamp(1.03rem, 1.5vw, 1.22rem); }
.library-intro-links a { margin-top: 8px; color: var(--ink); }
.home-skills { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-top: 21px; padding-top: 16px; border-top: 1px solid var(--plat-line); }
.home-skills a { display: inline-flex; align-items: center; min-height: 39px; color: var(--ink-soft); text-underline-offset: 4px; }
.home-skills a:hover { color: var(--plat-focus); }
.home-skills strong { margin-right: 8px; font-weight: 720; }
.world-dialog-actions { margin-top: 22px; }
.world-dialog-actions .world-dialog-link { margin-top: 0; }
.family-section { background: var(--plat-amber-light); }
.family-art { background: var(--plat-dark); }
.family-art img { transform: translateY(calc(var(--depth-y, 0px) * .36)) scale(1.05); }
.audience-index a:hover { color: var(--plat-amber); }
.invitation { background: var(--plat-dark); }
.invitation::after { background: linear-gradient(90deg,var(--stage-shadow) 0,var(--stage-shadow-strong) 28%,var(--stage-shadow-faint) 68%,var(--stage-clear) 90%); }
.invitation-layout > p:not(.eyebrow) { color: var(--plat-quiet-light); }

@media (max-width: 920px) and (min-width: 761px) {
  .brand { font-size: 1.25rem; }
}
@media (max-width: 1030px) and (min-width: 701px) {
  .overview-page .hero-picture img { object-position: 100% 52%; }
}
@media (max-width: 1080px) {
  .harbour-map { display: none; }
}
@media (max-width: 700px) {
  .studio-desk-grid { grid-template-columns: minmax(0, 1fr); }
  .studio-desk-art img { aspect-ratio: 1.86; }
  .overview-page .hero {
    --harbour-top: clamp(320px, calc(425px - 18vw), 365px);
    min-height: calc(var(--harbour-top) + clamp(365px, 83vw, 510px));
  }
  .overview-page .hero::after { background: linear-gradient(180deg, var(--stage-shadow) 0 42%, var(--home-veil-hero) 48%, var(--stage-shadow-faint) 63%, var(--stage-clear) 78%); }
  .overview-page .hero-picture, .overview-page .hero-motion { inset: var(--harbour-top) 0 auto; height: calc(100% - var(--harbour-top) + 18px); }
  .overview-page .hero-picture, .overview-page .hero-motion { mask-image: linear-gradient(transparent, #000 clamp(22px, 8vw, 48px)); }
  .overview-page .hero-picture img { object-position: 90% 22%; }
  .hero-light { display: none; }
  .library-intro-links { width: min(100%, 530px); }
}
@media (max-width: 360px) {
  .overview-page .hero-picture img { object-position: 78% 22%; }
}
@media (prefers-reduced-motion: reduce) {
  .family-art img { transform: none; }
  .hero-light { display: none; }
  .studio-desk-art img { transform: none; }
  .studio-desk-copy nav a { transition: none; }
}
