/* ==========================================================================
   TB Champagne Events · Épernay, as I know it
   Drawn the way the map on The Townhouse wall is drawn: black fine-liner on a
   white wall, pale blue rivers, vineyards in marker greens, typewriter titles.
   ========================================================================== */

:root {
  /* wall and ink */
  --paper: #fbfbf8;          /* white wall */
  --paper-2: #f1f1ec;        /* a shade deeper, for quiet panels */
  --paper-3: #ffffff;        /* cards laid on the wall */
  --ink: #1b1b1a;            /* black fine-liner */
  --ink-2: #4b4b48;          /* secondary lettering */
  --ink-3: #9a9a94;          /* faint pencil */
  --rule: rgba(27, 27, 26, .18);

  /* the wall map's colours */
  --water: #6aa3d6;          /* rivers */
  --water-ink: #3d7cb8;      /* river lettering */
  --water-wash: #d6e7f5;
  --vine: #3f9a48;           /* vineyards on the town map */
  --g-vesle: #1e5a46;
  --g-ardre: #e4cc33;
  --g-montagne: #2e7d3c;
  --g-marne: #49a64c;
  --g-blancs: #1d5e34;
  --g-sezanne: #a6b82a;
  --town: #efeee9;

  /* reserved */
  --wine: #1e6b3c;           /* the active place and the main action (marker green) */
  --wine-deep: #154d2b;
  --gilt-wash: #f6ee9e;      /* highlighter yellow */

  --display: "Special Elite", "Courier New", "Songti SC", "Noto Serif SC", monospace;
  --caps: "Patrick Hand", "Segoe Print", "PingFang SC", "Noto Sans SC", sans-serif;
  --text: "Literata", Georgia, "PingFang SC", "Noto Serif SC", "Songti SC", serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --bar: 66px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar) + 14px); -webkit-text-size-adjust: 100%; scrollbar-color: var(--ink-3) var(--paper-2); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.62 var(--text);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--wine);
}
::selection { background: var(--gilt-wash); color: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.rose-dark { fill: currentColor; stroke: none; }
.rose-light { fill: #fff; stroke: currentColor; stroke-width: .9; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.5em .85em;
  font: 400 1.02rem/1 var(--caps);
  letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid transparent; border-radius: 1px;
  text-decoration: none; cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn-sm { padding: .8em 1.1em .7em; font-size: .92rem; }
.btn-go { background: var(--wine); color: var(--paper-3); border-color: var(--wine); }
.btn-go:hover { background: var(--wine-deep); border-color: var(--wine-deep); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper-3); }
.link-out { display: inline-flex; align-items: center; gap: .45em; font: 400 1rem/1.3 var(--caps); }
.link-out:hover { color: var(--wine); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 24px; }

/* ---------- Header: always there ---------- */
.margin {
  position: sticky; top: 0; z-index: 40;
  height: var(--bar);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
  padding: 0 var(--gutter);
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
}
.wordmark { display: inline-flex; flex-direction: column; gap: 3px; text-decoration: none; line-height: 1; }
.wordmark-name { font: 400 1.4rem/1 var(--display); letter-spacing: 0; }
.wordmark-place { font: 400 .86rem/1 var(--caps); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.margin-nav { display: flex; justify-content: center; align-items: center; gap: clamp(12px, 1.3vw, 24px); min-width: 0; }
.margin-nav a { white-space: nowrap; }
.margin-nav a { font: 400 .98rem/1 var(--caps); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.margin-nav a:hover, .margin-nav a.is-here { border-bottom-color: var(--ink); }
.margin-tools { display: flex; align-items: center; gap: 10px; }
.social { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--rule); border-radius: 50%; transition: border-color .3s var(--ease), color .3s var(--ease); }
.social .ic { width: 18px; height: 18px; }
.social:hover { border-color: var(--wine); color: var(--wine); }
.lang { position: relative; display: inline-flex; align-items: center; }
.lang .ic { position: absolute; left: 10px; width: 16px; height: 16px; pointer-events: none; color: var(--ink-2); }
.lang select {
  appearance: none; -webkit-appearance: none;
  font: 400 1rem/1 var(--caps); letter-spacing: .04em;
  padding: 10px 30px 9px 33px; background: var(--paper-3); border: 1px solid var(--ink); border-radius: 1px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7'%3E%3Cpath d='M1 1.2 5 5.2l4-4' fill='none' stroke='%231b1b1a' stroke-width='1.3'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center;
}
.lang select:hover { border-color: var(--wine); }

/* ---------- The atlas (first viewport) ---------- */
.atlas { position: relative; height: calc(100svh - var(--bar)); min-height: 540px; max-height: 1020px; overflow: hidden; background: var(--paper); }
.map { position: absolute; inset: 0; margin: 0; }
.map::after { content: ""; position: absolute; inset: 12px; border: 1.5px solid var(--ink); pointer-events: none; z-index: 1; }
.map-stage { position: absolute; inset: 0; overflow: hidden; clip-path: inset(13px); background: var(--paper); }
.map-layer { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* the zoom from the world to the region to the town is animated in script by re-framing each drawing (see main.js) */
.map-region, .map-world { opacity: 0; pointer-events: none; }
.map.is-region .map-town, .map.is-world .map-town { opacity: 0; pointer-events: none; }
.map.is-region .map-region, .map.is-world .map-world { opacity: 1; pointer-events: auto; }
.map-refs { transition: opacity .4s ease; }
.map.is-region .map-refs, .map.is-world .map-refs { opacity: 0; }

.cartouche {
  position: absolute; z-index: 3; top: 30px; left: 30px;
  width: min(430px, 32vw);
  --cp: 30px;
  padding: var(--cp) var(--cp) 24px;
  background: var(--paper-3);
  border: 1.5px solid var(--ink);
  box-shadow: none;
}
.cartouche-title { font: 400 clamp(2rem, 2.9vw, 2.9rem)/1.1 var(--display); letter-spacing: -.005em; margin: 18px 0 0; text-wrap: balance; }
.cartouche-title::after {
  content: ""; display: block; width: 120px; height: 10px; margin: 16px 0 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='10'%3E%3Cpath d='M2 6.5c14-3 30-4.5 48-3.6 18 .8 38 2.6 66-.4' fill='none' stroke='%231e6b3c' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat;
}
.cartouche .btn { letter-spacing: .12em; }
@media (min-width: 1001px) {
  /* the panel is exactly the height of the map; Thoma's photo takes whatever room is left (never under 96px),
     and a long translation that still doesn't fit scrolls inside the panel rather than being cut off */
  .cartouche { bottom: 30px; display: flex; flex-direction: column; overflow: hidden auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--ink-3) transparent; }
  .cartouche > * { flex: none; }
  .cartouche > .frontis { flex: 1 1 auto; min-height: 96px; display: flex; flex-direction: column; }
  .frontis img { flex: 1 1 auto; min-height: 0; height: 0; aspect-ratio: auto !important; }
  /* a short banner, framed on Thoma's face and the line of bottles in front of him */
  .frontis img { object-position: 50% 58% !important; }
}

/* the host's portrait sits flush inside the cartouche's inner rule, in natural colour */
.frontis { margin: calc(0px - var(--cp)) calc(0px - var(--cp)) 0; }
.frontis img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 52%; border-bottom: 1px solid var(--ink); }
.frontis figcaption { padding: 10px var(--cp) 0; font: 400 .86rem/1.3 var(--caps); color: var(--ink-2); }
.story-link { display: inline-flex; align-items: center; gap: 6px; margin: -6px 0 20px; font: 400 1.08rem/1.2 var(--caps); color: var(--wine); text-decoration-thickness: 1.5px; }
.story-link::after { content: "→"; transition: transform .3s var(--ease); }
.story-link:hover::after { transform: translateX(4px); }
.cartouche-intro { margin: 0 0 20px; color: var(--ink-2); font-size: .98rem; line-height: 1.58; }

.ask { border-top: 1px solid var(--rule); padding-top: 14px; }
.ask-line { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 10px; font-size: 1.06rem; line-height: 1.4; }
.ask-break { flex-basis: 100%; height: 0; }
.ask-break-m { display: none; }
.ask { padding-top: 18px; }
.ask-actions { margin-top: 22px !important; }
.ask-actions .btn { flex: 0 1 auto; }
.ask-alt { flex-basis: 100%; }
.blank { display: inline-block; position: relative; vertical-align: baseline; }
.blank select, .blank input {
  font: 400 1.15rem/1.2 var(--caps); min-height: 40px;
  border: 0; border-bottom: 1px solid var(--ink); border-radius: 0;
  background-color: var(--gilt-wash); padding: 4px 7px 3px;
  appearance: none; -webkit-appearance: none;
}
.blank select { padding-right: 24px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7'%3E%3Cpath d='M1 1.2 5 5.2l4-4' fill='none' stroke='%231b1b1a' stroke-width='1.3'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 7px center; max-width: 100%; }
.blank input[type="date"] { min-width: 9.5em; }
.blank-num input { width: 3.2em; text-align: center; }
.blank select:focus, .blank input:focus { outline: none; background-color: #efe270; }
.ask-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 16px; }
.ask-alt { font: 400 .95rem/1.2 var(--caps); color: var(--ink-2); }
.ask-alt:hover { color: var(--wine); }
.follow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--rule); font: 400 .92rem/1 var(--caps); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.follow a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); text-decoration: none; }
.follow a:hover { color: var(--wine); }

