/* The first page only (index.html). Tokens and shared parts come from brand.css (design-system/MASTER.md). */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ww-bg); color: var(--ww-ink); font: 16px/1.6 var(--ww-sans); word-break: keep-all; overflow-wrap: break-word; }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 14px; border-radius: var(--ww-r-btn); background: var(--ww-ink); color: #fff; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--ww-ink); outline-offset: 2px; }

/* ---------- top bar: logo + Beta | search pill | sources, language, menu ---------- */
.top { position: relative; z-index: 20; background: var(--ww-bg); border-bottom: 1px solid var(--ww-line-soft); }
.top-in { display: grid; grid-template-columns: 1fr minmax(0, auto) 1fr; align-items: center; gap: 16px; min-height: 92px; }
.top-l { display: flex; align-items: center; gap: 12px; min-width: 0; }
.top-r { justify-self: end; display: flex; align-items: center; gap: 6px; }
.top-link { font-size: 14px; font-weight: 600; text-decoration: none; padding: 0 14px; min-height: 44px; display: inline-flex; align-items: center; border-radius: var(--ww-r-pill); white-space: nowrap; }
.top-link:hover { background: var(--ww-soft); }
.ww-circle { width: 44px; height: 44px; }
.menu { position: relative; }
.menu summary { list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu-list { position: absolute; right: 0; top: calc(100% + 8px); min-width: 210px; padding: 8px; background: var(--ww-bg); border: 1px solid var(--ww-line); border-radius: var(--ww-r-card); box-shadow: var(--ww-shadow); display: grid; }
.menu-list a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--ww-r-btn); font-size: 15px; font-weight: 500; text-decoration: none; }
.menu-list a:hover { background: var(--ww-soft); }

/* the search pill (brand.css .ww-search) and its suggestions */
.search { position: relative; width: min(100%, 760px); }
.seg-where { flex: 1 1 auto; }
.seg-where input { width: 100%; }
.seg-what select { width: 132px; }
.seg-see select { width: 104px; }
.ww-seg select { color: var(--ww-muted); }
.ww-seg:hover::before, .ww-seg:hover + .ww-seg::before { opacity: 0; }
.ww-seg input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
.ww-go:focus-visible { outline: 2px solid var(--ww-ink); outline-offset: 2px; }
.suggest { position: absolute; left: 0; top: calc(100% + 10px); z-index: 30; width: max(100%, 340px); max-height: min(380px, 60vh); overflow: auto; margin: 0; padding: 8px; list-style: none;
  background: var(--ww-bg); border: 1px solid var(--ww-line); border-radius: var(--ww-r-lg); box-shadow: var(--ww-shadow); cursor: default; }
.suggest li { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 6px 12px; border-radius: var(--ww-r-btn); font-size: 15px; font-weight: 500; cursor: pointer; }
.suggest li[aria-selected="true"], .suggest li:hover { background: var(--ww-soft); }
.suggest li .pin { flex: none; width: 32px; height: 32px; border-radius: var(--ww-r-btn); background: var(--ww-strong); display: grid; place-items: center; }
.suggest li small { margin-left: auto; color: var(--ww-muted); font-size: 13px; font-weight: 500; white-space: nowrap; }
.suggest li.address { color: var(--ww-ink); }
.suggest li.empty { color: var(--ww-muted); cursor: default; font-size: 14px; }
.suggest li.empty:hover { background: none; }

/* ---------- hero: copy on the left, the line map with its card on the right ---------- */
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--ww-muted); }
.kicker::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ww-here); }
h1 { margin: 0 0 20px; font-size: clamp(34px, 4vw, 50px); font-weight: 700; line-height: 1.2; letter-spacing: -0.03em; }
h1 em { font-style: normal; color: var(--ww-muted); }
.lead { margin: 0 0 28px; max-width: 32em; font-size: 18px; color: var(--ww-body); }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }

.hero-map { position: relative; margin: 0; padding: var(--room, 112px) 20px 16px; background: var(--ww-soft); border-radius: var(--ww-r-lg); display: flex; flex-direction: column; }
.city-map { display: block; width: 100%; height: auto; overflow: visible; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.city-map .areas path { fill: var(--ww-bg); stroke: var(--ww-line); stroke-width: 1.2; stroke-linejoin: round; }
.city-map .bia path { fill: var(--ww-ink); stroke: var(--ww-ink); stroke-width: 2.6; stroke-linejoin: round; opacity: .85; transition: fill .15s var(--ww-ease), stroke .15s var(--ww-ease); }
.city-map .bia.pick path { fill: var(--ww-here); stroke: var(--ww-here); stroke-width: 4.5; opacity: 1; }
.city-map .bia:focus { outline: none; }
.city-map .bia:focus-visible path { stroke: var(--ww-here); stroke-width: 6; }
.hero-map figcaption { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; font-size: 13px; color: var(--ww-muted); }
.keys { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.key { display: inline-flex; align-items: center; gap: 6px; }
.key::before { content: ''; flex: none; width: 11px; height: 11px; border-radius: 3px; }
.k-area::before { background: var(--ww-bg); border: 1px solid var(--ww-line); }
.k-bia::before { background: var(--ww-ink); }
.k-pick::before { background: var(--ww-here); border-radius: 50%; }
.on-touch { display: none; }
@media (hover: none) { .on-hover { display: none; } .on-touch { display: inline; } }
.periods { font-size: 12px; }

/* the card that follows the area under the pointer: over the empty water in the top-left corner */
.map-card { position: absolute; left: 16px; top: 16px; z-index: 2; width: 264px; max-width: calc(100% - 32px); padding: 12px 16px 8px; background: var(--ww-bg); border: 1px solid var(--ww-line);
  border-radius: var(--ww-r-card); box-shadow: var(--ww-shadow); pointer-events: none; font-size: 13px; line-height: 1.5; }
.map-card a { pointer-events: auto; }
.map-card p { margin: 0; }
.c-name { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; color: var(--ww-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-name i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--ww-here); }
.c-grade { margin: 0 0 6px !important; font-size: 12px; color: var(--ww-muted); white-space: nowrap; }
.map-card dl { margin: 0; display: grid; gap: 2px; }
.map-card dl div { display: flex; justify-content: space-between; gap: 12px; white-space: nowrap; }
.map-card dt { color: var(--ww-muted); }
.map-card dd { margin: 0; font-weight: 700; color: var(--ww-ink); font-variant-numeric: tabular-nums; }
.c-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px !important; padding-top: 2px; border-top: 1px solid var(--ww-line-soft); white-space: nowrap; }
.c-foot span { font-size: 12px; font-weight: 600; color: var(--ww-body); }
.c-foot a { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding: 0 2px; font-size: 13px; font-weight: 700; color: var(--ww-ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- the two doors ---------- */
.doors { padding: 8px 0 64px; }
.doors-title { margin: 0 0 14px; font-size: 14px; font-weight: 600; color: var(--ww-muted); letter-spacing: 0; }
.doors-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.door { display: flex; flex-direction: column; min-height: 300px; padding: 32px; border-radius: var(--ww-r-card); color: var(--ww-ink); text-decoration: none; }
a.door { transition: box-shadow .2s var(--ww-ease); }
a.door:hover .door-cta { background: var(--ww-action-press); }
.door-tag { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 12px; min-height: 30px; margin-bottom: 14px; font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--ww-muted); }
.door h3 { margin: 0 0 4px; font-size: 30px; line-height: 1.2; letter-spacing: -0.025em; }
.door-sub { margin: 0 0 12px; font-size: 15px; color: var(--ww-muted); }
.door-desc { margin: 0 0 18px; color: var(--ww-body); }
.door-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; }
.door-cta { margin-top: auto; align-self: flex-start; }
.door-soon { background: var(--ww-soft); border: 1.5px dashed var(--ww-line); color: var(--ww-muted); }
.door-soon h3 { color: var(--ww-muted); }
.door-soon .door-desc { color: var(--ww-muted); }
.door-soon .ww-chip { background: var(--ww-bg); border-color: transparent; color: var(--ww-body); }
.door-soon .door-cta { color: var(--ww-muted); cursor: default; }
.door-soon .door-cta:hover { border-color: var(--ww-line); }
.door-tag .soon { font-size: 25px; letter-spacing: 0; color: var(--ww-ink); }

/* ---------- three promises ---------- */
.promise { border-top: 1px solid var(--ww-line); }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-top: 40px; padding-bottom: 56px; }
.promise h3 { margin: 0 0 6px; font-size: 16px; font-weight: 700; }
.promise h3::before { content: ''; display: block; width: 24px; height: 2px; margin-bottom: 14px; background: var(--ww-ink); }
.promise p { margin: 0; font-size: 15px; color: var(--ww-body); }

