/* Maison d'Orti · version in the style of the current lerelaisdorti.be
   Cream grain paper, Orti green titles in a light serif, grey Inter body, sand eyebrows,
   pill buttons with the Orti swoosh, centred blocks, round photos, hairlines.
   Original title font: ContraltoBig Light (paid, licensed to the Relais site). Free stand-in here: Cormorant Garamond 300.
   Colours are the site's own, with darker text tones where the originals fail 4.5:1 on cream. */

:root {
  --cream: #fffef3;
  --cream-2: #f6f2e2;
  --green: #4e9155;        /* titles (large), from the logo */
  --green-d: #3d7544;      /* small green text, buttons: 5.4:1 */
  --sand: #cec19f;         /* lines and ornaments only */
  --sand-d: #7a6b41;       /* eyebrows: 5.2:1 */
  --grey: #6a6a64;         /* body: 5.4:1 (original #8f8f8f is 3.2:1) */
  --white: #ffffff;
  --ink: #26262d;

  --f-title: "Cormorant Garamond", "Contralto-light", Georgia, serif;
  --f-body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.215, .61, .355, 1);
  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --pad: clamp(4.5rem, 9vw, 8rem);

  /* aliases used by the booking panel (reserve.css) */
  --c-sapin: var(--green-d);
  --c-brume: var(--cream);
  --c-blanc: #ffffff;
  --c-brume-2: var(--cream-2);
  --c-feuille-d: var(--green-d);
  --c-ocre: var(--green);
  --c-ink: var(--ink);
  --c-cream: var(--cream);
  --line: rgba(122, 107, 65, .28);
  --text-soft: var(--grey);
  --accent-text: var(--sand-d);
  --fs-label: .75rem;
  --panel-w: min(540px, 100vw);
  --radius: 10px;
  --f-display: var(--f-title);
  --tr-eyebrow: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; color: var(--grey); background: var(--cream) url("../img/grain-background.png") repeat top center / 864px auto;
  font: 300 16px/28px var(--f-body); letter-spacing: 1px; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; letter-spacing: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--green-d); outline-offset: 3px; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 300; background: var(--green-d); color: var(--cream); padding: .75rem 1rem; }
