@font-face { font-family: "Bodoni Moda"; font-style: normal; font-display: swap; font-weight: 400 900; src: url(../fonts/bodoni-moda-latin-standard-normal.woff2) format("woff2-variations"), url(../fonts/bodoni-moda-latin-standard-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Jost"; font-style: normal; font-display: swap; font-weight: 400; src: url(../fonts/jost-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Jost"; font-style: normal; font-display: swap; font-weight: 500; src: url(../fonts/jost-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Bodoni Moda"; font-style: normal; font-display: swap; font-weight: 400 900; src: url(../fonts/bodoni-moda-latin-ext-standard-normal.woff2) format("woff2-variations"), url(../fonts/bodoni-moda-latin-ext-standard-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Jost"; font-style: normal; font-display: swap; font-weight: 400; src: url(../fonts/jost-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Jost"; font-style: normal; font-display: swap; font-weight: 500; src: url(../fonts/jost-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

/* AFY STAYS — direct booking site
   Tokens: ink (brand black), brass (logo gold), paper, stone */
:root {
  --ink: #16130e;
  --ink-2: #211d16;
  --ink-3: #2d281f;
  --brass: #c4a062;
  --brass-light: #dcc495;
  --brass-deep: #84652f;
  --paper: #ffffff;
  --stone: #f1efea;
  --line: #e2ddd2;
  --muted: #6b655b;
  --text: #1d1a15;
  --ok: #2f6b4a;

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --r-sm: 2px;
  --r-md: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  font-weight: 400;
}
img { max-width: 100%; display: block; }
a { color: var(--brass-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0; color: inherit; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 4.4vw, 3.9rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 400; }
h3 { font-size: 1.45rem; font-weight: 500; }
p { margin: 0 0 1em; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 500 1rem/1 var(--sans); letter-spacing: .01em;
  padding: 15px 24px; border-radius: var(--r-sm); border: 1px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-brass { background: var(--brass); color: var(--ink); }
.btn-brass:hover { background: var(--brass-light); color: var(--ink); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-3); color: #fff; }
.btn-line { border-color: var(--line); color: var(--text); background: transparent; }
.btn-line:hover { border-color: var(--ink); color: var(--ink); }
.btn-line-dark { border-color: rgba(220,196,149,.45); color: var(--brass-light); background: transparent; }
.btn-line-dark:hover { border-color: var(--brass-light); color: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.site-header { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 40; border-bottom: 1px solid rgba(196,160,98,.18); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--brass-light); flex: none; }
.brand img.icon { width: 34px; height: 34px; object-fit: contain; }
.brand .word { font-family: var(--serif); font-size: 1.25rem; letter-spacing: .14em; color: var(--brass-light); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: #e9e4da; text-decoration: none; font-size: .98rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brass-light); }
.header-tools { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; border: 1px solid rgba(220,196,149,.35); border-radius: var(--r-sm); overflow: hidden; }
.lang a { color: #cfc8ba; text-decoration: none; font-size: .85rem; padding: 6px 10px; }
.lang a[aria-current="true"] { background: var(--brass); color: var(--ink); }
.header-tools .btn { padding: 10px 16px; font-size: .95rem; }
.menu-toggle { display: none; background: none; border: 1px solid rgba(220,196,149,.35); color: var(--brass-light); border-radius: var(--r-sm); padding: 8px 12px; font: 500 .95rem var(--sans); cursor: pointer; }

@media (max-width: 960px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 72px; background: var(--ink); flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; border-bottom: 1px solid rgba(196,160,98,.25); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
  .menu-toggle { display: inline-block; margin-left: auto; }
  .header-tools .wa-label { display: none; }
}
@media (max-width: 520px) {
  .brand .word { display: none; }
  .site-header .wrap { gap: 12px; }
}

/* ---------- hero ---------- */
.hero { background: var(--ink); color: #fff; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(28px, 4vw, 64px); align-items: stretch; padding-top: clamp(36px, 6vw, 80px); padding-bottom: clamp(36px, 5vw, 64px); }
.hero h1 { color: #fff; max-width: 17ch; }
.hero .lede { color: #cfc8ba; margin-top: 22px; }
.hero-photo { position: relative; min-height: 420px; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-photo figcaption { position: absolute; left: 0; bottom: 0; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; }

/* search form */
.search { margin-top: 34px; display: grid; grid-template-columns: minmax(150px, 1fr) minmax(150px, 1fr) minmax(110px, .7fr) auto; background: #fff; border-radius: var(--r-md); overflow: hidden; max-width: 760px; }
.search .field { padding: 10px 16px 10px; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.search label, .book-box label { font-size: .78rem; color: var(--muted); letter-spacing: .02em; }
.search input, .search select, .book-box input, .book-box select {
  font: 500 1rem var(--sans); color: var(--text); border: 0; padding: 2px 0; background: transparent; width: 100%; min-width: 0;
}
.search input:focus, .search select:focus { outline: none; }
.search .field:focus-within { box-shadow: inset 0 -2px 0 var(--brass); }
.search .btn { border-radius: 0; padding: 0 24px; }
.search input[type=date] { font-size: .98rem; }
.search-note { margin-top: 12px; font-size: .9rem; color: #a9a294; }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-photo { min-height: 280px; order: -1; margin: 0 calc(-1 * var(--gutter)); }
}
@media (max-width: 640px) {
  .search { grid-template-columns: 1fr 1fr; }
  .search .field:nth-child(2) { border-right: 0; }
  .search .field:nth-child(3) { grid-column: 1 / -1; border-right: 0; border-top: 1px solid var(--line); }
  .search .btn { grid-column: 1 / -1; padding: 16px; }
}

/* ---------- plaque (street name, brass on black) ---------- */
.plaque {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--brass-light);
  font-family: var(--serif); font-size: .95rem; line-height: 1;
  padding: 8px 12px 8px 10px; border-radius: var(--r-sm);
  box-shadow: inset 0 0 0 1px rgba(196,160,98,.55), inset 0 0 0 3px var(--ink), inset 0 0 0 4px rgba(196,160,98,.35);
}
.plaque::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brass); flex: none; }

/* ---------- directory board ---------- */
.directory { background: var(--ink-2); color: #e9e4da; padding: clamp(40px, 6vw, 72px) 0; }
.directory-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 30px; }
.directory h2 { color: #fff; }
.directory-head p { color: #a9a294; margin: 0; max-width: 46ch; }
.board {
  list-style: none; margin: 0; padding: 22px clamp(18px, 3vw, 36px);
  columns: 2; column-gap: clamp(28px, 5vw, 72px);
  background: #12100c; border-radius: var(--r-md);
  box-shadow: inset 0 0 0 1px rgba(196,160,98,.35);
}
.board li { break-inside: avoid; }
.board button {
  display: flex; align-items: baseline; gap: 10px; width: 100%;
  background: none; border: 0; color: inherit; cursor: pointer; text-align: left;
  padding: 11px 0; font: 400 1.08rem var(--serif); border-bottom: 1px solid rgba(255,255,255,.06);
}
.board .st { color: #f4efe4; }
.board .area { font-family: var(--sans); font-size: .85rem; color: #918a7c; }
.board .dots { flex: 1; border-bottom: 1px dotted rgba(196,160,98,.45); transform: translateY(-4px); min-width: 20px; }
.board .n { font-family: var(--sans); color: var(--brass-light); font-size: .95rem; white-space: nowrap; }
.board button:hover .st, .board button:focus-visible .st { color: var(--brass-light); }
@media (max-width: 760px) {
  .board { columns: 1; }
  .board button { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 2px; align-items: baseline; }
  .board .st { grid-column: 1; grid-row: 1; }
  .board .n { grid-column: 2; grid-row: 1; }
  .board .area { grid-column: 1; grid-row: 2; }
  .board .dots { display: none; }
}

/* ---------- sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-alt { background: var(--stone); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 34px; }
.section-head p { margin: 10px 0 0; color: var(--muted); max-width: 58ch; }

/* filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 30px; position: sticky; top: 72px; background: var(--paper); z-index: 20; }
.filter-group { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.filter-group > span { font-size: .85rem; color: var(--muted); margin-right: 4px; }
.chip { font: 500 .92rem var(--sans); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--text); cursor: pointer; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--brass-light); border-color: var(--ink); }
.filters select { font: 500 .92rem var(--sans); padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--text); }
.result-count { margin-left: auto; font-size: .92rem; color: var(--muted); }
@media (max-width: 760px) { .filters { position: static; } .result-count { margin-left: 0; width: 100%; } }

/* apartment cards */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
@media (max-width: 1020px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; }
.card[hidden] { display: none; }
.card-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone); display: block; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card-photo:hover img { transform: scale(1.03); }
.card-photo .plaque { position: absolute; left: 12px; bottom: 12px; }
.card-body { padding-top: 16px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 1.32rem; }
.card h3 a { color: var(--text); text-decoration: none; }
.card h3 a:hover { color: var(--brass-deep); }
.facts { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 10px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .95rem; }
.facts li { display: inline-flex; align-items: center; gap: 6px; }
.facts svg { width: 17px; height: 17px; color: var(--brass-deep); }
.card-actions { display: flex; gap: 10px; margin-top: 18px; padding-top: 0; }
.card-actions .btn { padding: 12px 16px; font-size: .95rem; flex: 1; }
.more-wrap { text-align: center; margin-top: 44px; }
.more-wrap .btn { min-width: 280px; }
.more-wrap .btn[hidden] { display: none; }
.empty { padding: 40px; text-align: center; border: 1px dashed var(--line); color: var(--muted); }
.empty[hidden] { display: none; }

/* why direct */
.why { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 96px); }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 40px; margin: 0; }
.why-list div { border-top: 1px solid var(--brass); padding-top: 16px; }
.why-list dt { font-family: var(--serif); font-size: 1.3rem; margin-bottom: 8px; }
.why-list dd { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .why { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .why-list { grid-template-columns: 1fr; } }

/* apart-hotel feature */
.feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 0; background: var(--ink); color: #e9e4da; }
.feature-photos { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; min-height: 460px; }
.feature-photos img { width: 100%; height: 100%; object-fit: cover; }
.feature-photos img:first-child { grid-row: 1 / 3; }
.feature-copy { padding: clamp(32px, 5vw, 64px); max-width: 640px; display: flex; flex-direction: column; justify-content: center; }
.feature-copy .plaque { align-self: flex-start; }
.feature-copy h2 { color: #fff; margin: 18px 0 16px; }
.feature-copy p { color: #cfc8ba; }
.feature-copy .btn { align-self: flex-start; margin-top: 10px; }
@media (max-width: 900px) { .feature { grid-template-columns: minmax(0, 1fr); } .feature-photos { min-height: 300px; } }

/* steps */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin: 0; padding: 0; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: block; font-family: var(--serif); font-size: 3rem; line-height: 1; color: var(--brass); margin-bottom: 14px; }
.steps h3 { font-size: 1.2rem; margin-bottom: 8px; }
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* faq */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-family: var(--serif); font-size: 1.25rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 300 1.6rem var(--sans); color: var(--brass-deep); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 22px; color: var(--muted); max-width: 70ch; }

/* contact band */
.contact { background: var(--ink); color: #e9e4da; }
.contact .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); }
.contact h2 { color: #fff; margin-bottom: 12px; }
.contact p { color: #a9a294; margin: 0; }
.contact-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 800px) { .contact .wrap { grid-template-columns: 1fr; } }

/* footer */
.site-footer { background: #0f0d09; color: #918a7c; font-size: .92rem; padding: 48px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h3 { font-family: var(--sans); font-size: .95rem; font-weight: 500; color: #e9e4da; margin-bottom: 12px; letter-spacing: .02em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.site-footer a { color: #cfc8ba; text-decoration: none; }
.site-footer a:hover { color: var(--brass-light); }
.legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.anpc { display: flex; gap: 10px; flex-wrap: wrap; }
.anpc a { border: 1px solid rgba(255,255,255,.18); padding: 6px 10px; border-radius: var(--r-sm); font-size: .82rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- apartment page ---------- */
.crumbs { font-size: .9rem; color: var(--muted); padding: 22px 0 0; }
.crumbs a { color: var(--muted); }
.apt-head { padding: 18px 0 26px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: end; }
.apt-head h1 { font-size: clamp(2rem, 4vw, 3.3rem); color: var(--text); margin-top: 14px; max-width: 22ch; }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 230px 230px; gap: 6px; position: relative; }
.gallery .ph { padding: 0; border: 0; cursor: zoom-in; background: var(--stone); overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .ph:first-child { grid-row: 1 / 3; }
.gallery .all { position: absolute; right: 14px; bottom: 14px; padding: 11px 16px; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 140px; }
  .gallery .ph:first-child { grid-column: 1 / 3; grid-row: auto; }
  .gallery .ph:nth-child(n+4) { display: none; }
}
.apt-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 5vw, 72px); padding: 40px 0 80px; align-items: start; }
@media (max-width: 980px) { .apt-layout { grid-template-columns: minmax(0, 1fr); } }
.key-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.key-facts div { padding: 18px 12px 16px 0; }
.key-facts div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.key-facts strong { display: block; font-family: var(--serif); font-size: 1.7rem; font-weight: 400; line-height: 1.1; }
.key-facts span { color: var(--muted); font-size: .92rem; }
@media (max-width: 560px) { .key-facts { grid-template-columns: 1fr 1fr; } .key-facts div:nth-child(3) { padding-left: 0; border-left: 0; } .key-facts div:nth-child(n+3) { border-top: 1px solid var(--line); } }
.apt-section { margin-bottom: 40px; }
.apt-section h2 { font-size: 1.75rem; margin-bottom: 14px; }
.prose { white-space: pre-line; max-width: 68ch; }
.amenities { columns: 2; column-gap: 32px; list-style: none; padding: 0; margin: 0; }
.amenities li { break-inside: avoid; padding: 7px 0 7px 24px; position: relative; border-bottom: 1px solid var(--stone); }
.amenities li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 8px; height: 8px; border: 1px solid var(--brass-deep); transform: rotate(45deg); }
.amenities.collapsed li:nth-child(n+17) { display: none; }
@media (max-width: 560px) { .amenities { columns: 1; } }
.map-frame { width: 100%; aspect-ratio: 16 / 9; border: 0; background: var(--stone); }
.map-note { font-size: .9rem; color: var(--muted); margin-top: 10px; }

.apt-layout > aside { align-self: stretch; }
.book-box { position: sticky; top: 96px; border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; background: #fff; }
.book-box h2 { font-size: 1.5rem; margin-bottom: 4px; }
.book-box .sub { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.book-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1px solid var(--line); border-radius: var(--r-sm); margin-bottom: 14px; }
.book-fields .field { padding: 10px 12px; min-width: 0; }
.book-fields .field:nth-child(1) { border-right: 1px solid var(--line); }
.book-fields .field:nth-child(3) { grid-column: 1 / -1; border-top: 1px solid var(--line); }
.book-box .btn + .btn { margin-top: 10px; }
.book-box ul { list-style: none; padding: 0; margin: 18px 0 0; font-size: .92rem; color: var(--muted); }
.book-box li { padding: 6px 0 6px 22px; position: relative; }
.book-box li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 10px; height: 6px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.mobile-book { display: none; }
@media (max-width: 980px) {
  .book-box { position: static; }
  .mobile-book { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--ink); padding: 12px var(--gutter); gap: 12px; align-items: center; justify-content: space-between; color: #e9e4da; }
  .mobile-book span { font-size: .92rem; }
  .apt-page { padding-bottom: 70px; }
}

.related { padding: 0 0 90px; }
.related h2 { font-size: 1.9rem; margin-bottom: 24px; }

/* lightbox */
dialog.lightbox { border: 0; padding: 0; background: rgba(12,10,7,.96); width: 100vw; height: 100vh; max-width: none; max-height: none; color: #fff; }
dialog.lightbox::backdrop { background: rgba(12,10,7,.9); }
.lb-inner { height: 100%; display: grid; grid-template-rows: auto 1fr auto; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; color: #cfc8ba; font-size: .95rem; }
.lb-stage { display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0 70px; position: relative; }
.lb-stage img { max-height: 100%; max-width: 100%; object-fit: contain; }
.lb-btn { background: none; border: 1px solid rgba(220,196,149,.4); color: var(--brass-light); width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 1.3rem; }
.lb-btn:hover { border-color: var(--brass-light); color: #fff; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
.lb-thumbs { display: flex; gap: 6px; overflow-x: auto; padding: 12px 20px 18px; }
.lb-thumbs button { flex: none; width: 84px; height: 60px; padding: 0; border: 2px solid transparent; background: none; cursor: pointer; opacity: .6; }
.lb-thumbs button[aria-current="true"] { border-color: var(--brass); opacity: 1; }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .lb-stage { padding: 0 8px; } .lb-prev, .lb-next { top: auto; bottom: -56px; } }

/* 404 */
.notfound { padding: 120px 0; text-align: left; }
.notfound h1 { color: var(--text); margin-bottom: 16px; }
