/* KEMA Media article-style homepage */
:root {
  color-scheme: dark;
  --ink: #050505;
  --paper: #f7f4ea;
  --muted: #bdb7a8;
  --yellow: #ffcf23;
  --yellow-deep: #e2ae00;
  --blue: #00a7e1;
  --line: rgba(255, 255, 255, 0.16);
  --max: 1320px;
  --display: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Black", sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  line-height: 1.5;
}

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

a {
  color: inherit;
}

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

button {
  cursor: pointer;
}

.intro-logo {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background: #fdcd2d url("assets/IntroBG.JPEG") center / cover no-repeat;
  pointer-events: none;
  animation: introFade 2.55s ease forwards;
}

.intro-mark {
  width: min(84vw, 620px);
  display: flex;
  flex-direction: column;
  align-items: center;
  filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.28));
  transform: scale(0.98);
  animation: introMarkSettle 2.2s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.intro-part {
  width: 100%;
  height: auto;
  will-change: transform;
}

.intro-part-top {
  margin-bottom: clamp(-8px, 1.8vw, 18px);
  animation: introTopMerge 2.15s cubic-bezier(0.77, 0, 0.18, 1) forwards;
}

.intro-part-bottom {
  margin-top: clamp(-18px, -2.6vw, -8px);
  animation: introBottomMerge 2.15s cubic-bezier(0.77, 0, 0.18, 1) forwards;
}

@keyframes introTopMerge {
  0% {
    transform: translate3d(-42vw, 0, 0) scale(1.025);
    opacity: 0;
  }
  42%,
  72% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 1;
  }
}

@keyframes introBottomMerge {
  0% {
    transform: translate3d(42vw, 0, 0) scale(1.025);
    opacity: 0;
  }
  42%,
  72% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 1;
  }
}

@keyframes introMarkSettle {
  0% {
    transform: scale(0.92);
  }
  60%,
  100% {
    transform: scale(1);
  }
}

@keyframes introFade {
  0%,
  72% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro-logo {
    animation-duration: 0.01ms;
  }

  .intro-mark,
  .intro-part-top,
  .intro-part-bottom,
  .breaking-badge {
    animation-duration: 0.01ms;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: stretch;
  gap: 24px;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 14px 18px;
  background: rgba(5, 5, 5, 0.94);
  border-bottom: 1px solid var(--line);
}

.kema-mark {
  display: grid;
  grid-template-rows: 1fr 1fr;
  width: 84px;
  aspect-ratio: 1 / 1.28;
  background: var(--ink);
  color: var(--yellow);
  text-decoration: none;
  border: 1px solid rgba(255, 207, 35, 0.18);
  overflow: hidden;
}

.kema-mark span {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 43px;
  line-height: 0.78;
  letter-spacing: 0;
}

.kema-mark.small {
  width: 62px;
}

.kema-mark.small span {
  font-size: 32px;
}

.kema-image-mark {
  display: grid;
  place-items: center;
  width: 84px;
  aspect-ratio: 1 / 1.28;
  overflow: visible;
  background: var(--ink);
  border: 1px solid rgba(255, 207, 35, 0.18);
}

.kema-image-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.kema-image-mark.small {
  width: 62px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 3vw, 42px);
  min-width: 0;
}

.main-nav a,
.footer-links a {
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

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

.domain-ribbon {
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 206px;
  min-height: 54px;
  padding: 0 34px 0 42px;
  background: var(--yellow);
  color: var(--ink);
  clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Black", sans-serif;
  font-size: 1.326rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: none;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.45));
}

.menu-toggle {
  display: none;
  align-self: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 207, 35, 0.45);
  background: #050505;
  color: var(--yellow);
  padding: 11px;
}

