/* ─── Home page specific ─── */

/* ──────────────────────────────────────────────
   RADIO PANEL INTERACTIVITY
   ────────────────────────────────────────────── */

/* HERO MUTE TOGGLE */
.hero-mute {
  position: absolute;
  top: -42px; right: 0;
  z-index: 5;
  background: transparent;
  border: 1px solid rgba(201,169,97,.28);
  color: var(--brass);
  padding: 7px 14px 7px 10px;
  border-radius: 2px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
  cursor: pointer;
  transition: all .2s;
}
.hero-mute:hover { color: var(--amber); border-color: var(--amber); }
.hero-mute .ic { width: 16px; height: 16px; display: block; }
.hero-mute .ic-off { display: none; }
.hero-mute.muted .ic-on { display: none; }
.hero-mute.muted .ic-off { display: block; }
.hero-mute.muted { color: var(--ink-3); border-color: rgba(201,169,97,.16); }
.hero-mute.muted:hover { color: var(--brass); border-color: var(--brass); }
@media (max-width: 720px) {
  .hero-mute { top: -8px; right: 0; padding: 6px 10px; }
  .hero-mute .mute-label { display: none; }
}

/* TRANSITIONS for stateful elements */
.brand-lockup .line-2 {
  transition: color 1.1s ease-out, text-shadow 1.1s ease-out;
}
.onair-big {
  transition: opacity .5s ease, filter .5s ease;
}
.onair-big .bulb {
  transition: background .4s, box-shadow .4s;
}
.dial-needle {
  transition: opacity .35s ease, left .15s linear;
}
.dial-needle.sweeping,
.dial-needle.dragging { transition: opacity .35s ease; }

/* COLD STATES (radio off / warming up) — progressive lit classes */
.onair-big {
  transition: background .5s ease, border-color .5s ease, color .5s ease,
              box-shadow .5s ease, text-shadow .5s ease;
}
.onair-big .bulb {
  transition: background .4s, box-shadow .4s;
}
.brand-lockup .line-2 {
  transition: color 1.1s ease-out, text-shadow 1.1s ease-out;
}

/* default lit ⇢ animation on bulb & logo (overrides absent before) */
body:not(.radio-cold) .onair-big .bulb,
body.radio-cold.led-on .onair-big .bulb {
  animation: led-jitter 2.4s ease-in-out infinite;
}
body:not(.radio-cold) .brand-lockup .line-2,
body.radio-cold.logo-on .brand-lockup .line-2 {
  animation: logo-breathe 6s ease-in-out infinite;
}

/* — LED gate — */
body.radio-cold:not(.led-on) .onair-big .bulb {
  background: #3B2A1E;
  box-shadow: none;
  animation: none;
}
/* — ON AIR chrome gate — */
body.radio-cold:not(.onair-on) .onair-big {
  border-color: rgba(139,26,26,.32);
  background:
    linear-gradient(180deg, rgba(139,26,26,.12), rgba(139,26,26,.04)),
    radial-gradient(ellipse at 30% 30%, rgba(199,56,56,.06), transparent 70%);
  box-shadow: inset 0 0 6px rgba(139,26,26,.06);
  color: rgba(255,217,203,.22);
  text-shadow: none;
  animation: none;
}
/* — Logo gate — */
body.radio-cold:not(.logo-on) .brand-lockup .line-2 {
  color: rgba(232,82,31,.16);
  text-shadow: none;
  animation: none;
}
/* — Dial gate — */
body.radio-cold:not(.dial-on) .dial-needle { opacity: 0; }
/* — VU gates handled in JS by setting needle target to -85° while inactive — */

/* Animated grain over hero */
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.4' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 0.93  0 0 0 0 0.78  0 0 0 0.18 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: .06;
  pointer-events: none;
  mix-blend-mode: overlay;
  animation: grain-shift 0.18s steps(4) infinite;
  z-index: 3;
}
@keyframes grain-shift {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-3px, 2px); }
  50%  { transform: translate(2px, -3px); }
  75%  { transform: translate(-2px, -2px); }
  100% { transform: translate(3px, 1px); }
}

/* DIAL — interactive */
.dial-track {
  cursor: ew-resize;
  outline: none;
  user-select: none;
  touch-action: none;
}
.dial-track:focus-visible {
  box-shadow: 0 0 0 2px var(--amber), 0 0 12px rgba(232,82,31,.4);
}
.dial-ticks { pointer-events: none; }

