:root {
  color-scheme: dark;
  --bg: #050505;
  --bg-2: #0a0908;
  --ink: #f6f1e8;
  --muted: #e2d7c8;
  --soft: #b9ac9d;
  --line: rgba(246, 241, 232, 0.16);
  --line-strong: rgba(246, 241, 232, 0.32);
  --panel: rgba(9, 9, 9, 0.82);
  --panel-solid: #11100e;
  --red: #d71916;
  --red-2: #7b0807;
  --yellow: #f6b800;
  --gold-soft: rgba(246, 184, 0, 0.16);
  --green: #8fd05f;
  --blue: #60b9d7;
  --shadow: 0 36px 110px rgba(0, 0, 0, 0.68);
  --radius: 6px;
}

/* Admin dashboard v2 */
.admin-page {
  min-height: 100svh;
  color: #f5efe6;
  background:
    linear-gradient(135deg, rgba(246, 184, 0, 0.08), transparent 28rem),
    linear-gradient(315deg, rgba(154, 16, 13, 0.18), transparent 34rem),
    #070604;
}

.admin-shell {
  width: 100%;
  min-height: 100svh;
  margin: 0;
  padding: 0;
}

.admin-login {
  width: min(32rem, calc(100% - 2rem));
  margin: 0 auto;
}

.admin-dashboard {
  display: grid;
  grid-template-columns: 17rem minmax(0, 1fr);
  min-height: 100svh;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 2rem;
  height: 100svh;
  padding: 1.4rem;
  border-right: 1px solid rgba(246, 184, 0, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    #090806;
}

.admin-sidebar-brand {
  display: block;
  width: 4.7rem;
}

.admin-sidebar-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.admin-menu {
  display: grid;
  align-content: start;
  gap: 0.5rem;
}

.admin-menu button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  min-height: 2.85rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  color: #cfc3b5;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 950;
  text-align: left;
  text-transform: uppercase;
}

.admin-menu button::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  opacity: 0;
  transform: rotate(45deg);
}

.admin-menu button:hover,
.admin-menu button.is-active {
  border-color: rgba(246, 184, 0, 0.5);
  background: rgba(246, 184, 0, 0.1);
  color: var(--yellow);
}

.admin-menu button.is-active::after {
  opacity: 1;
}

.admin-sidebar-foot {
  display: grid;
  gap: 0.7rem;
  color: #a99c8d;
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.admin-workspace {
  display: grid;
  align-content: start;
  gap: 1rem;
  min-width: 0;
  padding: 1.2rem;
}

.admin-topbar {
  min-height: 5.4rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}

.admin-topbar h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.92;
}

.admin-view {
  display: none;
}

.admin-view.is-active {
  display: block;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.7rem;
}

.stat-card {
  min-height: 6.2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
}

.stat-card span {
  color: #a99c8d;
  font-size: 0.72rem;
}

.stat-card strong {
  color: #fff6e8;
  font-size: clamp(1.8rem, 3vw, 3.1rem);
  line-height: 0.95;
}

.admin-section {
  border-radius: 0;
  border-color: rgba(255, 255, 255, 0.09);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.018)),
    rgba(0, 0, 0, 0.22);
}

