:root {
  --ink: #17150f;
  --linen: #ede8da;
  --linen-2: #e4decc;
  --walnut: #4b3323;
  --brass: #a9813f;
  --brass-soft: #c7a66c;
  --smoke: #6e6a5d;
  --line: rgba(23, 21, 15, 0.14);
  --card-shadow: 0 30px 60px -25px rgba(23, 21, 15, 0.35);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--linen);
  color: var(--ink);
  font-family: "Newsreader", serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection {
  background: var(--brass-soft);
  color: var(--ink);
}

/* ---------- ANIMATION SYSTEM ---------- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes pulse {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 1;
  }
}
@keyframes slideReveal {
  from {
    opacity: 0;
    transform: translateY(40px);
    clip-path: inset(0 0 100% 0);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    clip-path: inset(0 0 0 0);
  }
}
@keyframes hintPulse {
  0%,
  100% {
    opacity: 0.4;
    transform: translateX(0);
  }
  50% {
    opacity: 1;
    transform: translateX(4px);
  }
}
@keyframes cardReveal {
  from {
    opacity: 0;
    transform: translateY(60px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.anim-in {
  animation: fadeUp 0.8s cubic-bezier(0.16, 0.8, 0.4, 1) both;
}
.anim-in.d1 {
  animation-delay: 0.05s;
}
.anim-in.d2 {
  animation-delay: 0.16s;
}
.anim-in.d3 {
  animation-delay: 0.27s;
}
.anim-in.d4 {
  animation-delay: 0.38s;
}
.anim-in.d5 {
  animation-delay: 0.49s;
}
.anim-in.d6 {
  animation-delay: 0.6s;
}
.anim-in.d7 {
  animation-delay: 0.71s;
}

button,
a,
.post-card,
.wordmark,
.toolbar button,
.dz-remove,
input {
  transition:
    transform 0.18s ease,
    background-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.3s ease,
    border-color 0.25s ease;
}
button:active,
.pill:active,
.btn-primary:active,
.btn-publish:active {
  transform: scale(0.96);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

.eyebrow {
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--smoke);
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
}
input,
textarea {
  font-family: inherit;
}

/* ---------- HEADER ---------- */
header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 5vw;
  background: linear-gradient(to bottom, rgba(237, 232, 218, 0.92), rgba(237, 232, 218, 0));
  backdrop-filter: blur(2px);
}
header.site-header .wordmark {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.02em;
  position: relative;
}
header.site-header .wordmark::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 0.8, 0.4, 1);
}
header.site-header .wordmark:hover::after {
  transform: scaleX(1);
}
header.site-header .wordmark:hover {
  letter-spacing: 0.05em;
}
header.site-header .wordmark span {
  color: var(--brass);
}
nav.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 12.5px;
}
nav.site-nav a,
nav.site-nav button.navlink {
  background: none;
  border: none;
  color: var(--ink);
  letter-spacing: 0.03em;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  display: flex;
  align-items: baseline;
  gap: 5px;
}
nav.site-nav .n {
  color: var(--brass);
  font-size: 10px;
}
nav.site-nav a:hover,
nav.site-nav button.navlink:hover {
  border-bottom-color: var(--brass);
}
nav.site-nav a.current {
  border-bottom-color: var(--ink);
}
nav.site-nav .pill {
  border: 1px solid var(--ink);
  border-radius: 100px;
  padding: 8px 18px;
}
nav.site-nav .pill:hover {
  background: var(--ink);
  color: var(--linen);
  border-bottom-color: transparent;
}

main {
  padding-top: 0;
}
section {
  display: none;
}
section.active {
  display: block;
}

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 140px 5vw 90px;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 85% 15%, rgba(169, 129, 63, 0.18), transparent 70%);
  pointer-events: none;
}
.hero-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hero-line {
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(38px, 7.5vw, 96px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  display: block;
}
.hero-line-accent {
  color: var(--walnut);
  font-weight: 400;
}
.hero p.lede {
  margin-top: 40px;
  max-width: 46ch;
  font-size: 18px;
  line-height: 1.6;
  color: var(--walnut);
}
.hero .scroll-cue {
  margin-top: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--smoke);
}
.hero .more-link {
  margin-top: 18px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--brass);
  border-bottom: 1px solid transparent;
}
.hero .more-link:hover {
  border-bottom-color: var(--brass);
}
.scroll-cue .line {
  width: 40px;
  height: 1px;
  background: var(--smoke);
  animation: pulse 2.2s ease-in-out infinite;
}

