/* Elison Inc. — a playbill for the company's productions.
   Velvet curtain, bone paper, brass fittings. */

:root {
  --velvet: #3a0d14;
  --curtain: #4a141d;
  --pit: #1e070b;
  --bone: #f1e4d3;
  --dust: #c8b19c;
  --brass: #d9aa4f;

  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --serif: "Newsreader", Georgia, serif;

  --gutter: clamp(1rem, 4vw, 3rem);
  --wide: 76rem;
  --measure: 36rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; }

body {
  margin: 0;
  background: var(--velvet);
  color: var(--bone);
  font-family: var(--serif);
  font-size: clamp(1.0625rem, 0.4vw + 1rem, 1.25rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Faint vertical folds, like a stage curtain. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: repeating-linear-gradient(90deg,
    rgba(0, 0, 0, 0.16) 0, rgba(0, 0, 0, 0) 3.5rem,
    rgba(255, 255, 255, 0.025) 5.5rem, rgba(0, 0, 0, 0.16) 7rem);
}

a { color: inherit; text-decoration-color: rgba(217, 170, 79, 0.55); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--brass); text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.skip { position: absolute; left: -999px; top: 0.5rem; background: var(--bone); color: var(--pit); padding: 0.5rem 0.75rem; z-index: 20; }
.skip:focus { left: 0.5rem; }

/* Top bar */
.bar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem var(--gutter);
  background: rgba(58, 13, 20, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(241, 228, 211, 0.12);
}
.bar-mark { font-family: var(--display); font-weight: 900; font-size: 1.35rem; letter-spacing: 0.01em; text-decoration: none; }
.bar nav { display: flex; gap: clamp(0.85rem, 2.5vw, 2rem); font-size: 0.95rem; }
.bar nav a { text-decoration: none; color: var(--dust); }
.bar nav a:hover { color: var(--brass); }

/* Hero: the marquee */
.hero {
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 6rem) var(--gutter) clamp(3rem, 8vw, 7rem);
}

.marquee {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(5.5rem, 27vw, 22rem);
  line-height: 0.8;
  letter-spacing: -0.01em;
  color: var(--bone);
}
.marquee .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.marquee .line > span { display: inline-block; }
.marquee .line-2 { padding-left: 0.62em; color: var(--brass); }

/* The one orchestrated moment: the curtain goes up on the name. */
@media (prefers-reduced-motion: no-preference) {
  .marquee .line > span { animation: rise 1.1s cubic-bezier(0.2, 0.7, 0.1, 1) both; }
  .marquee .line-2 > span { animation-delay: 0.14s; }
  @keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
}

.hero-body {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  margin-top: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.lede { font-size: clamp(1.3rem, 1.2vw + 1rem, 1.85rem); line-height: 1.4; max-width: 30rem; }

.playing { border-top: 1px solid var(--brass); padding-top: 0.9rem; }
.playing h2 { font-weight: 400; font-style: italic; color: var(--brass); font-size: 1rem; margin-bottom: 0.6rem; }
.playing li + li { margin-top: 0.4rem; }
.playing a { text-decoration: none; }
.playing a::before { content: ""; display: inline-block; width: 0.45em; height: 0.45em; margin-right: 0.6em; border-radius: 50%; background: var(--brass); vertical-align: 0.15em; box-shadow: 0 0 0.6em rgba(217, 170, 79, 0.8); }

/* Sections */
.block {
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) var(--gutter);
  border-top: 1px solid rgba(241, 228, 211, 0.14);
}
.block-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.1rem, 1vw + 0.9rem, 1.5rem);
  letter-spacing: 0.02em;
  color: var(--dust);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.block-title + .block-note { margin-top: calc(-1 * clamp(0.75rem, 1.5vw, 1.25rem)); }
.block-note { color: var(--dust); max-width: var(--measure); margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }

/* The bill: each company is an act, set like a playbill cast list. */
.act { padding: clamp(1.25rem, 2.5vw, 2rem) 0; }
.act + .act { border-top: 1px solid rgba(241, 228, 211, 0.08); }
.act-head { display: flex; align-items: baseline; gap: 0.75rem; }
.act h3 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.4rem, 5vw + 1rem, 4.75rem);
  line-height: 0.95;
  letter-spacing: 0.005em;
}
.leader { flex: 1; min-width: 1.5rem; border-bottom: 2px dotted rgba(217, 170, 79, 0.5); transform: translateY(-0.35em); }
.status { color: var(--brass); font-style: italic; white-space: nowrap; }
.act p { max-width: var(--measure); margin-top: 0.75rem; color: var(--bone); }
.go { display: inline-block; margin-top: 0.75rem; color: var(--brass); font-weight: 500; }

.bill-small .act h3 { font-size: clamp(1.9rem, 3vw + 1rem, 3rem); }

/* Founder */
.founder-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.founder-name .name { font-family: var(--display); font-weight: 900; font-size: clamp(3.5rem, 8vw, 7rem); line-height: 0.85; }
.founder-name .role { margin-top: 1rem; color: var(--dust); font-style: italic; }
.founder-bio { max-width: var(--measure); }
.founder-bio p + p { margin-top: 1.1em; }
.links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 1.75rem; }

/* Contact */
.mail {
  display: inline-block;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(1.6rem, 6.2vw, 5.25rem);
  line-height: 1;
  overflow-wrap: anywhere;
  text-decoration-thickness: 3px;
  text-underline-offset: 0.12em;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding: 2rem var(--gutter);
  background: var(--pit);
  color: var(--dust);
  font-size: 0.95rem;
}

@media (max-width: 760px) {
  .hero-body, .founder-grid { grid-template-columns: 1fr; }
  .bar nav { gap: 0.9rem; font-size: 0.9rem; }
  .act-head { flex-wrap: wrap; row-gap: 0.25rem; }
  .act-head .leader { display: none; }
  .act-head .status { flex-basis: 100%; }
}

@media (max-width: 400px) {
  .bar-mark { font-size: 1.15rem; }
  .bar nav { gap: 0.7rem; font-size: 0.85rem; }
}
