:root {
  color-scheme: light dark;
  --ink: #ffffff;
  --muted: #dbe7ff;
  --soft: rgba(255, 255, 255, 0.1);
  --line: rgba(255, 255, 255, 0.18);
  --charcoal: #111a33;
  --coal: #050914;
  --blue: #638bd3;
  --blue-deep: #24396f;
  --blue-logo: #4f73ba;
  --blue-ink: #101b36;
  --silver: #e8f0ff;
  --paper: #f7fbff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Deployment safety overrides: keep critical public controls intact even after cached CSS refreshes. */
.hero-panel.proof-band {
  right: clamp(18px, 4vw, 56px);
  bottom: 44px;
  width: min(680px, calc(100% - 112px));
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(7, 16, 37, 0.82);
  color: #ffffff;
  overflow: hidden;
}

.hero-panel.proof-band div {
  min-height: 172px;
  padding: 20px 22px;
  border-color: rgba(255, 255, 255, 0.18);
  background: transparent;
}

.hero-panel.proof-band strong {
  color: #ffffff;
  font-size: clamp(20px, 2vw, 30px);
}

.hero-panel.proof-band span {
  color: #d9e1ef;
}

.hero-panel .proof-city-icons {
  position: relative;
  right: auto;
  top: auto;
  justify-content: center;
  width: 100%;
  margin-top: 12px;
  opacity: 0.92;
  transform: none;
}

.hero-panel .proof-city-icons img {
  width: 54px;
  height: 54px;
}

.hero-panel .proof-city-icons img:last-child {
  width: 88px;
}

.archive-actions .button.secondary {
  min-width: 146px;
  border: 1px solid rgba(75, 111, 184, 0.85);
  background: #ffffff;
  color: var(--blue-deep);
  box-shadow: inset 0 0 0 1px rgba(75, 111, 184, 0.14);
}

.archive-actions .button.secondary:hover {
  border-color: var(--blue-deep);
  background: #eef4ff;
}

.access-modal[hidden] {
  display: none !important;
}

.access-modal,
.contact-info-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999 !important;
  display: grid !important;
  place-items: center !important;
  padding: 24px !important;
  background: rgba(5, 9, 18, 0.76) !important;
}

.contact-info-modal[hidden] {
  display: none !important;
}

.access-dialog,
.contact-info-dialog {
  position: relative !important;
  width: min(620px, 100%) !important;
  max-height: calc(100vh - 48px) !important;
  overflow: auto !important;
  border: 1px solid rgba(36, 57, 111, 0.18) !important;
  background: #ffffff !important;
  color: var(--blue-ink) !important;
  padding: clamp(24px, 4vw, 38px) !important;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32) !important;
}

.contact-info-dialog {
  display: grid;
  gap: 16px;
}

.access-dialog .eyebrow,
.contact-info-dialog .eyebrow {
  color: #4f73ba;
}

.contact-info-dialog .button {
  justify-self: start;
}

@media (max-width: 920px) {
  .hero-panel.proof-band {
    left: 16px;
    right: 16px;
    width: auto;
  }
}

@media (max-width: 640px) {
  .hero-panel.proof-band {
    grid-template-columns: 1fr;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--coal);
  color: var(--ink);
}

body::before,
body::after {
  display: none;
}

