/* The Euro, the site-wide look (1 Nov 2026; Sharod, after the Paris where-to-stay before and after: "Make those changes
   site wide"). The refresh built on the Paris where-to-stay page (docs/design/competitor-patterns.md; its own sheet,
   css/refresh.css, went on 18 Nov 2026 with the where-to-stay masters),
   carried to every page of both sites: rounded buttons and fields with one focus ring, terracotta section labels without
   the gold arch, a brighter photo header, question rows with a chevron, navy closing bands with a gold hairline, a navy
   "Good to know" band with one checked fact, light blue and sand grounds grouped by meaning, and a booking bar on phones.
   Loaded on every page after the page's own CSS and before phone.css, so the phone rules still win. The colors, lines and
   radii are tokens (css/tokens.css, the last block). The where-to-stay pages add their own parts in css/stay-market.css. */

/* ---------- buttons: pills, 44px tall in the page, one main color ---------- */
main .pill{min-height:44px}
.pill{transition:background-color var(--dur-fast) var(--ease-hover),border-color var(--dur-fast) var(--ease-hover),color var(--dur-fast) var(--ease-hover),transform 80ms}
.pill.fill{border:1px solid var(--forest)}
@media(hover:hover){.pill.fill:hover{background:var(--forest-2);border-color:var(--forest-2)}}
.pill.fill:active{background:var(--forest-press);border-color:var(--forest-press)}
/* secondary: grey outline, navy text, on white */
.pill.ghost.dark{color:var(--navy);border:1px solid var(--line-strong);background:var(--white)}
@media(hover:hover){.pill.ghost.dark:hover{border-color:var(--forest);color:var(--forest-2);background:var(--sky-1)}}
.pill.ghost.dark:active{background:var(--sky-2)}
.pill.white{border-color:var(--line)}
/* on the navy bands and over photos: a white outline on nothing, a white main button */
:is(.band,.dest-cta,.flagship .sec.plan,.sx-close,.hero-band,.table-hero,.g-hero,.dest-hero.photo) .pill.ghost{background:transparent;color:var(--white);border-color:rgba(255,255,255,.7)}
@media(hover:hover){:is(.band,.dest-cta,.flagship .sec.plan,.sx-close,.hero-band,.table-hero,.g-hero,.dest-hero.photo) .pill.ghost:hover{background:rgba(255,255,255,.12);color:var(--white);border-color:var(--white)}}
:is(.dest-cta,.flagship .sec.plan,.sx-close) .pill.fill{background:var(--white);border-color:var(--white);color:var(--navy)}
@media(hover:hover){:is(.dest-cta,.flagship .sec.plan,.sx-close) .pill.fill:hover{background:var(--sand);border-color:var(--sand);color:var(--navy)}}
:is(.dest-cta,.flagship .sec.plan,.sx-close) .pill.fill:active{background:var(--sand-2);border-color:var(--sand-2)}

/* ---------- focus: one visible ring on every control ---------- */
main :is(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:var(--focus);outline-offset:2px}
main :is(input:not([type=checkbox]):not([type=radio]),select,textarea):focus-visible{outline-offset:1px}
:is(.band,.dest-cta,.flagship .sec.plan,.sx-close,.sx-know,.hero-band,.table-hero,.dest-hero.photo) :is(a,button,summary):focus-visible{outline-color:var(--white)}
.g-hero a:focus-visible{outline-color:var(--white);box-shadow:0 0 0 5px rgba(15,43,76,.65)}
/* a white search card inside a dark hero keeps the blue ring (review, 1 Nov 2026: a white ring on white was invisible) */
:is(.hero-band,.table-hero,.dest-hero.photo,.dest-cta) :is(.search-card,.dest-search,.fl-search) :is(a,button,summary,input,select):focus-visible{outline-color:var(--forest)}