.dial-needle {
  left: 75.5%; /* initial = 41.02°N (Akçaabat) */
  cursor: grab;
  transform: translateX(-50%);
}
.dial-needle:hover { cursor: grab; }
.dial-needle.dragging { cursor: grabbing; }
.dial-needle.dragging .dial-tip { transform: scale(1.4); }
.dial-tip {
  position: absolute;
  top: -8px;
  left: 50%;
  margin-left: -5px;
  width: 10px; height: 10px;
  background: var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 14px var(--amber-glow), 0 0 4px var(--amber);
  transition: transform .15s ease, background .2s;
}
.dial-needle::after { display: none; } /* hide old dot in favor of .dial-tip */
.dial-tooltip {
  position: absolute;
  top: -34px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--bg);
  background: var(--paper);
  padding: 3px 8px;
  border-radius: 1px;
  white-space: nowrap;
  text-transform: uppercase;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s ease, transform .35s ease;
}
.dial-tooltip::after {
  content: "";
  position: absolute; left: 50%; bottom: -4px;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid var(--paper);
}
.dial-needle.show-tip .dial-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}

/* Lock zone marker (41.02 ± 0.05 → 75.5 ± 0.625% → 74.875%..76.125%) */
.dial-lock-zone {
  position: absolute;
  left: 74.875%; width: 1.25%;
  top: 0; bottom: 0;
  background: linear-gradient(180deg, transparent, rgba(74,124,42,.18), transparent);
  pointer-events: none;
}

/* Secondary station snap markers (tiny ticks beneath needle) */
.dial-station {
  position: absolute;
  top: 100%;
  width: 1px;
  height: 5px;
  margin-top: 1px;
  background: var(--brass-dim);
  opacity: .55;
  pointer-events: none;
  transform: translateX(-50%);
}
.dial-station[data-st="akcaabat"] {
  background: var(--vu-green);
  height: 9px;
  opacity: 1;
  width: 1.5px;
  box-shadow: 0 0 4px rgba(74,124,42,.6);
}

/* Freq readout color on lock */
.freq-readout { transition: color .25s; }
.freq-readout.off { color: var(--ink-3); }
#station-name { transition: color .25s; }
#station-name.off { color: var(--ink-3); }

/* When off-station: dial readout dims & "NO SIGNAL" */
.dial-footer.off-station .freq-readout { color: var(--crimson); }
.dial-footer.off-station #station-name { color: var(--crimson-glow); opacity: .8; }

/* LED jitter keyframes (real-LED-like irregular flicker) */
@keyframes led-jitter {
  0%   { opacity: 1; box-shadow: 0 0 10px var(--crimson-glow); }
  17%  { opacity: 1; box-shadow: 0 0 12px var(--crimson-glow); }
  20%  { opacity: .65; box-shadow: 0 0 5px var(--crimson); }
  23%  { opacity: 1; box-shadow: 0 0 14px var(--crimson-glow); }
  40%  { opacity: .96; box-shadow: 0 0 11px var(--crimson-glow); }
  43%  { opacity: .58; box-shadow: 0 0 4px var(--crimson); }
  46%  { opacity: 1; box-shadow: 0 0 14px var(--crimson-glow); }
  62%  { opacity: .94; }
  80%  { opacity: 1; box-shadow: 0 0 11px var(--crimson-glow); }
  100% { opacity: 1; box-shadow: 0 0 10px var(--crimson-glow); }
}
@keyframes logo-breathe {
  0%, 100% { text-shadow: 0 0 18px rgba(232,82,31,.4), 0 0 50px rgba(232,82,31,.16); }
  50%      { text-shadow: 0 0 32px rgba(232,82,31,.66), 0 0 80px rgba(232,82,31,.28); }
}

/* DIAL CAPTION (snap message) */
.dial-caption-slot {
  position: relative;
  height: 28px;
  margin: -2px 0 -2px;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.dial-caption {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .25s ease, transform .25s ease;
}
.dial-caption.on {
  opacity: 1;
  transform: translateY(0);
}
.cap-stamp {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 4px 12px 5px;
  border: 1.2px solid currentColor;
  border-radius: 1px;
  color: var(--vu-green);
  background: rgba(74,124,42,.08);
  transform: rotate(-1.2deg);
  position: relative;
  font-weight: 600;
}
.cap-stamp.warn { color: var(--amber); background: rgba(232,82,31,.08); }
.cap-stamp.alert { color: var(--crimson-glow); background: rgba(139,26,26,.1); }

/* COORD TRIGGER + MAP TOOLTIP */
.coord-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  z-index: 1;
}
.coord-wrap:hover,
.coord-wrap:focus-within {
  z-index: 50;
}
/* Lift the whole panel-left above panel-right so the map-tip escapes
   the .warmup transform's stacking context. */
