/* Beezknees Media Limited — playbox-night theme
   Palette law:
   body background .... playbox-night   #221B23
   copy ................ screen-corn     #F2E7CE
   accent .............. glow-amethyst   #6B4E8C
   wells + footer ...... case-bark       #352A38
   lit screen panels ... parchment-lit   #E9DDBE
   tertiary rule ....... wood-slat       #8A6E52
   control rods ........ rod-ebony       #3A3436
   lamp disc ONLY ...... lamp-ember      #D98E3A
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-size: 16px;
  background-color: #221B23;
  color: #F2E7CE;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  line-height: 1.18;
  letter-spacing: 0.01em;
}

p { margin-bottom: 1.05rem; }
a { color: #E9DDBE; }

img { max-width: 100%; }

.wrapcage {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------- FIGURE-ROD HEADER ---------------- */
.rodhead {
  position: sticky;
  top: 0;
  z-index: 60;
  background-color: #352A38;
  border-bottom: 2px solid #8A6E52;
}

.rodhead-beam {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  padding: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.rodhead-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #F2E7CE;
  margin-right: auto;
}

.rodhead-figure {
  width: 12px;
  height: 22px;
  background-color: #3A3436;
  clip-path: polygon(40% 0, 62% 0, 58% 24%, 82% 40%, 66% 44%, 70% 100%, 52% 100%, 48% 62%, 34% 78%, 20% 70%, 40% 46%, 30% 30%);
  flex: 0 0 auto;
}

.rodhead-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.rodhead-link {
  position: relative;
  font-family: Georgia, serif;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  color: #F2E7CE;
  text-decoration: none;
  padding-left: 16px;
  transition: color 180ms ease;
}

.rodhead-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 2px;
  height: 16px;
  background-color: #3A3436;
  transform: skewX(-18deg);
}

.rodhead-link:hover { color: #D98E3A; }

.rodhead-emberline {
  height: 3px;
  background-color: #D98E3A;
}

.rodhead-toggle {
  display: none;
  background-color: #3A3436;
  color: #F2E7CE;
  border: 1px solid #8A6E52;
  border-radius: 3px;
  font-size: 1.1rem;
  padding: 6px 12px;
  cursor: pointer;
  margin-left: auto;
}

/* ---------------- HERO PLAY BOX ---------------- */
.playbox {
  padding: 62px 0 0;
}

.playbox-headline {
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #F2E7CE;
  max-width: 900px;
  margin-bottom: 22px;
}

.playbox-display {
  color: #E9DDBE;
  letter-spacing: 0.06em;
  font-style: italic;
}

.playbox-intro {
  max-width: 760px;
  font-size: 1.06rem;
  color: #F2E7CE;
  margin-bottom: 14px;
}

.playbox-inline-cta {
  display: inline-block;
  font-family: Georgia, serif;
  font-size: 1rem;
  color: #E9DDBE;
  text-decoration: underline;
  text-underline-offset: 4px;
  margin-bottom: 40px;
}

.playbox-inline-cta::after {
  content: " \2192";
  text-decoration: none;
  color: #D98E3A;
}

.playbox-case {
  position: relative;
  background-color: #352A38;
  border: 6px solid #8A6E52;
  border-radius: 4px;
  padding: 26px 26px 0;
  margin-bottom: 0;
}

.playbox-brace {
  position: absolute;
  width: 34px;
  height: 34px;
  border: 5px solid #8A6E52;
  background-color: #352A38;
}

.playbox-brace-tl { top: -6px; left: -6px; border-right: none; border-bottom: none; }
.playbox-brace-tr { top: -6px; right: -6px; border-left: none; border-bottom: none; }
.playbox-brace-bl { bottom: -6px; left: -6px; border-right: none; border-top: none; }
.playbox-brace-br { bottom: -6px; right: -6px; border-left: none; border-top: none; }

.playbox-screen {
  position: relative;
  background-color: #E9DDBE;
  border: 3px solid #8A6E52;
  min-height: 300px;
  overflow: hidden;
  padding: 20px;
}

.playbox-lamp {
  position: absolute;
  right: 46px;
  top: 40%;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background-color: #D98E3A;
  z-index: 1;
}

.playbox-lamp-halo {
  position: absolute;
  right: 24px;
  top: calc(40% - 22px);
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 4px solid #D98E3A;
  z-index: 0;
}

.playbox-rider {
  position: absolute;
  left: 74px;
  bottom: 0;
  width: 96px;
  height: 168px;
  background-color: #3A3436;
  z-index: 2;
  clip-path: polygon(46% 0, 60% 0, 56% 18%, 74% 26%, 84% 40%, 70% 44%, 78% 58%, 96% 62%, 96% 70%, 74% 66%, 66% 100%, 52% 100%, 56% 62%, 40% 46%, 34% 70%, 20% 66%, 34% 40%, 30% 24%, 46% 22%);
}

.playbox-rider-rod {
  position: absolute;
  left: 116px;
  bottom: 0;
  width: 5px;
  height: 196px;
  background-color: #3A3436;
  transform: rotate(9deg);
  transform-origin: bottom center;
  z-index: 3;
}

.playbox-bearer {
  position: absolute;
  left: 46%;
  bottom: 0;
  width: 74px;
  height: 152px;
  background-color: #3A3436;
  z-index: 2;
  clip-path: polygon(42% 0, 58% 0, 54% 16%, 70% 22%, 80% 38%, 62% 42%, 70% 54%, 64% 100%, 50% 100%, 50% 56%, 36% 44%, 44% 76%, 30% 100%, 26% 54%, 32% 24%, 42% 22%);
}

.playbox-bearer-rod {
  position: absolute;
  left: calc(46% + 34px);
  bottom: 0;
  width: 5px;
  height: 172px;
  background-color: #3A3436;
  transform: rotate(-7deg);
  transform-origin: bottom center;
  z-index: 3;
}

.playbox-cards {
  position: absolute;
  left: 20px;
  top: 20px;
  display: flex;
  gap: 8px;
  z-index: 4;
}

.playbox-card {
  width: 26px;
  height: 46px;
  background-color: #E9DDBE;
  border: 2px solid #8A6E52;
  transform: rotate(-4deg);
}

.playbox-card-b { transform: rotate(2deg); }
.playbox-card-c { transform: rotate(-1deg); }

.playbox-mat {
  height: 22px;
  background-color: #8A6E52;
  position: relative;
}

.playbox-mat::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, #352A38 0, #352A38 3px, transparent 3px, transparent 11px);
}

