/* thewandererindia.com — espresso field notes */
:root {
  --bg: #120c08;
  --bg-elev: #1b130e;
  --header: #241810;
  --card: #1e1510;
  --card-hover: #2a1d16;
  --line: rgba(212, 160, 84, 0.16);
  --text: #f3e6d4;
  --muted: #b8a48c;
  --copper: #d4a054;
  --copper-deep: #a86b32;
  --copper-soft: #e8c48a;
  --cream: #f6ead8;
  --ink: #1a120c;
  --rail: #c4843a;
  --danger: #c45a48;
  --radius: 6px;
  --shadow: 0 20px 44px rgba(8, 4, 2, 0.45);
  --font: "Segoe UI", "Nirmala UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --display: Palatino, "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px 420px at 8% -8%, rgba(168, 107, 50, 0.16), transparent 58%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--copper); text-decoration: none; }
a:hover { color: var(--copper-soft); }
input, select, textarea { font: inherit; }

.visually-hidden:not(:focus):not(:focus-visible),
.skip:not(:focus):not(:focus-visible),
a.skip:not(:focus):not(:focus-visible) {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip:focus,
.skip:focus-visible,
a.skip:focus,
a.skip:focus-visible {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 80;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  clip-path: none;
  white-space: nowrap;
  background: var(--copper);
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 4px;
}

.wrap {
  width: min(1080px, calc(100% - 36px));
  margin: 0 auto;
}
.wrap-wide {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.site-header {
  background: linear-gradient(180deg, #2c1d14 0%, var(--header) 100%);
  border-bottom: 2px solid var(--copper-deep);
  position: sticky;
  top: 0;
  z-index: 40;
}
.header-inner {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 20px;
  min-height: 100px;
  position: relative;
  overflow: visible;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--cream);
  background: transparent;
}
.logo:hover { color: var(--cream); }
.logo-mark,
.logo img,
.logo-full {
  height: 70px;
  width: auto;
  max-width: min(340px, 52vw);
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}

.hero-logo {
  display: block;
  margin: 0 0 22px;
}
.hero-logo .logo-full {
  height: auto;
  width: min(440px, 100%);
  max-width: 100%;
}

.header-search {
  flex: 1 1 auto;
  position: relative;
  min-width: 150px;
  max-width: 380px;
}
.header-search input {
  width: 100%;
  border: 1px solid var(--line);
  background: #160f0b;
  color: var(--text);
  border-radius: 2px;
  padding: 10px 14px 10px 40px;
}
.header-search input::placeholder { color: #8d7762; }
.header-search .lens {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.7;
  pointer-events: none;
}
.search-panel {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: var(--shadow);
  overflow: hidden;
  z-index: 30;
}
.search-panel.open { display: block; }
.search-panel a {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  color: var(--text);
}
.search-panel a:hover { background: var(--card-hover); }
.search-panel img,
.search-panel .brand-logo {
  width: 80px;
  height: 28px;
  object-fit: contain;
  object-position: left center;
  background: #0d0906;
  border-radius: 2px;
  padding: 2px 4px;
}
.search-panel .empty { padding: 14px; color: var(--muted); }

.nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  flex-shrink: 0;
  gap: 22px;
  margin-left: auto;
}
.nav a {
  color: #eadcc8;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav a:hover { color: var(--copper); }
.nav-item.has-sub {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-item.has-sub > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.nav-item.has-sub > a::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-right: 1.7px solid currentColor;
  border-bottom: 1.7px solid currentColor;
  transform: rotate(45deg);
}
.nav-item.has-sub:hover > a::after,
.nav-item.has-sub:focus-within > a::after {
  margin-top: 2px;
  transform: rotate(-135deg);
}
.nav-sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 228px;
  max-height: min(70vh, 520px);
  overflow-y: auto;
  padding: 8px 0;
  background: #2c1d14;
  border: 1px solid var(--line);
  border-top: 2px solid var(--copper);
  box-shadow: var(--shadow);
  z-index: 50;
}
.nav-sub a {
  display: block;
  padding: 9px 16px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  color: var(--cream);
}
.nav-sub a:hover,
.nav-sub a:focus-visible {
  background: #3a271c;
  color: var(--copper);
}
@media (hover: hover) and (pointer: fine) and (min-width: 861px) {
  .nav-item.has-sub:hover .nav-sub,
  .nav-item.has-sub:focus-within .nav-sub {
    display: block;
  }
}

.menu-drawer {
  display: none;
  margin-left: auto;
}
.menu-drawer > summary {
  list-style: none;
  cursor: pointer;
  color: var(--cream);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  padding: 6px 0;
}
.menu-drawer > summary::-webkit-details-marker { display: none; }
.menu-drawer > summary::after {
  content: " ▾";
  color: var(--copper);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 72px;
  min-height: 440px;
  background-color: #120c08;
  background-image:
    linear-gradient(105deg, rgba(18, 12, 8, 0.86) 0%, rgba(18, 12, 8, 0.58) 40%, rgba(18, 12, 8, 0.22) 68%, rgba(18, 12, 8, 0.4) 100%),
    url("../images/hero.webp");
  background-size: cover;
  background-position: right bottom;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  z-index: 2;
  background: linear-gradient(180deg, var(--copper), var(--copper-deep));
}
.hero-inner { position: relative; z-index: 1; text-align: left; max-width: 40rem; }
.hero h1 {
  margin: 0 0 14px;
  max-width: 14ch;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5.2vw, 3.7rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.hero .lede {
  margin: 0 0 28px;
  max-width: 34rem;
  color: #e2d2bc;
  font-size: 1.12rem;
}
.hero-search {
  position: relative;
  width: min(560px, 100%);
}
.hero-search input {
  width: 100%;
  border: 1px solid var(--copper-deep);
  background: #f6ead8;
  color: var(--ink);
  border-radius: 2px;
  padding: 16px 20px;
  font-size: 1.02rem;
  box-shadow: var(--shadow);
}
.how-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--copper-soft);
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(212, 160, 84, 0.4);
}

.section { padding: 36px 0 60px; }
.section h2 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 1.7rem;
  letter-spacing: -0.02em;
}
.section-kicker {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.95rem;
}
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(188px, 1fr));
  gap: 14px;
}
.brand-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--rail);
  border-radius: var(--radius);
  padding: 16px 16px 14px;
  color: var(--text);
  transition: border-color .15s ease, background .15s ease;
}
.brand-card:hover {
  background: var(--card-hover);
  border-color: rgba(212, 160, 84, 0.45);
  color: var(--text);
}
.brand-logo {
  width: 160px;
  height: 56px;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  display: block;
  flex-shrink: 0;
  background: #0d0906;
  border-radius: 2px;
  padding: 6px 8px;
}
.brand-card .brand-logo {
  margin-bottom: 12px;
}
.brand-card strong { display: block; }
.brand-card span { color: var(--muted); font-size: 0.88rem; }
.more-casinos {
  margin: 20px 0 0;
}
.more-casinos a {
  color: var(--copper-soft);
  border-bottom: 1px solid rgba(212, 160, 84, 0.45);
  font-weight: 600;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.how-card {
  background: transparent;
  border-right: 1px solid var(--line);
  padding: 22px 22px 8px 0;
}
.how-card:last-child { border-right: 0; padding-right: 0; }
.how-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--copper);
}
.how-card p { margin: 0; color: var(--muted); }

