/* Renzo's homepage v2, built on the structure of ballenacabo.com:
   transparent header (Reserve left, logo centre, menu right), full-screen blocks,
   one idea per block, a colour band, a card slider, contact over video, giant wordmark footer.
   Colours and logo are Renzo's own (renzos-tokens.css v2). */

:root {
  --cream: #F2EEE6;        /* Renzo's lime-white */
  --cream-2: #F5F3EF;      /* Renzo's paper */
  --ink: #1B1917;          /* Renzo's stone black */
  --stone: #33302B;
  --red: #BE1E2D;          /* the band, like Ballena's terracotta */
  --red-deep: #9E1824;
  --gold: #D0A93E;
  --light: #F8F4EC;        /* type on photos */
  --muted-dark: #5E544A;
  --scrim: rgba(18, 16, 14, 0.55);
  --scrim-soft: rgba(18, 16, 14, 0.22);

  --display: "Jost", "Futura", "Century Gothic", sans-serif;
  --body: "Manrope", system-ui, sans-serif;

  --pad: clamp(20px, 2.6vw, 40px);
  --head-xl: clamp(2.6rem, 4.75vw, 4.5rem);
  --head-l: clamp(2rem, 3.35vw, 3.1rem);
  --head-m: clamp(1.5rem, 1.9vw, 1.75rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
/* Lenis smooth scrolling */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--body); font-size: 15px; line-height: 1.45; font-weight: 500; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
:where(p):not([id^="ed-"] *) { margin: 0; }
:where(h1, h2, h3):not([id^="ed-"] *) { margin: 0; font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: 0.025em; line-height: 0.98; text-wrap: balance; overflow-wrap: break-word; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* small uppercase links, Ballena's "explore more" */
.rz-more { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 12.5px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; padding-block: 6px; }
.rz-more::after { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 1px solid currentColor; background: no-repeat center / 8px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1 5h7M5 2l3 3-3 3' fill='none' stroke='%23999' stroke-width='1.4'/%3E%3C/svg%3E"); transition: transform .3s var(--ease); }
.rz-more:hover::after { transform: translateX(4px); }
.rz-more-row { display: flex; flex-wrap: wrap; gap: 8px 28px; }

/* ── Header ── */
.rz-site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: 64px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-inline: var(--pad); color: var(--light); background: var(--scrim-soft); backdrop-filter: blur(6px); transition: background-color .4s var(--ease); }
.rz-site-header.rz-is-solid { background: var(--ink); }
.rz-book { justify-self: start; font-family: var(--display); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; padding: 10px 0; color: var(--light); }
.rz-book:hover { color: var(--red); }
.rz-logo { justify-self: center; }
.rz-logo img { height: 30px; width: auto; }
.rz-burger { justify-self: end; display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; padding: 10px 6px; background: none; border: 0; cursor: pointer; }
.rz-burger span { display: block; height: 1px; background: var(--light); transition: transform .35s var(--ease), opacity .2s; }
.menu-open .rz-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .rz-burger span:nth-child(2) { opacity: 0; }
.menu-open .rz-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.menu-open .rz-site-header { background: var(--ink); }

/* full-screen menu */
.rz-overlay { position: fixed; inset: 0; z-index: 40; background: var(--cream); color: var(--ink); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding-top: 64px; opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s; }
.menu-open .rz-overlay { opacity: 1; visibility: visible; }
.rz-overlay nav { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; padding: var(--pad); }
.rz-overlay nav a { font-family: var(--display); font-size: clamp(1.6rem, 2.6vw, 2.4rem); text-transform: uppercase; letter-spacing: 0.03em; text-decoration: none; padding: 6px 0; transition: color .25s; }
.rz-overlay nav a:hover { color: var(--red); }
.rz-overlay .rz-small { display: flex; gap: 24px; margin-top: 28px; }
.rz-overlay .rz-small a { font-size: 12px; letter-spacing: 0.08em; }
.rz-overlay figure { margin: 0; position: relative; }
.rz-overlay figure img { width: 100%; height: 100%; object-fit: cover; }
.rz-overlay figure figcaption { position: absolute; left: var(--pad); bottom: var(--pad); color: var(--light); font-family: var(--display); text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; }

/* ── Blocks ── */
.rz-screen { position: relative; min-height: 100svh; overflow: hidden; color: var(--light); }
.rz-screen > .rz-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rz-screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--scrim-soft) 0%, rgba(18,16,14,0) 35%, rgba(18,16,14,0) 60%, var(--scrim) 100%); pointer-events: none; }
.rz-screen > :not(.rz-bg) { position: relative; z-index: 2; }
.rz-screen > .rz-pause, .rz-screen > .rz-scroll { position: absolute; z-index: 3; }
.rz-logo img { filter: brightness(0) invert(1); }

