/* thai massage near me
   Indigo and saffron. nude-massage-near-me shows the SAME 2,408 studios on bone and clay, and
   the other siblings hold violet/pink, espresso/amber, slate/jade, burgundy/ivory,
   midnight/blue, plum/champagne and ink/coral. Deep indigo under a marigold accent is the one
   pairing left, and it happens to be the right one for the subject (network Rule 15). */

:root {
  --bone: #141a2b;
  --bone-2: #1c2438;
  --card: #212b42;
  --ink: #f0eee7;
  --ink-2: #97a1bb;
  --rule: #303c58;
  --clay: #f0a92c;
  --clay-lit: #ffc45e;
  --brass: #cfa14a;
  --wa: #0c6b58;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bone); color: var(--ink);
  font: 16px/1.7 "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  overflow-x: hidden; padding-bottom: 62px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--clay); text-decoration: none; }
a:hover { text-decoration: underline; }
.thn-frame { max-width: 1220px; margin: 0 auto; padding: 0 20px; }
h1 { font-size: clamp(29px, 5.4vw, 45px); line-height: 1.06; margin: 0 0 10px; font-weight: 400; letter-spacing: -.015em; }

.thn-skip { position: absolute; left: -9999px; }
.thn-skip:focus { left: 14px; top: 14px; z-index: 99; background: var(--clay); color: #fff; padding: 10px 16px; }

/* ── head ────────────────────────────────────────────────────────────── */
.thn-head { background: var(--bone-2); border-bottom: 1px solid var(--rule); }
.thn-head-in { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 12px; padding-bottom: 12px; }
.thn-mark { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.thn-mark:hover { text-decoration: none; }
.thn-mark img { flex-shrink: 0; border-radius: 2px; }
.thn-mark-t { display: flex; flex-direction: column; line-height: 1.05; }
.thn-mark-t b { font-size: 17.5px; font-weight: 600; letter-spacing: .005em; }
.thn-mark-t i { font-style: normal; font-family: ui-sans-serif, system-ui, sans-serif; font-size: 9.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-2); margin-top: 4px; }
.thn-cams {
  font-family: ui-sans-serif, system-ui, sans-serif; font-size: 12.5px; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; padding: 9px 16px;
  background: var(--clay); color: #22160a; white-space: nowrap;
}
.thn-cams:hover { text-decoration: none; background: var(--clay-lit); }

/* ── open ────────────────────────────────────────────────────────────── */
.thn-open { padding: 34px 0 22px; }
.thn-open-line { color: var(--ink-2); font-size: 17.5px; margin: 0 0 18px; }
.thn-open-line b { color: var(--ink); }
.thn-find { display: flex; align-items: center; gap: 13px; flex-wrap: wrap; font-family: ui-sans-serif, system-ui, sans-serif; }
.thn-find button {
  background: var(--clay); color: #22160a; border: 0; padding: 13px 22px;
  font-size: 14.5px; font-weight: 700; cursor: pointer; letter-spacing: .02em;
}
.thn-find button:hover { background: var(--clay-lit); }
.thn-find button:disabled { opacity: .55; cursor: wait; }
.thn-find span { font-size: 12.5px; color: var(--ink-2); }
.thn-note { font-family: ui-sans-serif, system-ui, sans-serif; font-size: 14px; color: var(--ink-2); background: var(--bone-2); border-left: 3px solid var(--clay); padding: 11px 14px; margin: 0 0 18px; }

/* ── board ───────────────────────────────────────────────────────────── */
.thn-tally { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 0 0 16px; font-family: ui-sans-serif, system-ui, sans-serif; }
.thn-tally p { margin: 0; font-size: 13.5px; color: var(--ink-2); }
.thn-tally b { color: var(--ink); }
.thn-tally a { font-size: 13px; font-weight: 700; }

.thn-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px)  { .thn-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
@media (min-width: 1120px) { .thn-grid { grid-template-columns: repeat(4, 1fr); } }

/* CENTRED: square photo, name and place centred beneath it, one segmented action group.
   Every sibling card is left-aligned, so the symmetry is the tell at a glance. */
.thn-tile { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--rule); border-radius: 6px; overflow: hidden; text-align: center; }
.thn-tile:hover { border-color: var(--clay); }
.thn-tile-gold { border-color: var(--brass); box-shadow: inset 0 0 0 1px rgba(207,161,74,.32); }
.thn-tile-img { position: relative; display: block; aspect-ratio: 1; background: var(--bone-2); overflow: hidden; }
.thn-tile-img > img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.thn-tile:hover .thn-tile-img > img { transform: scale(1.04); }
.thn-tile-empty { display: grid; place-items: center; height: 100%; font-size: 30px; color: rgba(240,169,44,.25); }
.thn-gold {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  font-family: ui-sans-serif, system-ui, sans-serif; background: var(--brass); color: #22160a;
  font-size: 9.5px; font-weight: 800; letter-spacing: .12em; padding: 4px 10px; border-radius: 999px;
}
.thn-tile-cap { display: block; padding: 13px 10px 12px; color: var(--ink); }
.thn-tile-cap:hover { text-decoration: none; }
.thn-tile-cap b {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-size: 15px; font-weight: 600; line-height: 1.28; min-height: 2.56em;
}
.thn-tile-cap em { display: flex; align-items: center; justify-content: center; gap: 6px; font-style: normal; margin-top: 4px; font-family: ui-sans-serif, system-ui, sans-serif; font-size: 12px; color: var(--ink-2); }
.thn-tile-cap em img { width: 17px; height: 12px; flex-shrink: 0; object-fit: cover; }
.thn-tile-do { display: flex; flex-wrap: wrap; gap: 1px; background: var(--rule); margin-top: auto; }
.thn-act {
  flex: 1 1 auto; min-width: 0; white-space: nowrap; text-align: center;
  font-family: ui-sans-serif, system-ui, sans-serif; font-size: 11.5px; font-weight: 700;
  padding: 10px 6px; background: var(--card); color: var(--ink);
}
.thn-act:hover { text-decoration: none; background: var(--bone-2); }
.thn-act-wa { background: var(--wa); color: #fff; }
.thn-act-go { background: var(--clay); color: #22160a; }
@media (max-width: 520px) {
  .thn-act { font-size: 11px; padding: 10px 4px; }
  .thn-act-go { flex: 1 0 100%; }
}

.thn-more { text-align: center; margin: 26px 0 0; }
.thn-own { text-align: center; margin: 16px 0 0; font-family: ui-sans-serif, system-ui, sans-serif; font-size: 13px; }
.thn-own a { color: var(--ink-2); }
.thn-btn { display: inline-block; font-family: ui-sans-serif, system-ui, sans-serif; font-weight: 700; font-size: 14px; padding: 13px 28px; background: var(--clay); color: #22160a; letter-spacing: .02em; }
.thn-btn:hover { text-decoration: none; background: var(--clay-lit); }
.thn-btn-sm { padding: 9px 16px; font-size: 12.5px; margin-top: 9px; }

/* ── reading ─────────────────────────────────────────────────────────── */
/* ONE measure for every block in here. Setting it per block in `ch` gives the lead and the
   body two different widths, and the left edge steps inward halfway down the page. */
.thn-read { max-width: 660px; margin: 48px auto 0; }
.thn-copy { color: #d5d9e4; font-size: 17px; line-height: 1.8; }
.thn-copy-lead { font-size: 19px; color: var(--ink); border-bottom: 1px solid var(--rule); padding-bottom: 22px; margin-bottom: 26px; }
.thn-copy p { margin: 0 0 18px; }
.thn-copy h2 { font-size: clamp(21px, 3vw, 28px); margin: 38px 0 12px; color: var(--ink); font-weight: 400; line-height: 1.2; }
.thn-copy h3 { font-size: 18px; margin: 26px 0 8px; font-weight: 600; }
.thn-copy strong { color: #fff; font-weight: 700; }
.thn-copy a { color: var(--clay); }
.thn-copy ul, .thn-copy ol { margin: 0 0 18px; padding-left: 22px; }
.thn-copy li { margin: 0 0 6px; }

/* Centred questions with generous air and no rules, numbers or toggles at all. The tenth FAQ
   treatment in the set, and it matches the centred card above it. */
.thn-faq { margin: 52px 0 8px; text-align: center; }
.thn-faq h2 { font-size: clamp(21px, 3vw, 28px); margin: 0 0 30px; font-weight: 400; }
.thn-qa { margin: 0 auto 30px; max-width: 60ch; }
.thn-qa h3 { margin: 0 0 8px; font-size: 17px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.thn-qa p { margin: 0; color: #c6cbda; font-size: 16px; }

/* ── studio page ─────────────────────────────────────────────────────── */
.thn-crumb { font-family: ui-sans-serif, system-ui, sans-serif; font-size: 12.5px; color: var(--ink-2); margin: 18px 0 12px; }
.thn-gold-wide { display: inline-block; font-family: ui-sans-serif, system-ui, sans-serif; background: var(--brass); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .12em; padding: 7px 14px; margin: 0 0 10px; }
.thn-salon-at { display: flex; align-items: center; gap: 9px; font-size: 17px; color: var(--ink-2); margin: 0 0 16px; }
.thn-salon-at b { color: var(--ink); font-size: 19px; }
.thn-salon-at img { width: 22px; height: 16px; object-fit: cover; }
.thn-facts { list-style: none; display: flex; flex-wrap: wrap; padding: 0; margin: 0 0 20px; font-family: ui-sans-serif, system-ui, sans-serif; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.thn-facts li { font-size: 12px; color: var(--ink-2); padding: 9px 18px 9px 0; }
.thn-facts b { color: var(--ink); }

.thn-reachbar { display: flex; flex-wrap: wrap; gap: 1px; background: var(--rule); margin: 0 0 22px; font-family: ui-sans-serif, system-ui, sans-serif; }
.thn-reach { flex: 1 1 140px; text-align: center; padding: 14px 16px; font-weight: 700; font-size: 14.5px; color: #fff; background: var(--card); }
.thn-reach:hover { text-decoration: none; filter: brightness(1.15); }
.thn-reach-wa { background: var(--wa); }
.thn-reach-tel { background: var(--clay); color: #22160a; }
.thn-reach-tg { background: #2b7fa8; }
.thn-reach-alt { background: var(--card); color: var(--ink); }

/* A lead photograph at a FIXED ratio, then the rest as an auto-fill square grid. The ratio is
   explicit on purpose: a sibling once span a lead 4x2 with aspect-ratio:auto and the image's
   natural height set the row height, opening a void beside it the size of the picture. */
.thn-shots { margin: 0 0 24px; }
.thn-lead { display: block; width: 100%; padding: 0; border: 0; margin: 0 0 6px; background: var(--bone-2); cursor: zoom-in; overflow: hidden; border-radius: 6px; aspect-ratio: 16 / 9; }
.thn-lead > img { width: 100%; height: 100%; object-fit: cover; }
.thn-rest { display: grid; gap: 6px; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
.thn-shot { display: block; padding: 0; border: 0; background: var(--bone-2); cursor: zoom-in; overflow: hidden; border-radius: 4px; aspect-ratio: 1; }
.thn-shot > img { width: 100%; height: 100%; object-fit: cover; }

.thn-salon-body { display: grid; gap: 26px; grid-template-columns: 1fr; }
@media (min-width: 1000px) { .thn-salon-body { grid-template-columns: minmax(0, 1fr) 310px; } }
.thn-salon-lead { font-size: 18px; margin: 0 0 14px; }
.thn-panel { border: 1px solid var(--rule); background: var(--card); padding: 15px; margin-bottom: 13px; }
.thn-panel-h { font-family: ui-sans-serif, system-ui, sans-serif; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); font-weight: 800; margin: 0 0 10px; }
.thn-hours { margin: 0; font-family: ui-sans-serif, system-ui, sans-serif; font-size: 13.5px; }
.thn-hours > div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--rule); }
.thn-hours > div:last-child { border-bottom: 0; }
.thn-hours-shut { color: var(--ink-2); }
.thn-hours dt { text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); font-weight: 700; }
.thn-hours dd { margin: 0; }
.thn-links { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; font-family: ui-sans-serif, system-ui, sans-serif; }
.thn-links a { font-size: 12.5px; font-weight: 700; padding: 7px 12px; border: 1px solid var(--rule); color: var(--ink); }
.thn-promo { display: block; text-align: center; padding: 16px; background: linear-gradient(135deg, var(--clay), #7d3222); color: #fff; }
.thn-promo b { display: block; font-size: 17px; }
.thn-promo span { font-family: ui-sans-serif, system-ui, sans-serif; font-size: 12.5px; color: rgba(255,255,255,.87); }
.thn-back { margin: 28px 0 0; }

.thn-dock { display: none; }
@media (max-width: 760px) {
  .thn-dock { display: flex; gap: 1px; background: var(--rule); position: fixed; left: 0; right: 0; bottom: 0; z-index: 64; padding-bottom: env(safe-area-inset-bottom); }
  .thn-salon { padding-bottom: 72px; }
  /* A free studio page carries BOTH the cams rail and this contact dock, both pinned to the
     bottom. Reaching the studio wins; the sidebar still advertises the cams. */
  body:has(.thn-dock) .thn-rail { display: none; }
}

/* ── viewer ──────────────────────────────────────────────────────────── */
.thn-viewer { position: fixed; inset: 0; z-index: 95; background: rgba(10, 14, 24, .97); display: grid; place-items: center; }
.thn-viewer[hidden] { display: none; }
.thn-viewer img { max-width: 94vw; max-height: 86vh; object-fit: contain; }
.thn-viewer button { position: absolute; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.1); color: #fff; font-size: 25px; cursor: pointer; }
.thn-viewer button:hover { background: rgba(255,255,255,.22); }
.thn-viewer [data-x] { top: 16px; right: 16px; font-size: 27px; }
.thn-viewer [data-prev] { left: 14px; top: 50%; transform: translateY(-50%); }
.thn-viewer [data-next] { right: 14px; top: 50%; transform: translateY(-50%); }
.thn-viewer p { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); margin: 0; font-family: ui-sans-serif, system-ui, sans-serif; font-size: 12.5px; color: rgba(255,255,255,.7); }

/* ── foot ────────────────────────────────────────────────────────────── */
.thn-foot { border-top: 1px solid var(--rule); margin-top: 52px; padding: 28px 0 18px; background: var(--bone-2); }
.thn-foot-1 { margin: 0 0 6px; }
.thn-foot-2 { font-family: ui-sans-serif, system-ui, sans-serif; font-size: 12.5px; color: var(--ink-2); margin: 0 0 12px; }
.thn-foot-do { margin: 14px 0; font-family: ui-sans-serif, system-ui, sans-serif; font-size: 13.5px; }

.thn-rail { position: fixed; left: 0; right: 0; bottom: 0; z-index: 62; background: var(--bone-2); border-top: 1px solid var(--clay); }
.thn-rail a {
  display: flex; align-items: center; justify-content: center; gap: 10px; max-width: 1220px;
  margin: 0 auto; padding: 11px 20px calc(11px + env(safe-area-inset-bottom));
  color: var(--bone); font-family: ui-sans-serif, system-ui, sans-serif; font-size: 13px;
}
.thn-rail a:hover { text-decoration: none; }
.thn-rail b { color: var(--clay); }
.thn-rail span { background: var(--clay); color: #22160a; font-weight: 700; font-size: 12px; padding: 6px 13px; }

/* Keyboard focus. On a light ground the default outline is faint against the clay. */
a:focus-visible, button:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }
.thn-shot:focus-visible, .thn-plate-img:focus-visible { outline-offset: -3px; }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