.faq { margin-top: 44px; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--cream);
}
.faq p { color: var(--muted); margin: 8px 0 0; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  margin: 22px 0 10px;
}
.crumbs a { color: #d2c0a8; }
.page-title {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  letter-spacing: -0.03em;
}
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  color: var(--text);
  border-radius: 2px;
  padding: 7px 12px;
  cursor: pointer;
  font-size: 0.9rem;
}
.chip[aria-pressed="true"],
label.chip:has(input:checked) {
  border-color: var(--copper);
  color: var(--copper);
}
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.results-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  color: var(--muted);
}
.results-bar select {
  background: var(--bg-elev);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 6px 8px;
}
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 32px;
  padding-bottom: 64px;
}
.company {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  padding: 20px 0 20px 14px;
  border-bottom: 1px solid var(--line);
  border-left: 3px solid transparent;
  color: inherit;
}
.company:first-of-type { border-left-color: var(--rail); }
.company img,
.company .brand-logo {
  width: 160px;
  height: 56px;
}
.company .brand-logo-slot {
  width: 160px;
  height: 56px;
  overflow: hidden;
  flex-shrink: 0;
}
.badge {
  display: inline-block;
  color: var(--copper);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.company h2 {
  margin: 0;
  font-size: 1.22rem;
  font-family: var(--display);
}
.company h2 a { color: #f0d2a0; }
.company .site { color: var(--muted); font-size: 0.9rem; }
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  margin-top: 8px;
}
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tag {
  background: #2a1d16;
  color: #d8c8b4;
  border-radius: 2px;
  padding: 3px 9px;
  font-size: 0.78rem;
}
.pin { color: var(--muted); font-size: 0.9rem; }

.side-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--copper);
  border-radius: var(--radius);
  padding: 16px;
  position: sticky;
  top: 116px;
}
.side-box h2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 12px;
  font-size: 1rem;
}
.rel-item {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--text);
}
.rel-ico {
  width: 36px;
  height: 36px;
  border-radius: 2px;
  background: #2a1d16;
  display: grid;
  place-items: center;
  color: var(--copper);
  flex-shrink: 0;
}

.profile {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  align-items: center;
  padding: 12px 0 24px;
  border-bottom: 1px solid var(--line);
}
.profile img.logo-lg,
.profile .brand-logo {
  width: 160px;
  height: 56px;
}
.rating-xl {
  font-size: 2rem;
  font-weight: 700;
  font-family: var(--display);
  color: var(--copper);
}
.stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.stars svg { width: 16px; height: 16px; }
.review-list { display: grid; gap: 14px; padding-bottom: 48px; }
.review {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--rail);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.review header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.review .who { font-weight: 600; }
.review .city, .review time { color: var(--muted); font-size: 0.9rem; }
.note {
  background: #1a120c;
  border: 1px solid rgba(212, 160, 84, 0.28);
  color: #ecd9b4;
  border-radius: var(--radius);
  padding: 12px 14px;
  margin: 18px 0;
  font-size: 0.92rem;
}

