/* BALKANOPOLY — the front page: top bar, hero, Start an expedition, open rooms, how it works, the invitation card, the loading plane.
   (Split out of the one big base.css in v9.7; files load in the order listed in index.html.) */
/* ----- home ----- */
.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 22px 20px 40px;
}
.logo {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
}
.logo svg {
  width: 100%;
  height: 100%;
}
.chip {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  border: 1px solid var(--rule);
  padding: 3px 10px;
  font-size: 14px;
  font-style: italic;
  color: var(--muted);
  background: var(--paper);
}
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 34px;
  align-items: start;
}
.hero h2 {
  font-family: var(--disp);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 74px);
  line-height: 0.95;
  margin: 0 0 10px;
  letter-spacing: 0.03em;
}
.hero h2 span {
  color: var(--accent);
}
.hero p {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.45;
  max-width: 560px;
  margin: 0 0 14px;
  font-style: italic;
}
.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 8px 0;
}
.legal {
  color: var(--muted);
  font-size: 14px;
  font-style: italic;
  margin-top: 26px;
  line-height: 1.5;
}
.resume {
  border-color: var(--accent);
  box-shadow:
    0 0 0 4px var(--paper),
    0 0 0 5px var(--accent);
}

/* ================= landing page ================= */
@keyframes lpan {
  to {
    background-position: 70% 50%;
  }
}
/* the passport */
.passport {
  background: #25395a;
  border-radius: 10px;
  padding: 12px;
  box-shadow: 0 14px 30px rgba(30, 30, 50, 0.35);
}
.pk {
  display: block;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 10px;
}
.pfield {
  display: block;
  width: 100%;
  margin: 2px 0 4px;
  padding: 8px 4px;
  font: 22px var(--body);
  background: transparent;
  border: 0;
  border-bottom: 2px dotted var(--rule);
  color: var(--ink);
  border-radius: 0;
}
.pfield:focus {
  outline: none;
  border-bottom-color: var(--accent);
}
.stampbtn {
  display: block;
  width: 100%;
  border: 0;
  cursor: pointer;
  padding: 13px 18px;
  font: 400 20px/1 var(--disp);
  letter-spacing: 0.06em;
  color: #fbf4e2;
  background: var(--accent);
  box-shadow:
    0 0 0 3px #fbf4e2,
    0 0 0 5px var(--accent),
    0 6px 14px rgba(59, 45, 29, 0.3);
  margin: 6px 0;
  transition: transform 0.12s;
}
.stampbtn:hover:not(:disabled) {
  transform: rotate(-1deg) scale(1.02);
}
.stampbtn:active:not(:disabled) {
  transform: scale(0.97);
}
.stampbtn:disabled {
  opacity: 0.6;
  cursor: default;
}
.stampbtn.green {
  background: var(--good);
  box-shadow:
    0 0 0 3px #fbf4e2,
    0 0 0 5px var(--good),
    0 6px 14px rgba(59, 45, 29, 0.3);
}
.pjoin {
  margin-top: 8px;
  padding-top: 4px;
  border-top: 1px dashed var(--rule);
}
.pjrow {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 4px;
}
.pjrow input {
  flex: 1;
  min-width: 0;
  padding: 10px;
  font: 17px var(--body);
  background: #fff8e8;
  border: 1px solid var(--rule);
}
.pjrow .stampbtn {
  width: auto;
  flex: none;
  padding: 11px 16px;
  font-size: 18px;
}
.passport .resume {
  border: 2px solid var(--good);
  background: #e9efd8;
  padding: 10px 12px;
  margin: 6px 0 4px;
  box-shadow: none;
  transform: rotate(-0.6deg);
}
.passport .resume h3 {
  margin: 0 0 4px;
  font-size: 18px;
}
/* demo pawn on the home map */
@keyframes lplant {
  from {
    transform: scale(0) rotate(-30deg);
  }
}
.lded {
  text-align: center;
  font-style: italic;
  font-size: 18px;
  line-height: 1.45;
  max-width: 640px;
  margin: 26px auto 0;
}
#home .legal {
  text-align: center;
  font-size: 13px;
}
/* loading: a little plane flies the route while the room opens */
.lload {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  background: rgba(59, 45, 29, 0.35);
}
.lload-card {
  background: var(--paper3);
  border: 1px solid var(--rule);
  box-shadow:
    0 0 0 5px var(--paper3),
    0 0 0 6px var(--rule),
    0 16px 40px rgba(59, 45, 29, 0.45);
  padding: 18px 26px 20px;
  text-align: center;
  width: min(360px, 88vw);
}
.lroute {
  width: 100%;
  height: auto;
}
.lplane {
  offset-path: path('M20 70 C90 10 200 10 280 60');
  offset-rotate: auto;
  animation: lfly 2.4s ease-in-out infinite;
}
@keyframes lfly {
  from {
    offset-distance: 0%;
  }
  to {
    offset-distance: 100%;
  }
}
.lload-card b {
  display: block;
  font-family: var(--disp);
  font-weight: 400;
  font-size: 22px;
  margin-top: 6px;
}
.lload-card small {
  font-style: italic;
  color: var(--muted);
}

