/* Portia Plays: the studio pages (home, privacy, not found).
   Deliberately one theme: the studio mark is drawn on this navy, and the
   figure image sits on it with no seam. Every color comes from the mark. */
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/lora-regular.woff2) format('woff2'); }
@font-face { font-family: 'Lora'; font-style: italic; font-weight: 400; font-display: swap; src: url(/fonts/lora-italic.woff2) format('woff2'); }

:root {
  --navy: #192a44;        /* the mark's ground */
  --navy-deep: #111d31;
  --navy-raised: #20334f;
  --line: #2c4062;
  --gold: #dbba7f;        /* "Portia" */
  --gold-soft: #b8965f;
  --teal: #41a19f;        /* "Plays", and the laptop's light */
  --cream: #efe6d4;
  --mist: #a7b1c6;        /* navy-biased secondary text */
  --measure: 62ch;
  --gutter: clamp(16px, 5vw, 48px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--cream);
  font: 18px/1.65 'Lora', Georgia, 'Times New Roman', serif;
  text-rendering: optimizeLegibility;
}
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--cream); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--cream); color: var(--navy); padding: 8px 12px; }
.skip:focus { left: 8px; z-index: 10; }

/* the wordmark, set live in the mark's own face and colors */
.word { font-weight: 500; letter-spacing: 0.005em; white-space: nowrap; }
.word .p1 { color: var(--gold); }
.word .p2 { color: var(--teal); }
.llc {
  font: 500 11px/1 -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--mist); opacity: 0.8;
}

.top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px var(--gutter); max-width: 1180px; margin: 0 auto;
}
.top .word { font-size: 22px; text-decoration: none; }
.top nav { display: flex; gap: clamp(14px, 3vw, 28px); flex-wrap: wrap; justify-content: flex-end; }
.top nav a { color: var(--mist); text-decoration: none; font-size: 16px; }
.top nav a:hover, .top nav a[aria-current] { color: var(--cream); }

main { display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3 { font-weight: 500; line-height: 1.2; text-wrap: balance; margin: 0; }
h2 { font-size: clamp(26px, 3.4vw, 34px); }
.eyebrow {
  font: 600 12px/1 -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--teal); margin: 0 0 14px;
}

.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px;
  border-radius: 3px; font: 600 15px/1 -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  letter-spacing: 0.04em; text-decoration: none; border: 1px solid var(--gold); color: var(--navy); background: var(--gold);
}
.btn:hover { background: var(--cream); border-color: var(--cream); color: var(--navy); }
.btn.ghost { background: transparent; color: var(--gold); }
.btn.ghost:hover { color: var(--navy); background: var(--gold); }

footer {
  border-top: 1px solid var(--line); margin-top: 96px;
  padding: 28px var(--gutter) 40px; color: var(--mist); font-size: 15px;
}
footer .in { max-width: 1180px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: baseline; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a { color: var(--mist); }
footer a:hover { color: var(--cream); }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
