/* ibomhotel.com: identity in IDENTITY.md. Key-tag motif, registration-card rows. No shadows, no gradients.
   Shapes: cards/rows square. Key-tag shape (32px rounded LEFT end, square right) on hotel tags, chips and
   buttons. Text inputs and small labels 4px. Radii are written literally so designprobe can read them. */
@font-face { font-family: 'Rokkitt'; src: url('/fonts/rokkitt-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Rokkitt'; src: url('/fonts/rokkitt-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url('/fonts/ibm-plex-sans-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url('/fonts/ibm-plex-sans-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }

:root {
  --ground: #F4EDE0; --ink: #24201A; --muted: #5E5547; --rule: #D6CAB4; --card: #FBF7EF;
  --earth: #9C3F26; --on-earth: #FFFFFF; --river: #1E3C33; --brass: #A88438;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 20px; --s5: 32px; --s6: 52px;
  --measure: 68ch;
  --slab: 'Rokkitt', 'Rockwell', Georgia, serif;
  --sans: 'IBM Plex Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #17140F; --ink: #EEE7DA; --muted: #B9AF9E; --rule: #3A332A; --card: #211D17;
    --earth: #E4876A; --on-earth: #17140F; --river: #9CCBB9; --brass: #C9A458;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 1rem/1.6 var(--sans); font-variant-numeric: tabular-nums; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--earth); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: var(--s3); top: var(--s3); background: var(--card); padding: var(--s2) var(--s3); z-index: 10; }

h1, h2, h3 { font-family: var(--slab); color: var(--river); line-height: 1.2; margin: 0 0 var(--s3); }
h1 { font-size: clamp(2rem, 1.4rem + 2.8vw, 2.9rem); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: 1.6rem; font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 var(--s3); }

.wrap { max-width: calc(var(--measure) + 2 * var(--s4)); margin: 0 auto; padding: 0 var(--s4); }
@media (max-width: 400px) { .wrap { padding: 0 16px; } }

/* Header: wordmark + one line of honesty */
.site-head { border-bottom: 1px solid var(--rule); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: var(--s2); color: var(--ink); text-decoration: none; font: 700 1.45rem/1 var(--slab); }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand b { color: var(--earth); font-weight: 700; }
.head-nav { display: flex; gap: var(--s4); font-size: .95rem; }
.head-nav a { color: var(--ink); text-decoration: none; padding: var(--s3) 0; }
.head-nav a:hover { color: var(--earth); }
@media (max-width: 480px) { .head-nav a.opt { display: none; } }
.notice { background: var(--card); border-bottom: 1px solid var(--rule); font-size: .85rem; color: var(--muted); }
.notice .wrap { padding-top: var(--s2); padding-bottom: var(--s2); }

main { padding: var(--s4) 0 var(--s6); }
.lead { font-size: 1.05rem; max-width: var(--measure); }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: var(--s3); }
.crumbs a { color: var(--muted); }

/* Section opener: hairline + small-caps label, like a form heading */
.sec { margin-top: var(--s5); }
.sec > .label { display: block; border-top: 1px solid var(--rule); padding-top: var(--s2); margin-bottom: var(--s4); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* Filters */
.filters { display: grid; gap: var(--s3); margin: var(--s4) 0; }
.chips { display: flex; gap: var(--s2); align-items: center; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
.chips::-webkit-scrollbar { display: none; }
.chips .k { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); min-width: 3.6em; font-weight: 600; flex: none; }
.chip { flex: none; white-space: nowrap; font: 600 .9rem/1 var(--sans); min-height: 44px; padding: 0 var(--s3) 0 18px; border: 1px solid var(--rule); background: var(--card); color: var(--ink); cursor: pointer; border-radius: 32px 0 0 32px; }
.chip[aria-pressed="true"] { background: var(--river); border-color: var(--river); color: var(--ground); }
.count { font-size: .9rem; color: var(--muted); margin: 0; }

/* THE motif: key tag. Rounded left end with a punched ring; square right end. */
.tags { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); }
.tag { position: relative; display: grid; grid-template-columns: 64px 1fr; align-items: stretch; background: var(--card); border: 1px solid var(--rule); border-radius: 32px 0 0 32px; min-height: 88px; }
.tag[hidden] { display: none; }
.tag .no { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border-right: 1px dashed var(--rule); font: 700 1.35rem/1 var(--slab); color: var(--river); }
.tag .no::before { content: ''; width: 14px; height: 14px; border-radius: 7px; border: 2px solid var(--brass); background: var(--ground); }
.tag .body { padding: var(--s3) var(--s4) var(--s3) var(--s3); min-width: 0; }
.tag h3 { margin: 0 0 2px; font-size: 1.25rem; }
.tag h3 a { color: var(--river); text-decoration: none; }
.tag h3 a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.tag h3 a:hover { text-decoration: underline; }
.tag .meta { font-size: .9rem; color: var(--muted); margin: 0; }
.tag .price { font-weight: 600; color: var(--ink); }
.tag .tier { display: inline-block; border-radius: 4px; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--rule); padding: 1px 6px; margin-left: var(--s1); color: var(--muted); vertical-align: 2px; }

/* Registration card: labelled ruled rows */
.card { background: var(--card); border: 1px solid var(--rule); margin: var(--s4) 0; }
.card .row { display: grid; grid-template-columns: 8.5rem 1fr; gap: var(--s3); padding: var(--s3) var(--s4); border-top: 1px solid var(--rule); }
.card .row:first-child { border-top: 0; }
.card dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; padding-top: 3px; }
.card dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.card .big { font: 700 1.75rem/1.1 var(--slab); color: var(--river); }
.card .small { font-size: .85rem; color: var(--muted); }
@media (max-width: 480px) { .card .row { grid-template-columns: 1fr; gap: 2px; } }
.card-title { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); padding: var(--s3) var(--s4); border-bottom: 2px solid var(--river); font: 700 .8rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--river); }