.admin-section h2,
.overview-grid h3 {
  margin: 0;
  color: #fff6e8;
  line-height: 0.98;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.overview-grid > div {
  display: grid;
  gap: 0.8rem;
  min-width: 0;
}

.mini-record,
.admin-record {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  color: #efe4d7;
  font: inherit;
  text-align: left;
}

.mini-record {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 0.8rem;
}

.mini-record span,
.mini-record strong,
.mini-record em {
  display: grid;
  min-width: 0;
  gap: 0.12rem;
  overflow-wrap: anywhere;
}

.mini-record em,
.admin-record em,
.admin-record time,
.admin-table-head,
.detail-grid strong {
  color: #a99c8d;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.mini-record:hover,
.admin-record:hover,
.admin-record.is-selected {
  border-color: rgba(246, 184, 0, 0.55);
  background: rgba(246, 184, 0, 0.08);
}

.admin-filters {
  align-items: end;
}

.admin-filter-form {
  display: flex;
  gap: 0.55rem;
  align-items: end;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.admin-filter-form input,
.admin-filter-form select {
  min-height: 2.7rem;
  width: min(18rem, 100%);
}

.admin-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(24rem, 0.62fr);
  gap: 1rem;
  align-items: start;
}

.admin-table-panel,
.admin-detail-panel {
  min-width: 0;
}

.admin-list-table {
  display: grid;
  gap: 0.45rem;
}

.admin-table-head,
.admin-record {
  display: grid;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 0.85rem;
}

.applications-head,
.applications-record {
  grid-template-columns: minmax(13rem, 1.2fr) minmax(10rem, 1fr) 5rem 7.5rem 9rem;
}

.messages-head,
.messages-record {
  grid-template-columns: minmax(12rem, 1.2fr) minmax(12rem, 1fr) 7.5rem 9rem;
}

.newsletter-head,
.newsletter-record {
  grid-template-columns: minmax(10rem, 0.7fr) minmax(14rem, 1fr) 9rem;
}

.admin-record span,
.admin-record strong,
.admin-record em {
  min-width: 0;
  overflow-wrap: anywhere;
}

.admin-record span:first-child {
  display: grid;
  gap: 0.12rem;
}

.admin-record i {
  display: inline-flex;
  width: fit-content;
  padding: 0.35rem 0.5rem;
  border: 1px solid rgba(246, 184, 0, 0.35);
  color: var(--yellow);
  font-style: normal;
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-detail-panel {
  position: sticky;
  top: 1rem;
  display: grid;
  gap: 1rem;
  max-height: calc(100svh - 2rem);
  overflow: auto;
  padding: 1rem;
  border: 1px solid rgba(246, 184, 0, 0.18);
  background:
    linear-gradient(180deg, rgba(246, 184, 0, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(0, 0, 0, 0.32);
}

.detail-header {
  display: grid;
  gap: 0.35rem;
}

.detail-header h3 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 0.95;
}

.detail-header p {
  margin: 0;
  color: #cfc3b5;
  overflow-wrap: anywhere;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.detail-grid span {
  display: grid;
  gap: 0.15rem;
  padding: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.025);
  overflow-wrap: anywhere;
}

.score-line {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem;
  border: 1px solid rgba(246, 184, 0, 0.38);
  background: rgba(246, 184, 0, 0.08);
}

.score-line strong {
  color: var(--yellow);
  font-size: 2rem;
  line-height: 1;
}

.score-line span {
  color: #a99c8d;
  font-size: 0.75rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-pagination {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 0.8rem;
  color: #a99c8d;
  font-size: 0.84rem;
}

.admin-pagination button {
  min-height: 2.35rem;
  min-width: 2.35rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.035);
  color: #f5efe6;
  font: inherit;
  font-weight: 900;
}

.admin-pagination button.is-active {
  border-color: var(--yellow);
  color: var(--yellow);
}

.admin-pagination button:disabled {
  opacity: 0.35;
}

@media (max-width: 1180px) {
  .admin-dashboard {
    grid-template-columns: 14rem minmax(0, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-board {
    grid-template-columns: 1fr;
  }

  .admin-detail-panel {
    position: static;
    max-height: none;
  }
}

@media (max-width: 860px) {
  .admin-dashboard {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 1rem;
    padding: 1rem;
    border-right: 0;
    border-bottom: 1px solid rgba(246, 184, 0, 0.18);
  }

  .admin-sidebar-foot {
    grid-column: 1 / -1;
  }

  .admin-menu {
    grid-template-columns: repeat(5, minmax(max-content, 1fr));
    overflow-x: auto;
  }

  .admin-menu button {
    justify-content: center;
    white-space: nowrap;
  }

  .admin-menu button::after {
    display: none;
  }

  .admin-workspace {
    padding: 0.85rem;
  }

  .overview-grid,
  .split-admin {
    grid-template-columns: 1fr;
  }

  .admin-table-head {
    display: none;
  }

  .applications-record,
  .messages-record,
  .newsletter-record {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .admin-filter-form {
    width: 100%;
    justify-content: stretch;
  }

  .admin-filter-form input,
  .admin-filter-form select,
  .admin-filter-form button {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-topbar {
    display: grid;
  }

  .admin-actions {
    width: 100%;
  }

  .admin-actions .button {
    flex: 1;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }
}

* {
  box-sizing: border-box;
  min-width: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(180deg, rgba(246, 184, 0, 0.055), transparent 22rem),
    linear-gradient(180deg, #050505 0%, #0a0908 46%, #050505 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
}

body::selection {
  color: #080706;
  background: var(--yellow);
}

::selection {
  color: #080706;
  background: var(--yellow);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

code {
  padding: 0.08rem 0.28rem;
  border: 1px solid rgba(246, 241, 232, 0.18);
  background: rgba(0, 0, 0, 0.45);
  color: var(--yellow);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.14;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 4px 8px;
  mix-blend-mode: overlay;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.25rem);
  padding: 0.72rem clamp(1rem, 4vw, 3.5rem);
  border-bottom: 1px solid rgba(246, 241, 232, 0.14);
  background:
    linear-gradient(180deg, rgba(13, 12, 11, 0.96), rgba(4, 4, 4, 0.92)),
    rgba(5, 5, 5, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: 0 0 auto;
}

.studio-brand-logo {
  width: clamp(2.55rem, 3.4vw, 3.4rem);
  height: auto;
  max-height: 3rem;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.7));
}

.nav-toggle {
  display: none;
}

.brand-separator {
  width: 1px;
  height: 2.25rem;
  background: rgba(246, 241, 232, 0.22);
}

.brand-logo {
  width: clamp(6.3rem, 8vw, 7.8rem);
  height: auto;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.75));
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.7rem, 1.65vw, 1.35rem);
  overflow-x: auto;
  color: #f0e6d5;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.site-nav a {
  flex: 0 0 auto;
  padding: 0.45rem 0.02rem;
  border-bottom: 2px solid transparent;
  color: #f3eadf;
  opacity: 0.9;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.85);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-color: var(--yellow);
  opacity: 1;
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(92svh - 5rem);
  place-items: center;
  overflow: hidden;
  padding: clamp(3.1rem, 5vw, 4.75rem) 1rem 4.35rem;
  isolation: isolate;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media {
  background-image: url("/assets/stock-wawel-panorama.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.04);
  filter: saturate(0.96) contrast(1.18) brightness(0.66);
}

.hero-shade {
  z-index: -1;
  background:
    radial-gradient(circle at center 38%, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.74) 62%, #050505 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.25) 48%, rgba(0, 0, 0, 0.92) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), #050505 96%);
}

.hero-content {
  display: grid;
  justify-items: center;
  width: min(60rem, calc(100vw - 2rem));
  max-width: calc(100vw - 2rem);
  text-align: center;
}

.tag,
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  padding: 0.35rem 0.72rem;
  border: 1px solid rgba(246, 184, 0, 0.42);
  background: rgba(0, 0, 0, 0.68);
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.hero-logo {
  width: min(37rem, 100%);
  height: auto;
  object-fit: contain;
  object-position: center;
  filter:
    drop-shadow(0 20px 45px rgba(0, 0, 0, 0.86))
    drop-shadow(0 0 32px rgba(215, 25, 22, 0.32));
}

.hero-lead {
  width: min(47rem, 100%);
  max-width: 100%;
  margin: 0.38rem 0 1.35rem;
  color: #fff3e0;
  font-size: clamp(1.02rem, 1.5vw, 1.26rem);
  font-weight: 800;
  text-shadow: 0 5px 22px rgba(0, 0, 0, 0.95);
  overflow-wrap: break-word;
}

.button {
  position: relative;
  display: inline-grid;
  align-items: center;
  justify-content: center;
  place-items: center;
  min-height: 3.2rem;
  padding: 0.9rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: "Arial Black", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-weight: 900;
  line-height: 1.08;
  text-align: center;
  text-transform: uppercase;
  white-space: normal;
  overflow-wrap: break-word;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.58;
  transform: none;
}

.button-primary {
  border-color: rgba(246, 184, 0, 0.58);
  background:
    linear-gradient(90deg, rgba(246, 184, 0, 0.13), transparent 18%, transparent 82%, rgba(246, 184, 0, 0.1)),
    linear-gradient(180deg, rgba(18, 16, 13, 0.98), rgba(4, 4, 4, 0.98));
  color: #fff7e6;
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.62),
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    inset 0 -2px 0 rgba(246, 184, 0, 0.32);
}

.button-primary:hover,
.button-primary:focus-visible {
  border-color: rgba(246, 184, 0, 0.9);
  background:
    linear-gradient(90deg, rgba(246, 184, 0, 0.22), transparent 20%, transparent 80%, rgba(246, 184, 0, 0.18)),
    linear-gradient(180deg, rgba(34, 26, 15, 0.98), rgba(5, 5, 5, 0.98));
}

.button-secondary {
  border-color: rgba(246, 241, 232, 0.22);
  background: rgba(0, 0, 0, 0.45);
  color: var(--ink);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--yellow);
}

.hero-cta {
  position: relative;
  width: min(34rem, calc(100vw - 2rem));
  max-width: 100%;
  min-height: 4.15rem;
  padding-inline: 1.15rem;
  font-size: clamp(0.94rem, 1.45vw, 1.12rem);
  white-space: normal;
}

.hero-cta::before,
.hero-cta::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(246, 184, 0, 0.85), transparent);
}

.hero-cta::before {
  top: 0.42rem;
}

.hero-cta::after {
  bottom: 0.42rem;
}

.hero-cta span {
  position: relative;
  display: block;
}

.hero-cta span + span {
  color: #cfc5ba;
  font-size: 0.82em;
}

.cta-caption {
  width: min(45rem, 100%);
  max-width: 100%;
  margin: 0.78rem 0 0;
  color: #e5dacd;
  font-size: 0.98rem;
  font-weight: 720;
  overflow-wrap: break-word;
}

.hero-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(246, 241, 232, 0.16);
  background: rgba(0, 0, 0, 0.66);
  color: #f4e8d8;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 0.9rem;
  text-align: center;
  text-transform: uppercase;
}

.hero-bottom span {
  min-height: 3rem;
  display: grid;
  place-items: center;
  padding: 0.6rem;
  border-right: 1px solid rgba(246, 241, 232, 0.14);
}

.ticker {
  display: flex;
  gap: 0.65rem;
  overflow: hidden;
  padding: 0.8rem 1rem;
  border-block: 1px solid rgba(246, 241, 232, 0.16);
  background: #dba500;
  color: #080706;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.ticker span {
  flex: 1 0 auto;
  min-width: max-content;
  padding-right: 1rem;
  border-right: 2px solid rgba(0, 0, 0, 0.38);
}

.section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4.2rem, 8vw, 7.25rem) 0;
  scroll-margin-top: 6rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(17rem, 0.5fr);
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: end;
  margin-bottom: 1.65rem;
}