/* hero */
.rz-hero { display: grid; place-items: center; text-align: center; }
.rz-hero::after { background: var(--scrim); opacity: .75; }
.rz-hero-inner { display: grid; justify-items: center; gap: 44px; padding: 64px var(--pad) 0; }
.rz-hero h1 { font-size: clamp(2.4rem, 4.4vw, 4.4rem); max-width: 19ch; }
.rz-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.rz-hero .rz-scroll { position: absolute; bottom: 28px; left: 50%; translate: -50% 0; font-family: var(--display); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--light); text-decoration: none; }
.rz-pause { position: absolute; z-index: 3; right: var(--pad); bottom: 22px; background: none; border: 1px solid rgba(248,244,236,.5); color: var(--light); font-family: var(--display); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; padding: 8px 14px; border-radius: 99px; cursor: pointer; }

/* text over image: head top-left, words bottom-right */
.rz-text-image { display: grid; grid-template-rows: auto 1fr auto; padding: calc(64px + 4vh) var(--pad) 7vh; }
.rz-text-image h2 { font-size: var(--head-xl); max-width: 13ch; }
.rz-text-image .rz-corner { grid-row: 3; justify-self: end; width: min(440px, 100%); display: grid; gap: 26px; }
.rz-text-image .rz-corner p { font-size: 20.5px; line-height: 1.42; }
.rz-text-image .rz-corner .rz-more { font-size: 16.5px; gap: 13px; }
.rz-text-image .rz-corner .rz-more::after { width: 24px; height: 24px; background-size: 10px; }

/* split band */
.rz-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100svh; background: var(--red); color: var(--light); }
.rz-split > figure { margin: 0; position: relative; min-height: 60svh; }
.rz-split > figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rz-split .rz-label { font-family: var(--display); font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--light); }
.rz-split .rz-mid { max-width: 30ch; font-family: var(--display); font-size: clamp(1.25rem, 1.75vw, 1.65rem); line-height: 1.35; letter-spacing: 0.01em; }
.rz-split .rz-bottom p { font-size: 16px; }

/* product side: four framed photos with fine captions */
.rz-products { background: var(--ink); color: var(--light); padding: 7vh clamp(24px, 4vw, 64px); display: grid; align-content: center; gap: 34px; }
.rz-product-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 26px; }
.rz-product-grid a { display: grid; gap: 14px; text-decoration: none; color: inherit; }
.rz-product { margin: 0; aspect-ratio: 1 / 1; overflow: hidden; }
.rz-product img { width: 100%; height: 100%; object-fit: cover; }
.rz-product-grid a:hover .rz-product img { scale: 1.05; }
.rz-cap { display: grid; gap: 4px; }
.rz-cap b { font-family: var(--display); font-weight: 400; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.rz-cap span { font-size: 14.5px; opacity: .85; }
@media (min-width: 901px) {
  .rz-split { height: 100svh; min-height: 640px; }
  .rz-products { padding-block: 4vh; gap: 2.4vh; justify-items: center; }
  .rz-product-grid { width: min(100%, calc(100svh - 230px)); gap: 2.6vh 22px; }
  .rz-product-grid a { gap: 10px; }
  .rz-split .rz-copy { padding-block: 6vh; }
}
.rz-products-note { font-size: 14px; opacity: .7; text-align: center; border-top: 1px solid rgba(248,244,236,.15); padding-top: 22px; }
/* a stack with a real gap, so the editor's Gap and Align controls set the space between title, text and button */
.rz-split .rz-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 64px; padding: 7vh var(--pad) 7vh 1.3vw; }
.rz-split h2 { font-size: var(--head-l); max-width: 16ch; }
.rz-split .rz-list { align-self: center; list-style: none; margin: 0; padding: 0; font-family: var(--display); text-transform: uppercase; letter-spacing: 0.04em; font-size: clamp(1.1rem, 1.6vw, 1.5rem); }
.rz-split .rz-list li { padding: 14px 0; border-top: 1px solid rgba(248,244,236,.3); display: flex; justify-content: space-between; gap: 16px; }
.rz-split .rz-list li:last-child { border-bottom: 1px solid rgba(248,244,236,.3); }
.rz-split .rz-list small { font-family: var(--body); text-transform: none; letter-spacing: 0; font-size: 13px; opacity: .8; }
.rz-split .rz-bottom { display: grid; gap: 20px; max-width: 430px; }