/* the plate: real photographs of the selected place */
.plate {
  position: absolute; z-index: 3; top: 30px; right: 30px; bottom: 30px;
  width: min(400px, 30vw);
  display: flex; flex-direction: column;
  padding: 16px 16px 10px;
  background: var(--paper-3);
  border: 1.5px solid var(--ink);
  box-shadow: none;
}
.plate-view { flex: 1 1 auto; min-height: 150px; display: flex; flex-direction: column; }
.plate-set { margin: 0; flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 8px; }
.plate-set[hidden] { display: none; }
.plate-main { width: 100%; flex: 1 1 auto; min-height: 0; height: 100%; object-fit: cover; background: var(--paper-2); border: 1px solid var(--rule); }
.plate-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; flex: none; }
.plate-set-three .plate-thumbs { grid-template-columns: repeat(3, 1fr); }
.plate-thumbs button { padding: 0; border: 1px solid transparent; background: none; aspect-ratio: 4 / 3; overflow: hidden; opacity: .62; transition: opacity .3s var(--ease), border-color .3s var(--ease); }
.plate-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.plate-thumbs button:hover { opacity: 1; }
.plate-thumbs button.is-on { opacity: 1; border-color: var(--ink); }
.plate-set-drawn { justify-content: center; }
.plate-drawing { width: 100%; height: 100%; min-height: 0; background: var(--paper); border: 1px solid var(--rule); }
.plate-set.is-entering .plate-main, .plate-set.is-entering .plate-drawing { animation: develop .8s var(--ease) both; }
.plate-main.is-swapping { animation: develop .6s var(--ease) both; }
/* the pouring shot: frame on his face and the bottle, not the guest's shoulder in front */
.plate-set[data-place="events"] .plate-main { object-position: 50% 30%; }
@keyframes develop { from { opacity: 0; } to { opacity: 1; } }
.plate-text { flex: none; padding: 14px 4px 10px; border-bottom: 1px solid var(--rule); }
.plate-title { margin: 0 0 4px; font: 400 1.55rem/1.1 var(--display); }
.plate-desc { margin: 0 0 12px; font-size: .94rem; line-height: 1.5; color: var(--ink-2); }
.plate-actions { display: flex; align-items: center; gap: 16px; }
.plate-more { font: 400 .95rem/1 var(--caps); }
.plate-more:hover { color: var(--wine); }
.plate-index { list-style: none; margin: 0; padding: 4px 0 0; flex: none; }
.plate-index li + li { border-top: 1px solid var(--rule); }
.plate-index button {
  width: 100%; display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 10px;
  padding: 7px 4px; background: none; border: 0; text-align: left;
  font: 400 .98rem/1.2 var(--caps);
}
.idx-num { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--ink); display: grid; place-items: center; font: 400 .8rem/1 var(--caps); transition: background-color .3s var(--ease), color .3s, border-color .3s; }
.idx-ref { font: 400 .8rem/1 var(--caps); color: var(--ink-2); }
.plate-index button:hover .idx-num { border-color: var(--wine); }
.plate-index button[aria-pressed="true"] { color: var(--wine); }
.plate-index button[aria-pressed="true"] .idx-num { background: var(--wine); border-color: var(--wine); color: var(--paper-3); }

.map-note {
  position: absolute; z-index: 2; bottom: 34px; left: 46px;
  display: flex; align-items: center; gap: 10px; margin: 0;
  font: 400 .86rem/1.3 var(--caps); color: var(--ink-2);
  text-shadow: 0 0 6px var(--paper), 0 0 3px var(--paper), 0 0 2px var(--paper);
}
.map-note .rose { width: 46px; height: 46px; color: var(--ink); stroke: var(--ink); stroke-width: .8; }
.map-note-region { display: none; }
.map.is-region .map-note-town { display: none; }
.map.is-region .map-note-region { display: inline; }