.menu-toggle span {
  display: block;
  height: 3px;
  margin: 5px 0;
  background: var(--yellow);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.admin-logout-form {
  align-self: center;
  margin: 0;
}

.admin-logout-button {
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(255, 207, 35, 0.55);
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-logout-button:hover {
  background: var(--paper);
}

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

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

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

main {
  overflow: hidden;
}

.lead-section {
  display: grid;
  grid-template-columns: minmax(0, 1.52fr) minmax(330px, 0.72fr);
  gap: 18px;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 18px;
}

.lead-story,
.rail-story,
.article-card {
  position: relative;
  overflow: hidden;
}

.lead-story {
  min-height: min(760px, calc(100vh - 138px));
  background: #111;
}

.lead-story img,
.rail-photo img,
.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0) 38%, rgba(5, 5, 5, 0.92) 100%),
    linear-gradient(90deg, rgba(5, 5, 5, 0.55), rgba(5, 5, 5, 0) 38%);
}

.lead-copy {
  position: absolute;
  right: clamp(18px, 4vw, 58px);
  bottom: clamp(24px, 5vw, 64px);
  left: clamp(18px, 5vw, 82px);
  z-index: 2;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 950px;
  color: #fff;
  font-size: clamp(2.2rem, 5.9vw, 6.1rem);
  line-height: 0.86;
  text-wrap: balance;
}

.lead-copy p:last-child {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(247, 244, 234, 0.88);
  font-size: clamp(1rem, 1.3vw, 1.22rem);
  font-weight: 650;
}

.lead-rail {
  display: grid;
  grid-template-rows: 1.35fr 0.65fr;
  gap: 18px;
  min-height: min(760px, calc(100vh - 138px));
}

.rail-story {
  min-height: 310px;
}

.rail-photo > div:last-child,
.image-card > div:last-child {
  position: absolute;
  right: 22px;
  bottom: 24px;
  left: 22px;
  z-index: 2;
}

.rail-story h2 {
  color: #fff;
  font-size: clamp(1.4rem, 2.25vw, 2.8rem);
  line-height: 0.88;
}

.rail-brief {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  background: var(--yellow);
  color: var(--ink);
}

.rail-brief .eyebrow {
  color: var(--ink);
}

.rail-brief h2 {
  font-size: clamp(1.25rem, 1.6vw, 2.2rem);
  line-height: 0.93;
}

.rail-brief a {
  width: fit-content;
  color: var(--ink);
  font-weight: 950;
  text-transform: uppercase;
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.ticker {
  display: flex;
  gap: clamp(18px, 4vw, 64px);
  width: 100%;
  padding: 18px max(18px, calc((100vw - var(--max)) / 2 + 18px));
  background: var(--yellow);
  color: var(--ink);
  overflow-x: auto;
}

.ticker span {
  flex: 0 0 auto;
  font-family: var(--display);
  font-size: clamp(1.8rem, 4.4vw, 5rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.content-band,
.split-band {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 96px) 18px 18px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(160px, 0.34fr) minmax(0, 1fr);
  gap: 22px;
  align-items: end;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.section-heading h2 {
  max-width: 940px;
  color: #fff;
  font-size: clamp(1.75rem, 4.2vw, 4.9rem);
  line-height: 0.88;
}

.section-heading h1 {
  max-width: 940px;
  color: #fff;
  font-size: clamp(2.95rem, 8.4vw, 8.4rem);
  line-height: 0.86;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(320px, auto);
  gap: 18px;
  padding-top: 18px;
}

.article-card {
  min-height: 320px;
}

a.article-card {
  color: inherit;
  text-decoration: none;
}

.yellow-card,
.black-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
}

.yellow-card {
  grid-column: span 2;
  background: var(--yellow);
  color: var(--ink);
}

.yellow-card .eyebrow {
  color: var(--ink);
}

.black-card {
  background: #111;
  border: 1px solid var(--line);
}

.article-card h3 {
  font-size: clamp(1.25rem, 2.1vw, 2.55rem);
  line-height: 0.9;
}

.article-card p:not(.eyebrow) {
  margin: 12px 0 0;
  max-width: 540px;
  color: currentColor;
  font-weight: 700;
  opacity: 0.76;
}

.article-card span {
  color: currentColor;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.72;
}

.image-card {
  color: #fff;
  background: #111;
}

.image-card.wide {
  grid-column: span 2;
}

.image-card h3 {
  max-width: 680px;
  font-size: clamp(1.55rem, 2.8vw, 3.65rem);
}

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.7fr);
  gap: 18px;
  align-items: start;
  padding-bottom: clamp(54px, 8vw, 96px);
}