.panel-left:has(.coord-wrap:hover),
.panel-left:has(.coord-wrap:focus-within),
.panel-left:has(.map-tip.on) {
  z-index: 60;
  position: relative; /* ensure z-index applies if transform is cleared */
}
.coord-trigger {
  cursor: help;
  border-bottom: 1px dotted var(--brass-dim);
  padding-bottom: 1px;
  transition: color .2s, border-color .2s;
  outline: none;
}
.coord-trigger:hover,
.coord-trigger:focus-visible {
  color: var(--amber);
  border-bottom-color: var(--amber);
}
.map-tip {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  width: 280px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 2px;
  box-shadow:
    inset 0 0 0 3px var(--paper),
    inset 0 0 0 4px rgba(60,40,20,.22),
    0 30px 60px -16px rgba(0,0,0,.7);
  padding: 12px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .25s ease, transform .25s ease;
}
.map-tip::after {
  content: "";
  position: absolute;
  top: -7px; left: 30px;
  width: 14px; height: 14px;
  background: var(--paper);
  transform: rotate(45deg);
  box-shadow: -1px -1px 0 rgba(60,40,20,.22);
}
.coord-wrap:hover .map-tip,
.coord-wrap:focus-within .map-tip,
.map-tip.on {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.map-tip-head, .map-tip-foot {
  display: flex; justify-content: space-between;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--ink-3);
  text-transform: uppercase;
  padding: 0 4px 8px;
}
.map-tip-foot {
  padding: 8px 4px 0;
  border-top: 1px dashed var(--ink-2);
  color: var(--crimson);
}
.map-svg {
  width: 100%;
  height: 156px;
  display: block;
  background: linear-gradient(180deg, #E8DAB0 0%, #DCC892 100%);
  border-radius: 1px;
}
.map-tip-pulse {
  animation: map-pulse 1.4s ease-out infinite;
}
@keyframes map-pulse {
  0%   { r: 5; opacity: .8; }
  100% { r: 13; opacity: 0; }
}

/* Freq readout fits 5 chars now (41.02) */
.dial-footer .freq-readout {
  font-size: 32px;
}

/* HERO */
.hero {
  padding: 56px 0 80px;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(232,82,31,.012) 3px, rgba(232,82,31,.012) 4px);
  pointer-events: none;
}

.panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.95fr 1fr;
  gap: 28px;
  align-items: stretch;
}
@media (max-width: 1100px) {
  .panel { grid-template-columns: 1fr 1fr; }
  .panel-right { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .panel { grid-template-columns: 1fr; }
  .panel-right { grid-column: 1; }
}

.panel-left {
  border: 1px solid rgba(201,169,97,.18);
  border-radius: 4px;
  padding: 30px 30px 32px;
  background:
    linear-gradient(180deg, rgba(43,27,18,.6), rgba(34,22,16,.4));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow-panel);
  position: relative;
}
.panel-left::before {
  content: "";
  position: absolute; inset: 8px;
  border: 1px dashed rgba(201,169,97,.14);
  border-radius: 2px;
  pointer-events: none;
}
.brand-lockup {
  font-family: var(--display);
  font-size: clamp(4.2rem, 11vw, 8.2rem);
  line-height: .82;
  letter-spacing: -0.03em;
  color: var(--paper);
  text-shadow: 0 0 32px rgba(232,82,31,.18);
}
.brand-lockup .line-1 {
  display: block;
  color: var(--paper);
}
.brand-lockup .line-2 {
  display: block;
  color: var(--amber);
  font-style: italic;
  text-shadow: 0 0 20px rgba(232,82,31,.45), 0 0 60px rgba(232,82,31,.2);
  margin-left: 0.2em;
}

.brand-meta {
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--brass);
  text-transform: uppercase;
}
.brand-meta .meta-rule {
  flex: 1; height: 1px; min-width: 14px;
  background: linear-gradient(90deg, transparent, var(--brass-dim), transparent);
}
.tagline {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--paper);
  opacity: .82;
  max-width: 36ch;
  margin: 0;
}

