/* ============================================================
   MİM SANAT — Mim Kemal Ertuğrul'un şiirleri
   ------------------------------------------------------------
   İmza öğesi: "ırmak çizgisi" — 1px camgöbeği bir hat.
   Her şiirin solunda dikey, her bölüm başlığının altında yatay
   olarak akar. Sayfadaki tek süsleme budur.

   Tipografi: Literata (şiir + başlık), Inter (menü, etiket, meta).
   İkisi de OFL lisanslı, siteye gömülü. Dış bağlantı yok.
   ============================================================ */

@font-face {
  font-family: "Literata";
  src: url("../fonts/literata-var.woff2") format("woff2-variations");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Literata";
  src: url("../fonts/literata-italic-var.woff2") format("woff2-variations");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2-variations");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Marka paleti — MİM Marka Kılavuzu s. 26-27 */
  --stone: #eeeae7; /* Taş  — %60 */
  --navy: #01273e; /* Gece — %30 */
  --cyan: #70d3ef; /* Deniz — %10, yalnız vurgu */

  /* Türetilmiş nötrler */
  --deep: #011b2c;
  --paper: #f7f5f4;
  --white: #ffffff;
  --cyan-ink: #10728d; /* açık zeminde Deniz'in metin tonu (AA) */

  --ink-72: rgba(1, 39, 62, 0.72);
  --ink-55: rgba(1, 39, 62, 0.55);
  --ink-38: rgba(1, 39, 62, 0.38);
  --line: rgba(1, 39, 62, 0.14);
  --line-soft: rgba(1, 39, 62, 0.08);
  --stone-72: rgba(238, 234, 231, 0.72);
  --stone-45: rgba(238, 234, 231, 0.45);
  --stone-line: rgba(238, 234, 231, 0.16);

  --shadow-sm: 0 1px 2px rgba(1, 39, 62, 0.04);
  --shadow-md: 0 22px 48px -34px rgba(1, 39, 62, 0.4);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 66px;

  --gutter: clamp(20px, 5vw, 64px);
  --wrap: 1140px;
  --read: 660px;
  --pad-y: clamp(64px, 8vw, 122px);
}

/* ============================================================
   Temel
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--stone);
  color: var(--navy);
  font-family: "Literata", Georgia, "Times New Roman", serif;
  font-size: clamp(16px, 1.05vw + 0.6rem, 18px);
  line-height: 1.7;
  font-synthesis-weight: none;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration-color: var(--ink-38);
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-color: var(--cyan-ink);
}

:focus-visible {
  outline: 2px solid var(--cyan-ink);
  outline-offset: 3px;
  border-radius: 2px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

p {
  margin: 0 0 1.1em;
}

p:last-child {
  margin-bottom: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ============================================================
   Yardımcılar
   ============================================================ */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--read {
  max-width: calc(var(--read) + var(--gutter) * 2);
}

.section {
  padding-block: var(--pad-y);
}

.section--tight {
  padding-block: clamp(48px, 6vw, 84px);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--stone);
  padding: 12px 18px;
  z-index: 200;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 15px;
}

.skip:focus {
  left: 12px;
  top: 12px;
}

.ui {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* Bölüm başlığı + ırmak çizgisi (imza öğesi) */
.eyebrow {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-55);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow::after {
  content: "";
  flex: 0 0 auto;
  width: clamp(28px, 6vw, 64px);
  height: 1px;
  background: var(--cyan);
}

.section__title {
  font-size: clamp(26px, 3.2vw, 38px);
  max-width: 20ch;
}

.section__lead {
  margin-top: 16px;
  max-width: 58ch;
  color: var(--ink-72);
}

.section__head {
  margin-bottom: clamp(32px, 4vw, 52px);
}

/* Düğmeler */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 11px 22px;
  border: 1px solid var(--navy);
  border-radius: 2px;
  background: var(--navy);
  color: var(--stone);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.btn:hover {
  background: var(--deep);
  border-color: var(--deep);
  color: var(--white);
}

.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}