main {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

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

.site-header {
  position: fixed;
  inset: 0 64px auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
  padding: 10px clamp(20px, 5vw, 72px);
  transition: box-shadow 180ms ease, border-color 180ms ease;
  border-bottom: 1px solid rgba(36, 57, 111, 0.16);
  background: #ffffff;
}

.site-header[data-elevated="true"] {
  border-color: rgba(36, 57, 111, 0.22);
  box-shadow: 0 12px 34px rgba(5, 9, 20, 0.14);
}

.brand {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: min(560px, 54vw);
}

.brand img {
  display: block;
}

.brand > img:not(.brand-city) {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  height: 72px;
  object-fit: contain;
}

.brand-city {
  flex: 0 0 auto;
  width: 68px;
  height: 62px;
  object-fit: contain;
  opacity: 0.94;
  filter:
    drop-shadow(0 5px 12px rgba(0, 0, 0, 0.18))
    saturate(1.08);
}

.brand-city-izmir {
  margin-right: -16px;
}

.brand-city-istanbul {
  width: 96px;
  margin-left: -16px;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  color: var(--blue-ink);
  font-size: 14px;
}

.site-nav a:hover {
  color: var(--blue-deep);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  border: 1px solid rgba(36, 57, 111, 0.18);
  background: #ffffff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--blue-ink);
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  padding: 0 18px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 94vh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 140px clamp(20px, 5vw, 72px) 70px;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/ludens-hero.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-media::after {
  content: "";
  position: absolute;
  right: clamp(34px, 7vw, 128px);
  top: clamp(120px, 18vh, 210px);
  width: min(620px, 48vw);
  aspect-ratio: 3.5 / 1;
  background: url("assets/ludens-logo-transparent-final.png") center / contain no-repeat;
  opacity: 0.94;
  filter:
    brightness(2.55)
    contrast(1.32)
    saturate(1.22)
    drop-shadow(0 0 28px rgba(255, 255, 255, 0.58))
    drop-shadow(0 18px 48px rgba(0, 0, 0, 0.46));
  pointer-events: none;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(3, 5, 10, 0.96) 0%, rgba(8, 13, 24, 0.76) 42%, rgba(8, 13, 24, 0.22) 100%),
    linear-gradient(0deg, rgba(3, 5, 10, 0.97) 0%, rgba(8, 13, 24, 0.08) 42%, rgba(3, 5, 10, 0.58) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--silver);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(46px, 7vw, 92px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4.5vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.hero-copy {
  max-width: 610px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.6;
}

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

.button.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue), #eef4ff);
  color: #071025;
}

.button.secondary {
  border-color: rgba(75, 111, 184, 0.75);
  background: #ffffff;
  color: var(--blue-deep);
  box-shadow: inset 0 0 0 1px rgba(75, 111, 184, 0.14);
}

.button.secondary:hover {
  border-color: var(--blue-deep);
  background: #eef4ff;
}

.hero-panel {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: 42px;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  width: min(980px, calc(100% - 40px));
  border: 1px solid var(--line);
  background: rgba(8, 13, 24, 0.64);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-panel div {
  display: grid;
  gap: 6px;
  min-height: auto;
  padding: 16px 20px;
  border: 1px solid var(--line);
  color: var(--paper);
  background: transparent;
}

.hero-panel strong {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 800;
}

.hero-panel span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.section,
.intro,
.founder-note,
.contact,
.project-band {
  padding: clamp(70px, 10vw, 132px) clamp(20px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 6vw, 92px);
  align-items: start;
  background: var(--paper);
  color: var(--blue-ink);
}

.intro .eyebrow,
.section .eyebrow,
.project-band .eyebrow,
.contact .eyebrow {
  color: var(--blue-logo);
}

.intro p:not(.eyebrow) {
  color: #33466f;
  font-size: 18px;
  line-height: 1.75;
}

.founder-note {
  order: 30;
  display: grid;
  grid-template-columns: minmax(260px, 0.6fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
  border-top: 1px solid rgba(36, 57, 111, 0.14);
  background: linear-gradient(180deg, #ffffff, var(--paper));
  color: var(--blue-ink);
}

.founder-note .eyebrow {
  color: var(--blue-logo);
}

.founder-id {
  display: grid;
  gap: 18px;
}

.founder-note h2 {
  max-width: 520px;
  margin: 0;
  color: var(--blue-ink);
  font-size: clamp(38px, 5vw, 74px);
  line-height: 0.96;
}

.founder-photo {
  width: min(460px, 100%);
  aspect-ratio: 4 / 3;
  margin: 12px 0 0;
  overflow: hidden;
  border: 1px solid rgba(36, 57, 111, 0.18);
  background: #eaf1ff;
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

.founder-copy {
  display: grid;
  gap: 18px;
  max-width: 820px;
  color: #263c6f;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.7;
}

.founder-copy p {
  margin: 0;
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(36, 57, 111, 0.16);
  border-bottom: 1px solid rgba(36, 57, 111, 0.16);
  background: #eaf1ff;
  color: var(--blue-ink);
}

.proof-band div {
  min-height: 156px;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-right: 1px solid rgba(36, 57, 111, 0.16);
}

.proof-band div:last-child {
  border-right: 0;
}

.proof-band strong {
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1;
}

.proof-band span {
  color: #33466f;
  line-height: 1.45;
}

.proof-city {
  position: relative;
  overflow: visible;
}

.proof-city > strong,
.proof-city > span:not(.proof-city-icons) {
  position: relative;
  z-index: 1;
  max-width: 100%;
}

.proof-city-icons {
  position: relative;
  right: auto;
  top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  width: 100%;
  margin-top: 10px;
  opacity: 0.92;
  transform: none;
  pointer-events: none;
}

.proof-city-icons img {
  width: clamp(76px, 7vw, 118px);
  height: clamp(76px, 7vw, 118px);
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.34));
}

.proof-city-icons img:last-child {
  width: clamp(116px, 11vw, 168px);
}

.hero-panel.proof-band {
  border-color: var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 13, 24, 0.68);
  color: var(--paper);
}

.hero-panel.proof-band div {
  border-right: 1px solid var(--line);
}

.hero-panel.proof-band div:last-child {
  border-right: 0;
}

.hero-panel.proof-band strong {
  color: var(--paper);
}

.hero-panel.proof-band span {
  color: #d9e1ef;
}

.hero-panel .proof-city-icons {
  position: relative;
  right: auto;
  top: auto;
  justify-content: center;
  width: 100%;
  margin-top: 12px;
  opacity: 0.92;
  transform: none;
}

.hero-panel .proof-city-icons img {
  width: clamp(48px, 4vw, 54px);
  height: clamp(48px, 4vw, 54px);
}

.hero-panel .proof-city-icons img:last-child {
  width: clamp(76px, 6vw, 88px);
}

.section {
  background: var(--charcoal);
}

.section-heading {
  max-width: 900px;
  margin-bottom: 38px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-grid article {
  min-height: 260px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.service-index {
  display: block;
  margin-bottom: 68px;
  color: var(--blue);
  font-weight: 900;
}

.service-grid p,
.timeline span,
.contact p {
  color: var(--muted);
  line-height: 1.65;
}

.service-stories {
  order: 10;
  padding: clamp(70px, 10vw, 120px) clamp(20px, 5vw, 72px);
  background: linear-gradient(180deg, #071025, var(--charcoal));
}

.service-stories .section-heading {
  color: var(--ink);
}

.service-stories .eyebrow {
  color: #d9e1ef;
}

.story-list {
  display: grid;
  gap: 28px;
  max-width: 1120px;
}

.story-item {
  display: grid;
  grid-template-columns: minmax(240px, 330px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 28px;
}

.story-media {
  position: relative;
  margin: 0;
}

.story-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(5, 9, 20, 0.04), rgba(5, 9, 20, 0.04)),
    url("assets/ludens-logo-transparent-final.png") center / 70% auto no-repeat;
  opacity: 0.68;
  background-blend-mode: normal;
  filter:
    brightness(2.25)
    contrast(1.24)
    saturate(1.12)
    drop-shadow(0 0 22px rgba(255, 255, 255, 0.52))
    drop-shadow(0 10px 24px rgba(0, 0, 0, 0.36));
  pointer-events: none;
}

.story-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.story-item h3 {
  color: var(--ink);
}

.story-item p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.statement {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 86px);
  align-items: center;
  padding: clamp(60px, 9vw, 110px) clamp(20px, 5vw, 72px);
  background: #ffffff;
  color: var(--blue-ink);
}

.statement img {
  display: block;
  width: min(520px, 100%);
  height: auto;
  padding: clamp(18px, 3vw, 34px);
  background: var(--paper);
  border: 1px solid rgba(36, 57, 111, 0.16);
  box-shadow: 0 18px 42px rgba(36, 57, 111, 0.14);
}

.statement p {
  margin: 0;
  color: var(--blue-ink);
  font-size: clamp(25px, 3.5vw, 48px);
  font-weight: 800;
  line-height: 1.12;
}

.project-band {
  order: 40;
  background: #e7edf8;
  color: #101729;
}

.project-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.project-list span {
  min-height: 88px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(24, 22, 17, 0.18);
  padding: 18px;
  font-size: 20px;
  font-weight: 800;
}

.references {
  order: 40;
  padding: clamp(70px, 10vw, 132px) clamp(20px, 5vw, 72px);
  background: linear-gradient(180deg, var(--charcoal), #071025);
  color: var(--ink);
}

.references .eyebrow {
  color: #d9e1ef;
}

.reference-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.reference-grid article {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.055);
  padding: 22px;
}

.reference-type {
  margin: 0 0 8px;
  color: #8fa8df;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.reference-grid h3 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 24px;
}

.reference-grid ul {
  columns: 1;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reference-grid li {
  break-inside: avoid;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--muted);
  line-height: 1.35;
}

.reference-grid article:first-child,
.reference-grid article:nth-child(3) {
  grid-row: span 2;
}

.players {
  order: 20;
  padding: clamp(42px, 7vw, 82px) clamp(20px, 5vw, 72px);
  background: #ffffff;
  color: var(--blue-ink);
}

.players .eyebrow {
  color: #4f73ba;
}

.film-strip {
  position: relative;
  height: 34px;
  margin: 0 0 clamp(18px, 3vw, 30px);
  overflow: hidden;
  border: 1px solid rgba(16, 23, 41, 0.18);
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.12) 0 1px,
      transparent 1px 58px
    ),
    linear-gradient(90deg, #0a0f1d, #253766, #0a0f1d);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.film-strip::before,
.film-strip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 13px;
  background:
    repeating-linear-gradient(
      90deg,
      #ffffff 0 18px,
      transparent 18px 38px
    );
}

.film-strip::before {
  top: 6px;
}

.film-strip::after {
  bottom: 6px;
}

.players .section-heading p:not(.eyebrow) {
  max-width: 680px;
  margin-top: 18px;
  color: #4f5a70;
  line-height: 1.65;
}

.player-browser {
  display: grid;
  gap: 24px;
}

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

.folder-card,
.category-pill {
  font: inherit;
  cursor: pointer;
}

.folder-card {
  display: grid;
  gap: 10px;
  min-height: 190px;
  align-content: end;
  border: 1px solid rgba(16, 23, 41, 0.16);
  background: #f7f9fe;
  color: #101729;
  padding: 24px;
  text-align: left;
  box-shadow: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.folder-card:hover,
.folder-card.is-active {
  transform: translateY(-2px);
  border-color: rgba(95, 131, 199, 0.6);
  box-shadow: 0 18px 42px rgba(37, 55, 102, 0.16);
}

.folder-card strong {
  font-size: 26px;
}

.folder-card small {
  color: #66718a;
}

.folder-visual {
  position: relative;
  width: 158px;
  height: 116px;
}

.folder-visual img {
  position: absolute;
  right: 0;
  bottom: 4px;
  z-index: 2;
  width: 94px;
  height: 104px;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(37, 55, 102, 0.18));
}

.folder-visual-izmir img {
  right: 4px;
}

.folder-visual-istanbul img {
  right: -12px;
  bottom: 8px;
  width: 142px;
  height: 86px;
}

.folder-icon {
  position: relative;
  z-index: 1;
  display: block;
  top: 22px;
  width: 112px;
  height: 78px;
  border: 2px solid #d39a20;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffe185, #f8bd39);
  box-shadow: inset 0 8px 0 rgba(255, 255, 255, 0.34);
}

.folder-icon::before {
  content: "";
  position: absolute;
  left: 0;
  top: -18px;
  width: 58px;
  height: 22px;
  border-radius: 8px 8px 0 0;
  background: #f9b92f;
}

.category-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category-pill {
  min-width: 112px;
  min-height: 44px;
  border: 1px solid rgba(16, 23, 41, 0.18);
  background: #ffffff;
  color: #101729;
  font-weight: 800;
}

.category-pill.is-active {
  border-color: var(--blue-deep);
  background: var(--blue-deep);
  color: #ffffff;
}

.database-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.55fr);
  gap: 24px;
  align-items: stretch;
  border: 1px solid rgba(16, 23, 41, 0.16);
  background: #f2f5fb;
  padding: 28px;
}