/* CENTER */
.panel-center {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.panel-center .panel-stamp { margin-top: auto; }

.vu-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* RIGHT */
.panel-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.onair-big {
  align-self: stretch;
  width: 100%;
  justify-content: center;
}

.now-playing {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  border: 1px solid rgba(201,169,97,.2);
  border-radius: 4px;
  background:
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  color: var(--ink);
  position: relative;
  box-shadow: var(--shadow-paper);
  overflow: hidden;
}
.now-playing .np-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.now-playing .np-link {
  margin-top: auto;
  align-self: flex-start;
}
.now-playing::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='2' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.4  0 0 0 0 0.3  0 0 0 0 0.1  0 0 0 0.18 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: .25;
  pointer-events: none;
  mix-blend-mode: multiply;
}
.np-header {
  padding: 12px 18px;
  display: flex; justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--ink-3);
  text-transform: uppercase;
  border-bottom: 1px dashed rgba(60,40,20,.25);
  background: rgba(255,255,255,.2);
  position: relative;
}
.np-body {
  padding: 22px 22px 20px;
  position: relative;
}
.np-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--crimson);
}
.np-title {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3.3vw, 2.1rem);
  line-height: 1.05;
  color: var(--ink);
  margin: 6px 0 8px;
}
.np-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.np-wave {
  height: 48px;
  background: rgba(26,15,8,.06);
  border: 1px solid rgba(60,40,20,.2);
  border-radius: 2px;
  display: flex; align-items: center;
  padding: 6px 10px;
  margin-bottom: 16px;
}
.np-bars {
  display: flex; gap: 2px; align-items: center;
  width: 100%; height: 100%;
}
.np-bars span {
  flex: 1;
  background: var(--amber);
  width: 2px;
  display: block;
  animation: npwave 1.4s ease-in-out infinite;
  border-radius: 1px;
}
@keyframes npwave {
  0%, 100% { height: 18%; opacity: .55; }
  50% { height: 85%; opacity: 1; }
}
.np-link {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  border-bottom: 1px solid var(--amber);
  padding-bottom: 2px;
}
.np-link:hover { color: var(--amber-dim); border-color: var(--amber-dim); }

.panel-stamp {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto;
  display: grid; place-items: center;
  align-self: center;
}
.stamp-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  animation: stamp-spin 40s linear infinite;
}
@keyframes stamp-spin {
  to { transform: rotate(360deg); }
}
.panel-stamp .stamp-center {
  position: relative;
  z-index: 2;
  font-family: var(--display);
  font-size: 26px;
  color: var(--brass);
  text-shadow: 0 0 14px rgba(201,169,97,.35);
  letter-spacing: -0.01em;
}
.panel-stamp .stamp-center::after {
  content: "°N";
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  display: block;
  text-align: center;
  margin-top: -4px;
  color: var(--brass-dim);
}

/* SLOGAN */
.slogan-section {
  padding: 100px 0 50px;
}
.slogan-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-areas:
    "tag     manifesto"
    "slogan  manifesto";
  gap: 22px 60px;
  align-items: end;
}
.slogan-tag    { grid-area: tag; }
.slogan        { grid-area: slogan; }
.manifesto     { grid-area: manifesto; align-self: end; padding-bottom: 14px; }

@media (max-width: 880px) {
  .slogan-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "tag"
      "slogan"
      "manifesto";
    gap: 18px;
  }
  .manifesto { padding-bottom: 0; align-self: start; }
}
.slogan-tag .eyebrow { font-size: 12px; }
.slogan {
  font-family: var(--display);
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: .98;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin: 0;
  text-wrap: balance;
}
.slogan em {
  font-family: var(--display);
  font-style: italic;
  color: var(--amber);
  text-shadow: 0 0 28px rgba(232,82,31,.35);
}
.manifesto {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--paper);
  opacity: .8;
  max-width: 38ch;
  margin: 0;
}

/* SPOTLIGHT */
.spotlight {
  padding: 80px 0 60px;
}
.spotlight-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.3fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 880px) {
  .spotlight-grid { grid-template-columns: 1fr; gap: 40px; }
}