.btn--ghost:hover {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn svg {
  flex: 0 0 auto;
}

/* ============================================================
   Başlık / menü
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--stone);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  padding: 6px 0;
}

.brand__mark {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
}

.brand__text {
  display: block;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1;
}

.brand__sub {
  display: block;
  margin-top: 4px;
  font-family: "Literata", Georgia, serif;
  font-size: 12px;
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-55);
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
}

.nav a {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 15px;
  text-decoration: none;
  color: var(--ink-72);
  padding: 8px 0;
  position: relative;
  transition: color 0.2s var(--ease);
}

.nav a:hover {
  color: var(--navy);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav a[aria-current="page"] {
  color: var(--navy);
}

.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--navy);
  cursor: pointer;
}

.menu-btn svg line {
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
  transform-origin: center;
}

.menu-btn[aria-expanded="true"] .l1 {
  transform: translateY(6px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] .l2 {
  opacity: 0;
}

.menu-btn[aria-expanded="true"] .l3 {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 900px) {
  .menu-btn {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--stone);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease),
      visibility 0.25s;
  }

  .nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .nav a {
    padding: 15px 0;
    font-size: 17px;
    border-bottom: 1px solid var(--line-soft);
  }

  .nav a::after {
    display: none;
  }

  .nav a[aria-current="page"] {
    color: var(--cyan-ink);
  }

  /* JavaScript kapalıysa menü açılamaz; bağlantılar akış içinde kalsın */
  html:not(.js) .menu-btn {
    display: none;
  }

  html:not(.js) .header__inner {
    flex-wrap: wrap;
    padding-bottom: 8px;
  }

  html:not(.js) .nav {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0 20px;
    max-height: none;
    padding: 0;
    border: 0;
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  html:not(.js) .nav a {
    font-size: 15px;
    padding: 6px 0;
    border: 0;
    min-height: 0;
  }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  padding-block: clamp(44px, 7vw, 96px) clamp(48px, 7vw, 104px);
  border-bottom: 1px solid var(--line);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(190px, 26vw, 300px);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
}

.hero__title {
  font-size: clamp(38px, 7vw, 78px);
  letter-spacing: -0.02em;
  line-height: 1.03;
}

.hero__rule {
  width: 96px;
  height: 1px;
  background: var(--cyan);
  margin: clamp(20px, 3vw, 30px) 0;
}

.hero__tagline {
  font-size: clamp(19px, 2.2vw, 26px);
  font-style: italic;
  color: var(--ink-72);
  margin: 0 0 20px;
}

.hero__lead {
  max-width: 46ch;
  color: var(--ink-72);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(24px, 3vw, 34px);
}

.hero__figure {
  margin: 0;
}

.hero__figure img {
  width: 100%;
}

@media (max-width: 720px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero__figure {
    order: -1;
    max-width: 190px;
  }
}

/* ============================================================
   Şiir gövdesi — ırmak çizgisi
   ============================================================ */
.poem {
  position: relative;
  padding-left: clamp(18px, 3vw, 30px);
  font-size: clamp(17px, 0.6vw + 0.95rem, 19px);
  line-height: 1.78;
}

.poem::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    var(--cyan) 0%,
    var(--cyan) 62%,
    rgba(112, 211, 239, 0) 100%
  );
}

.poem p {
  margin: 0 0 1.55em;
}

.poem p:last-child {
  margin-bottom: 0;
}

.poem .ln {
  display: block;
  padding-left: 0;
  text-indent: 0;
}

/* kaynaktaki girintiler */
.poem .i1 {
  padding-left: 2.2em;
}

.poem .i2 {
  padding-left: 4.4em;
}

.poem .i3 {
  padding-left: 6.6em;
}

/* uzun dize mobilde sarınca devamı içeriden başlasın */
.poem .ln {
  text-indent: -1.1em;
  margin-left: 1.1em;
}

.poem__note {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-55);
  margin: 0 0 1.55em;
  padding-left: 0;
}

.poem__note--top {
  margin-bottom: 1.9em;
}

/* ============================================================
   Şiir sayfası
   ============================================================ */
.poem-page {
  padding-block: clamp(34px, 5vw, 62px) clamp(48px, 6vw, 88px);
}

.backlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 14px;
  color: var(--ink-55);
  text-decoration: none;
  margin-bottom: clamp(24px, 4vw, 40px);
  min-height: 44px;
  align-content: center;
}

.backlink:hover {
  color: var(--navy);
}

.poem-page__title {
  font-size: clamp(27px, 4vw, 42px);
  max-width: 22ch;
}

.poem-page__meta {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-55);
  margin: 0 0 14px;
}

.poem-page__body {
  margin-top: clamp(26px, 3.5vw, 40px);
}