.section-heading-inline {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.section-kicker {
  margin: 0 0 0.7rem;
  color: var(--yellow);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 0.88rem;
  text-transform: uppercase;
  text-shadow: 0 7px 24px rgba(0, 0, 0, 0.85);
}

.section-heading h2,
.recruitment-copy h2,
.newsletter h2,
.blog-preview h2,
.admin-section h2 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2.25rem, 5.6vw, 5.1rem);
  line-height: 0.94;
  text-transform: uppercase;
}

.section-heading p,
.showcase-card p,
.ops-grid p,
.recruitment-copy p,
.newsletter p,
.post-card p,
.blog-hero p {
  color: var(--muted);
  font-weight: 650;
}

.showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(19rem, 0.72fr);
  gap: 1rem;
}

.showcase-card {
  position: relative;
  min-height: 27rem;
  display: grid;
  align-items: end;
  overflow: hidden;
  border: 1px solid rgba(246, 241, 232, 0.18);
  border-radius: var(--radius);
  background: #090807;
  box-shadow: var(--shadow);
}

.showcase-card-large {
  min-height: 36rem;
}

.showcase-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.98) contrast(1.13) brightness(0.9);
}

.showcase-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 18%, rgba(0, 0, 0, 0.88) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.44), transparent 48%);
}

.showcase-card div {
  position: relative;
  z-index: 1;
  padding: clamp(1rem, 3vw, 1.6rem);
}

.showcase-card h3,
.ops-grid h3,
.post-card h3,
.post-card h2,
.application-card h3 {
  margin: 0.65rem 0 0.45rem;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(1.45rem, 2.8vw, 2.35rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.tag-red {
  border-color: rgba(215, 25, 22, 0.6);
  color: #ff6d64;
}

.ops-grid,
.post-grid,
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.ops-grid {
  margin-top: 1rem;
}

.ops-grid article,
.post-card,
.stat-card,
.admin-card,
.application-card,
.small-row {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    rgba(8, 8, 8, 0.82);
  box-shadow: var(--shadow);
}

.ops-grid article {
  min-height: 13rem;
  padding: 1.1rem;
  border-top: 3px solid var(--yellow);
}

.ops-grid article:nth-child(2) {
  border-top-color: rgba(246, 184, 0, 0.74);
}

.ops-grid article:nth-child(3) {
  border-top-color: rgba(246, 184, 0, 0.48);
}

.ops-grid span {
  color: var(--yellow);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 1.2rem;
}

.recruitment {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 44rem);
  align-items: center;
  min-height: clamp(28rem, 44vw, 39rem);
  padding-inline: max(1rem, calc((100% - 1180px) / 2));
  border-block: 1px solid rgba(246, 241, 232, 0.14);
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.97), rgba(5, 5, 5, 0.7) 52%, rgba(5, 5, 5, 0.97)),
    linear-gradient(90deg, rgba(246, 184, 0, 0.08), transparent 40%),
    url("/assets/stock-wawel-park.png") center right / cover,
    linear-gradient(180deg, #080807, #0e0d0c);
}