/* ---------- MANIFESTO STRIP ---------- */
.manifesto {
  padding: 120px 5vw 140px;
  text-align: center;
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 1s cubic-bezier(0.16, 0.8, 0.4, 1),
    transform 1s cubic-bezier(0.16, 0.8, 0.4, 1);
}
.manifesto.revealed {
  opacity: 1;
  transform: translateY(0);
}
.manifesto blockquote.manifesto-quote {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(28px, 4.2vw, 52px);
  line-height: 1.22;
  max-width: 28ch;
  margin: 0 auto 28px;
}
.manifesto .mq-line {
  display: block;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 0.8, 0.4, 1),
    transform 0.7s cubic-bezier(0.16, 0.8, 0.4, 1);
}
.manifesto.revealed .mq-line:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}
.manifesto.revealed .mq-line:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.22s;
}
.manifesto.revealed .mq-line:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.34s;
}
.manifesto.revealed .mq-line:nth-child(4) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.46s;
}
.manifesto cite {
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--smoke);
  font-style: normal;
  opacity: 0;
  transition: opacity 0.6s ease 0.55s;
}
.manifesto.revealed cite {
  opacity: 1;
}

/* ---------- HORIZONTAL PINNED JOURNAL ---------- */
.journal-wrap {
  position: relative;
}
.journal-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  cursor: grab;
  touch-action: pan-y;
}
.journal-pin.is-dragging {
  cursor: grabbing;
  user-select: none;
}
.journal-heading {
  position: absolute;
  top: 56px;
  left: 5vw;
  z-index: 2;
}
.journal-heading h2 {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 22px;
}
.journal-count {
  position: absolute;
  top: 60px;
  right: 5vw;
  z-index: 2;
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  color: var(--smoke);
}
.journal-hint {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--smoke);
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.5s ease;
}
.journal-hint.hidden {
  opacity: 0;
}
.journal-hint .hint-arrow {
  font-size: 14px;
  animation: hintPulse 2s ease-in-out infinite;
}
.journal-hint .hint-arrow:last-child {
  animation-direction: reverse;
}
.journal-progress {
  position: absolute;
  bottom: 0;
  left: 5vw;
  right: 5vw;
  height: 2px;
  background: var(--line);
  z-index: 3;
}
.journal-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--brass);
  transition: width 0.08s linear;
}
.journal-track {
  display: flex;
  align-items: center;
  gap: 48px;
  padding-left: 8vw;
  padding-right: 15vw;
  will-change: transform;
}

