/* Aksara — undangan ala majalah: kertas gading, tinta hitam, satu aksen vermilion.
   Font di-host di paket (CSP), lisensi di fonts/LISENSI.md. */
@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 400 900; src: url("fonts/bodoni-moda.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Bodoni Moda"; font-style: italic; font-weight: 400 900; src: url("fonts/bodoni-moda-italic.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Manrope"; font-weight: 200 800; src: url("fonts/manrope.woff2") format("woff2"); font-display: swap; }

:root {
  --paper: #f3efe6;
  --paper-2: #ebe6da;
  --ink: #141414;
  --muted: #5c5852;
  --accent: #c2361b;
  --accent-lt: #ff7a5c;
  --rule: rgba(20, 20, 20, 0.16);
  --grid: rgba(20, 20, 20, 0.055);
  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gut: 24px;
 /* warna hasil tone (dulu ditulis langsung) */ --tn-1: #dcd6c9;
}

/* Tone warna (field "tone"): terakota = bawaan di atas. */
:root[data-tone="toska"] { --paper-2: #dae0eb; --accent: #1bb3c2; --accent-lt: #5cedff; --tn-1: #c9d0dc; }
:root[data-tone="ungu"] { --paper-2: #ebdaea; --accent: #6d1bc2; --accent-lt: #af5cff; --tn-1: #dcc9dc; }
:root[data-tone="hijau"] { --paper-2: #daeaeb; --accent: #1bc26d; --accent-lt: #5cffaf; --tn-1: #c9dcdc; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  font: 16px/1.65 var(--sans);
  background: var(--tn-1);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 12px; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 500; }
em { font-style: italic; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.page {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  overflow: hidden;
  background:
    linear-gradient(to right, var(--grid) 1px, transparent 1px) var(--gut) 0 / calc((100% - 2 * var(--gut)) / 4 - 0.25px) 100% repeat-x,
    var(--paper);
}

.label { font: 700 11px/1.4 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.body-text { color: var(--muted); }

/* ───────── Sampul ───────── */
.cover {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  padding: 18px var(--gut) 28px;
}
.masthead {
  display: flex; justify-content: space-between; gap: 12px;
  padding-bottom: 10px; border-bottom: 3px double var(--ink);
  font: 700 11px/1.3 var(--sans); letter-spacing: 0.2em; text-transform: uppercase;
}
.kicker { margin: auto 0 4px; padding-top: 34px; font: italic 400 22px/1.2 var(--serif); }
.cover h1 { display: flex; flex-direction: column; font-weight: 500; letter-spacing: -0.035em; line-height: 0.86; }
.cover h1 .n1, .cover h1 .n2 { display: block; font-size: clamp(64px, 25vw, 116px); overflow-wrap: anywhere; }
.cover h1 .n2 { text-align: right; }
.cover h1 .amp { display: block; align-self: center; margin: -6px 0 -14px; font-style: italic; font-weight: 400; font-size: clamp(56px, 18vw, 84px); line-height: 1; color: var(--accent); letter-spacing: 0; }
html.js .cover h1 .n1, html.js .cover h1 .n2 { white-space: nowrap; overflow-wrap: normal; }

.bigdate {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: 30px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
}
.bigdate div { padding: 10px 0 8px; text-align: center; }
.bigdate div + div { border-left: 1px solid var(--ink); }
.bigdate b { display: block; font: 400 52px/1 var(--serif); letter-spacing: -0.02em; font-variant-numeric: lining-nums; }
.bigdate span { font: 700 10px/1 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.dateline { margin: 10px 0 0; font: 700 12px/1.4 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; text-align: center; }

.contents { display: flex; gap: 14px; align-items: baseline; margin: 26px 0 0; padding-top: 12px; border-top: 1px solid var(--rule); font-size: 13px; line-height: 1.5; color: var(--muted); }
.contents .label { flex: none; margin: 0; color: var(--accent); }
.cover-foot { margin-top: auto; padding-top: 32px; }
.to { margin-bottom: 16px; }
.to .label { margin-bottom: 2px; }
.to .guest { margin: 0; font: italic 400 30px/1.15 var(--serif); overflow-wrap: anywhere; }
.hint { display: none; margin: 8px 0 0; font: 700 11px/1.4 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }

.rise { animation: rise 1s cubic-bezier(.2, .7, .2, 1) both; }
.cover h1.rise { animation-delay: 0.12s; }
.bigdate.rise { animation-delay: 0.26s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Gerbang “Buka undangan” hanya bila JS aktif; tanpa JS semua isi tetap tampil. */
html.js:not(.opened) body { overflow: hidden; }
html.js:not(.opened) .content,
html.js:not(.opened) footer,
html.js:not(.opened) .music-toggle { display: none; }
html.opened .open { display: none; }
html.opened .hint { display: block; }
html.opened .content { animation: fadein 0.8s ease both; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

/* ───────── Tombol ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 14px;
  min-height: 48px; padding: 0 18px;
  border: 1px solid var(--ink); border-radius: 0;
  font: 700 13px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background 0.2s ease, color 0.2s ease;
}
.btn-ink { background: var(--ink); color: var(--paper); width: 100%; min-height: 56px; }
.btn-ink:hover { background: var(--accent); border-color: var(--accent); }
.btn-ink .arrow { font-size: 18px; transition: transform 0.2s ease; }
.btn-ink:hover .arrow { transform: translateX(4px); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-paper { background: var(--paper); color: var(--ink); border-color: var(--paper); width: 100%; justify-content: center; }
.btn-paper:hover { background: var(--accent-lt); border-color: var(--accent-lt); }
.btn-block { width: 100%; }
.btn:focus-visible, input:focus-visible + span, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ───────── Bagian bernomor ───────── */
.content { counter-reset: sec; }
section { position: relative; padding: 64px var(--gut); }
.sec { counter-increment: sec; }
.sec-head { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; font: 700 12px/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; }
.sec-head .num::before { content: counter(sec, decimal-leading-zero); color: var(--accent); }
.sec-head .rule { flex: 1; height: 1px; background: var(--ink); }
.display { font-size: 50px; line-height: 0.98; letter-spacing: -0.03em; margin-bottom: 30px; }
.display em { font-weight: 400; color: var(--accent); }

.intro { padding-top: 72px; border-top: 1px solid var(--ink); }
.opening { font: italic 400 22px/1.3 var(--serif); margin-bottom: 14px; }
.lede { font-size: 19px; line-height: 1.55; margin: 0; }
.pull { position: relative; margin: 44px 0 0; padding: 62px 0 0; border-top: 2px solid var(--ink); }
.pull::before { content: "\201C"; position: absolute; top: 4px; left: -4px; font: 400 104px/1 var(--serif); color: var(--accent); }
.pull blockquote { margin: 0; font: italic 400 25px/1.32 var(--serif); letter-spacing: -0.01em; }
.pull figcaption { margin-top: 16px; font: 700 11px/1.4 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }

/* Mempelai */
.person { margin: 0; }
.photo { position: relative; margin: 0 0 18px; width: 78%; }
.person-alt .photo { margin-left: auto; }
.person-alt { text-align: right; }
.photo img, .photo .initial { width: 100%; aspect-ratio: 4 / 5; }
.photo img { object-fit: cover; filter: grayscale(1) contrast(1.06); transition: filter 0.6s ease; }
.photo:hover img, .photo:focus-within img { filter: none; }
.photo .initial {
  display: grid; place-items: center;
  background:
    linear-gradient(to right, rgba(243, 239, 230, 0.08) 1px, transparent 1px) 0 0 / 25% 100%,
    linear-gradient(rgba(243, 239, 230, 0.08) 1px, transparent 1px) 0 0 / 100% 20%,
    var(--ink);
  color: var(--paper);
  font: 400 170px/1 var(--serif);
  padding-bottom: 8px;
}
.photo figcaption { margin-top: 8px; font: 700 10px/1.4 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.person h3 { font-size: 34px; line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 12px; }
.parents { margin: 0; }
.parents span { display: block; font: 700 11px/1.4 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.parents b { font-weight: 600; }
.amp-big { margin: 18px 0 26px; text-align: center; font: italic 400 140px/0.8 var(--serif); color: var(--accent); }

/* Hitung mundur: pita hitam */
.countdown-wrap { background: var(--ink); color: var(--paper); padding: 34px var(--gut) 38px; }
.countdown-wrap .label { color: rgba(243, 239, 230, 0.7); text-align: center; margin-bottom: 18px; }
.countdown { display: none; grid-template-columns: repeat(4, 1fr); }
html.js .countdown { display: grid; }
.cd-fallback { margin: 0; text-align: center; font: 400 26px/1.2 var(--serif); }
html.js .cd-fallback { display: none; }
.countdown div { text-align: center; }
.countdown div + div { border-left: 1px solid rgba(243, 239, 230, 0.25); }
.countdown b { display: block; font: 400 46px/1.05 var(--serif); font-variant-numeric: tabular-nums lining-nums; }
.countdown span { font: 700 10px/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: rgba(243, 239, 230, 0.7); }

/* Kisah */
.dropcap { font-size: 17px; line-height: 1.75; margin: 0; }
.dropcap::first-letter { float: left; margin: 6px 10px 0 0; font: 400 86px/0.78 var(--serif); color: var(--accent); }
.hashtag { margin: 24px 0 0; padding-top: 14px; border-top: 1px solid var(--rule); font: 800 14px/1.4 var(--sans); letter-spacing: 0.06em; color: var(--accent); }

/* Acara */
.event { display: grid; grid-template-columns: 84px 1fr; gap: 0 18px; padding: 24px 0; border-top: 1px solid var(--ink); }
.event:last-of-type { border-bottom: 1px solid var(--ink); }
.event-date { border-right: 1px solid var(--rule); padding-right: 12px; }
.event-date b { display: block; font: 400 64px/0.9 var(--serif); letter-spacing: -0.03em; }
.event-date span { display: block; margin-top: 8px; font: 700 10px/1.4 var(--sans); letter-spacing: 0.16em; color: var(--muted); }
.event-body .label { color: var(--accent); }
.when { font: 500 22px/1.2 var(--serif); margin-bottom: 4px; }
.time { font-weight: 600; margin-bottom: 4px; }
.place { color: var(--muted); margin-bottom: 16px; }
.links { display: flex; flex-direction: column; gap: 8px; }
.links .btn { font-size: 12px; }
.dresscode { margin-top: 28px; padding: 18px 20px; border: 1px solid var(--ink); display: flex; flex-direction: column; }
.dresscode .label { margin-bottom: 4px; }
.dc { margin: 0; font: italic 400 26px/1.2 var(--serif); }

/* Galeri */
.gallery .grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; counter-reset: fig; }
.gallery figure { margin: 0; counter-increment: fig; }
.gallery figure:nth-child(3n + 1) { grid-column: span 2; }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--paper-2); filter: grayscale(1) contrast(1.06); transition: filter 0.6s ease; }
.gallery figure:nth-child(3n + 1) img { aspect-ratio: 3 / 2; }
.gallery figure:hover img { filter: none; }
.gallery figure::after { content: counter(fig, decimal-leading-zero); display: block; margin-top: 6px; font: 700 10px/1 var(--sans); letter-spacing: 0.2em; color: var(--muted); }

/* Tanda kasih */
.ticket { position: relative; margin-top: 8px; padding: 26px 22px 22px; background: var(--ink); color: var(--paper); }
.ticket::before, .ticket::after { content: ""; position: absolute; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--paper); }
.ticket::before { left: -11px; }
.ticket::after { right: -11px; }
.ticket-row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed rgba(243, 239, 230, 0.3); }
.ticket-row .label { margin: 0; white-space: nowrap; color: rgba(243, 239, 230, 0.65); }
.ticket-row span:last-child { text-align: right; font-weight: 600; }
.number { margin: 18px 0 10px; font: 400 34px/1.1 var(--serif); letter-spacing: 0.02em; font-variant-numeric: tabular-nums lining-nums; overflow-wrap: anywhere; }
.ticket .btn { margin-top: 20px; }

/* RSVP */
.note { margin-bottom: 26px; padding: 14px 16px; border-left: 3px solid var(--accent); background: var(--paper-2); }
.rsvp form { display: flex; flex-direction: column; gap: 22px; }
.field { display: flex; flex-direction: column; }
.field .label { margin-bottom: 4px; color: var(--ink); }
input, textarea { width: 100%; min-height: 48px; padding: 10px 0; border: 0; border-bottom: 1.5px solid var(--ink); border-radius: 0; background: transparent; font: 400 17px/1.4 var(--sans); color: var(--ink); }
textarea { resize: vertical; min-height: 110px; font: italic 400 19px/1.45 var(--serif); }
input:focus-visible, textarea:focus-visible { outline: none; border-bottom-color: var(--accent); box-shadow: 0 1.5px 0 var(--accent); }
fieldset { border: 0; margin: 0; padding: 0; }
legend { padding: 0; margin-bottom: 8px; }
legend.label { color: var(--ink); }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--ink); }
.seg label { position: relative; display: block; cursor: pointer; }
.seg label + label { border-left: 1px solid var(--ink); }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 6px; text-align: center; font: 700 12px/1.2 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; transition: background 0.2s ease; }
.seg input:checked + span { background: var(--ink); color: var(--paper); }

.letters { margin-top: 44px; }
.letters-title { padding-bottom: 10px; border-bottom: 3px double var(--ink); color: var(--ink); }
.wishes { list-style: none; margin: 0; padding: 0; max-height: 520px; overflow-y: auto; }
.wishes li { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.wishes li.pinned { padding-left: 14px; border-left: 3px solid var(--accent); }
.wishes .msg { margin: 0 0 8px; font: italic 400 19px/1.45 var(--serif); }
.wishes .by { margin: 0; font-size: 13px; color: var(--muted); }
.wishes .by b { color: var(--ink); }
.wish-reply { margin: 10px 0 0; padding: 10px 12px; background: var(--paper-2); font-size: 14px; }
.wish-reply .label { display: block; margin-bottom: 2px; color: var(--accent); }

/* Penutup */
.closing { padding: 72px var(--gut) 60px; border-top: 1px solid var(--ink); }
.thanks { margin: 0 0 22px; font: 500 88px/0.88 var(--serif); letter-spacing: -0.04em; }
.thanks em { font-weight: 400; color: var(--accent); }
.closing .opening { margin-top: 18px; }
.colophon { margin-top: 36px; padding: 20px 0 0; border-top: 3px double var(--ink); }
.names { margin: 0; font: 500 44px/1.05 var(--serif); letter-spacing: -0.02em; }
.names em { font-weight: 400; color: var(--accent); }
.tag { margin: 10px 0 0; font: 800 13px/1.4 var(--sans); letter-spacing: 0.06em; color: var(--accent); }

footer { padding: 18px var(--gut) 26px; background: var(--ink); color: rgba(243, 239, 230, 0.75); font: 700 11px/1.4 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; text-align: center; }
footer a { color: var(--paper); }

/* Musik */
.music-toggle {
  position: fixed; z-index: 30; bottom: 16px; right: max(16px, calc(50% - 240px + 16px));
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 46px; padding: 0 16px; border: 1px solid var(--ink); border-radius: 0;
  background: var(--paper); color: var(--ink); cursor: pointer;
  font: 700 11px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase;
  box-shadow: 4px 4px 0 var(--ink);
}
.bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.bars i { width: 3px; height: 5px; background: var(--accent); }
.bars i:nth-child(2) { height: 10px; }
.bars i:nth-child(3) { height: 7px; }
.music-toggle[aria-pressed="true"] .bars i { animation: eq 0.9s ease-in-out infinite alternate; }
.music-toggle[aria-pressed="true"] .bars i:nth-child(2) { animation-delay: -0.3s; }
.music-toggle[aria-pressed="true"] .bars i:nth-child(3) { animation-delay: -0.6s; }
@keyframes eq { from { height: 3px; } to { height: 14px; } }

@media (min-width: 560px) {
  body {
    background:
      linear-gradient(to right, rgba(20, 20, 20, 0.06) 1px, transparent 1px) center 0 / 120px 100%,
      var(--tn-1);
  }
  .page { box-shadow: 0 0 0 1px var(--ink), 24px 24px 0 rgba(20, 20, 20, 0.12); }
}
@media (min-width: 1000px) {
  body::before, body::after {
    position: fixed; top: 50%; z-index: 0;
    font: italic 400 clamp(56px, 6.4vw, 96px)/1 var(--serif); letter-spacing: -0.02em; color: rgba(20, 20, 20, 0.1);
    white-space: nowrap; pointer-events: none;
  }
  body::before { content: "The Wedding Issue"; left: calc(25% - 240px / 2); transform: translate(-50%, -50%) rotate(-90deg); }
  body::after { content: "Edisi Pernikahan"; right: calc(25% - 240px / 2); transform: translate(50%, -50%) rotate(90deg); }
  .page { z-index: 1; }
}

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

/* Bodoni pada ukuran teks: optical size kecil supaya garis rambut (tanda hubung, serif) tetap terbaca. */
.pull blockquote, .wishes .msg, textarea, .opening, .kicker, .to .guest, .when, .dc, .cd-fallback { font-variation-settings: "opsz" 11; }

/* Amplop: beberapa rekening/e-wallet */
.gift-list { display: grid; gap: 14px; width: 100%; }

/* ---------- Animasi ---------- */
:root { --rv-dur: 1000; }
.rv { opacity: 0; clip-path: inset(0 99% 0 0); }
.rv.in { opacity: 1; translate: 0 0; scale: 1; rotate: 0deg; filter: blur(0) brightness(1); clip-path: inset(0 0 0 0); transition: opacity 1s cubic-bezier(.7,0,.2,1) calc(var(--d, 0) * 1ms), translate 1s cubic-bezier(.7,0,.2,1) calc(var(--d, 0) * 1ms), scale 1s cubic-bezier(.7,0,.2,1) calc(var(--d, 0) * 1ms), rotate 1s cubic-bezier(.7,0,.2,1) calc(var(--d, 0) * 1ms), filter 1s cubic-bezier(.7,0,.2,1) calc(var(--d, 0) * 1ms), clip-path 1s cubic-bezier(.7,0,.2,1) calc(var(--d, 0) * 1ms); }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; translate: none; scale: none; rotate: none; filter: none; clip-path: none; } }

@media (prefers-reduced-motion: no-preference) {
  .open .arrow { display: inline-block; animation: mo-nudge 1.8s ease-in-out infinite; }
  .hashtag { animation: mo-kilau 3.2s ease-in-out infinite; }
  .ticket { transition: rotate .4s, translate .4s; }
  .ticket:hover { rotate: -.6deg; translate: 0 -3px; }
}
@keyframes mo-denyut { 0%, 100% { scale: 1; } 50% { scale: 1.08; } }
@keyframes mo-ambang { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
@keyframes mo-ayun { from { rotate: -2.2deg; } to { rotate: 2.2deg; } }
@keyframes mo-putar { to { rotate: 360deg; } }
@keyframes mo-kerlip { 0%, 100% { opacity: 1; scale: 1; } 50% { opacity: .35; scale: .72; } }
@keyframes mo-kilau { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes mo-geser { from { translate: -26px 0; } to { translate: 26px 0; } }
@keyframes mo-garis { from { scale: 0 1; } to { scale: 1 1; } }
@keyframes mo-naik { from { opacity: 0; translate: 0 22px; } to { opacity: 1; translate: 0 0; } }
@keyframes mo-blur { from { opacity: 0; filter: blur(10px); scale: 1.05; } to { opacity: 1; filter: blur(0); scale: 1; } }
@keyframes mo-pop { from { opacity: 0; scale: .55; rotate: -8deg; } to { opacity: 1; scale: 1; rotate: 0deg; } }
@keyframes mo-nudge { 0%, 100% { translate: 0 0; } 50% { translate: 5px 0; } }
@keyframes mo-hujan { to { background-position: 0 520px, 0 520px, 0 520px, 0 780px, 0 780px; } }

/* Foto sampul (opsional): lengkung seperti jendela; tinggi menyesuaikan layar supaya tombol "Buka undangan" tetap terjangkau. */
.cover-photo { position: relative; z-index: 1; flex: none; display: block; width: auto; height: clamp(96px, 17svh, 150px); aspect-ratio: 4 / 5; margin: 8px auto 6px; border-radius: 999px 999px 16px 16px; overflow: hidden; border: 3px solid rgba(255, 255, 255, 0.85); box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22); }
.cover-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Cover lebih tinggi dari layar (foto sampul + layar pendek): tetap bisa digulir ke tombol "Buka undangan". */
.js body.locked { overflow: visible; }
/* Bentuk foto sampul khas Aksara: potret hitam-putih bersudut tajam, rata kiri seperti foto majalah. */
.cover-photo { aspect-ratio: 3 / 4; align-self: flex-start; margin: 10px 0 12px 6px; border: 0; border-radius: 0; box-shadow: none; outline: 1px solid var(--ink); outline-offset: 5px; }
.cover-photo img { filter: grayscale(1) contrast(1.06); }
@media (max-height: 700px) { .cover-photo { display: none; } } /* layar pendek: sampul seperti semula supaya tombol tetap terlihat */