.poster-frame {
  position: relative;
  perspective: 800px;
}
.poster {
  background: var(--paper);
  color: var(--ink);
  padding: 14px 14px 18px;
  border: 1px solid rgba(60,40,20,.25);
  position: relative;
  box-shadow:
    inset 0 0 0 3px var(--paper),
    inset 0 0 0 4px rgba(60,40,20,.25),
    0 30px 70px -25px rgba(0,0,0,.7),
    0 0 0 1px rgba(201,169,97,.15);
  transform: rotate(-1deg);
  transition: transform .3s ease;
}
.poster:hover { transform: rotate(-0.4deg) translateY(-3px); }
.poster::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.6' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.5  0 0 0 0 0.35  0 0 0 0 0.15  0 0 0 0.14 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: .4;
  pointer-events: none;
  mix-blend-mode: multiply;
}
.poster-top, .poster-bottom {
  display: flex; justify-content: space-between;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--ink-2);
  text-transform: uppercase;
  padding: 6px 6px 12px;
  border-bottom: 1px solid var(--ink-2);
}
.poster-bottom {
  border-bottom: 0;
  border-top: 1px solid var(--ink-2);
  padding: 12px 6px 6px;
}
.poster-art {
  position: relative;
}
.poster-art svg { width: 100%; height: auto; display: block; }
.poster-cover-img {
  width: 100%;
  aspect-ratio: 15 / 16;
  object-fit: cover;
  display: block;
  filter: sepia(10%) contrast(1.05);
}
.poster-tape {
  position: absolute;
  top: -16px; right: -22px;
  background: var(--brass);
  color: var(--ink);
  padding: 7px 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  font-weight: 600;
  text-transform: uppercase;
  transform: rotate(8deg);
  box-shadow: 0 6px 14px rgba(0,0,0,.4);
  border: 1px solid rgba(60,40,20,.5);
}

.spotlight-body { display: flex; flex-direction: column; gap: 18px; }
.spotlight-title {
  font-family: var(--display);
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1;
  color: var(--paper);
  margin: 2px 0 0;
}
.spotlight-hook {
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--paper);
  opacity: .85;
  max-width: 56ch;
}
.spotlight-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-top: 6px;
}

/* CATEGORIES */
.categories { padding: 80px 0 40px; }
.cat-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.3fr;
  grid-template-rows: 1fr;
  gap: 14px;
  min-height: 360px;
}
@media (max-width: 1100px) {
  .cat-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 1fr;
  }
  .cat { min-height: 340px; }
}
@media (max-width: 640px) {
  .cat-grid { grid-template-columns: 1fr; }
}
.cat {
  position: relative;
  border: 1px solid rgba(201,169,97,.18);
  background: var(--paper);
  color: var(--ink);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  overflow: hidden;
  text-decoration: none;
  transition: transform .35s ease, box-shadow .35s ease, background .35s;
  box-shadow:
    inset 0 0 0 3px var(--paper),
    inset 0 0 0 4px rgba(60,40,20,.18),
    0 20px 40px -16px rgba(0,0,0,.5);
}
.cat::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.6' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.5  0 0 0 0 0.35  0 0 0 0 0.15  0 0 0 0.12 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: .35;
  pointer-events: none;
  mix-blend-mode: multiply;
}
.cat:hover {
  transform: translateY(-6px) rotate(-0.3deg);
  box-shadow:
    inset 0 0 0 3px var(--paper),
    inset 0 0 0 4px rgba(60,40,20,.25),
    0 36px 60px -16px rgba(0,0,0,.65);
  background: #FAF3DF;
}
.cat-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--crimson);
  font-weight: 600;
}
.cat-art {
  width: 90px; height: 90px;
  color: var(--ink);
  opacity: .92;
}
.cat-art svg { width: 100%; height: 100%; }
.cat h3 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 2.6vw, 2.3rem);
  line-height: .95;
  color: var(--ink);
}
.cat p {
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
}
.cat-go {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber-dim);
  border-bottom: 1px solid var(--amber-dim);
  padding-bottom: 2px;
  align-self: flex-start;
}
.cat:hover .cat-go { color: var(--amber); border-color: var(--amber); }

/* Asymmetric tilts */
.cat-1 { transform: rotate(-0.6deg); margin-top: 0; }
.cat-2 { transform: rotate(0.4deg); margin-top: 22px; }
.cat-3 { transform: rotate(-0.3deg); margin-top: 8px; }
.cat-4 { transform: rotate(0.6deg); margin-top: 30px; }
.cat-1:hover, .cat-2:hover, .cat-3:hover, .cat-4:hover { transform: translateY(-6px) rotate(0deg); }