/* grid references, placed by script along the frame */
.map-refs { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.map-refs span { position: absolute; font: 400 .78rem/1 var(--caps); color: var(--ink-2); background: var(--paper); padding: 1px 4px; }
.refs-cols span { top: 6px; transform: translateX(-50%); }
.refs-rows span { right: 6px; transform: translateY(-50%); }
.map-refs i { position: absolute; background: var(--ink-3); }
.refs-cols i { top: 12px; width: 1px; height: 8px; }
.refs-rows i { right: 12px; width: 8px; height: 1px; }

/* ---------- Map drawing: engraving and washes ---------- */
.m-sheet { fill: none; }
.m-graticule path { stroke: rgba(27, 27, 26, .07); stroke-width: 1; fill: none; }
.m-town { fill: var(--town); }
.m-town-lines { stroke: none; }
.m-town-hatch { stroke: rgba(27, 27, 26, .06); stroke-width: 1; }
.m-hatch { stroke: var(--vine); stroke-width: 1.6; }
.m-vines { fill: url(#pc-town); stroke: none; }
.m-vines.v-vesle { fill: var(--g-vesle); } .m-vines.v-ardre { fill: var(--g-ardre); } .m-vines.v-montagne { fill: var(--g-montagne); }
.m-vines.v-marne { fill: var(--g-marne); } .m-vines.v-blancs { fill: var(--g-blancs); } .m-vines.v-sezanne { fill: var(--g-sezanne); }
.pc-town path { fill: var(--vine); } .pc-tint { fill: #e6f1e2; }
.m-forest { display: none; }
.m-dept { fill: none; stroke: var(--ink); stroke-width: 2; stroke-dasharray: 2 7; stroke-linecap: round; }
.m-deptname { font: 400 34px var(--display); letter-spacing: .12em; fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 10px; }
.m-river-bank { fill: none; stroke: var(--water); stroke-width: 22; stroke-linecap: round; }
.m-river { fill: none; stroke: var(--water-wash); stroke-width: 18; stroke-linecap: round; }
.m-river-region-bank { stroke-width: 5; }
.m-river-region { stroke-width: 1.6; stroke: var(--paper); }
.m-river-thin { fill: none; stroke: var(--water); stroke-width: 3.5; }
.m-water { font: 400 30px var(--caps); fill: var(--water-ink); letter-spacing: .06em; }
.m-rail { fill: none; stroke: var(--ink); stroke-width: 3; }
.m-rail-ties { fill: none; stroke: var(--ink); stroke-width: 12; stroke-dasharray: 1.6 14; }
.m-streets path, .m-streets use { fill: none; stroke: var(--ink-2); stroke-width: 2.2; stroke-linecap: round; }
.m-roads-case path, .m-roads-case use { fill: none; stroke: var(--ink); stroke-width: 9; stroke-linecap: round; }
.m-roads path, .m-roads use { fill: none; stroke: var(--paper); stroke-width: 6.4; stroke-linecap: round; }
.m-roads-region.m-roads-case path { stroke-width: 7; }
.m-roads-region.m-roads path { stroke-width: 4.4; }
.m-bridge { stroke: var(--ink); stroke-width: 2.5; }
.m-street-name { font: 400 20px var(--caps); letter-spacing: .05em; text-transform: uppercase; fill: var(--ink-2); paint-order: stroke; stroke: var(--paper); stroke-width: 5px; stroke-linejoin: round; }
.m-street-name-lg { font-size: 19px; fill: var(--ink); }
.m-townname { font: 400 42px var(--display); letter-spacing: .38em; fill: var(--ink-3); paint-order: stroke; stroke: var(--town); stroke-width: 12px; stroke-linejoin: round; }
.m-label-sm { font: 400 24px var(--caps); letter-spacing: .03em; fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 11px; stroke-linejoin: round; }
.m-sym { color: var(--ink); stroke: var(--ink); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.m-note { font: 400 21px var(--caps); fill: var(--ink-2); paint-order: stroke; stroke: var(--paper); stroke-width: 12px; stroke-linejoin: round; }
.m-approx { fill: rgba(27, 27, 26, .04); stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 6 6; transition: stroke .3s var(--ease), fill .3s var(--ease); }
.m-route { fill: none; stroke: var(--ink); stroke-width: 4; stroke-dasharray: 10 8; transition: stroke .3s var(--ease); }
.m-route-reveal { fill: none; stroke: #fff; stroke-width: 18; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .m-route-reveal { stroke-dashoffset: 1; animation: reveal 2.4s .6s var(--ease) forwards; }
@keyframes reveal { to { stroke-dashoffset: 0; } }
.m-bus-ground { fill: var(--paper-3); stroke: var(--ink); stroke-width: 2; }
.js .m-bus { opacity: 0; animation: arrive .6s 2.7s var(--ease) forwards; }
@keyframes arrive { to { opacity: 1; } }

/* the world: France from the wall's inset, Épernay at its heart, the routes out to wherever the guests are */
.m-france { fill: var(--paper-3); stroke: var(--ink); stroke-width: 2.4; stroke-linejoin: round; }
.m-france-champagne { fill: var(--g-marne); stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.m-paris { fill: var(--ink); }
.m-dests circle { fill: var(--paper-3); stroke: var(--ink); stroke-width: 2.5; }
.m-flights path { fill: none; stroke: var(--wine); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease); }
.map.is-world .m-flights path { stroke-dashoffset: 0; transition-delay: .5s; }
.map.is-world .m-flights path:nth-child(2) { transition-delay: .62s; }
.map.is-world .m-flights path:nth-child(3) { transition-delay: .74s; }
.map.is-world .m-flights path:nth-child(4) { transition-delay: .86s; }
.map.is-world .m-flights path:nth-child(5) { transition-delay: .98s; }

/* region */
.m-tours path { fill: none; stroke: var(--wine); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease); }
.map.is-region .m-tours path { stroke-dashoffset: 0; transition-delay: 1s; }
.map.is-region .m-tours path:nth-child(2) { transition-delay: 1.12s; }
.map.is-region .m-tours path:nth-child(3) { transition-delay: 1.24s; }
.map.is-region .m-tours path:nth-child(4) { transition-delay: 1.36s; }
.map.is-region .m-tours path:nth-child(5) { transition-delay: 1.48s; }
.map.is-region .m-tours path:nth-child(6) { transition-delay: 1.6s; }
.m-villages circle { fill: var(--paper-3); stroke: var(--ink); stroke-width: 2; }
.m-city { fill: var(--ink); }
.m-village-names text { font: 400 23px var(--caps); fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 15px; stroke-linejoin: round; }
.m-cityname { font: 400 32px var(--display); letter-spacing: .14em; fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 7px; }
.m-regionname { font: 400 27px var(--caps); letter-spacing: .3em; fill: var(--ink-2); paint-order: stroke; stroke: var(--paper); stroke-width: 16px; stroke-linejoin: round; }
.m-narrow-only { display: none; }
.m-rose { color: var(--ink); stroke: var(--ink); stroke-width: .8; }
.m-sym-pin { color: var(--paper-3); stroke: var(--paper-3); fill: none; stroke-width: 1.6; }

/* the wall's compass rose, scale bar and legend */
.m-rose-set text { font: 400 30px var(--caps); fill: var(--ink); }
.m-scale rect { fill: var(--ink); stroke: var(--ink); stroke-width: 1.5; }
.m-scale rect.m-scale-w { fill: var(--paper-3); }
.m-scale text { font: 400 22px var(--caps); fill: var(--ink); }
.map-legend {
  display: none; margin: 0 0 12px; padding: 0; list-style: none;
  grid-template-columns: 1fr 1fr; gap: 3px 12px; font: 400 .95rem/1.2 var(--caps); color: var(--ink);
}
.plate[data-place="vineyards"] .map-legend { display: grid; }
.map-legend li { display: flex; align-items: center; gap: 8px; }
.map-legend i { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--ink); flex: none; }
.map-legend .v-vesle { background: var(--g-vesle); } .map-legend .v-ardre { background: var(--g-ardre); } .map-legend .v-montagne { background: var(--g-montagne); }
.map-legend .v-marne { background: var(--g-marne); } .map-legend .v-blancs { background: var(--g-blancs); } .map-legend .v-sezanne { background: var(--g-sezanne); }

/* pins */
.pin { cursor: pointer; outline: none; }
.pin-dot { fill: var(--paper-3); stroke: var(--ink); stroke-width: 2.5; transition: fill .3s var(--ease), stroke .3s var(--ease); }
.pin-num { font: 400 26px var(--caps); text-anchor: middle; fill: var(--ink); pointer-events: none; transition: fill .3s; }
.pin-label { font: 400 29px var(--caps); letter-spacing: .08em; text-transform: uppercase; fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 15px; stroke-linejoin: round; transition: fill .3s; }
.pin-label-left { text-anchor: end; }
.pin-label-mid { text-anchor: middle; }
.pin:hover .pin-dot { stroke: var(--wine); }
.pin:focus-visible .pin-dot { stroke: var(--wine); stroke-width: 5; }
.pin.is-active .pin-dot { fill: var(--wine); stroke: var(--wine); }
.pin.is-active .pin-num { fill: var(--paper-3); }
.pin.is-active .pin-label { fill: var(--wine); }
.pin-region .pin-dot { fill: var(--wine); stroke: var(--wine); }
.pin-region .pin-label { fill: var(--wine); font-size: 30px; }
.map[data-active="townhouse"] .m-approx { stroke: var(--wine); fill: rgba(30, 107, 60, .08); }

/* drawn insets */
.m-label-xs { font: 400 15px var(--caps); fill: var(--ink-2); }
.m-street-case { fill: none; stroke: var(--ink-2); stroke-width: 12; }
.m-street-fill { fill: none; stroke: var(--paper); stroke-width: 9; }
.m-road-case { fill: none; stroke: var(--ink); stroke-width: 14; }
.m-road-fill { fill: none; stroke: var(--paper); stroke-width: 10; }
.m-measure { stroke: var(--wine); stroke-width: 1.3; stroke-dasharray: 4 4; }
.m-measure-tick { stroke: var(--wine); stroke-width: 1.3; }
.m-station { fill: var(--ink); }
.pin-dot-on { fill: var(--wine); stroke: var(--wine); stroke-width: 2; }
.pin-num-on { font: 400 19px var(--caps); text-anchor: middle; fill: var(--paper-3); }
.inset .m-label-sm, .plate-drawing .m-label-sm { font-size: 18px; stroke-width: 5px; }
.inset .m-street-name, .plate-drawing .m-street-name { font-size: 12px; }
.inset .m-note, .plate-drawing .m-note { font-size: 16px; stroke-width: 6px; }
.inset .m-rail-ties, .plate-drawing .m-rail-ties { stroke-width: 10; stroke-dasharray: 1.4 10; }

/* ---------- Review highlights under the map ---------- */
.praise {
  margin: 0 12px; padding: clamp(22px, 2.6vw, 34px) clamp(20px, 3vw, 44px);
  border: 1.5px solid var(--ink); border-top: 0; background: var(--paper-3);
  display: grid; grid-template-columns: 1fr; gap: 18px clamp(24px, 3vw, 48px); align-items: center;
}
.praise-ratings { list-style: none; margin: 0; padding: 0 0 16px; border-bottom: 1px solid var(--rule); display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 30px; }
.praise-ratings a { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; text-decoration: none; color: var(--ink); }
.praise-ratings strong { font: 400 1.6rem/1 var(--display); color: var(--wine); }
.praise-stars { color: #d4a72c; letter-spacing: .08em; font-size: .9rem; line-height: 1.2; }
.praise-ratings span:not(.praise-stars) { font: 400 1rem/1.2 var(--caps); }
.praise-ratings small { font: 400 .88rem/1.2 var(--caps); color: var(--ink-2); }
.praise-ratings a:hover span:not(.praise-stars) { text-decoration: underline; }
.praise-quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.praise-quotes figure { margin: 0; padding-left: 14px; border-left: 2px solid var(--g-marne); }
.praise-quotes blockquote { margin: 0 0 8px; font: 400 .98rem/1.5 var(--text); }
.praise-quotes blockquote::before { content: "“"; } .praise-quotes blockquote::after { content: "”"; }
.praise-quotes figcaption { font: 400 .92rem/1.2 var(--caps); color: var(--ink-2); }
.praise-more { grid-column: 1 / -1; justify-self: end; font: 400 1.05rem/1 var(--caps); color: var(--wine); }
.praise-more::after { content: " →"; }

/* ---------- The back of the map ---------- */
.back {
  position: relative; margin: 0 12px 12px;
  border: 1px solid var(--ink); border-top: 0;
  background:
    linear-gradient(to bottom, var(--ink-3) 1px, transparent 0) left 0 top 0 / 10px 160px repeat-y,
    linear-gradient(to bottom, var(--ink-3) 1px, transparent 0) right 0 top 0 / 10px 160px repeat-y;
}
.place, .me, .stay, .reviews, .write { padding: clamp(72px, 9vw, 136px) var(--gutter); border-top: 1px solid var(--rule); }
.place > *, .me, .stay > *, .reviews > *, .write { max-width: var(--max); margin-left: auto; margin-right: auto; }

.place-head { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 6px 24px; margin-bottom: clamp(36px, 4.4vw, 60px); }
.place-pin {
  grid-row: span 2; align-self: center;
  width: clamp(56px, 6vw, 78px); aspect-ratio: 1; border-radius: 50%;
  border: 1px solid var(--ink); box-shadow: none;
  display: grid; place-items: center;
  font: 400 clamp(1.5rem, 2.4vw, 2.1rem)/1 var(--display);
  transition: background-color .4s var(--ease), color .4s, border-color .4s, box-shadow .4s;
}
.place.is-active .place-pin { background: var(--wine); border-color: var(--wine); color: var(--paper-3); box-shadow: none; }
.place-title { margin: 0; font: 400 clamp(2.6rem, 5.4vw, 4.6rem)/1.05 var(--display); letter-spacing: 0; text-wrap: balance; }
.place-where { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font: 400 1.08rem/1.3 var(--caps); color: var(--ink-2); }
.ref {
  display: inline-flex; gap: .4em; align-items: center;
  font: 400 .92rem/1 var(--caps); letter-spacing: .08em; text-transform: uppercase; font-style: normal;
  padding: 7px 10px 6px; background: none; border: 1px solid var(--ink); border-radius: 1px; color: var(--ink);
}
.ref:hover { background: var(--gilt-wash); }
/* the place's number, circled like its pin on the map */
.ref-num { width: 20px; height: 20px; margin: -3px 0 -2px; border-radius: 50%; border: 1px solid currentColor; display: inline-grid; place-items: center; font-size: .82rem; letter-spacing: 0; }

.place-body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.2vw, 32px); row-gap: clamp(28px, 4vw, 56px); align-items: start; }
.place-lead { margin: 0; font-size: clamp(1.2rem, 1.7vw, 1.48rem); line-height: 1.48; max-width: 34ch; text-wrap: pretty; }

.ph { margin: 0; overflow: hidden; }
.ph-frame { display: block; position: relative; overflow: hidden; }
.ph-frame::after { content: ""; position: absolute; inset: 0; background: var(--paper); transform-origin: 50% 0; transform: scaleY(0); pointer-events: none; }
.ph img { width: 100%; background: var(--paper-2); }
.ph figcaption { margin-top: 10px; font: 400 .92rem/1.3 var(--caps); color: var(--ink-2); }

.offer { border-top: 1.5px solid var(--ink); padding-top: 20px; margin-top: 4px; }
.offer-title { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font: 400 clamp(1.5rem, 2.2vw, 1.95rem)/1.1 var(--display); }
.offer-title .ic { width: 28px; height: 28px; stroke-width: 1.3; color: var(--wine); }
.offer p { margin: 0 0 12px; max-width: 58ch; font-size: 1.03rem; line-height: 1.64; }
.facts { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 0; font: 400 .95rem/1.2 var(--caps); letter-spacing: .08em; text-transform: uppercase; }
.facts li { white-space: nowrap; }
.facts li:not(:last-child)::after { content: "·"; margin: 0 .7em; color: var(--ink-3); }
.facts li.eol::after { content: none; }
.facts li.eol { margin-right: 1.4em; }
.rating { font: 400 1rem/1.3 var(--caps); }

/* flat */
.place-body-flat .ph-lead { grid-column: 1 / 9; grid-row: 1 / 3; }
.place-body-flat .place-lead { grid-column: 9 / 13; grid-row: 1; align-self: end; }
.place-body-flat .ph-tall { grid-column: 10 / 13; grid-row: 2; }
.place-body-flat .ph-tall img { aspect-ratio: 3 / 4; object-fit: cover; }
.place-body-flat .offer-main { grid-column: 1 / 6; grid-row: 3; }
.place-body-flat .ph-wide { grid-column: 7 / 13; grid-row: 3; margin-top: 24px; }
.book-elsewhere { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin: 16px 0 0 !important; font: 400 1rem/1.3 var(--caps) !important; color: var(--ink-2); }

/* townhouse */
/* the cellar: its own gallery inside The Townhouse */
.place-body-house .cellar { grid-column: 1 / -1; grid-row: 1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.2vw, 32px); row-gap: clamp(22px, 3vw, 40px); align-items: start; padding: clamp(24px, 3vw, 40px); background: #1d1b18; color: #f3f1ea; }
.cellar .cellar-lead { grid-column: 1 / 8; grid-row: 1; }
.cellar .cellar-lead img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 68%; }
.cellar .cellar-offer { grid-column: 8 / 13; grid-row: 1; align-self: center; border-top-color: #f3f1ea; }
.cellar .offer-title .ic { color: #f6ee9e; }
.cellar .offer p, .cellar .cellar-lead-text { color: #e7e4da; }
.cellar .cellar-lead-text { font-size: 1.16rem; line-height: 1.55; }
.cellar .facts li:not(:last-child)::after { color: #a9a69c; }
.cellar-where { font: 400 1.05rem/1.4 var(--caps); }
.cellar-where a { color: #f6ee9e; }
.cellar .btn-go { border-color: var(--g-marne); }
.cellar .btn-go:hover { background: var(--wine-deep); border-color: var(--g-marne); }
.cellar figcaption { color: #bdb9ad; }
.cellar :focus-visible { outline-color: #f6ee9e; }
.cellar-gallery { grid-column: 1 / -1; position: relative; min-width: 0; }
.cellar-strip { display: flex; gap: clamp(10px, 1.4vw, 18px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; padding-bottom: 8px; scrollbar-width: thin; scrollbar-color: #6d6a62 transparent; }
.cellar-strip .ph { flex: 0 0 calc((100% - 4 * clamp(10px, 1.4vw, 18px)) / 5.4); scroll-snap-align: start; }
.cellar-strip:focus-visible { outline: 2px solid #f6ee9e; outline-offset: 4px; }
.strip-nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 10px; }
.strip-nav button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(243,241,234,.55); background: none; color: #f3f1ea; display: grid; place-items: center; }
.strip-nav button:hover:not(:disabled) { background: #f3f1ea; color: #1d1b18; }
.strip-nav button:disabled { opacity: .3; cursor: default; }
.strip-prev .ic { transform: rotate(180deg); }
.cellar-strip img { aspect-ratio: 1 / 1 !important; object-fit: cover; } /* crop to the square, never stretch */
.cellar .ph-frame::after { background: #1d1b18; }
/* the wall map: under the stay, answering the two photographs on the left */
/* its own shape (plain "auto" would drop the width/height hint and collapse it until loaded) */

/* station */
.place-station { background: var(--paper-2); }
.place-body-station .place-lead { grid-column: 1 / 7; grid-row: 1; }
.place-body-station .inset-station { grid-column: 8 / 13; grid-row: 1 / 3; }
.place-body-station .offer-main { grid-column: 1 / 7; grid-row: 2; }
.place-body-station .routes { grid-column: 1 / 13; grid-row: 3; }
.route-label { margin: 18px 0 0; font: 400 1.1rem/1.2 var(--caps); color: var(--wine); }
.route-label:first-child { margin-top: 0; }
.inset { margin: 0; }
.inset svg { display: block; width: 100%; height: auto; background: var(--paper); border: 1px solid var(--ink); box-shadow: none; }
.inset figcaption { margin-top: 10px; font: 400 .92rem/1.3 var(--caps); color: var(--ink-2); }
.line {
  list-style: none; margin: 0; padding: 28px 0 8px;
  display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: end; gap: 0 16px;
}
.line > li:not(.line-leg) { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; font: 400 clamp(1.1rem, 1.6vw, 1.35rem)/1 var(--display); }
.line > li:not(.line-leg)::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--ink); box-shadow: inset 0 0 0 3px var(--paper-2), inset 0 0 0 9px var(--ink); }
.line > li:last-child::before { box-shadow: inset 0 0 0 3px var(--paper-2), inset 0 0 0 9px var(--wine); border-color: var(--wine); }
.line-leg { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; padding-bottom: 32px; font: 400 .98rem/1.2 var(--caps); color: var(--ink-2); }
.line-leg::after { content: ""; position: absolute; left: -16px; right: -16px; bottom: 8px; height: 2px; background: var(--ink); transform-origin: left center; }
.line-leg:nth-child(4)::after { background: linear-gradient(90deg, var(--ink) 55%, transparent 0) 0 0 / 14px 100% repeat-x; }
.line-leg .ic { width: 22px; height: 22px; color: var(--ink); }

/* tours */
.place-body-vines .ph-vines { grid-column: 1 / 8; grid-row: 1 / 3; align-self: start; }
@media (min-width: 1001px) { .place-body-vines .ph-vines img { aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 60%; } }
.place-body-vines .ph-vines img { object-fit: cover; }
.place-body-vines .offer-main { grid-column: 8 / 13; grid-row: 1; align-self: end; }
.place-body-vines .offer-lead { font-size: clamp(1.1rem, 1.5vw, 1.32rem); line-height: 1.52; max-width: 40ch; }
.place-body-vines .ph-house { grid-column: 9 / 13; grid-row: 2; }
.place-body-vines .ph-me-vines { grid-column: 8 / 13; grid-row: 2; align-self: end; }
.place-body-vines .ph-me-vines img { aspect-ratio: 4 / 3; object-fit: cover; }
/* tours: the same sliding strip as the cellar, on the wall instead of the dark band */
.place-body-vines .tour-gallery { grid-row: 3; }
.tour-gallery .cellar-strip { scrollbar-color: var(--ink-3) transparent; }
.tour-gallery .cellar-strip:focus-visible { outline-color: var(--wine); }
.tour-gallery .strip-nav button { border-color: var(--ink); color: var(--ink); }
.tour-gallery .strip-nav button:hover:not(:disabled) { background: var(--ink); color: var(--paper-3); }
.place-body-vines .appellation { grid-column: 7 / 13; grid-row: 4; }
.place-body-vines .ph-cellar { grid-column: 1 / 6; grid-row: 4; align-self: center; }

/* the appellation, as written on the wall */
.appellation { display: grid; grid-template-columns: 1fr auto; gap: 8px 28px; align-items: start; }
.appellation-title { grid-column: 1 / -1; margin: 0 0 6px; font: 400 clamp(2.2rem, 3.6vw, 3.2rem)/1 var(--display); color: transparent; -webkit-text-stroke: 1.4px var(--ink); letter-spacing: .04em; }
.appellation-pre { display: block; font-size: max(1.15rem, .5em); letter-spacing: .14em; color: transparent; margin-bottom: 4px; }
.appellation-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font: 400 1.25rem/1.25 var(--caps); }
.appellation-facts li { display: grid; grid-template-columns: 16px 1fr; }
.appellation-facts li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); margin-top: .5em; }
.appellation-facts small { grid-column: 2; font-size: .82em; color: var(--ink-2); }
.france { width: clamp(150px, 15vw, 210px); height: auto; }
.france-line { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.france-champagne { fill: var(--g-marne); stroke: var(--ink); stroke-width: 1; }
.france-paris { fill: var(--ink); }
.france text { font: 400 12px var(--caps); fill: var(--ink); }
.appellation-note { grid-column: 1 / -1; margin: 6px 0 0; font: 400 1rem/1.3 var(--caps); color: var(--ink-2); }

/* ---------- About me ---------- */
.me { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.2vw, 32px); align-items: start; box-sizing: content-box; }
.ph-me { grid-column: 1 / 6; }
.ph-me img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 56%; } /* the toast: face and glass, not the pale sky */
@media (min-width: 1001px) { .ph-me { position: sticky; top: calc(var(--bar) + 30px); } }
.me-text { grid-column: 7 / 13; }
.me-lead { margin: 0 0 30px; font-size: clamp(1.25rem, 1.8vw, 1.55rem); line-height: 1.45; max-width: 40ch; }
.story { list-style: none; margin: 0 0 8px; padding: 0 0 0 30px; position: relative; display: grid; gap: 26px; }
.story::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 14px; border-left: 2px dotted var(--ink); }
.story li { position: relative; }
.story li::before { content: ""; position: absolute; left: -30px; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); }
.story li:first-child::before { background: var(--water); }
.story li:last-child::before { background: var(--wine); border-color: var(--wine); }
.story-mark { display: block; margin-bottom: 4px; font: 400 1.35rem/1.15 var(--caps); color: var(--wine); }
.story p { margin: 0; font-size: 1.04rem; line-height: 1.62; max-width: 54ch; }
.section-title { margin: 0 0 26px; font: 400 clamp(2.3rem, 4.6vw, 3.8rem)/1.08 var(--display); letter-spacing: 0; text-wrap: balance; }
/* every title below the map carries the marker stroke from the title box, drawn a little larger */
.place-title::after, .section-title::after { content: ""; display: block; width: clamp(110px, 11vw, 168px); height: clamp(10px, 1vw, 14px); margin-top: .2em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='10'%3E%3Cpath d='M2 6.5c14-3 30-4.5 48-3.6 18 .8 38 2.6 66-.4' fill='none' stroke='%231e6b3c' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat; background-size: 100% 100%; }
.socials { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 4px; }
.socials a { display: inline-flex; align-items: center; gap: 12px; padding: 8px 0; font: 400 1rem/1 var(--caps); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }
.socials a span { font: 400 1rem/1 var(--caps); letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.socials .ic { width: 22px; height: 22px; color: var(--wine); }
.socials a:hover span { color: var(--wine); text-decoration: underline; }

/* ---------- Established houses and emerging growers: one list, set like the key on the wall map ---------- */
.partners { padding: clamp(72px, 9vw, 136px) var(--gutter); border-top: 1px solid var(--rule); }
.partners > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.partners-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px clamp(28px, 4vw, 64px); align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.partners-head .section-title { margin: 0; }
.partners-lead { margin: 0; font-size: clamp(1.2rem, 1.7vw, 1.45rem); line-height: 1.5; max-width: 46ch; }
.partners-key { border-top: 1.5px solid var(--ink); padding-top: 22px; --dot: var(--g-montagne); }
.key-title { margin: 0 0 6px; font: 400 clamp(1.35rem, 1.9vw, 1.65rem)/1.15 var(--display); }
.key-note { margin: 0 0 16px; font-size: .98rem; line-height: 1.5; color: var(--ink-2); max-width: 40ch; }
.key-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 24px; }
.key-list li { display: flex; align-items: center; gap: 10px; font: 400 1.3rem/1.15 var(--caps); }
.key-list li::before { content: ""; flex: none; width: 13px; height: 13px; border-radius: 50%; background: var(--dot); border: 1.5px solid var(--ink); }

/* ---------- Accommodation: the two rentals side by side, three photographs over each offer ---------- */
.stay-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px clamp(28px, 4vw, 64px); align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.stay-head .section-title { margin: 0; }
.stay-head .stay-where { grid-column: 1; margin-top: -4px; }
.stay-lead { margin: 0; font-size: clamp(1.2rem, 1.7vw, 1.45rem); line-height: 1.5; max-width: 46ch; }
.stay-homes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 5vw, 80px); align-items: start; }
.stay-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1vw, 14px); margin-bottom: clamp(22px, 2.6vw, 34px); }
.stay-photos img { aspect-ratio: 3 / 4; object-fit: cover; }
.stay-photos .ph-wall img { object-position: 18% 40%; }
.stay-photos figcaption { font-size: .85rem; }
.stay-intro { font-size: 1.12rem; line-height: 1.55; }

/* ---------- Bringing Champagne to you ---------- */
.abroad { padding: clamp(72px, 9vw, 136px) var(--gutter); border-top: 1px solid var(--rule); background: var(--paper-2); }
.abroad > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.abroad-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px clamp(28px, 4vw, 64px); align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.abroad-top .place-head { margin-bottom: 0; }
.abroad-lead { margin: 0; font-size: clamp(1.2rem, 1.7vw, 1.45rem); line-height: 1.5; max-width: 46ch; }
.abroad-body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 3vw, 48px); align-items: stretch; }
.abroad-what { display: flex; flex-direction: column; }
.abroad-cta { margin-top: auto !important; }
.abroad-for { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); align-content: start; }
.abroad-photo { grid-column: 1; grid-row: 1 / span 2; }
.abroad-photo img { aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 30%; }
.abroad-for .abroad-card { grid-column: 2; }
.abroad-for #trade { grid-column: 1 / -1; }
.abroad-for #trade p { max-width: 66ch; }
/* two more photographs under the experiences, side by side on every screen */
.abroad-more { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.6vw, 22px); align-items: start; margin: 14px 0 26px; }
.abroad-more img { aspect-ratio: 3 / 4; object-fit: cover; }
.abroad-card { border-top: 1.5px solid var(--ink); padding-top: clamp(14px, 1.6vw, 20px); }
.abroad-card .offer-title { margin-bottom: 10px; }
.abroad-card p { margin: 0; font-size: 1.02rem; line-height: 1.6; }
.abroad-what { border-top: 1.5px solid var(--ink); padding-top: 18px; }
.abroad-what p { margin: 0 0 12px; font-size: 1.02rem; line-height: 1.6; max-width: 46ch; }
.abroad-list { list-style: none; margin: 12px 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 26px; }
.abroad-list li { display: flex; align-items: center; gap: 9px; font: 400 1.15rem/1.15 var(--caps); }
.abroad-list li::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--g-marne); border: 1.5px solid var(--ink); }
.abroad-cta { margin-top: 26px; padding: 22px 0 0; border-top: 1.5px solid var(--ink); }
.abroad-what .abroad-cta-text { margin: 0 0 18px; line-height: 1.3; font: 400 clamp(1.3rem, 1.8vw, 1.6rem)/1.3 var(--display); max-width: 30ch; }
.abroad-cta .actions { margin: 0; gap: 12px 22px; }
[data-email][hidden], [data-email-item][hidden] { display: none !important; }

