/* ===== Tokens ===== */
:root {
  --ink: #1E1A17; --cream: #F5EFE4; --paper: #EAE1D2; --wine: #7A2632; --brass: #C9A15A; --green: #2F4A35;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, ul, ol, table { margin: 0; padding: 0; }
body { font-family: var(--sans); background: #0F0E0D; color: var(--ink); -webkit-font-smoothing: antialiased; }
img { display: block; }
a { color: inherit; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }

/* ===== Slide canvas (1920 x 1080 design units) ===== */
.slide {
  --u: calc(min(100vw - 64px, 1600px) / 1920);
  --s120: calc(var(--u) * 120); --s96: calc(var(--u) * 96); --s72: calc(var(--u) * 72); --s64: calc(var(--u) * 64);
  --s44: calc(var(--u) * 44); --s32: calc(var(--u) * 32); --s28: calc(var(--u) * 28); --s24: calc(var(--u) * 24);
  --pad: calc(var(--u) * 128);
  position: relative; overflow: hidden;
  width: calc(var(--u) * 1920); height: calc(var(--u) * 1080);
  padding: var(--pad);
  display: flex; flex-direction: column; gap: calc(var(--u) * 56);
  background: var(--bg); color: var(--fg);
  font-size: var(--s32);
}

/* Themes */
.t-cream { --bg: #F5EFE4; --fg: #1E1A17; --muted: #4B423A; --accent: #7A2632; --line: #DDD2C0; --card: #FBF8F2; --cardline: #DDD2C0; }
.t-paper { --bg: #EAE1D2; --fg: #1E1A17; --muted: #4B423A; --accent: #7A2632; --line: #1E1A17; --card: #F5EFE4; --cardline: #D3C6B1; }
.t-dark  { --bg: #1E1A17; --fg: #F5EFE4; --muted: #D9CDBB; --accent: #C9A15A; --line: #4A4038; --card: #2A2520; --cardline: transparent; }
.t-black { --bg: #000000; --fg: #F5EFE4; --muted: #D9CDBB; --accent: #C9A15A; --line: #4A4038; --card: #1A1714; --cardline: transparent; }
.t-wine  { --bg: #7A2632; --fg: #F5EFE4; --muted: #F2E2DA; --accent: #F0D9A8; --line: #9A4A55; --card: #6A1F2A; --cardline: transparent; }

/* Type */
.head { display: flex; flex-direction: column; gap: calc(var(--u) * 16); }
.eyebrow, .label { font-size: var(--s24); font-weight: 600; letter-spacing: calc(var(--u) * 4); text-transform: uppercase; color: var(--accent); line-height: 1.3; }
.h1 { font-family: var(--serif); font-size: var(--s120); font-weight: 600; line-height: 1.05; }
.h2 { font-family: var(--serif); font-size: var(--s72); font-weight: 600; line-height: 1.1; }
.h3 { font-family: var(--serif); font-size: var(--s44); font-weight: 600; line-height: 1.2; }
.h4 { font-family: var(--sans); font-size: var(--s32); font-weight: 600; line-height: 1.3; }
.lead { font-size: var(--s44); line-height: 1.3; color: var(--muted); }
.body { font-size: var(--s32); line-height: 1.42; color: var(--muted); }
.body.strong, .body.bright { color: var(--fg); }
.small { font-size: var(--s28); line-height: 1.4; color: var(--muted); }
.small.accent { color: var(--accent); }
.label-muted { font-size: var(--s24); line-height: 1.35; color: var(--muted); }
.num120, .num96, .num72, .num64 { font-family: var(--serif); font-weight: 600; line-height: 1.05; color: var(--fg); }
.num120 { font-size: var(--s120); } .num96 { font-size: var(--s96); } .num72 { font-size: var(--s72); } .num64 { font-size: var(--s64); }
.ico { width: calc(var(--u) * 56); height: calc(var(--u) * 56); color: var(--accent); flex: none; }
.slide a { color: var(--fg); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
.img-missing { background: repeating-linear-gradient(45deg, rgba(128,128,128,.15) 0 12px, rgba(128,128,128,.25) 12px 24px); }

/* ===== Layouts ===== */
/* Cover */
.l-cover { justify-content: flex-end; }
.l-cover .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.l-cover .scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(30,26,23,.94) 0%, rgba(30,26,23,.6) 40%, rgba(30,26,23,0) 70%); }
.cover-body { position: relative; display: flex; flex-direction: column; gap: calc(var(--u) * 24); }
.l-cover .lead { color: #E6DCCB; max-width: calc(var(--u) * 1300); }

/* Text */
.text-body { display: flex; flex-direction: column; gap: calc(var(--u) * 40); max-width: calc(var(--u) * 1400); }
.bullets { list-style: none; display: flex; flex-direction: column; gap: calc(var(--u) * 18); font-size: var(--s32); line-height: 1.4; color: var(--fg); }
.bullets li { position: relative; padding-left: calc(var(--u) * 40); }
.bullets li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: calc(var(--u) * 14); height: calc(var(--u) * 14); border-radius: 50%; background: var(--accent); }
.small-bullets { font-size: var(--s28); gap: calc(var(--u) * 10); }

/* Statement */
.l-statement { justify-content: center; }
.statement { display: flex; flex-direction: column; gap: calc(var(--u) * 40); }
.statement .lead { max-width: calc(var(--u) * 1400); }

/* Cards */
.cards { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(var(--u) * 32); }
.cards.n1 { grid-template-columns: 1fr; } .cards.n2 { grid-template-columns: 1fr 1fr; } .cards.n4 { grid-template-columns: 1fr 1fr; }
.card { display: flex; flex-direction: column; gap: calc(var(--u) * 20); background: var(--card); border: 1px solid var(--cardline); border-radius: calc(var(--u) * 16); padding: calc(var(--u) * 48); }
.cards.n4 .card { padding: calc(var(--u) * 44); gap: calc(var(--u) * 16); }

/* Split */
.l-split { justify-content: center; gap: calc(var(--u) * 48); }
.l-split.side-left { padding-left: calc(var(--u) * 1040); }
.l-split.side-right { padding-right: calc(var(--u) * 1040); }
.split-img { position: absolute; top: 0; height: 100%; width: calc(var(--u) * 912); object-fit: cover; }
.side-left .split-img { left: 0; } .side-right .split-img { right: 0; }
.split-body { display: flex; flex-direction: column; gap: calc(var(--u) * 44); }
.checks { list-style: none; display: flex; flex-direction: column; gap: calc(var(--u) * 26); }
.checks li { display: flex; align-items: center; gap: calc(var(--u) * 24); font-size: calc(var(--u) * 36); color: var(--fg); }
.check-ico { width: calc(var(--u) * 48); height: calc(var(--u) * 48); color: #2F4A35; }
.t-dark .check-ico, .t-black .check-ico, .t-wine .check-ico { color: var(--accent); }
.details { display: flex; flex-direction: column; }
.detail { display: flex; flex-direction: column; gap: calc(var(--u) * 8); padding: calc(var(--u) * 24) 0; border-top: 1px solid var(--line); }
.contact { display: flex; flex-direction: column; gap: calc(var(--u) * 12); padding-top: calc(var(--u) * 32); border-top: 1px solid var(--line); }

/* Gallery */
.l-gallery { justify-content: space-between; gap: calc(var(--u) * 48); }
.gallery { display: grid; grid-template-columns: repeat(var(--n), minmax(0, calc(var(--u) * 300))); justify-content: center; gap: calc(var(--u) * 41); }
.gal-img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.facts, .cols { display: flex; gap: calc(var(--u) * 32); }
.fact { flex: 1; display: flex; flex-direction: column; gap: calc(var(--u) * 8); padding-top: calc(var(--u) * 24); border-top: 1px solid var(--line); }
.fact .small { font-size: var(--s24); }

/* Screenshot */
.l-screenshot { gap: calc(var(--u) * 48); }
.shot { display: flex; justify-content: center; background: var(--card); padding: calc(var(--u) * 24); border: 1px solid var(--cardline); border-radius: calc(var(--u) * 16); }
.shot-img { max-width: 100%; width: calc(var(--u) * 1043); height: calc(var(--u) * 315); object-fit: contain; }
.cols { gap: calc(var(--u) * 48); }
.col { flex: 1; display: flex; flex-direction: column; gap: calc(var(--u) * 8); }

/* Stats */
.l-stats { gap: calc(var(--u) * 48); }
.l-stats.has-foot { padding-bottom: calc(var(--u) * 160); }
.stat-row, .hl-row { display: flex; gap: calc(var(--u) * 32); }
.stat { flex: 1; display: flex; flex-direction: column; gap: calc(var(--u) * 4); padding: calc(var(--u) * 32) calc(var(--u) * 40); border-top: 2px solid var(--fg); }
.hl { flex: 1; display: flex; flex-direction: column; gap: calc(var(--u) * 8); padding: calc(var(--u) * 40) calc(var(--u) * 48); border-radius: calc(var(--u) * 16); }
.hl0 { background: #1E1A17; } .hl1 { background: #7A2632; } .hl2 { background: #2F4A35; }
.hl .num96 { color: #F5EFE4; } .hl .small { color: #E6DCCB; }
.foot { position: absolute; left: var(--pad); right: var(--pad); bottom: calc(var(--u) * 64); font-size: var(--s24); color: var(--muted); }

/* Big number */
.bn { flex: 1; display: flex; gap: calc(var(--u) * 96); align-items: center; }
.bn-left, .bn-right { flex: 1; display: flex; flex-direction: column; }
.bn-left { gap: calc(var(--u) * 16); }
.bn-list { display: flex; flex-direction: column; margin-bottom: calc(var(--u) * 32); }
.bn-item { display: flex; align-items: center; gap: calc(var(--u) * 24); padding: calc(var(--u) * 24) 0; border-top: 1px solid var(--line); }
.bn-item:last-child { border-bottom: 1px solid var(--line); }
.bn-ico { width: calc(var(--u) * 44); height: calc(var(--u) * 44); }
.callout { display: flex; flex-direction: column; gap: calc(var(--u) * 8); background: #7A2632; padding: calc(var(--u) * 32) calc(var(--u) * 40); border-radius: calc(var(--u) * 16); }
.callout .label { color: #F0D9A8; } .callout .body { color: #F5EFE4; }
.t-wine .callout { background: #1E1A17; }

/* Columns */
.l-columns { gap: calc(var(--u) * 64); }
.columns { flex: 1; display: flex; gap: calc(var(--u) * 32); }
.column { flex: 1; display: flex; flex-direction: column; gap: calc(var(--u) * 20); padding-top: calc(var(--u) * 40); border-top: 2px solid var(--accent); }
.columns.timeline .column { border-top-width: calc(var(--u) * 6); }
.t-cream .columns.timeline .c1, .t-paper .columns.timeline .c1 { border-top-color: #C9A15A; }
.t-cream .columns.timeline .c1 .label, .t-paper .columns.timeline .c1 .label { color: #7A5A1E; }
.t-cream .columns.timeline .c2, .t-paper .columns.timeline .c2 { border-top-color: #2F4A35; }
.t-cream .columns.timeline .c2 .label, .t-paper .columns.timeline .c2 .label { color: #2F4A35; }

/* Team */
.l-team { flex-direction: row; align-items: center; gap: calc(var(--u) * 64); }
.team-text { flex: 1; display: flex; flex-direction: column; gap: calc(var(--u) * 32); }
.team-imgs { display: flex; gap: calc(var(--u) * 64); }
.team-img { width: calc(var(--u) * 400); height: calc(var(--u) * 824); object-fit: cover; border-radius: calc(var(--u) * 16); }

/* Profile */
.l-profile { flex-direction: row; align-items: center; gap: calc(var(--u) * 96); }
.portrait { width: calc(var(--u) * 600); height: calc(var(--u) * 824); object-fit: cover; border-radius: calc(var(--u) * 16); flex: none; background: var(--line); }
.profile-body { flex: 1; display: flex; flex-direction: column; gap: calc(var(--u) * 32); }
.profile-body .head { gap: calc(var(--u) * 12); }
.pstats { display: grid; grid-template-columns: 1fr 1fr; gap: calc(var(--u) * 24); }
.pstat { display: flex; flex-direction: column; gap: calc(var(--u) * 4); padding-top: calc(var(--u) * 20); border-top: 2px solid var(--accent); }

/* Table */
.l-table { flex-direction: row; gap: calc(var(--u) * 96); }
.tbl-left { width: calc(var(--u) * 640); display: flex; flex-direction: column; justify-content: center; gap: calc(var(--u) * 24); }
.tbl-right { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.tbl { width: 100%; border-collapse: collapse; font-size: var(--s32); color: var(--fg); }
.tbl th, .tbl td { text-align: left; padding: calc(var(--u) * 20) calc(var(--u) * 16); border-bottom: 1px solid var(--line); }
.tbl th { font-weight: 600; border-bottom: 2px solid var(--fg); }
.tbl .r { text-align: right; white-space: nowrap; }

/* ===== Viewer chrome ===== */
.deck { display: flex; flex-direction: column; align-items: center; gap: 32px; padding: 32px 0 120px; }
.deck .slide { box-shadow: 0 8px 32px rgba(0,0,0,.35); }

.menu-btn, .ctrl button, .ctrl a, .drawer-close {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 10px;
  background: transparent; color: #F5EFE4; cursor: pointer; text-decoration: none;
}
.menu-btn svg, .ctrl svg, .drawer-close svg, .drawer-foot svg { width: 22px; height: 22px; }
.menu-btn { position: fixed; top: 16px; left: 16px; z-index: 30; background: rgba(30,26,23,.78); backdrop-filter: blur(8px); }
.menu-btn:hover, .ctrl button:hover, .ctrl a:hover, .drawer-close:hover { background: rgba(245,239,228,.14); }
:focus-visible { outline: 3px solid #C9A15A; outline-offset: 2px; }

.ctrl {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 20;
  display: flex; align-items: center; gap: 4px; padding: 6px 8px; border-radius: 14px;
  background: rgba(30,26,23,.85); backdrop-filter: blur(8px); color: #F5EFE4; font-size: 15px;
  transition: opacity .3s;
}
.ctrl .count { min-width: 64px; text-align: center; font-variant-numeric: tabular-nums; }
.ctrl .sep { width: 1px; height: 24px; background: rgba(245,239,228,.25); margin: 0 4px; }
body.idle .ctrl, body.idle .menu-btn { opacity: 0; }

.drawer { position: fixed; top: 0; left: 0; bottom: 0; z-index: 50; width: min(380px, 88vw); background: #1E1A17; color: #F5EFE4; display: flex; flex-direction: column; box-shadow: 8px 0 40px rgba(0,0,0,.4); }
.drawer[hidden], .drawer-scrim[hidden] { display: none; }
.drawer-scrim { position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,.45); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 12px 12px 20px; border-bottom: 1px solid #3A322B; }
.drawer-title { font-family: var(--serif); font-size: 19px; font-weight: 600; line-height: 1.25; }
.drawer-list { list-style: none; overflow-y: auto; flex: 1; padding: 8px; }
.drawer-list a { display: flex; gap: 14px; align-items: baseline; padding: 10px 12px; border-radius: 8px; text-decoration: none; font-size: 16px; line-height: 1.35; color: #E6DCCB; }
.drawer-list a:hover { background: #2A2520; color: #F5EFE4; }
.drawer-list a.on { background: #7A2632; color: #F5EFE4; }
.dn { min-width: 22px; color: #C9A15A; font-variant-numeric: tabular-nums; font-size: 14px; }
.drawer-list a.on .dn { color: #F0D9A8; }
.drawer-foot { border-top: 1px solid #3A322B; padding: 10px 8px 16px; display: flex; flex-direction: column; }
.drawer-foot a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; text-decoration: none; font-size: 15px; color: #D9CDBB; }
.drawer-foot a:hover { background: #2A2520; color: #F5EFE4; }
.m-foot { display: none; }

/* Present mode (desktop, one slide at a time) */
body.present { overflow: hidden; background: #0F0E0D; }
body.present .deck { position: fixed; inset: 0; display: grid; place-items: center; padding: 0; gap: 0; }
body.present .slide { --u: min(calc(100vw / 1920), calc(100vh / 1080)); display: none; box-shadow: none; grid-area: 1 / 1; }
body.present .slide.active { display: flex; animation: fadein .35s ease; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { body.present .slide.active { animation: none; } }
body:not(.present) .ctrl [data-act="prev"], body:not(.present) .ctrl [data-act="next"], body:not(.present) .ctrl .count { display: none; }

/* Embed (admin preview) */
body.embed .ctrl, body.embed .menu-btn { display: none; }

/* ===== Mobile: reflowed, scrolling layout ===== */
@media screen and (max-width: 999px) {
  body:not(.present) .deck { gap: 0; padding: 0; }
  body:not(.present) .slide {
    --u: 0.5px;
    --s120: 44px; --s96: 40px; --s72: 31px; --s64: 30px; --s44: 22px; --s32: 17px; --s28: 16px; --s24: 13px;
    --pad: 20px;
    width: 100%; height: auto; min-height: 0; padding: 72px 20px 56px; gap: 28px; box-shadow: none;
  }
  body:not(.present) .eyebrow, body:not(.present) .label { letter-spacing: 2px; }
  body:not(.present) .l-cover { min-height: 88vh; min-height: 88svh; }
  body:not(.present) .l-cover .lead { max-width: none; }
  body:not(.present) .l-split { padding: 0 20px 56px; }
  body:not(.present) .split-img { position: static; width: calc(100% + 40px); max-width: none; height: auto; aspect-ratio: 4 / 3; margin: 0 -20px 4px; }
  body:not(.present) .checks li { font-size: 19px; }
  body:not(.present) .check-ico { width: 26px; height: 26px; }
  body:not(.present) .ico { width: 30px; height: 30px; }
  body:not(.present) .cards, body:not(.present) .cards.n2, body:not(.present) .cards.n4 { grid-template-columns: 1fr; gap: 14px; }
  body:not(.present) .card { padding: 22px; gap: 10px; }
  body:not(.present) .gallery { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  body:not(.present) .facts, body:not(.present) .cols, body:not(.present) .stat-row,
  body:not(.present) .hl-row, body:not(.present) .columns, body:not(.present) .bn { flex-direction: column; gap: 18px; }
  body:not(.present) .stat { padding: 14px 0; }
  body:not(.present) .hl { padding: 22px; }
  body:not(.present) .shot { padding: 10px; }
  body:not(.present) .shot-img { width: 100%; height: auto; }
  body:not(.present) .foot { position: static; }
  body:not(.present) .l-stats.has-foot { padding-bottom: 56px; }
  body:not(.present) .bn { align-items: stretch; }
  body:not(.present) .l-team, body:not(.present) .l-profile, body:not(.present) .l-table { flex-direction: column; align-items: stretch; }
  body:not(.present) .team-imgs { gap: 10px; }
  body:not(.present) .team-img { width: 50%; height: auto; aspect-ratio: 3 / 5; }
  body:not(.present) .portrait { width: 100%; height: auto; aspect-ratio: 4 / 5; }
  body:not(.present) .pstats { gap: 14px; }
  body:not(.present) .tbl-left { width: auto; }
  body:not(.present) .tbl th, body:not(.present) .tbl td { padding: 10px 6px; }
  body:not(.present) .bullets li { padding-left: 22px; }
  body:not(.present) .bullets li::before { width: 8px; height: 8px; }
  .ctrl { display: none; }
  .m-foot { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; padding: 28px 20px 40px; background: #1E1A17; font-size: 15px; }
  .m-foot a { color: #D9CDBB; }
  .menu-btn { top: 12px; left: 12px; }
}

/* ===== Print / PDF: one slide per page ===== */
@media print {
  @page { size: 13.333in 7.5in; margin: 0; }
  body, body.present { background: none; overflow: visible; }
  .ctrl, .menu-btn, .drawer, .drawer-scrim, .m-foot, .skip { display: none !important; }
  .deck, body.present .deck { position: static; display: block; padding: 0; }
  .slide, body.present .slide { --u: calc(13.333in / 1920); display: flex !important; box-shadow: none; break-after: page; page-break-after: always; animation: none !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ===== Home and FAQ pages ===== */
body.home, body.faq-page { background: #F5EFE4; color: #1E1A17; }
.home-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1200px; margin: 0 auto; padding: 32px 24px 8px; }
.home-head h1 { font-family: var(--serif); font-size: 36px; font-weight: 600; }
.admin-link, .back { font-size: 15px; color: #4B423A; }
.home-grid { max-width: 1200px; margin: 0 auto; padding: 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.deck-card { display: flex; flex-direction: column; background: #FBF8F2; border: 1px solid #DDD2C0; border-radius: 14px; overflow: hidden; text-decoration: none; color: #1E1A17; transition: transform .15s, box-shadow .15s; }
.deck-card:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(30,26,23,.12); }
.deck-card img, .deck-card .ph { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #DDD2C0; }
.deck-card-body { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; }
.deck-card-body strong { font-family: var(--serif); font-size: 21px; font-weight: 600; }
.deck-card-body span { font-size: 14px; color: #4B423A; }
.empty { color: #4B423A; }
.faq { max-width: 760px; margin: 0 auto; padding: 24px 24px 80px; }
.faq h1 { font-family: var(--serif); font-size: clamp(32px, 5vw, 48px); font-weight: 600; margin-bottom: 24px; }
.qa { padding: 22px 0; border-top: 1px solid #DDD2C0; }
.qa h2 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.qa p { font-size: 17px; line-height: 1.6; color: #4B423A; }

/* Gallery on a light theme: tall photos with rounded corners */
.t-cream .gallery, .t-paper .gallery { grid-template-columns: repeat(var(--n), 1fr); gap: calc(var(--u) * 32); }
.t-cream .gal-img, .t-paper .gal-img { aspect-ratio: 392 / 520; border-radius: calc(var(--u) * 16); }
.t-cream .facts, .t-paper .facts { margin-top: calc(var(--u) * -24); }
.t-cream .fact, .t-paper .fact { border-top: 0; padding-top: 0; }
@media screen and (max-width: 999px) {
  body:not(.present) .t-cream .gallery, body:not(.present) .t-paper .gallery { grid-template-columns: 1fr 1fr; }
}

/* Photos and notes */
.l-photonotes { flex-direction: row; align-items: center; gap: calc(var(--u) * 64); }
.pn-left { width: calc(var(--u) * 760); display: flex; flex-direction: column; gap: calc(var(--u) * 40); flex: none; }
.pn-imgs { display: flex; gap: calc(var(--u) * 32); }
.pn-fig { flex: 1; margin: 0; display: flex; flex-direction: column; gap: calc(var(--u) * 16); }
.pn-img { width: 100%; height: calc(var(--u) * 430); object-fit: cover; border-radius: calc(var(--u) * 16); }
.pn-right { flex: 1; display: flex; flex-direction: column; gap: calc(var(--u) * 28); }
.pn-item { display: flex; flex-direction: column; gap: calc(var(--u) * 8); padding-top: calc(var(--u) * 20); border-top: 2px solid var(--accent); }
.pn-item .small { font-size: var(--s24); }

/* Data table */
.l-datatable { padding: calc(var(--u) * 80) calc(var(--u) * 72); gap: calc(var(--u) * 28); }
.l-datatable .h2 { font-size: var(--s64); }
.dt-wrap { flex: 1; min-height: 0; }
.dt { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: calc(var(--u) * 21); line-height: 1.3; color: var(--fg); }
.dt th { text-align: left; font-weight: 600; background: #E6DCCB; padding: calc(var(--u) * 8) calc(var(--u) * 10); }
.dt td { padding: calc(var(--u) * 8) calc(var(--u) * 10); vertical-align: top; border-bottom: 1px solid var(--line); }
.dt td.strong { font-weight: 700; }
.dt tbody tr:nth-child(even) { background: rgba(214,200,178,.25); }
.t-dark .dt th, .t-black .dt th, .t-wine .dt th { background: #2A2520; }

/* Property */
.l-property { flex-direction: row; align-items: center; gap: calc(var(--u) * 96); }
.prop-imgs { display: flex; flex-direction: column; gap: calc(var(--u) * 24); flex: none; }
.prop-img { width: calc(var(--u) * 700); height: calc(var(--u) * 400); object-fit: cover; border-radius: calc(var(--u) * 16); }
.prop-body { flex: 1; display: flex; flex-direction: column; gap: calc(var(--u) * 40); }
.prop-call .num64 { color: #F5EFE4; }
.tbl tr.total td { font-weight: 700; background: #E6DCCB; }

@media screen and (max-width: 999px) {
  body:not(.present) .l-photonotes, body:not(.present) .l-property { flex-direction: column; align-items: stretch; }
  body:not(.present) .pn-left { width: auto; }
  body:not(.present) .pn-img { height: auto; aspect-ratio: 4 / 5; }
  body:not(.present) .prop-img { width: 100%; height: auto; aspect-ratio: 16 / 9; }
  body:not(.present) .l-datatable { padding: 72px 20px 56px; }
  body:not(.present) .dt-wrap { overflow-x: auto; margin: 0 -20px; padding: 0 20px; }
  body:not(.present) .dt { table-layout: auto; min-width: 900px; font-size: 14px; }
  body:not(.present) .dt th, body:not(.present) .dt td { padding: 8px; }
}
