/* TownGboro landing page (index.html only). Tokens come from style.css (DESIGN.md).
   Reference: inDrive (bold photo hero, highlighted words) + Uber (pickup and drop-off box in the hero). */
:root { --navy-2: #0D2744; --road: #1B3654; --ease: cubic-bezier(0.16, 1, 0.3, 1); }
html { scroll-padding-top: 72px; }
body.landing { background: var(--paper); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(7,26,49,.82); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); transition: box-shadow .35s var(--ease); }
.nav .wrap { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nav .logo { color: var(--paper); transition: color .35s var(--ease); }
.nav .logo b { color: var(--ink); }
.nav nav { display: flex; align-items: center; gap: 4px; }
.nav nav a { text-decoration: none; font-weight: 500; font-size: 15px; padding: 10px 12px; border-radius: 999px; color: var(--paper); transition: color .35s var(--ease), background .2s; }
.nav nav a:hover { background: rgba(255,255,255,.08); }
.nav nav a.pill { background: var(--yellow); color: var(--ink); }
.nav.solid { box-shadow: 0 8px 24px rgba(3,12,24,.18); }
@supports not (backdrop-filter: blur(1px)) { .nav { background: var(--ink); } }
@media (max-width: 560px) { .nav nav a.hide-sm { display: none; } }
/* WhatsApp chat button (menu.js) */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 30; display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 18px 0 14px; border-radius: 999px; background: #25D366; color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; box-shadow: 0 10px 24px rgba(3,12,24,.25); transition: transform .2s; }
.wa-float i { font-size: 26px; }
.no-chat .wa-float { display: none; }
.foot2 { padding-bottom: 96px; }
.wa-float:hover { transform: translateY(-2px); }
.wa-float:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
@media (max-width: 560px) { .wa-float { width: 54px; height: 54px; padding: 0; justify-content: center; } .wa-float span { display: none; } }
/* phone menu (menu.js) */
.nav .burger, .nav .mmenu { display: none; }
@media (max-width: 560px) {
  .nav .burger { all: unset; box-sizing: border-box; cursor: pointer; display: grid; place-items: center; width: 44px; height: 44px; margin-left: 4px; border-radius: 50%; background: rgba(255,255,255,.1); color: var(--paper); font-size: 22px; }
  .nav .burger i { pointer-events: none; }
  .nav .burger:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
  .nav.open { background: var(--ink); }
  .nav.open .mmenu { display: grid; position: absolute; top: 64px; left: 0; right: 0; background: var(--ink); padding: 4px 16px 20px; box-shadow: 0 18px 30px rgba(3,12,24,.3); border-top: 1px solid rgba(255,255,255,.08); }
  .nav .mmenu > a { color: var(--paper); text-decoration: none; font-size: 18px; font-weight: 600; padding: 16px 4px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav nav a.pill { display: none; }
  .nav .mmenu .mcta { display: flex; align-items: center; justify-content: center; margin-top: 20px; min-height: 54px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: 17px; font-weight: 700; text-decoration: none; }
}
.sentinel { position: absolute; top: 0; height: 120px; width: 1px; }

/* ---------- Hero ---------- */
.hero2 { position: relative; overflow: hidden; background: var(--ink); color: var(--paper); margin-top: -64px; padding-top: 64px; }
.hero2 .inner { position: relative; z-index: 2; padding: 32px 0 0; display: grid; gap: 24px; }
.hero2 h1 { font-weight: 700; font-size: clamp(40px, 9vw, 72px); line-height: 1.14; letter-spacing: -0.035em; max-width: 13ch; }
.hero2 h1 mark { background: var(--yellow); color: var(--ink); padding: 0 .12em .04em; border-radius: .14em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero2 .sub { color: #C9D2DB; font-size: 18px; line-height: 27px; max-width: 40ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--yellow); }
.eyebrow i { font-size: 18px; }

/* the pickup and drop-off box */
.bookbox { background: var(--card); color: var(--ink); border-radius: 28px; padding: 16px; display: grid; gap: 10px; box-shadow: 0 30px 60px rgba(3, 12, 24, .45); max-width: 460px; }
.bookbox .leg { position: relative; display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 6px; background: var(--panel); border-radius: 16px; padding: 4px 6px 4px 12px; }
.bookbox .leg i { font-size: 20px; }
.bookbox .leg.from i { color: var(--go); }
.bookbox .leg.to i { color: var(--danger); }
.bookbox select { border: 0; background: transparent; min-height: 48px; font: 500 16px/22px var(--font); color: var(--ink); padding: 0 32px 0 4px; width: 100%; }
.bookbox select:focus { outline: none; }
.bookbox .leg:focus-within { box-shadow: inset 0 0 0 2px var(--ink); }
.bookbox .join-line { position: absolute; left: 21px; top: 100%; width: 2px; height: 10px; background: var(--line); }
.bookbox .go { display: flex; align-items: center; justify-content: center; gap: 8px; }
.bookbox .result { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.bookbox .result > div { overflow: hidden; }
.bookbox .result.open { grid-template-rows: 1fr; }
.bookbox .result p { padding: 8px 4px 2px; font-size: 15px; line-height: 22px; }
.bookbox .result b { font-weight: 700; }
.bookbox .result .row { display: flex; gap: 8px; padding: 10px 0 4px; flex-wrap: wrap; }
.bookbox .result .row a { text-decoration: none; flex: 1 1 auto; display: flex; align-items: center; justify-content: center; }
.hero-alt { color: var(--paper); font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.3); justify-self: start; }
.hero-alt:hover { border-color: var(--yellow); }

/* the photo of the branded car */
.carshot { position: relative; container-type: inline-size; aspect-ratio: 3 / 2; }
.carshot img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.carshot img.mirror { transform: scaleX(-1); }
.decal { position: absolute; transform: translate(-50%, -50%); font-weight: 800; letter-spacing: -.03em; white-space: nowrap; mix-blend-mode: multiply; color: var(--ink); opacity: .94; line-height: 1.2; }
.decal b { background: var(--yellow); padding: 0 .18em; border-radius: .16em; margin-left: .04em; }
.stripe { position: absolute; background: var(--yellow); mix-blend-mode: multiply; border-radius: 99px; }

.hero2 .photo { position: relative; margin: 6px -25% 0 -25%; }
.hero2 .photo::after { content: ""; position: absolute; inset: -2px 0 0; background: linear-gradient(var(--ink) 0%, rgba(7,26,49,0) 28%, rgba(7,26,49,0) 80%, rgba(7,26,49,.55) 100%); pointer-events: none; }
@media (min-width: 900px) {
  .hero2 { min-height: min(100dvh, 860px); display: flex; align-items: center; }
  .hero2 .inner { padding: 48px 0 72px; max-width: 560px; }
  .hero2 .photo { position: absolute; margin: 0; left: 44%; bottom: 0; width: 78%; z-index: 1; }
  .hero2 .photo::after { background: linear-gradient(90deg, var(--ink) 0%, rgba(7,26,49,.7) 12%, rgba(7,26,49,0) 34%), linear-gradient(var(--ink) 0%, rgba(7,26,49,0) 30%); }
}

/* ---------- Places strip (the one marquee on the page) ---------- */
.strip { background: var(--yellow); overflow: hidden; padding: 14px 0; }
.strip .track { display: flex; width: max-content; gap: 28px; }
.strip span { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; white-space: nowrap; }
.strip span i { font-size: 18px; }

/* ---------- Sections ---------- */
.sec { padding: 72px 0; }
@media (min-width: 900px) { .sec { padding: 112px 0; } }
.sec h2 { font-weight: 700; font-size: clamp(32px, 6vw, 52px); line-height: 1.14; letter-spacing: -0.03em; max-width: 16ch; }
.sec h2 mark { background: var(--yellow); color: var(--ink); padding: 0 .1em; border-radius: .12em; }
.sec .lede { color: var(--muted); font-size: 18px; line-height: 27px; margin-top: 14px; max-width: 46ch; }

/* How it works: a road with three stops */
.route { position: relative; margin-top: 48px; display: grid; gap: 40px; }
.route svg.line { position: absolute; left: 23px; top: 0; height: 100%; width: 4px; overflow: visible; }
.route svg.line path { stroke: var(--yellow); stroke-width: 4; stroke-linecap: round; fill: none; stroke-dasharray: 4 12; }
.stop { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.stop .pin { width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--yellow); display: grid; place-items: center; font-size: 22px; position: relative; z-index: 1; box-shadow: 0 0 0 6px var(--paper); }
.stop h3 { font-weight: 700; font-size: 22px; line-height: 28px; letter-spacing: -0.01em; margin: 10px 0 6px; }
.stop p { color: var(--muted); line-height: 24px; max-width: 34ch; }
@media (min-width: 900px) {
  .route { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .route svg.line { left: 24px; right: 24px; top: 22px; height: 4px; width: calc(100% - 48px); }
  .stop { grid-template-columns: 1fr; }
}

/* Why: bento */
.bento { margin-top: 40px; display: grid; gap: 12px; }
.tile { border-radius: 28px; padding: 24px; position: relative; overflow: hidden; min-height: 200px; display: flex; flex-direction: column; justify-content: flex-end; transition: transform .5s var(--ease); }
.tile h3 { font-weight: 700; font-size: 24px; line-height: 28px; letter-spacing: -0.02em; }
.tile p { margin-top: 6px; line-height: 23px; max-width: 32ch; }
.tile i.big { font-size: 36px; margin-bottom: auto; }
.tile.photo-tile { padding: 0; background: var(--panel); justify-content: flex-start; }
.tile.photo-tile .carshot { margin: 0 -6% -2%; }
.tile.photo-tile .txt { padding: 24px 24px 0; }
.tile.photo-tile p { color: var(--muted); }
.tile.photo-tile img.face { display: block; width: 100%; flex: 1; min-height: 280px; max-height: 420px; object-fit: cover; object-position: center 30%; margin-top: 20px; }

/* trip photos with real people */
.trips3 { margin-top: 32px; display: grid; gap: 12px; }
@media (min-width: 768px) { .trips3 { grid-template-columns: repeat(3, 1fr); } }
.ptile { position: relative; display: block; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; color: #fff; text-decoration: none; background: var(--ink); }
@media (max-width: 767px) { .ptile { aspect-ratio: 5 / 4; } }
.ptile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform .8s var(--ease); }
.ptile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,26,49,.92) 0%, rgba(7,26,49,.55) 38%, rgba(7,26,49,0) 65%); }
.ptile .cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 22px; }
.ptile .ptag { display: inline-block; background: var(--yellow); color: var(--ink); font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.ptile h3 { margin-top: 10px; font-weight: 700; font-size: 22px; line-height: 26px; letter-spacing: -0.02em; }
.ptile p { margin-top: 6px; font-size: 15px; line-height: 21px; color: #DCE3EA; }
@media (hover: hover) { .ptile:hover img { transform: scale(1.04); } }
.ptile:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.tile.yellow { background: var(--yellow); color: var(--ink); }
.tile.navy { background: var(--ink); color: var(--paper); }
.tile.navy p { color: #C9D2DB; }
.tile.navy i.big { color: var(--yellow); }
.tile.line { background: var(--card); border: 1px solid var(--line); }
.tile.line p { color: var(--muted); }
@media (hover: hover) { .tile:hover { transform: translateY(-4px); } }
@media (min-width: 900px) {
  .bento { grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: auto auto; }
  .tile.photo-tile { grid-row: span 2; }
  .tile.yellow { grid-column: span 2; }
}

/* Drivers: split with photo */
.drivers { background: var(--ink); color: var(--paper); border-radius: 36px; overflow: hidden; display: grid; }
.drivers .copy { padding: 36px 24px 8px; }
.drivers h2 { color: var(--paper); }
.drivers .lede { color: #C9D2DB; }
.drivers ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.drivers li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; line-height: 23px; }
.drivers li i { color: var(--yellow); font-size: 22px; }
.drivers .go { margin-top: 28px; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding-left: 28px; padding-right: 28px; }
.drivers .carshot { align-self: end; }
@media (min-width: 900px) {
  .drivers { grid-template-columns: 1fr 1.1fr; align-items: center; }
  .drivers .copy { padding: 64px 0 64px 56px; }
  .drivers .carshot { margin-right: -4%; }
}

/* Join and FAQ */
.join-sec { padding: 72px 0 24px; }
.join-head { text-align: center; max-width: 560px; margin: 0 auto 24px; padding: 0 16px; }
.join-head h2 { margin: 0 auto; }
.join-head .lede { margin: 12px auto 0; }
.faq2 { margin-top: 32px; display: grid; gap: 10px; max-width: 760px; }
.faq2 details { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 0 22px; transition: border-color .2s; }
.faq2 details[open] { border-color: var(--ink); }
.faq2 summary { cursor: pointer; font-weight: 500; font-size: 17px; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq2 summary::-webkit-details-marker { display: none; }
.faq2 summary i { transition: transform .35s var(--ease); font-size: 20px; flex: none; }
.faq2 details[open] summary i { transform: rotate(45deg); }
.faq2 details p { color: var(--muted); padding-bottom: 18px; line-height: 24px; max-width: 62ch; }

.foot2 { border-top: 1px solid var(--line); margin-top: 72px; padding: 32px 0 40px; color: var(--muted); font-size: 14px; line-height: 21px; }
.foot2 .wrap { display: grid; gap: 12px; }
.foot2 a { color: var(--ink); }
.foot2 .foot-r { display: grid; gap: 10px; justify-items: start; }
.foot2 .social { display: flex; gap: 10px; }
.foot2 .social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 21px; background: var(--ink); color: var(--yellow); text-decoration: none; transition: transform .2s; }
.foot2 .social a:hover { transform: translateY(-2px); }
@media (min-width: 768px) { .foot2 .foot-r { justify-items: end; } }
@media (min-width: 768px) { .foot2 .wrap { grid-template-columns: 1fr auto; align-items: center; } }

/* ---------- Motion (all of it switches off for reduce-motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.motion .rise { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 110ms + 80ms); }
  @keyframes rise { to { opacity: 1; transform: none; } }
  html.motion .hero2 .photo .carshot { animation: drive-in 1.6s var(--ease) both; animation-delay: .25s; }
  @keyframes drive-in { from { transform: translateX(-14%); opacity: 0; } to { transform: none; opacity: 1; } }

  html.motion [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
  html.motion [data-reveal].in { opacity: 1; transform: none; }

  html.motion .route svg.line path { stroke-dashoffset: 1200; transition: stroke-dashoffset 2.2s var(--ease); }
  html.motion .route.in svg.line path { stroke-dashoffset: 0; }
  html.motion .route .stop .pin { transform: scale(.4); transition: transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 260ms + 200ms); }
  html.motion .route.in .stop .pin { transform: none; }

  html.motion .strip .track { animation: slide 38s linear infinite; }
  html.motion .strip:hover .track { animation-play-state: paused; }
  @keyframes slide { to { transform: translateX(-50%); } }

  .go, .btn { transition: transform .16s var(--ease), box-shadow .3s var(--ease); }
  @media (hover: hover) { .go:hover { box-shadow: 0 10px 24px rgba(255,199,39,.35); } }
}
@media (prefers-reduced-motion: reduce) {
  .strip .track { flex-wrap: wrap; width: auto; justify-content: center; padding: 0 16px; }
  .strip .track [aria-hidden="true"] { display: none; }
}
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#join > .hero { padding: 0; }
.hero2 > .wrap { width: 100%; }