/* ---------- footer: links, then the locale row (also on every business-area page, styled there by style.css) ---------- */
.site-foot { background: var(--ww-soft); color: var(--ww-muted); font-size: 14px; }
.site-foot-in { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px; padding-top: 22px; padding-bottom: 26px; }
.site-foot-links { margin: 0; }
.site-foot-links a { color: var(--ww-muted); text-underline-offset: 3px; }
.site-foot-links a:hover { color: var(--ww-ink); }
.ww-locale-item { min-height: 44px; }
.ww-help { position: relative; }
.ww-help summary { list-style: none; }
.ww-help summary::-webkit-details-marker { display: none; }
.ww-help summary svg { transition: transform .15s var(--ww-ease); }
.ww-help[open] summary svg { transform: rotate(180deg); }
.ww-help-menu { position: absolute; right: 0; bottom: calc(100% + 8px); z-index: 30; min-width: 240px; margin: 0; padding: 8px; list-style: none; background: var(--ww-bg);
  border: 1px solid var(--ww-line); border-radius: var(--ww-r-card); box-shadow: var(--ww-shadow); }
.ww-help-menu a { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: var(--ww-r-btn); color: var(--ww-ink); font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.ww-help-menu a:hover { background: var(--ww-soft); }
.ww-help-k { color: var(--ww-muted); }

/* ---------- narrower screens ---------- */
@media (max-width: 1060px) {
  .seg-see { display: none; }
}
@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; gap: 32px; padding-top: 44px; padding-bottom: 40px; }
}
@media (max-width: 860px) {
  .top-in { grid-template-columns: 1fr auto; min-height: 0; padding-top: 12px; padding-bottom: 14px; row-gap: 12px; }
  .search { grid-column: 1 / -1; order: 3; width: 100%; height: 56px; }
  .top-link { display: none; }
  .seg-see { display: flex; }   /* the pill has its own row again */
  .ww-seg { padding: 0 20px; }
  .doors-grid, .promise-grid { grid-template-columns: 1fr; }
  .promise-grid { gap: 22px; }
}
@media (max-width: 560px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .top-l { gap: 8px; }
  .ww-logo { font-size: 18px; gap: 8px; }
  .top-l .ww-beta { font-size: 21px; padding: 0 5px; }
  .seg-what, .seg-see { display: none; }
  .suggest { width: 100%; }
  .lead { font-size: 16px; }
  .btns .ww-btn { flex: 1 1 100%; }
  /* the card moves under the map: there is no empty corner big enough */
  .hero-map { padding: 14px; }
  .map-card { position: static; order: 2; width: auto; max-width: none; margin-top: 12px; box-shadow: none; }
  .hero-map figcaption { order: 3; }
  .door { padding: 24px 20px; min-height: 0; }
  .door h3 { font-size: 26px; }
  .door-cta { align-self: stretch; }
  .site-foot-in { flex-direction: column; align-items: flex-start; }
  .ww-locale { margin-left: -10px; }
  .ww-help-menu { right: auto; left: 0; }
}
@media (max-width: 360px) {
  .top-in { column-gap: 4px; }
  .top-l { gap: 6px; }
  .ww-logo { font-size: 17px; gap: 6px; }
  .top-l .ww-beta { font-size: 19px; padding: 0 4px; }
  .top-r { gap: 4px; }
  h1 { font-size: 31px; }
}
@media (prefers-reduced-motion: reduce) {
  .city-map .bia path, a.door, .ww-help summary svg { transition: none; }
}