/* intro on cream */
.rz-intro { padding: 100px var(--pad) 90px; }
.rz-intro .inner { margin-left: 33.5%; max-width: 800px; display: grid; gap: 40px; }
.rz-intro h2 { font-size: var(--head-l); }
.rz-intro p { max-width: 290px; }

/* slider */
.rz-slider { padding: 0 0 70px; }
.rz-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 6px) / 3.05); gap: 6px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: 5px; }
.rz-track::-webkit-scrollbar { display: none; }
.rz-card { position: relative; scroll-snap-align: start; aspect-ratio: 4 / 5; overflow: hidden; color: var(--light); text-decoration: none; display: grid; grid-template-rows: auto 1fr auto; padding: 30px 28px; isolation: isolate; }
.rz-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.rz-card.rz-contain img { object-fit: contain; background: var(--stone); padding: 18%; }
.rz-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--scrim) 0%, rgba(18,16,14,0) 30%, rgba(18,16,14,0) 55%, var(--scrim) 100%); }
.rz-card:hover img { scale: 1.05; }
.rz-card h3 { font-size: 20px; letter-spacing: 0.05em; }
.rz-card .foot { grid-row: 3; display: grid; gap: 14px; justify-items: center; text-align: center; }
.rz-card .foot p { max-width: 230px; }
.rz-arrows { display: flex; justify-content: center; gap: 120px; margin-top: 22px; }
.rz-arrows button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ink); background: none; color: var(--ink); cursor: pointer; font-size: 16px; transition: background-color .25s, color .25s; }
.rz-arrows button:hover { background: var(--ink); color: var(--cream); }

/* media intro */
.rz-media-intro { background: var(--cream-2); padding: 100px var(--pad); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.rz-media-intro figure { margin: 0 0 0 26%; aspect-ratio: 4 / 5; overflow: hidden; }
.rz-media-intro figure img { width: 100%; height: 100%; object-fit: cover; }
.rz-media-intro .rz-copy { display: grid; gap: 28px; max-width: 400px; }
.rz-media-intro h2 { font-size: var(--head-l); }
.rz-media-intro p { max-width: 330px; }

/* contact over video */
.rz-contact { display: grid; grid-template-rows: auto 1fr auto; padding: calc(64px + 4vh) var(--pad) 8vh; }
.rz-contact::after { background: linear-gradient(180deg, rgba(18,16,14,.7) 0%, rgba(18,16,14,.2) 32%, rgba(18,16,14,.1) 45%, rgba(18,16,14,.82) 78%, rgba(18,16,14,.9) 100%); }
.rz-contact > h2 { grid-row: 1; font-size: var(--head-xl); max-width: 13ch; }
.rz-contact > .rz-row { grid-row: 3; }
.rz-contact-actions { display: grid; gap: 12px; justify-items: start; }
.rz-contact-actions .rz-btn { min-width: 250px; }
.rz-card::after { background: linear-gradient(180deg, rgba(18,16,14,.5) 0%, rgba(18,16,14,0) 28%, rgba(18,16,14,0) 48%, rgba(18,16,14,.78) 100%) !important; }
.rz-contact .rz-row { display: grid; grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 1fr)); gap: 32px; align-items: end; }
.rz-contact .rz-place { display: grid; gap: 8px; font-size: 12.5px; letter-spacing: 0.03em; }
.rz-contact .rz-place b { font-family: var(--display); font-weight: 400; font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; }
.rz-contact .rz-place a { text-decoration: none; }
.rz-contact .rz-place a:hover { color: var(--red); }
.rz-fill { border: 1px dashed rgba(248,244,236,.6); padding: 1px 6px; border-radius: 3px; width: fit-content; }
.rz-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding-inline: 26px; background: var(--red); color: var(--light); font-family: var(--display); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; border: 0; border-radius: 2px; cursor: pointer; transition: background-color .25s; }
.rz-btn:hover { background: var(--red-deep); }
.rz-btn-lg { min-height: 56px; padding-inline: 34px; font-size: 14px; }
.rz-btn-ghost { background: transparent; color: var(--light); box-shadow: inset 0 0 0 1px var(--light); }
.rz-btn-ghost:hover { background: var(--light); color: var(--ink); }

