:root {
  --ink: #16201d;
  --ink2: #56605c;
  --paper: #f5f5f2;
  --card: #fff;
  --line: #dedfda;
  --accent: #c9531a;
  --accent-d: #a84313;
  --ok: #2f6f4f;
  --warn: #9a6a12;
  --r: 6px;
  --font: "Inter", system-ui, sans-serif;
}
.t * {
  box-sizing: border-box;
}
.t {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  margin: 0;
  line-height: 1.5;
}
.t h1,
.t h2,
.t h3 {
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
}
.t a {
  color: inherit;
}
.t svg.i {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -3px;
  margin-right: 6px;
}
.t :focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 6%;
  background: var(--card);
  border-bottom: 1px solid var(--line);
}
.nav .logo {
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
}
.nav .logo b {
  color: var(--accent);
}
.nav a.l {
  margin-left: 24px;
  font-size: 14px;
  color: var(--ink2);
  text-decoration: none;
}
.nav a.l:hover {
  color: var(--ink);
}
.hero {
  position: relative;
  color: #fff;
  padding: 96px 6% 40px;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  background: #222 center/cover;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 20%, rgba(10, 14, 12, 0.78));
}
.hero > div {
  position: relative;
  max-width: 900px;
}
.hero h1 {
  font-size: clamp(30px, 5vw, 52px);
}
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin-top: 12px;
  font-size: 14px;
  opacity: 0.92;
}
.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 6%;
}
.sec {
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}
.sec > h2 {
  font-size: 22px;
  margin-bottom: 6px;
}
.sub {
  color: var(--ink2);
  font-size: 14px;
  margin: 0 0 22px;
}
.btn {
  font: 600 14px var(--font);
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: var(--r);
  padding: 11px 18px;
  cursor: pointer;
  transition: background 0.15s;
}
.btn:hover {
  background: var(--accent-d);
}
.btn:disabled {
  background: #b9bbb5;
  cursor: not-allowed;
}
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn.ghost:hover {
  border-color: var(--ink);
}
.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: var(--card);
}
.badge.open {
  color: var(--ok);
  border-color: #b7d3c3;
}
.badge.near {
  color: var(--warn);
  border-color: #e3cd9b;
}
.badge.full {
  color: #8a2d1c;
  border-color: #e0b3a8;
}
.prefs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin-bottom: 26px;
}
.prefs label {
  font-size: 12px;
  color: var(--ink2);
  display: block;
}
.prefs input,
.prefs select {
  width: 100%;
  margin-top: 4px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  font: 14px var(--font);
  background: #fff;
}
.cmp {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.opt {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px;
}
.opt.top {
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}
.opt .p {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 6px 0 2px;
}
.opt dl {
  margin: 14px 0 0;
  font-size: 13px;
}
.opt dl div {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  border-top: 1px solid var(--line);
}
.opt dt {
  color: var(--ink2);
}
.opt dd {
  margin: 0;
  font-weight: 500;
  text-align: right;
}
.why {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--r);
  padding: 16px 18px;
  margin-top: 18px;
  font-size: 14px;
}
.why ul {
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--ink2);
}
.calc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.row {
  display: grid;
  grid-template-columns: 1fr 90px 90px;
  gap: 10px;
  align-items: center;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.row input {
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font: 14px var(--font);
  width: 100%;
}
.row .a {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.bar {
  display: flex;
  height: 10px;
  border-radius: 2px;
  overflow: hidden;
  margin: 14px 0;
}
.bar i {
  display: block;
  transition: width 0.3s;
}
.tot {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.seats {
  display: grid;
  grid-template-columns: repeat(4, 56px);
  gap: 10px;
  padding: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  width: max-content;
  max-width: 100%;
}
.seat {
  width: 56px;
  height: 56px;
  border-radius: 8px 8px 4px 4px;
  border: 1.5px dashed #b5b8b1;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
  position: relative;
  background: transparent;
  color: var(--ink2);
  cursor: default;
}
.seat.on {
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  animation: pop 0.25s ease;
}
.seat.host {
  background: var(--accent);
  border-color: var(--accent);
}
.seat.me {
  box-shadow:
    0 0 0 3px var(--paper),
    0 0 0 4.5px var(--ink);
}
.legend {
  display: flex;
  gap: 18px;
  font-size: 12px;
  color: var(--ink2);
  margin-top: 14px;
}
.tip {
  min-height: 22px;
  font-size: 14px;
  margin-top: 12px;
}
.skel {
  background: linear-gradient(90deg, #e8e8e4 25%, #f1f1ee 50%, #e8e8e4 75%);
  background-size: 200% 100%;
  animation: sh 1.2s infinite;
  border-radius: var(--r);
  height: 90px;
}
dialog {
  border: 0;
  border-radius: 10px;
  padding: 26px;
  max-width: 440px;
  width: 92%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}
dialog::backdrop {
  background: rgba(15, 20, 18, 0.5);
}
dialog[open] {
  animation: pop 0.2s ease;
}
dialog h3 {
  margin-bottom: 12px;
}
dialog .btns {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 20px;
}
#toasts {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: grid;
  gap: 8px;
  z-index: 50;
}
.toast {
  background: var(--ink);
  color: #fff;
  padding: 12px 16px;
  border-radius: var(--r);
  font-size: 14px;
  animation: pop 0.2s ease;
}
.toast.err {
  background: #8a2d1c;
}
.demo {
  font-size: 12px;
  color: var(--ink2);
  margin-top: 12px;
}
@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes sh {
  to {
    background-position: -200% 0;
  }
}
@media (max-width: 760px) {
  .calc {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 60px;
    min-height: 300px;
  }
  .nav a.l {
    margin-left: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

.sr {
  position: absolute;
  left: -9999px;
}
.chat {
  height: 300px;
  overflow: auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 14px;
  display: grid;
  gap: 10px;
  align-content: start;
}
.msg {
  max-width: 75%;
  font-size: 14px;
}
.msg.mine {
  justify-self: end;
  text-align: right;
}
.msg div {
  background: #ecece8;
  padding: 8px 12px;
  border-radius: var(--r);
  display: inline-block;
  animation: pop 0.2s ease;
}
.msg.mine div {
  background: var(--ink);
  color: #fff;
}
.chatbar {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.chatbar input {
  flex: 1;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  font: 14px var(--font);
}

/* ===== Shared design system additions (all pages) ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
}
.nav nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.nav a.l[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}
.nav button.l {
  margin-left: 24px;
  background: none;
  border: 0;
  font: 14px var(--font);
  color: var(--ink2);
  cursor: pointer;
}
.land {
  padding: 110px 6% 70px;
  max-width: 1040px;
  margin: 0 auto;
}
.land h1 {
  font-size: clamp(34px, 6vw, 64px);
  max-width: 760px;
}
.land p {
  max-width: 560px;
  color: var(--ink2);
  font-size: 18px;
  margin: 18px 0 28px;
}
.land .btn + .btn {
  margin-left: 10px;
}
a.btn {
  display: inline-block;
  text-decoration: none;
}
.btn.ghost {
  background: transparent;
}
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.steps div {
  padding: 24px 24px 24px 0;
}
.steps h3 {
  font-size: 16px;
  margin-bottom: 6px;
}
.steps p {
  font-size: 14px;
  color: var(--ink2);
  margin: 0;
}
.foot {
  padding: 30px 6%;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink2);
}
.filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.filters label {
  font-size: 12px;
  color: var(--ink2);
}
.filters input,
.filters select,
.form-container input,
.form-container select,
.form-container textarea {
  width: 100%;
  margin: 4px 0 14px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  font: 14px var(--font);
  background: #fff;
}
.filters input,
.filters select {
  margin-bottom: 0;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 18px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition:
    transform 0.15s,
    border-color 0.15s;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-2px);
  border-color: #b5b8b1;
}
.card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}
.card .b {
  padding: 16px;
  display: grid;
  gap: 6px;
  flex: 1;
}
.card h3 {
  font-size: 17px;
}
.card .m {
  font-size: 13px;
  color: var(--ink2);
}
.empty {
  text-align: center;
  padding: 60px 20px;
  border: 1px dashed var(--line);
  border-radius: var(--r);
  grid-column: 1/-1;
}
.empty h3 {
  margin-bottom: 6px;
}
.page {
  max-width: 1040px;
  margin: 0 auto;
  padding: 44px 6% 70px;
}
.page > h1 {
  font-size: 34px;
  margin-bottom: 6px;
}
.form-container {
  max-width: 480px;
  margin: 50px auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 32px;
}
.form-container h2 {
  font-size: 24px;
  margin-bottom: 6px;
}
.form-container > p {
  color: var(--ink2);
  font-size: 14px;
  margin: 0 0 20px;
}
.form-container button {
  width: 100%;
  font: 600 14px var(--font);
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: var(--r);
  padding: 12px;
  cursor: pointer;
}
.form-container button:hover {
  background: var(--accent-d);
}
.form-container button:disabled {
  background: #b9bbb5;
}
.form-link a {
  color: var(--accent);
  font-weight: 600;
}
.form-container .form-link {
  margin-top: 16px;
}
.request-card,
.profile-container,
.info-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px;
  margin-bottom: 12px;
}
.request-card h3 {
  font-size: 17px;
  margin: 8px 0 4px;
}
.request-card p {
  font-size: 14px;
  color: var(--ink2);
  margin: 2px 0;
}
.request-status {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 99px;
  border: 1px solid var(--line);
}
.status-accepted {
  color: var(--ok);
}
.status-rejected {
  color: #8a2d1c;
}
.status-pending {
  color: var(--warn);
}
.request-buttons {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.accept-btn,
.reject-btn,
.logout-btn {
  font: 600 14px var(--font);
  border-radius: var(--r);
  padding: 9px 16px;
  cursor: pointer;
  border: 1px solid var(--ink);
}
.accept-btn {
  background: var(--ink);
  color: #fff;
}
.reject-btn,
.logout-btn {
  background: transparent;
  color: var(--ink);
}
.profile-container {
  max-width: 640px;
  margin: 44px auto;
}
.profile-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0;
}
.info-box small {
  display: block;
  color: var(--ink2);
}
.profile-avatar {
  display: none;
}
.profile-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.profile-actions .btn {
  text-decoration: none;
}
.loading,
.no-trips {
  color: var(--ink2);
  font-size: 14px;
  padding: 20px 0;
}
.section-title {
  font-size: 18px;
  margin: 30px 0 12px;
}
.page-description {
  color: var(--ink2);
  margin: 0 0 20px;
}
.requests-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 44px 6%;
}

/* ===== Phase 3 additions ===== */
.nav {
  flex-wrap: wrap;
  gap: 8px;
}
.bellbox {
  position: relative;
  margin-left: auto;
  margin-right: 12px;
}
.burger {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 7px 12px;
  font: 14px var(--font);
  cursor: pointer;
}
.bell {
  position: relative;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--ink);
  padding: 6px;
}
.bell i {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--accent);
  color: #fff;
  font: 600 10px var(--font);
  font-style: normal;
  border-radius: 99px;
  padding: 1px 5px;
}
.panel {
  position: absolute;
  right: 0;
  top: 36px;
  width: 300px;
  max-width: 86vw;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  z-index: 30;
  max-height: 360px;
  overflow: auto;
}
.panel a,
.panel p {
  display: block;
  padding: 12px 14px;
  font-size: 13px;
  border-bottom: 1px solid var(--line);
  margin: 0;
  text-decoration: none;
  color: var(--ink2);
}
.panel a.un {
  color: var(--ink);
  font-weight: 600;
}
.hero > .ring {
  position: absolute;
  right: 6%;
  bottom: 40px;
  text-align: center;
  font-size: 12px;
}
.sys {
  text-align: center;
  font-size: 12px;
  color: var(--ink2);
}
.mem {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
dialog label {
  display: block;
  font-size: 12px;
  color: var(--ink2);
}
dialog input,
dialog textarea,
dialog select {
  width: 100%;
  margin: 4px 0 12px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  font: 14px var(--font);
}
@media (max-width: 760px) {
  .nav nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
  }
  .nav.open nav {
    display: flex;
  }
  .nav a.l,
  .nav button.l {
    margin-left: 0;
  }
  .burger {
    display: block;
  }
  .hero > .ring {
    position: static;
    margin-top: 16px;
  }
  .hero {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
  }
  .filters {
    grid-template-columns: 1fr 1fr;
  }
  .profile-info {
    grid-template-columns: 1fr;
  }
}

/* ===== Landing page ===== */
.ico {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: var(--accent);
  background: var(--paper);
}
.ico svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.fcards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}
.fc {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
  transition:
    transform 0.15s,
    border-color 0.15s;
}
.fc:hover {
  transform: translateY(-2px);
  border-color: #b5b8b1;
}
.fc h3 {
  font-size: 17px;
  margin-bottom: 6px;
}
.fc p {
  font-size: 14px;
  color: var(--ink2);
  margin: 0;
}
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.dests {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.dest {
  position: relative;
  display: block;
  height: 300px;
  border-radius: var(--r);
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background: #222 center/cover;
}
.dest:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 45%, rgba(10, 14, 12, 0.8));
  transition: opacity 0.2s;
}
.dest span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
}
.dest b {
  display: block;
  font-size: 20px;
  font-weight: 600;
}
.dest small {
  opacity: 0.85;
  font-size: 13px;
}
.dest {
  transition: transform 0.2s;
}
.dest:hover {
  transform: translateY(-3px);
}
.pv {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}
.pv .box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 8px 22px;
}
.pv .r {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.pv .r:first-child {
  border: 0;
}
.pv .r.best {
  font-weight: 600;
}
.pv .r small {
  display: block;
  color: var(--ink2);
  font-weight: 400;
  font-size: 12px;
}
.pv .r b {
  font-size: 20px;
  letter-spacing: -0.02em;
  font-weight: 600;
}
.pv .note {
  font-size: 12px;
  color: var(--ink2);
  padding: 0 0 14px;
}
.ticks {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  font-size: 14px;
  color: var(--ink2);
}
.ticks li {
  padding: 7px 0 7px 26px;
  position: relative;
}
.ticks li:before {
  content: "";
  position: absolute;
  left: 2px;
  top: 13px;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.cta2 {
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: 72px 6%;
}
.cta2 h2 {
  font-size: clamp(26px, 4vw, 38px);
  margin-bottom: 10px;
}
.cta2 p {
  color: #b8c0bb;
  margin: 0 0 26px;
}
.cta2 .btn.ghost {
  color: #fff;
  border-color: #56605c;
  margin-left: 10px;
}
.cta2 .btn.ghost:hover {
  border-color: #fff;
}
.ft {
  background: #0f1512;
  color: #aab3ae;
  padding: 56px 6% 28px;
  font-size: 14px;
}
.ft .cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  max-width: 1040px;
  margin: 0 auto;
}
.ft .logo {
  color: #fff;
  font-weight: 700;
  font-size: 18px;
}
.ft .logo b {
  color: var(--accent);
}
.ft p {
  margin: 10px 0 0;
  max-width: 280px;
  line-height: 1.6;
}
.ft h4 {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 14px;
}
.ft a {
  display: block;
  color: #aab3ae;
  text-decoration: none;
  padding: 5px 0;
}
.ft a:hover {
  color: #fff;
}
.ft .base {
  max-width: 1040px;
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid #26302b;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
}
@media (max-width: 760px) {
  .pv {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .ft .cols {
    grid-template-columns: 1fr 1fr;
  }
  .ft .cols > div:first-child {
    grid-column: 1/-1;
  }
  .dest {
    height: 220px;
  }
}

/* ===== Landing hero (photo-led) ===== */
.hx {
  max-width: 1240px;
  margin: 20px auto 0;
  padding: 0 20px;
}
.hx .photo {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  min-height: 640px;
  color: #fff;
  display: flex;
  align-items: flex-end;
  background: #1a2420
    url("https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?w=2000&q=75")
    center/cover;
}
.hx .photo:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(8, 12, 10, 0.72) 0%,
    rgba(8, 12, 10, 0.25) 60%,
    rgba(8, 12, 10, 0.1) 100%
  );
}
.hx .in {
  position: relative;
  padding: 56px 56px 128px;
  max-width: 760px;
}
.hx .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.45);
  padding: 5px 12px;
  border-radius: 99px;
  margin-bottom: 22px;
}
.hx h1 {
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0;
}
.hx p {
  font-size: 18px;
  line-height: 1.55;
  max-width: 520px;
  margin: 20px 0 28px;
  color: rgba(255, 255, 255, 0.88);
}
.hx .btn.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
  margin-left: 10px;
}
.hx .btn.ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
.fcard {
  position: absolute;
  right: 32px;
  bottom: 120px;
  width: 230px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  border-radius: 8px;
  padding: 10px;
  text-decoration: none;
  display: block;
}
.fcard img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 5px;
  display: block;
}
.fcard small {
  display: block;
  font-size: 11px;
  color: var(--ink2);
  margin: 10px 4px 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.fcard b {
  display: block;
  margin: 2px 4px 4px;
  font-size: 15px;
}
.sbar {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: -52px auto 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 14px 40px rgba(15, 25, 20, 0.12);
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr auto;
  align-items: stretch;
}
.sbar label {
  display: block;
  padding: 16px 20px;
  border-right: 1px solid var(--line);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink2);
}
.sbar input {
  display: block;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font: 500 16px var(--font);
  color: var(--ink);
  margin-top: 4px;
  padding: 0;
}
.sbar label:focus-within {
  background: var(--paper);
}
.sbar .btn {
  margin: 10px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sbar .btn svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}
