/*
Theme Name: Traveling Happiness
Theme URI: https://tradinghappiness.com/
Author: Traveling Happiness
Description: A standalone custom WordPress theme for Traveling Happiness with a globe-led homepage, branded header, guide cards, waitlist footer, WooCommerce support, blog templates, and a Work With Me page.
Version: 1.9.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: traveling-happiness
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* ============================================================
   Traveling Happiness custom front end
   Scoped with th-* classes to keep the custom front end predictable alongside plugins and core blocks.
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Young+Serif&family=Hanken+Grotesk:wght@400;500;600;700;800&family=Caveat:wght@500;600;700&family=Sacramento&display=swap');

:root {
  /* Brand palette pulled from the Traveling Happiness logo: dark ink + sunshine yellow. */
  --th-bg: #fff9e8;
  --th-paper: #fffdf6;
  --th-mist: #fff2bf;
  --th-mist-2: #efe2b0;
  --th-blue: #ffec6f; /* legacy variable name retained; now the brand yellow */
  --th-blue-deep: #6f5a00;
  --th-ink: #101205;
  --th-ink-2: #050603;
  --th-ink-soft: #5d5843;
  --th-line: #e8dbac;
  --th-line-2: #d7ca94;
  --th-sage: #a7b06a;
  --th-olive: #3a3d1f;
  --th-r: 18px;
  --th-r-sm: 12px;
  --th-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --th-shadow: 0 20px 50px -30px rgba(16, 18, 5, .35);
  --th-shadow-lg: 0 40px 90px -42px rgba(16, 18, 5, .42);
  --th-maxw: 1320px;
  --th-gut: clamp(20px, 5vw, 40px);
}

body.th-body {
  background: var(--th-bg);
  color: var(--th-ink);
  font-family: 'Hanken Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.th-site,
.th-main,
.th-main * {
  box-sizing: border-box;
}

.th-main {
  background: var(--th-bg);
  color: var(--th-ink);
  overflow-x: clip;
}

.th-main img,
.th-site-header img,
.th-site-footer img {
  display: block;
  max-width: 100%;
}

.th-main a,
.th-site-header a,
.th-site-footer a {
  color: inherit;
  text-decoration: none;
}

.th-wrap {
  max-width: var(--th-maxw);
  margin: 0 auto;
  padding-inline: var(--th-gut);
}

.th-serif {
  font-family: 'Young Serif', Georgia, serif;
  font-weight: 400;
}

.th-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--th-blue-deep);
  font-family: 'Caveat', cursive;
  font-size: clamp(21px, 2.2vw, 26px);
  font-weight: 600;
  line-height: 1.1;
  transform: rotate(-1.5deg);
}

.th-btn {
  --th-pad: 15px 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 999px;
  padding: var(--th-pad);
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 180ms var(--th-ease), background 220ms ease, color 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.th-btn-primary {
  background: var(--th-blue);
  color: var(--th-ink-2);
}

.th-btn-primary:hover,
.th-btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--th-shadow);
}

.th-btn-light {
  background: rgba(255, 255, 255, .16);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .65);
  backdrop-filter: blur(8px);
}

.th-btn-light:hover,
.th-btn-light:focus-visible {
  background: #fff;
  color: var(--th-ink);
}

.th-btn-ghost {
  background: transparent;
  color: var(--th-ink);
  border: 1.5px solid var(--th-line-2);
}

.th-btn-ghost:hover,
.th-btn-ghost:focus-visible {
  border-color: var(--th-ink);
  transform: translateY(-2px);
}

.th-arrow {
  display: inline-block;
  transition: transform 220ms var(--th-ease);
}

.th-btn:hover .th-arrow,
.th-notify:hover .th-arrow,
.th-read:hover .th-arrow {
  transform: translateX(3px);
}

/* Header */
.th-site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: color-mix(in srgb, var(--th-bg) 88%, transparent);
  border-bottom: 1px solid var(--th-line);
  backdrop-filter: blur(14px) saturate(1.15);
}

.admin-bar .th-site-header {
  top: 32px;
}

.th-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 22px;
}

.th-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.th-logo img {
  width: 190px;
  max-width: min(190px, 42vw);
  height: auto;
  object-fit: contain;
}

.th-logo-text {
  font-family: 'Young Serif', Georgia, serif;
  font-size: clamp(20px, 2vw, 28px);
  color: var(--th-ink);
  letter-spacing: -.01em;
}

.th-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.3vw, 30px);
  flex: 1 1 auto;
  font-size: 15px;
  font-weight: 700;
}

.th-nav a {
  position: relative;
  color: var(--th-ink-soft);
  transition: color 180ms ease;
}

.th-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2.5px;
  border-radius: 2px;
  background: var(--th-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms var(--th-ease);
}

.th-nav a:hover,
.th-nav a:focus-visible,
.th-nav a.th-active {
  color: var(--th-ink);
}

.th-nav a:hover::after,
.th-nav a:focus-visible::after,
.th-nav a.th-active::after {
  transform: scaleX(1);
}

.th-nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 0 0 auto;
}

.th-socials {
  display: flex;
  align-items: center;
  gap: 14px;
}

.th-socials a {
  color: var(--th-ink-soft);
  line-height: 1;
  transition: color 180ms ease, transform 180ms var(--th-ease);
}

.th-socials a:hover,
.th-socials a:focus-visible {
  color: var(--th-blue-deep);
  transform: translateY(-2px);
}

.th-socials svg {
  width: 18px;
  height: 18px;
  display: block;
}

.th-menu-toggle {
  display: none;
  border: 1px solid var(--th-line-2);
  border-radius: 999px;
  background: var(--th-paper);
  color: var(--th-ink);
  padding: 9px 14px;
  font: inherit;
  font-weight: 800;
}

/* Hero */
.th-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(560px, 88vh, 850px);
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, var(--th-ink) 0%, #4b4927 46%, #8a7335 100%);
}

.th-hero-short {
  min-height: clamp(380px, 52vh, 540px);
  align-items: center;
  text-align: center;
}

.th-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  animation: thHeroZoom 14s var(--th-ease) forwards;
}

@keyframes thHeroZoom { to { transform: scale(1); } }

.th-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 18, 5, .44) 0%, rgba(16, 18, 5, .06) 36%, rgba(16, 18, 5, .76) 100%);
}

.th-hero-short::after {
  background: linear-gradient(180deg, rgba(16, 18, 5, .44), rgba(16, 18, 5, .62));
}

.th-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(46px, 8vh, 88px);
  max-width: 930px;
}

.th-hero-short .th-hero-content {
  margin: 0 auto;
  padding-bottom: 0;
}

.th-hero .th-eyebrow {
  color: #fff;
  position: relative;
  font-size: clamp(24px, 3vw, 34px);
  padding-bottom: 8px;
  transform: rotate(-2deg);
}

.th-hero .th-eyebrow::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: var(--th-blue);
  border-radius: 999px;
  transform: rotate(-.6deg);
}

.th-hero h1 {
  max-width: 15ch;
  margin: 20px 0 18px;
  font-family: 'Young Serif', Georgia, serif;
  font-size: clamp(40px, 6.4vw, 84px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.01em;
  text-shadow: 0 6px 40px rgba(0, 0, 0, .3);
}

.th-hero-short h1 {
  margin-inline: auto;
  font-size: clamp(36px, 5.2vw, 64px);
}

.th-hero h1 em {
  color: var(--th-blue);
  font-family: 'Sacramento', cursive;
  font-style: normal;
  font-weight: 400;
  font-size: 1.16em;
  line-height: .7;
}

.th-hero p {
  max-width: 56ch;
  margin: 0;
  color: rgba(255, 255, 255, .92);
  font-size: clamp(16px, 1.6vw, 19.5px);
  line-height: 1.65;
}

.th-hero-short p {
  margin-inline: auto;
}

.th-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.th-hero-short .th-cta-row {
  justify-content: center;
}

.th-hero-stamp {
  position: absolute;
  z-index: 3;
  top: clamp(92px, 15vh, 150px);
  right: clamp(16px, 6vw, 84px);
  width: clamp(104px, 12vw, 152px);
  height: auto;
  opacity: .95;
  pointer-events: none;
  animation: thStampSpin 36s linear infinite;
}

@keyframes thStampSpin { to { transform: rotate(360deg); } }

.th-hero-path {
  position: absolute;
  z-index: 2;
  top: clamp(110px, 17vh, 180px);
  left: 0;
  right: 0;
  width: 100%;
  pointer-events: none;
  opacity: .78;
}

.th-reveal-item {
  opacity: 0;
  transform: translateY(20px);
  animation: thRise .9s var(--th-ease) forwards;
}
.th-reveal-item:nth-child(1) { animation-delay: .05s; }
.th-reveal-item:nth-child(2) { animation-delay: .18s; }
.th-reveal-item:nth-child(3) { animation-delay: .32s; }
.th-reveal-item:nth-child(4) { animation-delay: .46s; }
@keyframes thRise { to { opacity: 1; transform: none; } }

/* Blocks */
.th-block {
  padding-block: clamp(68px, 9.5vw, 120px);
}

.th-soft {
  background: var(--th-mist);
}

.th-sec-head {
  max-width: 700px;
  margin-bottom: clamp(38px, 5vw, 60px);
}

.th-sec-head-center {
  margin-inline: auto;
  text-align: center;
}

.th-sec-head h2 {
  margin: 10px 0 14px;
  font-family: 'Young Serif', Georgia, serif;
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.01em;
}

.th-sec-head p {
  max-width: 58ch;
  margin: 0;
  color: var(--th-ink-soft);
  font-size: clamp(16px, 1.5vw, 17.5px);
  line-height: 1.7;
}

.th-sec-head-center p {
  margin-inline: auto;
}

.th-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--th-ease), transform .8s var(--th-ease);
}

.th-reveal.th-in {
  opacity: 1;
  transform: none;
}

.th-reveal[data-d="1"] { transition-delay: .08s; }
.th-reveal[data-d="2"] { transition-delay: .16s; }
.th-reveal[data-d="3"] { transition-delay: .24s; }

