/* ==========================================================================
   Monin Breff Group — brand theme
   Monochrome with a gold accent: the parent brand, calm and premium.
   (Temporary text wordmark until the final logo arrives.)
   ========================================================================== */
:root {
  --brand: #c9a54c;          /* gold buttons & highlights */
  --brand-ink: #111214;      /* dark text on gold */
  --accent: #c9a54c;
  --accent-2: #e3c77a;

  --bg: #0e0e10;
  --bg-2: #141417;
  --surface: #19191d;
  --line: #2b2b31;
  --muted: #a9a9b2;
}

.hero .display em, .hl { color: var(--accent); font-style: normal; }
.section-light .eyebrow, .section-light .hl { color: #8a6d22; }
.section-light .icon { color: #8a6d22; background: rgba(201, 165, 76, .16); }
.section-light .card-link, .section-light .prose a { color: #8a6d22; }
.card-link, .prose a { color: var(--accent); }
.step::before { -webkit-text-stroke-color: var(--brand); }
.btn-primary:hover { background: var(--accent-2); }
.cta-band { background: linear-gradient(120deg, #c9a54c, #e3c77a); }
.cta-band .btn-primary { background: #111214; color: #fff; }

.rule { height: 3px; width: 96px; border-radius: 3px; margin: 0 0 26px; background: var(--brand); }
.center .rule { margin-left: auto; margin-right: auto; }

/* ---------- home hero: centred statement ---------- */
.hero-center { text-align: center; }
.hero-center .lede { margin-left: auto; margin-right: auto; }
.hero-center .btn-row { justify-content: center; }
.hero-center .display { max-width: 15ch; margin-left: auto; margin-right: auto; }

/* ---------- company cards ---------- */
.company { position: relative; display: flex; flex-direction: column; padding: clamp(28px, 3.4vw, 40px); text-decoration: none; overflow: hidden; }
.company::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--co, var(--brand)); }
.company .co-logo { height: 54px; display: flex; align-items: center; margin-bottom: 22px; }
.company .co-logo img { max-height: 54px; width: auto; }
.company .co-tag { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--co, var(--brand)); margin-bottom: 8px; }
.company .card-link { margin-top: auto; padding-top: 18px; color: var(--co, var(--brand)); }
.company.soon { opacity: .75; }
.company.soon .co-word { font: 800 1.6rem/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase; }

/* ---------- values ---------- */
.value h3 { margin-bottom: .35em; }

/* ---------- our story timeline ---------- */
.timeline { position: relative; display: grid; gap: 28px; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--brand), color-mix(in srgb, var(--brand) 15%, transparent)); }
.tl-item { position: relative; }
.tl-item::before { content: ""; position: absolute; left: -34px; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--bg); border: 3px solid var(--brand); }
.tl-year { font: 800 1.5rem/1 var(--font-display); color: var(--accent); margin-bottom: 6px; }
.tl-item h3 { margin-bottom: .3em; }
.tl-item p { margin: 0; }

/* ==========================================================================
   Letter slider — home banner (recreated from the original 2021 design)
   ========================================================================== */
.ls { position: relative; overflow: hidden; height: calc(100svh - var(--header-h)); min-height: 560px; max-height: 1000px; background: #050506; color: #fff; outline: none; }
.ls-bgs, .ls-bg { position: absolute; inset: 0; }
.ls-bg { background-size: cover; background-position: center; opacity: 0; transform: scale(1.07); transition: opacity 1.2s ease, transform 8s linear; }
.ls-bg.is-active { opacity: 1; transform: scale(1); }
.ls::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(5,5,6,.85) 0%, rgba(5,5,6,.62) 34%, rgba(5,5,6,.12) 62%, rgba(5,5,6,.3) 100%),
              linear-gradient(0deg, rgba(5,5,6,.6), transparent 30%); }
.ls-inner { position: relative; z-index: 1; height: 100%; display: grid; grid-template-columns: clamp(120px, 15vw, 230px) minmax(0, 1fr) auto; align-items: center; gap: clamp(16px, 3vw, 48px); }

