/* Clay Atelier: Direction B's centred material composition. */
.opening-hero {
  --opening-paper: #F4EBE0;
  --opening-clay: #713D32;
  --opening-ink: #31231F;
  --opening-muted: #73645A;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  min-height: 650px;
  height: calc(100svh - var(--site-header-height, 180px));
  max-height: 1000px;
  overflow: hidden;
  background: var(--opening-paper);
  color: var(--opening-ink);
}
.opening-centre {
  position: relative;
  z-index: 2;
  width: min(680px, 100%);
  min-width: 0;
  padding: 55px 24px 90px;
  text-align: center;
}
.opening-eyebrow {
  margin: 0 0 24px;
  color: var(--opening-ink);
  font: 600 12px/1.5 Inter, Arial, sans-serif;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.opening-centre h1 {
  margin: 0;
  color: var(--opening-ink);
  font: 400 clamp(76px, 7.65vw, 115px)/.99 Fraunces, Georgia, serif;
  letter-spacing: -.07em;
}
.opening-centre h1 span,
.opening-centre h1 em { display: block; }
.opening-centre h1 em { color: var(--opening-clay); font-style: normal; font-variation-settings: 'SOFT' 50; }
.opening-intro {
  margin: 27px auto 30px;
  max-width: 480px;
  font: 400 16px/1.75 Inter, Arial, sans-serif;
  color: var(--opening-ink);
}
.opening-doors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 568px;
  margin: 0 auto;
  text-align: left;
}
.opening-doors a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 14px;
  align-items: center;
  min-height: 86px;
  padding: 18px 20px;
  border: 1px solid var(--opening-clay);
  border-radius: 6px;
  background: var(--opening-paper);
  color: var(--opening-clay);
  text-decoration: none;
  transition: background-color .15s, color .15s;
}
.opening-doors a:first-child { background: var(--opening-clay); color: #fff; }
.opening-doors a:hover { background: #EBDFD1; color: var(--opening-clay); }
.opening-doors a:first-child:hover { background: #542A24; color: #fff; }
.opening-doors span { font: 600 16px/1.4 Inter, Arial, sans-serif; }
.opening-doors small { grid-column: 1; font: 400 11px/1.5 Inter, Arial, sans-serif; }
.opening-doors b { grid-column: 2; grid-row: 1/3; font: 400 27px/1 Inter, Arial, sans-serif; }
.opening-doors a:focus-visible,
.opening-foot button:focus-visible { outline: 3px solid var(--opening-clay); outline-offset: 5px; }
.opening-foot {
  position: absolute;
  z-index: 3;
  left: max(24px, 6.1%);
  right: max(120px, 8.4%);
  bottom: 17px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 44px;
  color: var(--opening-muted);
  font: 400 11px/1.5 Inter, Arial, sans-serif;
}
.opening-foot button {
  flex: 0 0 auto;
  min-height: 44px;
  border: 0;
  border-radius: 2px;
  padding: 9px 0 9px 12px;
  background: transparent;
  color: var(--opening-clay);
  font: 600 11px/1.5 Inter, Arial, sans-serif;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.opening-foot button[hidden] { display: none; }
.opening-foot button span { margin-left: 6px; }
.opening-materials {
  position: absolute;
  z-index: 0;
  inset: 0;
  perspective: 900px;
  transform-style: preserve-3d;
  pointer-events: none;
}
.opening-plane {
  position: absolute;
  border-radius: 2px;
  background-size: cover;
  background-position: center;
  box-shadow: 15px 25px 28px #44291A20, 1px 1px 1px #25140926;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transform: var(--opening-end);
}
.opening-plane::after {
  content: '';
  position: absolute;
  left: 0;
  right: -4px;
  bottom: -4px;
  height: 4px;
  background: #967557;
  transform: skewX(45deg);
  transform-origin: top;
}
.opening-oak {
  width: 155px; height: 300px; left: 1%; top: 12%;
  background-image: url('../img/materials/oak-grain.webp');
  --opening-end: rotate(-21deg) rotateY(18deg) rotateX(5deg);
  --opening-from: translate3d(-100px,-70px,-400px) rotate(-75deg) rotateY(65deg);
}
.opening-veneer {
  width: 155px; height: 200px; right: 4%; top: 9%;
  background-image: url('../img/materials/veneer-grain.webp');
  --opening-end: rotate(20deg) rotateY(-23deg);
  --opening-from: translate3d(120px,-70px,-200px) rotate(95deg) rotateX(60deg);
}
.opening-walnut {
  width: 68px; height: 285px; right: 11%; bottom: 7%;
  background-image: url('../img/materials/walnut-grain.webp');
  --opening-end: rotate(29deg) rotateY(-20deg);
  --opening-from: translate3d(160px,80px,-300px) rotate(130deg);
}
.opening-plywood {
  width: 210px; height: 39px; left: 6%; bottom: 17%;
  background-image: url('../img/materials/plywood-edge.webp');
  --opening-end: rotate(32deg) rotateY(12deg);
  --opening-from: translate3d(-60px,140px,-250px) rotate(-50deg) rotateX(60deg);
}
.opening-offcut {
  width: 67px; height: 95px; left: 21%; top: 4%;
  background-image: url('../img/materials/walnut-grain.webp');
  --opening-end: rotate(-34deg) rotateY(24deg);
  --opening-from: translate3d(90px,-100px,-350px) rotate(110deg);
}
.opening-profile {
  width: 105px; height: 37px; right: 24%; bottom: 5%;
  background-image: url('../img/materials/plywood-edge.webp');
  --opening-end: rotate(-23deg) rotateY(-15deg);
  --opening-from: translate3d(-20px,100px,-320px) rotate(65deg);
}
.opening-hero[data-opening-state="playing"] .opening-plane {
  will-change: transform;
  animation: opening-arrive 2.6s cubic-bezier(.16,.74,.21,1) both;
}
.opening-hero[data-opening-state="playing"] :is(.opening-veneer,.opening-plywood) { animation-duration: 2.4s; }
.opening-hero[data-opening-state="playing"] .opening-walnut { animation-duration: 2.5s; }
@keyframes opening-arrive {
  0% { transform: var(--opening-from); }
  65% { transform: var(--opening-end) translate3d(0,-8px,15px); }
  100% { transform: var(--opening-end); }
}
.opening-followthrough { border-top: 1px solid #D8C9BB; }
.opening-followthrough-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 9%; align-items: start; }
.opening-followthrough h2 { margin: 0 0 25px; }
.opening-followthrough h2 em { font-style: normal; color: #713D32; }
.opening-followthrough .opening-scope { font-size: 22px; line-height: 1.6; margin: 4px 0 30px; max-width: 570px; }
.opening-followthrough :is(.hero-audience,.hero-location,.hero-contact) { color: #73645A; font-size: 14px; margin: 12px 0 0; }
.opening-followthrough .hero-contact a { color: #713D32; }
@media (max-width: 900px) {
  .opening-hero { min-height: 620px; }
  .opening-centre { padding: 100px 24px 95px; }
  .opening-centre h1 { font-size: clamp(69px, 10vw, 95px); }
  .opening-oak { left: -35px; width: 95px; height: 240px; }
  .opening-veneer { width: 110px; height: 140px; right: 4%; top: 2%; }
  .opening-walnut { right: 3%; width: 45px; height: 180px; bottom: 12%; }
  .opening-offcut { width: 44px; height: 70px; left: 19%; top: 3%; }
  .opening-plywood { width: 150px; height: 29px; left: 4%; bottom: 13%; }
  .opening-profile { width: 80px; height: 27px; right: 25%; bottom: 7%; }
  .opening-disciplines { display: none; }
}
@media (max-width: 600px) {
  .opening-hero {
    min-height: 625px;
    height: calc(100svh - var(--site-header-height, 178px) - 68px - env(safe-area-inset-bottom));
    max-height: none;
  }
  .opening-centre { width: 100%; padding: 103px 24px 100px; }
  .opening-eyebrow { font-size: 10px; letter-spacing: .15em; margin-bottom: 22px; }
  .opening-centre h1 { font-size: clamp(52px, 16.41vw, 64px); line-height: 1.03; letter-spacing: -.067em; }
  .opening-intro { font-size: 16px; line-height: 1.65; margin: 23px auto 25px; max-width: 330px; }
  .opening-desktop-break { display: none; }
  .opening-doors { grid-template-columns: 1fr; gap: 10px; max-width: 345px; }
  .opening-doors a { min-height: 70px; padding: 13px 17px; }
  .opening-doors small { font-size: 11px; }
  .opening-foot { bottom: 10px; left: 24px; right: 24px; gap: 10px; font-size: 10px; }
  .opening-foot button { font-size: 10px; }
  .opening-oak {
    width: 60px; height: 143px; left: -20px; top: 10%;
    --opening-end: rotate(-21deg) rotateY(18deg);
    --opening-from: translate3d(-50px,-50px,-300px) rotate(-75deg) rotateY(65deg);
  }
  .opening-veneer { width: 78px; height: 100px; right: 6%; top: 2.5%; }
  .opening-walnut { width: 29px; height: 142px; right: -2%; bottom: 18%; --opening-end: rotate(23deg) rotateY(-20deg); }
  .opening-plywood { width: 82px; height: 20px; left: 4%; bottom: 10%; --opening-end: rotate(25deg); }
  .opening-offcut { width: 32px; height: 60px; left: 22%; top: 2%; --opening-end: rotate(-34deg); }
  .opening-profile { width: 58px; height: 21px; right: 23%; bottom: 9%; --opening-end: rotate(-23deg); }
  .opening-plane { box-shadow: 7px 12px 17px #44291A25; }
  .opening-followthrough-grid { grid-template-columns: 1fr; gap: 32px; }
  .opening-followthrough .opening-scope { font-size: 20px; margin-top: 0; }
  .opening-followthrough :is(.hero-audience,.hero-location,.hero-contact) { font-size: 16px; }
}
@media (max-width: 359px) {
  .opening-centre { padding-right: 19px; padding-left: 19px; }
  .opening-hero { min-height: 625px; }
  .opening-intro { max-width: 270px; }
  .opening-doors a { padding-right: 14px; padding-left: 14px; }
  .opening-foot { left: 19px; right: 19px; }
  .opening-foot > span { max-width: 150px; }
  .opening-veneer { right: 5%; width: 67px; height: 90px; }
}
@media (prefers-reduced-motion: reduce) {
  .opening-hero .opening-plane { animation: none !important; transform: var(--opening-end); will-change: auto; }
  .opening-doors a { transition: none; }
}