/* Stats strip */
.th-stats {
  background: var(--th-ink);
  color: #fff;
}

.th-stats .th-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.th-stat {
  padding: 30px 24px;
  text-align: center;
  border-right: 2px dashed rgba(255, 255, 255, .18);
}

.th-stat:last-child {
  border-right: 0;
}

.th-stat strong {
  display: block;
  color: #fff;
  font-family: 'Young Serif', Georgia, serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
  line-height: 1.1;
}

.th-stat span {
  display: block;
  margin-top: 8px;
  color: var(--th-blue);
  font-family: 'Caveat', cursive;
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 600;
}

/* Map */
.th-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr);
  gap: 26px;
  align-items: stretch;
}

.th-map-search {
  position: relative;
  max-width: 560px;
  margin: 0 auto clamp(24px, 3vw, 38px);
}

.th-map-search input {
  width: 100%;
  border: 1.5px solid var(--th-line-2);
  border-radius: 999px;
  padding: 15px 24px;
  background: var(--th-paper);
  color: var(--th-ink);
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: 15px;
}

.th-map-search input:focus {
  outline: none;
  border-color: var(--th-blue);
}

.th-search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 30;
  display: none;
  max-height: min(60vh, 360px);
  overflow-y: auto;
  background: var(--th-paper);
  border: 1px solid var(--th-line);
  border-radius: 18px;
  box-shadow: var(--th-shadow-lg);
}

.th-search-results.show {
  display: block;
}

.th-sr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  border: 0;
  background: none;
  padding: 12px 20px;
  color: var(--th-ink);
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
}

.th-sr:hover,
.th-sr:focus-visible {
  background: var(--th-mist);
}

.th-sr-sub {
  color: var(--th-ink-soft);
  font-size: 13px;
}

.th-sr-empty {
  padding: 14px 20px;
  color: var(--th-ink-soft);
  font-size: 14px;
}

.th-sb {
  white-space: nowrap;
  border-radius: 999px;
  padding: 4px 11px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
}

.th-sb-guide { background: var(--th-blue); color: var(--th-ink-2); }
.th-sb-photos { background: var(--th-mist-2); color: var(--th-blue-deep); }
.th-sb-soon { background: var(--th-mist); color: var(--th-ink-soft); }

.th-map-card,
.th-panel {
  min-width: 0;
  background: var(--th-paper);
  border: 1px solid var(--th-line);
  border-radius: var(--th-r);
  box-shadow: var(--th-shadow);
}

.th-map-card {
  padding: 24px 22px;
}

.th-globe-wrap {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
}

.th-globe-wrap::before {
  content: "";
  display: block;
  padding-top: 100%;
}

#globe-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
  touch-action: pan-y;
}

#globe-canvas:active { cursor: grabbing; }

.th-globe-label {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  border-radius: 999px;
  padding: 5px 12px;
  background: var(--th-ink);
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, -150%);
  transition: opacity 150ms ease;
}

.th-globe-label.show { opacity: 1; }

.th-globe-spin {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 4;
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--th-line-2);
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--th-blue-deep);
  box-shadow: var(--th-shadow);
  cursor: pointer;
  backdrop-filter: blur(4px);
}

.th-globe-spin.show { display: flex; }
.th-globe-spin svg { width: 20px; height: 20px; }

.th-map-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  padding-top: 16px;
  color: var(--th-ink-soft);
  font-size: 12.5px;
  font-weight: 700;
}

.th-map-legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 7px;
  border-radius: 3px;
  vertical-align: -1px;
}

.th-panel {
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.th-panel-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 2px dashed var(--th-line);
}

.th-globe-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--th-line-2);
  border-radius: 50%;
  background: var(--th-paper);
  color: var(--th-ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.th-globe-nav:hover,
.th-globe-nav:focus-visible {
  background: var(--th-blue);
  border-color: var(--th-blue);
  color: var(--th-ink-2);
}

.th-globe-nav-hint {
  flex: 1;
  color: var(--th-ink-soft);
  font-family: 'Caveat', cursive;
  font-size: 19px;
  font-weight: 600;
  text-align: center;
}

.th-panel .flag { font-size: 32px; }
.th-panel h3 {
  margin: 10px 0 2px;
  font-family: 'Young Serif', Georgia, serif;
  font-size: 29px;
  font-weight: 400;
  line-height: 1.15;
}

.th-panel .sub {
  color: var(--th-blue-deep);
  font-family: 'Caveat', cursive;
  font-size: 22px;
  font-weight: 600;
}

.th-panel .blurb {
  margin: 12px 0 16px;
  color: var(--th-ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

.th-panel .pgrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.th-panel .pgrid img,
.th-panel .ph-skel {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  object-fit: cover;
  background: var(--th-mist-2);
}

.th-panel .ph-skel {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(38, 34, 43, .5);
  font-size: 22px;
}

.th-panel .pg-1 { grid-template-columns: 1fr; }
.th-panel .pg-1 img,
.th-panel .pg-1 .ph-skel { aspect-ratio: 4 / 3; }
.th-panel .pg-3 img:first-child,
.th-panel .pg-3 .ph-skel:first-child { grid-row: 1 / 3; height: 100%; }

.th-panel-pop { animation: thPop .42s var(--th-ease); }
@keyframes thPop { from { opacity: 0; transform: translateY(10px) scale(.99); } to { opacity: 1; transform: none; } }

.th-coming-chip,
.th-blank-link {
  color: var(--th-blue-deep);
  font-weight: 800;
}

.th-coming-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--th-line-2);
  border-radius: 999px;
  padding: 11px 14px;
  background: var(--th-mist);
  font-size: 13px;
}

.th-blank-state {
  padding: 18px 6px 6px;
  text-align: center;
}

.th-blank-emoji {
  margin-bottom: 12px;
  font-size: 42px;
}

.th-blank-state p {
  max-width: 30ch;
  margin: 0 auto 16px;
  color: var(--th-ink-soft);
  font-size: 15px;
}

/* Guide/product cards */
.th-rail-shell {
  position: relative;
}

.th-card-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 300px);
  gap: 30px;
  overflow-x: auto;
  padding: 18px 6px 26px;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.th-card-rail::-webkit-scrollbar { display: none; }

.th-rail-btn {
  position: absolute;
  top: 42%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--th-line-2);
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  color: var(--th-ink);
  box-shadow: var(--th-shadow);
  cursor: pointer;
}

.th-rail-btn:hover,
.th-rail-btn:focus-visible {
  background: var(--th-blue);
}

.th-rail-prev { left: -10px; }
.th-rail-next { right: -10px; }

.th-prod,
.th-post,
.th-feature-card {
  position: relative;
  display: block;
  background: var(--th-paper);
  border: 1px solid var(--th-line);
  border-radius: 6px;
  box-shadow: 0 16px 40px -28px rgba(38, 34, 43, .45);
  transition: transform 280ms var(--th-ease), box-shadow 280ms ease;
}

.th-prod {
  padding: 12px 12px 16px;
  transform: rotate(-1deg);
}

.th-prod:nth-child(even) { transform: rotate(1deg); }
.th-prod::before {
  content: "";
  position: absolute;
  top: -11px;
  left: 50%;
  z-index: 2;
  width: 88px;
  height: 24px;
  border-radius: 2px;
  background: color-mix(in srgb, var(--th-blue) 40%, #fff);
  opacity: .85;
  box-shadow: 0 2px 6px rgba(38, 34, 43, .12);
  transform: translateX(-50%) rotate(-3deg);
}

.th-prod:hover,
.th-prod:focus-visible,
.th-post:hover,
.th-post:focus-visible,
.th-feature-card:hover,
.th-feature-card:focus-visible {
  transform: rotate(0) translateY(-6px);
  box-shadow: var(--th-shadow-lg);
}

.th-prod .ph,
.th-post .ph {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  background: linear-gradient(160deg, var(--th-mist) 0%, var(--th-mist-2) 100%);
}

.th-prod .ph { aspect-ratio: 3 / 4; }
.th-post .ph { aspect-ratio: 1 / 1; }

.th-prod .ph img,
.th-post .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--th-ease);
}

.th-prod:hover .ph img,
.th-post:hover .ph img { transform: scale(1.05); }

.th-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--th-blue-deep);
  font-family: 'Caveat', cursive;
  font-size: 34px;
  font-weight: 700;
}

.th-prod .body,
.th-post .body { padding: 14px 6px 4px; }

.th-prod h3 {
  margin: 0 0 3px;
  font-family: 'Caveat', cursive;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.th-prod .meta,
.th-post p {
  color: var(--th-ink-soft);
  font-size: 13.5px;
  line-height: 1.5;
}

.th-prod .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
}

.th-price {
  color: var(--th-blue-deep);
  font-family: 'Young Serif', Georgia, serif;
  font-size: 20px;
}

.th-ribbon {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 2;
  border-radius: 999px;
  background: #fff;
  color: var(--th-ink);
  padding: 6px 13px;
  box-shadow: var(--th-shadow);
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.th-notify {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  border: 1px solid var(--th-line-2);
  border-radius: 999px;
  padding: 11px 16px;
  background: var(--th-mist);
  color: var(--th-blue-deep);
  font-size: 13.5px;
  font-weight: 800;
}

/* Essentials */
.th-blog-grid,
.th-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.th-post {
  padding: 12px 12px 16px;
  transform: rotate(-.9deg);
}

.th-post:nth-child(even) { transform: rotate(.9deg); }

.th-post .cat {
  color: var(--th-blue-deep);
  font-family: 'Caveat', cursive;
  font-size: 19px;
  font-weight: 700;
}

.th-post h3 {
  margin: 8px 0 7px;
  font-family: 'Young Serif', Georgia, serif;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.3;
}

.th-read {
  display: inline-flex;
  gap: 6px;
  margin-top: 12px;
  color: var(--th-blue-deep);
  font-size: 14px;
  font-weight: 800;
}

.th-lead {
  overflow: hidden;
  background: var(--th-paper);
  border: 1px solid var(--th-line);
  border-radius: var(--th-r);
  box-shadow: var(--th-shadow);
}

.th-lead-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
}