.playbox-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background-color: #6B4E8C;
  color: #F2E7CE;
  text-decoration: none;
  font-family: Georgia, serif;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  padding: 18px 26px;
  margin: 0 -26px;
  border-top: 2px solid #8A6E52;
  transition: background-color 180ms ease;
}

.playbox-cta:hover { background-color: #7B5EA6; }
.playbox-cta-arrow { color: #D98E3A; font-size: 1.3rem; }

/* ---------------- SCENE CARD WINGS ---------------- */
.scenewings {
  padding: 68px 0;
}

.scenewings-title {
  font-size: 2rem;
  color: #F2E7CE;
  margin-bottom: 10px;
}

.scenewings-sub {
  color: #E9DDBE;
  max-width: 780px;
  margin-bottom: 44px;
}

.scenewings-body {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 28px;
  align-items: start;
}

.wing-left {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.wing-right {
  display: flex;
  flex-direction: column;
  gap: 46px;
}

.scenecard {
  position: relative;
  background-color: #E9DDBE;
  border: 2px solid #8A6E52;
  padding: 24px 24px 22px;
  color: #221B23;
  transition: transform 200ms ease;
}

.scenecard:hover { transform: translateY(-4px); }

.scenecard-mark {
  position: absolute;
  top: 12px;
  right: 18px;
  font-family: "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #6B4E8C;
}

.scenecard h3 {
  font-size: 1.2rem;
  color: #221B23;
  margin-bottom: 10px;
  padding-right: 34px;
}

.scenecard p {
  color: #221B23;
  font-size: 0.97rem;
  margin-bottom: 0;
}

.scenecard-link {
  display: inline-block;
  margin-top: 12px;
  color: #6B4E8C;
  font-size: 0.92rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.scenecard-rodtick {
  margin-top: 14px;
  width: 46px;
  height: 4px;
  background-color: #3A3436;
  transform: skewX(-24deg);
}

.scenecard-notch {
  margin-top: 14px;
  width: 22px;
  height: 22px;
  border-top: 4px solid #6B4E8C;
  border-right: 4px solid #6B4E8C;
  background-color: #352A38;
}

.scenecard-tall-a { min-height: 250px; }
.scenecard-tall-b { min-height: 210px; margin-left: 34px; }
.scenecard-tall-c { min-height: 268px; }

.scenecard-wide-d { width: 100%; }
.scenecard-wide-e { width: 82%; margin-left: 8%; }
.scenecard-wide-f { width: 92%; }

/* ---------------- ACCENT STRIP ---------------- */
.lamptrim {
  background-color: #352A38;
  border-top: 2px solid #8A6E52;
  border-bottom: 2px solid #8A6E52;
  padding: 26px 0;
}

.lamptrim-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.lamptrim-disc {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #D98E3A;
  flex: 0 0 auto;
  position: relative;
}

.lamptrim-disc::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 3px solid #D98E3A;
}

.lamptrim-sentence {
  color: #E9DDBE;
  font-family: "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 1.15rem;
  margin-bottom: 0;
}

/* ---------------- STORY TEXT SECTIONS ---------------- */
.storyblock {
  padding: 66px 0;
}

.storyblock h2 {
  font-size: 1.9rem;
  color: #F2E7CE;
  margin-bottom: 18px;
}

.storyblock p {
  max-width: 850px;
  color: #F2E7CE;
}

.storyblock a {
  color: #E9DDBE;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.storyblock-alt {
  background-color: #352A38;
  border-top: 2px solid #8A6E52;
  border-bottom: 2px solid #8A6E52;
}

.storygrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.storygrid h3 {
  color: #E9DDBE;
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.storylist {
  list-style: none;
  margin-top: 12px;
}

.storylist li {
  padding-left: 22px;
  position: relative;
  margin-bottom: 10px;
  color: #F2E7CE;
}

.storylist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 3px;
  background-color: #6B4E8C;
  transform: skewX(-20deg);
}

/* ---------------- PAGE HEADER (services/contact) ---------------- */
.pagehead {
  background-color: #352A38;
  border-bottom: 2px solid #8A6E52;
  padding: 54px 0;
}

.pagehead h1 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  color: #F2E7CE;
  margin-bottom: 12px;
}

.pagehead p {
  max-width: 780px;
  color: #E9DDBE;
  margin-bottom: 0;
}

/* ---------------- SERVICE SECTIONS ---------------- */
.serviceentry {
  padding: 48px 0;
  border-bottom: 2px solid #8A6E52;
}

.serviceentry h2 {
  font-size: 1.55rem;
  color: #E9DDBE;
  margin-bottom: 12px;
}

.serviceentry p {
  max-width: 860px;
  color: #F2E7CE;
}

.servicenum {
  display: inline-block;
  font-family: "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  color: #D98E3A;
  margin-bottom: 8px;
}

.processlist {
  list-style: none;
  counter-reset: proc;
  margin-top: 20px;
}

.processlist li {
  counter-increment: proc;
  position: relative;
  padding-left: 46px;
  margin-bottom: 18px;
  max-width: 860px;
}

.processlist li::before {
  content: counter(proc, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  color: #6B4E8C;
  font-family: "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.ctablock {
  background-color: #6B4E8C;
  color: #F2E7CE;
  padding: 34px 30px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}

.ctablock p { margin-bottom: 0; max-width: 620px; }

.ctablock a {
  display: inline-block;
  background-color: #3A3436;
  color: #F2E7CE;
  text-decoration: none;
  padding: 12px 26px;
  letter-spacing: 0.06em;
}

.ctablock a::after { content: " \2192"; color: #D98E3A; }

/* ---------------- CONTACT ---------------- */
.contactgrid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 44px;
  padding: 54px 0;
  align-items: start;
}

.contactform label {
  display: block;
  color: #E9DDBE;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  margin-top: 16px;
}

.contactform input,
.contactform textarea {
  width: 100%;
  background-color: #352A38;
  border: 2px solid #8A6E52;
  color: #F2E7CE;
  font-family: Georgia, serif;
  font-size: 1rem;
  padding: 12px 14px;
}

.contactform textarea { min-height: 150px; resize: vertical; }

.contactform button {
  margin-top: 20px;
  background-color: #6B4E8C;
  color: #F2E7CE;
  border: none;
  font-family: Georgia, serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
  padding: 14px 30px;
  cursor: pointer;
}

.contactform button::after { content: " \2192"; color: #D98E3A; }

.contactpanel {
  background-color: #352A38;
  border: 2px solid #8A6E52;
  padding: 26px;
}

.contactpanel h3 {
  color: #E9DDBE;
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.contactpanel p { margin-bottom: 8px; }

.contactpanel a { color: #E9DDBE; }

.faqblock { padding: 40px 0 66px; }

.faqblock h2 {
  color: #F2E7CE;
  font-size: 1.7rem;
  margin-bottom: 18px;
}

.faqitem {
  border-top: 2px solid #8A6E52;
  padding: 18px 0;
}

.faqq {
  color: #E9DDBE;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.faqa { color: #F2E7CE; margin-bottom: 0; max-width: 820px; }

/* ---------------- ROD REVEAL ---------------- */
.reveal-rod {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal-rod.is-lit {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------- FOOTER PROP TRUNK ---------------- */
.trunkfoot {
  background-color: #352A38;
  border-top: 4px solid #8A6E52;
  padding: 54px 0 0;
}

.trunkfoot-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.trunklid {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.trunklid-cards {
  display: flex;
  gap: 5px;
  flex: 0 0 auto;
}

.trunkcard {
  width: 20px;
  height: 40px;
  background-color: #E9DDBE;
  border: 2px solid #8A6E52;
  transform: rotate(-6deg);
}

.trunkcard-b { transform: rotate(3deg); }
.trunkcard-c { transform: rotate(-2deg); }

.trunkface h3 {
  color: #E9DDBE;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.trunkface p { color: #F2E7CE; font-size: 0.95rem; margin-bottom: 0; }

.trunkcol-head {
  color: #E9DDBE;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.trunkcol-tick {
  width: 40px;
  height: 3px;
  background-color: #3A3436;
  transform: skewX(-22deg);
  margin-bottom: 14px;
}

.trunkcol-list { list-style: none; }

.trunkcol-list li { margin-bottom: 8px; }

.trunkcol-list a {
  color: #F2E7CE;
  text-decoration: none;
  font-size: 0.96rem;
}

.trunkcol-list a:hover { text-decoration: underline; }

.trunkfoot-strip {
  background-color: #8A6E52;
  color: #221B23;
  padding: 16px 0;
}

.trunkfoot-strip-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  align-items: center;
  font-size: 0.9rem;
}

.trunkfoot-strip a { color: #221B23; text-decoration: none; }
.trunkfoot-strip a:hover { text-decoration: underline; }

.lampglyph {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #D98E3A;
  margin-right: 6px;
  vertical-align: middle;
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 900px) {
  .scenewings-body { grid-template-columns: 1fr; }
  .storygrid { grid-template-columns: 1fr; }
  .contactgrid { grid-template-columns: 1fr; }
  .trunkfoot-top { grid-template-columns: 1fr; }
  .scenecard-tall-b { margin-left: 0; }
  .scenecard-wide-e { width: 100%; margin-left: 0; }
  .scenecard-wide-f { width: 100%; }
  .playbox-rider { left: 34px; width: 70px; height: 128px; }
  .playbox-bearer { left: 40%; width: 56px; height: 118px; }
  .playbox-bearer-rod { left: calc(40% + 26px); }
  .playbox-lamp { right: 24px; width: 50px; height: 50px; }
  .playbox-lamp-halo { right: 8px; width: 88px; height: 88px; }
}

@media (max-width: 720px) {
  .rodhead-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .rodhead-nav.open { display: flex; }
  .rodhead-link {
    padding: 12px 16px;
    border-top: 1px solid #8A6E52;
  }
  .rodhead-toggle { display: block; }
  .rodhead-brand { font-size: 0.82rem; letter-spacing: 0.1em; }
  .playbox-cta { flex-direction: row; font-size: 0.95rem; }
  .lamptrim-inner { flex-direction: column; align-items: flex-start; }
  .ctablock { flex-direction: column; align-items: flex-start; }
}
