/* Le Petitjean concept. Colours from their own shop: the navy façade, the pale blue door frames,
   the cream plates and paper, the oak counter (always as a photo of their counter, never drawn). */
:root {
  --navy: #2f3a52; --navy-2: #3d4966; --blue: #a8c0cc; --blue-soft: #e4ecef;
  --cream: #f6f1e7; --paper: #fffdf8; --oak: #c79a5b; --ink: #1f2533; --muted: #5d6470;
  --line: #e2dccf; --ok: #3f7a5a; --shut: #a2483f;
  --serif: "Libre Caslon Text", Georgia, serif; --sans: "Instrument Sans", system-ui, sans-serif; --hand: "Kalam", cursive;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.6 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: var(--paper); padding: 8px 12px; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px;
  background: var(--navy); color: var(--paper); border: 1.5px solid var(--navy); border-radius: 2px; text-decoration: none;
  font: 600 15px/1 var(--sans); letter-spacing: .02em; cursor: pointer; transition: background .2s, color .2s; }
.btn:hover { background: var(--navy-2); }
.btn-line { background: transparent; color: var(--navy); }
.btn-line:hover { background: var(--navy); color: var(--paper); }
.btn:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* header: the façade's navy band with the white spaced capitals */
.top { position: sticky; top: 0; z-index: 20; background: var(--navy); color: var(--paper); border-bottom: 3px solid var(--blue); }
.top-in { display: flex; align-items: center; gap: 22px; min-height: 64px; }
.mark { font: 400 21px/1 var(--serif); letter-spacing: .24em; text-decoration: none; white-space: nowrap; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 15px; opacity: .9; }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.lang { display: inline-flex; gap: 2px; padding: 3px; background: transparent; border: 1px solid rgba(255,255,255,.35); border-radius: 2px; cursor: pointer; }
.lang span { font: 600 12px/1 var(--sans); color: var(--paper); padding: 5px 7px; opacity: .65; }
.lang span.on { background: var(--paper); color: var(--navy); opacity: 1; }
.btn-top { background: var(--paper); color: var(--navy); border-color: var(--paper); min-height: 40px; padding: 0 16px; }
.btn-top:hover { background: var(--blue-soft); }