.post-card {
  position: relative;
  flex: 0 0 auto;
  width: min(68vw, 720px);
  background: var(--linen-2);
  border-radius: 2px;
  box-shadow: var(--card-shadow);
  cursor: pointer;
  overflow: hidden;
  transform: scale(var(--s, 0.88)) translateY(var(--ty, 20px));
  opacity: var(--o, 0.45);
  transition:
    transform 0.35s cubic-bezier(0.16, 0.8, 0.4, 1),
    opacity 0.35s cubic-bezier(0.16, 0.8, 0.4, 1),
    box-shadow 0.4s ease;
}
.post-card.is-focused {
  box-shadow: 0 50px 100px -30px rgba(23, 21, 15, 0.45);
}
.post-card:hover {
  box-shadow: 0 40px 80px -25px rgba(23, 21, 15, 0.5);
}
.post-card .num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--brass);
  position: absolute;
  top: 28px;
  left: 32px;
  z-index: 2;
}
.post-card .cover {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
  background: linear-gradient(135deg, #d8d0ba, #c9bd9c);
  transition: transform 0.8s cubic-bezier(0.16, 0.8, 0.4, 1);
}
.post-card.is-focused .cover,
.post-card:hover .cover {
  transform: scale(1.04);
}
.post-card .cover.empty {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16/10;
}
.post-card .body {
  padding: 32px 36px 38px;
}
.post-card h3 {
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.18;
  margin-bottom: 14px;
  opacity: var(--text-o, 0.65);
  transform: translateY(var(--text-y, 12px));
  transition:
    opacity 0.4s cubic-bezier(0.16, 0.8, 0.4, 1),
    transform 0.4s cubic-bezier(0.16, 0.8, 0.4, 1);
}
.post-card.is-focused h3 {
  --text-o: 1;
  --text-y: 0;
}
.post-card .excerpt {
  font-size: 16px;
  color: var(--walnut);
  line-height: 1.6;
  opacity: 0.55;
  transform: translateY(8px);
  transition:
    opacity 0.45s cubic-bezier(0.16, 0.8, 0.4, 1) 0.05s,
    transform 0.45s cubic-bezier(0.16, 0.8, 0.4, 1) 0.05s;
}
.post-card.is-focused .excerpt {
  opacity: 1;
  transform: translateY(0);
}
.post-card .meta {
  margin-top: 20px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--smoke);
  text-transform: uppercase;
  opacity: 0.5;
  transition: opacity 0.4s ease 0.12s;
}
.post-card.is-focused .meta {
  opacity: 1;
}
.post-card .card-read {
  display: inline-block;
  margin-top: 22px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.25s ease,
    color 0.25s ease;
}
.post-card.is-focused .card-read,
.post-card:hover .card-read {
  border-bottom-color: var(--brass);
}
.post-card:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 4px;
}
.post-card.new-card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  border: 1px dashed var(--walnut);
  background: transparent;
  box-shadow: none;
  aspect-ratio: 4/3;
  width: min(34vw, 340px);
  --o: 0.75;
  --ty: 0px;
}
.post-card.new-card.is-focused {
  --o: 1;
}
.post-card.new-card .plus {
  font-family: "Fraunces", serif;
  font-size: 40px;
  font-weight: 300;
  color: var(--brass);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-block;
}
.post-card.new-card:hover .plus {
  transform: rotate(90deg) scale(1.15);
}
.post-card.new-card span.label {
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.empty-state {
  padding: 5vw;
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}
.empty-state .eyebrow {
  display: block;
  margin-bottom: 14px;
}
.empty-state h3 {
  font-family: "Fraunces", serif;
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 12px;
}
.empty-state p {
  color: var(--walnut);
  line-height: 1.6;
  margin-bottom: 26px;
}
.btn-seed {
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 22px;
  border: 1px solid var(--ink);
  border-radius: 100px;
  background: transparent;
  cursor: pointer;
}
.btn-seed:hover {
  background: var(--ink);
  color: var(--linen);
}

/* ---------- NEWSLETTER BAND ---------- */
.newsletter-band {
  background: var(--ink);
  color: var(--linen);
  padding: 80px 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}
.newsletter-band .nb-text .eyebrow {
  color: var(--brass-soft);
  margin-bottom: 10px;
}
.newsletter-band h3 {
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 30px);
  max-width: 22ch;
}
.newsletter-form {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(237, 232, 218, 0.35);
  min-width: 300px;
  flex: 1;
  max-width: 420px;
}
.newsletter-form input {
  background: none;
  border: none;
  color: var(--linen);
  padding: 12px 4px;
  font-size: 15px;
  flex: 1;
}
.newsletter-form input:focus {
  outline: none;
}
.newsletter-form input::placeholder {
  color: rgba(237, 232, 218, 0.5);
}
.newsletter-form button {
  background: none;
  border: none;
  color: var(--brass-soft);
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 6px;
}
.newsletter-form button:hover {
  color: var(--linen);
}

