@font-face {
  font-family: "Instrument Serif";
  src: url("assets/instrument-regular.woff") format("woff");
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("assets/instrument-italic.woff") format("woff");
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans.woff") format("woff");
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #fcf7ee;
  --soft: #f6e9e4;
  --ink: #34151e;
  --wine: #741930;
  --berry: #8d2440;
  --muted: #65454b;
  --line: #d9c5bf;
  --rose: #f6dbe0;
  --display: "Instrument Serif", Georgia, serif;
  --body: "DM Sans", system-ui, sans-serif;
  --gutter: clamp(22px, 5.15vw, 82px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 16px/1.55 var(--body); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
#main, #kesfet, #sayilar, #hakkinda { scroll-margin-top: 22px; }

.wrap { width: min(100% - var(--gutter) * 2, 1280px); margin-inline: auto; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 3; padding: 10px 14px; background: var(--paper); transform: translateY(-180%); }
.skip-link:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }
.masthead { min-height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.wordmark, .footer-mark { font-family: var(--display); color: var(--wine); text-decoration: none; white-space: nowrap; letter-spacing: -.025em; width: fit-content; line-height: 1; }
.wordmark { font-size: clamp(29px, 3vw, 44px); }
.wordmark span, .footer-mark span { display: inline-block; margin-left: 6px; vertical-align: top; font: 14px/1.1 var(--body); color: var(--berry); }
.masthead nav { display: flex; align-items: center; gap: clamp(19px, 3.4vw, 52px); }
.masthead nav a, .header-issue { font-size: 13px; font-weight: 700; text-decoration: none; }
.masthead nav a { padding-block: 12px; }
.masthead nav a:hover, .text-link:hover, .footer-bottom a:hover { text-decoration: underline; text-underline-offset: 5px; }
.header-issue { justify-self: end; display: inline-flex; align-items: center; gap: 16px; padding: 8px 13px; color: var(--wine); border: 1px solid var(--wine); }
.header-issue:hover { color: var(--paper); background: var(--wine); }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 100px); align-items: center; padding-block: clamp(38px, 4.2vw, 68px) clamp(34px, 4.1vw, 64px); }
.eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .17em; line-height: 1.35; }
.eyebrow-accent, .hero-label { color: var(--wine); }
.eyebrow-accent span, .hero-label > span:first-child { margin-right: 5px; }
.hero-label { display: flex; align-items: center; gap: 8px; margin-bottom: clamp(18px, 2vw, 32px); }
.hero-label-divider { display: inline-block; width: 18px; height: 1px; background: var(--berry); }
.hero h1 { font-size: clamp(58px, 8.4vw, 123px); line-height: .82; letter-spacing: -.037em; }
.hero h1 em { color: var(--berry); font-weight: 400; }
.hero-description { max-width: 35ch; color: var(--muted); margin-top: clamp(19px, 2.2vw, 32px); font-size: clamp(15px, 1.28vw, 18px); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px clamp(14px, 2.2vw, 32px); margin-top: 28px; }
.button { min-height: 48px; display: inline-flex; gap: 18px; align-items: center; justify-content: center; padding: 11px 17px; border: 1px solid var(--wine); color: var(--wine); font-size: 14px; font-weight: 750; text-decoration: none; }
.button.primary { background: var(--wine); color: var(--paper); }
.button.primary:hover { background: #551022; border-color: #551022; }
.text-link { display: inline-flex; gap: 9px; align-items: center; min-height: 44px; color: var(--wine); font-size: 14px; font-weight: 750; text-decoration: none; }
.hero-cover { width: min(100%, 464px); justify-self: end; }
.hero-cover picture { display: block; padding: 7px; border: 1px solid #b38c91; box-shadow: 4px 7px 0 #ecd7d7; background: #fff9f1; }
.hero-cover img { width: 100%; }
.hero-cover figcaption { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); padding-top: 13px; font-size: 10px; font-weight: 750; letter-spacing: .15em; }
.hero-cover figcaption span span { color: var(--wine); margin-left: 3px; }

.section-band { background: var(--wine); color: var(--paper); }
.band-inner { min-height: 58px; display: flex; align-items: center; gap: clamp(18px, 4.7vw, 74px); }
.band-title { font-size: 11px; font-weight: 800; letter-spacing: .13em; color: var(--rose); white-space: nowrap; text-decoration: none; }
.band-title span { margin-left: 5px; }
.category-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 clamp(15px, 3.6vw, 56px); }
.category-links a { display: inline-flex; align-items: center; gap: 8px; padding-block: 12px; font-family: var(--display); font-size: clamp(19px, 2.1vw, 27px); line-height: 1; text-decoration: none; }
.category-links a:hover, .band-title:hover { text-decoration: underline; text-underline-offset: 4px; }