.poem-page__foot {
  margin-top: clamp(34px, 4vw, 52px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 14px;
  color: var(--ink-55);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
}

.poem-page__foot a {
  color: var(--ink-72);
}

/* Önceki / sonraki */
.pager {
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding-block: clamp(28px, 4vw, 46px) clamp(24px, 3vw, 36px);
}

.pager__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
}

.pager__link {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: clamp(20px, 2.6vw, 28px) clamp(18px, 2.6vw, 30px);
  background: var(--paper);
  text-decoration: none;
  min-height: 92px;
  transition: background 0.25s var(--ease);
}

.pager__link:hover {
  background: var(--white);
}

.pager__dir {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-55);
}

.pager__link:hover .pager__dir {
  color: var(--cyan-ink);
}

.pager__title {
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 600;
  line-height: 1.3;
}

.pager__link--next {
  align-items: flex-start;
}

.pager__link--next .pager__dir {
  flex-direction: row-reverse;
}

.pager__hint {
  display: none;
  margin: 14px 0 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 13px;
  color: var(--ink-38);
}

@media (hover: hover) and (pointer: fine) {
  .pager__hint {
    display: block;
  }
}

@media (max-width: 640px) {
  .pager__grid {
    grid-template-columns: 1fr;
  }

}

/* ============================================================
   Kartlar / listeler
   ============================================================ */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(22px, 2.6vw, 30px);
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  text-decoration: none;
  position: relative;
  transition: border-color 0.25s var(--ease), transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.card:hover {
  border-color: var(--line);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.card:hover::after {
  transform: scaleX(1);
}

.card__count {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan-ink);
}

.card__title {
  font-size: clamp(19px, 1.8vw, 23px);
}

.card__text {
  color: var(--ink-72);
  font-size: 16px;
  line-height: 1.65;
}

/* Şiir teaser kartı */
.teasers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}

.teaser {
  display: block;
  padding: clamp(22px, 2.6vw, 30px);
  background: var(--stone);
  text-decoration: none;
  transition: background 0.25s var(--ease);
}

.teaser:hover {
  background: var(--white);
}

.teaser__title {
  display: block;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.28;
  margin-bottom: 10px;
}

.teaser__lines {
  display: block;
  color: var(--ink-55);
  font-size: 16px;
  line-height: 1.6;
}

.teaser__date {
  display: block;
  margin-top: 12px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--ink-38);
}

/* ============================================================
   Arşiv listesi + arama
   ============================================================ */
.search {
  max-width: 460px;
  margin-bottom: clamp(26px, 3vw, 38px);
}

.search__field {
  position: relative;
}

.search input {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px 12px 44px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
  color: var(--navy);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
}

.search input::placeholder {
  color: var(--ink-38);
}

.search input:focus {
  border-color: var(--cyan-ink);
  outline: none;
  box-shadow: 0 0 0 3px rgba(112, 211, 239, 0.28);
}

.search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-38);
  pointer-events: none;
}

.search__count {
  margin-top: 10px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 13.5px;
  color: var(--ink-55);
}

.index-group {
  margin-bottom: clamp(30px, 4vw, 46px);
}

.index-group__letter {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--cyan-ink);
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.index-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2px 24px;
}

.index-list a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 0;
  min-height: 44px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}

.index-list a:hover {
  border-color: var(--cyan);
}

.index-list .t {
  font-size: 17px;
  line-height: 1.4;
}

.index-list .d {
  margin-left: auto;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 12.5px;
  color: var(--ink-38);
  white-space: nowrap;
}

.is-hidden {
  display: none !important;
}

.empty {
  padding: 26px 0;
  color: var(--ink-55);
}

/* ============================================================
   İçerik blokları
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.split--narrow-left {
  grid-template-columns: clamp(180px, 24vw, 260px) minmax(0, 1fr);
}

.split--narrow-right {
  grid-template-columns: minmax(0, 1fr) clamp(210px, 28vw, 330px);
}

@media (max-width: 780px) {
  .split,
  .split--narrow-left,
  .split--narrow-right {
    grid-template-columns: 1fr;
  }

  .split--narrow-left .figure,
  .split--narrow-right .figure {
    max-width: 260px;
  }
}

.prose {
  max-width: 62ch;
}

.prose h3 {
  font-size: clamp(20px, 2vw, 24px);
  margin: clamp(30px, 4vw, 44px) 0 12px;
}

.prose ul.bullets {
  margin: 0 0 1.1em;
  display: grid;
  gap: 8px;
}

.prose ul.bullets li {
  position: relative;
  padding-left: 20px;
  color: var(--ink-72);
}

.prose ul.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 9px;
  height: 1px;
  background: var(--cyan);
}

.quote {
  margin: 0;
  padding-left: clamp(18px, 3vw, 28px);
  border-left: 1px solid var(--cyan);
}

.quote p {
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.55;
  font-style: italic;
}

.quote figcaption {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 14px;
  color: var(--ink-55);
  font-style: normal;
}

.figure {
  margin: 0;
}

.figure img {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
}

/* çerçevesiz görsel (karikatür gibi saydam çizimler) */
.figure--plain img {
  border: 0;
  background: none;
}