/* ---------- POST DETAIL ---------- */
.post-detail {
  padding: 150px 5vw 100px;
  max-width: 820px;
  margin: 0 auto;
  animation: fadeUp 0.7s cubic-bezier(0.16, 0.8, 0.4, 1) both;
}
.post-detail .back {
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--smoke);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
}
.post-detail .back .arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}
.post-detail .back:hover .arrow {
  transform: translateX(-4px);
}
.post-detail .d-num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  color: var(--brass);
  letter-spacing: 0.15em;
  margin-bottom: 18px;
}
.post-detail h1 {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: clamp(30px, 4.6vw, 50px);
  line-height: 1.1;
  margin-bottom: 18px;
}
.post-detail .d-meta {
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  color: var(--smoke);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 38px;
}
.post-detail img.cover {
  width: 100%;
  border-radius: 2px;
  margin-bottom: 44px;
  box-shadow: var(--card-shadow);
}
.post-detail .content {
  font-size: 19px;
  line-height: 1.75;
  color: #22201a;
}
.post-detail .content p {
  margin-bottom: 1.3em;
}
.post-detail .content b,
.post-detail .content strong {
  color: var(--walnut);
}
.post-detail .content i,
.post-detail .content em {
  font-style: italic;
}
.post-detail .content blockquote {
  margin: 1.5em 0;
  padding-left: 1.2em;
  border-left: 2px solid var(--brass-soft);
  font-style: italic;
  color: var(--walnut);
}
.post-detail .post-nav {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.post-detail .post-nav-btn {
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: none;
  border: none;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  cursor: pointer;
}
.post-detail .post-nav-btn:hover {
  color: var(--brass);
}
.post-detail .post-nav-btn .arrow {
  transition: transform 0.25s ease;
}
.post-detail .post-nav-btn:hover .arrow {
  transform: translateX(-3px);
}
.post-detail .post-nav-btn:last-child:hover .arrow {
  transform: translateX(3px);
}
.post-footer {
  margin-top: 0;
}
.post-detail .admin-row {
  margin-top: 50px;
  display: flex;
  gap: 14px;
}
.post-detail .admin-row button {
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 100px;
  border: 1px solid var(--ink);
  background: transparent;
}
.post-detail .admin-row button.danger {
  border-color: #8a3b2c;
  color: #8a3b2c;
}

/* ---------- ABOUT ---------- */
.about-view {
  padding: 150px 5vw 0;
}
.about-hero {
  max-width: 820px;
  margin-bottom: 70px;
}
.about-hero h1 {
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(28px, 4.6vw, 54px);
  line-height: 1.18;
  margin-bottom: 26px;
}
.about-hero p {
  font-size: 18px;
  line-height: 1.75;
  color: var(--walnut);
  max-width: 64ch;
}
.about-hero p + p {
  margin-top: 16px;
}

.stats-row {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
  margin: 0 0 100px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.stat .num {
  font-family: "Fraunces", serif;
  font-size: 44px;
  font-weight: 500;
  color: var(--walnut);
}
.stat .label {
  font-family: "Space Grotesk", sans-serif;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--smoke);
  margin-top: 6px;
}

.process {
  margin-bottom: 120px;
}
.process h2 {
  font-family: "Fraunces", serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 40px;
}
.process-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.process-step {
  background: var(--linen);
  padding: 38px 34px;
  transition: background-color 0.3s ease;
}
.process-step:hover {
  background: var(--linen-2);
}
.process-step .p-num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  color: var(--brass);
  letter-spacing: 0.15em;
  margin-bottom: 14px;
}
.process-step h4 {
  font-family: "Fraunces", serif;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 10px;
}
.process-step p {
  font-size: 14.5px;
  color: var(--walnut);
  line-height: 1.6;
}

/* ---------- CONTACT ---------- */
.contact-view {
  padding: 150px 5vw 100px;
}
.contact-head {
  max-width: 600px;
  margin-bottom: 70px;
}
.contact-head h1 {
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(28px, 4.4vw, 50px);
}
.contact-head p {
  margin-top: 16px;
  color: var(--walnut);
  font-size: 17px;
  line-height: 1.6;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
}
.contact-info dt {
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--smoke);
  margin-top: 26px;
}
.contact-info dt:first-child {
  margin-top: 0;
}
.contact-info dd {
  font-family: "Fraunces", serif;
  font-size: 19px;
  margin-top: 6px;
}
.contact-info .socials {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
}
.contact-info .socials a {
  border-bottom: 1px solid var(--line);
}
.contact-info .socials a:hover {
  border-bottom-color: var(--brass);
  color: var(--brass);
}
.contact-form textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 10px 2px;
  font-size: 16px;
  color: var(--ink);
  resize: vertical;
  min-height: 120px;
  font-family: "Newsreader", serif;
}
.contact-form textarea:focus {
  outline: none;
  border-bottom-color: var(--brass);
}