.database-panel .eyebrow {
  color: #4d66a1;
}

.database-panel h3 {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
}

.database-panel p {
  max-width: 640px;
  color: #4f5a70;
  line-height: 1.65;
}

.database-empty {
  display: grid;
  gap: 10px;
  align-content: center;
  border: 1px dashed rgba(16, 23, 41, 0.28);
  background: #ffffff;
  padding: 24px;
}

.database-empty span {
  color: #4d66a1;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.database-empty strong {
  font-size: 24px;
}

.database-empty small {
  color: #66718a;
  line-height: 1.55;
}

.database-empty code {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.95em;
}

.material-note {
  max-width: 920px;
  margin: 18px 0 0;
  border-left: 4px solid var(--blue-deep);
  background: var(--paper);
  color: #33466f;
  padding: 16px 18px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.archive-gate {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  gap: clamp(18px, 3vw, 34px);
  align-items: stretch;
  border: 1px solid rgba(16, 23, 41, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.98)),
    linear-gradient(90deg, rgba(79, 115, 186, 0.14), transparent);
  padding: clamp(20px, 3vw, 30px);
}

.archive-gate-copy {
  display: grid;
  align-content: center;
  gap: 14px;
}

.archive-gate-copy h2 {
  max-width: 620px;
  margin: 0;
  color: var(--blue-ink);
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1;
}