/* ---------- Reviews: framed on the sheet ---------- */
.reviews { background: transparent; }
.review-frame { border: 1px solid var(--ink); box-shadow: none; padding: clamp(28px, 4vw, 60px); background-color: var(--paper-3); }
.reviews-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 28px; margin-bottom: clamp(32px, 4vw, 52px); }
.reviews-head .section-title { margin: 0; }
.reviews-note { margin: 0; font: 400 1.05rem/1.4 var(--caps); color: var(--ink-2); }
.review-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 clamp(24px, 3vw, 36px); }
.review-filters button { font: 400 1rem/1 var(--caps); letter-spacing: .04em; padding: 9px 14px 8px; background: var(--paper-3); border: 1px solid var(--ink); border-radius: 100px; color: var(--ink); }
.review-filters button:hover { border-color: var(--wine); color: var(--wine); }
.review-filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper-3); }
.review-cols {
  --per: 3; --gap: clamp(16px, 2vw, 28px);
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); gap: var(--gap);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
  scrollbar-width: none; padding: 2px 0 4px; align-items: stretch;
}
.review-cols.has-open { align-items: start; }
.review-cols::-webkit-scrollbar { display: none; }
.review-cols:focus-visible { outline: 2px solid var(--wine); outline-offset: 4px; }
@media (max-width: 1100px) { .review-cols { --per: 2; } }
.review { margin: 0; scroll-snap-align: start; display: flex; flex-direction: column; padding: 18px 18px 16px; background: var(--paper); border: 1px solid var(--rule); }
.review blockquote { max-height: calc(1.6em * 6); overflow: hidden; flex: none; }
.review.is-long:not(.is-open) blockquote { -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
.review.is-open blockquote { max-height: none; }
.review figcaption { margin-top: auto; }
.review-more { align-self: flex-start; margin: -4px 0 12px; padding: 0; background: none; border: 0; font: 400 .98rem/1 var(--caps); color: var(--wine); text-decoration: underline; text-underline-offset: .2em; }
.review-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 18px; }
.review-nav button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--ink); background: var(--paper-3); color: var(--ink); display: grid; place-items: center; }
.review-nav button:hover:not(:disabled) { background: var(--ink); color: var(--paper-3); }
.review-nav button:disabled { opacity: .3; cursor: default; }
.review-nav .rv-prev .ic { transform: rotate(180deg); }
.rv-count { margin: 0; min-width: 6ch; text-align: center; font: 400 1rem/1 var(--caps); letter-spacing: .06em; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.review[hidden] { display: none; }
.review-topic { display: inline-block; margin-bottom: 10px; font: 400 .92rem/1 var(--caps); color: var(--wine); }
.review blockquote { margin: 0 0 14px; font: 400 1.04rem/1.6 var(--text); }
.review blockquote p { margin: 0 0 8px; }
.review blockquote p:first-child::before { content: "“"; }
.review blockquote p:last-child::after { content: "”"; }
.review blockquote p:last-child { margin-bottom: 0; }
.review figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font: 400 1rem/1.2 var(--caps); }
.review-name { color: var(--ink); }
.review-when { color: var(--ink-2); }
.review-src { margin-left: auto; padding: 3px 8px 2px; border: 1px solid currentColor; border-radius: 100px; font-size: .86rem; text-decoration: none; }
.review-src-google { color: #2b5f96; } .review-src-airbnb { color: #b8463d; } .review-src-winalist { color: var(--wine); }
.review-src:hover { background: var(--paper-2); }
.ratings { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); list-style: none; margin: clamp(16px, 2vw, 28px) 0 0; padding: 24px 0 0; display: flex; flex-wrap: wrap; gap: 14px clamp(24px, 4vw, 56px); border-top: 1px solid var(--ink); }
.ratings a { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px; font: 400 1rem/1.2 var(--caps); text-decoration: none; }
.ratings strong { font: 400 2.1rem/1 var(--display); font-style: normal; color: var(--wine); }
.ratings a:hover span { text-decoration: underline; }
.ratings strong small { font: 400 .5em/1 var(--caps); color: var(--ink-2); margin-left: 2px; }