.recruitment-copy {
  position: relative;
  display: grid;
  align-content: start;
  gap: 1rem;
  padding-block: 2rem;
}

.recruitment-copy h2 {
  max-width: 34rem;
  font-size: clamp(2.15rem, 4.4vw, 4.15rem);
  line-height: 0.96;
}

.recruitment-copy p {
  max-width: 36rem;
  margin: 0;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.55;
  color: #efe5d8;
}

.recruitment-cta {
  justify-self: start;
  width: min(29rem, 100%);
  margin-top: 0.35rem;
}

.application-form,
.newsletter-form,
.contact-form,
.blog-editor {
  display: grid;
  gap: 1rem;
}

.application-form,
.newsletter-form,
.contact-form {
  padding: clamp(1.05rem, 2.2vw, 1.6rem);
  border: 1px solid rgba(246, 241, 232, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(246, 184, 0, 0.06), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.015)),
    rgba(3, 3, 3, 0.72);
  box-shadow: var(--shadow);
}

.form-intro {
  display: grid;
  gap: 0.35rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(246, 241, 232, 0.12);
}

.form-intro h2 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1;
  text-transform: uppercase;
}

.form-intro h1 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2.4rem, 7vw, 5.4rem);
  line-height: 0.93;
  text-transform: uppercase;
}

.form-intro p {
  max-width: 42rem;
  margin: 0;
  color: #ede2d4;
  font-weight: 650;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.35rem;
  color: #f1e7d9;
  font-size: 0.88rem;
  font-weight: 820;
}

input,
select,
textarea {
  width: 100%;
  min-height: 2.9rem;
  border: 1px solid rgba(246, 241, 232, 0.22);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.64);
  color: var(--ink);
  padding: 0.82rem 0.9rem;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(246, 184, 0, 0.16), 0 12px 30px rgba(0, 0, 0, 0.26);
}

.test-block {
  display: grid;
  gap: 1rem;
  margin-top: 0.5rem;
  padding: clamp(1rem, 2.2vw, 1.45rem);
  border: 1px solid rgba(246, 241, 232, 0.18);
  background:
    linear-gradient(135deg, rgba(246, 184, 0, 0.075), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(0, 0, 0, 0.18));
}

.test-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(246, 241, 232, 0.12);
  color: var(--yellow);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  text-transform: uppercase;
}

.question-list {
  display: grid;
  gap: 1rem;
}

.question-progress {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0 1rem;
  border-bottom: 1px solid rgba(246, 241, 232, 0.12);
  color: var(--yellow);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  text-transform: uppercase;
}

.question-progress::before,
.question-progress::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
}

.question-progress::before {
  right: 0;
  background: rgba(246, 241, 232, 0.12);
}

.question-progress::after {
  width: var(--question-progress, 12.5%);
  background: var(--yellow);
  box-shadow: 0 0 18px rgba(246, 184, 0, 0.32);
  transition: width 180ms ease;
}

.question-progress strong {
  color: var(--ink);
}

.question-track {
  min-height: 21rem;
}

.question-card {
  margin: 0;
  padding: 0.8rem 0 0;
  border: 0;
}

.question-card legend {
  display: grid;
  grid-template-columns: 2.65rem minmax(0, 1fr);
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  color: var(--ink);
  font-weight: 900;
  line-height: 1.32;
  font-size: clamp(1rem, 1.7vw, 1.22rem);
}

.question-card legend span {
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  place-items: center;
  border: 1px solid rgba(246, 184, 0, 0.5);
  color: var(--yellow);
}

.option-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

.radio-option,
.check-line {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  min-height: 3rem;
  padding: 0.9rem 0.95rem;
  border: 1px solid rgba(246, 241, 232, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(246, 184, 0, 0.035), transparent 26%),
    rgba(255, 255, 255, 0.04);
  color: #f0e5d8;
  font-weight: 700;
}

.radio-option {
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.radio-option:hover {
  border-color: rgba(246, 184, 0, 0.46);
  transform: translateY(-1px);
}

.radio-option input,
.check-line input {
  width: 1rem;
  min-height: 1rem;
  margin-top: 0.2rem;
  accent-color: var(--yellow);
}

.radio-option:has(input:checked) {
  border-color: var(--yellow);
  background:
    linear-gradient(90deg, rgba(246, 184, 0, 0.23), transparent 52%),
    rgba(246, 184, 0, 0.07);
  color: #fff8ea;
}

.question-controls {
  display: grid;
  grid-template-columns: 0.62fr 1fr;
  gap: 0.7rem;
}

.question-controls .button:disabled {
  opacity: 0.32;
}

.form-status {
  min-height: 1.4rem;
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.form-status[data-type="success"] {
  color: var(--green);
}

.form-status[data-type="error"] {
  color: #ff8279;
}

.post-card {
  display: grid;
  align-content: start;
  min-height: 16rem;
  padding: 1.15rem;
  border-left: 4px solid var(--red);
}

.post-card time,
.post-detail time,
.small-row time {
  color: var(--yellow);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.post-card a,
.back-link,
.small-row a {
  align-self: end;
  color: var(--yellow);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  text-transform: uppercase;
}

.newsletter {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(18rem, 0.45fr);
  gap: 2rem;
  align-items: start;
  border-top: 1px solid var(--line-strong);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.52fr) minmax(18rem, 0.48fr);
  gap: clamp(1.25rem, 4vw, 2.4rem);
  align-items: start;
  border-top: 1px solid var(--line-strong);
}

.contact-copy {
  display: grid;
  gap: 1rem;
}

.contact-copy h2 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2.4rem, 5.8vw, 4.9rem);
  line-height: 0.96;
  text-transform: uppercase;
}