.figure figcaption {
  margin-top: 12px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-55);
}

.band {
  background: var(--navy);
  color: var(--stone);
}

.band .eyebrow {
  color: var(--stone-45);
}

.band .section__lead,
.band .card__text {
  color: var(--stone-72);
}

.band a {
  color: var(--stone);
}

/* Okur şiiri / mesaj listesi */
.entries {
  display: grid;
  gap: clamp(26px, 3.4vw, 42px);
}

.entry {
  padding-top: clamp(24px, 3vw, 34px);
  border-top: 1px solid var(--line);
}

.entry:first-child {
  padding-top: 0;
  border-top: 0;
}

.entry__by {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan-ink);
  margin-bottom: 8px;
}

.entry__title {
  font-size: clamp(20px, 2.1vw, 25px);
  margin-bottom: 16px;
}

.entry__text {
  color: var(--ink-72);
  max-width: 62ch;
}

/* Şair grupları */
.poet {
  padding-top: clamp(28px, 3.4vw, 42px);
  margin-top: clamp(28px, 3.4vw, 42px);
  border-top: 1px solid var(--line);
}

.poet:first-of-type {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}

.poet__name {
  font-size: clamp(21px, 2.2vw, 27px);
  margin-bottom: 18px;
}

/* ============================================================
   Form
   ============================================================ */
.form {
  display: grid;
  gap: 18px;
  max-width: 560px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
  color: var(--navy);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.6;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--cyan-ink);
  outline: none;
  box-shadow: 0 0 0 3px rgba(112, 211, 239, 0.28);
}

.check {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-72);
}

.check input {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--navy);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__msg {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 15px;
  padding: 13px 16px;
  border-radius: 2px;
  border: 1px solid var(--line);
  background: var(--white);
}

.form__msg[data-state="ok"] {
  border-color: var(--cyan);
  background: rgba(112, 211, 239, 0.12);
}

.form__msg[data-state="err"] {
  border-color: #b3261e;
  color: #8c1d18;
  background: rgba(179, 38, 30, 0.06);
}

/* ============================================================
   Alt bilgi
   ============================================================ */
.footer {
  background: var(--navy);
  color: var(--stone-72);
  padding-block: clamp(48px, 6vw, 78px) 32px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 15px;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
}

@media (max-width: 780px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

.footer__brand p {
  color: var(--stone-45);
  max-width: 34ch;
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.65;
}

.footer .brand__text,
.footer .brand__sub {
  color: var(--stone);
}

.footer h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone-45);
  margin-bottom: 14px;
}

.footer li {
  margin-bottom: 4px;
}

.footer a {
  color: var(--stone-72);
  text-decoration: none;
  display: inline-block;
  padding: 7px 0;
  min-height: 40px;
  transition: color 0.2s var(--ease);
}

.footer a.brand {
  display: inline-flex;
  padding: 0;
  min-height: 0;
}

.footer a:hover {
  color: var(--stone);
  text-decoration: underline;
  text-decoration-color: var(--cyan);
  text-underline-offset: 4px;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  margin-top: clamp(38px, 5vw, 60px);
  padding-top: 22px;
  border-top: 1px solid var(--stone-line);
  color: var(--stone-45);
  font-size: 13.5px;
}

/* ============================================================
   Hareket
   ============================================================ */
.reveal {
  opacity: 1;
}

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Menü açıkken gövde kilidi (iOS Safari dahil) */
body.is-locked {
  position: fixed;
  width: 100%;
  overflow: hidden;
}

@media print {
  .header,
  .footer,
  .pager,
  .backlink,
  .hero__actions {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .poem::before {
    background: #999;
  }
}