/* ---------- Write to me: the letter ---------- */
.write { max-width: none; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.write > * { max-width: 100%; }
@media (min-width: 1440px) { .write { padding-left: calc((100vw - var(--max)) / 2); padding-right: calc((100vw - var(--max)) / 2); } }
.write-intro > p { margin: 0 0 16px; font-size: 1.03rem; line-height: 1.62; max-width: 46ch; }
.write-intro > .write-lead { font-size: clamp(1.22rem, 1.7vw, 1.45rem); line-height: 1.46; }
.always { font: 400 1.15rem/1.4 var(--caps) !important; color: var(--wine); }
.write-sub { margin: 32px 0 10px; font: 400 .98rem/1 var(--caps); letter-spacing: .2em; text-transform: uppercase; }
.direct { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.direct a { display: inline-flex; align-items: center; gap: 12px; padding: 7px 0; font: 400 1.04rem/1.2 var(--caps); text-decoration: none; }
.direct .ic { color: var(--wine); }
.direct a:hover { text-decoration: underline; }

.letter { background: var(--paper-3); border: 1px solid var(--ink); padding: clamp(28px, 3.4vw, 46px); display: grid; gap: 18px; box-shadow: none; }
.letter-greeting { margin: 0; font: 400 1.7rem/1.2 var(--display); }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field > label { font: 400 .95rem/1 var(--caps); letter-spacing: .08em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0;
  font: 400 1.02rem/1.4 var(--text);
  padding: 11px 13px; background: #fbfbf9;
  border: 1px solid var(--ink-3); border-radius: 1px;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7'%3E%3Cpath d='M1 1.2 5 5.2l4-4' fill='none' stroke='%231b1b1a' stroke-width='1.3'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--wine); outline-offset: 0; border-color: var(--wine); }
.field textarea { resize: vertical; }
.field ::placeholder { color: #74716a; }
.field-check { flex-direction: row; align-items: center; gap: 12px; font-size: 1rem; }
.field-check input { width: 18px; height: 18px; accent-color: var(--wine); }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 18px; }
[data-for][hidden] { display: none !important; }
.hint { margin: -4px 0 0; padding: 10px 13px; background: var(--gilt-wash); font-size: .95rem; }
.field-err { margin: 0; color: #b3261e; font-size: .95rem; font-weight: 600; }
.field [aria-invalid="true"] { border-color: #b3261e; box-shadow: inset 0 0 0 1px #b3261e; }
/* after sending: a marker note in Thoma's hand, under the buttons */
.form-note { margin: 0; padding: 10px 13px; background: var(--gilt-wash); font-size: .98rem; line-height: 1.5; max-width: 56ch; }
.ask .form-note { margin-top: 14px; }
[data-needs-email][hidden] { display: none !important; }
/* a quiet line beside the guests: the offer's usual group size, never a changed number */
.form-hint { background: none; padding: 0; color: var(--ink-2); font-size: .95rem; }
.ask .form-hint { margin: 8px 0 0; font-size: .9rem; line-height: 1.4; }
/* the moment of sending: what happens next, and what doesn't */
.form-reassure { margin: 14px 0 0; max-width: 56ch; color: var(--ink-2); font-size: .95rem; line-height: 1.5; }
.letter .actions { margin-top: 4px; }

/* ---------- Footer ---------- */
.foot { background: var(--ink); color: var(--paper); padding: clamp(56px, 7vw, 88px) var(--gutter) 32px; }
.foot-grid, .foot-legal { max-width: var(--max); margin: 0 auto; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.foot p { margin: 0 0 8px; }
.wordmark-foot { gap: 8px; margin-bottom: 20px; }
.wordmark-foot .wordmark-name { font-size: 1.9rem; }
.wordmark-foot .wordmark-place { color: #a9a9a3; }
.foot-social { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.foot-social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(251, 251, 248, .35); border-radius: 50%; }
.foot-social a:hover { border-color: var(--gilt-wash); color: var(--gilt-wash); }
.foot-title { font: 400 .98rem/1 var(--caps); letter-spacing: .22em; text-transform: uppercase; margin: 4px 0 16px; color: var(--gilt-wash); }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot a:hover { color: var(--gilt-wash); }
.foot-legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(251, 251, 248, .22); font-size: .9rem; color: #b8b8b2; }
.foot-legal .evin { font-style: italic; color: var(--paper); }
.foot :focus-visible { outline-color: var(--gilt-wash); }
:lang(fr) .evin-tr { display: none; }

.place-tabs, .dock, .nav-contact { display: none; }

/* ---------- Scroll reveals: photographs uncovered like plates ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* a sheet of paper lies over the photograph and lifts away; the photograph itself is never clipped,
     so the browser's lazy loading and the observer both see it */
  .ph.rv-wait .ph-frame::after { transform: scaleY(1); }
  .ph.rv-wait img { transform: scale(1.08); }
  .ph.rv-wait figcaption { opacity: 0; }
  .ph.rv-in .ph-frame::after { transform: scaleY(0); transition: transform 1.2s var(--ease) var(--d, 0s); }
  .ph.rv-in img { transform: none; transition: transform 1.8s var(--ease) var(--d, 0s); }
  .ph.rv-in figcaption { opacity: 1; transition: opacity .8s ease calc(var(--d, 0s) + .6s); }

  .place-head.rv-wait .place-pin { opacity: 0; transform: scale(.5) rotate(-24deg); }
  .place-head.rv-wait .place-title, .place-head.rv-wait .place-where { opacity: 0; transform: translateY(.35em); }
  .place-head.rv-in .place-pin { transition: opacity .6s ease, transform .9s var(--ease), background-color .4s, color .4s, border-color .4s, box-shadow .4s; }
  .place-head.rv-in .place-title { transition: opacity .9s ease .12s, transform 1.1s var(--ease) .12s; }
  .place-head.rv-in .place-where { transition: opacity .9s ease .3s, transform 1.1s var(--ease) .3s; }

  .rise.rv-wait { opacity: 0; transform: translateY(22px); }
  .rise.rv-in { transition: opacity 1s ease var(--d, 0s), transform 1.2s var(--ease) var(--d, 0s); }

  .inset.rv-wait svg { clip-path: inset(0 100% 0 0); }
  .inset.rv-in svg { clip-path: inset(0 0 0 0); transition: clip-path 1.6s var(--ease); }
  .line.rv-wait .line-leg::after { transform: scaleX(0); }
  .line.rv-in .line-leg::after { transform: none; transition: transform 1.2s var(--ease) .2s; }
  .line.rv-in .line-leg:nth-child(4)::after { transition-delay: .9s; }
}

/* big screens: a wider cartouche, so the longer translations of the intro still fit */
@media (min-width: 1600px) { .cartouche { width: 500px; } }

/* shorter laptop screens: the cartouche tightens so everything stays in view */
@media (min-width: 1001px) and (max-height: 960px) {
  .cartouche { --cp: 24px; padding: var(--cp) var(--cp) 16px; }
  .cartouche-title { font-size: clamp(2rem, 2.7vw, 2.7rem); }
  .cartouche-title::after { margin: 12px 0; }
  .cartouche-title { margin-top: 12px; }
  .cartouche-intro { font-size: .9rem; line-height: 1.5; margin-bottom: 12px; }
  .ask { padding-top: 10px; }
  .ask-line { line-height: 2; font-size: 1rem; }
  .ask-actions { margin-top: 10px; }
  .follow { display: none; }
}

@media (min-width: 1001px) and (max-height: 960px) { .map-note { display: none; } }
/* laptops (up to 900px tall, e.g. 1440×900, 1536×864): the sentence flows on two lines and the panel tightens, so the send buttons stay in view */
@media (min-width: 1001px) and (max-height: 900px) {
  .frontis img { object-position: 50% 58%; }
  .cartouche { top: 18px; bottom: 18px; --cp: 20px; padding-bottom: 12px; }
  .plate { top: 18px; bottom: 18px; }
  .cartouche-title { font-size: clamp(1.7rem, 2.3vw, 2.2rem); margin-top: 8px; }
  .cartouche-title::after { margin: 8px 0; height: 8px; }
  .frontis figcaption { padding-top: 6px; font-size: .78rem; }
  .cartouche-intro { font-size: .86rem; line-height: 1.42; margin-bottom: 6px; }
  .story-link { margin: 0 0 8px; font-size: .98rem; }
  .ask { padding-top: 8px; }
  .ask-line { gap: 8px 6px; font-size: .96rem; }
  .ask-break { display: none; }
  .blank select, .blank input { min-height: 34px; font-size: 1rem; }
  .ask-actions { margin-top: 10px !important; gap: 6px 12px; }
  .ask-actions .btn { padding: .7em 1em .6em; }
  .ask-alt { font-size: .9rem; }
}

/* ---------- Photo viewer ---------- */
.zoomable { cursor: zoom-in; }
.zoomable:focus-visible { outline: 3px solid var(--wine); outline-offset: 3px; }
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: #121110; color: #f3f1ea; display: none; grid-template-rows: 1fr auto auto;
}
.lightbox[open] { display: grid; }
.lightbox::backdrop { background: rgba(0, 0, 0, .7); }
.lb-stage { position: relative; min-height: 0; overflow: hidden; display: grid; place-items: center; padding: 16px 64px 0; touch-action: pan-y; }
.lb-img { max-width: 100%; max-height: calc(100dvh - 170px); width: auto; height: auto; object-fit: contain; display: block; animation: lb-in .35s var(--ease); }
@keyframes lb-in { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }
.lb-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(243, 241, 234, .5); background: rgba(18, 17, 16, .6); color: #f3f1ea; display: grid; place-items: center; }
.lb-btn:hover { background: #f3f1ea; color: #121110; }
.lb-prev { left: 10px; } .lb-prev .ic { transform: rotate(180deg); }
.lb-next { right: 10px; }
.lb-btn[hidden] { display: none; }
.lb-bar { display: flex; align-items: center; gap: 16px; padding: 12px 20px 6px; }
.lb-cap { margin: 0; flex: 1; font: 400 1.05rem/1.3 var(--caps); }
.lb-count { font: 400 .95rem/1 var(--caps); color: #bdb9ad; }
.lb-close { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(243, 241, 234, .5); background: none; color: #f3f1ea; font-size: 1.1rem; }
.lb-close:hover { background: #f3f1ea; color: #121110; }
.lb-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 8px 20px 16px; scrollbar-width: none; justify-content: center; }
.lb-thumbs button { flex: none; width: 64px; height: 48px; padding: 0; border: 2px solid transparent; background: none; opacity: .55; }
.lb-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.lb-thumbs button[aria-current="true"] { border-color: #f6ee9e; opacity: 1; }
.lightbox :focus-visible { outline-color: #f6ee9e; }
@media (max-width: 640px) {
  .lb-stage { padding: 10px 0 0; }
  .lb-btn { width: 40px; height: 40px; }
  .lb-thumbs { justify-content: flex-start; }
}

/* ---------- Chinese ---------- */
:lang(zh) .pin-label, :lang(zh) .m-regionname { letter-spacing: .04em; }
:lang(zh) .cartouche-title, :lang(zh) .place-title, :lang(zh) .section-title { line-height: 1.18; }

/* ---------- Responsive ---------- */
@media (max-width: 1700px) {
  :root { --bar: 106px; }
  .margin { height: auto; grid-template-columns: auto 1fr; grid-template-rows: 60px 46px; grid-template-areas: "brand tools" "nav nav"; row-gap: 0; padding-top: 0; }
  .margin > .wordmark { grid-area: brand; }
  .margin > .margin-tools { grid-area: tools; }
  .margin > .margin-nav { grid-area: nav; align-self: stretch; align-items: center; }
  .margin-tools { justify-self: end; }
  /* every section, one swipe away */
  .margin-nav {
    display: flex; grid-column: 1 / -1; justify-content: flex-start; gap: 6px;
    overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter);
    border-top: 1px solid var(--rule); padding-top: 0; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity;
  }
  .margin-nav::-webkit-scrollbar { display: none; }
  .margin-nav a { flex: none; scroll-snap-align: start; padding: 7px 12px 6px; border: 1px solid var(--rule); border-radius: 100px; font-size: .95rem; letter-spacing: .04em; }
  .margin-nav a:hover, .margin-nav a.is-here { border-color: var(--ink); background: var(--ink); color: var(--paper-3); }
  .margin-nav .nav-contact { display: inline-block; border-color: var(--wine); color: var(--wine); }
  /* phones: the five places live in the map's tabs; the header keeps the rest of the page */
  @media (max-width: 1000px) { .margin-nav .nav-place { display: none; } }
}

@media (max-width: 1000px) {
  /* the place tabs: the map's legend, right above it (the header is the one sticky row on phones) */
  .place-tabs {
    display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; order: 2;
    position: relative; z-index: 2; margin: 14px 14px 0;
    background: var(--paper-3); border: 1.5px solid var(--ink);
  }
  .place-tabs button {
    display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 9px 4px 8px;
    background: none; border: 0; border-left: 1px solid var(--rule); color: var(--ink);
    font: 400 .95rem/1.1 var(--caps); text-align: center; min-height: 58px;
    transition: background-color .25s var(--ease), color .25s var(--ease);
  }
  .place-tabs button:first-child { border-left: 0; }
  .place-tabs .idx-num { width: 22px; height: 22px; font-size: .8rem; }
  .place-tabs button[aria-pressed="true"] { background: var(--wine); color: var(--paper-3); }
  .place-tabs button[aria-pressed="true"] .idx-num { background: var(--paper-3); color: var(--wine); border-color: var(--paper-3); }
  .plate .plate-index { display: none; }
  /* phones: the tabs sit on the map like its legend, so the zoom happens where you tapped; the photographs follow */
  .map { order: 3 !important; margin: 0 14px 14px !important; }
  .plate { order: 4 !important; margin: 0 14px 14px !important; }
  .plate-set.is-entering .plate-main, .plate-set.is-entering .plate-drawing { animation-duration: .45s; }

  /* contact, always one tap away */
  .dock {
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; position: fixed; z-index: 35; left: 12px; right: 12px; bottom: 12px;
    padding: 8px; background: var(--paper-3); border: 1.5px solid var(--ink);
    transform: translateY(calc(100% + 24px)); transition: transform .4s var(--ease);
  }
  .dock.is-visible { transform: none; }
  .dock .btn { padding: .85em .8em .75em; }
  body { padding-bottom: 84px; }
  .atlas { height: auto; min-height: 0; max-height: none; overflow: visible; display: flex; flex-direction: column; }
  .cartouche { position: relative; top: auto; left: auto; width: auto; margin: 14px 14px 0; order: 1; display: flex; flex-direction: column; }
  /* the booking sentence comes straight after the title; the longer introduction follows it */
  .cartouche .ask { order: 1; border-top: 0; padding-top: 2px; }
  .cartouche-intro { order: 2; margin: 22px 0 14px; padding-top: 18px; border-top: 1px solid var(--rule); }
  .cartouche .story-link { order: 3; align-self: flex-start; margin: 0 0 4px; }
  .cartouche .follow { order: 4; }
  .plate { position: relative; top: auto; right: auto; bottom: auto; width: auto; margin: 0 14px 14px; order: 3; }
  .plate-view { min-height: 0; }
  .plate-set { flex: none; }
  .plate-main { height: auto; aspect-ratio: 4 / 3; flex: none; }
  .plate-drawing { height: auto; aspect-ratio: 4 / 3; }
  .map { position: relative; inset: auto; order: 2; aspect-ratio: 1 / 1.12; margin: 14px; }
  .m-far, .m-rose-set, .m-wide-only { display: none; }
  .appellation { grid-template-columns: 1fr; }
  .france { width: 170px; }
  .m-narrow-only { display: inline; }
  .map-stage { clip-path: inset(1px); }
  .map::after { inset: 0; box-shadow: none; }
  .map-note { left: 16px; bottom: 14px; }
  .map-note .rose { width: 34px; height: 34px; }
  .map-refs { display: none; }
  .m-label-sm, .m-note, .m-village-names text { font-size: 28px; }
  .pin-label { font-size: 32px; }
  .pin-num { font-size: 26px; }
  .m-street-name { font-size: 20px; }
  .m-street-name-lg { font-size: 24px; }
  .m-water { font-size: 34px; }
  .m-regionname { font-size: 30px; }

  .place-body, .me { grid-template-columns: 1fr; }
  .place-body > *, .me > * { grid-column: 1 / -1 !important; grid-row: auto !important; margin-top: 0 !important; }
  .place-body-house, .place-body-vines, .place-body-flat { grid-template-columns: 1fr 1fr; }
  .place-body-flat .ph-tall img { aspect-ratio: 4 / 3; }
  .place-body-vines .ph-house { grid-column: 1 / 2 !important; }
  .place-body-house .cellar { grid-column: 1 / -1 !important; grid-template-columns: 1fr; padding: 18px 16px 22px; margin: 0 calc(var(--gutter) * -1) !important; }
  .cellar > * { grid-column: 1 / -1 !important; grid-row: auto !important; }
  .cellar-strip .ph { flex: 0 0 46%; }
  .strip-nav { display: none; }
  .place-body-vines .ph-cellar { grid-column: 2 / 3 !important; }
  .place-body-vines .ph-me-vines { display: none; }
  .place-body-station .inset-station { order: 2; }
  .me-text { margin-top: 28px; }
  .write { grid-template-columns: 1fr; }
  .abroad-top, .abroad-body, .abroad-for, .stay-head, .stay-homes { grid-template-columns: 1fr; }
  .abroad-photo, .abroad-for .abroad-card { grid-column: 1; grid-row: auto; }
  .abroad-photo img { aspect-ratio: 4 / 5; }
  .place-body-vines .ph-cellar { grid-column: 1 / -1 !important; }
  .place-body-vines .ph-cellar img { aspect-ratio: 16 / 9; object-fit: cover; }
  .partners-head { grid-template-columns: 1fr; }
  .key-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
  .praise { margin: 0 14px 14px; border-top: 1.5px solid var(--ink); grid-template-columns: 1fr; }
  .praise-quotes { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 -20px; padding: 0 20px 6px; scrollbar-width: none; }
  .praise-quotes figure { flex: 0 0 82%; scroll-snap-align: start; }
  .praise-more { justify-self: start; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }

  .line { grid-template-columns: 1fr; gap: 0; padding: 8px 0; }
  .line > li:not(.line-leg) { flex-direction: row; align-items: center; }
  .line-leg { justify-content: flex-start; padding: 16px 0 16px 30px; }
  .line-leg::after { left: 8px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; transform-origin: center top; }
  .line-leg:nth-child(4)::after { background: linear-gradient(180deg, var(--ink) 55%, transparent 0) 0 0 / 100% 14px repeat-y; }
  .line.rv-wait .line-leg::after { transform: scaleY(0); }

}

@media (max-width: 640px) {
  :root { --bar: 104px; }
  .margin { grid-template-rows: 58px 46px; }
  .blank input[type="date"] { min-width: 0; width: 9.2em; }
  .blank-num input { width: 2.8em; }
  .ask-line { gap: 12px 8px; }
  .ask-break-m { display: block; }
  .margin { column-gap: 10px; padding: 0 12px; }
  .margin-nav { margin: 0 -12px; padding: 0 12px; }
  .wordmark-name { font-size: 1.08rem; white-space: nowrap; }
  .wordmark-place { display: none; }
  .margin-write { display: none; }
  .margin-tools { gap: 6px; }
  .social { width: 32px; height: 32px; }
  .lang select { padding: 9px 22px 8px 28px; font-size: .92rem; background-position: right 8px center; }
  .lang .ic { left: 8px; width: 14px; height: 14px; }
  .cartouche { --cp: 20px; padding: var(--cp) var(--cp) 18px; }
  .ask-line { font-size: 1.02rem; }
  .ask-actions .btn { width: 100%; letter-spacing: .1em; padding-left: .8em; padding-right: .8em; }
  .follow > span:first-child { flex-basis: 100%; }
  .letter .actions .btn { flex: 1 1 100%; }
  .foot-grid { grid-template-columns: 1fr; }
  .back { margin: 0; border-left: 0; border-right: 0; background: none; }
  .reviews { padding-left: 12px; padding-right: 12px; }
  .review-frame { padding: 26px 20px; }
  .review-filters { flex-wrap: nowrap; overflow-x: auto; margin-left: -20px; margin-right: -20px; padding: 0 20px 4px; scrollbar-width: none; }
  .review-filters button { flex: none; }
  .review-cols { --per: 1; grid-auto-columns: 86%; gap: 12px; margin: 0 -20px; padding: 2px 20px 4px; scroll-padding-inline: 20px; }
  .reviews-head .section-title { font-size: 2rem; }
  .reviews { padding-top: 40px; padding-bottom: 40px; }
  .reviews-head { margin-bottom: 18px; }
  .review-filters { margin-bottom: 16px; }
  .ratings { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; padding-top: 18px; }
  .ratings strong { font-size: 1.7rem; }
  .ratings span { font-size: .9rem; line-height: 1.25; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .m-route-reveal { stroke-dashoffset: 0; }
  .js .m-bus { opacity: 1; }
}
