/* ==========================================================================
   Olive Studio — app.css
   Premium editorial design system (v4). Classes are prefixed `olv-`.
   ========================================================================== */

:root {
  --olv-bg: #161c0f;
  --olv-bg2: #10140a;
  --olv-paper: #f1f0e4;
  --olv-paper2: #e9e6d2;
  --olv-gold: #c9a24a;
  --olv-gold-soft: #e6c87e;
  --olv-olive: #586a34;
  --olv-cream: #ece6d4;
  --olv-ink: #1c2315;
  --olv-muted-dark: #a4a18a;
  --olv-muted-light: #7a765f;
  --olv-line-gold: rgba(201, 162, 74, 0.22);
  /* Signature — the cobalt of the official olive oil tasting glass.
     Tasters judge blind in blue glass so colour can't bias them;
     used sparingly, it encodes the studio's independence. */
  --olv-cobalt: #2444b8;
  --olv-cobalt-soft: #96acff;
  --olv-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
.olv-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
::selection { background: var(--olv-cobalt); color: #fff; }
:focus-visible { outline: 2px solid var(--olv-cobalt-soft); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* --- Typographic helpers ------------------------------------------------- */
.olv-display,
.wp-site-blocks h1,
.wp-site-blocks h2,
.wp-site-blocks h3,
.wp-site-blocks h4 {
  font-family: "Fraunces", Georgia, serif;
  letter-spacing: -0.02em;
  line-height: 1.03;
}
.olv-overline {
  font-family: var(--olv-mono);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--olv-gold);
  font-weight: 500;
}
.olv-italic { font-style: italic; }

/* --- Section wrappers ---------------------------------------------------- */
.olv-section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.olv-dark { background: var(--olv-bg); color: var(--olv-cream); }
.olv-dark-2 { background: var(--olv-bg2); color: var(--olv-cream); }
.olv-paper { background: var(--olv-paper); color: var(--olv-ink); }
.olv-paper-2 { background: var(--olv-paper2); color: var(--olv-ink); }
.olv-dark .olv-overline,
.olv-dark-2 .olv-overline { color: var(--olv-gold-soft); }
.olv-dark :is(h1, h2, h3, h4),
.olv-dark-2 :is(h1, h2, h3, h4) { color: var(--olv-cream); }

/* --- Buttons -------------------------------------------------------------
   `.olv-btn` works both on a bare <a> and as a wp:button wrapper class:
   when WordPress puts it on the wrapper div, the wrapper is neutralised and
   the inner .wp-block-button__link receives the visual style instead. */
a.olv-btn,
.olv-btn .wp-block-button__link {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--olv-gold); color: #241b06;
  padding: 15px 26px; border-radius: 2px; border: 0;
  font-size: 0.9rem; font-weight: 500; text-decoration: none;
  transition: transform .2s ease, background-color .2s ease;
}
a.olv-btn:hover,
.olv-btn .wp-block-button__link:hover { background: var(--olv-gold-soft); transform: translateY(-2px); color: #241b06; }
a.olv-btn--ghost,
.olv-btn--ghost .wp-block-button__link { background: transparent !important; color: var(--olv-cream); border: 1px solid rgba(255,255,255,.34); }
a.olv-btn--ghost:hover,
.olv-btn--ghost .wp-block-button__link:hover { border-color: var(--olv-gold); color: var(--olv-gold-soft); background: transparent !important; }
div.wp-block-button.olv-btn { background: transparent; padding: 0; border: 0; }

/* --- Header / nav -------------------------------------------------------- */
.olv-logo-link { display: inline-block; line-height: 0; }
.olv-logo-img { height: 56px; width: auto; display: block; }
@media (max-width: 640px) { .olv-logo-img { height: 44px; } }
.olv-header {
  background: var(--olv-bg); color: var(--olv-cream);
  border-bottom: 1px solid var(--olv-line-gold);
}
.olv-header a { color: #cfcbb6; text-decoration: none; }
.olv-header a:hover { color: var(--olv-gold-soft); }

/* Desktop header nav — refined typography + animated gold underline on hover,
   and a persistent underline on the current page. Scoped to the inline nav
   (:not(.is-menu-open)) so the mobile overlay keeps its own styling. */
.olv-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item a {
  position: relative; font-size: 0.86rem; letter-spacing: 0.015em; color: #ded9c4; transition: color 0.2s ease;
}
.olv-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px;
  background: var(--olv-gold); transform: scaleX(0); transform-origin: center; transition: transform 0.28s ease;
}
.olv-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item a:hover { color: var(--olv-gold-soft); }
.olv-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item a:hover::after,
.olv-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item.current-menu-item a::after { transform: scaleX(1); }
.olv-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item.current-menu-item a { color: var(--olv-gold-soft); }
.olv-logo-name { font-family: "Fraunces", serif; font-weight: 500; font-size: 1.15rem; letter-spacing: .18em; color: var(--olv-cream); line-height: 1; }
.olv-logo-sub { font-family: var(--olv-mono); font-size: 0.55rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--olv-gold); }

/* --- Hero ---------------------------------------------------------------- */
.olv-hero { background: var(--olv-bg); color: var(--olv-cream); }
.olv-hero h1 { color: var(--olv-cream); }
/* Orchestrated page-load sequence: one deliberate moment, then quiet. */
@keyframes olv-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.olv-hero .olv-overline { animation: olv-rise .6s cubic-bezier(.22,.8,.36,1) both .05s; }
.olv-hero h1 { animation: olv-rise .7s cubic-bezier(.22,.8,.36,1) both .18s; }
.olv-hero .wp-block-column:first-child p { animation: olv-rise .7s cubic-bezier(.22,.8,.36,1) both .34s; }
.olv-hero .wp-block-buttons { animation: olv-rise .7s cubic-bezier(.22,.8,.36,1) both .48s; }
.olv-hero .olv-photo { animation: olv-rise .9s cubic-bezier(.22,.8,.36,1) both .30s; }
.olv-rot { color: var(--olv-gold-soft); font-weight: 500; display: inline-block; transition: opacity .35s ease, transform .35s ease; }
.olv-rot.is-out { opacity: 0; transform: translateY(8px); }
/* Trust strip + WhatsApp under the hero CTAs (conversion signals) */
.olv-trust { font-family: var(--olv-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: #a4a18a; margin: 1.1rem 0 0.4rem; }
.olv-trust span { color: var(--olv-gold); }
.olv-whats { font-size: 0.9rem; color: #a4a18a; margin: 0; }
.olv-whats i { color: var(--olv-gold); font-size: 1.05rem; vertical-align: -2px; }
.olv-whats a { color: var(--olv-gold-soft); text-decoration: underline; text-underline-offset: 3px; }
.olv-whats a:hover { color: var(--olv-gold); }

/* --- Marquee ------------------------------------------------------------- */
.olv-marquee { overflow: hidden; background: var(--olv-bg2); border-block: 1px solid var(--olv-line-gold); padding-block: 14px; }
.olv-marquee__track { display: flex; width: max-content; animation: olv-mq 26s linear infinite; }
.olv-marquee__item { font-family: var(--olv-mono); font-size: 0.85rem; letter-spacing: 0.24em; text-transform: uppercase; padding: 0 22px; color: var(--olv-gold); white-space: nowrap; opacity: .85; }
.olv-marquee__item span { color: #3f4a29; }
@keyframes olv-mq { to { transform: translateX(-50%); } }

/* --- Editorial photo placeholder / frame --------------------------------- */
.olv-photo { position: relative; overflow: hidden; border-radius: 4px; background: #5e5b42; min-height: 300px; }
.olv-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* --- Numbered rows (services / differentiators) -------------------------- */
.olv-rows { display: grid; }
.olv-row {
  display: grid; grid-template-columns: 60px 1.1fr 1.6fr auto; gap: 20px;
  padding-block: 22px; border-top: 1px solid var(--olv-line-gold);
  align-items: center; transition: padding-left .25s ease;
}
.olv-row:last-child { border-bottom: 1px solid var(--olv-line-gold); }
.olv-row:hover { padding-left: 12px; }
.olv-row__num { font-family: var(--olv-mono); font-weight: 300; color: var(--olv-gold); opacity: .6; font-size: 1.6rem; }
/* Keyword variant — for sets that are NOT a sequence (e.g. Why us). */
.olv-row--key { grid-template-columns: 110px 1.1fr 1.6fr auto; }
.olv-row__key { font-family: var(--olv-mono); font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--olv-gold); opacity: .85; align-self: center; }
.olv-row__title { font-family: "Fraunces", serif; font-size: 1.4rem; transition: color .2s ease; }
.olv-row:hover .olv-row__title { color: var(--olv-gold-soft); }
.olv-row__desc { font-size: 0.85rem; color: var(--olv-muted-dark); }
.olv-paper .olv-row { border-color: var(--olv-paper2); }
.olv-paper .olv-row__desc { color: var(--olv-muted-light); }

/* --- Audience cards ------------------------------------------------------ */
.olv-aud-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.olv-aud {
  padding: 22px; border-top: 2px solid var(--olv-gold);
  background: #fbf7ee; border-radius: 0;
  transition: transform .22s ease, background-color .22s ease;
}
.olv-aud:hover { background: #fff; transform: translateY(-3px); }
.olv-aud__icon { font-size: 1.5rem; color: var(--olv-gold); }
.olv-aud__title { font-family: "Fraunces", serif; font-size: 1.2rem; margin: 12px 0 6px; }
.olv-aud__desc { font-size: 0.8rem; color: var(--olv-muted-light); line-height: 1.5; }

/* --- Spec cards (the possibilities) ------------------------------------- */
.olv-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); gap: 16px; margin-top: 1.75rem; }
.olv-spec { padding: 24px 22px; border-top: 2px solid var(--olv-gold); background: #fbf7ee; }
.olv-spec__icon { font-size: 1.5rem; color: var(--olv-gold); }
.olv-spec h3 { font-family: "Fraunces", serif; font-weight: 400; font-size: 1.18rem; margin: 12px 0 6px; }
.olv-spec ul { list-style: none; margin: 0; padding: 0; }
.olv-spec li { font-size: 0.85rem; color: var(--olv-muted-light); padding: 8px 0; border-top: 1px solid #eaddc4; line-height: 1.45; }
.olv-spec li:first-child { border-top: 0; }
.olv-spec li b { color: var(--olv-ink); font-weight: 500; }

/* --- Process ------------------------------------------------------------- */
.olv-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.olv-step__num { font-family: var(--olv-mono); font-size: 1.75rem; color: var(--olv-gold); opacity: .6; }
.olv-step__rule { height: 1px; background: var(--olv-line-gold); margin: 14px 0; }
.olv-step:last-child .olv-step__rule { background: var(--olv-gold); }
.olv-step__num--last { opacity: 1; color: var(--olv-gold-soft); }
.olv-step__title { font-family: "Fraunces", serif; font-size: 1.05rem; color: var(--olv-cream); margin-bottom: 6px; }
.olv-step__desc { font-size: 0.75rem; color: var(--olv-muted-dark); }

/* --- FAQ ----------------------------------------------------------------- */
.olv-faq { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 40px; }
.olv-faq__q { border-top: 1px solid #ddd2bc; padding-top: 16px; }
.olv-faq__q h3 { font-family: "Fraunces", serif; font-size: 1.1rem; margin: 0 0 6px; }
.olv-faq__q p { font-size: 0.85rem; color: var(--olv-muted-light); margin: 0; }

/* --- Chips --------------------------------------------------------------- */
.olv-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.olv-chip { border: 1px solid var(--olv-line-gold); border-radius: 2px; padding: 9px 15px; font-size: 0.8rem; color: var(--olv-cream); transition: .2s ease; }
.olv-chip:hover { background: var(--olv-gold); color: #241b06; border-color: var(--olv-gold); }

/* --- Meta band ----------------------------------------------------------- */
.olv-meta { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--olv-line-gold); }
.olv-meta > div { padding: 16px 20px; border-right: 1px solid var(--olv-line-gold); }
.olv-meta > div:last-child { border-right: 0; }
.olv-meta__k { font-family: var(--olv-mono); font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--olv-muted-dark); margin-bottom: 4px; }
.olv-meta__v { font-size: 0.85rem; color: var(--olv-cream); }

/* --- Scroll reveal ------------------------------------------------------- */
.olv-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.olv-reveal.is-in { opacity: 1; transform: none; }

/* --- Prose (inner pages) ------------------------------------------------- */
.olv-paper a { color: var(--olv-olive); text-underline-offset: 3px; }
.olv-paper a:hover { color: var(--olv-gold); }
.olv-paper ul { padding-left: 1.1rem; }
.olv-paper li { margin-block: 0.4rem; }

/* --- FAQ accordions (core/details) --------------------------------------- */
.wp-block-details {
  border-top: 1px solid var(--olv-paper2);
  padding: 1rem 0;
}
.wp-block-details summary {
  font-family: "Fraunces", serif;
  font-size: 1.15rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after {
  content: "+";
  color: var(--olv-gold);
  font-family: "Inter", sans-serif;
  font-size: 1.3rem;
  transition: transform .2s ease;
}
.wp-block-details[open] summary::after { content: "\2013"; }
.wp-block-details p { margin-top: 0.75rem; color: var(--olv-muted-light); font-size: 0.9rem; }

/* --- Footer -------------------------------------------------------------- */
.olv-footer { background: var(--olv-bg2); color: #8f8c76; }
.olv-footer a { color: #cfcbb6; text-decoration: none; }
.olv-footer a:hover { color: var(--olv-gold-soft); }

/* Social profiles — Tabler-style outline icons, gold on hover.
   Shared base; each context (footer, header, mobile overlay) sets its own spacing. */
.olv-social { display: flex; gap: 0.7rem; align-items: center; }
.olv-footer .olv-social { margin: 0.7rem 0 0; }
.olv-social__link { display: inline-flex; color: #cfcbb6; transition: color 0.2s ease, transform 0.2s ease; }
.olv-social__link:hover,
.olv-social__link:focus-visible { color: var(--olv-gold-soft); transform: translateY(-1px); }
.olv-social__link svg { display: block; }

/* --- Responsive : tablette --------------------------------------------- */
@media (max-width: 900px) {
  .olv-aud-grid { grid-template-columns: repeat(2, 1fr); }
  .olv-steps { grid-template-columns: repeat(3, 1fr); row-gap: 1.75rem; }
  .olv-meta { grid-template-columns: repeat(2, 1fr); }
  .olv-faq { grid-template-columns: 1fr; }
  /* Numbered / keyword rows: keep the marker left, stack title + desc right.
     No content is hidden. */
  .olv-row, .olv-row--key {
    grid-template-columns: auto 1fr;
    grid-template-areas: "n t" "n d";
    gap: 2px 16px;
  }
  .olv-row__num, .olv-row__key { grid-area: n; align-self: start; padding-top: 2px; }
  .olv-row__title { grid-area: t; }
  .olv-row__desc { grid-area: d; }
  .olv-row__cta { display: none; }
}
/* --- Responsive : mobile ----------------------------------------------- */
@media (max-width: 600px) {
  .olv-aud-grid, .olv-steps, .olv-meta { grid-template-columns: 1fr; }
  .olv-meta > div { border-right: 0; border-bottom: 1px solid var(--olv-line-gold); }
  .olv-meta > div:last-child { border-bottom: 0; }
  .olv-photo { min-height: 220px; }
}

/* --- Reduced motion ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .olv-reveal { opacity: 1; transform: none; transition: none; }
  .olv-marquee__track { animation: none; }
  .olv-rot { transition: none; }
}

/* ==========================================================================
   Home hero — "From the olive, to your bottle" (3D on desktop, static below)
   ========================================================================== */
.ovx{height:200vh;position:relative;background:#0c0f07;--p:0}
.ovx-sticky{position:sticky;top:0;height:100vh;overflow:hidden}
.ovx-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.22;filter:saturate(.7) blur(6px);transform:scale(calc(1.12 - var(--p)*.1))}
.ovx-veil{position:absolute;inset:0;background:radial-gradient(ellipse at 50% 42%,rgba(22,28,15,.0) 0%,rgba(12,15,7,.85) 78%)}
.ovx-canvas{position:absolute;inset:0;z-index:2}
.ovx-canvas canvas{display:block;width:100%;height:100%}
.ovx-overline{position:absolute;top:6vh;left:50%;transform:translateX(-50%);width:92vw;text-align:center;font-family:var(--olv-mono);font-size:.68rem;letter-spacing:.26em;text-transform:uppercase;color:#e6c87e;line-height:1.8;z-index:3}
.ovx-title{position:absolute;inset:0;z-index:3;pointer-events:none;margin:0;font-family:"Fraunces",Georgia,serif;font-weight:400;font-size:clamp(2.1rem,5.4vw,4.2rem);line-height:1;color:#ece6d4;text-shadow:0 2px 30px rgba(10,12,6,.65)}
.ovx-title span{position:absolute;left:0;right:0;text-align:center;display:block}
.ovx-title .ovx-l{top:13vh;transform:translateY(calc(var(--p)*-3vh))}
.ovx-title .ovx-r{bottom:21vh;color:#e6c87e;font-style:italic;transform:translateY(calc(var(--p)*3vh))}
.ovx-hint{position:absolute;bottom:7vh;left:50%;transform:translateX(-50%);font-family:var(--olv-mono);font-size:.65rem;letter-spacing:.24em;text-transform:uppercase;color:#c9a24a;opacity:calc(1 - var(--p)*2.5);white-space:nowrap;z-index:3}
.ovx-hint i{display:block;text-align:center;font-size:1rem;margin-top:6px;animation:ovx-bob 1.6s ease-in-out infinite}
@keyframes ovx-bob{50%{transform:translateY(5px)}}
.ovx-cta{position:absolute;bottom:8vh;left:50%;transform:translate(-50%,calc(16px - var(--p)*16px));display:flex;gap:18px;opacity:clamp(0,calc((var(--p) - .74)*7),1);pointer-events:none;z-index:4}
.ovx-cta::before{content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:150%;height:360%;background:radial-gradient(ellipse,rgba(10,12,6,.78),rgba(10,12,6,0) 70%);z-index:-1}
.ovx .ovx-cta a{pointer-events:auto}
.ovx-cta a{white-space:nowrap;display:inline-flex;align-items:center;gap:11px;padding:19px 38px;border-radius:2px;font-size:1.03rem;font-weight:500;letter-spacing:.005em;text-decoration:none;transition:transform .28s cubic-bezier(.22,.8,.36,1),background-color .28s ease,border-color .28s ease,box-shadow .28s ease}
.ovx-cta a i{font-size:1.05rem;transition:transform .28s ease}
.ovx-cta .ovx-cta-g{background:var(--olv-gold);color:#241b06;box-shadow:0 12px 34px rgba(0,0,0,.4)}
.ovx-cta .ovx-cta-g:hover{background:var(--olv-gold-soft);transform:translateY(-3px);box-shadow:0 18px 44px rgba(0,0,0,.5)}
.ovx-cta .ovx-cta-g:hover i{transform:translateX(4px)}
.ovx-cta .ovx-cta-o{border:1px solid rgba(255,255,255,.45);color:#ece6d4}
.ovx-cta .ovx-cta-o:hover{border-color:var(--olv-gold);color:var(--olv-gold-soft);transform:translateY(-3px)}
.ovx-fallback{position:absolute;inset:0;z-index:2;display:none;align-items:center;justify-content:center}
.ovx-fallback img{max-width:min(620px,86vw);border-radius:4px}
@media (prefers-reduced-motion:reduce){.ovx{height:auto}.ovx-sticky{position:relative;height:auto;min-height:100vh}.ovx{--p:1!important}}
/* value-prop line: visible at the opening on desktop, fades as the story starts */
.ovx-sub{position:absolute;top:24vh;left:50%;transform:translateX(-50%);z-index:3;width:min(46rem,88vw);text-align:center;color:#c9c6b0;font-size:1.05rem;line-height:1.6;margin:0;opacity:calc(1 - var(--p)*5);pointer-events:none;text-shadow:0 2px 20px rgba(10,12,6,.7)}
.ovx-sub strong{color:#ece6d4;font-weight:500}
/* --- Static hero (mobile / tablet / reduced motion): conversion-first ----- */
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce){
  .ovx{height:auto}
  .ovx-sticky{position:relative;height:auto;padding:3.25rem 1.25rem 3.5rem;display:flex;flex-direction:column;align-items:center;gap:1.15rem;text-align:center;overflow:visible}
  .ovx-canvas,.ovx-hint{display:none!important}
  .ovx-overline{position:static;transform:none;width:auto}
  .ovx-title{position:static;display:block;font-size:clamp(2.2rem,8vw,3.4rem)}
  .ovx-title span{position:static;display:inline;transform:none!important;opacity:1!important}
  .ovx-sub{display:block;position:static;transform:none;opacity:1;pointer-events:auto;max-width:34rem;width:auto;color:#c9c6b0;font-size:1rem;margin:0;z-index:3}
  .ovx-fallback{position:static;display:flex!important;z-index:3}
  .ovx-fallback img{max-width:min(440px,88vw)}
  .ovx-cta{position:static;transform:none;opacity:1;flex-direction:column;align-items:center;gap:12px;width:100%}
  .ovx-cta a{width:min(80vw,360px);justify-content:center}
}

/* --- WPForms: match the site's design system -------------------------- */
.wpforms-form input[type=text],
.wpforms-form input[type=email],
.wpforms-form select,
.wpforms-form textarea { border-radius: 2px !important; border-color: #d8cfb8 !important; background: #fff !important; font-family: inherit !important; }
.wpforms-form .wpforms-field-label { font-weight: 500 !important; color: var(--olv-ink) !important; }
.wpforms-form button[type=submit] {
  background: var(--olv-gold) !important; color: #241b06 !important;
  border: 0 !important; border-radius: 2px !important;
  padding: 15px 30px !important; font-size: .95rem !important; font-weight: 500 !important;
  transition: transform .2s ease, background-color .2s ease !important;
}
.wpforms-form button[type=submit]:hover { background: var(--olv-gold-soft) !important; transform: translateY(-2px); }
.wpforms-confirmation-container-full { background: #f4eee1 !important; border: 1px solid var(--olv-gold) !important; border-radius: 2px !important; }

/* --- Contact page cards (solid, no reveal — always readable) ----------- */
.olv-cc { background: #f4eee1; border-top: 2px solid var(--olv-gold); border-radius: 2px; padding: 22px 24px; margin-bottom: 14px; color: var(--olv-ink); }
.olv-cc i { font-size: 1.6rem; color: var(--olv-gold); }
.olv-cc__title { font-family: "Fraunces", serif; font-size: 1.25rem; margin: 10px 0 4px; color: var(--olv-ink); }
.olv-cc__desc { font-size: 0.9rem; color: var(--olv-muted-light); margin: 0; }
.olv-cc a { color: var(--olv-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--olv-gold); font-weight: 500; }
.olv-cc a:hover { color: var(--olv-gold); }
.olv-cc--wa { border-top-color: #25d366; }
.olv-cc--wa i { color: #25d366; }
.olv-form-card { background: #f4eee1; border-radius: 2px; padding: 30px 30px 22px; }
.olv-form-card h2 { color: var(--olv-ink); font-size: 1.6rem; margin-bottom: .35rem; }
.olv-form-card > p { color: var(--olv-muted-light); font-size: .92rem; }
.olv-form-card { margin-bottom: 0; border-radius: 2px 2px 0 0; padding-bottom: 4px; }
.olv-dark div.wpforms-container.wpforms-container-full { background: #f4eee1 !important; padding: 4px 30px 26px !important; border-radius: 0 0 2px 2px; margin: 0 !important; }
/* Action buttons on contact cards (decoded links carry olv-cc-btn through) */
.olv-cc a.olv-cc-btn, .olv-cc .olv-obf-out.olv-cc-btn {
  display: inline-block; margin-top: 10px; background: var(--olv-gold); color: #241b06 !important;
  padding: 11px 20px; border-radius: 2px; text-decoration: none !important;
  font-weight: 500; font-size: .88rem; transition: transform .2s ease, background-color .2s ease;
}
.olv-cc a.olv-cc-btn:hover { background: var(--olv-gold-soft); transform: translateY(-2px); color: #241b06 !important; }
.olv-cc--wa a.olv-cc-btn, .olv-cc--wa .olv-obf-out.olv-cc-btn { background: #25d366; color: #fff !important; }
.olv-cc--wa a.olv-cc-btn:hover, .olv-cc--wa .olv-obf-out.olv-cc-btn:hover { background: #1fb457; color: #fff !important; }

/* --- Hero photo: crisp on desktop, clean shape on mobile --------------- */
.olv-hero .olv-photo { aspect-ratio: 3 / 2; min-height: 0; box-shadow: 0 20px 50px rgba(0,0,0,.28); }
.olv-hero .olv-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 781px) {
  .olv-hero .wp-block-columns { gap: 1.75rem; }
  .olv-hero .olv-photo { aspect-ratio: 16 / 10; margin-top: .5rem; }
}

/* ==========================================================================
   Mobile optimisation (hero stacking, sizing, header) — v1.0.17
   ========================================================================== */
@media (max-width: 781px) {
  /* Hero: force a clean single-column stack (inline flex-basis was keeping
     the columns side-by-side, so the photo overflowed its column). */
  .olv-hero .wp-block-columns { flex-direction: column !important; align-items: stretch !important; gap: 1.4rem; }
  .olv-hero .wp-block-column { flex-basis: 100% !important; width: 100% !important; max-width: 100% !important; }
  .olv-hero h1 { font-size: clamp(2rem, 8.5vw, 2.9rem) !important; line-height: 1.05; }
  .olv-hero .olv-overline { font-size: 0.6rem; letter-spacing: 0.2em; }
  .olv-hero .olv-photo { width: 100%; aspect-ratio: 16 / 9; min-height: 0; margin-top: 0.75rem; box-shadow: 0 12px 30px rgba(0,0,0,.3); }
  /* CTAs full-width, easy tap targets */
  .olv-hero .wp-block-buttons { flex-direction: column; align-items: stretch; }
  .olv-hero .wp-block-buttons .wp-block-button { width: 100%; }
  .olv-hero .wp-block-buttons .wp-block-button__link { width: 100%; justify-content: center; padding: 16px; }
  .olv-trust { font-size: 0.6rem; line-height: 1.9; }
}
/* Header on small screens: keep it to one tidy row. */
@media (max-width: 640px) {
  .olv-header .olv-lang-switcher { display: none; }        /* language reachable inside the nav overlay */
  .olv-header .wp-block-buttons .wp-block-button__link { padding: 9px 16px; font-size: 0.82rem; }
}

/* Language switcher inside the mobile nav overlay (injected by app.js).
   Hidden by default so it never duplicates the inline desktop switcher;
   shown only when the hamburger overlay is open. */
.olv-mobile-lang { display: none; }
.wp-block-navigation__responsive-container.is-menu-open .olv-mobile-lang {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(201, 162, 74, 0.28);
}
.olv-mobile-lang__label {
  font-family: var(--olv-mono, "IBM Plex Mono", monospace);
  font-size: 0.66rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #b8b39a;
}
.olv-mobile-lang__links { display: flex; align-items: center; gap: 1.15rem; font-size: 1.25rem; letter-spacing: 0.06em; }

/* Social icons inside the mobile overlay (injected by app.js). Same hide-by-default
   rule as the language switcher, so they never duplicate the desktop header set.
   Kept compact on purpose — the overlay must stay scroll-free on small screens. */
.olv-menu-social { display: none; }
.wp-block-navigation__responsive-container.is-menu-open .olv-menu-social {
  display: flex; align-items: center; justify-content: center; gap: 1.1rem;
  flex: 0 0 auto; margin-top: 0.85rem;
}
.is-menu-open .olv-menu-social .olv-social__link { padding: 0.3rem; color: #cfcbb6; }

/* Short viewports (small phones, landscape): tighten the bottom stack so the
   overlay still fits on one screen. Measured overflow at 320x568 without this. */
@media (max-height: 640px) {
  .is-menu-open .olv-mobile-lang { margin-top: 0.8rem; }
  .wp-block-navigation__responsive-container.is-menu-open .olv-menu-social { margin-top: 0.45rem; }
  .is-menu-open .olv-menu-social .olv-social__link { padding: 0.15rem; }
}
.olv-mobile-lang__links i { color: rgba(201, 162, 74, 0.4); font-style: normal; }

/* Language links — shared by the desktop header switcher and the mobile overlay
   (both sit on a dark background). Class-based so colours stay readable. */
.olv-lang-link { color: #cfcbb6; text-decoration: none; font-weight: 400; padding: 0.25rem 0.4rem; transition: color 0.2s ease; }
.olv-lang-link:hover, .olv-lang-link:focus { color: #e6c87e; }
.olv-lang-link.is-current { color: #c9a24a; font-weight: 600; }

/* Desktop header language switcher — refined, more legible. */
.olv-header .olv-lang-switcher {
  display: inline-flex; align-items: center; gap: 0.1rem;
  font-size: 0.8rem !important; letter-spacing: 0.04em !important; font-weight: 500;
  color: rgba(201, 162, 74, 0.5) !important; margin: 0;
}
@media (max-width: 640px) { .olv-header .olv-lang-switcher { display: none !important; } }

/* Desktop header social icons — sit between the language switcher and the CTA.
   Hidden on mobile: the overlay carries its own set (.olv-menu-social). */
.olv-header .olv-social { gap: 0.55rem; }
.olv-header .olv-social__link { color: rgba(236, 230, 212, 0.62); }
.olv-header .olv-social__link:hover,
.olv-header .olv-social__link:focus-visible { color: var(--olv-gold-soft); }
@media (max-width: 640px) { .olv-header .olv-social { display: none !important; } }

/* ==========================================================================
   Premium mobile menu overlay (redesign of the default WP white overlay)
   Only applies when the hamburger menu is open — desktop is untouched.
   ========================================================================== */
.olv-menu-logo, .olv-menu-cta { display: none; }
.olv-header .wp-block-navigation__responsive-container-open { color: #ece6d4; }
.olv-header .wp-block-navigation__responsive-container-open svg { width: 30px; height: 30px; fill: currentColor; }

.wp-block-navigation__responsive-container.is-menu-open { background-color: #14160e !important; }
.wp-block-navigation__responsive-container.is-menu-open { overflow: hidden !important; }
.is-menu-open .wp-block-navigation__responsive-close,
.is-menu-open .wp-block-navigation__responsive-dialog { height: 100%; box-sizing: border-box; padding: 0 !important; margin: 0 !important; max-width: none !important; }
.is-menu-open .wp-block-navigation__responsive-container-content {
  display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important;
  box-sizing: border-box; height: 100%; width: 100%; max-width: 460px; margin: 0 auto;
  padding: 3.2rem 1.5rem 1.3rem !important; overflow: hidden !important; gap: 0 !important;
}
.is-menu-open .olv-menu-logo { display: block; align-self: center; flex: 0 0 auto; line-height: 0; margin: 0 0 0.85rem; }
.is-menu-open .olv-menu-logo img { height: clamp(32px, 5vh, 38px); width: auto; }

.is-menu-open .wp-block-navigation__container {
  flex: 0 0 auto; display: flex !important; flex-direction: column !important; flex-wrap: nowrap !important;
  width: 100%; gap: 0 !important; align-items: stretch !important; margin: 0 !important;
}
.is-menu-open .wp-block-navigation-item { width: 100%; border-bottom: 1px solid rgba(201, 162, 74, 0.15); }
.is-menu-open .wp-block-navigation-item:first-child { border-top: 1px solid rgba(201, 162, 74, 0.15); }
.is-menu-open .wp-block-navigation-item a,
.is-menu-open .wp-block-navigation-item__content {
  font-family: "Fraunces", serif !important; font-size: clamp(1.05rem, 4vw, 1.22rem) !important; font-weight: 400 !important;
  color: #ece6d4 !important; text-align: center; letter-spacing: 0.01em; line-height: 1.25 !important;
  padding: clamp(0.5rem, 1.35vh, 0.72rem) 0.5rem !important; width: 100%; display: block; transition: color 0.2s ease;
}
.is-menu-open .wp-block-navigation-item a:hover,
.is-menu-open .wp-block-navigation-item a:focus { color: #e6c87e !important; }

.is-menu-open .olv-menu-cta {
  align-self: center; flex: 0 0 auto; display: inline-block; margin-top: 1.2rem;
  background: #c9a24a; color: #16180f !important; font-weight: 600; font-size: 0.96rem; letter-spacing: 0.02em;
  text-decoration: none; padding: 0.78rem 2.7rem; border-radius: 999px; transition: background 0.2s ease;
}
.is-menu-open .olv-menu-cta:hover { background: #e6c87e; }
.is-menu-open .olv-mobile-lang { flex: 0 0 auto; margin-top: 1.2rem; }

.wp-block-navigation__responsive-container-close { color: #c9a24a !important; top: 1.3rem !important; right: 1.2rem !important; }
.wp-block-navigation__responsive-container-close svg { width: 28px; height: 28px; fill: currentColor; }

/* ==========================================================================
   Cookie consent banner (GDPR / CNIL) — GA gated by consent.js
   ========================================================================== */
.olv-consent {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 9999;
  max-width: 1180px; margin-inline: auto;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.9rem 1.6rem;
  background: #1a1c17; color: #ece6d4;
  border: 1px solid rgba(201, 162, 74, 0.35); border-radius: 14px;
  padding: 1.05rem 1.3rem;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.42);
  transform: translateY(150%); opacity: 0;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s ease;
}
.olv-consent.is-in { transform: translateY(0); opacity: 1; }
.olv-consent__msg { margin: 0; flex: 1 1 320px; font-size: 0.82rem; line-height: 1.55; color: #c3bfa9; }
.olv-consent__msg a { color: #e6c87e; text-decoration: underline; text-underline-offset: 2px; }
.olv-consent__actions { display: flex; gap: 0.6rem; flex-shrink: 0; }
.olv-consent__btn {
  font-family: inherit; font-size: 0.8rem; letter-spacing: 0.02em;
  padding: 0.62rem 1.25rem; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.olv-consent__btn--accept { background: #c9a24a; color: #16180f; font-weight: 600; }
.olv-consent__btn--accept:hover { background: #e6c87e; }
.olv-consent__btn--ghost { background: transparent; color: #c3bfa9; border-color: rgba(255, 255, 255, 0.22); }
.olv-consent__btn--ghost:hover { color: #ece6d4; border-color: rgba(255, 255, 255, 0.5); }
.olv-consent-reopen { cursor: pointer; }
@media (max-width: 600px) {
  .olv-consent { flex-direction: column; align-items: stretch; gap: 0.85rem; left: 0.6rem; right: 0.6rem; bottom: 0.6rem; }
  .olv-consent__actions { justify-content: stretch; }
  .olv-consent__btn { flex: 1; }
}

/* --- Legal / policy pages: readable prose ------------------------------- */
.olv-legal { max-width: 780px; margin-inline: auto; }
.olv-legal h1 { font-family: "Fraunces", serif; font-size: clamp(2rem, 5vw, 2.9rem); line-height: 1.08; margin-bottom: 0.4rem; }
.olv-legal .olv-legal__updated { font-family: var(--olv-mono, "IBM Plex Mono", monospace); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--olv-muted-light); margin-bottom: 2.2rem; }
.olv-legal h2 { font-family: "Fraunces", serif; font-size: 1.45rem; margin: 2.3rem 0 0.7rem; }
.olv-legal h3 { font-size: 1.05rem; margin: 1.5rem 0 0.4rem; }
.olv-legal p, .olv-legal li { font-size: 1.02rem; line-height: 1.7; }
.olv-legal p { margin: 0 0 1rem; }
.olv-legal ul { margin: 0 0 1.1rem; }
.olv-legal table { width: 100%; border-collapse: collapse; margin: 0.6rem 0 1.4rem; font-size: 0.92rem; }
.olv-legal th, .olv-legal td { text-align: left; padding: 0.6rem 0.7rem; border: 1px solid var(--olv-paper2); vertical-align: top; }
.olv-legal th { background: var(--olv-paper2); font-weight: 600; }

/* --- Blog: featured images (article hero + archive thumbnails) --------- */
.olv-article__hero { margin: 0.5rem 0 2rem; }
.olv-article__hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; display: block; }
.olv-blog-list .olv-blog-thumb { display: block; margin: 0 0 0.85rem; line-height: 0; }
.olv-blog-list .olv-blog-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; display: block; }

/* --- Blog: article prose + archive ------------------------------------ */
.olv-article { max-width: 100%; }
.olv-article .wp-block-post-title { font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.08; margin-bottom: .5rem; }
.olv-article__meta { gap: 14px; font-family: var(--olv-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--olv-muted-light); margin-bottom: 2rem; }
.olv-article__meta a { color: var(--olv-gold); text-decoration: none; }
.olv-article .olv-byline { color: var(--olv-muted-light); font-size: .92rem; margin-bottom: 1.75rem; }
.olv-article .entry-content, .olv-article .wp-block-post-content { font-size: 1.075rem; line-height: 1.75; color: var(--olv-ink); }
.olv-article h2 { font-family: "Fraunces", serif; font-size: 1.6rem; margin: 2.4rem 0 .8rem; }
.olv-article h3 { font-family: "Fraunces", serif; font-size: 1.2rem; margin: 1.6rem 0 .5rem; }
.olv-article p { margin: 0 0 1.1rem; }
.olv-article ul, .olv-article ol { margin: 0 0 1.2rem 1.1rem; }
.olv-article li { margin-bottom: .5rem; }
.olv-article a { color: #8a6d1f; text-decoration: underline; text-underline-offset: 2px; }
.olv-article a:hover { color: var(--olv-gold); }
.olv-article table { width: 100%; border-collapse: collapse; margin: 1.2rem 0 1.6rem; font-size: .98rem; }
.olv-article th, .olv-article td { text-align: left; padding: 11px 14px; border-bottom: 1px solid #e2d8c0; vertical-align: top; }
.olv-article thead th { font-family: var(--olv-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--olv-muted-light); border-bottom: 2px solid var(--olv-gold); }
.olv-blog-title { font-size: clamp(2.2rem, 6vw, 3.4rem); }
.olv-blog-list .wp-block-post-title { font-family: "Fraunces", serif; font-size: 1.5rem; margin: 2rem 0 .4rem; }
.olv-blog-list .wp-block-post-title a { color: var(--olv-ink); text-decoration: none; }
.olv-blog-list .wp-block-post-title a:hover { color: #8a6d1f; }
.olv-blog-list .wp-block-post-excerpt { color: var(--olv-muted-light); border-bottom: 1px solid #e2d8c0; padding-bottom: 1.5rem; }
