/* =============================================================
   Işığım (lighthouse) — web-only additions on top of isigim.css.
   Clickable contents, prev/next, cover CTA, yolda/arriving states,
   slim top bar. Keeps the printed-sheet look intact.
   ============================================================= */

html { scroll-behavior: smooth; }
a { color: var(--sea-deep); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--gold); }

/* ---- Slim top bar (inner pages) --------------------------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--sheet-max); margin: 0 auto; padding: 22px 28px 0;
}
.topbar .home { font-family: var(--font-script); font-size: 24px; color: var(--ink); }
.topbar .home:hover { color: var(--gold); }
.topbar .back {
  font-family: var(--font-sans); font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--ink-soft);
}
.topbar .back:hover { color: var(--gold); }

/* ---- Cover CTA -------------------------------------------- */
.cover .enter {
  display: inline-block; margin: 26px auto 0;
  font-family: var(--font-sans); font-weight: 400; font-size: 12px;
  letter-spacing: .3em; text-transform: uppercase; color: var(--ink);
  padding: 12px 32px; border: 1px solid var(--line); border-radius: 2px;
  background: rgba(255,253,247,.5);
}
.cover .enter:hover { color: var(--ink); border-color: var(--sea); background: #FFFDF7; }

/* ---- Contents: clickable rows + section glosses ----------- */
.toc a.row {
  display: flex; align-items: baseline; gap: 12px; width: 100%;
  color: inherit; padding: 6.5px 2px;
}
.toc li { padding: 0; }
.toc a.row:hover .tt { color: var(--gold); }
.toc a.row:focus-visible { outline: 2px solid var(--sea); outline-offset: 3px; border-radius: 3px; }
.toc li.pending .tt { color: var(--ink-soft); font-weight: 500; }
.toc li.pending .oo { color: #B7AE9B; }
.toc .yolda {
  font-family: var(--font-sans); font-size: 8.5px; letter-spacing: .22em;
  text-transform: uppercase; color: #A9B4BC; margin-left: 8px;
}
.toc .grp-en {
  font-family: var(--font-serif-2); font-style: italic; font-size: 12px;
  color: var(--ink-soft); text-align: center; margin: -2px 0 6px;
}

/* dedication block sitting atop the contents page */
.ded-inline { text-align: center; padding: 6px 12px 30px; }
.ded-inline .lines {
  font-family: var(--font-display); font-style: italic; font-size: 22px;
  line-height: 1.75; color: var(--ink);
}
.ded-inline .book { width: 30px; height: auto; margin: 18px auto 0; display: block; }

/* ---- Prev / next navigation ------------------------------- */
.pn {
  max-width: var(--sheet-max); margin: 6px auto 46px;
  display: flex; align-items: baseline; gap: 14px; padding: 0 28px;
  font-family: var(--font-sans); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
}
.pn .pn-prev { flex: 1; text-align: left; }
.pn .pn-next { flex: 1; text-align: right; }
.pn .pn-toc { flex: 0 0 auto; text-align: center; color: var(--sea-deep); }
.pn .pn-toc:hover { color: var(--gold); }
.pn a { color: var(--ink-soft); text-decoration: none; }
.pn a:hover { color: var(--gold); }

/* ---- Arriving (forthcoming) page -------------------------- */
.arriving { text-align: center; }
.arriving .note {
  font-family: var(--font-body); font-size: 14.5px; line-height: 1.7;
  color: var(--verse-color); max-width: 30em; margin: 4px auto 0;
}
.arriving .status {
  font-family: var(--font-sans); font-size: 10px; letter-spacing: .3em;
  text-transform: uppercase; color: var(--sea); margin-top: 22px;
}

/* closing scene tucked at the foot of the contents page */
.book-end { text-align: center; padding: 20px 12px 8px; }
.book-end .scene { width: 150px; height: auto; margin: 0 auto; display: block; }
.book-end .line {
  font-family: var(--font-display); font-style: italic; font-size: 18px;
  color: var(--sea-deep); margin-top: 14px;
}
.book-end .sign { font-family: var(--font-script); font-size: 28px; color: var(--ink); margin-top: 4px; }

/* ---- Footer links ----------------------------------------- */
.foot-links {
  text-align: center; padding: 30px 12px 56px;
  font-family: var(--font-sans); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
}
.foot-links a { color: var(--ink-soft); margin: 0 10px; }
.foot-links a:hover { color: var(--gold); }

/* ---- Mobile: never scroll sideways; keep the column breathable --- */
/* Paint the parchment on the root so it always fills the viewport —
   otherwise a short page (the cover) shows the browser's white below. */
html { background: var(--cream); }
html, body { max-width: 100%; overflow-x: hidden; }
body { min-height: 100vh; min-height: 100dvh; }
img, svg { max-width: 100%; height: auto; }
.stanza, .poem-title, .section h2, .cover h1, .toc .tt { overflow-wrap: break-word; }

@media (max-width: 600px) {
  :root {
    --sheet-pad: 24px;      /* was 34 — reclaim the text column       */
    --frame-inset: 15px;    /* was 28 — frame not cramped on a phone  */
    --stanza-gap: 30px;
    --fs-verse: 16.5px;     /* larger, more readable body on mobile   */
    --lh-verse: 1.72;
  }
  .sheet { margin: 14px 10px; border-radius: 3px; }
  .sheet .corner { width: 72px; height: 72px; }
  .cover h1 { font-size: 60px; }
  .cover .sub { font-size: 19px; }
  .cover .scene { width: 250px; }
  .poem-title { font-size: 28px; }
  .section h2 { font-size: 30px; }
  .section { padding: 40px 8px; }
  .section .scene { width: 210px; }
  .gloss { letter-spacing: .16em; }
  .toc h2 { font-size: 32px; }
  .toc .oo, .toc .dots { display: none; }
  .toc a.row { padding: 9px 2px; }               /* easier tap targets */
  .dedication { padding: 60px 10px; }
  .dedication .lines, .ded-inline .lines { font-size: 20px; line-height: 1.75; }
  .topbar, .pn { padding-left: 16px; padding-right: 16px; }
  .pn { font-size: 10px; gap: 10px; }
  .book-end .scene { width: 120px; }
}

@media (max-width: 380px) {
  :root { --sheet-pad: 18px; }
  .cover h1 { font-size: 50px; }
  .cover .kicker { letter-spacing: 4px; }
  .sheet .corner { width: 58px; height: 58px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* =============================================================
   Standalone pages (v2): home extras, facing English, Collections,
   About, Coming-soon, Contact. All load tokens-isigim + isigim.
   ============================================================= */
.wrap { max-width: 640px; margin: 0 auto; padding: 0 28px; }

/* facing English translation on a poem page */
.english { margin-top: 42px; padding-top: 28px; border-top: 1px solid var(--line); }
.english .en-label { text-align: center; font-family: var(--font-sans); font-size: 10px;
  letter-spacing: .3em; text-transform: uppercase; color: var(--sea); margin-bottom: 22px; }
.english .stanza { color: var(--ink-soft); }

/* home: Latest / Featured / Letters */
.home-extra { padding: 0 0 26px; }
.home-extra .lh-divider { display: block; width: 190px; max-width: 60%; height: auto; margin: 6px auto 4px; }
.entry { text-align: center; padding: 32px 0; border-top: 1px solid var(--line); }
.entry:first-of-type { border-top: 0; }
.e-label { font-family: var(--font-sans); font-weight: 500; font-size: 10.5px; letter-spacing: .34em;
  text-transform: uppercase; color: var(--sea); margin-bottom: 12px; }
.e-name { font-family: var(--font-display); font-weight: 600; font-size: 30px; color: var(--ink); text-decoration: none; }
.e-name:hover { color: var(--gold); }
.e-sub { font-family: var(--font-serif-2); font-style: italic; font-size: 14.5px; color: var(--ink-soft); margin-top: 6px; }
.e-body { font-family: var(--font-body); font-size: 16.5px; color: var(--verse-color); line-height: 1.7; }
.e-more { display: inline-block; margin-top: 12px; font-family: var(--font-sans); font-size: 10.5px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); text-decoration: none; }
.e-more:hover { color: var(--gold); }

/* Collections jump page */
.collections-jump { text-align: center; padding: 20px 0 50px; }
.cj-title { font-family: var(--font-script); font-weight: 400; font-size: 50px; color: var(--ink); margin: 6px 0 0; }
.cj-tag { font-family: var(--font-serif-2); font-style: italic; font-size: 16.5px; color: var(--ink-soft);
  max-width: 34em; margin: 14px auto 34px; line-height: 1.6; }
.cj-cards { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; }
.cj-card { position: relative; display: flex; flex-direction: column; align-items: center; width: 260px; padding: 34px 20px 26px;
  background: radial-gradient(120% 85% at 50% 12%, #FFFDF7 0%, var(--cream) 60%);
  border-radius: 4px; box-shadow: 0 8px 26px rgba(74,68,60,.08); text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease; }
.cj-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(74,68,60,.12); }
.cj-frame { position: absolute; inset: 12px; border: 1px solid var(--line); border-radius: 3px; pointer-events: none; }
.cj-art { height: 160px; width: 100%; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.cj-art img { max-height: 160px; max-width: 82%; width: auto; height: auto; display: block; }
.cj-name { font-family: var(--font-display); font-weight: 600; font-size: 26px; color: var(--ink); }
.cj-sub { font-family: var(--font-sans); font-size: 9.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft); margin-top: 6px; }

/* About */
.about { text-align: center; padding: 24px 0 50px; max-width: 640px; }
.about-title { font-family: var(--font-script); font-weight: 400; font-size: 50px; color: var(--ink); margin: 6px 0 22px; }
.about-body p { font-family: var(--font-display); font-style: italic; font-size: 20px; line-height: 1.6; color: var(--ink); margin: 0 0 14px; }
.raven-photo { margin: 38px auto 0; width: 150px; }
.raven-photo img { width: 100%; height: auto; display: block; filter: grayscale(1) contrast(1.05);
  padding: 14px; background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(74,68,60,.12); }

/* Coming soon */
.soon-page { text-align: center; padding: 70px 0; }
.soon-mark { width: 46px; height: auto; margin: 0 auto 22px; display: block; opacity: .85; }
.soon-title { font-family: var(--font-script); font-weight: 400; font-size: 50px; color: var(--ink); margin: 2px 0 2px; line-height: 1; }
.soon-en { font-family: var(--font-serif-2); font-style: italic; font-size: 15px; color: var(--ink-soft); }
.soon-tag { font-family: var(--font-sans); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--sea); margin-top: 22px; }

/* Contact */
.contact { max-width: 520px; padding: 24px 0 60px; text-align: center; }
.contact-title { font-family: var(--font-script); font-weight: 400; font-size: 50px; color: var(--ink); margin: 6px 0 18px; }
.contact-intro { font-family: var(--font-body); font-size: 16.5px; color: var(--verse-color); line-height: 1.6; margin-bottom: 30px; }
.contact-intro .en { font-family: var(--font-serif-2); font-style: italic; color: var(--ink-soft); }
.contact-form { text-align: left; display: flex; flex-direction: column; gap: 16px; }
.contact-form label { font-family: var(--font-sans); font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-soft); display: flex; flex-direction: column; gap: 7px; }
.contact-form input, .contact-form textarea { font-family: var(--font-body); font-size: 15px; color: var(--ink);
  background: #FFFDF7; border: 1px solid var(--line); border-radius: 3px; padding: 11px 12px; width: 100%; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--sea); }
.contact-form textarea { resize: vertical; }
.contact-form button { margin-top: 6px; align-self: center; font-family: var(--font-sans); font-size: 11px;
  letter-spacing: .28em; text-transform: uppercase; color: var(--ink); background: rgba(255,253,247,.6);
  border: 1px solid var(--line); border-radius: 2px; padding: 12px 30px; cursor: pointer; transition: .2s; }
.contact-form button:hover:not(:disabled) { border-color: var(--sea); background: #FFFDF7; }
.contact-form button:disabled, .contact-form input:disabled, .contact-form textarea:disabled { opacity: .55; cursor: not-allowed; }
.form-note { font-family: var(--font-sans); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-top: 16px; }
.contact-sent { font-family: var(--font-display); font-style: italic; font-size: 19px; color: var(--sea-deep); padding: 20px 0; }

@media (max-width: 600px) {
  .cj-cards { gap: 18px; }
  .cj-card { width: 100%; max-width: 300px; }
  .about-body p { font-size: 18px; }
  .cj-title, .about-title, .contact-title, .ty-title, .soon-title { font-size: 42px; }
}

/* About: two side-by-side square photos */
.about-photos { display: flex; gap: 16px; justify-content: center; margin-top: 38px; }
.about-photos figure { margin: 0; flex: 1 1 0; max-width: 300px; }
.about-photos img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block;
  background: #fff; padding: 8px; border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(74,68,60,.12); }
@media (max-width: 460px) { .about-photos { gap: 10px; } .about-photos img { padding: 5px; } }

/* Poem closing seal — a small perched raven bookends each poem */
.foot .endmark { width: 30px; height: auto; display: block; margin: 0 auto 14px; opacity: .82; }

/* Thank-you page (form redirect target) */
.thankyou { text-align: center; padding: 20px 0 56px; max-width: 620px; }
.ty-title { font-family: var(--font-script); font-weight: 400; font-size: 50px; color: var(--ink); margin: 6px 0 18px; }
.ty-msg { font-family: var(--font-display); font-style: italic; font-size: 22px; line-height: 1.55; color: var(--ink); margin: 0 0 6px; }
.ty-en { font-family: var(--font-serif-2); font-style: italic; font-size: 16px; color: var(--ink-soft); margin: 0 0 30px; line-height: 1.5; }
.ty-photo { margin: 0 auto; width: 100%; max-width: 460px; }
.ty-photo img { width: 100%; height: auto; display: block; background: #fff; padding: 10px;
  border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(74,68,60,.14); }
.ty-back { display: inline-block; margin-top: 30px; font-family: var(--font-sans); font-size: 11px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); text-decoration: none; }
.ty-back:hover { color: var(--gold); }
@media (max-width: 600px) { .ty-title { font-size: 42px; } .ty-msg { font-size: 19px; } }

/* Home bottom "narrow hero" — promotes Şarkı Defteri; framed to bookend the cover */
.second-hero { position: relative; display: flex; align-items: center; justify-content: center; gap: 30px;
  max-width: var(--sheet-max); margin: 26px auto 44px; padding: 30px 44px; text-decoration: none;
  background: radial-gradient(120% 90% at 50% 10%, #FFFDF7 0%, var(--cream) 62%, var(--cream-2) 100%);
  border-radius: 4px; box-shadow: 0 10px 34px rgba(74,68,60,.07);
  transition: box-shadow .2s ease, transform .2s ease; }
.second-hero:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(74,68,60,.11); }
.sh-frame { position: absolute; inset: 10px; border: 1px solid var(--line); border-radius: 3px; pointer-events: none; }
.sh-corner { position: absolute; width: 74px; height: 74px; background: no-repeat center / contain;
  background-image: url(/svg/corner-sprig.svg); opacity: .85; pointer-events: none; }
.sh-corner.tl { top: 4px; left: 4px; }
.sh-corner.br { bottom: 4px; right: 4px; transform: rotate(180deg); }
.sh-art { width: 108px; height: auto; flex: 0 0 auto; }
.sh-copy { text-align: center; }
.sh-kicker { font-family: var(--font-script); font-size: 20px; color: var(--sea-deep); line-height: 1; }
.sh-title { font-family: var(--font-display); font-weight: 600; font-size: 30px; color: var(--ink); margin-top: 4px; }
.second-hero:hover .sh-title { color: var(--gold); }
.sh-sub { font-family: var(--font-sans); font-size: 9.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft); margin-top: 7px; }
@media (max-width: 600px) {
  .second-hero { flex-direction: column; gap: 14px; padding: 28px 24px; text-align: center; margin: 20px 10px 30px; }
  .sh-copy { text-align: center; }
  .sh-corner { width: 56px; height: 56px; }
}

/* #5: tighten the gap under the home cover panel (desktop only) */
@media (min-width: 601px) { .sheet--cover { margin-bottom: 20px; } }