/* ---------- LOGIN ---------- */
.login-view {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  padding: 24px;
}
.login-card {
  width: 100%;
  max-width: 400px;
  background: var(--linen);
  border-radius: 2px;
  padding: 52px 40px 44px;
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, 0.6);
  animation: popIn 0.6s cubic-bezier(0.16, 0.8, 0.4, 1) both;
}
.login-card .eyebrow {
  margin-bottom: 10px;
}
.login-card h2 {
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-size: 30px;
  margin-bottom: 8px;
}
.login-card p.sub {
  color: var(--smoke);
  font-size: 14px;
  margin-bottom: 34px;
}
.field {
  margin-bottom: 20px;
}
.field label {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--smoke);
  margin-bottom: 8px;
}
.field input {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 10px 2px;
  font-size: 16px;
  color: var(--ink);
}
.field input:focus {
  outline: none;
  border-bottom-color: var(--brass);
}
.btn-primary {
  width: 100%;
  background: var(--ink);
  color: var(--linen);
  border: none;
  padding: 15px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  margin-top: 12px;
}
.btn-primary:hover {
  background: var(--walnut);
}
.login-hint {
  margin-top: 22px;
  font-size: 12px;
  color: var(--smoke);
  line-height: 1.6;
}
.login-error {
  color: #8a3b2c;
  font-size: 13px;
  margin-top: 14px;
  display: none;
}
.back-link {
  position: absolute;
  top: 26px;
  left: 5vw;
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  color: var(--linen);
  letter-spacing: 0.08em;
}
.back-link .arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}
.back-link:hover .arrow {
  transform: translateX(-4px);
}

/* ---------- EDITOR ---------- */
.editor-view {
  padding: 140px 5vw 100px;
  max-width: 760px;
  margin: 0 auto;
  animation: fadeUp 0.7s cubic-bezier(0.16, 0.8, 0.4, 1) both;
}
.editor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 44px;
  flex-wrap: wrap;
  gap: 16px;
}
.editor-head h2 {
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-size: 32px;
}
.logout-btn {
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--smoke);
  border-bottom: 1px solid var(--line);
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  padding-bottom: 2px;
}
.title-input {
  width: 100%;
  border: none;
  background: transparent;
  font-family: "Fraunces", serif;
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding: 10px 0 18px;
  margin-bottom: 30px;
}
.title-input:focus {
  outline: none;
  border-bottom-color: var(--brass);
}
.title-input::placeholder {
  color: #b8b09a;
  font-style: italic;
}

.dropzone {
  border: 1px dashed var(--walnut);
  border-radius: 2px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  min-height: 220px;
  margin-bottom: 34px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.dropzone.has-image {
  border-style: solid;
}
.dropzone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  animation: fadeIn 0.5s ease both;
}
.dropzone .dz-inner {
  position: relative;
  z-index: 1;
  padding: 30px;
}
.dropzone .dz-inner .eyebrow {
  margin-bottom: 8px;
}
.dropzone .dz-inner p {
  font-size: 13px;
  color: var(--smoke);
}
.dropzone input[type="file"] {
  display: none;
}
.dz-remove {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  background: rgba(23, 21, 15, 0.75);
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 6px 14px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
}