.skip:focus { top: 1rem; }
body.is-locked { overflow: hidden; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- type ---------- */
.eyebrow { display: block; font: 300 14px/24px var(--f-body); letter-spacing: 2px; text-transform: uppercase; color: var(--sand-d); margin-bottom: .5rem; }
.title { font-family: var(--f-title); font-weight: 300; color: var(--green); font-size: clamp(30px, 3.4vw, 46px); line-height: 1.25; letter-spacing: .5px; text-wrap: balance; }
.title--sm { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.3; }
.text p + p { margin-top: 1rem; }
.center { text-align: center; }
.center .text { margin-inline: auto; }
.hair { border: 0; border-top: 1px solid var(--sand); margin: 0; }

/* ---------- pill button with the Orti swoosh ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 30px;
  border: 2px solid var(--green-d); border-radius: 50px; background: transparent; color: var(--green-d);
  font: 400 16px/1 var(--f-body); letter-spacing: 1px; text-decoration: none; cursor: pointer;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.btn::before, .btn::after { content: ""; position: absolute; top: 50%; width: 50px; height: 32px; margin-top: -16px; background: url("../img/shape-orti.png") no-repeat center / contain; pointer-events: none; transition: transform .5s var(--ease); }
.btn::before { left: -26px; transform: scaleX(-1); }
.btn::after { right: -26px; }
.btn:hover { background: var(--green-d); color: var(--cream); }
.btn:hover::before { transform: scaleX(-1) translateX(6px); }
.btn:hover::after { transform: translateX(6px); }
.btn--plain::before, .btn--plain::after { display: none; }
.btn--light { border-color: var(--cream); color: var(--cream); }
.btn--light::before, .btn--light::after { background-image: url("../img/shape-orti--white.png"); }
.btn--light:hover { background: var(--cream); color: var(--green-d); }
/* panel buttons (reserve.css) */
.btn--dark { background: var(--green-d); color: var(--cream); border-color: var(--green-d); }
.btn--dark:hover { background: var(--green); border-color: var(--green); }
.btn--line { border-color: var(--green-d); }
.rz .btn::before, .rz .btn::after { display: none; }
.rz .btn { min-height: 44px; padding: 0 22px; font-size: 15px; }
.rz__title, .rz__q { font-family: var(--f-title); font-weight: 400; color: var(--green); letter-spacing: .3px; }
.rz__title { font-size: 1.7rem; }
.rz__q { font-size: 1.45rem; }
.rz__tabs button, .rz__chip { border-radius: 50px; }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 80; background: rgba(255, 254, 243, .92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: box-shadow .3s; }
.hdr.is-scrolled { box-shadow: 0 1px 0 var(--sand); }
.hdr__in { max-width: var(--wrap); margin: 0 auto; padding: 22px var(--gutter); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; }
.social { display: flex; gap: 8px; }
.social span { width: 22px; height: 22px; border-radius: 4px; background: var(--green); display: grid; place-items: center; }
.social svg { width: 13px; height: 13px; fill: var(--cream); }
.mark { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--green); line-height: 1; }
.mark b { font-family: var(--f-title); font-weight: 400; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: 3px; text-transform: uppercase; white-space: nowrap; }
.mark small { font: 400 9px/1 var(--f-body); letter-spacing: 2.5px; text-transform: uppercase; margin-top: 6px; }
.hdr__end { justify-self: end; display: flex; align-items: center; gap: 1.25rem; }
.lang { display: flex; gap: .25rem; font-size: 14px; }
.lang button { border: 0; background: none; padding: .4rem; cursor: pointer; color: var(--grey); }
.lang button[aria-pressed="true"] { color: var(--green-d); text-decoration: underline; text-underline-offset: 4px; }
.menu-btn { display: inline-flex; align-items: center; gap: .6rem; border: 0; background: none; cursor: pointer; color: var(--green-d); font-size: 15px; padding: .5rem 0; }
.menu-btn i { width: 22px; height: 9px; position: relative; display: block; }
.menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-btn i::before { top: 0; } .menu-btn i::after { top: 8px; }
.menu-btn[aria-expanded="true"] i::before { top: 4px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] i::after { top: 4px; transform: rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 70; background: var(--cream) url("../img/grain-background.png") repeat top center / 864px auto; display: grid; grid-template-columns: 1fr 1fr; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .5s; }
.menu.is-open { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.menu__nav { padding: 120px var(--gutter) 3rem calc(var(--gutter) + 4vw); display: flex; flex-direction: column; justify-content: center; gap: .3rem; }
.menu__nav img { width: 120px; margin-bottom: 1.5rem; }
.menu__nav span { font-family: var(--f-title); font-weight: 300; color: var(--green); font-size: clamp(28px, 3.2vw, 42px); line-height: 1.3; cursor: default; }
.menu__info { margin-top: 2rem; font-size: 14px; color: var(--grey); }
.menu__photo { position: relative; }
.menu__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- hero (hero--generic: centred text, then the image band) ---------- */
.hero { padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 4vw, 3.5rem); }
.hero .title { font-size: clamp(34px, 4.2vw, 56px); margin: .25rem 0 1.25rem; }
.hero .text { max-width: 760px; }
.hero .btn { margin-top: 2rem; }
.proof { margin-top: 1.75rem; font-size: 14px; line-height: 24px; color: var(--grey); }
.proof strong { font-weight: 500; color: var(--green-d); }
.band { position: relative; height: clamp(360px, 62vw, 760px); overflow: hidden; }
.band img, .band video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band .poster { z-index: 1; transition: opacity 1s var(--ease); }

/* ---------- two columns ---------- */
.twocol { padding: var(--pad) 0; }
.twocol__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.twocol--flip .twocol__media { order: 2; }
.twocol__media { position: relative; }
.twocol__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.twocol__media .small { position: absolute; width: 42%; aspect-ratio: 1; object-fit: cover; right: -8%; bottom: -8%; border: 8px solid var(--cream); }
.twocol--flip .twocol__media .small { right: auto; left: -8%; }
.twocol__body .title { margin-bottom: 1.5rem; }
.twocol__body .btn { margin-top: 2rem; margin-left: 26px; }
.ticks { margin-top: 1.5rem; }
.ticks li { padding: .55rem 0 .55rem 1.5rem; border-bottom: 1px solid var(--sand); position: relative; }
.ticks li::before { content: "~"; position: absolute; left: 0; color: var(--green); }

/* ---------- equipment list (restaurant--menu pattern) ---------- */
.equip { padding: var(--pad) 0; border-top: 1px solid var(--sand); position: relative; }
.equip__plate { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem; border: 6px solid var(--cream-2); box-shadow: 0 0 0 1px var(--sand); }
.equip__orn { position: absolute; left: max(2rem, 12vw); top: 5rem; width: 90px; opacity: .8; }
.equip__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem var(--gutter); margin-top: 3rem; }
.equip h3 { font: 400 14px/24px var(--f-body); letter-spacing: 2px; text-transform: uppercase; color: var(--green-d); margin-bottom: 1rem; }
.equip dl { margin: 0; }
.equip dt { font-family: var(--f-title); font-weight: 500; font-size: 21px; line-height: 1.3; color: var(--sand-d); }
.equip dd { margin: .15rem 0 1rem; }