.archive-gate-copy p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: #33466f;
  line-height: 1.7;
}

.archive-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.archive-actions .button {
  min-width: 146px;
}

.archive-gate-card {
  position: relative;
  display: grid;
  gap: 16px;
  align-content: end;
  min-height: 210px;
  overflow: hidden;
  background: linear-gradient(180deg, #071025, #132654);
  color: #ffffff;
  padding: 82px 24px 74px;
}

.archive-gate-card::before,
.archive-gate-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 18px;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.82) 0 14px,
      transparent 14px 28px
    );
  opacity: 0.42;
}

.archive-gate-card::before {
  top: 24px;
}

.archive-gate-card::after {
  bottom: 24px;
}

.archive-lock {
  position: relative;
  z-index: 1;
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(95, 131, 199, 0.24);
  color: #8fb4ff;
  font-size: 20px;
}

.archive-lock::before {
  content: "";
  position: absolute;
  width: 22px;
  height: 18px;
  border: 4px solid #ffffff;
  border-top: 0;
  bottom: 14px;
}

.archive-lock::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 20px;
  border: 4px solid #ffffff;
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  top: 12px;
}

.archive-gate-card strong,
.archive-gate-card small {
  position: relative;
  z-index: 1;
}

.archive-gate-card strong {
  font-size: 23px;
  line-height: 1.08;
}