.about-hero {
  position: relative;
  overflow: hidden;
  padding: 28px 0 48px;
  background:
    radial-gradient(700px 300px at 8% -30%, rgba(212, 160, 84, 0.18), transparent 58%),
    linear-gradient(180deg, #1f140e 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}
.about-kicker {
  margin: 0 0 10px;
  color: var(--copper);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}
.about-hero h1 {
  margin: 0 0 14px;
  max-width: 16ch;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.1rem, 4.4vw, 3.3rem);
  line-height: 1.1;
}
.about-hero .lede {
  margin: 0;
  max-width: 40rem;
  color: #e2d2bc;
  font-size: 1.1rem;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 22px 0 8px;
}
.about-stat {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-top: 3px solid var(--copper);
  padding: 18px 16px;
}
.about-stat strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1;
  color: var(--copper);
}
.about-stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}
.about-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}
.about-copy p { color: #e2d2bc; }
.about-copy h2 {
  margin: 0 0 12px;
  font-family: var(--display);
}
.about-aside {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--rail);
  padding: 22px;
}
.about-aside img {
  width: 96px;
  height: 96px;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 14px;
}
.about-aside h3 { margin: 0 0 8px; font-size: 1.15rem; }
.about-aside p { margin: 0; color: var(--muted); }
.about-principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.about-cta {
  margin: 8px 0 72px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  padding: 28px;
}
.about-cta h2 { margin: 0 0 10px; font-family: var(--display); }
.about-cta p { margin: 0; color: #e2d2bc; max-width: 40rem; }

.prose { width: min(760px, 100%); padding: 12px 0 72px; }
.prose h1 {
  margin-top: 12px;
  font-family: var(--display);
}
.prose h2 {
  margin-top: 1.6em;
  font-family: var(--display);
}
.prose p, .prose li { color: #e2d2bc; }
.author-hero {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  align-items: center;
  padding: 20px 0 36px;
}
.author-hero img {
  width: 180px;
  height: 180px;
  border-radius: 8px;
  object-fit: cover;
  background: #2a1c14;
}
.legal-updated { color: var(--muted); font-size: 0.9rem; }
.author-role {
  margin: 0 0 12px;
  color: var(--copper);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
}
.rg-help {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0 8px;
}
.rg-help a {
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.rg-help img {
  height: 40px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.footer-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 14px;
}
.footer-trust a { line-height: 0; }
.footer-trust img {
  height: 36px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  object-position: left center;
}
.age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--copper);
  color: var(--copper);
  border-radius: 2px;
  font-weight: 700;
}

.site-footer {
  background: #0e0906;
  border-top: 2px solid var(--copper-deep);
  padding: 36px 0 28px;
  color: var(--muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 24px;
}
.site-footer a { color: #d8c8b4; }
.site-footer a:hover { color: var(--copper); }
.site-footer h2 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.copy { margin-top: 24px; font-size: 0.88rem; }

@media (max-width: 860px) {
  .hero {
    min-height: 0;
    padding: 56px 0 48px;
    background-position: 78% bottom;
    background-image:
      linear-gradient(180deg, rgba(18, 12, 8, 0.82) 0%, rgba(18, 12, 8, 0.72) 48%, rgba(18, 12, 8, 0.58) 100%),
      url("../images/hero.webp");
  }
  .header-inner { min-height: 88px; gap: 12px; }
  .header-inner .logo-full { height: 58px; max-width: min(280px, 62vw); }
  .header-search { display: none; }
  .nav { display: none; }
  .menu-drawer { display: block; }
  .menu-drawer[open] .nav {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: 88px;
    margin-left: 0;
    background: var(--header);
    padding: 12px 18px 18px;
    flex-direction: column;
    align-items: flex-start;
    border-bottom: 1px solid var(--line);
  }
  .nav-item.has-sub { width: 100%; flex-wrap: wrap; }
  .nav-sub {
    position: static;
    display: block;
    width: 100%;
    max-height: none;
    box-shadow: none;
    border: 0;
    background: transparent;
    margin-top: 6px;
  }
  .how-grid, .layout, .footer-grid, .profile, .author-hero,
  .about-stats, .about-split, .about-principles, .rg-help {
    grid-template-columns: 1fr;
  }
  .how-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 18px 0;
  }
  .profile { align-items: start; }
  .side-box { position: static; }
}

@media (max-width: 420px) {
  .header-inner { min-height: 78px; }
  .header-inner .logo-full { height: 50px; max-width: min(240px, 64vw); }
  .company { grid-template-columns: 1fr; padding-left: 10px; }
}
