@import "tailwindcss";

:root {
  --ink: #f3e5c6;
  --muted: #bba98e;
  --paper: #e8d6b7;
  --paper-ink: #2c221b;
  --wine: #5c1f25;
  --ember: #bd6e35;
  --night: #100e0d;
}

.operator-page { min-height: 100vh; padding: clamp(24px, 5vw, 72px); background: #14110f; color: #f3eadc; }
.operator-header { display: flex; justify-content: space-between; gap: 24px; align-items: end; border-bottom: 1px solid #5c4b3d; padding-bottom: 24px; }
.operator-header h1 { margin: 6px 0 0; font-size: clamp(2rem, 5vw, 4.5rem); }
.operator-user { display: grid; justify-items: end; gap: 8px; }
.operator-user a { color: #d8b17b; }
.operator-safety { max-width: 760px; margin: 24px 0 36px; color: #d8c8b3; }
.operator-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.operator-card { display: grid; gap: 14px; align-content: start; padding: clamp(22px, 3vw, 36px); border: 1px solid #6e5946; border-radius: 20px; background: #211b17; }
.operator-card h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2.4rem); }
.operator-card p { margin: 0; color: #cdbca8; }
.operator-card label { display: grid; gap: 7px; color: #e8dac8; }
.operator-card input, .operator-card textarea { width: 100%; box-sizing: border-box; border: 1px solid #806850; border-radius: 10px; padding: 12px; background: #100d0b; color: #fff7ea; font: inherit; }
.operator-card button { justify-self: start; border: 0; border-radius: 999px; padding: 12px 20px; background: #b7753f; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.operator-card button:disabled { opacity: .55; cursor: wait; }
.operator-history { margin-top: 36px; padding-top: 24px; border-top: 1px solid #5c4b3d; }
.operator-history-heading { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; }
.operator-history ol { display: grid; gap: 10px; padding: 0; list-style: none; }
.operator-history li { display: grid; grid-template-columns: 1fr 1fr 1fr 1.4fr; gap: 14px; padding: 14px 16px; border-radius: 10px; background: #211b17; color: #d8c8b3; }
.operator-history code { color: #d8b17b; }
.operator-decision-buttons { display: flex; gap: 8px; margin-top: 8px; }
.operator-decision-buttons button { border: 1px solid #806850; border-radius: 999px; padding: 6px 10px; background: transparent; color: #f3eadc; cursor: pointer; }
.operator-decision-buttons button:disabled { opacity: .5; }
@media (max-width: 760px) {
  .operator-header, .operator-history-heading { align-items: start; flex-direction: column; }
  .operator-user { justify-items: start; }
  .operator-actions { grid-template-columns: 1fr; }
  .operator-history li { grid-template-columns: 1fr 1fr; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--ink); font-family: Georgia, "Times New Roman", serif; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header {
  position: absolute; z-index: 10; inset: 0 0 auto 0; height: 82px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 64px); border-bottom: 1px solid rgba(255,255,255,.14);
}
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; font-size: clamp(20px, 1.65vw, 27px); font-weight: 600; letter-spacing: .055em; text-transform: uppercase; text-shadow: 0 2px 18px #000; }
.brand img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(255,255,255,.55); box-shadow: 0 3px 18px rgba(0,0,0,.45); }
.brand:hover, .brand:focus-visible { color: #f3bb74; }
nav { display: flex; gap: clamp(15px, 2.5vw, 32px); }
nav a { text-decoration: none; color: #f5ead8; font: 600 12px/1 Arial, sans-serif; text-transform: uppercase; letter-spacing: .12em; }
nav a:hover, nav a:focus-visible { color: #f3bb74; }

.hero { min-height: clamp(540px, 71vh, 720px); position: relative; display: grid; align-items: center; overflow: hidden; background: #17120f url('/assets/images/ui/hero.jpg') center bottom/cover no-repeat; }
.hero-shade { position: absolute; inset: 0; background: radial-gradient(circle at 50% 39%, rgba(6,5,4,.34), rgba(6,5,4,.04) 35%, rgba(6,5,4,.18) 70%), linear-gradient(0deg, #100e0d 0%, transparent 27%); }
.hero-copy { position: relative; width: min(760px, 78vw); margin: 0 auto; padding: 104px 24px 28px; text-align: center; }
.eyebrow { margin: 0 0 18px; color: #df9e5b; font: 700 12px/1.4 Arial, sans-serif; letter-spacing: .2em; text-transform: uppercase; }
.hero h1 { margin: 0; font-size: clamp(36px, 3.4vw, 54px); line-height: 1.04; font-weight: 500; letter-spacing: -.035em; text-shadow: 0 4px 32px #000; }
.hero-copy > p:not(.eyebrow) { max-width: 530px; margin: 18px auto 24px; color: #dfd0b9; font-size: clamp(15px, 1vw, 17px); line-height: 1.5; }
.primary-action { display: inline-flex; padding: 13px 17px; border: 1px solid rgba(239,191,124,.7); background: rgba(80,34,27,.62); text-decoration: none; font: 700 11px/1 Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.primary-action:hover, .primary-action:focus-visible { background: #7a342b; }

.release-section { position: relative; padding: clamp(54px, 6vw, 86px) clamp(20px, 4vw, 68px) clamp(72px, 7vw, 104px); background: linear-gradient(rgba(13,11,10,.78), rgba(13,11,10,.9)), url('/assets/images/ui/hall-blur.jpg') center top/cover fixed; }
.section-heading { max-width: 1660px; margin: 0 auto 40px; display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.section-heading h2, .news-card h2, .about-section h2 { margin: 0; font-size: clamp(34px, 3.5vw, 54px); line-height: 1; font-weight: 500; letter-spacing: -.035em; }
.section-heading > p { max-width: 390px; margin: 0; color: var(--muted); font: 14px/1.55 Arial, sans-serif; }
.release-grid { max-width: 1660px; margin: auto; padding: 12px 1.4% 42px; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 44px 0; align-items: start; isolation: isolate; overflow: visible; }
.release-card { --tilt: 0deg; --scatter-y: 0px; --scatter-x: 0px; --stack-index: 1; position: relative; z-index: var(--stack-index); top: var(--scatter-y); left: var(--scatter-x); width: calc(100% + 22px); margin-right: -22px; display: block; padding: 7px 7px 12px; color: var(--paper-ink); background: var(--paper); text-decoration: none; box-shadow: 0 13px 28px rgba(0,0,0,.46), inset 0 0 30px rgba(104,65,34,.08); transform: rotate(var(--tilt)); transform-origin: center center; transition: transform .26s ease, box-shadow .26s ease; }
.release-card::before { content: ""; position: absolute; width: 48px; height: 16px; left: 50%; top: -8px; transform: translateX(-50%) rotate(-2deg); background: rgba(207,184,142,.72); box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.release-card[href] { cursor: pointer; }
.release-card:hover, .release-card:focus-visible { transform: translateY(-18px) rotate(0deg) scale(1.46); z-index: 999; box-shadow: 0 28px 58px rgba(0,0,0,.78); outline: none; }
.release-card:focus-visible { box-shadow: 0 0 0 3px #df9e5b, 0 28px 58px rgba(0,0,0,.78); }
.cover-frame { position: relative; display: block; width: 100%; overflow: hidden; background: #1c1714; }
.cover-frame img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; filter: sepia(.08) contrast(1.04); transition: transform .28s ease, filter .28s ease; }
.release-card:hover .cover-frame img, .release-card:focus-visible .cover-frame img { transform: scale(1.04); filter: sepia(.05) contrast(1.08) brightness(.62); }
.cover-placeholder { display: grid; width: 100%; aspect-ratio: 1; place-items: center; padding: 12px; color: rgba(232,214,183,.78); background: radial-gradient(circle at 50% 38%, #56392e, #1c1714 72%); font-size: clamp(14px, 1.5vw, 21px); letter-spacing: .08em; text-transform: uppercase; }
.release-label { position: absolute; left: 6px; top: 6px; z-index: 2; padding: 5px 7px; color: #fff8e9; background: rgba(86,31,37,.92); font: 700 8px/1 Arial, sans-serif; text-transform: uppercase; letter-spacing: .08em; }
.release-future_inactive { background: #d7c7aa; }
.release-future_linked { background: #ddd0b7; }
.release-preparing { background: #cfc1a7; }
.release-future_inactive .cover-frame img { filter: sepia(.24) saturate(.65) brightness(.76); }
.release-future_linked .cover-frame img { filter: sepia(.15) saturate(.78) brightness(.84); }
.release-preparing .cover-frame img { filter: sepia(.28) saturate(.58) brightness(.72); }
.release-future_inactive .release-date { color: #694b43; }
.release-hover-copy { position: absolute; inset: auto 0 0; z-index: 1; min-height: 58%; display: flex; flex-direction: column; justify-content: end; align-items: stretch; gap: 6px; padding: 28px 14px 13px; color: #fff4df; background: linear-gradient(transparent, rgba(18,12,9,.97) 42%); font: 10px/1.42 Arial, sans-serif; opacity: 0; transform: translateY(10px); transition: opacity .22s ease, transform .22s ease; }
.release-hover-copy strong { font: 700 15px/1.12 Georgia, "Times New Roman", serif; }
.hover-release-date { color: #e8c89d; font-size: 9px; font-weight: 700; letter-spacing: .035em; text-transform: uppercase; }
.release-card:hover .release-hover-copy, .release-card:focus-visible .release-hover-copy { opacity: 1; transform: translateY(0); }
.release-copy { padding: 9px 3px 0; }
.release-copy h3 { margin: 0; font-size: clamp(14px, 1.15vw, 18px); line-height: 1.08; font-weight: 600; }
.release-action { margin: 6px 0 0; color: #8f4636; font: 10px/1.25 Arial, sans-serif; }

.closing-section { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); background: #0c0b0a; }
.news-section { padding: clamp(64px, 7vw, 98px) clamp(26px, 6vw, 92px); background: #17120f; }
.news-section > .eyebrow, .news-list { max-width: 760px; margin-left: auto; margin-right: auto; }
.news-list { display: grid; gap: 28px; }
.news-card { padding: clamp(26px, 4vw, 46px); border: 1px solid rgba(218,174,111,.32); background: linear-gradient(135deg, rgba(97,43,30,.34), rgba(29,23,19,.86)); }
.news-date { margin: 0 0 18px; color: #cda66d; font: 12px/1 Arial, sans-serif; text-transform: uppercase; letter-spacing: .15em; }
.news-card > p:last-child { max-width: 720px; margin: 22px 0 0; color: #d3c2aa; font-size: 16px; line-height: 1.62; }
.news-image { display: block; width: 100%; max-height: 560px; margin: 30px 0; object-fit: cover; }
.news-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.news-links a { display: inline-flex; min-height: 44px; align-items: center; padding: 10px 14px; border: 1px solid rgba(218,174,111,.48); color: #e6a761; font: 700 11px/1 Arial, sans-serif; text-transform: uppercase; letter-spacing: .08em; }

.about-section { display: grid; grid-template-columns: minmax(120px, 220px) minmax(240px, 1fr); gap: clamp(26px, 4vw, 54px); align-items: center; align-content: center; padding: clamp(64px, 7vw, 98px) clamp(26px, 6vw, 92px); background: #0c0b0a; }
.about-section > img { width: 100%; border-radius: 50%; filter: sepia(.12); }
.about-section > div > p:not(.eyebrow) { margin: 20px 0; color: #c9b89f; font-size: 16px; line-height: 1.6; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.footer-links a { color: #e6a761; font: 700 12px/1 Arial, sans-serif; text-transform: uppercase; letter-spacing: .08em; text-underline-offset: 5px; }

@media (max-width: 1320px) {
  .release-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .closing-section { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .release-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .site-header { height: 76px; }
  .brand { gap: 8px; font-size: 16px; }
  .brand img { width: 40px; height: 40px; }
  nav { gap: 16px; }
  nav a { display: inline-flex; min-height: 44px; align-items: center; font-size: 10px; }
  .hero { min-height: 670px; background-position: 39% bottom; }
  .hero-shade { background: linear-gradient(0deg, #100e0d 0%, rgba(10,8,7,.5) 58%, rgba(10,8,7,.14)); }
  .hero-copy { width: 100%; margin: 0; padding: 104px 22px 230px; }
  .hero h1 { font-size: clamp(34px, 9vw, 48px); }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 18px; }
  .release-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 0; padding-inline: 3%; }
  .release-card { width: calc(100% + 10px); margin-right: -10px; transform: none; }
  .release-card:hover { transform: translateY(-4px) scale(1.04); }
  .release-card:focus-visible { transform: translateY(-4px) scale(1.04); }
  .release-copy h3 { font-size: clamp(15px, 4vw, 20px); }
  .release-hover-copy { display: none; }
  .about-section { grid-template-columns: 1fr; }
  .about-section > img { width: min(48vw, 220px); margin: auto; }
}

@media (max-width: 430px) {
  nav a:nth-child(2) { display: none; }
  .release-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 0; padding: 0 4px 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}


/* Future-song descriptions remain available on narrow screens. */
.release-mobile-details { display: none; }
@media (max-width: 760px) {
  .release-mobile-details { display: block; margin-top: 8px; font: 11px/1.4 Arial, sans-serif; }
  .release-mobile-details summary { cursor: pointer; color: #694b43; padding: 4px 0; }
  .release-mobile-details p { margin: 6px 0 0; color: var(--paper-ink); overflow-wrap: anywhere; }
}
