/* Açık Zemin — editoryal yüzey, sakin palet */
:root {
  --navy: #121a2b;
  --navy-mid: #1a2744;
  --gray-ink: #3d4556;
  --gray-soft: #8b92a3;
  --beige: #e8e0d5;
  --beige-deep: #d4c9b8;
  --gold: #c4a35a;
  --gold-dim: rgba(196, 163, 90, 0.35);
  --paper: #f4f1eb;
  --white: #faf9f6;
  --line: rgba(26, 39, 68, 0.12);
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Source Sans 3", system-ui, sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --max-read: 38rem;
  --max-wide: 72rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--gray-ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 0.5rem 1rem;
  background: var(--navy);
  color: var(--beige);
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 241, 235, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: var(--space-sm) var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--navy);
}

.brand-mark {
  height: 48px;
  width: auto;
  max-width: 88px;
  object-fit: contain;
  border-radius: 4px;
  flex-shrink: 0;
}

.brand-word {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  padding: 0.5rem;
  cursor: pointer;
  border-radius: 4px;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy-mid);
  box-shadow: 0 6px 0 var(--navy-mid), 0 -6px 0 var(--navy-mid);
}

.site-nav .nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  align-items: center;
  justify-content: flex-end;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0;
  text-decoration: none;
  color: var(--gray-ink);
  font-size: 0.95rem;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--navy);
  border-bottom-color: var(--gold-dim);
}

.nav-link.is-active {
  color: var(--navy-mid);
  border-bottom-color: var(--gold);
}

.nav-icon img {
  display: block;
  opacity: 0.85;
}

@media (max-width: 960px) {
  .nav-toggle {
    display: block;
  }
  .site-nav {
    width: 100%;
    display: none;
    padding-top: var(--space-sm);
  }
  .site-nav.is-open {
    display: block;
  }
  .site-nav .nav-list {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ——— Main ——— */
.site-main {
  flex: 1;
}

/* ——— Typography blocks ——— */
.hero {
  position: relative;
  padding: var(--space-xl) var(--space-md) var(--space-lg);
  max-width: var(--max-wide);
  margin: 0 auto;
}

.hero--asymmetric {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.75fr);
  gap: var(--space-lg);
  align-items: end;
}

@media (max-width: 820px) {
  .hero--asymmetric {
    grid-template-columns: 1fr;
  }
}

.hero-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin: 0 0 var(--space-sm);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.12;
  color: var(--navy);
  margin: 0 0 var(--space-md);
  max-width: 14ch;
}

.hero-lede {
  font-size: 1.15rem;
  color: var(--gray-ink);
  max-width: var(--max-read);
  margin: 0;
}

.hero-aside {
  border-left: 1px solid var(--gold-dim);
  padding-left: var(--space-md);
  font-size: 0.95rem;
  color: var(--gray-soft);
  line-height: 1.7;
}

.hero-aside strong {
  color: var(--navy-mid);
  font-weight: 600;
}

.section {
  padding: var(--space-lg) var(--space-md);
  max-width: var(--max-wide);
  margin: 0 auto;
}

.section--tight {
  padding-top: var(--space-md);
}

.section-label {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.section-label img {
  opacity: 0.7;
}

.section-label span {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.editorial-columns {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: var(--space-lg) var(--space-xl);
  align-items: start;
}

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

.prose {
  max-width: var(--max-read);
}

.prose p {
  margin: 0 0 1.25em;
}

.prose h2 {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--navy);
  margin: 2rem 0 0.75rem;
}

.prose h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy-mid);
  margin: 1.75rem 0 0.5rem;
}

.prose ul,
.prose ol {
  margin: 0 0 1.25em;
  padding-left: 1.25em;
}

.prose li {
  margin-bottom: 0.35em;
}

.side-rail {
  position: relative;
  padding-top: 0.5rem;
}

.side-note {
  font-size: 0.9rem;
  color: var(--gray-soft);
  border-top: 1px solid var(--line);
  padding-top: var(--space-sm);
  margin-bottom: var(--space-md);
  line-height: 1.65;
}

.side-note::before {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin-bottom: var(--space-sm);
  opacity: 0.6;
}

.pull-quote {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--navy-mid);
  line-height: 1.45;
  margin: var(--space-md) 0;
  padding: var(--space-md) 0 var(--space-md) var(--space-md);
  border-left: 3px solid var(--gold);
}

.divider-ornament {
  display: block;
  margin: var(--space-lg) auto;
  max-width: 120px;
}

/* Mixed-width strips */
.strip {
  position: relative;
  color: var(--beige);
  padding: var(--space-lg) var(--space-md);
  margin: var(--space-lg) 0;
  background-color: var(--navy-mid);
  background-image: linear-gradient(
      120deg,
      rgba(26, 39, 68, 0.9) 0%,
      rgba(26, 39, 68, 0.82) 45%,
      rgba(26, 39, 68, 0.88) 100%
    ),
    url("/assets/images/foto-yapboz-duvar-a.jpg");
  background-size: cover;
  background-position: center;
}

.strip-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: var(--space-lg);
  align-items: start;
}

@media (max-width: 768px) {
  .strip-inner {
    grid-template-columns: 1fr;
  }
}