.toolbar {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.toolbar button {
  border: 1px solid var(--line);
  background: var(--linen-2);
  border-radius: 4px;
  width: 34px;
  height: 34px;
  font-family: "Fraunces", serif;
  font-size: 14px;
}
.toolbar button.b {
  font-weight: 700;
}
.toolbar button.i {
  font-style: italic;
}
.toolbar button:hover {
  background: var(--brass-soft);
  transform: translateY(-2px);
}

.editable {
  min-height: 280px;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 22px;
  font-size: 17px;
  line-height: 1.75;
  background: rgba(255, 255, 255, 0.35);
}
.editable:focus {
  outline: none;
  border-color: var(--brass);
}
.editable p {
  margin-bottom: 1em;
}
.editable:empty:before {
  content: attr(data-placeholder);
  color: #b8b09a;
  font-style: italic;
}

.publish-row {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-publish {
  background: var(--ink);
  color: var(--linen);
  border: none;
  padding: 15px 30px;
  border-radius: 2px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.btn-publish:hover {
  background: var(--walnut);
}
.btn-cancel {
  background: none;
  border: none;
  color: var(--smoke);
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  text-decoration: underline;
}

.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px) scale(0.92);
  background: var(--ink);
  color: var(--linen);
  padding: 14px 26px;
  border-radius: 100px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.3s cubic-bezier(0.16, 0.8, 0.4, 1),
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
}

.manage-list {
  margin-top: 64px;
  border-top: 1px solid var(--line);
  padding-top: 34px;
}
.manage-list h3 {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 20px;
}
.manage-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 10px;
  border-bottom: 1px solid var(--line);
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  transition:
    padding-left 0.25s ease,
    background-color 0.25s ease;
}
.manage-row:hover {
  padding-left: 16px;
  background: rgba(169, 129, 63, 0.08);
}
.manage-row .mr-title {
  font-family: "Newsreader", serif;
  font-size: 16px;
  flex: 1;
}
.manage-row .mr-actions {
  display: flex;
  gap: 10px;
}
.manage-row button {
  background: none;
  border: none;
  color: var(--smoke);
  text-decoration: underline;
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
}
.manage-row button.danger {
  color: #8a3b2c;
}

/* ---------- FOOTER ---------- */
footer.site-footer {
  border-top: 1px solid var(--line);
  padding: 80px 5vw 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  max-width: 1180px;
  margin: 0 auto;
  padding-bottom: 56px;
}
.footer-brand .eyebrow {
  margin-bottom: 12px;
  display: block;
}
.footer-brand p {
  max-width: 38ch;
  font-size: 14px;
  color: var(--walnut);
  line-height: 1.65;
}
.footer-col h4 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--smoke);
  margin-bottom: 16px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-size: 14px;
  color: var(--ink);
}
.footer-col a:hover {
  color: var(--brass);
}
.footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 0 44px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  color: var(--smoke);
}
.footer-bottom .legal-links {
  display: flex;
  gap: 18px;
}
.footer-bottom .legal-links a:hover {
  color: var(--brass);
}