.contact-copy p {
  max-width: 42rem;
  margin: 0;
  color: #eadfd1;
  font-weight: 700;
}

.contact-mail {
  justify-self: start;
  padding: 0.45rem 0;
  border-bottom: 2px solid var(--yellow);
  color: var(--ink);
  font-weight: 900;
}

.legal-shell {
  width: min(920px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.legal-shell h1 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2.6rem, 8vw, 5.4rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.legal-lead {
  margin: 0.8rem 0 2rem;
  color: var(--yellow);
  font-weight: 900;
}

.legal-shell section {
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
}

.legal-shell h2 {
  margin: 0 0 0.65rem;
  color: var(--ink);
  font-size: 1.12rem;
  text-transform: uppercase;
}

.legal-shell p {
  margin: 0.55rem 0;
  color: var(--muted);
  font-weight: 600;
}

.legal-shell a,
.check-line a {
  color: var(--yellow);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.6rem 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  text-transform: uppercase;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #f1e8dc;
}

.footer-studio-logo {
  width: 2.15rem;
  height: auto;
  max-height: 2rem;
  object-fit: contain;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(0.8rem, 2vw, 1.4rem);
}

.footer-nav a {
  color: #e9decf;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--yellow);
}

.admin-page .site-header {
  position: static;
  background: #050505;
}

.subpage-main {
  padding-top: 0;
}

.apply-page .subpage-main {
  position: relative;
  min-height: calc(100svh - 5rem);
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.96), rgba(5, 5, 5, 0.76) 48%, rgba(5, 5, 5, 0.98)),
    linear-gradient(180deg, rgba(5, 5, 5, 0.55), #050505 92%),
    url("/assets/stock-wawel-park.png") center / cover fixed;
}

.blog-hero {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 4rem 0 2rem;
}

.apply-hero {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 44rem);
  align-items: end;
  min-height: clamp(28rem, 48vw, 38rem);
  overflow: hidden;
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid rgba(246, 241, 232, 0.16);
  border-top: 0;
  background: #050505;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.apply-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.48) 52%, rgba(0, 0, 0, 0.72)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.88));
}

.apply-hero h1 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(3rem, 7.4vw, 6.2rem);
  line-height: 0.92;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.apply-hero h1 span {
  display: block;
}

.blog-hero h1 span {
  display: block;
}

.apply-hero p {
  max-width: 46rem;
  color: #f0e4d6;
  font-weight: 780;
  line-height: 1.55;
}

.apply-hero img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  filter: saturate(0.92) contrast(1.12) brightness(0.82);
}

.apply-section {
  display: grid;
  grid-template-columns: minmax(0, 70rem);
  justify-content: center;
  align-items: start;
  padding-top: clamp(3rem, 6vw, 5rem);
}

.apply-page .application-form {
  position: relative;
  overflow: hidden;
  gap: clamp(1rem, 2vw, 1.35rem);
  padding: clamp(1.2rem, 3vw, 2.25rem);
  border-color: rgba(246, 241, 232, 0.26);
  background:
    linear-gradient(135deg, rgba(246, 184, 0, 0.1), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.018)),
    rgba(2, 2, 2, 0.82);
}

.apply-page .application-form::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(246, 184, 0, 0.12);
}
}

.blog-hero h1,
.admin-topbar h1,
.admin-login h1 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.blog-hero-image {
  display: block;
  width: 100%;
  aspect-ratio: 21 / 8;
  margin-top: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.blog-list-section {
  padding-top: 2rem;
}

.post-detail {
  max-width: 820px;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.post-detail h2 {
  margin: 0.7rem 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 0.96;
  text-transform: uppercase;
}

.post-excerpt {
  color: #d8cdc1;
  font-size: 1.15rem;
}

.post-body {
  color: #ede5da;
}

.post-body p {
  margin: 1rem 0;
}

.admin-page {
  background:
    radial-gradient(circle at 15% 0%, rgba(246, 184, 0, 0.14), transparent 28rem),
    radial-gradient(circle at 90% 0%, rgba(215, 25, 22, 0.16), transparent 30rem),
    #080706;
}

.admin-shell {
  width: min(1280px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 5rem;
}

.admin-login {
  display: grid;
  min-height: 100svh;
  align-content: center;
  justify-items: center;
  gap: 1.5rem;
}

.admin-studio-logo {
  width: clamp(4rem, 8vw, 6rem);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.72));
}

.admin-card {
  display: grid;
  width: min(28rem, 100%);
  gap: 1rem;
  padding: 1.2rem;
}

.admin-dashboard {
  display: grid;
  gap: 1.2rem;
}

.admin-topbar,
.admin-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.admin-actions,
.row-actions {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  flex-wrap: wrap;
}

.stats-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.stat-card {
  display: grid;
  gap: 0.3rem;
  padding: 1rem;
}

.stat-card span {
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}

.stat-card strong {
  font-size: 2rem;
}

.admin-section {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(246, 241, 232, 0.035);
}

.admin-section-header h2 {
  font-size: 1.8rem;
}

.compact {
  align-items: end;
}

.admin-list {
  display: grid;
  gap: 0.85rem;
}

.application-card {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.application-main,
.contact-grid,
.application-tools {
  display: grid;
  gap: 1rem;
}

.application-main {
  grid-template-columns: 1fr auto;
  align-items: start;
}

.score-badge {
  display: grid;
  min-width: 6rem;
  place-items: center;
  padding: 0.8rem;
  border: 1px solid rgba(246, 184, 0, 0.35);
  border-radius: var(--radius);
  background: rgba(246, 184, 0, 0.08);
  color: var(--yellow);
}

.score-badge strong {
  font-size: 1.35rem;
}

.score-badge span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  color: #ded3c7;
  font-size: 0.92rem;
}

.contact-grid span {
  overflow-wrap: anywhere;
}

.role-hints,
.message-box {
  margin: 0;
  color: #e6dbce;
}

.message-box {
  padding: 0.75rem;
  border-left: 4px solid var(--yellow);
  background: rgba(0, 0, 0, 0.22);
}

.answers {
  border-top: 1px solid var(--line);
  padding-top: 0.8rem;
}

.answers summary {
  cursor: pointer;
  color: var(--yellow);
  font-weight: 950;
  text-transform: uppercase;
}

.answers ul {
  display: grid;
  gap: 0.65rem;
  padding-left: 1.1rem;
  color: #ddd1c3;
}

.answers li strong,
.answers li span {
  display: block;
}

.application-tools {
  grid-template-columns: minmax(10rem, 0.2fr) 1fr auto;
  align-items: end;
}

.split-admin {
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  align-items: start;
}

.small-list {
  max-height: 38rem;
  overflow: auto;
  padding-right: 0.2rem;
}

.small-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem;
}