/* the big letters */
.ls-letters { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.ls-letter { border: 0; background: none; color: rgba(255,255,255,.55); cursor: pointer; padding: 4px 10px; font: 900 15px/1 var(--font-display); transition: font-size .6s cubic-bezier(.2,.8,.2,1), color .3s ease; }
.ls-letter:hover { color: #fff; }
.ls-letter.is-active { font-size: clamp(110px, 14vw, 220px); color: #fff; line-height: .9; }

/* slide text, stacked in one place */
.ls-slides { display: grid; }
.ls-slide { grid-area: 1 / 1; visibility: hidden; max-width: 520px; }
.ls-slide.is-active { visibility: visible; }
.ls-cat, .ls-text, .ls-link { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.ls-slide.is-active .ls-cat { opacity: 1; transform: none; transition-delay: .1s; }
.ls-slide.is-active .ls-text { opacity: 1; transform: none; transition-delay: .55s; }
.ls-slide.is-active .ls-link { opacity: 1; transform: none; transition-delay: .7s; }
.ls-cat { font: 600 .85rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.ls-title { font: 900 clamp(2rem, 3.6vw, 3.5rem)/1.04 var(--font-display); text-transform: uppercase; letter-spacing: -.01em; margin: 0 0 18px; }
.ls-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; }
.ls-char { display: inline-block; transform: translateY(105%); opacity: 0; transition: transform .7s cubic-bezier(.2,.8,.2,1), opacity .5s ease; }
.ls-slide.is-active .ls-char { transform: none; opacity: 1; }
.ls-slide:not(.is-active) .ls-char { transition-delay: 0s !important; transition-duration: .3s; }
.ls-text { font-size: clamp(1rem, 1.25vw, 1.15rem); color: rgba(255,255,255,.86); max-width: 40ch; margin: 0; text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.ls-link { display: none; margin-top: 18px; color: var(--accent); font-weight: 700; text-decoration: none; }
.ls-link::after { content: " →"; }

/* the long arrow + circle */
.ls-arrow { position: relative; display: flex; align-items: center; width: 150px; height: 64px; color: #fff; }
.ls-line { position: absolute; left: 0; right: 18px; top: 50%; height: 1.5px; background: currentColor; transition: right .4s ease; }
.ls-line::after { content: ""; position: absolute; right: -1px; top: -5px; width: 11px; height: 11px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }
.ls-circle { position: absolute; right: 0; top: 50%; width: 64px; height: 64px; margin-top: -32px; border: 1.5px solid rgba(255,255,255,.55); border-radius: 50%; transition: transform .4s ease, border-color .3s ease, background .3s ease; }
.ls-arrow:hover .ls-circle, .ls-arrow:focus-visible .ls-circle { transform: scale(1.15); border-color: var(--accent); background: rgba(201,165,76,.12); }
.ls-arrow:hover .ls-line { right: 6px; }

@media (prefers-reduced-motion: reduce) {
  .ls-bg { transition: opacity .3s ease; transform: none; }
  .ls-char { transform: none; }
}

/* phones & tablets: letters in a row on top, text below */
@media (max-width: 900px) {
  .ls { height: auto; min-height: 78svh; max-height: none; }
  .ls::after { background: linear-gradient(0deg, rgba(5,5,6,.92) 0%, rgba(5,5,6,.65) 55%, rgba(5,5,6,.3) 100%); }
  .ls-inner { grid-template-columns: 1fr; align-content: end; padding-top: 40px; padding-bottom: 48px; min-height: 78svh; }
  .ls-letters { flex-direction: row; justify-content: flex-start; align-items: flex-end; gap: 2px; }
  .ls-letter { padding: 4px 8px 4px 0; font-size: 18px; }
  .ls-letter.is-active { font-size: 96px; }
  .ls-arrow { display: none; }
  .ls-link { display: inline-block; }
}

/* artwork layered on a slide background (the RWP mark at 25%) */
.ls-art { position: absolute; pointer-events: none; }
.ls-art-rwp { right: 2%; top: 50%; width: min(47.6vw, 748px); height: auto; transform: translateY(-50%); opacity: .25; filter: drop-shadow(0 20px 40px rgba(0,0,0,.45)); }
@media (max-width: 900px) { .ls-art-rwp { right: 50%; top: 24%; width: 95vw; transform: translate(50%, -50%); } }

/* ==========================================================================
   Home page: header hidden at the top, slides in once you scroll
   (uses the "is-scrolled" class that family.js already sets on the header)
   ========================================================================== */
.page-home .site-header { position: fixed; top: 0; left: 0; right: 0; transform: translateY(-100%); opacity: 0; pointer-events: none;
  transition: transform .35s ease, opacity .35s ease, border-color .2s ease; }
.page-home .site-header.is-scrolled,
.page-home .site-header:focus-within { transform: none; opacity: 1; pointer-events: auto; }
.page-home .ls { height: 100svh; max-height: none; }
@media (max-width: 900px) { .page-home .ls, .page-home .ls-inner { min-height: 88svh; } }