/* ---------- MATERIALS ---------- */
.materials-view {
  padding: 150px 5vw 0;
}
.materials-head {
  max-width: 680px;
  margin-bottom: 70px;
}
.materials-head h1 {
  font-family: "Fraunces", serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(28px, 4.6vw, 54px);
  line-height: 1.18;
  margin: 20px 0 26px;
}
.materials-head p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--walnut);
  max-width: 60ch;
}
.materials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: 120px;
}
.material-card {
  background: var(--linen);
  padding: 44px 38px;
  transition: background-color 0.3s ease;
}
.material-card:hover {
  background: var(--linen-2);
}
.material-card .swatch {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  margin-bottom: 22px;
}
.swatch-walnut {
  background: linear-gradient(135deg, #6b4226, #4b3323);
}
.swatch-brass {
  background: linear-gradient(135deg, #c7a66c, #a9813f);
}
.swatch-found {
  background: linear-gradient(135deg, #8c8778, #6e6a5d);
}
.swatch-linen {
  background: linear-gradient(135deg, #f1ecde, #e4decc);
  border: 1px solid var(--line);
}
.material-card h3 {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 21px;
  margin-bottom: 10px;
}
.material-card p {
  font-size: 14.5px;
  color: var(--walnut);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .process-list {
    grid-template-columns: 1fr;
  }
  .stats-row {
    gap: 40px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .materials-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  header.site-header {
    padding: 18px 6vw;
  }
  nav.site-nav {
    gap: 14px;
    font-size: 11.5px;
  }
  nav.site-nav .n {
    display: none;
  }
  .hero {
    padding: 120px 6vw 60px;
  }
  .hero-line {
    font-size: clamp(32px, 9vw, 64px);
  }
  .journal-hint {
    bottom: 36px;
    font-size: 10px;
    gap: 10px;
  }
  .journal-heading {
    left: 6vw;
  }
  .journal-count {
    right: 6vw;
  }
  .journal-track {
    padding-left: 6vw;
    padding-right: 6vw;
    gap: 20px;
  }
  .post-card {
    width: 82vw;
  }
  .post-card.new-card {
    width: 60vw;
  }
  .post-detail,
  .editor-view,
  .about-view,
  .contact-view,
  .materials-view {
    padding-left: 6vw;
    padding-right: 6vw;
  }
  .newsletter-band {
    padding: 60px 6vw;
  }
  footer.site-footer {
    padding: 60px 6vw 0;
  }
}
/* ---------- RESPONSIVE (GELİŞTİRİLMİŞ EKRAN UYUMU) ---------- */

/* Tablet ve Küçük Dizüstü Ekranlar */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Tablet Dikey Görünüm */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .process-list {
    grid-template-columns: 1fr;
  }
  .stats-row {
    gap: 40px;
    justify-content: center;
  }
  .materials-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobil Telefonlar (Büyük ve Orta Boy) */
@media (max-width: 768px) {
  /* Header & Menü Yığılması (Stacking) */
  header.site-header {
    flex-direction: column;
    gap: 16px;
    padding: 16px 5vw;
    background: rgba(237, 232, 218, 0.96); /* Daha net bir arka plan */
  }
  nav.site-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
  nav.site-nav .n {
    display: none; /* Mobilde numaraları gizle */
  }
  
  /* Üstten Boşlukların Header'a Göre Ayarlanması */
  .hero {
    padding: 160px 6vw 60px;
  }
  .post-detail,
  .editor-view,
  .about-view,
  .contact-view,
  .materials-view {
    padding-left: 6vw;
    padding-right: 6vw;
    padding-top: 160px; /* Menü dikey olduğu için mesafeyi artırdık */
  }

  /* Ana Sayfa Yazı Tipleri ve Kaydırma (Journal Track) */
  .hero-line {
    font-size: clamp(32px, 9vw, 64px);
  }
  .journal-heading {
    left: 6vw;
    top: 90px;
  }
  .journal-count {
    right: 6vw;
    top: 95px;
  }
  .journal-hint {
    bottom: 36px;
    font-size: 10px;
    gap: 10px;
  }
  .journal-track {
    padding-left: 6vw;
    padding-right: 6vw;
    gap: 20px;
  }
  
  /* Kartları Ekrana Yayma */
  .post-card {
    width: 85vw; /* Kart genişliğini mobil ekrana tam oturttuk */
  }
  .post-card .body {
    padding: 24px 20px 28px; /* İç boşlukları daralttık */
  }
  .post-card.new-card {
    width: 70vw;
  }

  /* Bülten (Newsletter) Düzenlemesi */
  .newsletter-band {
    padding: 60px 6vw;
    flex-direction: column;
    text-align: center;
  }
  .newsletter-form {
    width: 100%;
    max-width: 100%;
    flex-direction: column;
    gap: 10px;
    border: none;
  }
  .newsletter-form input {
    border-bottom: 1px solid rgba(237, 232, 218, 0.35);
    text-align: center;
  }
  .newsletter-form button {
    background: var(--brass-soft);
    color: var(--ink);
    border-radius: 4px;
    margin-top: 10px;
  }

  /* Footer */
  footer.site-footer {
    padding: 60px 6vw 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* Küçük Mobil Cihazlar (Dar Ekranlar) */
@media (max-width: 480px) {
  .hero-line {
    font-size: clamp(28px, 10vw, 42px);
  }
  .post-detail h1, 
  .about-hero h1, 
  .materials-head h1, 
  .contact-head h1 {
    font-size: clamp(24px, 7vw, 32px);
  }
  .post-detail .admin-row {
    flex-direction: column;
    gap: 10px;
  }
  .post-detail .admin-row button {
    width: 100%;
  }
  .login-card {
    padding: 40px 24px;
  }
  .journal-progress {
    left: 0;
    right: 0;
  }
  .contact-info dd {
    font-size: 16px;
  }
}