:root {
  --ink: #f4f0e9;
  --muted: #b5ada8;
  --black: #09090b;
  --panel: #121116;
  --panel-soft: #1b171c;
  --line: #302b30;
  --wine: #7b102b;
  --wine-bright: #a7193d;
  --gold: #c7a76b;
  --paper: #f1eee8;
  --paper-ink: #171518;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
}
img { max-width: 100%; }
a { color: inherit; }
button, a { touch-action: manipulation; }
.skip {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 100;
  background: var(--ink);
  color: var(--black);
  padding: .7rem 1rem;
}
.skip:focus { top: 1rem; }

.site-header {
  min-height: 5rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: .8rem clamp(1.25rem, 3vw, 4rem);
  position: absolute;
  z-index: 10;
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg,rgba(5,5,7,.92),rgba(5,5,7,.35) 75%,transparent);
}
.site-header.inner-header { position: relative; background: #0b0a0d; }
.wordmark {
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .24em;
  white-space: nowrap;
}
.wordmark span { color: var(--gold); }
.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(.65rem,1.4vw,1.5rem);
}
.main-nav a,.header-link {
  font-size: .78rem;
  text-decoration: none;
  color: #ded9d3;
  white-space: nowrap;
}
.main-nav a:hover,.main-nav a[aria-current="page"] { color: #fff; }
.main-nav .english-books-link { color: var(--gold); font-weight: 600; }
.main-nav .english-books-link:hover { color: #f4d695; }
.header-link { display: inline-flex; align-items: center; gap: .4rem; }
.newsletter-nav {
  padding: .62rem .9rem;
  background: rgba(167,25,61,.94);
  color: #fff;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,.18);
  transition: .2s ease;
}
.newsletter-nav:hover { background: #c01d49; transform: translateY(-1px); }
.menu-toggle {
  display: none;
  border: 1px solid rgba(255,255,255,.3);
  background: transparent;
  color: #fff;
  font: 600 .82rem var(--sans);
  padding: .55rem .7rem;
}

.brand-banner {
  height: clamp(16rem,33.333vw,45.25rem);
  position: relative;
  overflow: hidden;
  background: #050506;
}
.brand-banner img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.brand-banner:after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 35%,rgba(0,0,0,.05),rgba(0,0,0,.5) 82%);
  pointer-events: none;
}
.brand-banner-copy {
  position: absolute;
  z-index: 1;
  inset: 10% 1.5rem auto;
  text-align: center;
  color: #f7efe5;
  text-shadow: 0 2px 18px rgba(0,0,0,.88);
}
.brand-banner-copy h1 {
  margin: 0;
  font: 600 clamp(2.7rem,7vw,9.5rem)/.95 var(--serif);
  letter-spacing: .14em;
}
.brand-banner-genres {
  margin: clamp(.75rem,1.5vw,1.5rem) 0 0;
  color: #d9ad70;
  font: 500 clamp(1.05rem,2.1vw,2.7rem)/1.2 var(--serif);
  letter-spacing: .035em;
}
.brand-banner-tagline {
  margin: clamp(.45rem,1vw,1rem) 0 0;
  font: 500 clamp(.7rem,1.25vw,1.35rem)/1.3 var(--sans);
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero {
  min-height: 43rem;
  height: 88vh;
  max-height: 59rem;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,rgba(5,5,7,.98) 0%,rgba(5,5,7,.9) 38%,rgba(5,5,7,.35) 72%,rgba(5,5,7,.12) 100%),linear-gradient(0deg,rgba(5,5,7,.62),transparent 45%);
}
.hero-copy {
  position: relative;
  z-index: 2;
  width: min(53rem,88vw);
  margin-left: clamp(1.25rem,8vw,9rem);
  padding: 4rem 0;
}
.eyebrow {
  font-size: .76rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 1.2rem;
}
h1,h2,h3 { text-wrap: balance; }
.hero h1,.page-hero h1,.section h2 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.035em;
  margin: 0;
}
.hero h1 { font-size: clamp(3.4rem,6.8vw,7rem); }
.hero h1 em,.section h2 em { font-weight: 500; color: #d8c0b2; }
.hero-subtitle { margin: 1.1rem 0 0; color: #e5d9d2; font-size: clamp(1rem,1.6vw,1.25rem); letter-spacing: .03em; }
.lead { max-width: 44rem; color: #c9c1bd; font-size: clamp(1.05rem,1.55vw,1.25rem); line-height: 1.75; margin: 1.7rem 0; }
.hero-actions,.button-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  text-decoration: none;
  padding: .9rem 1.25rem;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .02em;
  border: 1px solid transparent;
  transition: .2s ease;
}
.button.primary,.smashwords-button { background: var(--wine-bright); color: #fff; }
.button.primary:hover,.smashwords-button:hover { background: #c01d49; transform: translateY(-2px); }
.button.secondary { border-color: rgba(255,255,255,.45); }
.button.secondary:hover { background: #fff; color: var(--black); }
.button.dark { background: #171518; color: #fff; }
.button.dark:hover { background: var(--wine); }
.text-link { font-size: .9rem; text-decoration: none; border-bottom: 1px solid #777; padding-bottom: .25rem; }
.adult-note {
  position: absolute;
  z-index: 2;
  bottom: 2rem;
  right: clamp(1.25rem,4vw,4.5rem);
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #aca5a2;
}

.section { padding: clamp(4.5rem,9vw,8rem) clamp(1.25rem,8vw,9rem); }
.section h2 { font-size: clamp(2.5rem,4.8vw,5rem); max-width: 55rem; }
.section-intro { max-width: 52rem; color: var(--muted); font-size: 1.08rem; margin: 1.75rem 0 0; }
.prose { max-width: 54rem; }
.prose p { color: var(--muted); font-size: 1.05rem; }
.prose h2 { margin-top: 4rem; }
.paper { background: var(--paper); color: var(--paper-ink); }
.paper .eyebrow { color: #7a1830; }
.paper .section-intro,.paper .prose p { color: #5c5551; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 3.5rem; }
.intro-section { display: grid; grid-template-columns: minmax(0,1fr) minmax(19rem,.72fr); gap: clamp(3rem,8vw,8rem); align-items: start; }
.intro-section .prose h2:first-child { margin-top: 0; }
.topic-panel { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.topic-panel p { color: var(--muted); }

.genre-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.25rem; margin-top: 3.5rem; }
.genre-card {
  min-height: 20rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.5rem,3vw,2.5rem);
  background: linear-gradient(145deg,#21171c,#0e0c10 70%);
  border: 1px solid var(--line);
}
.genre-card:nth-child(2) { background: linear-gradient(145deg,#36101c,#0d0b0e 72%); }
.genre-card:nth-child(3) { background: linear-gradient(145deg,#172431,#0b0c10 72%); }
.genre-card h3 { font: 600 clamp(2rem,3vw,3.2rem)/1.05 var(--serif); margin: 0; }
.genre-card p { color: #bdb4b0; }
.genre-card a { align-self: flex-start; }

.book-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(1.25rem,2.5vw,2.5rem); }
.book-card { min-width: 0; }
.cover {
  aspect-ratio: 2/3;
  display: block;
  background: #050506;
  text-decoration: none;
  box-shadow: 0 1.2rem 2rem rgba(40,20,22,.18);
  overflow: hidden;
  transition: transform .25s ease,box-shadow .25s ease;
}
.cover:hover { transform: translateY(-5px); box-shadow: 0 1.6rem 2.8rem rgba(40,20,22,.28); }
.cover:focus-visible { outline: 3px solid var(--wine); outline-offset: 4px; }
.cover img { display: block; width: 100%; height: 100%; object-fit: contain; }
.book-meta { display: flex; justify-content: space-between; gap: 1rem; color: #7b716d; font-size: .72rem; text-transform: uppercase; letter-spacing: .09em; margin: 1.35rem 0 .55rem; }
.book-card > h3 { font: 600 1.35rem var(--serif); margin: 0; }
.book-card > p { font-size: .93rem; line-height: 1.65; color: #5a5350; }
.book-link { display: inline-block; text-decoration: none; font-size: .86rem; font-weight: 600; color: #72152c; border-bottom: 1px solid #c7aeb4; padding-bottom: .2rem; }
.book-grid.dark .book-meta { color: #9d9490; }
.book-grid.dark .book-card > p { color: var(--muted); }
.book-grid.dark .book-link { color: #e2c783; border-color: #6a5940; }

.newsletter {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
  background: linear-gradient(115deg,#6d0d25 0%,#971a3a 58%,#53101f 100%);
  position: relative;
  overflow: hidden;
}
.newsletter:after {
  content: "M·S·E";
  position: absolute;
  right: -.05em;
  top: 50%;
  transform: translateY(-54%);
  font: 600 clamp(8rem,23vw,21rem)/1 var(--serif);
  letter-spacing: -.08em;
  color: rgba(255,255,255,.045);
  pointer-events: none;
}
.newsletter-copy,.newsletter-button { position: relative; z-index: 1; }
.newsletter .eyebrow { color: #ecd29d; }
.newsletter h2 { font-size: clamp(2.8rem,5vw,5.4rem); }
.newsletter h2 em { font-weight: 500; color: #e6cbd2; }
.newsletter-copy > p:last-child { max-width: 42rem; margin: 1.8rem 0 0; color: #ead8dd; font-size: 1.05rem; }
.newsletter-button { flex: 0 0 auto; background: var(--ink); color: #541020; padding: 1rem 1.35rem; }
.newsletter-button:hover { background: #fff; transform: translateY(-2px); }

.smashwords-cta,.wide-cta {
  margin-top: clamp(3.5rem,7vw,6rem);
  padding: clamp(1.75rem,4vw,3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: #171518;
  color: var(--ink);
  border-left: .35rem solid var(--wine-bright);
}
.smashwords-cta .eyebrow,.wide-cta .eyebrow { margin-bottom: .6rem; color: var(--gold); }
.smashwords-cta h3,.wide-cta h2 { margin: 0; font: 600 clamp(1.8rem,3vw,3rem)/1.12 var(--serif); }
.smashwords-cta p:last-child,.wide-cta p { margin: .8rem 0 0; color: #bfb7b3; }

.about { background: var(--wine); display: grid; grid-template-columns: minmax(18rem,.75fr) minmax(20rem,1fr); gap: clamp(3rem,9vw,8rem); align-items: center; position: relative; overflow: hidden; }
.author-portrait { margin: 0; aspect-ratio: 3/4; max-height: 42rem; overflow: hidden; background: #f4f0e9; box-shadow: 0 2rem 4rem rgba(45,4,18,.28); }
.author-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; }
.about .eyebrow { color: #e0c797; }
.about h2 { font-size: clamp(3.5rem,7vw,7rem); }
.about-lead { font: 500 clamp(1.3rem,2.2vw,1.8rem)/1.45 var(--serif); max-width: 40rem; }
.about-copy > p:not(.eyebrow):not(.about-lead) { color: #e1ced3; max-width: 39rem; }

.page-hero { padding: clamp(5rem,10vw,9rem) clamp(1.25rem,8vw,9rem); background: radial-gradient(circle at 82% 20%,rgba(123,16,43,.38),transparent 28%),linear-gradient(145deg,#151016,#08080a 72%); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(3.2rem,7vw,6.8rem); max-width: 65rem; }
.page-hero .page-subtitle { color: var(--gold); font-size: clamp(1rem,2vw,1.35rem); letter-spacing: .08em; margin: 1.4rem 0; }
.page-hero .lead { margin-bottom: 0; }
.content-grid { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(18rem,.65fr); gap: clamp(3rem,8vw,8rem); align-items: start; }
.link-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.link-list li { border-bottom: 1px solid var(--line); }
.link-list a { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; text-decoration: none; }
.link-list a:hover { color: var(--gold); }
.feature-list { margin: 1.5rem 0 0; padding-left: 1.2rem; color: var(--muted); }
.feature-list li { margin: .55rem 0; }
.newsletter-box { max-width: 54rem; padding: clamp(2rem,5vw,4rem); background: linear-gradient(135deg,#7b102b,#4a0b1b); border: 1px solid rgba(255,255,255,.14); }
.newsletter-box h2 { margin: 0 0 1rem; font: 600 clamp(2rem,4vw,3.8rem)/1.05 var(--serif); }
.newsletter-box p { color: #ead8dd; }

footer { padding: 2.5rem clamp(1.25rem,4vw,4.5rem); display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 2rem 4rem; border-top: 1px solid var(--line); font-size: .82rem; color: #a49c98; }
.footer-copy p { margin: .4rem 0 0; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .75rem 1.35rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: #fff; }
.imprint { grid-column: 1/-1; border-top: 1px solid var(--line); padding-top: 1.4rem; }
.imprint h2 { margin: 0 0 .65rem; color: #ded9d3; font: 600 1rem/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.imprint address { font-style: normal; line-height: 1.65; }
.legal { grid-column: 1/-1; border-top: 1px solid var(--line); padding-top: 1.2rem; margin: 0; }

@media (max-width: 1120px) {
  .site-header { grid-template-columns: auto auto 1fr; }
  .menu-toggle { display: inline-flex; justify-self: start; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 1rem clamp(1.25rem,4vw,4rem) 1.4rem; background: #0b0a0d; border-bottom: 1px solid var(--line); flex-wrap: wrap; justify-content: flex-start; }
  .main-nav.open { display: flex; }
  .newsletter-nav { justify-self: end; }
}

@media (max-width: 900px) {
  .book-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 3rem 1.5rem; }
  .genre-grid { grid-template-columns: 1fr; }
  .genre-card { min-height: 15rem; }
  .intro-section,.content-grid,.about { grid-template-columns: 1fr; }
  .author-portrait { width: min(30rem,100%); margin: auto; }
  .newsletter { align-items: flex-start; flex-direction: column; }
  .newsletter:after { top: auto; bottom: -.18em; transform: none; }
  .newsletter-button { align-self: flex-start; }
  footer { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .imprint { grid-column: auto; }
  .legal { grid-column: auto; }
}

@media (max-width: 640px) {
  .site-header { min-height: 4.5rem; grid-template-columns: auto 1fr auto; gap: .65rem; }
  .wordmark { font-size: .78rem; letter-spacing: .18em; }
  .newsletter-nav { font-size: .72rem; padding: .5rem .6rem; }
  .menu-toggle { font-size: 0; width: 2.5rem; height: 2.3rem; position: relative; }
  .menu-toggle:after { content: "Menü"; font-size: .72rem; position: absolute; inset: 0; display: grid; place-items: center; }
  .brand-banner { height: clamp(14rem,58vw,19rem); }
  .brand-banner-copy { inset: 14% .75rem auto; }
  .brand-banner-copy h1 { font-size: clamp(2.1rem,11vw,3.8rem); letter-spacing: .09em; }
  .brand-banner-genres { font-size: clamp(.9rem,4vw,1.15rem); }
  .brand-banner-tagline { font-size: clamp(.58rem,2.8vw,.76rem); letter-spacing: .11em; }
  .hero { min-height: 47rem; height: auto; }
  .hero-shade { background: linear-gradient(90deg,rgba(5,5,7,.97),rgba(5,5,7,.78)),linear-gradient(0deg,rgba(5,5,7,.65),transparent); }
  .hero-copy { margin-left: 1.25rem; padding-right: 1rem; }
  .hero h1 { font-size: clamp(2.8rem,13vw,4.5rem); }
  .adult-note { left: 1.25rem; right: auto; }
  .section-head { display: block; }
  .book-grid { grid-template-columns: 1fr; }
  .book-card { max-width: 25rem; margin: auto; }
  .smashwords-cta,.wide-cta { align-items: flex-start; flex-direction: column; }
  .button-row .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button,.cover { transition: none; }
}