/* ---------- fields: white pills with a grey edge that holds 3:1 ---------- */
.hotel-search .f input,.hotel-search .f select,.fl-fields input,.fl-fields select,.fl-exp select,.fl-occ .val,.search-card .f input,.search-card .f select,.dest-search input,.dir-search input,.finder input,.finder select{
  border:1px solid var(--field-line);border-radius:var(--r-pill);background-color:var(--white);padding-left:16px;padding-right:16px;
  transition:border-color var(--dur-fast) var(--ease-hover)}
.hotel-search .f select,.fl-fields select,.fl-exp select,.search-card .f select,.finder select{padding-right:34px}
.hotel-search .f :is(input,select):focus,.fl-fields :is(input,select):focus,.search-card .f :is(input,select):focus,.dest-search input:focus,.dir-search input:focus,.finder :is(input,select):focus,.fl-occ[open] .val{border-color:var(--forest)}
@media(hover:hover){.hotel-search .f :is(input,select):hover,.fl-fields :is(input,select):hover,.search-card .f :is(input,select):hover,.dest-search input:hover,.dir-search input:hover,.finder :is(input,select):hover,.fl-occ summary:hover .val{border-color:var(--navy)}}
:is(.hotel-search,.fl-fields,.search-card,.finder) input::placeholder,.dest-search input::placeholder{color:var(--pewter);opacity:1}
/* the label lines up with the text inside the pill */
.hotel-search .f>label,.hotel-search .f>.lbl,.fl-fields>.f>label,.fl-occ .lbl,.search-card .f>label{padding-left:16px}
@media(max-width:600px){
  .hotel-search .f input,.hotel-search .f select,.fl-fields input,.fl-fields select,.search-card .f input,.search-card .f select{padding-left:14px;padding-right:12px}
  .hotel-search .f select,.fl-fields select,.search-card .f select{padding-right:30px}
  .hotel-search .f>label,.hotel-search .f>.lbl,.fl-fields>.f>label,.fl-occ .lbl,.search-card .f>label{padding-left:14px}
  .fl-occ .val{padding-left:14px;padding-right:12px}
}
@media(max-width:360px){.hotel-search .f input[type=date],.fl-fields input[type=date],.search-card .f input[type=date]{padding-left:10px;padding-right:6px;font-size:var(--fs-sm)}}
input[type=date]::-webkit-calendar-picker-indicator:focus-visible{outline:2px solid var(--forest);outline-offset:2px;border-radius:6px}

/* ---------- search panels: white, floating, no gold bar ---------- */
.hotel-search,.fl-search{border:1px solid rgba(15,43,76,.06);border-radius:var(--r-card);box-shadow:var(--float);background:var(--white)}

/* ---------- chips ---------- */
.finder-tags button,.chip{border:1px solid var(--line);border-radius:var(--r-pill);transition:background-color var(--dur-fast),border-color var(--dur-fast),color var(--dur-fast)}
@media(hover:hover){.finder-tags button:hover,.chip:hover{border-color:var(--forest);background:var(--sky-1)}}

/* ---------- section labels: small capitals in terracotta, no arch (Marriott's label, docs/design/competitor-patterns.md) ---------- */
.eyebrow{font-weight:500;letter-spacing:.08em;color:var(--clay)}
.eyebrow::before{display:none}
.guide-top .kicker{color:var(--clay);font-weight:500;letter-spacing:.08em}
:is(.band,.dest-cta,.flagship .sec.plan,.sx-close,.hero-band,.table-hero,.g-hero,.dest-hero.photo) .eyebrow{color:var(--gold-2)}
/* the lead-in label of a short-answer box: navy, not a second color */
.answer h2{color:var(--navy)}

/* ---------- the short answer: a light blue panel with rounded corners, no gold bar ---------- */
.answer{border:1px solid var(--card-line);border-radius:var(--r-card);border-top-width:1px}
.answer dt,.answer dd{border-top-color:var(--blue-line)}