.th-lead-copy {
  padding: clamp(38px, 5vw, 60px);
}

.th-lead-copy h2 {
  margin: 12px 0 14px;
  font-family: 'Young Serif', Georgia, serif;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 400;
  line-height: 1.1;
}

.th-lead-copy p {
  max-width: 46ch;
  margin: 0 0 26px;
  color: var(--th-ink-soft);
  line-height: 1.7;
}

.th-lead-visual {
  min-height: 320px;
  border-left: 2px dashed var(--th-line-2);
  background: linear-gradient(145deg, var(--th-mist) 0%, var(--th-mist-2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
}

.th-lead-visual span {
  color: var(--th-blue-deep);
  font-family: 'Caveat', cursive;
  font-size: clamp(40px, 7vw, 82px);
  font-weight: 700;
  line-height: .95;
}

/* Work With Me */
.th-work-card {
  overflow: hidden;
  background: var(--th-mist);
  border: 1px solid var(--th-line-2);
  border-radius: var(--th-r);
  box-shadow: var(--th-shadow);
}

.th-work-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.th-work-copy,
.th-form-side {
  padding: clamp(34px, 5vw, 60px);
}

.th-work-copy h2 {
  margin: 12px 0 16px;
  font-family: 'Young Serif', Georgia, serif;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 400;
  line-height: 1.08;
}

.th-work-copy p,
.th-feature-card p {
  color: var(--th-ink-soft);
  line-height: 1.7;
}

.th-offers {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 24px 0 28px;
}

.th-offers span {
  border: 1px solid var(--th-line-2);
  border-radius: 999px;
  background: #fff;
  color: var(--th-blue-deep);
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 800;
}

.th-form-side {
  background: var(--th-paper);
  border-left: 2px dashed var(--th-line-2);
}

.th-form label {
  display: block;
  margin-bottom: 5px;
  color: var(--th-blue-deep);
  font-family: 'Caveat', cursive;
  font-size: 20px;
  font-weight: 700;
}

.th-form input,
.th-form textarea {
  width: 100%;
  margin-bottom: 18px;
  border: 1.5px solid var(--th-line-2);
  border-radius: 13px;
  padding: 14px 16px;
  background: #fff;
  color: var(--th-ink);
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: 15px;
}

.th-form input:focus,
.th-form textarea:focus {
  outline: none;
  border-color: var(--th-blue);
}

.th-form textarea { min-height: 120px; resize: vertical; }

.th-form-note {
  min-height: 1px;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
}

.th-form-note.ok { color: var(--th-blue-deep); }
.th-form-note.err { color: #b4413a; }

.th-email-alt {
  margin-top: 16px;
  color: var(--th-ink-soft);
  font-size: 13.5px;
  text-align: center;
}

.th-email-alt b { color: var(--th-blue-deep); }

.th-feature-card {
  border-radius: var(--th-r-sm);
  padding: 28px;
}

.th-feature-card h3 {
  margin: 0 0 10px;
  font-family: 'Young Serif', Georgia, serif;
  font-size: 22px;
  font-weight: 400;
}

.th-feature-card .kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--th-blue-deep);
  font-family: 'Caveat', cursive;
  font-size: 22px;
  font-weight: 700;
  transform: rotate(-1deg);
}

/* Footer */
.th-site-footer {
  background: linear-gradient(180deg, #101205 0%, #050603 100%);
  color: #fff;
  padding: clamp(56px, 7vw, 80px) 0 32px;
}

.th-foot-signup {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 36px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 2px dashed rgba(255, 255, 255, .16);
}

.th-foot-signup-copy h3 {
  margin: 0;
  color: #fff;
  font-family: 'Young Serif', Georgia, serif;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 400;
  line-height: 1.15;
}

.th-foot-signup-copy p {
  max-width: 42ch;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: 14.5px;
  line-height: 1.6;
}

.th-foot-signup-form {
  flex: 1;
  min-width: 280px;
  max-width: 460px;
}

.th-wl-row {
  display: flex;
  gap: 10px;
}

.th-wl-row input {
  flex: 1;
  min-width: 0;
  border: 1.5px solid transparent;
  border-radius: 999px;
  padding: 14px 20px;
  background: #fff;
  color: var(--th-ink);
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: 15px;
}

.th-wl-row input:focus {
  outline: none;
  border-color: var(--th-blue);
}

.th-site-footer .th-form-note.ok { color: var(--th-blue); }
.th-site-footer .th-form-note.err { color: #ff9d96; }

.th-foot-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 2px dashed rgba(255, 255, 255, .16);
}

.th-footer-logo {
  display: inline-flex;
  align-items: center;
  background: #fff9e8;
  border: 1px solid rgba(255, 236, 111, .45);
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: 0 20px 50px -38px rgba(0, 0, 0, .9);
}

.th-footer-logo img {
  width: 210px;
  max-width: 100%;
  height: auto;
  filter: none;
}

.th-footer-logo-text {
  color: var(--th-ink);
  font-family: 'Young Serif', Georgia, serif;
  font-size: 28px;
}

.th-footer-blurb {
  max-width: 35ch;
  margin-top: 12px;
  color: rgba(255, 255, 255, .7);
  font-size: 14px;
  line-height: 1.7;
}

.th-foot-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 64px;
}

.th-foot-col h4 {
  margin: 0 0 12px;
  color: var(--th-blue);
  font-family: 'Caveat', cursive;
  font-size: 23px;
  font-weight: 700;
}

.th-foot-col a {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, .75);
  font-size: 14.5px;
}

.th-foot-col a:hover,
.th-foot-col a:focus-visible { color: #fff; }

.th-foot-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 26px;
  color: rgba(255, 255, 255, .55);
  font-size: 12.5px;
}

.th-disclosure {
  max-width: 68ch;
  line-height: 1.7;
}

.th-foot-socials {
  display: flex;
  gap: 18px;
}

