:root {
  --ink: #1d1d1b;
  --ink-2: #55534f;
  --ink-3: #8a8884;
  --paper: #f7f4ec;
  --panel: #fffdf9;
  --rule: #e4e0d6;
  --grey: #ebe9e3;
  --grey-2: #e0ddd5;
  --accent: #5d6c7a;
  --font: -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--paper); color: var(--ink); font: 14px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
button, select { font: inherit; }
a { color: inherit; }

/* buttons: solid black pill (primary / on), flat light grey (secondary). No icons, no gradients. */
.btn { border: 0; border-radius: 999px; padding: 7px 15px; font-size: 13px; font-weight: 400; cursor: pointer; background: var(--grey); color: var(--ink); white-space: nowrap; line-height: 1.3; }
.btn:hover { background: var(--grey-2); }
.btn.on, .btn.primary { background: #111; color: #fff; }
.btn.on:hover, .btn.primary:hover { background: #2a2a2a; }
.row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }

.top { display: flex; align-items: center; gap: 20px; padding: 14px 24px; border-bottom: 1px solid var(--rule); background: var(--paper); flex-wrap: wrap; }
.brand { min-width: 200px; border-left: 4px solid var(--accent); padding-left: 12px; }
.kicker { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.title { font-size: 19px; font-weight: 300; }
.resorts, .views { display: flex; gap: 6px; flex-wrap: wrap; }
.views { margin-left: auto; }
.chk { font-size: 12px; color: var(--ink-3); }
.chk.bad { color: #a8432f; }

main { min-height: calc(100vh - 70px); }

/* overview */
.overview { max-width: 1260px; margin: 0 auto; padding: 36px 24px 64px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 40px; }
.overview h1 { font-size: 42px; font-weight: 200; line-height: 1.1; margin: 4px 0 6px; }
.overview .tag { color: var(--ink-2); font-size: 16px; margin: 0 0 22px; }
.overview .concept p { margin: 0 0 12px; font-size: 15px; color: #2f2e2b; max-width: 62ch; }
.unique { margin: 0; padding-left: 18px; }
.unique li { margin: 3px 0; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); border-top: 1px solid var(--ink); margin-top: 26px; }
.fact { padding: 10px 12px 12px 0; border-bottom: 1px solid var(--rule); }
.fact .k { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.fact .v { font-size: 19px; font-weight: 300; }
.fact .v.long { font-size: 13.5px; line-height: 1.35; padding-top: 4px; }
.thumb { background: var(--panel); border: 1px solid var(--rule); cursor: pointer; }
.thumb svg { width: 100%; height: auto; display: block; }
.section-h { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin: 30px 0 10px; }
.full { grid-column: 1 / -1; }
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.plain { margin: 0; padding-left: 18px; }
.plain li { margin: 4px 0; }
.day { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--accent); }
.day li { display: flex; gap: 14px; padding: 5px 0 5px 14px; }
.day .t { font-variant-numeric: tabular-nums; color: var(--ink-2); min-width: 44px; }
table.sched { width: 100%; border-collapse: collapse; font-size: 13px; }
table.sched th { text-align: left; font-weight: 400; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); border-bottom: 1px solid var(--ink); padding: 6px 10px 6px 0; }
table.sched td { border-bottom: 1px solid var(--rule); padding: 9px 12px 9px 0; vertical-align: top; }
table.sched td b { font-weight: 500; display: block; }
table.sched .muted { display: block; }
tr.prow { cursor: pointer; }
tr.prow:hover td { background: #f1eee5; }
tr.prow.on td { background: #ece7da; }
.tablewrap { overflow-x: auto; }
.muted { color: var(--ink-3); font-size: 12px; }

/* plans + 3d workspace */
.work { display: grid; grid-template-columns: minmax(0, 1fr) 300px; height: calc(100vh - 70px); min-height: 520px; }
.work.plans { grid-template-columns: 210px minmax(0, 1fr) 300px; }
.sheets { border-right: 1px solid var(--rule); overflow-y: auto; padding: 12px 10px 30px; background: var(--panel); }
.sheets .grp { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 14px 6px 6px; }
.sheetbtn { display: block; width: 100%; text-align: left; border: 0; background: transparent; padding: 6px 8px; border-radius: 8px; cursor: pointer; font-size: 13px; color: var(--ink); }
.sheetbtn:hover { background: var(--grey); }
.sheetbtn.on { background: #111; color: #fff; }
.sheetbtn .no { display: block; font-size: 10.5px; color: var(--ink-3); }
.sheetbtn.on .no { color: #bbb; }
.stage { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.bar { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 10px 16px; border-bottom: 1px solid var(--rule); }
.bar .sep { width: 1px; height: 22px; background: var(--rule); margin: 0 6px; }
.bar .grow { flex: 1; }
.bar label { font-size: 12px; color: var(--ink-2); display: flex; align-items: center; gap: 6px; }
.bar select { border: 0; background: var(--grey); border-radius: 999px; padding: 6px 10px; font-size: 12.5px; }
.bar input[type=range] { width: 110px; accent-color: #111; }
.canvas { position: relative; flex: 1; min-height: 0; overflow: hidden; background: var(--paper); }
.sheet { width: 100%; height: 100%; touch-action: none; cursor: grab; }
.sheet:active { cursor: grabbing; }
.sheet svg { width: 100%; height: 100%; display: block; }
.sheet .el { cursor: pointer; }
.sheet .el:hover { filter: brightness(0.96) saturate(1.1); }
.view3d { position: absolute; inset: 0; }
.view3d canvas { display: block; }
.labels3d { position: absolute; inset: 0; }
.lbl3 { font: 11px/1.2 var(--font); color: #2b2b2b; background: rgba(255,253,248,.85); padding: 2px 6px; border-radius: 3px; white-space: nowrap; pointer-events: none; }
.lbl3.zone { background: transparent; letter-spacing: .14em; font-size: 10px; color: #4e5a66; }
.hint { position: absolute; right: 14px; top: 10px; background: rgba(247,244,236,.85); padding: 2px 8px; border-radius: 3px; font-size: 11.5px; color: var(--ink-3); pointer-events: none; }

.panel { border-left: 1px solid var(--rule); background: var(--panel); overflow-y: auto; padding: 18px 20px 40px; }
.panel h2 { font-size: 20px; font-weight: 300; margin: 0 0 2px; }
.panel .sub { color: var(--ink-2); font-size: 12.5px; margin-bottom: 14px; }
.panel dl { display: grid; grid-template-columns: 96px 1fr; gap: 6px 10px; margin: 0 0 16px; font-size: 13px; }
.panel dt { color: var(--ink-3); }
.panel dd { margin: 0; }
.panel .lays { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.panel .note { color: var(--ink-2); font-size: 12.5px; border-left: 2px solid var(--rule); padding-left: 10px; margin: 0 0 14px; }

.compare { max-width: 1300px; margin: 0 auto; padding: 36px 24px 64px; }
.compare h1 { font-size: 32px; font-weight: 200; margin: 0 0 4px; }
.compare table th.v { font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--ink); font-weight: 300; }

/* print / headless */
body.print .top { display: none; }
body.print main { min-height: 0; }
body.print .work { display: block; height: auto; }
body.print .panel, body.print .bar, body.print .hint, body.print .sheets { display: none; }
body.print .canvas { overflow: visible; }
body.print .sheet svg { width: auto; height: auto; }

@media (max-width: 900px) {
  .top { padding: 12px 16px; gap: 10px; }
  .views { margin-left: 0; }
  .overview { grid-template-columns: 1fr; padding: 24px 16px 48px; gap: 16px; }
  .overview h1 { font-size: 30px; }
  .cols3 { grid-template-columns: 1fr; gap: 0; }
  .work, .work.plans { grid-template-columns: 1fr; height: auto; }
  .sheets { border-right: 0; border-bottom: 1px solid var(--rule); max-height: 30vh; }
  .stage { height: 64vh; }
  .hint { display: none; }
  .panel { border-left: 0; border-top: 1px solid var(--rule); }
  .compare { padding: 24px 16px; }
  .bar { padding: 8px 12px; }
}