/* phones: short and to the point — poster strip, logo, passport, then a swipe row */
@media (max-width: 820px) {
  .passport {
    padding: 8px;
  }
  .pk:first-child {
    text-align: center;
  }
  .lded {
    font-size: 15px;
    margin-top: 14px;
  }
  #home .legal {
    font-size: 12px;
    margin-top: 12px;
  }
}

/* "how it works" as postage stamps: perforated edges, a thin frame and a value */
.sin {
  padding: 10px 10px 12px;
  outline: 1px solid rgba(138, 117, 83, 0.5);
  outline-offset: -4px;
}

/* ----- the invitation: opening a friend's invite link ----- */
.invite {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(43, 30, 18, 0.55);
  backdrop-filter: blur(3px);
  animation: ifade 0.25s ease-out both;
}
.invite.hidden {
  display: none;
}
.icard {
  width: min(880px, 100%);
  max-height: calc(100vh - 32px);
  overflow: auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: var(--paper, #f4ead5);
  border-radius: 10px;
  box-shadow:
    0 24px 60px rgba(30, 18, 8, 0.5),
    inset 0 0 0 1px rgba(120, 90, 50, 0.35);
  animation: irise 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.iart {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  object-position: 30% 50%;
  border-radius: 10px 0 0 10px;
  display: block;
}
.ibody {
  padding: 30px 30px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.iwho {
  font: italic 22px var(--body);
  color: var(--ink);
}
.iwho b {
  font-style: normal;
  color: var(--accent);
}
.ititle {
  margin: 0;
  font: 400 44px/1.05 var(--disp);
  letter-spacing: 0.04em;
  color: var(--ink);
}
.iroom {
  margin: 2px 0 14px;
  font: 18px var(--body);
  letter-spacing: 0.08em;
  color: var(--ink);
  opacity: 0.8;
}
.iroom span {
  font-weight: 700;
  letter-spacing: 0.14em;
}
.ibody .stampbtn {
  margin-top: 14px;
}
.ilater {
  margin-top: 10px;
  background: none;
  border: 0;
  padding: 6px;
  cursor: pointer;
  font: 15px var(--body);
  color: var(--ink);
  opacity: 0.7;
  text-decoration: underline;
}
@keyframes ifade {
  from {
    opacity: 0;
  }
}
@keyframes irise {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
}
@media (max-width: 700px) {
  .icard {
    grid-template-columns: 1fr;
  }
  .iart {
    min-height: 0;
    height: 190px;
    border-radius: 10px 10px 0 0;
  }
  .ibody {
    padding: 20px 20px 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .invite,
  .icard {
    animation: none;
  }
}

/* ---- server rooms: public/private choice, the list of open rooms, requests, nickname ---- */
.vispick {
  display: flex;
  gap: 8px;
  margin: 10px 0 4px;
}
.vispick button {
  flex: 1;
  padding: 7px 8px;
  border: 1.5px solid var(--rule);
  background: var(--paper);
  color: var(--ink);
  font: 600 15px var(--body);
  border-radius: 4px;
  cursor: pointer;
  text-align: left;
}
.vispick button small {
  display: block;
  font-weight: 400;
  font-size: 12px;
  color: var(--muted);
}
.vispick button.on {
  border-color: #6b5539;
  background: #efe0bd;
  box-shadow: inset 0 0 0 1px #6b5539;
}
.rooms {
  margin: 8px 0 18px;
}
.roomshead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.rfilter {
  display: flex;
  gap: 4px;
}
.rfilter button {
  padding: 4px 10px;
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--ink);
  font: 14px var(--body);
  border-radius: 999px;
  cursor: pointer;
}
.rfilter button.on {
  background: #6b5539;
  color: #f6ecd2;
}
.rlist {
  display: grid;
  gap: 8px;
}
.rrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 12px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-left: 4px solid #3f7a4a;
  border-radius: 4px;
}
.rrow.locked {
  border-left-color: #b8862f;
}
.rinfo b {
  display: block;
  font-family: var(--body);
  font-size: 17px;
}
.rinfo small {
  color: var(--muted);
  font-size: 14px;
}
.rbtns {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.reqpop {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 95;
  display: grid;
  gap: 6px;
  max-width: min(360px, calc(100vw - 28px));
}
.reqpop .req {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 8px 10px;
  background: #fbf0d4;
  border: 2px solid #b8862f;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(59, 45, 29, 0.3);
  font: 15px var(--body);
  color: var(--ink);
  animation: pop 0.18s;
}
.reqpop .rq {
  display: flex;
  gap: 4px;
}
@media (max-width: 760px) {
  .reqpop {
    right: 8px;
    left: 8px;
    bottom: auto;
    top: 60px;
    max-width: none;
  }
}
.nickrow {
  margin-top: 6px;
}
.nickrow input {
  flex: 1;
  min-width: 120px;
}

/* ===================== v8.3 front page (Mix 1 · Atlas with Stamps) — desktop and phone together ===================== */
#home {
  background: #e8d9b5;
}
.vh {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.mono {
  font-family: var(--mono);
}
.ii {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}
/* top bar */
.hbar {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  position: relative;
  z-index: 40;
}
.hbar-in {
  max-width: 1240px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hlogo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.hname {
  font-family: var(--disp);
  font-size: 26px;
}
.hver {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: #5c4830;
  border: 1px solid var(--rule);
  padding: 4px 8px;
}
.hbar .sp {
  flex: 1;
}
#acctBox.acct {
  margin: 0;
  padding: 0;
  border: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}
#acctBox.acct.hidden {
  display: none;
}
.hicon {
  position: relative;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1.5px solid var(--rule);
  color: var(--ink);
}
.hicon .ii {
  width: 24px;
  height: 24px;
}
.hicon .acbadge {
  position: absolute;
  top: -9px;
  right: -9px;
  margin: 0;
  min-width: 20px;
  line-height: 20px;
  font-family: var(--mono);
  font-weight: 700;
}
.hchip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 14px 4px 4px;
  min-height: 46px;
  background: var(--paper3);
  border: 1.5px solid var(--rule);
  color: var(--ink);
  text-align: left;
}
.hchip img,
.hchip .acav {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  display: grid;
  place-items: center;
  background: var(--paper2);
  flex: none;
}
.hchip-t {
  display: flex;
  flex-direction: column;
  gap: 3px; /* v9.1.1b: name and stats no longer touch */
  line-height: 1.25;
  min-width: 0;
}
.hchip-t b {
  font-size: 17px;
  line-height: 1.2;
}
.hchip-t small {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5c4830;
}
.hsignin .ii {
  width: 18px;
  height: 18px;
}
/* the sign-in card: drops down under the button on desktop, slides up from the bottom on phones */
.signcard {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: 360px;
  z-index: 150;
  background: var(--paper);
  border: 1px solid var(--ink);
  outline: 1px solid var(--rule);
  outline-offset: -6px;
  padding: 22px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 18px 40px rgba(59, 45, 29, 0.35);
}
.signcard.hidden {
  display: none;
}
.signhead {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.signhead h3 {
  margin: 0;
  font-family: var(--disp);
  font-weight: 400;
  font-size: 28px;
}
.signcard p {
  margin: 0;
  font-size: 17px;
  line-height: 1.4;
}
.signcard .gbtn {
  min-height: 46px;
}
.signsoon {
  text-align: center;
  font-size: 15px;
  color: #5c4830;
  border: 1.5px dashed var(--rule);
  border-radius: 24px;
  padding: 10px;
}
.signfoot {
  font-size: 15px;
  line-height: 1.4;
  color: #5c4830;
  border-top: 1px dashed var(--rule);
  padding-top: 10px;
}
.signfoot b {
  color: var(--ink);
}
/* invites to rooms: a slim strip under the top bar */
.invbar {
  max-width: 1240px;
  margin: 10px auto 0;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.invbar.hidden {
  display: none;
}
.invbar .acinv {
  margin: 0;
  gap: 10px;
  flex-wrap: nowrap;
}
.invbar .acinv > span:first-of-type {
  flex: 1;
  min-width: 0;
}
/* hero */
.hhero {
  position: relative;
  overflow: hidden;
  background: #cdb98e;
}
.hhero-bg {
  position: absolute;
  inset: 0;
  background: url(../img/landing/poster.webp) 75% 40% / cover no-repeat;
}
.hhero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(232, 217, 181, 0.97) 0%, rgba(232, 217, 181, 0.9) 38%, rgba(232, 217, 181, 0) 70%);
}
.hhero-in {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 56px 24px 76px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.heyebrow {
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #5c4830;
}
.hhero-in {
  container-type: inline-size; /* v9.2.0b: the headline sizes itself to the space it has */
}
.htitle {
  margin: 0;
  font-family: var(--disp);
  font-weight: 400;
  /* "Invite your friends to stay," always fits on its first line (about 10.5 × the font size wide) */
  font-size: min(60px, 8.6cqw);
  line-height: 1.02;
}
.hsub {
  margin: 0;
  font-size: 22px;
  line-height: 1.45;
  max-width: 560px;
}
/* main: Start an expedition + Open rooms */
.hmain {
  max-width: 1240px;
  margin: -28px auto 0;
  padding: 0 24px 64px;
  display: flex;
  flex-direction: column;
  gap: 48px;
  position: relative;
  z-index: 2;
}
.hrow {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
}
.hstart {
  flex: 1 1 420px;
  min-width: 0;
  position: relative;
  background: var(--paper);
  border: 1px solid var(--ink);
  outline: 1px solid var(--rule);
  outline-offset: -6px;
  padding: 30px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 14px 30px rgba(59, 45, 29, 0.22);
}
.hstamp {
  position: absolute;
  right: 26px;
  top: -18px;
  width: 66px;
  height: 66px;
  border: 2.5px double var(--bad);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--bad);
  background: var(--paper);
  font: 700 10px/1.2 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  transform: rotate(-12deg);
}
.hh2 {
  margin: 0;
  font-family: var(--disp);
  font-weight: 400;
  font-size: 30px;
}
.hlab {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5c4830;
  margin-bottom: -6px;
}
.hfield {
  width: 100%;
  font: 20px var(--body);
  padding: 10px 14px;
  min-height: 48px;
  background: var(--paper3);
  border: 1.5px solid var(--rule);
  color: var(--ink);
  border-radius: 0;
}
.hfield.mono {
  font: 19px var(--mono);
}
.hstart .vispick {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}
.hstart .vispick.hidden {
  display: none;
}
.hstart .vispick button {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  padding: 10px 14px;
  min-height: 56px;
  background: transparent;
  border: 1.5px solid var(--rule);
  color: var(--ink);
  font: inherit;
  box-shadow: none;
}
.hstart .vispick button.on {
  background: var(--paper3);
  border: 2px solid var(--ink);
}
.hstart .vispick .ii {
  width: 24px;
  height: 24px;
}
.hstart .vispick b {
  display: block;
  font-size: 18px;
}
.hstart .vispick small {
  display: block;
  font-size: 14px;
  color: #5c4830;
  margin: 0;
}
.hstart .btn.wide {
  width: auto;
  align-self: stretch;
  margin: 6px 3px 2px;
}
.hor {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #5c4830;
  font-style: italic;
}
.hor::before,
.hor::after {
  content: '';
  flex: 1;
  border-top: 1px dashed var(--rule);
}
.hstart .pjoin {
  margin: 0;
  padding: 0;
  border: 0;
}
.hstart .pjrow {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.hstart .pjrow input {
  flex: 1 1 200px;
  min-width: 0;
}
.hstart .pjrow .btn {
  margin: 4px;
  min-height: 48px;
}
.hstart .resume {
  margin: 0;
}
.rooms {
  flex: 1 1 520px;
  min-width: 0;
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
}
.rooms.hidden {
  display: none;
}
.roomshead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 20px 24px 14px;
  margin: 0;
}
.rfilter {
  display: flex;
  border: 1.5px solid var(--rule);
  gap: 0;
}
.rfilter button {
  font: 500 16px var(--body);
  padding: 8px 14px;
  min-height: 44px;
  background: transparent;
  color: var(--ink);
  border: 0;
  border-left: 1px solid var(--rule);
  border-radius: 0;
}
.rfilter button:first-child {
  border-left: 0;
}
.rfilter button.on {
  background: var(--ink);
  color: var(--paper3);
}
.rlist {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.rlist .hint {
  padding: 16px 24px;
  font-style: italic;
  color: #5c4830;
  border-top: 1px dashed var(--light);
}
.rooms .rrow {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 24px;
  border: 0;
  border-top: 1px dashed var(--light);
  background: transparent;
  margin: 0;
  box-shadow: none;
}
.rrow .ricon .ii {
  width: 24px;
  height: 24px;
}
.rooms .rinfo {
  flex: 1 1 200px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.rooms .rinfo b {
  font-size: 19px;
}
.rooms .rinfo small {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5c4830;
}
.rooms .rrow.waiting .rinfo small {
  color: var(--good);
}
.rooms .rrow.playing .rinfo small {
  color: var(--accent);
}
.rooms .rbtns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.rfoot {
  padding: 12px 24px 18px;
  border-top: 1px dashed var(--light);
  font-size: 15px;
  font-style: italic;
  color: #5c4830;
}
/* how it works */
.hhow {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hhow-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.hcard {
  background: var(--paper);
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
}
.hcard-ph {
  height: 180px;
  background-size: cover;
  background-position: center;
}
.hcard-in {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hstep {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5c4830;
}
.hcard-in b {
  font-family: var(--disp);
  font-weight: 400;
  font-size: 24px;
}
.hcard-in p {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
}
.hfoot {
  border-top: 1px solid var(--rule);
  padding-top: 16px;
  font-size: 15px;
  color: #5c4830;
}
.hfoot .lded,
.hfoot .legal {
  margin: 0 0 8px;
  max-width: none;
  text-align: left;
}
/* ---- phones ---- */
@media (max-width: 700px) {
  .hbar-in {
    padding: 8px 14px;
    gap: 10px;
  }
  .hlogo {
    width: 36px;
    height: 36px;
  }
  .hname {
    font-size: 21px;
  }
  .hver {
    display: none;
  }
  .hicon {
    width: 44px;
    height: 44px;
  }
  .hchip {
    padding: 2px;
    min-height: 44px;
  }
  .hchip-t {
    display: none;
  }
  .signcard {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    width: auto;
    outline: 0;
    border: 0;
    border-top: 2px solid var(--ink);
    padding: 18px 18px calc(22px + env(safe-area-inset-bottom));
    box-shadow: 0 -10px 30px rgba(59, 45, 29, 0.35);
  }
  .invbar {
    padding: 0 14px;
  }
  .invbar .acinv {
    flex-wrap: wrap;
  }
  .hhero-bg {
    background-position: 78% 40%;
  }
  .hhero::after {
    background: linear-gradient(180deg, rgba(232, 217, 181, 0) 0%, rgba(232, 217, 181, 0.75) 55%, rgba(232, 217, 181, 1) 100%);
  }
  .hhero-in {
    padding: 110px 16px 40px;
    gap: 8px;
  }
  .heyebrow {
    font-size: 12px;
    letter-spacing: 0.14em;
  }
  .htitle {
    font-size: min(36px, 8.6cqw); /* a little margin: the real IM Fell small capitals run ~3% wider */
    line-height: 1.08;
  }
  .hsub {
    font-size: 18px;
    line-height: 1.4;
  }
  .hmain {
    margin-top: -16px;
    padding: 0 14px 32px;
    gap: 28px;
  }
  .hrow {
    gap: 22px;
  }
  .hstart {
    flex-basis: 100%;
    padding: 22px 18px;
    outline-offset: -5px;
  }
  .hstamp {
    right: 14px;
    top: -16px;
    width: 56px;
    height: 56px;
    font-size: 9px;
  }
  .hh2 {
    font-size: 26px;
  }
  .hstart .vispick button {
    padding: 8px 10px;
    min-height: 52px;
  }
  .hstart .vispick small {
    display: none;
  }
  .rooms {
    flex-basis: 100%;
  }
  .roomshead {
    padding: 16px 16px 10px;
    flex-direction: column;
    align-items: stretch;
  }
  .rfilter {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .rfilter button {
    padding: 6px 2px;
    font-size: 15px;
  }
  .rooms .rrow {
    padding: 12px 16px;
    flex-wrap: nowrap;
  }
  .rooms .rinfo {
    flex: 1 1 auto;
  }
  .rooms .rinfo b {
    font-size: 18px;
  }
  .rooms .rinfo small {
    font-size: 12px;
  }
  .rooms .rbtns {
    flex-direction: column;
    align-items: stretch;
  }
  .rfoot {
    padding: 10px 16px 14px;
  }
  /* "How it works" becomes a row of cards you swipe through */
  .hhow-list {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 84%;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding-bottom: 6px;
  }
  .hcard {
    scroll-snap-align: start;
  }
  .hcard-ph {
    height: 150px;
  }
}
.signfoot a,
.hfoot a {
  color: var(--accent);
}