.strip p {
  margin: 0 0 1em;
  opacity: 0.95;
}

.strip .strip-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin: 0 0 var(--space-sm);
  color: var(--white);
}

.strip a {
  color: var(--gold);
}

/* Links row (not card grid) */
.link-row {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
  margin-top: var(--space-lg);
}

.link-row a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--navy-mid);
  font-weight: 500;
  transition: padding-left 0.2s;
}

.link-row a:hover,
.link-row a:focus-visible {
  padding-left: 0.5rem;
  color: var(--gold);
}

.link-row a img {
  flex-shrink: 0;
  opacity: 0.5;
}

/* Games / interactive */
.game-panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: var(--space-md);
  margin: var(--space-lg) 0;
  max-width: 28rem;
}

.game-panel h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin: 0 0 var(--space-sm);
  color: var(--navy);
}

.game-disclosure {
  font-size: 0.85rem;
  color: var(--gray-soft);
  margin-bottom: var(--space-md);
  line-height: 1.55;
}

.memory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.memory-cell {
  aspect-ratio: 1;
  border: 1px solid var(--line);
  background: var(--beige);
  cursor: pointer;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--navy-mid);
  transition: background 0.2s, transform 0.15s;
}

.memory-cell:hover:not(:disabled) {
  background: var(--beige-deep);
}

.memory-cell.is-revealed,
.memory-cell.is-matched {
  background: var(--white);
  border-color: var(--gold-dim);
}

.memory-cell:disabled {
  cursor: default;
}

.game-stats {
  margin-top: var(--space-sm);
  font-size: 0.9rem;
  color: var(--gray-ink);
}

/* Forms */
.form-stack {
  max-width: 32rem;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy-mid);
  margin-bottom: 0.35rem;
}

input,
textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.btn {
  display: inline-block;
  padding: 0.65rem 1.4rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--gold);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: filter 0.2s;
}

.btn:hover,
.btn:focus-visible {
  filter: brightness(1.05);
}

.form-note {
  font-size: 0.85rem;
  color: var(--gray-soft);
  margin: 0;
}

.alert {
  padding: var(--space-sm) var(--space-md);
  border-radius: 4px;
  background: var(--beige);
  border: 1px solid var(--gold-dim);
  color: var(--navy-mid);
}

/* Page header inner pages */
.page-head {
  padding: var(--space-xl) var(--space-md) var(--space-md);
  max-width: var(--max-wide);
  margin: 0 auto;
}

.page-head h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 var(--space-sm);
  max-width: 18ch;
}

.page-head .lede {
  font-size: 1.125rem;
  color: var(--gray-ink);
  max-width: var(--max-read);
  margin: 0;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  color: var(--beige);
  padding: var(--space-lg) var(--space-md);
  margin-top: var(--space-xl);
  background-color: var(--navy);
  background-image: linear-gradient(
      160deg,
      rgba(18, 26, 43, 0.94) 0%,
      rgba(18, 26, 43, 0.9) 50%,
      rgba(18, 26, 43, 0.93) 100%
    ),
    url("/assets/images/foto-yapboz-duvar-b.jpg");
  background-size: cover;
  background-position: center;
}

.footer-grid {
  max-width: var(--max-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: var(--space-lg);
}

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

.footer-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin: 0 0 var(--space-xs);
  color: var(--white);
}

.footer-lede {
  margin: 0;
  opacity: 0.85;
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 28rem;
}

.footer-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin: 0 0 var(--space-sm);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--beige);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-meta {
  max-width: var(--max-wide);
  margin: var(--space-lg) auto 0;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(232, 224, 213, 0.15);
}

.footer-disclosure {
  font-size: 0.8rem;
  opacity: 0.75;
  line-height: 1.55;
  margin: 0 0 var(--space-sm);
  max-width: 48rem;
}

.footer-copy {
  font-size: 0.8rem;
  opacity: 0.55;
  margin: 0;
}

/* Journal template lines */
.journal-lines {
  background: var(--white);
  border: 1px solid var(--line);
  padding: var(--space-lg);
  min-height: 320px;
  background-image: linear-gradient(transparent 31px, var(--line) 32px);
  background-size: 100% 32px;
  line-height: 32px;
  font-family: var(--font-sans);
  font-size: 1rem;
}

.journal-lines p:first-child {
  margin-top: 0;
}

/* Yerel fotoğraf kırılımları (mavi düz bloklar yerine) */
.editorial-photo-break {
  max-width: var(--max-wide);
  margin: 0 auto var(--space-lg);
  padding: 0 var(--space-md);
}

.editorial-photo-break img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px 36px 4px 4px;
  box-shadow: 0 24px 48px rgba(26, 39, 68, 0.12);
}

.editorial-photo-break figcaption {
  margin-top: var(--space-sm);
  font-size: 0.88rem;
  color: var(--gray-soft);
  max-width: 42rem;
  line-height: 1.5;
}

.page-hero-photo {
  max-width: var(--max-wide);
  margin: 0 auto var(--space-md);
  padding: 0 var(--space-md);
}

.page-hero-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px 28px 4px 4px;
  box-shadow: 0 18px 40px rgba(26, 39, 68, 0.1);
}