.archive-gate-card small {
  color: #d9e1ef;
  line-height: 1.6;
}

.access-modal[hidden] {
  display: none;
}

.access-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(5, 9, 18, 0.74);
}

.access-dialog {
  position: relative;
  width: min(620px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border: 1px solid rgba(36, 57, 111, 0.18);
  background: #ffffff;
  color: var(--blue-ink);
  padding: clamp(24px, 4vw, 38px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
}

.access-dialog h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.02;
}

.access-dialog p:not(.eyebrow) {
  color: #33466f;
  line-height: 1.65;
}

.access-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(36, 57, 111, 0.18);
  background: var(--paper);
  color: var(--blue-ink);
  font-size: 26px;
  cursor: pointer;
}

.access-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.access-form label {
  display: grid;
  gap: 8px;
  color: var(--blue-logo);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.access-form input,
.access-form textarea {
  width: 100%;
  border: 1px solid rgba(36, 57, 111, 0.22);
  background: var(--paper);
  color: var(--blue-ink);
  padding: 13px 14px;
  font: inherit;
  letter-spacing: 0;
  text-transform: none;
}

.access-form textarea {
  resize: vertical;
}

.access-form .button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.access-status {
  min-height: 22px;
  margin: 0;
  color: #33466f;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.access-status:empty {
  display: none;
}

.access-status[data-state="success"] {
  color: #0f6b3a;
}

.access-status .status-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 12px;
  padding: 0 18px;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #ffffff;
  text-decoration: none;
}

.access-status[data-state="error"] {
  color: #b32121;
}

.player-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 1120px;
}

.player-card {
  overflow: hidden;
  border: 1px solid rgba(16, 23, 41, 0.16);
  background: #ffffff;
}

.player-showcase {
  display: grid;
  grid-template-columns: minmax(260px, 380px) minmax(320px, 1fr);
  align-items: stretch;
}