.split-band .section-heading {
  display: block;
  border: 0;
  padding: 0;
}

.focus-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.focus-list article {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  padding: 28px;
  background: #101010;
}

.focus-list span {
  color: var(--yellow);
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1;
}

.focus-list h3 {
  font-size: clamp(1.2rem, 1.7vw, 2rem);
  line-height: 0.92;
}

.focus-list p {
  grid-column: 2;
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 650;
}

.site-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 28px 18px 44px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-weight: 650;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.saved-band {
  padding-top: clamp(42px, 6vw, 74px);
}

.login-page {
  display: grid;
  min-height: 100vh;
  background:
    linear-gradient(rgba(5, 5, 5, 0.72), rgba(5, 5, 5, 0.94)),
    url("assets/IntroBG.JPEG") center / cover fixed;
}

.login-shell {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 20px;
}

.login-panel {
  width: min(100%, 520px);
  padding: clamp(26px, 6vw, 52px);
  background: #101010;
  border: 1px solid rgba(255, 207, 35, 0.42);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.58);
}

.login-mark {
  width: 74px;
  margin-bottom: 32px;
}

.login-panel h1 {
  font-size: clamp(3rem, 11vw, 5.8rem);
}

.login-intro {
  margin: 18px 0 28px;
  color: var(--muted);
  font-weight: 700;
}

.login-form {
  display: grid;
  gap: 18px;
}

.login-form .owner-button {
  min-height: 54px;
  margin-top: 4px;
}

.login-error {
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid #ff3344;
  background: rgba(255, 0, 24, 0.12);
  color: #fff;
  font-weight: 800;
}

.login-home-link {
  display: inline-block;
  margin-top: 26px;
  color: var(--yellow);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.studio-hero,
.archive-hero {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(46px, 8vw, 92px) 18px 22px;
}

.studio-hero h1,
.archive-hero h1 {
  max-width: 1100px;
  font-size: clamp(2.95rem, 8.4vw, 8.4rem);
}

.studio-layout,
.release-section,
.archive-layout {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 18px;
}

.studio-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: 18px;
  align-items: start;
}

.editor-panel,
.preview-panel,
.archive-reader {
  background: #101010;
  border: 1px solid var(--line);
}

.editor-panel {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 3vw, 34px);
}

.preview-panel {
  position: sticky;
  top: 138px;
  padding: 18px;
}

.form-row {
  display: grid;
  gap: 18px;
}

.form-row.two {
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.34fr);
}

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

