/* SOT Food & Beverage Public Profile — full design system.
 * Mirrors the rental Claude-Design rebuild, retoned for restaurants:
 *  - "Menu highlights" + "Menu sections" replace fleet grid
 *  - "Book a table" reserve card replaces vehicle reserve
 *  - Square corners by brand rule. Fraunces + Inter Tight + JetBrains Mono.
 *
 * All sizing/colour reads from food-tokens.css (verbatim copy of rental
 * tokens) — the two profiles share their palette intentionally.
 */

@import url("food-tokens.css");
@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Inter+Tight:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap");

/* ── Scope root ─────────────────────────────────────────── */
.sot-rmf {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  position: relative;
  max-width: var(--stot-shell-max, 1280px);
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 720px) {
  .sot-rmf-crumb,
  .sot-rmf-header,
  .sot-rmf-main,
  .sot-rmf-section {
    padding-left: 16px;
    padding-right: 16px;
  }
}
.sot-rmf * { box-sizing: border-box; }
.sot-rmf a { color: inherit; text-decoration: none; }
.sot-rmf button { font-family: inherit; }

.sot-rmf .serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
.sot-rmf .mono  { font-family: var(--mono); }
.sot-rmf .eyebrow {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 600;
}

/* ── Breadcrumb row ─────────────────────────────────────── */
.sot-rmf-crumb {
  padding: 14px 48px;
  font-size: 12px;
  color: var(--ink-3);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sot-rmf-crumb strong { color: var(--ink); }
.sot-rmf-crumb-tools { display: flex; gap: 16px; }
.sot-rmf-crumb-tools span { cursor: pointer; }

/* ── Header ─────────────────────────────────────────────── */
.sot-rmf-header {
  padding: 32px 48px 16px;
}
.sot-rmf-header h1 {
  font-family: var(--serif);
  font-size: 52px;
  letter-spacing: -0.025em;
  line-height: 1;
  margin: 10px 0 12px;
  font-weight: 400;
}
.sot-rmf-meta {
  display: flex;
  gap: 18px;
  font-size: 13px;
  color: var(--ink-2);
  align-items: center;
  flex-wrap: wrap;
}
.sot-rmf-meta strong { color: var(--ink); font-weight: 600; }
.sot-rmf-meta .dot { color: var(--ink-4); }
.sot-rmf-meta .reviews { color: var(--ink-3); }
.sot-rmf-verified {
  display: flex;
  gap: 6px;
  align-items: center;
  color: var(--forest);
}
.sot-rmf-verified::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--forest);
  display: inline-block;
}

/* ── Stars ──────────────────────────────────────────────── */
.sot-rmf-stars {
  display: inline-flex;
  gap: 1px;
  color: var(--ink);
  font-size: 12px;
  line-height: 1;
}
.sot-rmf-stars.lg { font-size: 18px; }
.sot-rmf-stars.sm { font-size: 10px; }
.sot-rmf-stars .e { color: var(--ink-4); }