/* Actions */
.book { display: grid; gap: var(--s2); margin: var(--s4) 0; }
.btn { border-radius: 32px 0 0 32px; display: flex; align-items: center; justify-content: space-between; gap: var(--s3); min-height: 52px; padding: 0 var(--s4); font: 600 1rem/1.2 var(--sans); text-decoration: none; border: 1px solid var(--earth); color: var(--earth); background: transparent; }
.btn.primary { background: var(--earth); color: var(--on-earth); }
.btn:hover { text-decoration: underline; }
.btn small { font-weight: 400; font-size: .8rem; opacity: .9; }
.btn svg { width: 20px; height: 20px; flex: none; }
.aff-note { font-size: .82rem; color: var(--muted); }

.facts { padding-left: 1.2em; }
.facts li { margin-bottom: var(--s2); }
.src { font-size: .85rem; color: var(--muted); }
.src ol { padding-left: 1.2em; }
.src a { color: var(--muted); overflow-wrap: anywhere; }

.tablewrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: var(--s2) var(--s3); border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }

.towns { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0; border-top: 1px solid var(--rule); }
.towns li { border-bottom: 1px solid var(--rule); }
.towns a { display: flex; justify-content: space-between; padding: var(--s3) var(--s2); min-height: 48px; align-items: center; text-decoration: none; font-weight: 600; }
.towns span { color: var(--muted); font-weight: 400; font-size: .9rem; }
.guides { list-style: none; padding: 0; margin: 0; }
.guides li { border-bottom: 1px solid var(--rule); padding: var(--s3) 0; }
.guides a { font: 600 1.1rem/1.3 var(--slab); }
.guides p { margin: 4px 0 0; color: var(--muted); font-size: .92rem; }

/* Forms (feedback, sale enquiry) */
form.fb { display: grid; gap: var(--s2); max-width: 36rem; }
label { font-weight: 600; font-size: .92rem; }
input, textarea, select { font: 400 1rem/1.4 var(--sans); padding: var(--s3); border: 1px solid var(--rule); background: var(--card); color: var(--ink); border-radius: 4px; width: 100%; }
textarea { min-height: 7rem; resize: vertical; }
button.send { border-radius: 32px 0 0 32px; justify-self: start; min-height: 48px; padding: 0 var(--s4); background: var(--river); color: var(--ground); border: 0; font: 600 1rem/1 var(--sans); cursor: pointer; }
.hp { position: absolute; left: -9999px; }
.status { min-height: 1.4em; font-size: .92rem; }

/* Footer */
.site-foot { border-top: 1px solid var(--rule); background: var(--card); padding: var(--s5) 0; font-size: .9rem; color: var(--muted); }
.site-foot a { color: var(--ink); }
.foot-links { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); list-style: none; padding: 0; margin: var(--s4) 0; }
.foot-links a { display: inline-block; padding: var(--s2) 0; }
.sale { display: inline-flex; gap: var(--s2); align-items: center; border: 1px dashed var(--brass); padding: var(--s2) var(--s3); color: var(--ink); text-decoration: none; }
.helpful { display: flex; gap: var(--s2); align-items: center; flex-wrap: wrap; margin-bottom: var(--s3); }
.helpful button { border-radius: 32px 0 0 32px; min-height: 44px; min-width: 64px; border: 1px solid var(--rule); background: var(--ground); color: var(--ink); font: 600 .9rem/1 var(--sans); cursor: pointer; }
details.report summary { cursor: pointer; color: var(--earth); padding: var(--s2) 0; min-height: 44px; display: flex; align-items: center; }
