/* Backstage Systems — no scenery hidden */
:root {
  --ink: #171515;
  --ivory: #f1ecdf;
  --paper: #faf6eb;
  --burgundy: #6d2332;
  --burgundy-dark: #46141f;
  --cyan: #45dce7;
  --muted: #9b9385;
  --line: rgba(23, 21, 21, .22);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--ivory); font-family: var(--sans); }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 100; top: 1rem; left: 1rem; padding: .8rem 1rem; background: var(--cyan); color: var(--ink); font-weight: 700; transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.masthead { height: 76px; padding: 0 clamp(1.25rem, 4vw, 4.5rem); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(241,236,223,.3); background: var(--burgundy-dark); color: var(--ivory); position: relative; z-index: 20; }
.wordmark { display: flex; align-items: center; gap: .7rem; text-decoration: none; font-family: var(--serif); font-size: 1.05rem; }
.wordmark-mark { color: var(--cyan); font-size: 1.3rem; }
.masthead nav { display: flex; gap: clamp(1rem, 3vw, 2.8rem); }
.masthead nav a { color: inherit; text-decoration: none; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }
.masthead nav a:hover { color: var(--cyan); }

.hero { min-height: calc(100vh - 76px); overflow: hidden; position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); align-items: center; gap: 5vw; padding: clamp(4rem, 9vw, 8rem) clamp(1.25rem, 7vw, 8rem); background: var(--burgundy); color: var(--ivory); }
.hero:after { content: ""; position: absolute; height: 1px; left: 4vw; right: 4vw; bottom: 7%; background: rgba(241,236,223,.35); }
.curtain { position: absolute; inset-block: 0; width: 29%; pointer-events: none; opacity: .24; background: repeating-linear-gradient(90deg, transparent 0 13%, rgba(20,0,5,.8) 14%, transparent 28%); }
.curtain-left { left: 0; }
.curtain-right { right: 0; transform: scaleX(-1); }
.hero-copy { position: relative; z-index: 2; }
.eyebrow, .section-number, .panel-label { margin: 0 0 1.7rem; font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow:before { content: ""; display: inline-block; width: 2.7rem; height: 1px; background: var(--cyan); vertical-align: middle; margin-right: .8rem; }
h1 { margin: 0; max-width: 9ch; font: normal clamp(4.3rem, 10vw, 10rem)/.76 var(--serif); letter-spacing: -.075em; text-wrap: balance; }
.hero-role { max-width: 33rem; margin: 2.25rem 0; font: italic clamp(1.1rem, 2vw, 1.65rem)/1.35 var(--serif); color: #e7ddcb; }
.cue-link { display: inline-flex; align-items: center; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--cyan); text-decoration: none; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.cue-link span { padding: .35rem .5rem; color: var(--ink); background: var(--cyan); font-weight: bold; }
.cue-link b { transition: transform .2s; }
.cue-link:hover b { transform: translateY(4px); }
.portrait-wrap { z-index: 2; width: min(100%, 440px); margin: 0 auto; position: relative; }
.portrait-wrap:before { content: ""; position: absolute; inset: -13% -20%; border-radius: 50%; background: radial-gradient(circle, rgba(69,220,231,.18), transparent 64%); }
.portrait-wrap img { width: 100%; max-height: 62vh; aspect-ratio: 4/5; display: block; object-fit: cover; position: relative; filter: saturate(.72) contrast(1.05); border: 1px solid rgba(241,236,223,.4); }
.portrait-wrap figcaption { position: relative; display: flex; justify-content: space-between; border-top: 4px solid var(--cyan); padding-top: .6rem; font: italic 1rem var(--serif); }
.portrait-wrap figcaption span { font: bold .6rem var(--sans); letter-spacing: .15em; text-transform: uppercase; }
.focus-marks i { position: absolute; width: 24px; height: 24px; z-index: 3; border-color: var(--cyan); border-style: solid; }
.focus-marks i:nth-child(1) { left: -10px; top: -10px; border-width: 2px 0 0 2px; }
.focus-marks i:nth-child(2) { right: -10px; top: -10px; border-width: 2px 2px 0 0; }
.focus-marks i:nth-child(3) { right: -10px; bottom: 25px; border-width: 0 2px 2px 0; }
.focus-marks i:nth-child(4) { left: -10px; bottom: 25px; border-width: 0 0 2px 2px; }
.stage-coordinate { position: absolute; right: 2vw; bottom: 3%; color: var(--cyan); font: .6rem/1.3 monospace; }

.overture { max-width: 1440px; margin: auto; padding: clamp(5rem, 10vw, 10rem) clamp(1.25rem, 7vw, 8rem); display: grid; grid-template-columns: 1fr 1fr; gap: 10vw; align-items: start; }
.overture h2, .company > header h2 { margin: 0; font: normal clamp(2.7rem, 5vw, 5.8rem)/.95 var(--serif); letter-spacing: -.045em; }
.overture h2 em { color: var(--burgundy); font-weight: normal; }
.summary { border-top: 1px solid var(--ink); padding-top: 1.5rem; font: clamp(1.1rem, 1.5vw, 1.35rem)/1.65 var(--serif); }
.summary p:first-child { margin-top: 0; }
.summary p:last-child { margin-bottom: 0; }

.productions { background: var(--ink); color: var(--ivory); }
.production-header { min-height: 50vh; display: flex; align-items: end; justify-content: space-between; gap: 2rem; padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 7vw, 8rem) 3rem; background: linear-gradient(120deg, #111 62%, #231f1d); border-bottom: 1px solid #48423c; }
.section-number.light { color: var(--cyan); }
.production-header h2, .reviews h2 { margin: 0; font: normal clamp(3.5rem, 9vw, 9rem)/.8 var(--serif); letter-spacing: -.07em; }
.view-switch { display: flex; align-items: center; border: 1px solid #5a544e; padding: .3rem; white-space: nowrap; }
.switch-label { margin: 0 1rem; font-size: .6rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.view-switch button { border: 0; padding: .8rem 1rem; background: transparent; color: var(--ivory); cursor: pointer; font: bold .68rem var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.view-switch button[aria-pressed="true"] { background: var(--cyan); color: var(--ink); }
.production { border-bottom: 1px solid #4c4640; }
.title-scene { min-height: 44vh; display: grid; grid-template-columns: 110px 1fr auto; align-items: center; gap: 2rem; padding: 4rem clamp(1.25rem, 7vw, 8rem); position: relative; overflow: hidden; }
.production:nth-child(even) .title-scene { background: var(--burgundy-dark); }
.production:nth-child(odd) .title-scene { background: #201e1c; }
.title-scene:after { content: ""; position: absolute; width: 35vw; height: 35vw; max-width: 490px; max-height: 490px; right: 8%; border: 1px solid rgba(69,220,231,.22); border-radius: 50%; box-shadow: 0 0 0 4vw rgba(69,220,231,.025), 0 0 0 8vw rgba(69,220,231,.025); }
.scene-index, .scene-date { z-index: 1; font-size: .62rem; font-weight: bold; letter-spacing: .13em; text-transform: uppercase; color: var(--cyan); }
.scene-title { position: relative; z-index: 1; }
.scene-title h3 { margin: 0; font: normal clamp(3.5rem, 8vw, 8rem)/.83 var(--serif); letter-spacing: -.06em; }
.scene-title p { margin: 1.25rem 0 0 .35rem; font: italic clamp(1rem, 1.6vw, 1.35rem) var(--serif); color: #c8c0b4; }
.scene-date { align-self: end; text-align: right; }
.production-notes { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); color: var(--ink); }
.panel { padding: clamp(3rem, 6vw, 6rem) clamp(1.25rem, 5vw, 5rem); }
.panel + .panel { border-left: 1px dashed #a49b8b; background: #e6dfd1; }
.panel-label { color: var(--burgundy); }
.panel-label span { color: var(--cyan); text-shadow: 0 0 0 var(--ink); margin-right: .5rem; }
.panel h4 { margin: 0 0 2.5rem; font: normal clamp(2rem, 3vw, 3.2rem)/1 var(--serif); }
.achievements { list-style: none; padding: 0; margin: 0; }
.achievements li { padding: 1rem 0 1rem 2rem; border-top: 1px solid var(--line); position: relative; font: 1rem/1.55 var(--sans); }
.achievements li:before { content: "→"; position: absolute; left: 0; color: var(--burgundy); }
.company-link { display: inline-block; margin-top: 2rem; font-size: .72rem; font-weight: bold; text-transform: uppercase; letter-spacing: .1em; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.tech-list { padding: 0; margin: 0; list-style: none; border-top: 2px solid var(--ink); }
.tech-list li { display: grid; grid-template-columns: 3.5rem 1fr; padding: .8rem 0; border-bottom: 1px solid var(--line); font: bold .8rem var(--sans); letter-spacing: .03em; }
.tech-list li span { color: var(--burgundy); font: .65rem monospace; }
.cable { height: 50px; margin-top: 2rem; position: relative; overflow: hidden; }
.cable span { position: absolute; top: 20px; width: 75%; height: 30px; border-top: 2px solid var(--burgundy); border-radius: 50%; }
.cable span:first-child { left: -10%; transform: rotate(2deg); }
.cable span:last-child { right: -15%; transform: rotate(-4deg); border-color: var(--cyan); }
.js-ready .production-notes { grid-template-columns: 1fr; }
.js-ready .panel { grid-area: 1 / 1; transition: opacity .35s ease, visibility .35s ease; }
.js-ready .panel + .panel { border-left: 0; }
.js-ready.mode-stage .backstage-panel,
.js-ready.mode-backstage .stage-panel { opacity: 0; visibility: hidden; pointer-events: none; }
.js-ready.mode-stage .stage-panel,
.js-ready.mode-backstage .backstage-panel { opacity: 1; visibility: visible; }

.company { max-width: 1440px; margin: auto; padding: clamp(5rem, 10vw, 10rem) clamp(1.25rem, 7vw, 8rem); }
.company > header { display: grid; grid-template-columns: 1fr 2fr; align-items: end; padding-bottom: 4rem; border-bottom: 2px solid var(--ink); }
.company-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10vw; }
.company-grid > section { padding-top: 3rem; }
.company-grid h3 { margin: 0 0 2rem; color: var(--burgundy); font-size: .68rem; text-transform: uppercase; letter-spacing: .18em; }
.credentials article { position: relative; margin: 0 0 3rem; padding-left: 2.6rem; }
.credentials h4 { margin: 0 0 .4rem; font: normal 1.6rem var(--serif); }
.credentials p { margin: 0; color: #676157; }
.stage-mark { position: absolute; left: 0; top: -.3rem; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border: 1px solid var(--burgundy); border-radius: 50%; color: var(--burgundy); }
.skill-cues { margin: 0; padding: 0; list-style: none; counter-reset: skills; }
.skill-cues li { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.skill-cues span { font: .6rem monospace; color: var(--burgundy); text-transform: uppercase; }
.skill-cues strong { font: normal clamp(1.4rem, 2.2vw, 2.2rem) var(--serif); text-align: right; }

.reviews { padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 7vw, 8rem); background: var(--burgundy-dark); color: var(--ivory); overflow: hidden; }
.reviews header { display: flex; align-items: end; justify-content: space-between; padding-bottom: 4rem; border-bottom: 1px solid rgba(241,236,223,.3); }
.reviews h2 { font-size: clamp(3.3rem, 7vw, 7rem); }
.review-track { display: grid; grid-template-columns: repeat(2, 1fr); }
.review-track figure { margin: 0; min-height: 350px; padding: clamp(2rem, 4vw, 4rem); border-right: 1px solid rgba(241,236,223,.25); border-bottom: 1px solid rgba(241,236,223,.25); display: flex; flex-direction: column; justify-content: space-between; }
.review-track blockquote { margin: 0; font: normal clamp(1.3rem, 2vw, 2rem)/1.35 var(--serif); }
.review-track figcaption { display: flex; flex-direction: column; gap: .4rem; margin-top: 2rem; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.review-track figcaption span { color: var(--cyan); }

.contact { min-height: 75vh; padding: clamp(5rem, 10vw, 10rem) clamp(1.25rem, 7vw, 8rem) 3rem; display: flex; flex-direction: column; justify-content: center; position: relative; background: var(--cyan); }
.contact h2 { margin: 0; font: normal clamp(4rem, 11vw, 11rem)/.78 var(--serif); letter-spacing: -.075em; }
.contact-links { display: flex; gap: 3rem; margin-top: 4rem; }
.contact-links a { padding-bottom: .5rem; border-bottom: 2px solid var(--ink); font-size: .8rem; font-weight: bold; text-decoration: none; letter-spacing: .04em; }
.end-mark { display: flex; align-items: center; gap: 1rem; position: absolute; right: 7vw; bottom: 3rem; font: bold .6rem monospace; letter-spacing: .15em; }
.end-mark span { display: block; width: 25px; height: 1px; background: var(--ink); }
footer { display: flex; justify-content: space-between; padding: 1.5rem clamp(1.25rem, 7vw, 8rem); background: var(--ink); color: var(--ivory); font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; }
footer a { text-underline-offset: 4px; }

@media (max-width: 780px) {
  .masthead nav a:not(:last-child) { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 4rem; }
  .hero-copy { order: 1; }
  .portrait-wrap { order: 2; width: min(80vw, 390px); margin-top: 2rem; }
  .overture, .company-grid { grid-template-columns: 1fr; }
  .production-header { align-items: flex-start; flex-direction: column; min-height: 45vh; }
  .production-header h2 { font-size: clamp(3.4rem, 16vw, 6rem); }
  .title-scene { grid-template-columns: 1fr; align-content: center; gap: 1.2rem; }
  .scene-date { align-self: auto; text-align: left; }
  .production-notes { grid-template-columns: 1fr; }
  .panel + .panel { border-left: 0; border-top: 1px dashed #a49b8b; }
  .company > header { grid-template-columns: 1fr; gap: 1rem; }
  .review-track { grid-template-columns: 1fr; }
  .review-track figure { min-height: 300px; }
  .reviews header { display: block; }
  .contact-links { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