.discover { padding-block: clamp(47px, 6vw, 88px); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 15px; margin-bottom: 21px; }
.section-heading h2, .archive h2 { font-size: clamp(52px, 6.6vw, 91px); line-height: .94; letter-spacing: -.025em; margin-top: 8px; }
.results { color: var(--muted); font-size: 13px; white-space: nowrap; padding-bottom: 4px; }
.filters { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: clamp(24px, 3vw, 38px); }
.filter { border-radius: 99px; background: transparent; border: 1px solid #b58f94; cursor: pointer; min-height: 42px; padding: 6px 16px; color: var(--wine); font-size: 13px; font-weight: 700; }
.filter:hover { background: var(--soft); }
.filter[aria-pressed="true"] { color: var(--paper); border-color: var(--wine); background: var(--wine); }

.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(18px, 2.6vw, 37px); row-gap: clamp(30px, 3.8vw, 54px); }
.story-card { position: relative; min-width: 0; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.story-photo { position: relative; overflow: hidden; background: var(--soft); aspect-ratio: 1.46; margin-bottom: 15px; }
.story-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .28s ease; }
.story-card:hover img, .story-card:focus-within img { transform: scale(1.035); }
.story-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--muted); font-size: 12px; }
.story-category { color: var(--wine); text-transform: uppercase; font-size: 10px; font-weight: 850; letter-spacing: .15em; }
.story-card h3 { padding-right: 29px; margin-top: 6px; font-size: clamp(28px, 3.15vw, 47px); line-height: .99; letter-spacing: -.01em; }
.story-card h3 a { text-decoration: none; }
.story-card h3 a::after { content: ""; position: absolute; inset: 0; }
.story-card h3 a:hover { color: var(--berry); }
.story-card:focus-within { outline: 2px solid var(--wine); outline-offset: 5px; }
.story-card h3 a:focus-visible { outline: 0; }
.story-card .card-arrow { position: absolute; right: 0; font: 20px/1.1 var(--body); color: var(--wine); }
.story-description { color: var(--muted); margin-top: 9px; font-size: 14px; max-width: 45ch; }

.archive { background: var(--soft); border-block: 1px solid var(--line); padding-block: clamp(40px, 5vw, 70px); }
.archive-inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: 25px clamp(30px, 7vw, 110px); }
.archive-copy > p:last-child { margin-top: 10px; color: var(--muted); }
.archive-issue { display: grid; grid-template-columns: minmax(98px, 30%) 1fr; gap: clamp(13px, 2vw, 26px); align-items: center; padding: clamp(10px, 1.55vw, 22px); background: var(--paper); border: 1px solid var(--line); text-decoration: none; }
.archive-issue:hover { border-color: var(--wine); }
.archive-issue h3 { margin-top: 2px; color: var(--wine); font-size: clamp(35px, 4.1vw, 60px); line-height: .96; }
.archive-issue p:not(.eyebrow) { color: var(--muted); margin-top: 5px; font-size: 14px; }
.archive-action { display: inline-block; color: var(--wine); font-size: 13px; font-weight: 750; margin-top: 10px; }
.archive-action span { margin-left: 5px; }

.reader { padding-block: clamp(32px, 5vw, 72px); }
.reader-back { margin-bottom: clamp(22px, 3vw, 40px); }
.reader article { margin-inline: auto; max-width: 930px; }
.reader article h1 { font-size: clamp(58px, 8.5vw, 118px); line-height: .87; letter-spacing: -.027em; margin: 12px 0 17px; max-width: 15ch; }
.reader .reader-dek { color: var(--muted); font-size: clamp(17px, 2.2vw, 23px); max-width: 57ch; margin-bottom: 24px; }
.reader-image { width: 100%; max-height: 520px; aspect-ratio: 1.65; object-fit: cover; background: var(--soft); }
.reader-prose { margin: clamp(24px, 5vw, 60px) auto 0; max-width: 62ch; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.75; }
.reader-prose h2 { font-size: clamp(34px, 5vw, 53px); line-height: 1; margin: 28px 0 12px; }
.reader-prose p + p { margin-top: 16px; }
.reader-next { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); }
.reader-next strong { color: var(--wine); font-size: 13px; }

.footer { background: var(--wine); color: var(--paper); padding-block: clamp(30px, 4.1vw, 55px) 16px; }
.footer-main { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 20px 45px; }
.footer-main .eyebrow { color: var(--rose); margin-bottom: 8px; }
.footer-mark { display: block; color: var(--paper); font-size: clamp(43px, 5.4vw, 73px); }
.footer-mark span { color: var(--rose); }
.footer-main > p { max-width: 39ch; font-size: 16px; color: var(--rose); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; column-gap: 18px; margin-top: 24px; padding-top: 9px; border-top: 1px solid #ad6478; color: var(--rose); font-size: 12px; }
.footer-bottom a { padding-block: 8px; color: var(--paper); text-decoration: none; }

@media (max-width: 950px) {
  .hero { gap: 30px; }
  .hero h1 { font-size: clamp(57px, 9.5vw, 89px); }
}
@media (max-width: 730px) {
  .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .masthead { min-height: 66px; grid-template-columns: 1fr auto; gap: 10px; }
  .masthead nav { gap: clamp(12px, 4vw, 25px); }
  .header-issue { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 33px; gap: 26px; }
  .hero h1 { font-size: clamp(62px, 14vw, 88px); }
  .hero-line { display: none; }
  .hero-description { margin-top: 18px; }
  .hero-actions { margin-top: 17px; }
  .hero-cover { justify-self: center; }
  .hero-cover picture { padding: 5px; box-shadow: 3px 5px 0 #ecd7d7; }
  .band-inner { display: block; padding-block: 12px 4px; }
  .band-title { display: inline-block; }
  .category-links { gap: 0 clamp(13px, 4vw, 23px); }
  .category-links a { min-height: 44px; }
  .archive-inner, .footer-main { grid-template-columns: 1fr; }
}
@media (max-width: 470px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-card h3 { font-size: 37px; }
  .filter { padding-inline: 13px; }
  .footer-bottom { margin-top: 20px; }
}
@media (max-width: 355px) {
  :root { --gutter: 15px; }
  .wordmark { font-size: 26px; }
  .wordmark span { font-size: 10px; margin-left: 3px; }
  .masthead nav { gap: 9px; }
  .masthead nav a { font-size: 12px; }
  .hero h1 { font-size: 55px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