/* ---------- banner formules (round photos) ---------- */
.formules { padding: var(--pad) 0; border-top: 1px solid var(--sand); }
.formules__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem var(--gutter); margin-top: 3.5rem; }
.formule { text-align: center; display: flex; flex-direction: column; align-items: center; }
.formule img { width: 130px; height: 130px; border-radius: 50%; object-fit: cover; margin-bottom: 1.5rem; }
.formule .title--sm { margin-bottom: 1rem; }
.formule p { max-width: 22em; }
.formule .btn { margin-top: 1.75rem; }

/* ---------- banner quote (two photos + statement) ---------- */
.quote { padding: var(--pad) 0; border-top: 1px solid var(--sand); }
.quote__in { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 1.25rem; align-items: center; }
.quote__in img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; }
.quote__txt { padding-left: clamp(1rem, 3vw, 3rem); }
.quote__txt p { font-family: var(--f-title); font-weight: 300; color: var(--green); font-size: clamp(24px, 2.2vw, 30px); line-height: 1.35; }
.quote__txt span { display: block; margin-top: 1rem; color: var(--sand-d); }

/* ---------- FAQ ---------- */
.faq { padding: var(--pad) 0; border-top: 1px solid var(--sand); }
.faq__list { max-width: 820px; margin: 3rem auto 0; border-top: 1px solid var(--sand); }
.faq details { border-bottom: 1px solid var(--sand); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; font-family: var(--f-title); font-weight: 400; font-size: 22px; line-height: 1.3; color: var(--green); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-body); font-weight: 300; font-size: 22px; color: var(--green-d); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 1.25rem; max-width: 42em; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--sand); padding: var(--pad) 0 2rem; }
.foot__in { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 3rem var(--gutter); }
.foot__brand { display: flex; flex-direction: column; align-items: center; }
.foot__brand img { width: 110px; margin-bottom: .5rem; }
.foot h2 { font-family: var(--f-title); font-weight: 400; color: var(--green); font-size: 26px; margin-bottom: 1rem; }
.foot li { position: relative; padding-left: 1.4rem; margin-bottom: .4rem; font-size: 14px; line-height: 22px; }
.foot li::before { content: "~"; position: absolute; left: 0; color: var(--green); }
.foot li b { font-weight: 500; color: var(--green-d); }
.foot .pre-item { cursor: default; }
.news { margin-top: 2rem; display: flex; flex-direction: column; gap: .75rem; max-width: 330px; }
.news input { min-height: 46px; border: 1px solid var(--sand); border-radius: 50px; background: transparent; padding: 0 1.25rem; color: var(--ink); }
.news input:focus { outline: none; border-color: var(--green-d); }
.news .btn { width: 100%; }
.news__msg { min-height: 1.4em; font-size: 14px; }
.foot__bottom { margin-top: 4rem; border-top: 1px solid var(--sand); padding-top: 1.25rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; font-size: 12px; }

/* ---------- mobile bar ---------- */
.mbar { display: none; }

/* ---------- reveal (their .animate fade) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (max-width: 991px) {
  .twocol__in, .quote__in { grid-template-columns: 1fr; }
  .twocol--flip .twocol__media { order: 0; }
  .twocol__media .small { right: 0; bottom: -10%; width: 38%; }
  .twocol--flip .twocol__media .small { left: 0; }
  .twocol__body { margin-top: 2rem; }
  .equip__grid, .formules__grid { grid-template-columns: 1fr 1fr; }
  .foot__in { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
  .quote__txt { padding-left: 0; }
  .menu { grid-template-columns: 1fr; }
  .menu__photo { display: none; }
}
@media (max-width: 575px) {
  .hdr__in { grid-template-columns: auto 1fr; padding: 16px var(--gutter); }
  .social { display: none; }
  .mark { align-items: flex-start; }
  .mark b { font-size: 20px; letter-spacing: 2px; }
  .lang { font-size: 13px; }
  .equip__grid, .formules__grid, .foot__in { grid-template-columns: 1fr; }
  .equip__orn { display: none; }
  .btn { padding: 0 24px; font-size: 15px; }
  .mbar { display: grid; grid-template-columns: 1fr 1.4fr; gap: .5rem; position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom, 0px)); background: rgba(255, 254, 243, .95); border-top: 1px solid var(--sand); }
  .mbar a, .mbar button { display: flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 50px; border: 2px solid var(--green-d); background: none; color: var(--green-d); text-decoration: none; font-size: 15px; cursor: pointer; }
  .mbar button { background: var(--green-d); color: var(--cream); }
  .foot { padding-bottom: 6rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 575px) { .mark small { font-size: 7.5px; letter-spacing: 1.5px; white-space: nowrap; } }