.player-gallery {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 430px;
  background: #f7f9fe;
}

.player-photo {
  display: grid;
  min-height: 430px;
  place-items: center;
  background: #e7edf8;
  color: #66718a;
  font-size: 14px;
  font-weight: 800;
}

.player-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f7f9fe;
  user-select: none;
  -webkit-user-drag: none;
}

.player-photo.is-clickable img {
  cursor: zoom-in;
}

.player-thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
  border-top: 1px solid rgba(16, 23, 41, 0.16);
  background: #ffffff;
}

.player-thumb {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border: 2px solid transparent;
  background: #e7edf8;
  padding: 0;
  cursor: pointer;
}

.player-thumb.is-active {
  border-color: var(--blue-deep);
}

.player-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

.player-reel {
  position: relative;
  display: grid;
  min-height: 430px;
  place-items: center;
  border-left: 1px solid rgba(16, 23, 41, 0.16);
  background: #08101f;
  color: #d9e1ef;
  font-size: 16px;
  font-weight: 900;
}

.player-reel.has-video {
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: stretch;
  justify-items: stretch;
}

.player-reel video {
  width: 100%;
  height: calc(100% - 66px);
  object-fit: contain;
  background: #000000;
  cursor: zoom-in;
  user-select: none;
  -webkit-user-drag: none;
}

.player-reel.has-video video {
  height: 100%;
}

.reel-expand-button {
  position: absolute;
  right: 16px;
  top: 16px;
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: #ffffff;
  color: #08101f;
  padding: 0 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.reel-expand-button:hover {
  background: #e7edf8;
}

.video-controls {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 66px;
  padding: 12px;
  background: #08101f;
  color: #ffffff;
}

.video-controls.is-large {
  width: min(1180px, 100%);
  background: rgba(8, 16, 31, 0.96);
}

.video-play-toggle,
.video-fullscreen-toggle {
  min-width: 76px;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: #ffffff;
  color: #08101f;
  padding: 0 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.video-fullscreen-toggle {
  min-width: 96px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.video-play-toggle:hover,
.video-fullscreen-toggle:hover {
  background: #e7edf8;
  color: #08101f;
}

.video-seek-wrap {
  position: relative;
  min-width: 0;
}

.video-seek {
  width: 100%;
  accent-color: var(--blue);
  cursor: pointer;
}

.video-time {
  color: #d9e1ef;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.video-preview {
  position: absolute;
  left: 0;
  bottom: calc(100% + 12px);
  z-index: 5;
  display: none;
  width: 170px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: #050912;
  padding: 5px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.36);
  pointer-events: none;
}

.video-preview.is-visible {
  display: grid;
  gap: 4px;
}

.video-preview canvas {
  display: block;
  width: 160px;
  height: 90px;
  background: #111827;
}

.video-preview span {
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.video-preview-source {
  display: none;
}

.reel-play-button {
  display: grid;
  gap: 10px;
  min-width: 150px;
  min-height: 74px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #ffffff;
  color: #08101f;
  padding: 14px 20px;
  font: inherit;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.reel-play-button span {
  color: #4d66a1;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reel-play-button:hover {
  background: #e7edf8;
}

.player-card-body {
  display: grid;
  gap: 12px;
  padding: 20px;
  border-top: 1px solid rgba(16, 23, 41, 0.16);
  max-width: 760px;
}

.player-card-body h4 {
  margin: 0;
  color: #101729;
  font-size: 20px;
}

.player-card-body p {
  margin: 0;
  color: #4f5a70;
  font-weight: 800;
}

.player-card-body small {
  color: #66718a;
  line-height: 1.5;
}

.actor-details {
  display: grid;
  gap: 0;
  margin: 4px 0 0;
  border-top: 1px solid rgba(16, 23, 41, 0.12);
}

.actor-details dt {
  padding-top: 14px;
  color: #4d66a1;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.actor-details dd {
  margin: 6px 0 0;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(16, 23, 41, 0.12);
  color: #101729;
  line-height: 1.45;
  white-space: pre-line;
}

.showreel-button {
  width: fit-content;
  min-height: 42px;
  margin-top: 8px;
  border: 1px solid var(--blue-deep);
  background: var(--blue-deep);
  color: #ffffff;
  padding: 0 16px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.showreel-button:hover {
  background: #17213a;
}

.player-list-empty {
  grid-column: 1 / -1;
  border: 1px dashed rgba(16, 23, 41, 0.28);
  background: #f7f9fe;
  color: #4f5a70;
  padding: 22px;
  font-weight: 800;
}

body.is-lightbox-open {
  overflow: hidden;
}

.photo-lightbox[hidden] {
  display: none;
}

.video-lightbox[hidden] {
  display: none;
}

.photo-lightbox,
.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(5, 9, 18, 0.92);
}

.photo-lightbox {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 74px;
  align-items: center;
  gap: 14px;
  padding: 34px;
}

.video-lightbox {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  place-items: center;
  padding: 34px;
}

.photo-lightbox figure {
  display: grid;
  gap: 14px;
  justify-items: center;
  min-width: 0;
  margin: 0;
}

.photo-lightbox img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 122px);
  object-fit: contain;
  background: #050912;
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.45);
  user-select: none;
  -webkit-user-drag: none;
}

.video-lightbox video {
  display: block;
  width: min(1180px, 100%);
  max-height: calc(100vh - 162px);
  background: #000000;
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.45);
  user-select: none;
  -webkit-user-drag: none;
}

