/* Isolated Ombrelle art direction. Motion comes from the source scenes
   and the existing finite fallback; no second scroll or animation engine. */
/* Local Cyrillic and Latin font subsets; no external font request. */
@font-face {
  font-family: "Forum Preview";
  src: url("../fonts/ombrelle/forum-cyrillic-400-normal.d3440e242c8a.woff2") format("woff2");
  font-style: normal; font-weight: 400; font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: "Forum Preview";
  src: url("../fonts/ombrelle/forum-latin-400-normal.21eb0ef1c5f4.woff2") format("woff2");
  font-style: normal; font-weight: 400; font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Onest Preview";
  src: url("../fonts/ombrelle/onest-cyrillic-wght-normal.68e5e01d6265.woff2") format("woff2");
  font-style: normal; font-weight: 100 900; font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: "Onest Preview";
  src: url("../fonts/ombrelle/onest-latin-wght-normal.052df7453325.woff2") format("woff2");
  font-style: normal; font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  --preview-forest: #1A4D2E;
  --preview-green: #4F6F52;
  --preview-sand: #E8DFCA;
  --preview-cream: #F5EFE6;
  --preview-terracotta: #A9472A;
  --preview-white: #FFFFFF;
  --preview-font-display: "Forum Preview", Georgia, serif;
  --font-1: "Onest Preview", Arial, sans-serif;
  --color-1: var(--preview-cream);
  --color-2: var(--preview-forest);
  --color-3: var(--preview-sand);
  --color-4: var(--preview-forest);
  --color-5: var(--preview-green);
  --color-6: var(--preview-green);
  --color-7: var(--preview-forest);
  --color-8: var(--preview-terracotta);
}

/* Keep Ombrelle's type hierarchy while fitting the new Cyrillic metrics. */
h1, h2, h3, .m-text-2, .m-text-6, #opening .op__mark, #footer .ft__mark {
  font-family: var(--preview-font-display);
  font-weight: 400;
  letter-spacing: -.012em;
}
h1, h2, .m-text-2 { line-height: 1.03; }
h3, .m-text-6 { line-height: 1.12; }
.m-text, .m-text-4, .m-text-5 { line-height: 1.55; }
.m-text-3, .m-link, .m-link-2, .m-btn, .m-btn-2 { letter-spacing: .025em; }

/* A warm photograph with Ombrelle's own light, shade and scroll scale. */
#opening .op__photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, color-mix(in srgb, var(--preview-forest) 66%, transparent), color-mix(in srgb, var(--preview-forest) 23%, transparent) 58%, transparent 88%),
              linear-gradient(0deg, color-mix(in srgb, var(--preview-forest) 45%, transparent), transparent 58%);
  pointer-events: none;
}
#opening .op__light {
  z-index: 2;
  background: radial-gradient(110% 100% at 90% 0%, var(--color-8), transparent 80%);
  mix-blend-mode: soft-light;
}
#opening .op__shade { display: block; z-index: 2; }
#opening .hero-offer, #opening .op__cta { z-index: 3; }

/* An editorial rhythm lets the photographs lead. */
#about, #bar, #footer { color: var(--color-1); }
#about .ab__field, #nav .nav__menu { background: var(--color-2); color: var(--color-1); }
#nav .nav__menu .brand-symbol { color: var(--color-1); }
#bar .br__lede, #bar .br__group > h3, #bar .br__item .m-text-4,
#footer .ft__col > .m-text-3, #footer .ft__legal { color: var(--color-1); }
#main > #carte, #main > #questions { background: var(--color-3); }
#contact .ct__done { background: var(--color-3); }

#terrace .te__grid { padding-bottom: clamp(32px, 4vw, 58px); }
#terrace .real-rooms { gap: clamp(12px, 1.6vw, 24px); }
#terrace .real-rooms .photo { aspect-ratio: 4 / 5; }
#terrace .real-rooms figcaption {
  border-top: 1px solid color-mix(in srgb, var(--color-2) 28%, transparent);
  margin-top: 16px;
  padding: 18px 0 0;
}
#terrace .real-rooms figcaption a { margin-top: 10px; }

#moments .mo__grid { gap: clamp(8px, 1vw, 14px); }
#market .mk__spread { gap: clamp(8px, 1vw, 14px); }
#bar .br__photos { gap: clamp(8px, 1vw, 14px); }

/* Replace the slit opening on photographs with Ombrelle's existing
   24 px editorial lift and opacity keyframes. Photographs stay visible
   before JS and after the short entrance, including in Safari. */
