/* avnionursevinc.com — Eşik
   Layout: white ground, an arched doorway as the recurring motif; sea-green frame, gold reserved for reading marks inside posts. */
:root {
  --bg: #FFFFFF;
  --ink: #1C1C1C;
  --ink-soft: #3F4A46;
  --muted: #55655F;
  --green: #2F5D50;
  --green-deep: #1F4A40;
  --mist: #EEF6F2;
  --mist-2: #EAF4F0;
  --line: #DCEAE4;
  --line-2: #CFE3DA;
  --gold: #B8912F;
  --gold-ink: #80621A;
  --gold-mist: #FBF7EC;
  --display: "Cormorant Garamond", "EB Garamond", Georgia, "Times New Roman", serif;
  --body: "Jost", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --wrap: 1280px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--green); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; text-wrap: balance; }
p { margin: 0; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(32px, env(safe-area-inset-left, 0px));
  padding-right: max(32px, env(safe-area-inset-right, 0px));
}
@media (max-width: 640px) {
  .wrap {
    padding-left: max(18px, env(safe-area-inset-left, 0px));
    padding-right: max(18px, env(safe-area-inset-right, 0px));
  }
}
.skip { position: absolute; left: -999px; top: 8px; background: var(--green); color: #fff; padding: 8px 14px; z-index: 20; }
.skip:focus { left: 16px; color: #fff; }

/* Header */
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; padding-block: 26px; }
.site-header.bordered { border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 14px; }
.brand svg { flex: 0 0 auto; color: var(--green); }
.brand span { font-family: var(--display); font-weight: 500; font-size: 25px; letter-spacing: 0.02em; color: var(--ink); }
.nav { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; font-weight: 400; letter-spacing: 0.04em; }
.nav a { padding-block: 6px; }
.nav a[aria-current="page"], .nav .ext { color: var(--green); }
.nav a[aria-current="page"] { border-bottom: 1px solid var(--green); }

/* Buttons and small labels */
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 28px; border-radius: 999px; font-size: 15px; font-weight: 400; letter-spacing: 0.04em; border: 1px solid #B9D3C9; }
.btn.solid { background: var(--green); border-color: var(--green); color: #fff; }
.btn.solid:hover { background: var(--green-deep); color: #fff; }
.eyebrow { font-size: 13px; font-weight: 400; letter-spacing: 0.08em; color: var(--green); }
.label { font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; }
.more { font-size: 15px; font-weight: 400; color: var(--green); }

/* Home: threshold */
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 56px 72px; padding-block: 48px 112px; }
.hero-text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero h1 { font-size: clamp(48px, 7vw, 84px); line-height: 1.0; letter-spacing: -0.015em; }
.hero-text > p { max-width: 520px; font-size: 19px; line-height: 1.7; color: var(--ink-soft); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 6px; }
.door { flex: 0 1 460px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.door-frame { position: relative; width: 100%; max-width: 440px; aspect-ratio: 11 / 15; border-radius: 220px 220px 0 0; overflow: hidden; background: var(--mist-2); border: 1px solid var(--line-2); }
.door-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.door-frame::after { content: ""; position: absolute; inset: 18px 18px 0; border-radius: 204px 204px 0 0; border: 1px solid rgba(255, 255, 255, 0.7); border-bottom: none; }
.sill { width: 112%; max-width: min(500px, 100vw - 36px); height: 2px; background: var(--green); }
.door figcaption { padding-top: 18px; font-family: var(--display); font-size: 26px; font-weight: 500; letter-spacing: 0.08em; color: var(--green); }

.band { background: var(--mist); border-block: 1px solid var(--line); }
.band > .wrap, .section > .wrap { padding-block: 100px; display: flex; flex-direction: column; gap: 44px; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 16px; }
.section-head h2, .page-head h1 { font-size: clamp(40px, 5vw, 52px); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; gap: 18px; padding: 34px 30px; background: var(--bg); border: 1px solid #D5E6DF; border-radius: 6px; min-height: 260px; }
.card .label { color: var(--green); }
.card .t { font-family: var(--display); font-size: 29px; line-height: 1.2; color: var(--ink); flex: 1; }
.card:hover .t { color: var(--green); }
.card .meta { font-size: 14px; color: var(--muted); }
.series-links { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 15px; font-weight: 400; color: var(--ink-soft); }
.series-links span { color: var(--muted); }

.split .wrap { padding-block: 110px; display: flex; flex-wrap: wrap; gap: 64px 72px; }
.split .col { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 36px; }
.split .col.narrow { flex: 1 1 380px; }
.books { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 32px; }
.book { display: flex; flex-direction: column; gap: 12px; }
.cover { aspect-ratio: 2 / 3; width: 100%; max-width: 100%; background: var(--mist-2); border: 1px solid var(--line-2); border-radius: 3px; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; padding: 10px; }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover:has(img) { padding: 0; }
.cover .ph { font-family: var(--display); font-size: 20px; line-height: 1.2; color: var(--green); }
.book .t { font-family: var(--display); font-size: 24px; line-height: 1.2; }
.book .m { font-size: 15px; color: var(--muted); }
.tlist { list-style: none; margin: 0; padding: 0; }
.tlist li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 9px 0; border-top: 1px solid var(--line); }
.tlist li:last-child { border-bottom: 1px solid var(--line); }
.tlist .t { font-family: var(--display); font-size: 21px; line-height: 1.25; }
.tlist .a { font-size: 15px; color: var(--muted); }
.tlist .y { flex: 0 0 auto; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }

.verse { border-top: 1px solid var(--line); }
.verse .wrap { max-width: 860px; padding-block: 104px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 26px; }
.verse svg { color: var(--green); }
.verse p { font-family: var(--display); font-style: normal; font-size: clamp(25px, 3.4vw, 34px); line-height: 1.45; }
.verse .ref { font-size: 13px; font-weight: 400; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }

.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { padding-block: 34px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 20px; font-size: 14px; color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 26px; font-weight: 400; color: var(--ink); }

/* Inner pages */
.page-head .wrap { padding-block: 72px 40px; display: flex; flex-direction: column; gap: 16px; }
.page-head p { max-width: 640px; font-size: 18px; color: var(--ink-soft); }

/* Archive */
.series-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px; }
.series-box { background: var(--bg); border: 1px solid #D5E6DF; border-radius: 6px; padding: 28px 28px 22px; display: flex; flex-direction: column; gap: 14px; }
.series-box h3 { font-size: 26px; line-height: 1.2; }
.series-box ol { list-style: none; margin: 0; padding: 0; }
.series-box li a { display: flex; gap: 14px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 15px; }
.series-box li a span:first-child { width: 30px; flex: 0 0 auto; font-family: var(--display); font-size: 20px; line-height: 1.15; color: var(--gold); }
.series-box li a span:last-child { color: var(--muted); }
.year { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 8px 32px; }
.year h2 { font-size: 44px; line-height: 1; color: var(--green); padding-top: 18px; }
@media (max-width: 720px) { .year { grid-template-columns: minmax(0, 1fr); } .year h2 { padding-top: 0; } }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { border-top: 1px solid var(--line); }
.rows li:last-child { border-bottom: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 20px; align-items: center; padding: 16px 0; }
.thumb { width: 76px; height: 92px; border-radius: 38px 38px 0 0; overflow: hidden; background: var(--mist-2); border: 1px solid var(--line-2); display: flex; align-items: flex-end; justify-content: center; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb svg { color: var(--green); opacity: 0.55; margin-bottom: 16px; }
.row .t { font-family: var(--display); font-size: 24px; line-height: 1.25; }
.row:hover .t { color: var(--green); }
.row .m { font-size: 14px; color: var(--muted); padding-top: 4px; }
.row .m b { font-weight: 400; color: var(--gold-ink); }

/* Post */
.crumbs { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 8px; padding-top: 20px; }
.crumbs [aria-current] { color: var(--ink); }
.post-head { max-width: 800px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; padding-block: 64px 56px; }
.post-head .label { color: var(--gold-ink); letter-spacing: 0.16em; }
.post-head h1 { font-size: clamp(36px, 5.2vw, 58px); line-height: 1.1; }
.numeral { display: flex; align-items: center; gap: 18px; }
.numeral i { display: block; width: 56px; height: 1px; background: var(--gold); }
.numeral span { font-family: var(--display); font-size: 44px; line-height: 1; color: var(--gold); }
.post-head .meta { font-size: 15px; color: var(--muted); }
.post-cover { margin: 0 auto 64px; max-width: 520px; display: flex; flex-direction: column; align-items: center; }
.post-cover .frame { width: 100%; aspect-ratio: 4 / 5; max-width: 100%; border-radius: 260px 260px 0 0; overflow: hidden; background: var(--mist-2); }
.post-cover .frame.wide { aspect-ratio: 16 / 10; border-radius: 4px; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-cover .sill { width: 108%; max-width: 100%; }
.post-body { display: flex; flex-wrap: wrap; gap: 48px 56px; justify-content: center; padding-bottom: 40px; }
.prose { flex: 1 1 600px; max-width: 680px; min-width: 0; display: flex; flex-direction: column; gap: 26px; font-family: var(--display); font-size: 23px; line-height: 1.7; color: #1F2422; overflow-wrap: anywhere; }
.prose a { color: var(--green); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.dropcap { float: left; font-size: 98px; line-height: 0.8; padding: 10px 12px 0 0; color: var(--gold); }
.listen { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 10px 22px; background: var(--mist); border: 1px solid #D5E6DF; border-radius: 999px; font-family: var(--body); font-size: 15px; line-height: 1.4; text-decoration: none !important; color: var(--ink) !important; }
.listen svg { flex: 0 0 auto; color: var(--green); }
.listen b { font-weight: 500; color: var(--green); }
.listen span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.sign { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding-top: 10px; font-style: italic; }
.sign span:last-child { color: var(--gold); font-size: 27px; }
.aside { flex: 0 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 30px; font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
.aside section { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line); padding-top: 16px; }
.aside section.gold { border-top: 2px solid var(--gold); }
.aside .label { color: var(--gold-ink); }
.aside ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.aside li a, .aside li span.cur { display: flex; gap: 12px; }
.aside li span.cur { color: var(--ink); font-weight: 400; }
.aside li b { width: 26px; flex: 0 0 auto; font-family: var(--display); font-weight: 400; font-size: 20px; line-height: 1.2; color: var(--gold); }
.share { display: flex; flex-wrap: wrap; gap: 10px 18px; font-weight: 400; }
.share button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.share button:hover { color: var(--green); }
.pager .wrap { padding-block: 40px 96px; }
.pager-in { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.pager a, .pager .none { display: flex; flex-direction: column; gap: 8px; padding: 26px 28px; border: 1px solid var(--line); border-radius: 6px; }
.pager a.next { background: var(--mist); border-color: #D5E6DF; text-align: right; }
.pager .label { color: var(--muted); }
.pager a.next .label { color: var(--green); }
.pager .t { font-family: var(--display); font-size: 23px; line-height: 1.25; }
.pager .none .t { font-style: italic; color: var(--muted); }

/* Translations page */
.shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(190px, 100%), 1fr)); gap: 40px 28px; }
.shelf .book .t { font-size: 21px; }
.shelf .book .a { font-size: 14px; color: var(--ink-soft); }

/* About / podcast */
.text-col { max-width: 720px; display: flex; flex-direction: column; gap: 22px; font-size: 19px; line-height: 1.75; color: var(--ink-soft); }
.text-col h2 { font-size: 34px; color: var(--ink); padding-top: 12px; }
.note { background: var(--gold-mist); border-left: 3px solid var(--gold); padding: 18px 22px; font-size: 16px; color: var(--gold-ink); }
.ep-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 24px; }
.ep { border: 1px solid #D5E6DF; border-radius: 6px; padding: 28px; display: flex; flex-direction: column; gap: 14px; background: var(--bg); }
.ep h3 { font-size: 27px; line-height: 1.2; }
.ep ol { margin: 0; padding-left: 1.6em; font-size: 15px; color: var(--ink-soft); display: flex; flex-direction: column; gap: 6px; }
.ep ol li::marker { color: var(--gold); font-family: var(--display); }

@media (prefers-reduced-motion: no-preference) {
  a, .btn { transition: color .15s ease, background-color .15s ease; }
}

/* Buy links, video players, bio lead */
.cover-link { display: block; border-radius: 3px; }
.cover-link:hover .cover { border-color: var(--green); }
.buy { align-self: flex-start; font-size: 14px; font-weight: 400; color: var(--green); border-bottom: 1px solid #B9D3C9; padding-bottom: 1px; }
.buy:hover { border-bottom-color: var(--green); }
.note-i { font-style: italic; }
.tlist a.t:hover { color: var(--green); }
.video { position: relative; width: 100%; max-width: 100%; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; background: var(--mist-2); border: 1px solid var(--line-2); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--green); text-align: center; padding: 16px; }
.video-ph span { font-size: 40px; line-height: 1; }
.video-ph small { font-size: 13px; color: var(--muted); }
.ep { padding: 18px 18px 22px; }
.ep h3 { font-size: 25px; padding: 4px 4px 0; }
.ep .buy { margin-left: 4px; }
.text-col .lead { font-family: var(--display); font-style: italic; font-size: clamp(25px, 3vw, 30px); line-height: 1.4; color: var(--ink); }
.video.lite { display: block; padding: 0; cursor: pointer; font: inherit; background: var(--mist-2); }
.video.lite img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video.lite .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.55); }
.video.lite .play svg { margin-left: 3px; }
.video.lite:hover .play { background: var(--green-deep); }

/* Navigation icons: shown only in the phone tab bar */
.nav .ni { display: none; }
.nav a { display: inline-flex; align-items: center; gap: 6px; }

/* Phone: dove first, menu as a bottom tab bar */
@media (max-width: 720px) {
  .site-header .wrap { padding-block: 16px; }
  .nav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0;
    background: var(--bg); border-top: 1px solid var(--line);
    box-shadow: 0 -6px 18px rgba(31, 74, 64, 0.06);
    padding: 4px max(4px, env(safe-area-inset-right, 0px)) calc(4px + env(safe-area-inset-bottom, 0px)) max(4px, env(safe-area-inset-left, 0px));
    font-size: 11px; letter-spacing: 0.02em;
  }
  .nav a { flex-direction: column; justify-content: center; gap: 3px; min-height: 54px; padding: 0; color: var(--muted); text-align: center; }
  .nav a[aria-current="page"] { color: var(--green); border-bottom: 0; font-weight: 500; }
  .nav .ni { display: block; }
  .nav .ext { display: none; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }

  .hero .wrap { padding-block: 4px 72px; gap: 36px; }
  .door { order: -1; width: 100%; max-width: 300px; }
  .door figcaption { font-size: 22px; padding-top: 12px; }
}

/* Phone: name centred over the door; tagline under the headline */
@media (max-width: 720px) {
  .site-header .wrap { justify-content: center; }
  .hero-text > h1 { order: 1; }
  .hero-text > .eyebrow { order: 2; margin-top: -14px; }
  .hero-text > p { order: 3; }
  .hero-text > .actions { order: 4; }
}

/* A∴S∴K∴: smaller triangle dots */
.door figcaption .tri { display: inline-block; width: 0.34em; height: 0.31em; margin: 0 0.16em; vertical-align: 0.02em; fill: currentColor; }