.photo-lightbox figcaption {
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.lightbox-close,
.lightbox-nav {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.22);
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 46px;
  height: 46px;
  font-size: 30px;
  line-height: 1;
}

.lightbox-nav {
  width: 62px;
  height: 88px;
  font-size: 58px;
  line-height: 1;
}

.process {
  order: 60;
  background:
    linear-gradient(135deg, rgba(95, 131, 199, 0.24), transparent 34%),
    #080b13;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
}

.timeline li {
  min-height: 220px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.timeline li:last-child {
  border-right: 0;
}

.timeline strong {
  display: block;
  margin-bottom: 54px;
  font-size: 20px;
}

.timeline span {
  display: block;
}

.contact {
  order: 50;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: center;
  background: #0b1020;
}

.contact-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 12px;
  padding: 32px min(390px, 45%) 32px 32px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.contact-card::after {
  content: "";
  position: absolute;
  right: 28px;
  top: 50%;
  width: min(315px, 42%);
  aspect-ratio: 3.5 / 1;
  background:
    url("assets/ludens-logo-transparent-final.png") center / 92% auto no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.94));
  background-blend-mode: normal;
  opacity: 1;
  transform: translateY(-50%);
  pointer-events: none;
}

.contact-card > * {
  position: relative;
  z-index: 1;
}

.contact-card a,
.contact-card span {
  color: var(--ink);
  font-weight: 800;
}

.contact-card span {
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.3;
}

.contact-card a {
  width: fit-content;
  max-width: 100%;
  overflow-wrap: normal;
  word-break: normal;
  white-space: nowrap;
  font-size: clamp(15px, 1.55vw, 20px);
}

.contact-card small {
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #0b0b0c;
}