.th-foot-socials a { color: rgba(255, 255, 255, .75); }
.th-foot-socials a:hover { color: #fff; }

/* Legacy card styles retained for older destination pages */
.minimal-card-link { text-decoration: none; color: inherit; max-width: 300px; width: 100%; flex: 0 0 300px; }
.minimal-card { border: 1px solid #ddd; border-radius: 8px; padding: 15px; background-color: #fff; display: flex; flex-direction: column; align-items: center; text-align: center; transition: box-shadow 0.2s ease; }
.minimal-card:hover { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); cursor: pointer; }
.minimal-card-img { width: 100%; height: auto; border-radius: 6px; margin-bottom: 15px; display: block; }
.minimal-card-title { margin: 0 0 10px 0; font-size: 1.2em; font-weight: bold; color: inherit; }
.minimal-card-excerpt { margin: 0; font-size: 1em; line-height: 1.5; color: inherit; }
.scroll-container-wrapper { position: relative; display: flex; align-items: center; margin-bottom: 2rem; width: 100%; }
.card-scroll-row { display: flex; overflow-x: auto; scroll-behavior: smooth; gap: 20px; padding: 10px 0; margin: 0 40px; scrollbar-width: none; }
.card-scroll-row::-webkit-scrollbar { display: none; }
.scroll-btn { position: absolute; top: 50%; transform: translateY(-50%); background: transparent; color: #999; width: 35px; height: 35px; font-size: 18px; cursor: pointer; z-index: 10; display: flex; justify-content: center; align-items: center; }
.scroll-btn.left { left: 0; }
.scroll-btn.right { right: 0; }
.scroll-btn:hover { color: #333; border-color: #999; }
.destination-intro { max-width: 700px; margin: auto; font-size: 1.05rem; line-height: 1.6; }
.section-content { padding-left: 1rem; }
.section-content ul, .section-content dl { margin-top: 0.5rem; margin-bottom: 1rem; }
.section-content dt { font-weight: bold; margin-top: 0.75rem; }
.section-content dd { margin-left: 1rem; margin-bottom: 0.25rem; }
.destination-cta h2, .destination-transportation h2, .destination-days h2, .destination-best-time h2, .destination-areas-to-stay h2 { margin-bottom: 0.5rem; font-size: 1.4rem; }

/* Default parent page fallback spacing */
.th-main > article,
.th-main .posts-entry,
.th-main #primary,
.th-main .content-area {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: var(--th-gut);
}

.th-home,
.th-work-page {
  margin-inline: calc(50% - 50vw);
  width: 100vw;
}

@media (max-width: 1080px) {
  .th-header-inner { flex-wrap: wrap; padding-block: 12px; }
  .th-menu-toggle { display: inline-flex; margin-left: auto; }
  .th-nav,
  .th-nav-right {
    display: none;
    width: 100%;
  }
  .th-site-header.th-nav-open .th-nav,
  .th-site-header.th-nav-open .th-nav-right {
    display: flex;
  }
  .th-site-header.th-nav-open .th-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding-top: 12px;
  }
  .th-site-header.th-nav-open .th-nav-right {
    justify-content: space-between;
    padding-bottom: 8px;
  }
}

@media (max-width: 920px) {
  .admin-bar .th-site-header { top: 0; }
  .th-map-layout,
  .th-lead-inner,
  .th-work-inner { grid-template-columns: 1fr; }
  .th-form-side,
  .th-lead-visual { border-left: 0; border-top: 2px dashed var(--th-line-2); }
  .th-blog-grid,
  .th-feature-grid { grid-template-columns: 1fr 1fr; }
  .th-rail-prev { left: 0; }
  .th-rail-next { right: 0; }
}

@media (max-width: 600px) {
  .th-logo img { width: 170px; max-width: 46vw; }
  .th-hero-stamp { width: 86px; top: 92px; right: 16px; opacity: .9; }
  .th-hero-path { top: 120px; opacity: .55; }
  .th-stats .th-wrap,
  .th-blog-grid,
  .th-feature-grid { grid-template-columns: 1fr; }
  .th-stat { border-right: 0; border-bottom: 2px dashed rgba(255, 255, 255, .18); }
  .th-stat:last-child { border-bottom: 0; }
  .th-card-rail { grid-auto-columns: minmax(240px, 82vw); }
  .th-wl-row { flex-direction: column; }
  .th-wl-row .th-btn { width: 100%; }
  .th-site-header.th-nav-open .th-nav-right { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .th-reveal { opacity: 1; transform: none; }
  .th-hero-bg { transform: none; }
  .th-prod,
  .th-post { transform: none !important; }
}

/* Standalone theme content templates */
.th-loop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.th-loop-card h2 {
  margin: 8px 0 7px;
  font-family: 'Young Serif', Georgia, serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.25;
}

.th-pagination {
  margin-top: 44px;
  text-align: center;
}

.th-pagination .nav-links {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.th-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  border: 1px solid var(--th-line-2);
  border-radius: 999px;
  padding: 8px 14px;
  background: var(--th-paper);
  color: var(--th-ink);
  font-weight: 800;
}

.th-pagination .page-numbers.current,
.th-pagination .page-numbers:hover,
.th-pagination .page-numbers:focus-visible {
  background: var(--th-blue);
  border-color: var(--th-blue);
  color: var(--th-ink-2);
}

.th-content-wrap {
  max-width: 920px;
}

.th-content-card {
  background: var(--th-paper);
  border: 1px solid var(--th-line);
  border-radius: var(--th-r);
  box-shadow: var(--th-shadow);
  padding: clamp(30px, 5vw, 60px);
}

.th-entry-header {
  margin-bottom: 28px;
}

.th-entry-header-center {
  text-align: center;
}

.th-entry-header-center .th-eyebrow {
  justify-content: center;
}

.th-entry-header h1,
.th-empty-state h1 {
  margin: 12px 0 14px;
  font-family: 'Young Serif', Georgia, serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 400;
  line-height: 1.08;
}

.th-entry-meta {
  color: var(--th-ink-soft);
  font-size: 14px;
  font-weight: 700;
}

.th-entry-meta a {
  color: var(--th-blue-deep);
}

.th-entry-image {
  margin: 0 0 34px;
  overflow: hidden;
  border-radius: var(--th-r-sm);
  background: var(--th-mist-2);
}

.th-entry-image img {
  width: 100%;
  height: auto;
}

.th-prose {
  color: var(--th-ink-soft);
  font-size: 18px;
  line-height: 1.75;
}

.th-prose > * + * {
  margin-top: 1.1em;
}

.th-prose h2,
.th-prose h3,
.th-prose h4 {
  color: var(--th-ink);
  font-family: 'Young Serif', Georgia, serif;
  font-weight: 400;
  line-height: 1.2;
}

.th-prose h2 { font-size: clamp(26px, 3.4vw, 38px); }
.th-prose h3 { font-size: clamp(22px, 2.5vw, 30px); }

.th-prose a {
  color: var(--th-blue-deep);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.th-prose ul,
.th-prose ol {
  padding-left: 1.3em;
}

.th-prose blockquote {
  border-left: 4px solid var(--th-blue);
  margin-left: 0;
  padding: 10px 0 10px 24px;
  color: var(--th-ink);
  font-family: 'Caveat', cursive;
  font-size: 1.35em;
  line-height: 1.35;
}

.th-post-footer {
  margin-top: 34px;
}

.th-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.th-tags a {
  display: inline-flex;
  border: 1px solid var(--th-line-2);
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--th-blue-deep);
  font-size: 13px;
  font-weight: 800;
}

.th-empty-state {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.th-empty-state .th-cta-row {
  justify-content: center;
  margin-top: 24px;
}

.th-search-form {
  display: flex;
  gap: 10px;
  max-width: 640px;
  margin: 20px auto 0;
}

.th-search-form input[type="search"] {
  flex: 1;
  min-width: 0;
  border: 1.5px solid var(--th-line-2);
  border-radius: 999px;
  padding: 14px 20px;
  background: #fff;
  color: var(--th-ink);
  font: inherit;
}

.th-search-form input[type="search"]:focus {
  outline: none;
  border-color: var(--th-blue);
}

.th-woo-card .woocommerce,
.th-woo-card .woocommerce-page {
  font-family: 'Hanken Grotesk', Arial, sans-serif;
}

.th-woo-card .woocommerce button.button,
.th-woo-card .woocommerce a.button,
.th-woo-card .woocommerce input.button,
.th-woo-card .woocommerce #respond input#submit {
  border-radius: 999px;
  background: var(--th-blue);
  color: var(--th-ink-2);
  font-weight: 900;
}

@media (max-width: 920px) {
  .th-loop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .th-loop-grid {
    grid-template-columns: 1fr;
  }

  .th-search-form {
    flex-direction: column;
  }

  .th-search-form .th-btn {
    justify-content: center;
  }
}

/* ============================================================
   Globe-led homepage final pass
   Matches the approved warm cream / yellow / black mockup.
   ============================================================ */
:root {
  --th-bg: #fffaf0;
  --th-paper: #fffdf7;
  --th-mist: #fff0b8;
  --th-mist-2: #f3e3bd;
  --th-blue: #ffd84d;
  --th-blue-deep: #765f00;
  --th-ink: #111208;
  --th-ink-2: #050603;
  --th-ink-soft: #5c5848;
  --th-line: #eadfca;
  --th-line-2: #d7c9a8;
  --th-sage: #6e7650;
  --th-olive: #586040;
}

.th-site-header {
  background: color-mix(in srgb, var(--th-bg) 92%, transparent);
}

.th-header-inner { min-height: 82px; }
.th-logo img { width: 205px; max-width: min(205px, 44vw); }
.th-nav { gap: clamp(15px, 2vw, 28px); }
.th-nav-right .th-btn { box-shadow: 0 7px 18px -12px rgba(17,18,8,.9); }

.th-globe-home {
  background:
    radial-gradient(circle at 0% 45%, rgba(255,216,77,.38) 0 0, transparent 19%),
    radial-gradient(circle at 96% 34%, rgba(255,216,77,.28) 0 0, transparent 22%),
    linear-gradient(180deg, #fffdf7 0%, #fffaf0 58%, #fff8e8 100%);
}

.th-globe-hero {
  position: relative;
  overflow: clip;
  min-height: clamp(620px, 78vh, 760px);
  padding: clamp(44px, 6.2vw, 78px) 0 0;
  border-bottom: 1px solid var(--th-line);
}

.th-globe-hero::after {
  content: "";
  position: absolute;
  right: -9vw;
  top: 120px;
  width: min(36vw, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255,216,77,.82);
  z-index: 0;
}

.th-sunburst {
  position: absolute;
  left: -82px;
  bottom: -92px;
  width: 208px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--th-blue);
  z-index: 0;
}

.th-sunburst::before,
.th-sunburst::after {
  content: "";
  position: absolute;
  inset: -26px;
  border-radius: 50%;
  background: repeating-conic-gradient(from 4deg, transparent 0 10deg, rgba(255,216,77,.95) 10deg 14deg, transparent 14deg 24deg);
  z-index: -1;
}

.th-globe-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(320px, .88fr) minmax(620px, 1.35fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
}

.th-globe-copy {
  padding: clamp(18px, 4vw, 42px) 0 clamp(30px, 5vw, 72px);
}

.th-globe-copy h1 {
  margin: 0 0 22px;
  max-width: 12.5ch;
  color: var(--th-ink);
  font-family: 'Young Serif', Georgia, serif;
  font-size: clamp(50px, 6.45vw, 88px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.th-globe-copy h1 em {
  position: relative;
  display: inline-block;
  color: var(--th-blue);
  font-family: 'Sacramento', cursive;
  font-size: 1.18em;
  font-style: normal;
  line-height: .72;
  text-shadow: 0 1px 0 rgba(17,18,8,.08);
}

.th-globe-copy h1 em::after {
  content: "";
  position: absolute;
  left: -8px;
  right: -8px;
  bottom: .02em;
  height: .09em;
  border-radius: 999px;
  background: var(--th-blue);
  transform: rotate(-2deg);
  z-index: -1;
}

.th-globe-copy p {
  max-width: 52ch;
  margin: 0;
  color: var(--th-ink);
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.62;
}

.th-globe-copy .th-cta-row { margin-top: 34px; }
.th-globe-copy .th-btn-ghost { background: rgba(255,255,255,.7); border-color: var(--th-ink); }

.th-hero-globe-zone {
  position: relative;
  display: grid;
  grid-template-columns: minmax(430px, 1fr) minmax(238px, 300px);
  gap: clamp(18px, 2.3vw, 32px);
  align-items: center;
  min-width: 0;
}

.th-hero-plane {
  position: absolute;
  left: -80px;
  top: 6px;
  width: 280px;
  color: var(--th-ink);
  pointer-events: none;
  z-index: 2;
}

.th-hero-plane::after { content: none; }

.th-hero-legend {
  position: absolute;
  left: -160px;
  bottom: 18%;
  z-index: 3;
  display: grid;
  justify-content: start;
  gap: 8px;
  padding: 0;
  color: var(--th-ink);
  font-size: 13px;
  text-align: left;
}

.th-globe-stage {
  position: relative;
  z-index: 1;
}

.th-globe-stage .th-globe-wrap {
  max-width: min(560px, 48vw);
  filter: drop-shadow(0 28px 42px rgba(17,18,8,.22));
}

.th-globe-stage .th-globe-wrap::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: -12px;
  height: 32px;
  border-radius: 50%;
  background: rgba(17,18,8,.18);
  filter: blur(9px);
  z-index: -1;
}

.th-hero-panel {
  position: relative;
  z-index: 4;
  border-radius: 20px;
  padding: 26px;
  background: rgba(255,253,247,.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 24px 60px -36px rgba(17,18,8,.55);
}

.th-hero-panel .th-panel-nav { margin-bottom: 14px; padding-bottom: 12px; }
.th-hero-panel .flag { font-size: 22px; }
.th-hero-panel h3 { font-size: 25px; margin-top: 8px; }
.th-hero-panel .sub { font-family: 'Hanken Grotesk', system-ui, sans-serif; font-size: 13px; text-transform: uppercase; letter-spacing: .09em; color: var(--th-blue-deep); }
.th-hero-panel .blurb { font-size: 15px; color: var(--th-ink); }
.th-hero-panel .pgrid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
.th-hero-panel .pgrid img,
.th-hero-panel .ph-skel { aspect-ratio: 1 / 1; border-radius: 9px; }
.th-hero-panel .pg-3 img:first-child,
.th-hero-panel .pg-3 .ph-skel:first-child { grid-row: auto; height: auto; }
.th-hero-panel .pg-1 { grid-template-columns: 1fr; }
.th-hero-panel .pg-1 img,
.th-hero-panel .pg-1 .ph-skel { aspect-ratio: 16 / 9; }
.th-hero-panel .th-btn { --th-pad: 14px 22px; background: var(--th-ink); color: #fff; }

.th-hero-search-wrap {
  position: relative;
  z-index: 4;
  margin-top: clamp(-18px, -2vw, -8px);
}

.th-hero-search {
  max-width: 640px;
  margin: 0 auto;
}

.th-hero-search input {
  height: 58px;
  padding-left: 58px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 16px 40px -30px rgba(17,18,8,.65);
}

.th-search-icon {
  position: absolute;
  left: 22px;
  top: 50%;
  width: 18px;
  height: 18px;
  border: 2px solid var(--th-ink);
  border-radius: 50%;
  transform: translateY(-50%);
  z-index: 2;
  opacity: .8;
}

.th-search-icon::after {
  content: "";
  position: absolute;
  right: -7px;
  bottom: -5px;
  width: 8px;
  height: 2px;
  border-radius: 2px;
  background: var(--th-ink);
  transform: rotate(45deg);
}

.th-guides-strip {
  padding: clamp(46px, 6vw, 78px) 0 22px;
  background: var(--th-bg);
}

.th-section-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.th-section-row h2 {
  margin: 0;
  color: var(--th-ink);
  font-family: 'Young Serif', Georgia, serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 400;
}

.th-section-row a {
  color: var(--th-ink);
  font-size: 14px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.th-popular-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
}

.th-itinerary-card {
  overflow: hidden;
  display: block;
  border: 1px solid var(--th-line);
  border-radius: 14px;
  background: var(--th-paper);
  box-shadow: 0 18px 44px -34px rgba(17,18,8,.42);
  transition: transform 220ms var(--th-ease), box-shadow 220ms ease;
}

.th-itinerary-card:hover,
.th-itinerary-card:focus-visible {
  transform: translateY(-5px);
  box-shadow: 0 24px 54px -34px rgba(17,18,8,.55);
}

.th-itinerary-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,216,77,.34), rgba(110,118,80,.22)),
    radial-gradient(circle at 70% 26%, rgba(255,255,255,.55), transparent 28%),
    var(--th-mist-2);
}

.th-itinerary-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.th-itinerary-image.th-no-image::after {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(17,18,8,.52);
  font-family: 'Young Serif', Georgia, serif;
  font-size: clamp(22px, 3vw, 38px);
}

.th-fallback-pyramids::after { content: "△ △ △"; }
.th-fallback-city::after { content: "▥ ▥"; }
.th-fallback-temple::after { content: "◉"; }
.th-fallback-coast::after { content: "≈≈"; }
.th-fallback-balloon::after { content: "○ ○"; }

.th-price-badge {
  position: absolute;
  left: 14px;
  top: 12px;
  z-index: 2;
  border-radius: 999px;
  background: var(--th-blue);
  color: var(--th-ink);
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.th-itinerary-body {
  position: relative;
  padding: 16px 42px 16px 16px;
}

.th-itinerary-body h3 {
  margin: 0 0 5px;
  color: var(--th-ink);
  font-family: 'Young Serif', Georgia, serif;
  font-size: clamp(18px, 1.8vw, 23px);
  font-weight: 400;
  line-height: 1.15;
}

.th-itinerary-body p {
  margin: 0;
  color: var(--th-ink);
  font-size: 13px;
  line-height: 1.35;
}

.th-card-arrow {
  position: absolute;
  right: 16px;
  bottom: 17px;
  color: var(--th-ink);
  font-size: 20px;
}

.th-feature-strip {
  padding: 26px 0 36px;
  background: var(--th-bg);
}

.th-feature-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--th-line);
  border-bottom: 1px solid var(--th-line);
}

.th-mini-feature {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 24px;
  align-items: center;
  padding: 30px clamp(18px, 3vw, 36px);
  border-right: 1px solid var(--th-line);
}

.th-mini-feature:last-child { border-right: 0; }

.th-mini-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--th-blue);
  color: var(--th-ink);
  box-shadow: 0 14px 30px -24px rgba(17,18,8,.6);
}