/* hero */
.hero { display: grid; grid-template-columns: 1.35fr 1fr; background: var(--navy); color: var(--paper); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 460px; }
.hero-text { padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.hero-text .lead { font-size: 18px; color: #dfe4ec; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 6px 0 22px; }
.hero .btn { background: var(--paper); color: var(--navy); border-color: var(--paper); }
.hero .btn:hover { background: var(--blue-soft); }
.hero .btn-line { background: transparent; color: var(--paper); border-color: rgba(255,255,255,.55); }
.hero .btn-line:hover { background: rgba(255,255,255,.1); }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; letter-spacing: .02em; margin-bottom: 18px; }
.status .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--blue); }
.status.open .dot { background: #7fd1a1; box-shadow: 0 0 0 4px rgba(127,209,161,.2); }
.status.shut .dot { background: #e48a7f; }
.g-badge, .g-line { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 14px; }
.g-badge { align-self: flex-start; background: var(--paper); color: var(--ink); padding: 8px 14px; border-radius: 2px; }
.g-badge b, .g-line b { font-size: 16px; }
.stars { --f: 92%; display: inline-block; width: 80px; height: 15px; background: linear-gradient(90deg, #fbbc05 var(--f), #d8d3c8 var(--f));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 15'%3E%3Cg fill='%23000'%3E%3Cpath id='s' d='M7.5 0l2.2 4.8 5.3.6-3.9 3.6 1.1 5.2-4.7-2.7-4.7 2.7 1.1-5.2L0 5.4l5.3-.6z'/%3E%3Cuse href='%23s' x='16'/%3E%3Cuse href='%23s' x='32'/%3E%3Cuse href='%23s' x='48'/%3E%3Cuse href='%23s' x='64'/%3E%3C/g%3E%3C/svg%3E") no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 15'%3E%3Cg fill='%23000'%3E%3Cpath id='s' d='M7.5 0l2.2 4.8 5.3.6-3.9 3.6 1.1 5.2-4.7-2.7-4.7 2.7 1.1-5.2L0 5.4l5.3-.6z'/%3E%3Cuse href='%23s' x='16'/%3E%3Cuse href='%23s' x='32'/%3E%3Cuse href='%23s' x='48'/%3E%3Cuse href='%23s' x='64'/%3E%3C/g%3E%3C/svg%3E") no-repeat; }
.stars.r46 { --f: 92%; }

/* vitrine: their glass counter, handwritten cards on wooden blocks, the oak top (photo of their own counter) */
section { padding: 88px 0; border-top: 1px solid var(--line); }
.hero { padding: 0; border: 0; }
.v-head { max-width: 640px; margin-bottom: 26px; }
.v-head p { color: var(--muted); }
.v-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.v-tabs button { font: 600 15px/1 var(--sans); padding: 11px 16px; background: transparent; border: 1.5px solid var(--navy); color: var(--navy); border-radius: 2px; cursor: pointer; }
.v-tabs button[aria-selected="true"] { background: var(--navy); color: var(--paper); }
.counter { position: relative; }
.glass { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 28px; align-items: end; padding: 26px 26px 0;
  background: linear-gradient(180deg, #eef3f5 0%, #e3eaed 70%, #d9e2e6 100%); border-top: 6px solid #cfdbe1; position: relative; }
.glass::before { content: ""; position: absolute; inset: 0 0 auto; height: 40%; background: linear-gradient(100deg, rgba(255,255,255,.55), rgba(255,255,255,0) 45%); pointer-events: none; }
.v-photo { margin: 0 0 22px; align-self: start; }
.v-photo img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; border-radius: 2px; }
.shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 26px 18px; padding-bottom: 6px; position: relative; z-index: 1; }
.card { position: relative; display: flex; flex-direction: column; align-items: center; background: none; border: 0; padding: 0 0 12px; cursor: pointer; color: var(--ink); }
.card .lbl { width: 100%; min-height: 84px; background: #fff; border: 1px solid #ddd6c8; padding: 10px 8px 8px; text-align: center;
  font: 400 19px/1.15 var(--hand); box-shadow: 0 1px 2px rgba(0,0,0,.08); transition: transform .2s; }
.card:nth-child(odd) .lbl { transform: rotate(-1.2deg); }
.card:nth-child(even) .lbl { transform: rotate(.9deg); }
.card .lbl i { display: block; font-style: normal; font-size: 18px; margin-top: 4px; }
.card .blk { width: 72%; height: 14px; background: url(/assets/img/oak.jpg) 30% 50% / 600px auto; border-radius: 1px; box-shadow: 0 2px 2px rgba(0,0,0,.18); }
.card:hover .lbl { transform: rotate(0) translateY(-3px); }
.card[aria-pressed="true"] .lbl { outline: 2.5px solid var(--navy); outline-offset: 3px; }
.card .n { position: absolute; top: -10px; right: -6px; min-width: 26px; height: 26px; border-radius: 13px; background: var(--navy); color: #fff;
  font: 700 13px/26px var(--sans); text-align: center; padding: 0 6px; }
.oak { height: 46px; background: url(/assets/img/oak.jpg) center / cover; box-shadow: inset 0 6px 8px -6px rgba(0,0,0,.35); }
.detail { display: grid; grid-template-columns: 1fr auto; gap: 8px 18px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-top: 0; padding: 16px 20px; }
.detail h3 { margin: 0; font: 400 22px/1.2 var(--serif); }
.detail p { margin: 2px 0 0; color: var(--muted); font-size: 15px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--navy); border-radius: 2px; }
.qty button { width: 44px; height: 44px; border: 0; background: transparent; font: 600 22px/1 var(--sans); color: var(--navy); cursor: pointer; }
.qty output { min-width: 30px; text-align: center; font-weight: 700; }
.v-note { font-size: 13px; color: var(--muted); margin-top: 12px; }
.bag { margin-top: 18px; }
.bag-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: var(--navy); color: var(--paper); padding: 14px 18px; width: 100%; }
.bag-in p { margin: 0; }
.bag .btn { background: var(--paper); color: var(--navy); border-color: var(--paper); }
.bag-sum { opacity: .8; }

/* photos */
.photos { padding: 0 0 88px; border-top: 0; }
.ph-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 14px; }
.ph-grid figure { margin: 0; }
.ph-grid img { width: 100%; height: 300px; object-fit: cover; border-radius: 2px; }

/* story */
.story { background: var(--paper); }
.story-in { display: grid; grid-template-columns: .8fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.story-photo { margin: 0; }
.story-photo img { width: 100%; max-height: 640px; object-fit: cover; border-radius: 2px; }
.story-lead { font: italic 400 21px/1.45 var(--serif); color: var(--navy); }
.steps { list-style: none; padding: 0; margin: 24px 0; border-left: 2px solid var(--blue); }
.steps li { padding: 0 0 18px 22px; position: relative; }
.steps li::before { content: ""; position: absolute; left: -7px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2px solid var(--navy); }
.steps li:last-child::before { background: var(--navy); }
.steps b { display: block; font-family: var(--serif); font-weight: 700; color: var(--navy); }
.steps span { color: var(--muted); }

/* reviews */
.reviews { background: var(--navy); color: var(--paper); border: 0; }
.rv-in { max-width: 760px; text-align: center; }
.rv-nav { display: flex; justify-content: center; align-items: center; gap: 14px; margin-bottom: 18px; font-size: 14px; opacity: .85; }
.rv-nav button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: transparent; color: var(--paper); font-size: 20px; cursor: pointer; }
.reviews blockquote { margin: 0 0 12px; font: italic 400 clamp(1.3rem, 2.6vw, 1.75rem)/1.45 var(--serif); }
.rv-who { color: var(--blue); font-size: 15px; }
.g-line { color: var(--paper); opacity: .9; margin-top: 8px; }

/* visit */
.visit-in { display: grid; grid-template-columns: 1fr 1.25fr .8fr; gap: 28px; align-items: center; }
.addr b { display: block; font: 400 30px/1.15 var(--serif); }
.addr span { color: var(--muted); }
.btn-big { width: 100%; min-height: 54px; margin-bottom: 10px; font-size: 16px; }
.hours { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.hours .status { margin-bottom: 6px; color: var(--navy); }
.hours p:last-child { color: var(--muted); font-size: 15px; }
.map img { width: 100%; border: 1px solid var(--line); border-top: 4px solid var(--navy); }
.visit-photo { margin: 0; }
.visit-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 2px; }
.visit-photo figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }

/* footer */
.foot { background: var(--ink); color: #c9ced8; padding: 56px 0 90px; font-size: 15px; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
.foot .mark { color: var(--paper); font-size: 20px; margin-bottom: 10px; }
.foot b { color: var(--paper); }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--paper); text-decoration: underline; }
.foot-small { margin-top: 30px; font-size: 12px; opacity: .7; }

.concept { position: fixed; left: 12px; bottom: 12px; z-index: 50; background: rgba(31,37,51,.92); color: #fff; font: 500 12px/1 var(--sans);
  padding: 9px 12px; border-radius: 99px; text-decoration: none; }

/* phones */
@media (max-width: 900px) {
  .nav { display: none; }
  .lang { margin-left: auto; }
  .hero { grid-template-columns: 1fr; }
  .hero-photo img { min-height: 0; aspect-ratio: 16 / 10; }
  .glass { grid-template-columns: 1fr; padding: 18px 14px 0; gap: 4px; }
  .v-photo { display: none; }
  .shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
  .ph-grid { grid-template-columns: 1fr 1fr; }
  .ph-grid img { height: 200px; }
  .story-in, .visit-in { grid-template-columns: 1fr; }
  .visit-photo { display: none; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  section { padding: 64px 0; }
  .photos { padding-bottom: 64px; }
}
@media (max-width: 420px) {
  .wrap { width: calc(100% - 32px); }
  .top-in { gap: 10px; }
  .mark { font-size: 17px; letter-spacing: .18em; }
  .btn-top { padding: 0 12px; font-size: 14px; }
  .detail { grid-template-columns: 1fr; }
}
.nf { padding: 80px 0 120px; max-width: 640px; }

/* round 0 self-review fixes */
.detail[hidden], .bag[hidden] { display: none; }
.glass { align-items: center; }
.shelf { align-self: center; padding-bottom: 26px; }
@media (max-width: 900px) {
  .v-tabs { flex-wrap: nowrap; }
  .v-tabs button { padding: 11px 12px; font-size: 14px; white-space: nowrap; }
  .story-photo img { aspect-ratio: 4 / 3; max-height: 340px; object-position: 50% 40%; }
  .shelf { padding-bottom: 10px; }
}
@media (max-width: 420px) {
  .foot-in > div:first-child { grid-column: 1 / -1; }
}
.v-photo { position: relative; z-index: 1; }
.bag-in { width: min(1160px, 100% - 40px); }
@media (max-width: 420px) { .bag-in { width: calc(100% - 32px); } }