@media (max-width: 920px) {
  .site-header {
    flex-wrap: wrap;
  }

  .brand {
    justify-content: flex-start;
    gap: 6px;
    width: min(390px, 48vw);
    min-width: 0;
  }

  .brand > img:not(.brand-city) {
    flex: 0 1 230px;
    width: min(230px, 36vw);
  }

  .brand-city,
  .brand-city-izmir,
  .brand-city-istanbul {
    margin: 0;
  }

  .brand-city {
    width: 50px;
    height: 54px;
  }

  .brand-city-istanbul {
    width: 72px;
  }

  .hero {
    min-height: auto;
    padding-bottom: 250px;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    flex-basis: 100%;
    order: 3;
    margin-left: 0;
    padding: 12px 0 4px;
    border-top: 1px solid rgba(16, 23, 41, 0.12);
    gap: 0;
  }

  .site-header.is-menu-open .site-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-nav a {
    padding: 12px 0;
    font-weight: 800;
  }

  .intro,
  .founder-note,
  .contact,
  .statement,
  .database-panel,
  .story-item {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .timeline,
  .project-list,
  .proof-band,
  .folder-row,
  .archive-gate,
  .reference-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-band div:nth-child(2) {
    border-right: 0;
  }

  .timeline li:nth-child(2) {
    border-right: 0;
  }

  .timeline li {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  body {
    background: var(--coal);
  }

  body::before,
  body::after {
    display: none;
  }

  .site-header {
    inset: 0 0 auto;
    gap: 12px;
    padding: 14px 16px;
  }

  .brand {
    justify-content: flex-start;
    gap: 4px;
    width: min(280px, calc(100vw - 96px));
    min-width: 0;
  }

  .brand > img:not(.brand-city) {
    flex: 0 1 158px;
    width: min(158px, 42vw);
    height: 58px;
  }

  .brand-city {
    width: 34px;
    height: 44px;
    margin: 0;
  }

  .brand-city-istanbul {
    width: 54px;
    margin: 0;
  }

  .site-header {
    justify-content: space-between;
  }

  .hero {
    min-height: auto;
    padding: 112px 16px 410px;
  }

  .hero-content,
  .hero-copy {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hero-copy {
    max-width: min(340px, calc(100vw - 56px));
    font-size: 16px;
    line-height: 1.55;
    overflow-wrap: normal;
  }

  .hero-media::after {
    right: 18px;
    top: 128px;
    width: min(330px, 72vw);
    opacity: 0.72;
  }

  .hero-panel {
    left: 16px;
    right: 16px;
    bottom: 28px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: auto;
  }

  .hero-panel.proof-band {
    width: auto;
  }

  .hero-panel div {
    padding: 14px;
  }

  .hero-panel strong {
    font-size: 18px;
  }

  .hero-panel span {
    font-size: 11px;
  }

  .section,
  .intro,
  .founder-note,
  .contact,
  .project-band,
  .players,
  .service-stories,
  .references {
    padding: 62px 16px;
  }

  .film-strip {
    height: 44px;
    margin-bottom: 28px;
  }

  .film-strip::before,
  .film-strip::after {
    height: 10px;
  }

  .service-grid,
  .timeline,
  .project-list,
  .proof-band,
  .folder-row,
  .reference-grid,
  .archive-gate,
  .player-showcase {
    grid-template-columns: 1fr;
  }

  .archive-gate-card {
    min-height: 240px;
    padding: 76px 24px 78px;
  }

  .contact-card {
    padding: 28px;
    padding-bottom: 144px;
  }

  .contact-card::after {
    left: 28px;
    right: auto;
    top: auto;
    bottom: 24px;
    width: min(315px, calc(100% - 56px));
    transform: none;
  }

  .reference-grid article:first-child,
  .reference-grid article:nth-child(3) {
    grid-row: auto;
  }

  .player-reel {
    min-height: 260px;
    border-left: 0;
    border-top: 1px solid rgba(16, 23, 41, 0.16);
  }

  .player-photo {
    min-height: auto;
    aspect-ratio: 4 / 5;
  }

  .player-gallery {
    min-height: auto;
  }

  .photo-lightbox {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 8px;
    padding: 20px 12px;
  }

  .video-lightbox {
    padding: 58px 12px 18px;
  }

  .photo-lightbox img {
    max-height: calc(100vh - 112px);
  }

  .video-lightbox video {
    max-height: calc(100vh - 154px);
  }

  .video-controls {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .video-play-toggle,
  .video-fullscreen-toggle {
    width: 100%;
  }

  .video-time {
    text-align: center;
  }

  .video-preview {
    width: 138px;
  }

  .video-preview canvas {
    width: 128px;
    height: 72px;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    font-size: 26px;
  }

  .lightbox-nav {
    width: 42px;
    height: 66px;
    font-size: 42px;
  }


  .folder-card {
    min-height: 154px;
  }

  .database-panel {
    padding: 20px;
  }

  .proof-band div,
  .proof-band div:nth-child(2) {
    min-height: 126px;
    border-right: 0;
    border-bottom: 1px solid rgba(16, 23, 41, 0.14);
    padding: 26px 16px;
  }

  .statement {
    padding: 58px 16px;
  }

  .service-grid article {
    min-height: 220px;
  }

  .service-index {
    margin-bottom: 42px;
  }

  .timeline li,
  .timeline li:nth-child(2) {
    border-right: 0;
  }

  .site-footer {
    flex-direction: column;
    padding: 24px 16px;
  }
}