.th-mini-icon::before {
  font-size: 30px;
  line-height: 1;
}

.th-icon-map::before { content: "🗺"; }
.th-icon-suitcase::before { content: "▣"; font-size: 28px; }
.th-icon-camera::before { content: "▢"; font-size: 31px; }

.th-mini-copy strong {
  display: block;
  margin-bottom: 5px;
  color: var(--th-ink);
  font-family: 'Young Serif', Georgia, serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.15;
}

.th-mini-copy span {
  display: block;
  color: var(--th-ink);
  font-size: 14.5px;
  line-height: 1.45;
}

.th-mini-copy em {
  display: inline-block;
  margin-top: 9px;
  color: var(--th-ink);
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Make older card classes less scrapbook-like on the refreshed homepage. */
.th-globe-home .th-prod,
.th-globe-home .th-post { transform: none; border-radius: 14px; }
.th-globe-home .th-prod::before { display: none; }

/* Yellow signup band above the dark footer content. */
.th-site-footer {
  padding-top: 0;
  background: linear-gradient(180deg, #111208 0%, #050603 100%);
}

.th-foot-signup {
  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-bottom: 46px;
  padding: 26px max(var(--th-gut), calc((100vw - var(--th-maxw)) / 2 + var(--th-gut))) 26px;
  border-bottom: 0;
  background: linear-gradient(90deg, #ffd84d 0%, #ffe477 100%);
  color: var(--th-ink);
}

.th-foot-signup::before {
  content: "☻";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  color: var(--th-ink);
  font-size: 34px;
}

.th-foot-signup-copy h3 { color: var(--th-ink); }
.th-foot-signup-copy p { color: var(--th-ink); }
.th-foot-signup-form .th-btn { background: var(--th-ink); color: #fff; }
.th-site-footer .th-form-note.ok { color: var(--th-ink); }
.th-site-footer .th-form-note.err { color: #7b1f1a; }

@media (max-width: 1120px) {
  .th-globe-hero-grid {
    grid-template-columns: 1fr;
  }
  .th-globe-copy {
    max-width: 760px;
    padding-bottom: 0;
  }
  .th-globe-copy h1 { max-width: 13ch; }
  .th-hero-globe-zone {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  }
  .th-hero-legend {
    position: static;
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: -12px;
  }
  .th-globe-stage .th-globe-wrap { max-width: min(540px, 58vw); }
  .th-popular-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 920px) {
  .th-header-inner { min-height: 74px; }
  .th-logo img { width: 175px; }
  .th-globe-hero { padding-top: 32px; }
  .th-hero-globe-zone { grid-template-columns: 1fr; }
  .th-hero-plane { right: 5%; left: auto; top: -16px; width: 210px; }
  .th-globe-stage .th-globe-wrap { max-width: min(520px, 92vw); }
  .th-hero-panel { max-width: 480px; margin: 0 auto; }
  .th-hero-search-wrap { margin-top: 26px; }
  .th-feature-strip-grid { grid-template-columns: 1fr; }
  .th-mini-feature { border-right: 0; border-bottom: 1px solid var(--th-line); }
  .th-mini-feature:last-child { border-bottom: 0; }
}

@media (max-width: 720px) {
  .th-globe-hero {
    min-height: auto;
    padding-bottom: 32px;
  }
  .th-globe-copy h1 {
    font-size: clamp(42px, 12vw, 62px);
  }
  .th-globe-copy p { font-size: 16px; }
  .th-globe-copy .th-cta-row { display: grid; }
  .th-globe-copy .th-btn { width: 100%; }
  .th-hero-legend { gap: 10px 14px; font-size: 12.5px; }
  .th-popular-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(245px, 82vw);
    grid-template-columns: none;
    overflow-x: auto;
    padding: 4px 4px 18px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .th-popular-grid::-webkit-scrollbar { display: none; }
  .th-itinerary-card { scroll-snap-align: start; }
  .th-section-row { align-items: center; }
  .th-foot-signup { align-items: flex-start; gap: 18px; }
  .th-foot-signup::before { width: 58px; height: 58px; font-size: 28px; }
}

@media (max-width: 560px) {
  .th-globe-hero::after { width: 70vw; top: 240px; right: -34vw; opacity: .72; }
  .th-sunburst { width: 150px; left: -80px; bottom: 120px; opacity: .9; }
  .th-globe-stage .th-globe-wrap { max-width: 100%; }
  .th-hero-panel { padding: 20px; }
  .th-hero-panel .pgrid { grid-template-columns: repeat(3, 1fr); }
  .th-hero-search input { height: 54px; }
  .th-mini-feature { grid-template-columns: 60px 1fr; gap: 18px; padding: 24px 0; }
  .th-mini-icon { width: 54px; height: 54px; }
  .th-mini-copy strong { font-size: 18px; }
}

/* ============================================================
   v1.2 homepage refinement: light globe palette, permanent legend
   placement under globe, wider guide panel, corrected headline and
   newsletter alignment.
   ============================================================ */
:root {
  --th-maxw: 1320px;
  --th-map-guide: #ffd84d;
  --th-map-selected: #d99a00;
  --th-map-visited: #ffe9a3;
  --th-map-not-visited: #eee8d6;
  --th-map-border: #d8c8aa;
}

.th-nowrap { white-space: nowrap; }

.th-globe-copy h1 {
  max-width: 15ch;
  font-size: clamp(48px, 5.5vw, 82px);
  line-height: 1;
}

.th-hero-globe-zone {
  grid-template-columns: minmax(520px, 1fr) minmax(340px, 390px);
  align-items: center;
}

.th-globe-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.th-globe-stage .th-globe-wrap {
  max-width: min(575px, 43vw);
}

.th-hero-legend {
  position: static !important;
  inset: auto !important;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 18px;
  width: fit-content;
  max-width: min(100%, 620px);
  margin: 16px auto 0;
  padding: 11px 17px;
  border: 1px solid var(--th-line);
  border-radius: 999px;
  background: rgba(255, 253, 247, .94);
  box-shadow: 0 18px 42px -34px rgba(17, 18, 8, .55);
  color: var(--th-ink);
  font-size: 13px;
  text-align: center;
}

.th-hero-legend span {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.th-hero-legend i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(17, 18, 8, .08);
}

.th-hero-panel {
  width: 100%;
  min-width: 0;
  padding: 30px;
}

.th-hero-panel .th-panel-nav {
  gap: 14px;
}

.th-hero-panel .th-globe-nav-hint {
  white-space: nowrap;
}

.th-hero-panel .th-btn {
  width: 100%;
}

.th-hero-plane {
  left: -120px;
  top: -8px;
  width: clamp(265px, 25vw, 355px);
  color: var(--th-ink);
  opacity: 1;
  overflow: visible;
}

.th-hero-plane .th-flight-path {
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-dasharray: 5 8;
  stroke-linecap: round;
  fill: none;
  opacity: .42;
}

.th-hero-plane .th-plane-shape {
  fill: currentColor;
}

.th-hero-plane .th-spin-text {
  fill: currentColor;
  font-family: 'Caveat', cursive;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: .01em;
}

.th-hero-plane .th-spin-arrow {
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  opacity: .9;
}

.th-foot-signup {
  display: grid;
  grid-template-columns: 76px minmax(260px, 1fr) minmax(360px, 520px);
  align-items: center;
  justify-content: stretch;
  gap: 24px 30px;
}

.th-foot-signup::before {
  grid-column: 1;
  justify-self: center;
}

.th-foot-signup-copy {
  grid-column: 2;
  text-align: left;
}

.th-foot-signup-form {
  grid-column: 3;
  justify-self: end;
  width: 100%;
  max-width: 520px;
}

.th-wl-row {
  align-items: center;
  justify-content: flex-end;
}

.th-wl-row .th-btn {
  flex: 0 0 auto;
}

@media (max-width: 1180px) {
  .th-hero-globe-zone {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 370px);
  }

  .th-globe-stage .th-globe-wrap {
    max-width: min(560px, 54vw);
  }
}

@media (max-width: 1120px) {
  .th-globe-copy h1 { max-width: 16ch; }

  .th-hero-globe-zone {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  }

  .th-hero-legend {
    margin-bottom: 0;
  }
}

@media (max-width: 980px) {
  .th-foot-signup {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .th-foot-signup-form {
    grid-column: 1 / -1;
    justify-self: stretch;
    max-width: none;
  }
}

@media (max-width: 920px) {
  .th-hero-globe-zone {
    grid-template-columns: 1fr;
  }

  .th-globe-stage .th-globe-wrap {
    max-width: min(540px, 92vw);
  }

  .th-hero-plane {
    left: calc(50% - 310px);
    top: -22px;
    width: 285px;
  }
}

@media (max-width: 720px) {
  .th-globe-copy h1 {
    max-width: 11.5ch;
    font-size: clamp(42px, 11vw, 62px);
  }

  .th-hero-legend {
    width: 100%;
    border-radius: 18px;
    justify-content: flex-start;
    padding: 12px 14px;
    font-size: 12.5px;
  }

  .th-foot-signup {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .th-foot-signup::before,
  .th-foot-signup-copy,
  .th-foot-signup-form {
    grid-column: 1;
    justify-self: start;
  }

  .th-foot-signup-form {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .th-hero-plane {
    left: 44px;
    top: -10px;
    width: 225px;
  }

  .th-hero-panel {
    padding: 22px;
  }

  .th-wl-row {
    flex-direction: column;
    align-items: stretch;
  }

  .th-wl-row .th-btn {
    width: 100%;
  }
}


/* v1.2 SVG class aliases for the handwritten spin-me path. */
.th-hero-plane .th-plane-path {
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-dasharray: 5 8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  opacity: .42;
}

.th-hero-plane .th-plane-icon {
  fill: currentColor;
}

.th-hero-plane .th-spin-arrow-head {
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  opacity: .9;
}

.th-legend-guide { background: var(--th-map-guide); }
.th-legend-selected { background: var(--th-map-selected); }
.th-legend-visited { background: var(--th-map-visited); }
.th-legend-not { background: var(--th-map-not-visited); }


/* ============================================================
   V1.2 refinements: lighter globe palette, fixed legend placement,
   wider guide panel, stable headline wrapping, newsletter alignment,
   and hand-drawn spin-me path.
   ============================================================ */
:root {
  --th-map-guide: #ffcf24;
  --th-map-selected: #d69a00;
  --th-map-visited: #ffedab;
  --th-map-not: #eee7d2;
  --th-map-border: #dbc89e;
}

.th-nowrap { white-space: nowrap; }

.th-globe-copy h1 {
  max-width: 15.4ch;
  font-size: clamp(48px, 5.1vw, 74px);
  line-height: 1.02;
}

.th-globe-hero-grid {
  grid-template-columns: minmax(360px, .74fr) minmax(760px, 1.55fr);
  gap: clamp(24px, 3vw, 44px);
}

.th-hero-globe-zone {
  grid-template-columns: minmax(420px, 1fr) minmax(330px, 390px);
  gap: clamp(22px, 2.4vw, 34px);
}

.th-globe-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.th-globe-stage .th-globe-wrap {
  max-width: min(610px, 47vw);
}

.th-hero-legend {
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px 20px;
  width: fit-content;
  max-width: min(100%, 680px);
  margin: 12px auto 0;
  padding: 11px 18px;
  border: 1px solid var(--th-line);
  border-radius: 999px;
  background: rgba(255, 253, 247, .94);
  box-shadow: 0 16px 40px -32px rgba(17, 18, 8, .55);
  color: var(--th-ink);
  font-size: 13px;
  text-align: center;
  backdrop-filter: blur(8px);
}

.th-legend-guide { background: var(--th-map-guide); }
.th-legend-selected { background: var(--th-map-selected); }
.th-legend-visited { background: var(--th-map-visited); border: 1px solid rgba(16, 18, 5, .12); }
.th-legend-not { background: var(--th-map-not); border: 1px solid rgba(16, 18, 5, .10); }

.th-hero-panel {
  width: 100%;
  min-width: 330px;
  max-width: 390px;
  padding: 30px;
}

.th-hero-panel .th-panel-nav {
  gap: 14px;
}

.th-hero-panel .th-panel-nav .th-globe-nav-hint {
  white-space: nowrap;
  font-size: 17px;
}

.th-hero-plane {
  left: -176px;
  top: -2px;
  width: 360px;
  overflow: visible;
  color: var(--th-ink);
  opacity: .96;
}

.th-plane-icon {
  fill: currentColor;
}

.th-plane-path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-dasharray: 5 7;
  opacity: .45;
}

.th-spin-text {
  fill: currentColor;
  font-family: 'Caveat', cursive;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .01em;
}

.th-spin-arrow,
.th-spin-arrow-head {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.th-sb-guide { background: var(--th-map-guide); color: var(--th-ink); }
.th-sb-photos,
.th-sb-soon { background: var(--th-map-visited); color: var(--th-ink); }

.th-foot-signup {
  display: grid;
  grid-template-columns: 76px minmax(250px, 1fr) minmax(360px, 520px);
  align-items: center;
  justify-content: stretch;
  gap: 22px;
  padding-top: 26px;
  padding-bottom: 26px;
}

.th-foot-signup::before {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
}

.th-foot-signup-copy {
  grid-column: 2;
  min-width: 0;
  text-align: left;
}

.th-foot-signup-form {
  grid-column: 3;
  width: 100%;
  min-width: 0;
  max-width: none;
  justify-self: end;
}

.th-wl-row {
  width: 100%;
}

.th-wl-row input {
  height: 56px;
  padding: 0 24px;
}

.th-wl-row .th-btn {
  min-width: 132px;
  background: var(--th-ink);
  color: #fff;
}

@media (max-width: 1120px) {
  .th-globe-hero-grid {
    grid-template-columns: 1fr;
  }

  .th-globe-copy h1 {
    max-width: 15ch;
  }

  .th-hero-globe-zone {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  }

  .th-globe-stage .th-globe-wrap {
    max-width: min(600px, 56vw);
  }
}

@media (max-width: 920px) {
  .th-hero-globe-zone {
    grid-template-columns: 1fr;
  }

  .th-globe-stage .th-globe-wrap {
    max-width: min(560px, 92vw);
  }

  .th-hero-plane {
    left: auto;
    right: 6%;
    top: -34px;
    width: 300px;
  }

  .th-hero-panel {
    min-width: 0;
    max-width: 560px;
    margin: 0 auto;
  }

  .th-foot-signup {
    grid-template-columns: 64px 1fr;
  }

  .th-foot-signup-copy {
    grid-column: 2;
  }

  .th-foot-signup-form {
    grid-column: 1 / -1;
    justify-self: stretch;
  }
}

@media (max-width: 720px) {
  .th-nowrap { white-space: normal; }
  .th-globe-copy h1 { max-width: 11.8ch; }
  .th-hero-legend {
    width: 100%;
    border-radius: 18px;
    justify-content: flex-start;
    text-align: left;
  }
}

@media (max-width: 560px) {
  .th-hero-plane {
    top: -20px;
    right: -18px;
    width: 250px;
    opacity: .78;
  }

  .th-foot-signup {
    grid-template-columns: 56px 1fr;
    gap: 14px 16px;
  }

  .th-wl-row {
    flex-direction: column;
  }

  .th-wl-row .th-btn {
    width: 100%;
  }
}


/* ============================================================
   V1.3 fixes after live review:
   - remove decorative plane/blob/path and keep only "spin me!" + clean arrow
   - legend has only two states and stays on one line
   - final light/yellow globe palette
   ============================================================ */
:root {
  --th-map-guide: #ffcf24;
  --th-map-selected: #d69a00;
  --th-map-visited: #ffefad;
  --th-map-not: #eee9dc;
  --th-map-border: #dccda9;
}

.th-hero-plane {
  left: -112px;
  top: 8px;
  width: 260px;
  height: auto;
  overflow: visible;
  color: var(--th-ink);
  opacity: .95;
  pointer-events: none;
}

.th-hero-plane .th-plane-icon,
.th-hero-plane .th-plane-path,
.th-hero-plane .th-flight-path {
  display: none !important;
}

.th-hero-plane .th-spin-text {
  fill: currentColor;
  font-family: 'Caveat', cursive;
  font-size: 27px;
  font-weight: 700;
  letter-spacing: .01em;
}

.th-hero-plane .th-spin-arrow {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.th-hero-plane .th-spin-arrow-marker {
  fill: currentColor;
  stroke: none;
}

.th-hero-legend {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: auto;
  max-width: calc(100vw - 40px);
  white-space: nowrap;
  padding: 11px 18px;
}

.th-hero-legend span {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  white-space: nowrap;
}

.th-legend-guide { background: var(--th-map-guide); }
.th-legend-visited { background: var(--th-map-visited); border: 1px solid rgba(16, 18, 5, .12); }

.th-sb-guide { background: var(--th-map-guide); color: var(--th-ink); }
.th-sb-photos,
.th-sb-soon { background: var(--th-map-visited); color: var(--th-ink); }

@media (max-width: 920px) {
  .th-hero-plane {
    left: auto;
    right: 8%;
    top: -20px;
    width: 230px;
  }
}

@media (max-width: 560px) {
  .th-hero-plane {
    right: -8px;
    top: -16px;
    width: 205px;
    opacity: .82;
  }

  .th-hero-legend {
    gap: 12px;
    font-size: 12px;
    padding: 10px 12px;
  }
}

/* ============================================================
   V1.4 fix: keep mini-feature link arrows inline with CTA text.
   The general .th-mini-copy span rule makes nested arrow spans block-level;
   this override keeps Explore now / Learn more / Read the blog on one line.
   ============================================================ */
.th-mini-copy em {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.th-mini-copy em span {
  display: inline !important;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

/* ============================================================
   V1.5 targeted fixes after live screenshot review.
   Honest scope: removes the drifting SVG overlay and anchors the
   callout to the globe itself; constrains the newsletter band so it
   cannot create horizontal overflow.
   ============================================================ */
html,
body.th-body {
  max-width: 100%;
  overflow-x: hidden;
}

body.th-body .th-site,
body.th-body .th-main,
body.th-body .th-site-footer {
  max-width: 100%;
  overflow-x: clip;
}

/* The old callout SVG was a sibling of the globe and drifted on resize. Hide it in case a cached template still outputs it. */
.th-hero-plane {
  display: none !important;
}

.th-globe-stage {
  position: relative;
}

.th-globe-wrap {
  overflow: visible;
}

.th-spin-callout {
  position: absolute;
  z-index: 5;
  left: -16%;
  top: 9%;
  width: clamp(150px, 16vw, 225px);
  color: var(--th-ink);
  pointer-events: none;
  transform: rotate(-7deg);
  transform-origin: center;
}

.th-spin-callout span {
  display: block;
  font-family: 'Caveat', 'Comic Sans MS', cursive;
  font-size: clamp(27px, 2.45vw, 39px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: .01em;
}

.th-spin-callout svg {
  display: block;
  width: 48%;
  height: auto;
  margin: -2px 0 0 58%;
  overflow: visible;
  transform: rotate(10deg);
}

.th-spin-callout path {
  fill: none;
  stroke: currentColor;
  stroke-width: 4.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Keep the callout tied to the globe on narrower widths instead of letting it float toward the headline or background sun. */
@media (max-width: 1120px) {
  .th-spin-callout {
    left: -8%;
    top: 7%;
    width: clamp(145px, 22vw, 215px);
  }
}

@media (max-width: 720px) {
  .th-spin-callout {
    left: 2%;
    top: 3%;
    width: 148px;
    opacity: .92;
  }
}

@media (max-width: 480px) {
  .th-spin-callout {
    left: 4%;
    top: 2%;
    width: 128px;
  }

  .th-spin-callout span {
    font-size: 26px;
  }
}

/* Newsletter: remove the previous 100vw full-bleed trick that caused horizontal scrolling and off-canvas form controls. */
.th-site-footer .th-wrap {
  overflow: visible;
}

.th-foot-signup {
  position: static !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
  display: grid !important;
  grid-template-columns: 74px minmax(0, 1fr) minmax(320px, 520px) !important;
  align-items: center !important;
  gap: 22px 28px !important;
  padding: 26px clamp(18px, 3vw, 36px) !important;
  border-radius: 0 !important;
  background: linear-gradient(90deg, #ffd84d 0%, #ffe477 100%) !important;
  color: var(--th-ink) !important;
  overflow: hidden !important;
}

.th-foot-signup::before {
  grid-column: 1 !important;
  grid-row: 1 !important;
  justify-self: center !important;
  margin: 0 !important;
  flex: none !important;
}

.th-foot-signup-copy {
  grid-column: 2 !important;
  grid-row: 1 !important;
  min-width: 0 !important;
  text-align: left !important;
}

.th-foot-signup-form {
  grid-column: 3 !important;
  grid-row: 1 !important;
  width: 100% !important;
  max-width: 520px !important;
  min-width: 0 !important;
  justify-self: end !important;
}

.th-wl-row {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  width: 100% !important;
  min-width: 0 !important;
  gap: 10px !important;
}

.th-wl-row input {
  min-width: 0 !important;
  max-width: 100% !important;
}

.th-wl-row .th-btn {
  flex: 0 0 auto !important;
}

@media (max-width: 980px) {
  .th-foot-signup {
    grid-template-columns: 62px minmax(0, 1fr) !important;
  }

  .th-foot-signup-copy {
    grid-column: 2 !important;
  }

  .th-foot-signup-form {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    justify-self: stretch !important;
    max-width: none !important;
  }
}

@media (max-width: 560px) {
  .th-foot-signup {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding: 24px 18px !important;
  }

  .th-foot-signup::before,
  .th-foot-signup-copy,
  .th-foot-signup-form {
    grid-column: 1 !important;
    grid-row: auto !important;
    justify-self: start !important;
  }

  .th-wl-row {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .th-wl-row .th-btn {
    width: 100% !important;
  }
}

/* ============================================================
   V1.5 targeted fixes after live screenshot review.
   Honest scope: removes the drifting SVG overlay and anchors the
   callout to the globe itself; constrains the newsletter band so it
   cannot create horizontal overflow.
   ============================================================ */
html,
body.th-body {
  max-width: 100%;
  overflow-x: hidden;
}

body.th-body .th-site,
body.th-body .th-main,
body.th-body .th-site-footer {
  max-width: 100%;
  overflow-x: clip;
}

/* The old callout SVG was a sibling of the globe and drifted on resize. Hide it in case a cached template still outputs it. */
.th-hero-plane {
  display: none !important;
}

.th-globe-stage {
  position: relative;
}

.th-globe-wrap {
  overflow: visible;
}

.th-spin-callout {
  position: absolute;
  z-index: 5;
  left: -16%;
  top: 9%;
  width: clamp(150px, 16vw, 225px);
  color: var(--th-ink);
  pointer-events: none;
  transform: rotate(-7deg);
  transform-origin: center;
}

.th-spin-callout span {
  display: block;
  font-family: 'Caveat', 'Comic Sans MS', cursive;
  font-size: clamp(27px, 2.45vw, 39px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: .01em;
}

.th-spin-callout svg {
  display: block;
  width: 48%;
  height: auto;
  margin: -2px 0 0 58%;
  overflow: visible;
  transform: rotate(10deg);
}

.th-spin-callout path {
  fill: none;
  stroke: currentColor;
  stroke-width: 4.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Keep the callout tied to the globe on narrower widths instead of letting it float toward the headline or background sun. */
@media (max-width: 1120px) {
  .th-spin-callout {
    left: -8%;
    top: 7%;
    width: clamp(145px, 22vw, 215px);
  }
}

@media (max-width: 720px) {
  .th-spin-callout {
    left: 2%;
    top: 3%;
    width: 148px;
    opacity: .92;
  }
}

@media (max-width: 480px) {
  .th-spin-callout {
    left: 4%;
    top: 2%;
    width: 128px;
  }

  .th-spin-callout span {
    font-size: 26px;
  }
}

/* Newsletter: remove the previous 100vw full-bleed trick that caused horizontal scrolling and off-canvas form controls. */
.th-site-footer .th-wrap {
  overflow: visible;
}

.th-foot-signup {
  position: static !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
  display: grid !important;
  grid-template-columns: 74px minmax(0, 1fr) minmax(320px, 520px) !important;
  align-items: center !important;
  gap: 22px 28px !important;
  padding: 26px clamp(18px, 3vw, 36px) !important;
  border-radius: 0 !important;
  background: linear-gradient(90deg, #ffd84d 0%, #ffe477 100%) !important;
  color: var(--th-ink) !important;
  overflow: hidden !important;
}

.th-foot-signup::before {
  grid-column: 1 !important;
  grid-row: 1 !important;
  justify-self: center !important;
  margin: 0 !important;
  flex: none !important;
}

.th-foot-signup-copy {
  grid-column: 2 !important;
  grid-row: 1 !important;
  min-width: 0 !important;
  text-align: left !important;
}

.th-foot-signup-form {
  grid-column: 3 !important;
  grid-row: 1 !important;
  width: 100% !important;
  max-width: 520px !important;
  min-width: 0 !important;
  justify-self: end !important;
}

.th-wl-row {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  width: 100% !important;
  min-width: 0 !important;
  gap: 10px !important;
}

.th-wl-row input {
  min-width: 0 !important;
  max-width: 100% !important;
}

.th-wl-row .th-btn {
  flex: 0 0 auto !important;
}

@media (max-width: 980px) {
  .th-foot-signup {
    grid-template-columns: 62px minmax(0, 1fr) !important;
  }

  .th-foot-signup-copy {
    grid-column: 2 !important;
  }

  .th-foot-signup-form {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    justify-self: stretch !important;
    max-width: none !important;
  }
}

@media (max-width: 560px) {
  .th-foot-signup {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding: 24px 18px !important;
  }

  .th-foot-signup::before,
  .th-foot-signup-copy,
  .th-foot-signup-form {
    grid-column: 1 !important;
    grid-row: auto !important;
    justify-self: start !important;
  }

  .th-wl-row {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .th-wl-row .th-btn {
    width: 100% !important;
  }
}


/* ============================================================
   V1.8 targeted repair.
   - Keep the original header sizing while making the bar sticky.
   - Add the 15 percent transparent scrolled header state.
   - Move the spin callout into safe flow above the globe so it does not
     overlap the headline, globe, guide card, or mobile layout.
   - Keep the Happiness List band full browser width with centered content.
   ============================================================ */

html,
body.th-body {
  max-width: 100% !important;
  overflow-x: clip !important;
  overflow-y: visible !important;
}

body.th-body {
  margin: 0 !important;
}

body.th-body .th-site {
  max-width: 100% !important;
  overflow: visible !important;
}

body.th-body .th-main,
body.th-body .th-site-footer,
.th-home,
.th-work-page {
  max-width: 100% !important;
}

body.th-body .th-main,
body.th-body .th-site-footer {
  overflow-x: clip !important;
}

.th-site-header {
  position: sticky !important;
  top: 0 !important;
  left: auto !important;
  right: auto !important;
  z-index: 10000 !important;
  background: rgba(255, 250, 240, .96) !important;
  border-bottom: 1px solid var(--th-line) !important;
  box-shadow: none !important;
  backdrop-filter: blur(14px) saturate(1.15);
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.th-site-header.th-scrolled {
  background: rgba(255, 250, 240, .85) !important;
  border-bottom-color: rgba(215, 201, 168, .72) !important;
  box-shadow: 0 10px 28px -24px rgba(17, 18, 8, .55) !important;
}

@supports (background: color-mix(in srgb, white 85%, transparent)) {
  .th-site-header {
    background: color-mix(in srgb, var(--th-bg) 96%, transparent) !important;
  }

  .th-site-header.th-scrolled {
    background: color-mix(in srgb, var(--th-bg) 85%, transparent) !important;
  }
}

.admin-bar .th-site-header {
  top: 32px !important;
}

.th-header-inner {
  min-height: 82px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.th-logo img {
  width: 205px !important;
  max-width: min(205px, 44vw) !important;
  height: auto !important;
  margin: 0 !important;
}

.th-nav-right .th-btn {
  --th-pad: 11px 22px;
}

.th-hero-plane {
  display: none !important;
}

.th-globe-stage {
  position: relative !important;
  overflow: visible !important;
}

.th-globe-stage > .th-spin-callout {
  position: relative !important;
  inset: auto !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  z-index: 4 !important;
  align-self: flex-end !important;
  width: clamp(118px, 12vw, 165px) !important;
  max-width: 40vw !important;
  margin: 0 clamp(20px, 8%, 64px) 8px auto !important;
  padding: 0 !important;
  color: var(--th-ink) !important;
  pointer-events: none !important;
  text-align: center !important;
  transform: rotate(-5deg) !important;
  transform-origin: center !important;
}

.th-globe-stage > .th-spin-callout span {
  display: block !important;
  font-family: 'Caveat', 'Comic Sans MS', cursive !important;
  font-size: clamp(25px, 2.05vw, 34px) !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: .01em !important;
  white-space: nowrap !important;
}

.th-globe-stage > .th-spin-callout svg {
  display: block !important;
  width: 66% !important;
  height: auto !important;
  margin: 0 auto 0 4% !important;
  overflow: visible !important;
  transform: scaleX(-1) rotate(7deg) !important;
  transform-origin: center !important;
}

.th-globe-stage > .th-spin-callout path {
  fill: none !important;
  stroke: currentColor !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  vector-effect: non-scaling-stroke;
}

.th-globe-stage > .th-spin-callout .th-spin-arrow-line {
  stroke-width: 3.1 !important;
}

.th-globe-stage > .th-spin-callout .th-spin-arrow-head {
  stroke-width: 2.7 !important;
}

.th-site-footer {
  padding-top: 0 !important;
  overflow-x: clip !important;
}

.th-site-footer > .th-wrap {
  overflow: visible !important;
}

.th-foot-signup {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 46px !important;
  padding: 0 !important;
  display: block !important;
  box-sizing: border-box !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: linear-gradient(90deg, #ffd84d 0%, #ffe477 100%) !important;
  color: var(--th-ink) !important;
  overflow: hidden !important;
}

.th-foot-signup::before,
.th-foot-signup::after {
  content: none !important;
  display: none !important;
}

.th-foot-signup-inner {
  display: grid !important;
  grid-template-columns: 74px minmax(0, 1fr) minmax(320px, 520px) !important;
  align-items: center !important;
  gap: 22px 28px !important;
  padding-top: 26px !important;
  padding-bottom: 26px !important;
  box-sizing: border-box !important;
}

.th-foot-signup-inner::before {
  content: "\263B";
  grid-column: 1;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .22);
  color: var(--th-ink);
  font-size: 34px;
  line-height: 1;
}

.th-foot-signup-copy {
  grid-column: 2 !important;
  grid-row: 1 !important;
  min-width: 0 !important;
  text-align: left !important;
}

.th-foot-signup-copy h3,
.th-foot-signup-copy p {
  color: var(--th-ink) !important;
}

.th-foot-signup-form {
  grid-column: 3 !important;
  grid-row: 1 !important;
  width: 100% !important;
  max-width: 520px !important;
  min-width: 0 !important;
  justify-self: end !important;
}

.th-wl-row {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  width: 100% !important;
  min-width: 0 !important;
  gap: 10px !important;
}

.th-wl-row input {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

.th-wl-row .th-btn {
  flex: 0 0 auto !important;
  background: var(--th-ink) !important;
  color: #fff !important;
}

.th-site-footer .th-form-note.ok { color: var(--th-ink) !important; }
.th-site-footer .th-form-note.err { color: #7b1f1a !important; }

@media (max-width: 980px) {
  .th-foot-signup-inner {
    grid-template-columns: 62px minmax(0, 1fr) !important;
  }

  .th-foot-signup-inner::before {
    grid-column: 1;
  }

  .th-foot-signup-copy {
    grid-column: 2 !important;
  }

  .th-foot-signup-form {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    justify-self: stretch !important;
    max-width: none !important;
  }
}

@media (max-width: 920px) {
  .admin-bar .th-site-header {
    top: 32px !important;
  }

  .th-header-inner {
    min-height: 74px !important;
  }

  .th-logo img {
    width: 175px !important;
    max-width: min(175px, 42vw) !important;
  }

  .th-globe-stage > .th-spin-callout {
    width: 132px !important;
    max-width: 42vw !important;
    margin: 0 clamp(22px, 12vw, 68px) 8px auto !important;
  }
}

@media (max-width: 782px) {
  .admin-bar .th-site-header {
    top: 46px !important;
  }
}

@media (max-width: 560px) {
  .th-foot-signup-inner {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding-top: 24px !important;
    padding-bottom: 24px !important;
  }

  .th-foot-signup-inner::before,
  .th-foot-signup-copy,
  .th-foot-signup-form {
    grid-column: 1 !important;
    grid-row: auto !important;
    justify-self: start !important;
  }

  .th-foot-signup-inner::before {
    width: 58px;
    height: 58px;
    font-size: 28px;
  }

  .th-wl-row {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .th-wl-row .th-btn {
    width: 100% !important;
  }

  .th-globe-stage > .th-spin-callout {
    width: 114px !important;
    max-width: 44vw !important;
    margin: 4px 18px 6px auto !important;
  }

  .th-globe-stage > .th-spin-callout span {
    font-size: 24px !important;
  }
}

/* ============================================================
   V1.9.1 map search repair
   The homepage search sits at the bottom of the hero. The dropdown now
   opens upward so it stays visible and clickable on desktop and mobile,
   while the hero still clips decorative artwork horizontally.
   ============================================================ */
.th-globe-home {
  overflow-x: clip !important;
}

.th-globe-hero {
  overflow: clip !important;
}

.th-globe-hero::after,
.th-sunburst,
.th-search-icon {
  pointer-events: none !important;
}

.th-hero-search-wrap,
.th-map-search,
.th-hero-search {
  position: relative !important;
  z-index: 80 !important;
}

body.th-body .th-hero-search .th-search-results {
  top: auto !important;
  bottom: calc(100% + 10px) !important;
  z-index: 10000 !important;
  max-height: min(54vh, 360px) !important;
  pointer-events: auto !important;
}

body.th-body .th-hero-search .th-search-results::after {
  content: "";
  position: absolute;
  left: 38px;
  bottom: -7px;
  width: 14px;
  height: 14px;
  border-right: 1px solid var(--th-line);
  border-bottom: 1px solid var(--th-line);
  background: var(--th-paper);
  transform: rotate(45deg);
  pointer-events: none;
}

body.th-body .th-hero-search .th-sr,
body.th-body .th-hero-search .th-sr-empty {
  position: relative;
  z-index: 1;
}

body.th-body .th-main {
  overflow-x: clip !important;
  overflow-y: visible !important;
}

#country-search {
  scroll-margin-top: 132px;
}

@supports not (overflow: clip) {
  .th-globe-home,
  body.th-body .th-main {
    overflow-x: hidden !important;
  }
}

@media (max-width: 782px) {
  #country-search {
    scroll-margin-top: 110px;
  }
}

@media (max-width: 560px) {
  body.th-body .th-hero-search .th-search-results {
    left: -2px !important;
    right: -2px !important;
    max-height: min(50vh, 320px) !important;
  }
}