/* footer */
.rz-footer { padding: 120px var(--pad) 28px; background: var(--cream); }
.rz-footer .rz-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.rz-footer .rz-about { display: grid; gap: 22px; max-width: 290px; }
.rz-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-family: var(--display); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; }
.rz-footer ul a { text-decoration: none; }
.rz-footer ul a:hover { color: var(--red); }
.rz-footer .rz-lists { display: grid; gap: 36px; justify-self: center; }
.rz-footer .rz-contact-col { display: grid; gap: 12px; justify-self: end; text-align: right; font-size: 14px; }
.rz-footer .rz-contact-col a { text-decoration: none; }
.rz-footer .rz-wordmark { margin-top: 110px; }
.rz-footer .rz-wordmark img { width: 100%; height: auto; }
.rz-footer .rz-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 22px; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-dark); }

/* reserve dialog */
.rz-reserve { width: min(520px, calc(100% - 32px)); border: 0; padding: 40px; background: var(--cream); color: var(--ink); border-radius: 2px; }
.rz-reserve::backdrop { background: rgba(18,16,14,.6); backdrop-filter: blur(3px); }
.rz-reserve h2 { font-size: var(--head-m); margin-bottom: 18px; }
.rz-reserve ul { list-style: none; margin: 0 0 18px; padding: 0; }
.rz-reserve li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid rgba(27,25,23,.15); }
.rz-reserve li b { display: block; font-family: var(--display); font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; font-size: 17px; }
.rz-reserve li span { font-size: 13px; color: var(--muted-dark); }
.rz-reserve .rz-close { background: none; border: 0; font: inherit; text-decoration: underline; cursor: pointer; color: var(--muted-dark); padding: 6px 0; }

/* scroll reveal (only when JS runs) */
@media (prefers-reduced-motion: reduce) {
  .js .rz-rv { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .rz-card img, .rz-more::after { transition: none; }
  .rz-pause { display: none; }
}

/* ── Phone ── */
@media (max-width: 900px) {
  .rz-overlay { grid-template-columns: 1fr; }
  .rz-overlay figure { display: none; }
  .rz-split { grid-template-columns: 1fr; }
  .rz-split .rz-copy { padding: 48px var(--pad); gap: 32px; }
  .rz-intro .inner { margin-left: 0; }
  .rz-track { grid-auto-columns: 82%; }
  .rz-arrows { gap: 60px; }
  .rz-media-intro { grid-template-columns: 1fr; gap: 32px; padding-block: 72px; }
  .rz-media-intro figure { margin: 0; max-width: 360px; }
  .rz-contact .rz-row { grid-template-columns: 1fr 1fr; padding-top: 110px; }
  .rz-contact::after { background: rgba(18,16,14,.72); }
  .rz-contact-actions { grid-column: 1 / -1; }
  .rz-product-grid { gap: 26px 16px; }
  .rz-contact h2 { grid-column: 1 / -1; }
  .rz-footer .rz-top { grid-template-columns: 1fr; }
  .rz-footer .rz-lists, .rz-footer .rz-contact-col { justify-self: start; text-align: left; }
  .rz-text-image .rz-corner { justify-self: start; }
}
@media (max-width: 520px) {
  .rz-contact .rz-row { grid-template-columns: 1fr; }
  .rz-book { font-size: 12px; }
  .rz-logo img { height: 24px; }
}


/* ── v3: entrance animations, masked parallax, Scroll label hidden ──────────── */
.rz-hero .rz-scroll { display: none; }

/* masked parallax: the frame stays put, the picture drifts inside it (set by script as --py) */
.js .rz-px { transform: translate3d(0, var(--py, 0px), 0) scale(1.16); will-change: transform; transition: scale 1.2s var(--ease); }
.js .rz-px.rz-zoom { scale: 1.05; }

/* text rises out of a mask, line block by line block */
.js .rz-rv { opacity: 0; clip-path: inset(0 0 100% 0); transform: translateY(42px); transition: opacity .9s var(--ease) var(--d, 0s), transform 1.25s var(--ease) var(--d, 0s), clip-path 1.25s var(--ease) var(--d, 0s); }
.js .rz-rv.rz-in { opacity: 1; clip-path: inset(-30% -10% -30% -10%); transform: none; }
/* buttons and small blocks: a softer rise */
.js .rz-rv-soft { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s); }
.js .rz-rv-soft.rz-in { opacity: 1; transform: none; }