.small-row div,
.small-row strong,
.small-row span {
  display: grid;
  gap: 0.15rem;
}

.small-row span {
  color: var(--muted);
}

.text-action {
  border: 0;
  background: transparent;
  color: var(--yellow);
  font-weight: 950;
  text-transform: uppercase;
}

.text-action.danger {
  color: #ff8279;
}

.empty-state {
  margin: 0;
  padding: 1rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0;
    padding: 0.75rem 1rem;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    display: none;
    align-content: start;
    justify-items: stretch;
    width: min(21rem, calc(100vw - 4.5rem));
    height: 100vh;
    min-height: 100svh;
    padding: 5.5rem 1rem 2rem;
    border-left: 1px solid rgba(246, 184, 0, 0.28);
    background:
      linear-gradient(180deg, rgba(20, 17, 13, 0.98), rgba(3, 3, 3, 0.98)),
      #050505;
    box-shadow: -40px 0 90px rgba(0, 0, 0, 0.72);
    transform: none;
    transition: none;
    overflow: auto;
  }

  .site-nav a {
    display: grid;
    min-height: 3.35rem;
    align-items: center;
    padding: 0.85rem 0.9rem;
    border-bottom: 1px solid rgba(246, 241, 232, 0.14);
    font-size: 1.05rem;
  }

  .nav-toggle {
    position: fixed;
    right: 1rem;
    top: 0.95rem;
    z-index: 90;
    display: grid;
    width: 3.3rem;
    height: 3.3rem;
    place-items: center;
    gap: 0.24rem;
    padding: 0.82rem;
    border: 1px solid rgba(255, 244, 213, 0.9);
    border-radius: 999px;
    background: var(--yellow);
    box-shadow:
      0 18px 50px rgba(0, 0, 0, 0.68),
      0 0 0 4px rgba(0, 0, 0, 0.45);
  }

  .nav-toggle span:not(.sr-only) {
    display: block;
    width: 1.3rem;
    height: 2px;
    background: #050505;
    transition:
      transform 180ms ease,
      opacity 180ms ease;
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open .site-header {
    z-index: 100;
  }

  body.nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 70;
    background: rgba(0, 0, 0, 0.58);
    backdrop-filter: blur(3px);
  }

  body.nav-open .site-nav {
    display: grid;
  }

  body.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero {
    min-height: calc(92svh - 7.5rem);
    padding-top: 3.5rem;
  }

  .section-heading,
  .showcase-grid,
  .recruitment,
  .apply-section,
  .newsletter,
  .contact-section,
  .split-admin {
    grid-template-columns: 1fr;
  }

  .recruitment-copy {
    position: static;
  }

  .ops-grid,
  .post-grid,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid,
  .application-tools {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .brand {
    justify-content: center;
    gap: 0;
  }

  .studio-brand-logo {
    width: 3.35rem;
    max-height: 3.1rem;
  }

  .hero {
    min-height: calc(92svh - 6.6rem);
    padding: 2.4rem 1rem 4.5rem;
  }

  .hero-content {
    width: min(20.5rem, calc(100vw - 2rem));
    max-width: min(20.5rem, calc(100vw - 2rem));
  }

  .hero-logo {
    width: 92%;
  }

  .hero-cta {
    width: min(19rem, 100%);
    min-height: 3.65rem;
    font-size: 0.8rem;
  }

  .hero-lead,
  .cta-caption {
    width: min(16.75rem, 100%);
    font-size: 0.92rem;
  }

  .hero-lead {
    margin-top: 0;
  }

  .hero-bottom {
    grid-template-columns: 1fr;
    font-size: 0.78rem;
  }

  .hero-bottom span:nth-child(2),
  .hero-bottom span:nth-child(3) {
    display: none;
  }

  .section {
    width: min(100% - 1rem, 1180px);
    padding: 3.5rem 0;
    scroll-margin-top: 7.8rem;
  }

  .showcase-card,
  .showcase-card-large {
    min-height: 24rem;
  }

  .recruitment-copy h2 {
    max-width: 100%;
  }

  .recruitment-copy h2 {
    font-size: 2.2rem;
  }

  .recruitment-cta {
    width: 100%;
  }

  .apply-hero {
    display: none;
  }

  .apply-section {
    width: min(100% - 1rem, 1180px);
    padding: 1.2rem 0 3.5rem;
    overflow: visible;
  }

  .apply-hero h1 {
    max-width: 20.5rem;
    font-size: clamp(2.4rem, 12vw, 3.35rem);
    line-height: 0.96;
  }

  .blog-hero h1,
  .post-detail h2 {
    max-width: 100%;
    font-size: clamp(1.95rem, 9vw, 2.35rem);
    line-height: 0.98;
    overflow-wrap: anywhere;
  }

  .post-card h2,
  .post-card h3 {
    font-size: clamp(1.28rem, 6.8vw, 1.75rem);
    line-height: 1;
    overflow-wrap: anywhere;
  }

  .apply-hero p {
    width: min(21rem, 100%);
    font-size: 0.98rem;
    line-height: 1.48;
  }

  .application-form {
    gap: 0.9rem;
    padding: 1rem;
  }

  .form-intro h1,
  .form-intro h2 {
    font-size: clamp(2.05rem, 10vw, 2.75rem);
  }

  label {
    font-size: 0.84rem;
  }

  input,
  select,
  textarea {
    min-height: 3rem;
    padding: 0.78rem;
    font-size: 1rem;
  }

  .test-heading {
    align-items: center;
    font-size: 0.92rem;
  }

  .question-list {
    gap: 1rem;
  }

  .question-progress {
    font-size: 0.82rem;
  }

  .question-track {
    min-height: 24rem;
  }

  .question-card {
    padding-top: 0.9rem;
  }

  .question-card legend {
    grid-template-columns: 1.9rem minmax(0, 1fr);
    gap: 0.5rem;
    font-size: 0.93rem;
    line-height: 1.34;
  }

  .radio-option,
  .check-line {
    min-height: auto;
    padding: 0.78rem;
    font-size: 0.92rem;
    line-height: 1.35;
  }

  .question-controls {
    grid-template-columns: 1fr;
  }

  .ops-grid,
  .post-grid,
  .stats-grid,
  .form-row,
  .option-grid {
    grid-template-columns: 1fr;
  }

  .site-footer,
  .admin-topbar,
  .admin-section-header {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-nav {
    justify-content: flex-start;
  }

  .application-main {
    grid-template-columns: 1fr;
  }

  .small-row {
    display: grid;
  }
}

/* Admin dashboard v2 final overrides */
.admin-dashboard {
  display: grid;
  grid-template-columns: 17rem minmax(0, 1fr);
  min-height: 100svh;
  gap: 0;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 2rem;
  height: 100svh;
  padding: 1.4rem;
  border-right: 1px solid rgba(246, 184, 0, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    #090806;
}

.admin-workspace {
  display: grid;
  align-content: start;
  gap: 1rem;
  min-width: 0;
  padding: 1.2rem;
}

.admin-view {
  display: none;
}

.admin-view.is-active {
  display: block;
}

.admin-menu {
  display: grid;
  align-content: start;
  gap: 0.5rem;
}

.admin-menu button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  min-height: 2.85rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  color: #cfc3b5;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 950;
  text-align: left;
  text-transform: uppercase;
}

.admin-menu button:hover,
.admin-menu button.is-active {
  border-color: rgba(246, 184, 0, 0.5);
  background: rgba(246, 184, 0, 0.1);
  color: var(--yellow);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.7rem;
}

.admin-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(24rem, 0.62fr);
  gap: 1rem;
  align-items: start;
}