label {
  display: grid;
  gap: 8px;
  color: var(--paper);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.news-type-control {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.news-type-control legend {
  margin: 0 0 8px;
  color: var(--paper);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.toggle-check {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #050505;
}

.toggle-check input {
  width: 20px;
  min-height: 20px;
  accent-color: var(--yellow);
}

.regular-news-note {
  color: rgba(247, 244, 234, 0.66);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

input,
textarea,
select {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  background: #050505;
  color: var(--paper);
  padding: 13px 14px;
  outline: 0;
}

textarea {
  resize: vertical;
  line-height: 1.55;
  text-transform: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 2px rgba(255, 207, 35, 0.18);
}

.file-drop {
  padding: 22px;
  border: 1px dashed rgba(255, 207, 35, 0.48);
  background: rgba(255, 207, 35, 0.06);
}

.image-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(116px, 1fr));
  gap: 12px;
}

.image-preview p,
.empty-state {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.image-preview figure {
  position: relative;
  margin: 0;
  aspect-ratio: 1;
  overflow: hidden;
  background: #050505;
}

.image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-preview button,
.owner-item-actions button,
.owner-button,
.filter-chip,
.carousel-button {
  min-height: 42px;
  border: 1px solid rgba(255, 207, 35, 0.45);
  background: #050505;
  color: var(--paper);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.image-preview button {
  position: absolute;
  right: 6px;
  bottom: 6px;
  min-height: 32px;
  padding: 0 10px;
  background: var(--yellow);
  color: var(--ink);
}

.editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.owner-button {
  padding: 0 22px;
}

.owner-button.primary,
.filter-chip.active {
  background: var(--yellow);
  color: var(--ink);
}

.release-section {
  padding-top: clamp(42px, 6vw, 82px);
  padding-bottom: clamp(54px, 8vw, 96px);
}

.owner-list {
  display: grid;
  gap: 14px;
  padding-top: 18px;
}

.owner-item {
  display: grid;
  grid-template-columns: 154px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: stretch;
  padding: 14px;
  background: #101010;
  border: 1px solid var(--line);
}

.owner-item img {
  width: 100%;
  height: 132px;
  object-fit: cover;
  background: #050505;
}

.owner-item h3 {
  font-size: clamp(1.12rem, 1.75vw, 2.1rem);
  line-height: 0.92;
}

.owner-item p:not(.eyebrow) {
  margin: 10px 0;
  color: var(--muted);
  font-weight: 650;
}

.owner-item span {
  color: rgba(247, 244, 234, 0.7);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.owner-item-actions {
  display: grid;
  align-content: center;
  gap: 10px;
}

.owner-item-actions button {
  min-width: 94px;
  padding: 0 14px;
}

.archive-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.68fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding-bottom: clamp(54px, 8vw, 96px);
}

.archive-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.filter-chip {
  padding: 0 16px;
}

.archive-list {
  display: grid;
  gap: 12px;
}

.archive-item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  background: #101010;
  color: var(--paper);
  text-align: left;
}

.archive-item.active,
.archive-item:hover {
  border-color: var(--yellow);
}

.archive-item img {
  width: 112px;
  height: 112px;
  object-fit: cover;
}

.archive-item span {
  display: grid;
  gap: 7px;
  align-content: start;
}

.archive-item strong,
.archive-item em,
.reader-meta,
.breaking-badge {
  color: var(--yellow);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.breaking-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 10px;
  padding: 5px 9px;
  background: rgba(210, 0, 14, 0.54);
  border: 1px solid rgba(255, 0, 18, 0.98);
  color: #ff0717;
  box-shadow:
    0 0 0 1px rgba(255, 0, 18, 0.22),
    0 0 22px rgba(255, 0, 18, 0.32);
  animation: breakingPulse 1.75s ease-in-out infinite;
}

.archive-item .breaking-badge,
.owner-item .breaking-badge {
  margin-bottom: 2px;
  padding: 4px 7px;
  font-size: 0.64rem;
}

@keyframes breakingPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.075);
  }
}

@media (prefers-reduced-motion: reduce) {
  .breaking-badge {
    animation: none;
  }
}