/* BAŞVURU */
.basvuru { padding: 100px 0 60px; }
.basvuru-card {
  background: var(--bg-2);
  border: 1px solid rgba(201,169,97,.2);
  border-radius: 4px;
  padding: 60px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-panel);
}
.blueprint-bg {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(201,169,97,.06) 0, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(232,82,31,.05) 0, transparent 55%),
    repeating-linear-gradient(0deg, rgba(201,169,97,.05) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, rgba(201,169,97,.05) 0 1px, transparent 1px 40px);
  pointer-events: none;
}
.blueprint-bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600'><g fill='none' stroke='%23C9A961' stroke-width='0.6' opacity='0.18'><circle cx='120' cy='120' r='60'/><circle cx='120' cy='120' r='100'/><circle cx='120' cy='120' r='28'/><line x1='40' y1='120' x2='200' y2='120'/><line x1='120' y1='40' x2='120' y2='200'/><circle cx='480' cy='460' r='80'/><circle cx='480' cy='460' r='44'/><rect x='240' y='340' width='160' height='80' rx='4'/><line x1='260' y1='360' x2='380' y2='360'/><line x1='260' y1='380' x2='340' y2='380'/><line x1='260' y1='400' x2='360' y2='400'/></g></svg>");
  background-size: 540px 540px;
  background-position: center;
  background-repeat: no-repeat;
}

.basvuru-inner {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 60px;
  position: relative;
}
@media (max-width: 900px) {
  .basvuru { padding: 50px 0 30px; }
  .basvuru-card { padding: 30px; }
  .basvuru-inner { grid-template-columns: 1fr; gap: 40px; }
}

.basvuru-left h2 {
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: .95;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin: 16px 0 22px;
}
.basvuru-left h2 em {
  color: var(--amber);
  font-style: italic;
  text-shadow: 0 0 30px rgba(232,82,31,.4);
}
.basvuru-left p {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--paper);
  opacity: .82;
  max-width: 46ch;
}
.basvuru-stats {
  display: flex; gap: 36px;
  margin-top: 30px;
  border-top: 1px dashed rgba(201,169,97,.2);
  padding-top: 22px;
}
.basvuru-stats > div {
  display: flex; flex-direction: column;
}
.stat-n {
  font-family: var(--display);
  font-size: 42px;
  color: var(--amber);
  line-height: 1;
}
.stat-l {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  margin-top: 6px;
}

.basvuru-form {
  background: var(--paper);
  color: var(--ink);
  padding: 30px 30px 26px;
  border-radius: 2px;
  position: relative;
  box-shadow: var(--shadow-paper);
  transform: rotate(0.5deg);
}
.basvuru-form::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.8' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.5  0 0 0 0 0.35  0 0 0 0 0.15  0 0 0 0.12 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: .3;
  pointer-events: none;
  mix-blend-mode: multiply;
}
.form-header, .form-footer {
  display: flex; justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--ink-3);
  text-transform: uppercase;
  border-bottom: 1px dashed var(--ink-2);
  padding-bottom: 10px;
  margin-bottom: 22px;
  position: relative;
}
.form-footer {
  margin: 22px 0 0;
  padding: 12px 0 0;
  border-bottom: 0;
  border-top: 1px dashed var(--ink-2);
}
.basvuru-form label {
  display: block;
  margin-bottom: 18px;
  position: relative;
}
.field-lbl {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 8px;
}
.basvuru-form input,
.basvuru-form textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink-2);
  padding: 6px 2px 8px;
  font-family: var(--body);
  font-size: 17px;
  color: var(--ink);
  outline: none;
  resize: none;
  transition: border-color .2s;
}
.basvuru-form input:focus,
.basvuru-form textarea:focus {
  border-bottom-color: var(--amber);
}
.basvuru-form input::placeholder,
.basvuru-form textarea::placeholder {
  color: var(--ink-3);
  opacity: .5;
  font-style: italic;
}
.form-actions {
  display: flex; align-items: center; gap: 16px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.form-actions .btn-filled {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.form-actions .btn-filled:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--bg);
}
.form-status {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--vu-green);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .3s, transform .3s;
}
.form-status.on { opacity: 1; transform: translateX(0); }