[data-8b-live] [data-8b-motion~="cut"],
html[data-om-effects] [data-om-effect="cut"] {
  clip-path: none !important;
}
[data-8b-live] [data-8b-motion~="cut"] {
  animation: none !important;
}
[data-8b-live] [data-8b-motion~="cut"].is-in {
  animation: market-div-mk-note-translate .72s cubic-bezier(.3333, 1, .6667, 1) var(--cut-delay, 0s) both,
             market-div-mk-note-opacity .72s cubic-bezier(.3333, 1, .6667, 1) var(--cut-delay, 0s) both !important;
}
html[data-om-effects] [data-om-effect="cut"].om-in {
  animation: market-div-mk-note-translate .72s cubic-bezier(.3333, 1, .6667, 1) var(--om-delay, 0ms) both,
             market-div-mk-note-opacity .72s cubic-bezier(.3333, 1, .6667, 1) var(--om-delay, 0ms) both !important;
}
[data-8b-live] [data-8b-motion~="cut"] img,
html[data-om-effects] [data-om-effect="cut"] img,
html[data-om-effects] [data-om-effect="cut"].om-in img {
  animation: none !important;
  scale: 1 !important;
}

/* The five kitchen photographs already make a complete spread. Keep their
   positions instead of moving a stack outward from its centre. */
[data-8b-live] #market .mk__print,
html[data-om-effects] #market [data-om-effect="prints"].om-in .mk__print {
  animation: none !important;
  translate: none !important;
  rotate: 0deg !important;
  scale: 1 !important;
  opacity: 1 !important;
}

/* Ombrelle's native horizontal journey remains on the five day panels in
   supported Chromium. Its complete static fallback reads as an editorial
   photo spread rather than five separate colour slides. */
html:not([data-8b-live]) #day .dy__track {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(32px, 3.2vw, 52px) clamp(14px, 2vw, 30px);
  padding: 0 var(--space-2) clamp(64px, 7vw, 110px);
}
html:not([data-8b-live]) #day .dy__panel {
  grid-column: span 2;
  padding: 20px 0 0;
  border-top: 1px solid color-mix(in srgb, var(--color-2) 28%, transparent);
  background: transparent;
  color: var(--color-2);
}
html:not([data-8b-live]) #day .dy__panel:nth-child(-n+2) { grid-column: span 3; }
html:not([data-8b-live]) #day .dy__photo { aspect-ratio: 4 / 5; }
html:not([data-8b-live]) #day .dy__name { font-size: clamp(34px, 3.4vw, 52px); }
html:not([data-8b-live]) #day .dy__text { max-width: 34ch; }

/* Keep the original CTA round wipe and photo controls, with a quiet focus. */
.m-btn, #opening .m-btn-2 {
  background: var(--preview-terracotta);
  border-color: var(--preview-terracotta);
  color: var(--preview-white);
}
.m-btn::before, #opening .m-btn-2::before { background: var(--preview-forest); }
.m-btn:hover .m-btn__label, #opening .m-btn-2:hover .m-btn-2__label { color: var(--preview-white); }
.m-btn-2 { background: transparent; border-color: currentColor; color: var(--preview-forest); }
#bar .m-btn-2 { color: var(--preview-cream); }
#bar .m-btn-2:hover .m-btn-2__label { color: var(--preview-white); }
.photo-control { background: var(--color-1); color: var(--color-2); border-color: var(--color-1); }
:is(.m-link,.m-link-2):hover { text-decoration-color: var(--color-5); }
:focus-visible { outline-color: var(--color-5); }

@media (max-width: 959.98px) {
  #terrace .real-rooms .photo { aspect-ratio: 4 / 3; }
  html:not([data-8b-live]) #day .dy__track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html:not([data-8b-live]) #day .dy__panel,
  html:not([data-8b-live]) #day .dy__panel:nth-child(-n+2) { grid-column: span 1; }
}
@media (max-width: 719.98px) {
  #footer a[href^="mailto:"] { font-size: 12.5px; letter-spacing: -.015em; }
  #opening .op__photo::before {
    background: linear-gradient(0deg, color-mix(in srgb, var(--preview-forest) 74%, transparent), color-mix(in srgb, var(--preview-forest) 20%, transparent) 78%);
  }
  #terrace .real-rooms { gap: 34px; }
  #terrace .real-rooms .photo { aspect-ratio: 4 / 3; }
  html:not([data-8b-live]) #day .dy__track { grid-template-columns: 1fr; gap: 28px; }
  html:not([data-8b-live]) #day .dy__panel,
  html:not([data-8b-live]) #day .dy__panel:nth-child(-n+2) { grid-column: 1; }
  html:not([data-8b-live]) #day .dy__photo { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) {
  #opening .op__light, #opening .op__shade { animation: none !important; }
  [data-8b-motion~="cut"], [data-om-effect="cut"] { animation: none !important; opacity: 1 !important; translate: none !important; }
}