.archive-item b {
  font-family: var(--display);
  font-size: clamp(1rem, 1.6vw, 1.75rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.archive-item em {
  color: rgba(247, 244, 234, 0.65);
}

.archive-reader {
  position: sticky;
  top: 138px;
}

.reader-card {
  min-height: 360px;
  background: #101010;
}

.reader-carousel {
  position: relative;
  min-height: 280px;
  aspect-ratio: 16 / 10;
  background: #050505;
  overflow: hidden;
}

.reader-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-button {
  position: absolute;
  top: 50%;
  min-width: 74px;
  padding: 0 12px;
  transform: translateY(-50%);
  background: rgba(5, 5, 5, 0.8);
}

.carousel-button.prev {
  left: 12px;
}

.carousel-button.next {
  right: 12px;
}

.carousel-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 8px 12px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.reader-body {
  padding: clamp(20px, 3.5vw, 38px);
}

.reader-body h2 {
  color: #fff;
  font-size: clamp(1.75rem, 3.8vw, 4.35rem);
  line-height: 0.88;
}

.reader-excerpt {
  margin: 18px 0;
  color: rgba(247, 244, 234, 0.88);
  font-size: 1.08rem;
  font-weight: 800;
}

.reader-copy {
  margin-top: 24px;
  color: var(--paper);
}

.reader-copy p {
  max-width: 760px;
  margin: 0 0 18px;
  color: rgba(247, 244, 234, 0.84);
  font-size: 1rem;
  line-height: 1.72;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr auto auto;
  }

  .main-nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .domain-ribbon {
    justify-self: end;
  }

  .lead-section,
  .split-band,
  .studio-layout,
  .archive-layout {
    grid-template-columns: 1fr;
  }

  .lead-story,
  .lead-rail {
    min-height: auto;
  }

  .lead-story {
    aspect-ratio: 4 / 5;
  }

  .lead-rail {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }

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

  .preview-panel,
  .archive-reader {
    position: static;
  }
}

@media (max-width: 760px) {
  body.menu-open {
    overflow: hidden;
  }

  .site-header {
    position: sticky;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    gap: 10px;
    width: 100%;
    padding: 10px;
  }

  .kema-image-mark {
    width: 58px;
  }

  .main-nav {
    position: fixed;
    inset: 96px 10px auto 10px;
    z-index: 30;
    display: grid;
    gap: 0;
    max-height: calc(100vh - 104px);
    overflow-y: auto;
    padding: 8px;
    background: rgba(5, 5, 5, 0.98);
    border: 1px solid rgba(255, 207, 35, 0.32);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .menu-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    display: flex;
    align-items: center;
    min-height: 54px;
    padding: 0 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.9rem;
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .menu-toggle {
    display: block;
  }

  .admin-logout-form {
    justify-self: end;
  }

  .admin-logout-button {
    min-height: 44px;
    padding: 0 13px;
    font-size: 0.78rem;
  }

  .domain-ribbon {
    min-width: 148px;
    min-height: 44px;
    padding: 0 20px 0 26px;
    font-size: 1.014rem;
  }

  .lead-section {
    padding-top: 10px;
  }

  .article-card,
  .rail-story {
    min-height: 260px;
  }

  .archive-toolbar {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .filter-chip {
    flex: 0 0 auto;
  }
}

@media (max-width: 680px) {
  .site-header {
    gap: 12px;
    padding: 10px;
  }

  .kema-mark {
    width: 62px;
  }

  .kema-image-mark {
    width: 58px;
  }

  .kema-mark span {
    font-size: 32px;
  }

  .domain-ribbon {
    min-width: 148px;
    min-height: 42px;
    padding: 0 20px 0 26px;
    font-size: 1.014rem;
  }

  .lead-section,
  .content-band,
  .split-band {
    padding-inline: 10px;
  }

  .lead-story {
    aspect-ratio: 3 / 4.55;
  }

  .lead-copy {
    inset-inline: 16px;
    bottom: 22px;
  }

  h1 {
    font-size: clamp(2.25rem, 12.6vw, 3.65rem);
  }

  .lead-copy p:last-child {
    font-size: 0.95rem;
  }

  .lead-rail,
  .article-grid,
  .section-heading,
  .site-footer,
  .form-row.two,
  .form-row.three,
  .owner-item {
    grid-template-columns: 1fr;
  }

  .studio-hero h1,
  .archive-hero h1 {
    font-size: clamp(2.8rem, 15.4vw, 4.35rem);
  }

  .owner-item img {
    height: 210px;
  }

  .archive-item {
    grid-template-columns: 90px minmax(0, 1fr);
  }

  .archive-item img {
    width: 90px;
    height: 90px;
  }

  .reader-carousel {
    aspect-ratio: 4 / 3;
  }

  .yellow-card,
  .image-card.wide {
    grid-column: span 1;
  }

  .section-heading h2 {
    font-size: clamp(1.8rem, 9.8vw, 3.2rem);
  }

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