.stats {
  max-width: 1000px;
  margin: 36px auto 0;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}
.stats b {
  display: block;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.stats span {
  font-size: 13px;
  color: var(--ink2);
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split .ph {
  position: relative;
  min-height: 420px;
  border-radius: 10px;
  background: #1a2420
    url("https://images.unsplash.com/photo-1469854523086-cc02fe5d8800?w=1100&q=75")
    center/cover;
}
.split .float {
  position: absolute;
  right: -24px;
  bottom: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 14px 40px rgba(15, 25, 20, 0.15);
}
.split .float .seats {
  border: 0;
  padding: 0;
  grid-template-columns: repeat(4, 44px);
  gap: 8px;
}
.split .float .seat {
  width: 44px;
  height: 44px;
  font-size: 12px;
}
.split .float p {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--ink2);
}
.split .float p b {
  color: var(--ink);
}
@media (max-width: 860px) {
  .hx .in {
    padding: 36px 24px 110px;
  }
  .fcard {
    display: none;
  }
  .hx .photo {
    min-height: 560px;
  }
  .sbar {
    grid-template-columns: 1fr 1fr;
    margin: -52px 12px 0;
  }
  .sbar label {
    border-bottom: 1px solid var(--line);
  }
  .sbar .btn {
    grid-column: 1/-1;
    padding: 14px;
    justify-content: center;
  }
  .stats {
    grid-template-columns: 1fr;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .split .float {
    right: 12px;
  }
}

/* Fix: featured card text was inheriting white from the hero */
.hx .fcard,
.hx .fcard b {
  color: var(--ink);
}
.hx .fcard small {
  color: var(--ink2);
}
.hx .fcard:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* ===== Nearby ===== */
.near-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
#nearTabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.ntab {
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 10px 14px;
  font: 500 14px var(--font);
  color: var(--ink2);
  cursor: pointer;
  margin-bottom: -1px;
}
.ntab span {
  font-size: 12px;
  color: var(--ink2);
  margin-left: 4px;
}
.ntab[aria-selected="true"] {
  color: var(--ink);
  border-color: var(--accent);
}
.ntab:hover {
  color: var(--ink);
}
.near-bar label {
  font-size: 12px;
  color: var(--ink2);
  padding-bottom: 8px;
}
.near-bar select {
  margin-left: 8px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  font: 14px var(--font);
  background: #fff;
}
.near {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 20px;
}
#nearList {
  max-height: 440px;
  overflow: auto;
  padding-right: 4px;
}
#nearMap {
  height: 440px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  z-index: 0;
}
.nitem {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  margin-bottom: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: border-color 0.15s;
}
.nitem:hover,
.nitem:focus-visible {
  border-color: var(--ink);
}
.nitem strong {
  display: block;
}
.nitem .demo {
  margin: 2px 0 0;
  display: block;
}
.nitem .nr {
  text-align: right;
  white-space: nowrap;
}
.nitem .nr b {
  display: block;
  font-weight: 600;
}
.nitem .nr a {
  font-size: 12px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
@media (max-width: 760px) {
  .near {
    grid-template-columns: 1fr;
  }
  #nearMap {
    height: 320px;
    order: -1;
  }
  #nearList {
    max-height: 360px;
  }
}

.nb-h {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 10px;
}
.nb {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}
.nb-card {
  text-align: left;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 12px 14px;
  cursor: pointer;
  font: 13px var(--font);
  color: var(--ink2);
  display: grid;
  gap: 2px;
  transition: border-color 0.15s;
}
.nb-card:hover {
  border-color: var(--ink);
}
.nb-card strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}
.nb-card .demo {
  margin: 0;
}
.near-ctl {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 6px;
}
.near-ctl label {
  padding: 0;
}
.small-note {
  color: var(--ink2);
  font-size: 13px;
}