/* ---------- questions: a chevron, turned when open, a thin rule under each row (Airbnb's list) ---------- */
.faq details{border-top:0;border-bottom:1px solid var(--moss)}
.faq details:first-child{border-top:1px solid var(--moss)}
.faq summary{font:500 var(--fs-lg)/var(--lh-snug) var(--sans);color:var(--navy)}
.faq summary::after{content:"";flex:none;width:14px;height:14px;font:inherit;background:var(--navy);transform:none;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E") center/contain no-repeat}
.faq details[open] summary::after{transform:rotate(180deg)}
@media(max-width:700px){.faq summary{font-size:var(--fs-md)}}

/* ---------- tables: hairline rows, a sentence-case header over a navy rule ---------- */
main table thead th,main :is(.areas,.booktable,.roomtable) thead th{text-transform:none;letter-spacing:0;font:600 var(--fs-sm)/var(--lh-snug) var(--sans);color:var(--navy);border-bottom:2px solid var(--navy)}
main table tbody :is(th,td){border-top-color:var(--hair)}

/* ---------- photo headers: square, flush with the site header, a brighter picture under a lighter veil ---------- */
.g-hero,.g-hero-img,.g-hero .veil{border-radius:0}
.g-hero{margin-top:0}
.g-hero-img{filter:brightness(1.08) saturate(1.06)}
/* was .35 / .45 / .82 (lightened on Paris to .26 / .34 / .62, then a little darker again for desktop after the review) */
.g-hero .veil{background:linear-gradient(180deg,rgba(15,43,76,.30) 0%,rgba(15,43,76,.42) 45%,rgba(15,43,76,.72) 100%)}
/* the breadcrumb and label read over a bright sky at every width (review, 1 Nov 2026: on a desktop they sit mid-photo) */
.g-hero .crumbs,.g-hero .kicker{text-shadow:0 1px 2px rgba(15,43,76,.9),0 0 10px rgba(15,43,76,.7)}
@media(max-width:700px){
  /* a short, darker band behind the breadcrumb and label only; the rest of the veil is lighter than before at every stop */
  .g-hero .veil{background:linear-gradient(180deg,rgba(15,43,76,.50) 0,rgba(15,43,76,.50) 96px,rgba(15,43,76,0) 150px),linear-gradient(180deg,rgba(15,43,76,.24) 0%,rgba(15,43,76,.30) 45%,rgba(15,43,76,.58) 100%)}
  .g-hero .crumbs,.g-hero .kicker{text-shadow:0 1px 2px rgba(15,43,76,.9),0 0 10px rgba(15,43,76,.7)}
}

/* ---------- closing bands: navy into our deeper blue, a gold hairline on top ---------- */
:is(.dest-cta,.flagship .sec.plan){background:linear-gradient(135deg,var(--navy) 0%,var(--navy) 50%,var(--forest-2) 100%);box-shadow:inset 0 3px 0 var(--brass)}
:is(.dest-cta,.flagship .sec.plan) :is(p,.lede){color:var(--stone)}
.close-disc{margin:18px auto 0;text-align:center;font-size:var(--fs-sm);color:var(--stone)}
.close-disc a{color:inherit;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;display:inline-flex;align-items:center;min-height:24px}
@media(pointer:coarse),(max-width:700px){.close-disc a{min-height:44px}}
@media(max-width:700px){
  .flagship .sec.plan .plan-go{flex-direction:column;align-items:stretch}
  .flagship .sec.plan .plan-go .pill{justify-content:center;text-align:center;white-space:normal}
}

/* ---------- "Good to know": Marriott's "Did you know?" band, the quote taken from the page's own words ---------- */
.sx-know{background:var(--navy);padding:32px 0}
.sx-know .k{font:500 var(--fs-xs) var(--sans);text-transform:uppercase;letter-spacing:.08em;color:var(--gold-2);margin:0 0 12px}
.sx-know .t{font:400 clamp(22px,2.4vw,28px)/var(--lh-snug) var(--serif);letter-spacing:var(--track-serif);color:var(--white);max-width:34em;margin:0;overflow-wrap:anywhere}
.sx-know .w{font:500 var(--fs-md)/var(--lh-body) var(--sans);color:var(--sky-2);max-width:48em;margin:10px 0 0}
.sx-know .w b{font-weight:600;color:var(--white)}
.sx-know .src{display:inline-flex;align-items:center;min-height:44px;margin-top:8px;font:500 var(--fs-sm) var(--sans);color:var(--stone);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
/* inside the page's one .wrap (city guides): the band still runs edge to edge */
.sx-know.in-wrap{box-shadow:0 0 0 100vmax var(--navy);clip-path:inset(0 -100vmax);margin:0}
@media(max-width:700px){.sx-know{padding:24px 0}}

/* ---------- grounds, grouped by meaning (option C): booking and practical sections light blue, warnings and asides sand ----------
   A section inside the page's one .wrap runs its ground edge to edge with a spread shadow, clipped at the sides. */
:is(.tpl-cityguide.flagship #stay,.tpl-cityguide.flagship #facts,.tpl-foodguide:not(.tpl-country) #areas,.tpl-foodguide.tpl-country #regions,.tpl-flagship #stays,.tpl-flagship #plan,.tpl-tours #passes){
  background:var(--sky-1);box-shadow:0 0 0 100vmax var(--sky-1);clip-path:inset(0 -100vmax)}
:is(.tpl-cityguide.flagship #skip,.tpl-foodguide #customs,.tpl-flagship #regions,.tpl-tours main .wrap>section.sec:nth-of-type(even):not(#passes):not(#faq):not(#more)){
  background:var(--sand);box-shadow:0 0 0 100vmax var(--sand);clip-path:inset(0 -100vmax);--pewter:var(--pewter-on-sand)}
/* hairlines and panels on a tinted ground */
:is(.tpl-cityguide.flagship #stay,.tpl-cityguide.flagship #facts,.tpl-flagship #stays,.tpl-flagship #plan) :is(.fact,.answer){background:var(--white)}
:is(.tpl-cityguide.flagship #skip,.tpl-foodguide #customs,.tpl-flagship #regions) :is(li,tr,td,th){border-color:var(--sand-line)}

/* ---------- the booking bar on phones (every page with a way to book; the where-to-stay pages have their own, #sx-sticky) ---------- */
.bk-bar{display:none}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media(max-width:700px){
  .bk-bar{display:flex;align-items:center;gap:8px;position:fixed;left:0;right:0;bottom:0;z-index:50;
    padding:8px 16px calc(8px + env(safe-area-inset-bottom));background:var(--white);border-top:1px solid var(--card-line);
    transform:translateY(100%);visibility:hidden;transition:transform var(--dur-med) var(--ease-out),visibility 0s linear var(--dur-med)}
  .bk-bar.on{transform:none;visibility:visible;transition-delay:0s}
  .bk-bar .pill.fill{flex:1 1 auto;min-width:0;min-height:44px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;text-align:center;padding:12px 14px;font-size:var(--fs-sm)}
  /* the second action is a plain text link, with the outbound arrow when it leaves the site */
  .bk-bar a.pill.ghost.dark{flex:none;background:none;border:0;border-radius:0;padding:0 6px;min-height:44px;display:inline-flex;align-items:center;gap:2px;
    font:600 var(--fs-sm)/1.3 var(--sans);color:var(--forest);white-space:nowrap}
  .bk-bar a.pill.ghost.dark:is(:hover,:focus-visible){background:none;color:var(--forest-2);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
  /* a focused link is never left under the bar (WCAG 2.2, 2.4.11) */
  html:has(#bk-bar){scroll-padding-bottom:calc(77px + env(safe-area-inset-bottom))}
  /* the city guides' old in-page bar gives way to it */
  body:has(#bk-bar) .m-book{display:none}
}
@media(max-width:360px){.bk-bar{gap:4px;padding-left:12px;padding-right:12px}.bk-bar .pill.fill{padding-left:10px;padding-right:10px}}

/* ---------- reduced motion: no lift, no press, no slide ---------- */
@media(prefers-reduced-motion:reduce){
  .pill,.faq summary::after,.bk-bar,.chip,.finder-tags button{transition:none}
  .pill:active{transform:none}
}