/* ── Gallery grid ───────────────────────────────────────── */
.sot-rmf-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 210px 210px;
  gap: 4px;
  margin-top: 16px;
}
.sot-rmf-gallery .tile {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--paper-3);
}
.sot-rmf-gallery .tile.hero { grid-row: span 2; }
.sot-rmf-gallery .tile img,
.sot-rmf-gallery .tile .ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sot-rmf-gallery .ph { background: linear-gradient(155deg, #2E7398 0%, #0A4D6E 55%, #063349 100%); }
.sot-rmf-gallery .ph.t-forest { background: linear-gradient(155deg, #3A8155 0%, #1F5A36 60%, #133A22 100%); }
.sot-rmf-gallery .ph.t-ocean-deep { background: linear-gradient(155deg, #0A4D6E 0%, #063349 100%); }
.sot-rmf-gallery .ph.t-sunset { background: linear-gradient(155deg, #E69568 0%, #D86B3C 55%, #9E3F1E 100%); }
.sot-rmf-gallery .ph.t-ink { background: linear-gradient(155deg, #2B3D44 0%, #0F1F24 100%); }
.sot-rmf-gallery .ph.t-paper-3 { background: linear-gradient(155deg, #F3EFE6 0%, #E7E0D2 100%); }
.sot-rmf-gallery .ph.t-sand { background: linear-gradient(155deg, #EBD3A0 0%, #E5C68A 100%); }
.sot-rmf-gallery .ph.t-forest-deep { background: linear-gradient(155deg, #1F5A36 0%, #133A22 100%); }
.sot-rmf-gallery .more-scrim {
  position: absolute; inset: 0;
  background: rgba(15,31,36,0.55);
  color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600; letter-spacing: 0.04em;
}

/* ── Trust badges ───────────────────────────────────────── */
.sot-rmf-trust { padding: 20px 48px 28px; }
.sot-rmf-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.sot-rmf-trust .pill {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 14px 16px;
  display: flex; flex-direction: column; gap: 4px;
}
.sot-rmf-trust .pill .lbl { font-size: 13px; font-weight: 600; color: var(--ink); }
.sot-rmf-trust .pill .sub { font-size: 12px; color: var(--ink-3); line-height: 1.4; }

/* ── Main 2-col grid ────────────────────────────────────── */
.sot-rmf-main {
  padding: 8px 48px 64px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: flex-start;
}
.sot-rmf-main .left { min-width: 0; }
.sot-rmf-main aside.right { position: sticky; top: 24px; }

/* ── Section blocks ─────────────────────────────────────── */
.sot-rmf-section { padding-top: 56px; margin-top: 56px; border-top: 1px solid var(--line); }
.sot-rmf-section.first { padding-top: 0; margin-top: 0; border-top: none; }
.sot-rmf-section.about { padding-bottom: 32px; border-bottom: 1px solid var(--line); border-top: none; margin-top: 0; padding-top: 0; }
.sot-rmf-section h2 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
  font-size: 28px;
}
.sot-rmf-section h2.lg { font-size: 32px; }
.sot-rmf-section h2.sm { font-size: 24px; letter-spacing: -0.01em; }
.sot-rmf-section p.lede {
  font-size: 15px; line-height: 1.65; color: var(--ink-2); margin: 0; max-width: 720px;
}
.sot-rmf-section p.sub { font-size: 14px; color: var(--ink-3); margin: 0 0 18px; }

/* ── Stat row ───────────────────────────────────────────── */
.sot-rmf-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 24px;
}
.sot-rmf-stats .n {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.sot-rmf-stats .l {
  font-size: 10px;
  color: var(--ink-3);
  margin-top: 4px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ── Menu highlights grid (signature dishes) ────────────── */
.sot-rmf-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 22px;
}
.sot-rmf-dish {
  border: 1px solid var(--line);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  text-align: left;
  cursor: default;
  transition: border-color .15s, box-shadow .15s;
}
.sot-rmf-dish:hover { border-color: var(--ink); box-shadow: 0 8px 20px -10px rgba(15,31,36,0.18); }
.sot-rmf-dish .photo {
  height: 170px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, #E69568 0%, #D86B3C 55%, #9E3F1E 100%);
}
.sot-rmf-dish .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sot-rmf-dish .photo .chip {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(251,248,242,0.92);
  padding: 4px 9px;
  font-size: 10px;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
}
.sot-rmf-dish .body { padding: 16px; }
.sot-rmf-dish .head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 8px;
}
.sot-rmf-dish h3 {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.15;
  font-weight: 400;
}
.sot-rmf-dish .price {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.sot-rmf-dish .desc {
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 6px;
  line-height: 1.5;
}
.sot-rmf-dish .tags {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.sot-rmf-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 3px 6px;
  border: 1px solid var(--line);
  color: var(--ink-3);
  text-transform: uppercase;
}
.sot-rmf-tag.t-veg { color: var(--forest); border-color: var(--forest-soft); }
.sot-rmf-tag.t-gf  { color: var(--ocean);  border-color: var(--ocean-soft); }
.sot-rmf-tag.t-spicy { color: var(--accent-coral); border-color: var(--accent-coral); }

/* ── Menu sections list ─────────────────────────────────── */
.sot-rmf-menu-cat {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px dotted var(--line);
}
.sot-rmf-menu-cat:first-child { padding-top: 0; border-top: none; }
.sot-rmf-menu-cat h3 {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  font-weight: 400;
  color: var(--ink);
}
.sot-rmf-menu-list { list-style: none; padding: 0; margin: 0; }
.sot-rmf-menu-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dotted var(--line);
  align-items: baseline;
}
.sot-rmf-menu-list .nm {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.sot-rmf-menu-list .dx {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 3px;
  line-height: 1.5;
}
.sot-rmf-menu-list .pr {
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
}
.sot-rmf-menu-list .tags { margin-top: 6px; display: flex; gap: 6px; flex-wrap: wrap; }
.sot-rmf-empty {
  padding: 32px;
  border: 1px dashed var(--line);
  text-align: center;
  color: var(--ink-3);
  font-size: 13px;
  font-family: var(--mono);
  letter-spacing: 0.04em;
  margin-top: 18px;
}

/* ── Map block ──────────────────────────────────────────── */
.sot-rmf-map {
  position: relative;
  height: 360px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #E8E4D7;
}
.sot-rmf-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.sot-rmf-map .empty {
  display: flex; align-items: center; justify-content: center;
  height: 100%; font-family: var(--mono); font-size: 11px; color: var(--ink-3);
}
.sot-rmf-map-meta {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  font-size: 12px;
}
.sot-rmf-map-meta .k {
  font-size: 10px; letter-spacing: 0.14em; color: var(--ink-3);
  font-weight: 600; text-transform: uppercase;
}
.sot-rmf-map-meta .v { font-size: 13px; margin-top: 4px; }

/* ── Reviews ────────────────────────────────────────────── */
.sot-rmf-review-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 20px; gap: 16px;
}
.sot-rmf-review-bars {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.sot-rmf-bar .lab {
  display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 12px;
}
.sot-rmf-bar .lab .l { color: var(--ink-2); }
.sot-rmf-bar .lab strong { color: var(--ink); }
.sot-rmf-bar .track { height: 4px; background: var(--paper-3); }
.sot-rmf-bar .fill { height: 100%; background: var(--forest); }
.sot-rmf-review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.sot-rmf-rev {
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.sot-rmf-rev .top {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px;
}
.sot-rmf-rev .who { display: flex; align-items: center; gap: 10px; }
.sot-rmf-rev .av {
  width: 36px; height: 36px;
  border-radius: 50%;
  color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 13px;
}
.sot-rmf-rev .av.c0 { background: var(--ocean); }
.sot-rmf-rev .av.c1 { background: var(--forest); }
.sot-rmf-rev .av.c2 { background: var(--accent-sunset); }
.sot-rmf-rev .av.c3 { background: var(--ink); }
.sot-rmf-rev .nm { font-size: 13px; font-weight: 600; }
.sot-rmf-rev .sub { font-size: 11px; color: var(--ink-3); }
.sot-rmf-rev p { font-size: 13px; line-height: 1.6; margin: 10px 0; color: var(--ink-2); }
.sot-rmf-rev .dish {
  font-size: 10px; font-family: var(--mono); color: var(--ink-3);
  letter-spacing: 0.06em; text-transform: uppercase;
}

/* ── FAQ ────────────────────────────────────────────────── */
.sot-rmf-faq-item { border-bottom: 1px solid var(--line); }
.sot-rmf-faq-q {
  width: 100%; background: transparent; border: none;
  padding: 16px 0;
  display: flex; justify-content: space-between; align-items: center;
  text-align: left; cursor: pointer;
  font-family: inherit; font-size: 15px; font-weight: 600; color: var(--ink);
}
.sot-rmf-faq-q .ind { font-size: 18px; color: var(--ink-3); }
.sot-rmf-faq-a {
  display: none;
  font-size: 13px; color: var(--ink-2); line-height: 1.65;
  padding: 0 0 16px;
}
.sot-rmf-faq-item.is-open .sot-rmf-faq-a { display: block; }

/* ── AGB ────────────────────────────────────────────────── */
.sot-rmf-agb-list { margin: 0; padding: 0; list-style: none; }
.sot-rmf-agb-list li {
  display: flex; gap: 14px;
  padding: 10px 0;
  border-bottom: 1px dotted var(--line);
  font-size: 13px; color: var(--ink-2); line-height: 1.55;
}
.sot-rmf-agb-list .n {
  font-family: var(--mono); color: var(--ink-4);
  min-width: 24px; font-size: 11px; padding-top: 3px;
}

/* ── Reserve card (Book a table) ────────────────────────── */
.sot-rmf-reserve {
  border: 1px solid var(--ink);
  padding: 22px;
  background: var(--paper);
}
.sot-rmf-reserve .price-row {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 16px;
}
.sot-rmf-reserve .from { font-size: 12px; color: var(--ink-3); }
.sot-rmf-reserve .amt {
  font-family: var(--serif); font-size: 32px; letter-spacing: -0.02em;
}
.sot-rmf-reserve .per { font-size: 13px; color: var(--ink-3); margin-left: 6px; }
.sot-rmf-reserve .rating { font-size: 12px; color: var(--ink-3); }
.sot-rmf-reserve .form { border: 1px solid var(--line); }
.sot-rmf-reserve .form .row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
}
.sot-rmf-reserve .form .cell { padding: 10px 12px; }
.sot-rmf-reserve .form .cell.div { border-right: 1px solid var(--line); }
.sot-rmf-reserve .form .cell + .single,
.sot-rmf-reserve .form .single { border-bottom: 1px solid var(--line); }
.sot-rmf-reserve .form .single:last-child { border-bottom: none; }
.sot-rmf-reserve .form .lab {
  font-size: 10px; letter-spacing: 0.14em; color: var(--ink-3);
  font-weight: 600; text-transform: uppercase;
}
.sot-rmf-reserve .form input,
.sot-rmf-reserve .form select {
  width: 100%;
  border: none;
  background: transparent;
  padding: 3px 0 0;
  font-family: inherit;
  font-size: 13px;
  color: var(--ink);
  outline: none;
}
.sot-rmf-reserve .form textarea {
  width: 100%;
  border: none; background: transparent;
  padding: 3px 0 0;
  font-family: inherit; font-size: 13px; color: var(--ink);
  outline: none; resize: vertical;
}
.sot-rmf-reserve .form .stepper {
  display: flex; align-items: center; gap: 12px;
  margin-top: 6px;
}
.sot-rmf-reserve .form .stepper button {
  width: 26px; height: 26px;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}
.sot-rmf-reserve .form .stepper input {
  width: 40px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
}

.sot-rmf-btn-cta {
  width: 100%;
  background: var(--forest);
  color: var(--paper);
  border: none;
  padding: 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-top: 12px;
  cursor: pointer;
  text-transform: uppercase;
}
.sot-rmf-btn-cta:hover { background: var(--forest-deep); }
.sot-rmf-btn-ghost {
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  text-transform: uppercase;
}
.sot-rmf-btn-ink {
  background: var(--ink);
  color: var(--paper);
  border: none;
  padding: 13px 26px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  text-transform: uppercase;
}
.sot-rmf-btn-ink:disabled { background: var(--ink-4); cursor: not-allowed; }

.sot-rmf-reserve .nocard {
  font-size: 11px; color: var(--ink-3);
  text-align: center; margin-top: 10px; line-height: 1.5;
}
.sot-rmf-reserve .mini-list {
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 14px;
  font-size: 12px;
  color: var(--ink-2);
  display: grid;
  gap: 8px;
}
.sot-rmf-reserve .mini-list .row { display: flex; justify-content: space-between; }
.sot-rmf-reserve .mini-list strong { color: var(--ink); font-weight: 600; }

.sot-rmf-coin {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  font-size: 12px;
  color: var(--ink-2);
  line-height: 1.55;
}
.sot-rmf-coin strong { color: var(--ink); }
.sot-rmf-wa {
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px;
}
.sot-rmf-wa .lab { color: var(--ink-3); }
.sot-rmf-wa a { color: var(--ocean); font-weight: 600; }

/* ── Modal shell ────────────────────────────────────────── */
.sot-rmf-dialog {
  position: fixed; inset: 0;
  background: rgba(15,31,36,0.55);
  z-index: 100;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 40px;
  overflow-y: auto;
}
.sot-rmf-dialog.is-open { display: flex; }
.sot-rmf-dialog .panel {
  background: var(--paper);
  width: 100%;
  max-width: 720px;
  box-shadow: 0 30px 60px -20px rgba(15,31,36,0.45);
  position: relative;
}
.sot-rmf-dialog .close-x {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
  font-size: 18px;
  color: var(--ink-2);
  z-index: 2;
  line-height: 1;
}

/* ── Lightbox ───────────────────────────────────────────── */
.sot-rmf-lightbox {
  position: fixed; inset: 0;
  background: rgba(15,31,36,0.92);
  z-index: 110;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.sot-rmf-lightbox.is-open { display: flex; }
.sot-rmf-lightbox .stage {
  width: 90%; max-width: 1100px;
  aspect-ratio: 16 / 10;
  background: var(--ink);
  position: relative;
}
.sot-rmf-lightbox .stage img { width: 100%; height: 100%; object-fit: contain; display: block; }
.sot-rmf-lightbox .stage .ph {
  position: absolute; inset: 0;
  background: linear-gradient(155deg, #E69568 0%, #D86B3C 55%, #9E3F1E 100%);
}
.sot-rmf-lightbox .ctrl {
  position: absolute;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(251,248,242,0.3);
  background: rgba(15,31,36,0.4);
  color: var(--paper);
  cursor: pointer;
  font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  top: 50%; transform: translateY(-50%);
}
.sot-rmf-lightbox .ctrl.prev { left: 24px; }
.sot-rmf-lightbox .ctrl.next { right: 24px; }
.sot-rmf-lightbox .close-x {
  position: absolute;
  top: 24px; right: 24px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(251,248,242,0.3);
  background: rgba(15,31,36,0.4);
  color: var(--paper);
  cursor: pointer;
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
}
.sot-rmf-lightbox .count {
  position: absolute;
  bottom: 24px;
  color: var(--paper-3);
  font-family: var(--mono);
  font-size: 12px;
}

/* ── Reservation confirmation modal ─────────────────────── */
.sot-rmf-confirm {
  padding: 40px 30px 50px;
  text-align: center;
}
.sot-rmf-confirm .check {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--paper);
  display: inline-flex;
  align-items: center; justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}
.sot-rmf-confirm h3 {
  font-family: var(--serif);
  font-size: 28px;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  font-weight: 400;
}
.sot-rmf-confirm p {
  font-size: 14px; color: var(--ink-2);
  margin: 0 auto 24px; max-width: 440px;
  line-height: 1.6;
}
.sot-rmf-confirm .grid {
  display: inline-grid;
  grid-template-columns: auto auto;
  gap: 10px 32px;
  text-align: left;
  margin-bottom: 24px;
  font-size: 13px;
}
.sot-rmf-confirm .grid .k { color: var(--ink-3); }
.sot-rmf-confirm .actions { display: flex; gap: 10px; justify-content: center; }
.sot-rmf-error {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid var(--error);
  background: rgba(168,49,31,0.06);
  color: var(--error);
  font-size: 13px;
  display: none;
}
.sot-rmf-error.is-open { display: block; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .sot-rmf-header,
  .sot-rmf-trust,
  .sot-rmf-main,
  .sot-rmf-crumb { padding-left: 20px; padding-right: 20px; }
  .sot-rmf-header h1 { font-size: 38px; }
  .sot-rmf-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 180px;
  }
  .sot-rmf-gallery .tile.hero { grid-row: span 1; grid-column: span 2; }
  .sot-rmf-gallery .tile:nth-child(n+5) { display: none; }
  .sot-rmf-trust-grid { grid-template-columns: 1fr 1fr; }
  .sot-rmf-main { grid-template-columns: 1fr; gap: 32px; }
  .sot-rmf-main aside.right { position: static; }
  .sot-rmf-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .sot-rmf-highlights { grid-template-columns: 1fr 1fr; }
  .sot-rmf-review-bars { grid-template-columns: 1fr; gap: 16px; }
  .sot-rmf-review-grid { grid-template-columns: 1fr; }
  .sot-rmf-map-meta { grid-template-columns: 1fr 1fr; }
  .sot-rmf-dialog { padding: 20px 12px; }
}
@media (max-width: 540px) {
  .sot-rmf-highlights { grid-template-columns: 1fr; }
}