/* hero: on load, the headline then the buttons */
.js .rz-hero h1 { animation: rz-rise 1.4s var(--ease) .25s both; }
.js .rz-hero .rz-hero-actions > * { animation: rz-fade-up 1s var(--ease) both; }
.js .rz-hero .rz-hero-actions > :nth-child(1) { animation-delay: .85s; }
.js .rz-hero .rz-hero-actions > :nth-child(2) { animation-delay: 1s; }
.js .rz-hero .rz-pause { animation: rz-fade-up 1s var(--ease) 1.3s both; }
.js .rz-hero > .rz-bg { animation: rz-settle 2.4s var(--ease) both; }
.js .rz-site-header { animation: rz-fade-down 1s var(--ease) .1s both; }
@keyframes rz-rise { from { opacity: 0; clip-path: inset(0 0 100% 0); transform: translateY(60px); } to { opacity: 1; clip-path: inset(-30% -10% -30% -10%); transform: none; } }
@keyframes rz-fade-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes rz-fade-down { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@keyframes rz-settle { from { opacity: 0; scale: 1.08; } to { opacity: 1; scale: 1; } }

@media (prefers-reduced-motion: reduce) {
  .js .rz-px { transform: none; transition: none; scale: none; }
  .js .rz-rv, .js .rz-rv-soft { opacity: 1; clip-path: none; transform: none; transition: none; }
  .js .rz-hero h1, .js .rz-hero .rz-hero-actions > *, .js .rz-hero .rz-pause, .js .rz-hero > .rz-bg, .js .rz-site-header { animation: none; }
}


/* ── v4: line reveals, menu choreography, transparent header, vertical wordmark ──────── */
:root { --ease-expo: cubic-bezier(0.19, 1, 0.22, 1); --ease-panel: cubic-bezier(0.77, 0, 0.18, 1); }

/* header: always transparent; its ink follows what is under it */
.rz-site-header, .rz-site-header.rz-is-solid, .menu-open .rz-site-header { background: transparent; backdrop-filter: none; transition: color .5s var(--ease); }
.rz-site-header .rz-book, .rz-site-header .rz-burger span { transition: color .5s var(--ease), background-color .5s var(--ease), transform .5s var(--ease-expo), opacity .3s; }
.rz-site-header .rz-logo img { transition: filter .5s var(--ease); }
.rz-site-header.rz-on-light .rz-book { color: var(--ink); }
.rz-site-header.rz-on-light .rz-book:hover { color: var(--red); }
.rz-site-header.rz-on-light .rz-burger span { background: var(--ink); }
.rz-site-header.rz-on-light .rz-logo img { filter: none; }

/* text split into lines, each rising out of its own mask */
.rz-line { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.rz-line-in { display: block; transform: translate3d(0, 108%, 0) rotate(2.5deg); transform-origin: 0 0; transition: transform 1.35s var(--ease-expo) var(--ld, 0s); will-change: transform; }
.rz-st.rz-in .rz-line-in { transform: none; }
.js .rz-hero h1 { animation: none; }

/* buttons, links, cards: a calmer rise, in sequence */
.js .rz-rv-soft { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity 1s var(--ease) var(--d, 0s), transform 1.3s var(--ease-expo) var(--d, 0s); }
.js .rz-rv-soft.rz-in { opacity: 1; transform: none; }
.js .rz-hero .rz-hero-actions > * { animation: rz-fade-up 1.2s var(--ease-expo) both; }
.js .rz-hero .rz-hero-actions > :nth-child(1) { animation-delay: 1.05s; }
.js .rz-hero .rz-hero-actions > :nth-child(2) { animation-delay: 1.17s; }
/* cards and product photos open like a curtain */
.js .rz-card.rz-rv-soft, .js .rz-product-grid > li.rz-rv-soft { opacity: 1; transform: none; clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease-panel) var(--d, 0s); }
.js .rz-card.rz-rv-soft.rz-in, .js .rz-product-grid > li.rz-rv-soft.rz-in { clip-path: inset(0 0 0 0); }

/* menu: the panel wipes down, then its items rise one by one */
.rz-overlay { opacity: 1; clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .85s var(--ease-panel) .2s, visibility 0s 1.05s; }
.menu-open .rz-overlay { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .95s var(--ease-panel), visibility 0s; }
.rz-overlay nav > a, .rz-overlay .rz-small { opacity: 0; transform: translate3d(0, 40px, 0); transition: opacity .25s var(--ease), transform .35s var(--ease); }
.menu-open .rz-overlay nav > a, .menu-open .rz-overlay .rz-small { opacity: 1; transform: none; transition: opacity .8s var(--ease) calc(.45s + var(--i, 0) * .065s), transform 1.1s var(--ease-expo) calc(.45s + var(--i, 0) * .065s); }
.rz-overlay figure { overflow: hidden; }
.rz-overlay figure img { transform: scale(1.18); transition: transform 1.6s var(--ease-expo); }
.menu-open .rz-overlay figure img { transform: scale(1); transition-delay: .25s; }
.rz-overlay figure figcaption { opacity: 0; transition: opacity .3s; }
.menu-open .rz-overlay figure figcaption { opacity: 1; transition: opacity .8s var(--ease) .9s; }

/* the vertical Renzo's wordmark in the red panel: drawn upward and drifting with the scroll */
.rz-split .rz-copy { position: relative; isolation: isolate; overflow: hidden; }
.rz-split .rz-copy::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: min(76svh, 740px); aspect-ratio: 3423 / 1080;
  top: 50%; left: calc(100% - 4% - min(76svh, 740px) * 0.1578);
  background: url("img/renzos-wordmark.svg") center / contain no-repeat;
  opacity: .11;
  transform: translate(-50%, -50%) rotate(-90deg) translate3d(var(--wmx, 0%), 0, 0);
  clip-path: inset(0 calc((1 - var(--wmr, 1)) * 100%) 0 0);
}
@media (max-width: 900px) { .rz-split .rz-copy::before { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .rz-line-in { transform: none; transition: none; }
  .js .rz-card.rz-rv-soft, .js .rz-product-grid > li.rz-rv-soft { clip-path: none; }
  .rz-overlay, .menu-open .rz-overlay { clip-path: none; transition: visibility 0s; }
  .rz-overlay nav > a, .rz-overlay .rz-small, .rz-overlay figure img, .rz-overlay figure figcaption { opacity: 1; transform: none; transition: none; }
}

/* header: always a strong frosted blur over whatever passes under it */
.rz-site-header, .rz-site-header.rz-is-solid, .menu-open .rz-site-header { background: rgba(18, 16, 14, 0.12); -webkit-backdrop-filter: blur(22px) saturate(140%); backdrop-filter: blur(22px) saturate(140%); }
.rz-site-header.rz-on-light { background: rgba(242, 238, 230, 0.35); }

/* hero buttons: fade and blur away as you scroll down, come back sharp on the way up */
.js .rz-hero .rz-hero-actions { opacity: var(--hb-o, 1) !important; transform: translate3d(0, var(--hb-y, 0px), 0) !important; filter: blur(var(--hb-b, 0px)); transition: none !important; will-change: opacity, filter, transform; }
@media (prefers-reduced-motion: reduce) { .js .rz-hero .rz-hero-actions { opacity: 1 !important; transform: none !important; filter: none; } }