.admin-table-head,
.admin-record {
  display: grid;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 0.85rem;
}

.applications-head,
.applications-record {
  grid-template-columns: minmax(13rem, 1.2fr) minmax(10rem, 1fr) 5rem 7.5rem 9rem;
}

.messages-head,
.messages-record {
  grid-template-columns: minmax(12rem, 1.2fr) minmax(12rem, 1fr) 7.5rem 9rem;
}

.newsletter-head,
.newsletter-record {
  grid-template-columns: minmax(10rem, 0.7fr) minmax(14rem, 1fr) 9rem;
}

.admin-detail-panel {
  position: sticky;
  top: 1rem;
  display: grid;
  gap: 1rem;
  max-height: calc(100svh - 2rem);
  overflow: auto;
  padding: 1rem;
  border: 1px solid rgba(246, 184, 0, 0.18);
  background:
    linear-gradient(180deg, rgba(246, 184, 0, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(0, 0, 0, 0.32);
}

.application-tools {
  display: grid;
  grid-template-columns: minmax(10rem, 0.3fr) 1fr auto;
  gap: 1rem;
  align-items: end;
}

.overview-grid,
.split-admin {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.admin-pagination {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 0.8rem;
}

@media (max-width: 1180px) {
  .admin-dashboard {
    grid-template-columns: 14rem minmax(0, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-board {
    grid-template-columns: 1fr;
  }

  .admin-detail-panel {
    position: static;
    max-height: none;
  }
}

@media (max-width: 860px) {
  .admin-dashboard {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 1rem;
    border-right: 0;
    border-bottom: 1px solid rgba(246, 184, 0, 0.18);
  }

  .admin-sidebar-foot {
    grid-column: 1 / -1;
  }

  .admin-menu {
    grid-template-columns: repeat(5, minmax(max-content, 1fr));
    overflow-x: auto;
  }

  .admin-menu button {
    justify-content: center;
    white-space: nowrap;
  }

  .overview-grid,
  .split-admin {
    grid-template-columns: 1fr;
  }

  .admin-table-head {
    display: none;
  }

  .applications-record,
  .messages-record,
  .newsletter-record,
  .application-tools {
    grid-template-columns: 1fr;
  }

  .admin-filter-form,
  .admin-filter-form input,
  .admin-filter-form select,
  .admin-filter-form button {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }
}

/* Admin dashboard v3 hard layout */
.admin-page .admin-shell {
  width: 100%;
  max-width: none;
  min-height: 100svh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.admin-page .admin-dashboard {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  min-height: 100svh;
  gap: 0;
}

.admin-page .admin-sidebar {
  position: sticky;
  top: 0;
  width: auto;
  min-width: 0;
  height: 100svh;
  overflow: hidden;
}

.admin-page .admin-workspace {
  min-width: 0;
  width: 100%;
  padding: 24px;
  overflow: hidden;
}

.admin-page .admin-topbar {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.admin-page .admin-topbar h1 {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.admin-page .stats-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.admin-page .stat-card {
  min-width: 0;
  min-height: 128px;
  align-content: start;
  overflow: hidden;
}

.admin-page .stat-card span,
.admin-page .stat-card strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.admin-page .admin-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(340px, 33vw, 500px);
  gap: 20px;
  align-items: start;
  min-width: 0;
}

.admin-page .admin-table-panel,
.admin-page .admin-list-table {
  min-width: 0;
  width: 100%;
  overflow: hidden;
}

.admin-page .admin-detail-panel {
  position: sticky;
  top: 24px;
  z-index: 0;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.admin-page .admin-table-head,
.admin-page .admin-record {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}

.admin-page .applications-head,
.admin-page .applications-record {
  grid-template-columns: minmax(150px, 1.25fr) minmax(70px, 0.7fr) 64px 82px 118px;
}

.admin-page .messages-head,
.admin-page .messages-record {
  grid-template-columns: minmax(150px, 1.25fr) minmax(150px, 1fr) 90px 118px;
}

.admin-page .newsletter-head,
.admin-page .newsletter-record {
  grid-template-columns: minmax(120px, 0.75fr) minmax(170px, 1fr) 118px;
}

.admin-page .admin-record > *,
.admin-page .admin-table-head > * {
  min-width: 0;
  overflow-wrap: anywhere;
}

.admin-page .admin-record time {
  white-space: normal;
}

.admin-page .application-tools {
  grid-template-columns: minmax(120px, 0.25fr) minmax(0, 1fr) auto auto;
}

.admin-page .settings-panel {
  max-width: 760px;
}

.button-danger {
  border-color: rgba(255, 88, 76, 0.5);
  background: rgba(255, 88, 76, 0.1);
  color: #ff8f86;
}

.button-danger:hover {
  border-color: rgba(255, 88, 76, 0.85);
  background: rgba(255, 88, 76, 0.18);
}

.toast-stack {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 9999;
  display: grid;
  gap: 10px;
  width: min(420px, calc(100vw - 32px));
  pointer-events: none;
}

.site-toast {
  padding: 14px 16px;
  border: 1px solid rgba(246, 184, 0, 0.75);
  background:
    linear-gradient(135deg, rgba(246, 184, 0, 0.2), rgba(0, 0, 0, 0.9)),
    #100d06;
  color: #fff7dd;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  font-weight: 900;
  line-height: 1.35;
  text-transform: none;
  pointer-events: auto;
}

.site-toast-error {
  border-color: rgba(255, 88, 76, 0.78);
  background:
    linear-gradient(135deg, rgba(255, 88, 76, 0.18), rgba(0, 0, 0, 0.92)),
    #120706;
}

.site-toast-success {
  border-color: rgba(143, 208, 95, 0.78);
  background:
    linear-gradient(135deg, rgba(143, 208, 95, 0.16), rgba(0, 0, 0, 0.9)),
    #071007;
}

.confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.72);
}

.confirm-box {
  display: grid;
  gap: 18px;
  width: min(460px, 100%);
  padding: 22px;
  border: 1px solid rgba(246, 184, 0, 0.55);
  background: #0d0b08;
  box-shadow: var(--shadow);
}

.confirm-box p {
  margin: 0;
  color: #fff4df;
  font-size: 1.05rem;
  font-weight: 900;
}

.confirm-box div {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 1500px) {
  .admin-page .admin-dashboard {
    grid-template-columns: 280px minmax(0, 1fr);
  }

  .admin-page .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-page .admin-board {
    grid-template-columns: 1fr;
  }

  .admin-page .admin-detail-panel {
    position: static;
    max-height: none;
  }
}

@media (max-width: 920px) {
  .admin-page .admin-dashboard {
    grid-template-columns: 1fr;
  }

  .admin-page .admin-sidebar {
    position: static;
    height: auto;
    overflow: visible;
  }

  .admin-page .admin-workspace {
    padding: 14px;
  }

  .admin-page .admin-topbar,
  .admin-page .admin-section-header {
    display: grid;
  }

  .admin-page .applications-head,
  .admin-page .messages-head,
  .admin-page .newsletter-head {
    display: none;
  }

  .admin-page .applications-record,
  .admin-page .messages-record,
  .admin-page .newsletter-record,
  .admin-page .application-tools {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .admin-page .stats-grid {
    grid-template-columns: 1fr;
  }

  .toast-stack {
    top: 10px;
    right: 10px;
    width: calc(100vw - 20px);
  }
}

/* Admin status control polish */
.admin-page .application-tools {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
  padding-top: 4px;
}

.admin-page .status-field {
  display: grid;
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.admin-page .status-field legend {
  padding: 0;
  color: #fff2d8;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.admin-page .status-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}

.admin-page .status-chip {
  min-width: 0;
  cursor: pointer;
}

.admin-page .status-chip input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.admin-page .status-chip span {
  display: grid;
  min-height: 42px;
  place-items: center;
  padding: 8px 10px;
  border: 1px solid rgba(246, 184, 0, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(0, 0, 0, 0.18)),
    rgba(0, 0, 0, 0.26);
  color: #efe2d0;
  font-size: 0.83rem;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.admin-page .status-chip:hover span {
  border-color: rgba(246, 184, 0, 0.55);
  color: var(--yellow);
}

.admin-page .status-chip input:checked + span,
.admin-page .status-chip.is-active span {
  border-color: rgba(246, 184, 0, 0.9);
  background:
    linear-gradient(135deg, rgba(246, 184, 0, 0.22), rgba(0, 0, 0, 0.34)),
    #151006;
  color: var(--yellow);
  box-shadow:
    inset 0 0 0 1px rgba(246, 184, 0, 0.25),
    0 0 0 1px rgba(246, 184, 0, 0.12);
}

.admin-page .status-chip input:focus-visible + span {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

.admin-page .application-tools > label {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.admin-page .application-tools textarea {
  width: 100%;
  min-height: 118px;
  resize: vertical;
}

.admin-page .detail-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}

.admin-page .detail-actions .button {
  width: 100%;
  min-height: 54px;
  white-space: normal;
  line-height: 1.05;
}

.admin-page [data-message-detail-form] .detail-actions {
  grid-template-columns: 1fr;
}

@media (max-width: 620px) {
  .admin-page .status-options,
  .admin-page .detail-actions {
    grid-template-columns: 1fr;
  }
}
