/* cybill-troy.com : Marquee (theatre light sign) */
:root {
  --bg: #161a22;
  --panel: #1b202b;
  --panel-2: #202634;
  --neon: #d84a6a;
  --bulb: #e8c85a;
  --bulb-bright: #f2dd8e;
  --ink: #ece6da;
  --body: #d4cec2;
  --muted: #b9b2a6;
  --line: rgba(236, 230, 218, 0.14);
  --line-bulb: rgba(232, 200, 90, 0.30);
  --display: 'Neonderthaw', 'Brush Script MT', cursive;
  --text: 'Noticia Text', Georgia, 'Times New Roman', serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.6;
  background-image:
    radial-gradient(1100px 420px at 50% -120px, rgba(216, 74, 106, 0.10), transparent 70%),
    radial-gradient(900px 380px at 12% 12%, rgba(232, 200, 90, 0.05), transparent 72%);
  background-repeat: no-repeat;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bulb); }
h1, h2, h3 { color: var(--ink); font-weight: 700; line-height: 1.2; margin: 0 0 .6rem; }
p { margin: 0 0 1rem; }
.shell { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 22px; }

/* header ------------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--line-bulb);
}
.header-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .4rem 1.2rem; padding-top: .55rem; padding-bottom: .55rem;
}
.wordmark {
  font-family: var(--display);
  font-size: 2.1rem; line-height: 1;
  color: var(--bulb); text-decoration: none;
  text-shadow: 0 0 14px rgba(232, 200, 90, 0.35);
}
.wordmark:hover, .wordmark:focus-visible { color: var(--bulb-bright); }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem .95rem; }
.main-nav a {
  color: var(--ink); text-decoration: none;
  font-size: .95rem; letter-spacing: .02em;
  padding: .25rem 0;
  border-bottom: 1px solid transparent;
}
.main-nav a:hover, .main-nav a:focus-visible { color: var(--bulb); border-bottom-color: var(--bulb); }
.main-nav a[aria-current="page"] { color: var(--bulb-bright); border-bottom-color: var(--line-bulb); }

/* buttons: text contrast is fixed explicitly for both states --------------- */
.btn {
  display: inline-block;
  background: var(--bulb); color: #161a22;
  font-family: var(--text); font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  font-size: .82rem; line-height: 1;
  padding: .82rem 1.35rem;
  border: 1px solid rgba(22, 26, 34, 0.35);
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 0 0 1px rgba(232, 200, 90, 0.18), 0 6px 22px rgba(232, 200, 90, 0.14);
}
.btn:hover, .btn:focus-visible { background: var(--bulb-bright); color: #161a22; }
.btn-sm { padding: .62rem 1rem; font-size: .74rem; }
.main-nav a.btn { color: #161a22; border-bottom-color: transparent; }
.main-nav a.btn:hover, .main-nav a.btn:focus-visible { color: #161a22; border-bottom-color: transparent; background: var(--bulb-bright); }

/* ornaments --------------------------------------------------------------- */
.bulbs {
  height: 10px; width: 100%;
  background-image: radial-gradient(circle at 5px 5px, #e8c85a 0 2.4px, rgba(232, 200, 90, 0.45) 2.6px, rgba(232, 200, 90, 0) 4.6px);
  background-size: 19px 10px;
  background-repeat: repeat-x;
  opacity: .9;
}
svg.arch { display: block; }
.orn { opacity: .85; margin: .2rem 0 .7rem; }
.eyebrow {
  margin: 0 0 .45rem;
  color: var(--bulb);
  font-size: .78rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
}
.eyebrow .num { color: #e57a92; margin-right: .15rem; }

/* hero -------------------------------------------------------------------- */
.hero { padding: 2.9rem 0 2.2rem; }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.sign {
  position: relative;
  background: linear-gradient(180deg, #1c2331, #141926);
  border: 1px solid var(--line-bulb);
  border-radius: 12px;
  padding: 1.05rem 2.6rem 1.15rem;
  box-shadow: inset 0 0 42px rgba(232, 200, 90, 0.06), 0 14px 44px rgba(0, 0, 0, 0.45);
  max-width: 100%;
}
.sign .bulbs-top { position: absolute; top: -5px; left: 14px; right: 14px; width: auto; }
.sign .bulbs-bottom { position: absolute; bottom: -5px; left: 14px; right: 14px; width: auto; }
.sign-kicker {
  margin: 0 0 .1rem;
  color: var(--bulb);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .24em; text-transform: uppercase;
}
.sign-name {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.3rem, 7vw, 5rem);
  line-height: .95;
  color: var(--neon);
  text-shadow: 0 0 16px rgba(216, 74, 106, 0.55), 0 0 44px rgba(216, 74, 106, 0.30);
}
.sign-sub {
  margin: .1rem 0 0;
  color: var(--muted);
  font-size: .76rem; letter-spacing: .34em; text-transform: uppercase;
}
.hero-portrait { margin: 2.5rem 0 .1rem; position: relative; }
.hero-portrait .arch { position: absolute; left: 50%; transform: translateX(-50%); top: -50px; }
.hero-portrait img {
  width: auto; max-height: 356px; max-width: min(78vw, 340px);
  border: 1px solid var(--line-bulb);
  border-radius: 4px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55);
}
.hero-intro { max-width: 44rem; margin: 1.05rem 0 0; color: var(--body); }
.btn-hero { margin-top: 1.1rem; }

/* sections ---------------------------------------------------------------- */
.section { padding: 2.6rem 0; border-top: 1px solid var(--line); }
.section:first-of-type { border-top: 0; }
.section-partners { padding-top: 1.9rem; }
.section-last { padding-bottom: 3.2rem; }
.section-sub { color: var(--muted); max-width: 62ch; margin-bottom: 1.4rem; }
h2 { font-size: clamp(1.55rem, 2.5vw, 2.05rem); }

.partner-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.partner-card {
  width: 250px; height: 150px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.partner-card img { max-width: 100%; max-height: 100%; width: auto; height: auto; }
.partner-card:hover { border-color: var(--line-bulb); }

.profile-grid { display: grid; grid-template-columns: 1.35fr .95fr; gap: 2.2rem; align-items: start; }
.facts-list { margin: 0; }
.facts-list .fact {
  display: grid; grid-template-columns: minmax(9.5rem, 34%) 1fr; gap: .3rem 1.1rem;
  padding: .62rem 0; border-bottom: 1px dashed rgba(236, 230, 218, 0.13);
}
.facts-list dt {
  color: var(--bulb); font-size: .76rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; padding-top: .2rem;
}
.facts-list dd { margin: 0; color: var(--ink); }
.notes-h {
  margin: .1rem 0 .8rem; color: var(--ink);
  font-size: .8rem; letter-spacing: .2em; text-transform: uppercase;
}
.note { border-left: 2px solid var(--neon); padding: .1rem 0 .1rem .95rem; margin-bottom: 1.15rem; }
.note h3 { font-size: 1rem; margin-bottom: .25rem; color: var(--ink); }
.note p { margin: 0; color: var(--muted); font-size: .95rem; }

.about-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 2.4rem; align-items: start; }
.about-figure { margin: 0; }
.about-figure img {
  border: 1px solid var(--line-bulb);
  border-radius: 4px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}
.about-text p { color: var(--body); }
.quote {
  margin: 1.4rem 0 0; padding: 1.1rem 1.2rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--bulb);
  border-radius: 6px;
}
.quote p { color: var(--ink); font-style: italic; margin-bottom: .5rem; }
.quote cite { color: var(--muted); font-size: .85rem; font-style: normal; letter-spacing: .04em; }

.career-grid { display: grid; grid-template-columns: 1fr; gap: .6rem; }
.career-text { max-width: 62ch; }

/* timeline: bulbs that light up letter by letter --------------------------- */
.timeline { list-style: none; margin: 1.2rem 0 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 1.15rem 1.8rem; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: .34rem;
  width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, #fbf0c4 0 26%, #e8c85a 52%, rgba(232, 200, 90, 0.18) 100%);
  box-shadow: 0 0 10px rgba(232, 200, 90, 0.5);
}
.timeline li:nth-child(2n)::before { opacity: .5; box-shadow: 0 0 6px rgba(232, 200, 90, 0.25); }
.timeline li::after {
  content: ""; position: absolute; left: 5px; top: 1.15rem; bottom: -0.1rem;
  width: 2px; background: rgba(232, 200, 90, 0.16);
}
.timeline li:last-child::after { display: none; }
.timeline .when {
  display: block;
  color: var(--bulb); font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase; font-size: .76rem;
  margin-bottom: .12rem;
}
.timeline .what { color: var(--body); }

.gallery-grid { display: grid; gap: 1.15rem; align-items: start; }
.gal-a { grid-template-columns: 3fr 4fr; margin-bottom: 1.15rem; }
.gal-b { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery-grid figure { margin: 0; }
.gallery-grid img {
  width: 100%; height: auto;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.social-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: .8rem; }
.social-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: .85rem 1.1rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  text-decoration: none;
}
.social-row .platform { color: var(--ink); font-weight: 700; }
.social-row .handle { color: var(--bulb); word-break: break-all; }
.social-row:hover, .social-row:focus-visible { border-color: var(--line-bulb); background: var(--panel-2); }

/* subpages ---------------------------------------------------------------- */
.page-top { padding: 2.6rem 0 1.5rem; border-bottom: 1px solid var(--line); margin-bottom: 2.1rem; }
.page-top h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
.page-top .lead { max-width: 60ch; color: var(--muted); margin-bottom: 0; }
.reading { max-width: 52rem; margin: 0 auto 2.6rem; }
.story { margin-bottom: 2rem; }
.story h2 { font-size: 1.45rem; }
.dot-list { margin: .4rem 0 1rem; padding: 0; list-style: none; }
.dot-list li { position: relative; padding: .3rem 0 .3rem 1.35rem; }
.dot-list li::before {
  content: ""; position: absolute; left: 0; top: .85rem;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--bulb);
  box-shadow: 0 0 7px rgba(232, 200, 90, 0.55);
}
.note-line { color: var(--muted); font-size: .93rem; border-left: 2px solid var(--line-bulb); padding-left: .9rem; }
.credit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.1rem; margin: .6rem 0 1.2rem; }
.credit-col { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: .95rem 1.05rem; }
.credit-col h3 { font-size: .95rem; color: var(--bulb); letter-spacing: .08em; text-transform: uppercase; }
.credit-col ul { margin: 0; padding-left: 1.1rem; }
.credit-col li { margin-bottom: .35rem; color: var(--body); font-size: .95rem; }
.stat-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .9rem; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: .95rem; text-align: center; }
.stat b { display: block; font-family: var(--display); font-size: 2.1rem; line-height: 1; color: var(--bulb); }
.stat span { display: block; margin-top: .35rem; color: var(--muted); font-size: .85rem; }
.faq-list details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  margin-bottom: .75rem;
  padding: .2rem 0;
}
.faq-list summary {
  cursor: pointer; list-style: none;
  padding: .85rem 1.1rem;
  color: var(--ink); font-weight: 700;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before { content: "· "; color: var(--bulb); font-weight: 700; }
.faq-list details[open] { border-color: var(--line-bulb); }
.faq-list .answer { padding: 0 1.1rem .9rem; color: var(--body); }
.faq-list .answer p { margin: 0; }

/* footer ------------------------------------------------------------------ */
.site-footer { border-top: 1px solid var(--line-bulb); background: #12151d; padding: 1.5rem 0 1.9rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr auto 1fr; gap: 1.3rem; align-items: center; }
.footer-brand { display: flex; flex-direction: column; gap: .15rem; }
.brand-name { font-family: var(--display); font-size: 1.6rem; line-height: 1; color: var(--bulb); }
.brand-line { color: var(--muted); font-size: .85rem; }
.language-nav { display: flex; flex-wrap: wrap; gap: .2rem .8rem; }
.language-nav a { color: var(--ink); text-decoration: none; font-size: .9rem; }
.language-nav a:hover, .language-nav a:focus-visible { color: var(--bulb); }
.language-nav a[aria-current="page"] { color: var(--bulb-bright); }
.footer-legal { margin: 0; text-align: right; color: var(--muted); font-size: .85rem; }

/* 404 --------------------------------------------------------------------- */
.notfound { max-width: 40rem; margin: 0 auto; padding: 3.4rem 0 4rem; }

@media (max-width: 980px) {
  .profile-grid, .about-grid { grid-template-columns: 1fr; }
  .about-figure img { max-width: min(420px, 100%); }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-inner { justify-content: flex-start; }
  .main-nav { gap: .1rem .7rem; }
  .main-nav a { font-size: .9rem; }
  .sign { padding: .9rem 1.1rem 1rem; }
  .sign-name { font-size: clamp(2.6rem, 13vw, 3.4rem); }
  .hero-portrait .arch { width: 300px; top: -44px; }
  .partner-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; justify-items: start; }
  .footer-legal { text-align: left; }
  .facts-list .fact { grid-template-columns: 1fr; gap: .1rem; }
}
