/**
 * RAWZA homepage design layer.
 *
 * Loaded on the front page only (inc/rawza/front-page.php). Every rule is
 * scoped to body.rawza-home so GeneratePress styles elsewhere stay untouched.
 * Specificity convention: element resets use `body.rawza-home :where(...)`
 * (0,1,1) to override GeneratePress element rules; components use
 * `.rawza-home .class` (0,2,0) so they always win over those resets.
 */

@font-face {
	font-family: 'Cormorant Garamond';
	src: url('../fonts/CormorantGaramond-variable-latin.woff2') format('woff2');
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
}

/* Georgia scaled to Cormorant's width and line metrics: while the webfont is
 * still loading, headings keep their line breaks and nothing jumps on swap. */
@font-face {
	font-family: 'Marcellus';
	src: url('../fonts/Marcellus-latin.woff2') format('woff2');
	font-style: normal;
	font-weight: 400;
	font-display: swap;
}

@font-face {
	font-family: 'Cormorant Fallback';
	src: local('Georgia');
	size-adjust: 90%;
	ascent-override: 102%;
	descent-override: 32%;
	line-gap-override: 0%;
}

/* ---------- Tokens ---------- */
.rawza-home {
	--black: #141311;
	--chocolate: #2a1a12;
	--header-background: var(--chocolate);
	--header-overlay: rgb(42 26 18 / 88%);
	--green: #15231c;
	--green-dark: #0d1712;
	--wine: #641f25;
	--wine-hover: #7d2c33;
	--gold: #edbd76;
	--paper: #f3ebdd;
	--ink: var(--chocolate);
	--muted: #6b5c51;
	--line: #cdbda4;
	--serif: 'Baskerville', 'Palatino Linotype', 'Book Antiqua', Georgia, serif;
	--heading: 'Cormorant Garamond', 'Cormorant Fallback', Georgia, serif;
	--sans: 'Segoe UI', Arial, sans-serif;
	--button-font: 'Marcellus', 'Trajan Pro', var(--serif);
	--container: 1260px;
}

/* ---------- GeneratePress wrappers on the homepage ---------- */
html { scroll-padding-top: 88px; }
body.rawza-home { position: relative; margin: 0; background: var(--green-dark); color: var(--ink); font: 16px/1.65 var(--sans); }
body.rawza-home.dialog-open { overflow: hidden; }
.rawza-home .site.grid-container,
.rawza-home .site-content { display: block; max-width: none; width: 100%; margin: 0; padding: 0; background: none; }
.rawza-home .site-footer { background: none; padding: 0; }

/* ---------- Element resets (scoped) ---------- */
body.rawza-home :where(*, *::before, *::after) { box-sizing: border-box; }
body.rawza-home :where(button, input, select) { font: inherit; }
body.rawza-home :where(button, a) { -webkit-tap-highlight-color: transparent; }
body.rawza-home :where(button) { cursor: pointer; color: inherit; background: none; border: 0; padding: 0; border-radius: 0; line-height: inherit; transition: none; }
body.rawza-home :where(button:hover, button:focus) { color: inherit; background: none; }
body.rawza-home :where(a) { color: inherit; text-decoration: none; }
body.rawza-home :where(a:hover, a:focus, a:active) { color: inherit; }
body.rawza-home :where(.rz-header, .rz-main, .rz-footer, .rz-dialog) img { display: block; width: 100%; height: 100%; max-width: none; min-width: 0; min-height: 0; object-fit: cover; }
body.rawza-home :where(figure, blockquote, h1, h2, h3, p, ul) { margin: 0; }
body.rawza-home :where(h1, h2, h3) { font-family: var(--heading); font-weight: 420; color: inherit; text-transform: none; }
body.rawza-home :where(h1, h2) { line-height: 1.18; text-wrap: balance; }
body.rawza-home :where(h2) { font-size: clamp(36px, 3.6vw, 56px); letter-spacing: -.01em; }
body.rawza-home :where(p + p) { margin-top: 14px; }
body.rawza-home :where(button, a, input, select):focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }
.rawza-home .section-paper :is(button, a):focus-visible,
.rawza-home .modal :is(button, a, input, select):focus-visible { outline-color: var(--ink); }

/* ---------- Shared components ---------- */
.rawza-home .svg-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.rawza-home .rz-icon { display: inline-block; flex: 0 0 auto; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.rawza-home .rz-arrow { display: inline-flex; flex: 0 0 auto; }
.rawza-home .rz-arrow .rz-icon { width: 16px; height: 16px; }
.rawza-home .rz-button .rz-arrow { transition: translate .3s cubic-bezier(.16, 1, .3, 1); }
.rawza-home .rz-button:is(:hover, :focus-visible) .rz-arrow { translate: 4px 0; }
.rawza-home .rz-button:is(:hover, :focus-visible) .rz-arrow:has(use[href="#icon-arrow-up-right"]) { translate: 3px -3px; }
.rawza-home :is(.gallery-prev, .gallery-next) { display: grid; place-items: center; }
.rawza-home :is(.gallery-prev, .gallery-next) .rz-icon { width: 20px; height: 20px; }
.rawza-home .heading-brand { font-kerning: none; letter-spacing: .025em; }
.rawza-home .rz-container { width: min(var(--container), calc(100% - 112px)); margin-inline: auto; padding: 0; }
.rawza-home .eyebrow { margin-bottom: 16px; color: #8c6637; font-family: var(--button-font); text-transform: uppercase; letter-spacing: .2em; font-size: 12px; font-weight: 400; line-height: 1.5; }
.rawza-home .rz-button { display: inline-flex; align-items: center; justify-content: center; gap: 23px; position: relative; min-height: 50px; padding: 13px 26px; border: 1px solid var(--gold); border-radius: 0; font-family: var(--button-font); font-size: 12px; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; font-weight: 400; text-decoration: none; transition: background .2s, color .2s, transform .2s; }
.rawza-home .rz-button:hover { transform: translateY(-2px); }
.rawza-home .rz-button--wine { background: var(--wine); color: var(--paper); border-color: transparent; }
.rawza-home .rz-button--wine:is(:hover, :focus) { background: var(--wine-hover); color: var(--paper); }
.rawza-home .rz-button--outline { color: var(--paper); background: transparent; border-color: #edbd7680; }
.rawza-home .rz-button--outline:is(:hover, :focus) { background: #243b2d; color: var(--paper); }
.rawza-home .rz-button--gold { color: var(--ink); background: var(--gold); }
.rawza-home .rz-button--gold:is(:hover, :focus) { background: var(--paper); color: var(--ink); }
.rawza-home .rz-button--small { min-height: 42px; padding: 11px 19px; font-size: 11px; }
.rawza-home .button-row { display: flex; gap: 16px; flex-wrap: wrap; }
.rawza-home .text-link { position: relative; display: inline-flex; align-items: center; gap: 20px; margin-top: 24px; padding: 0 0 6px; border: 0; border-bottom: 1px solid var(--gold); background: none; color: #79572f; font-size: 13px; font-weight: 600; letter-spacing: .015em; }
.rawza-home .text-link::after { content: ''; position: absolute; inset: -9px 0; } /* 44px tap area, underline stays put */
.rawza-home .text-link > span { color: var(--gold); }
.rawza-home .text-link:is(:hover, :focus) { color: var(--wine); border-color: var(--wine); background: none; }

/* ---------- Header ---------- */
.rawza-home .rz-header { position: absolute; inset: 0 0 auto; z-index: 10; color: var(--paper); background: var(--header-overlay); border-bottom: 1px solid #edbd7633; box-shadow: 0 8px 30px #050a0733; }
.rawza-home .rz-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; width: min(var(--container), calc(100% - 112px)); min-height: 100px; margin: auto; }
.rawza-home .rz-header-logo,
.rawza-home .footer-logo { display: block; width: 200px; color: var(--gold); }
.rawza-home .rz-header-logo { flex: 0 0 auto; }
.rawza-home .rz-header-logo > img,
.rawza-home .footer-logo > img { display: block; width: 100%; height: auto; object-fit: contain; }
.rawza-home .rz-header-name { font: 420 30px/1 var(--heading); letter-spacing: .08em; }
.rawza-home .rz-header .rz-button--small { min-height: 46px; font-size: 12px; background: #75262d; }
.rawza-home .rz-header .rz-button--small:is(:hover, :focus) { background: var(--wine-hover); }
.rawza-home .rz-nav { display: flex; align-items: center; gap: 33px; }
.rawza-home .rz-nav-list { display: flex; align-items: center; gap: 33px; margin: 0; padding: 0; list-style: none; }
.rawza-home .rz-nav-list li { margin: 0; padding: 0; }
.rawza-home .rz-nav-list a { display: block; padding: 12px 0; color: var(--paper); font-size: 14px; font-weight: 500; letter-spacing: .015em; }
.rawza-home .rz-nav-list a:is(:hover, :focus) { color: var(--gold); }
.rawza-home .rz-nav-list a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 9px; text-decoration-thickness: 1px; }
.rawza-home .rz-menu-toggle { display: none; }

/* ---------- Hero + Ons verhaal (sticky overlap) ---------- */
.rawza-home .hero-story { position: relative; }
.rawza-home .hero { --hero-height: max(740px, min(820px, 59vw)); height: var(--hero-height); position: sticky; top: min(0px, calc(100svh - var(--hero-height))); isolation: isolate; overflow: clip; display: grid; align-items: center; color: var(--paper); background: #1c160e; }
.rawza-home .hero-image,
.rawza-home .hero-shade,
.rawza-home .cuisine-image,
.rawza-home .cuisine-shade { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.rawza-home .hero-image { object-position: 60% 52%; }
.rawza-home .hero-shade { background: radial-gradient(ellipse at center, #080c09b8 0%, #080c0980 45%, #080c0933 100%), linear-gradient(0deg, #080c094d, transparent 35%, #090a0833); }
.rawza-home .hero-content { padding-block: 64px; text-align: center; }
.rawza-home .hero .button-row { justify-content: center; }
.rawza-home .hero-logo { width: clamp(240px, 30vw, 380px); max-width: 85%; height: auto; margin: 0 auto 24px; object-fit: contain; }
/* Logo cropped to its visible pixels (see rawza_trimmed_image()). */
.rawza-home .rz-trim { display: block; overflow: hidden; aspect-ratio: var(--trim-ratio); }
.rawza-home .rz-trim > img { display: block; width: var(--trim-width); max-width: none; height: auto; margin: var(--trim-top) 0 0 var(--trim-left); }
.rawza-home .hero-logo-frame { width: clamp(280px, 27vw, 400px); max-width: 82%; margin: 0 auto 40px; }
.rawza-home .hero h1 { max-width: 34ch; margin-inline: auto; font-size: clamp(26px, 2.3vw, 34px); font-weight: 420; letter-spacing: -.005em; color: var(--paper); line-height: 1.25; text-wrap: balance; }
.rawza-home .hero-intro { margin: 12px 0 34px; font: italic 20px/1.45 var(--serif); color: color-mix(in srgb, var(--paper) 82%, transparent); }
.rawza-home .section-paper { background-color: var(--paper); background-image: url('../img/paper-grain.svg'); background-size: 180px 180px; background-blend-mode: soft-light; }
.rawza-home .story { position: relative; isolation: isolate; z-index: 2; padding: 80px 0 72px; overflow-x: clip; }
.rawza-home .story-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 92px; align-items: center; position: relative; }
.rawza-home .story-copy { max-width: 460px; }
.rawza-home .story-copy h2 { font-size: clamp(38px, 3.6vw, 56px); }
.rawza-home .story-copy > p:not(.eyebrow) { margin-top: 24px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.rawza-home .story-copy > p:not(.eyebrow) + p { margin-top: 14px; }
/* personal quote + highlights: optional, only rendered when filled */
.rawza-home .story-quote { margin: 30px 0 0; padding-left: 22px; border-left: 1px solid var(--gold); }
.rawza-home .story-quote blockquote { margin: 0; padding: 0; border: 0; }
.rawza-home .story-quote blockquote p { margin: 0; color: var(--ink); font: italic 400 22px/1.4 var(--heading); }
.rawza-home .story-quote figcaption { margin-top: 12px; color: #8c6637; font-family: var(--button-font); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.rawza-home .story-highlights { display: flex; flex-wrap: wrap; gap: 8px 0; margin: 28px 0 0; padding: 0; list-style: none; }
.rawza-home .story-highlights li { margin: 0; color: #79572f; font-family: var(--button-font); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.rawza-home .story-highlights li + li::before { content: ''; display: inline-block; width: 1px; height: .9em; margin: 0 16px; background: var(--gold); vertical-align: -.1em; }
.rawza-home .story .text-link { margin-top: 30px; font-family: var(--button-font); font-size: 12px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; }
.rawza-home .story-images { position: relative; display: grid; grid-template-columns: 1.65fr 1fr; grid-template-rows: minmax(0, 1.1fr) minmax(0, .9fr); gap: 9px; height: 520px; }
.rawza-home .story-main { grid-row: 1 / 3; }
.rawza-home .story-lamp { object-position: 50% 52%; }
.rawza-home .section-wave { position: absolute; z-index: 1; top: -1px; left: 0; display: block; height: 55px; width: 100%; fill: var(--paper); pointer-events: none; }

/* ---------- Menukaart ---------- */
.rawza-home .cuisine { position: relative; isolation: isolate; overflow: hidden; background: var(--green); color: var(--paper); min-height: 510px; display: flex; align-items: center; }
/* The flower sits whole in the left margin, centred, and scales with it, so it never runs behind the heading or off the screen. Hidden where that margin is too narrow (see max-width 1499px). */
.rawza-home .cuisine::after { --flower-margin: max(56px, (100vw - var(--container)) / 2); --flower-width: clamp(72px, var(--flower-margin) - 64px, 220px); content: ''; position: absolute; z-index: -1; left: calc((var(--flower-margin) - var(--flower-width)) / 2); top: 50%; width: var(--flower-width); height: 340px; background: url('../img/rawza-flower-512.png') center / contain no-repeat; transform: translateY(-50%) rotate(-10deg); opacity: .4; pointer-events: none; }
.rawza-home .cuisine-image { left: 22%; width: 78%; object-position: 70% 60%; mask-image: linear-gradient(90deg, transparent, #000 36%); }
.rawza-home .cuisine-shade { background: linear-gradient(90deg, #15231c 0%, #15231cf5 23%, #15231cb3 36%, #15231c33 53%, #15231c00 70%), linear-gradient(0deg, #101a1426, transparent 45%); }
.rawza-home .cuisine-content { padding: 100px 0 65px; }
.rawza-home .cuisine .eyebrow { color: var(--gold); }
.rawza-home .cuisine-content > p:not(.eyebrow) { width: min(350px, 100%); margin: 23px 0 25px; color: #e1e0d5; font-size: 14px; }

/* ---------- Bestellen ---------- */
.rawza-home .takeaway { position: relative; isolation: isolate; overflow: hidden; padding: 72px 0 124px; }
.rawza-home .takeaway::before { content: ''; position: absolute; z-index: -1; inset: auto 0 0; height: 190px; background: #8c6637; mask: url('../img/afghan-mountains-v2.webp') center bottom / cover no-repeat; opacity: .24; pointer-events: none; }
.rawza-home .takeaway-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.rawza-home .takeaway-copy { max-width: 440px; }
.rawza-home .takeaway h2 { max-width: 18ch; font-size: clamp(36px, 3vw, 46px); }
.rawza-home .takeaway-copy > p:not(.eyebrow) { margin-top: 24px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.rawza-home .takeaway .rz-button { margin-top: 22px; }
.rawza-home .takeaway-photo img { height: clamp(260px, 23vw, 320px); object-position: 50% 55%; }
.rawza-home .takeaway-photo figcaption { margin-top: 10px; color: var(--muted); font-size: 12px; }

/* ---------- Beleving + galerie ---------- */
.rawza-home .experience { position: relative; isolation: isolate; padding: 40px 0 88px; overflow: hidden; }
/* Every homepage section overlaps the previous one by 1px. Otherwise WebKit (Safari, and every iOS browser) at a fractional zoom, such as desktop mode on a phone, shows the dark page background as a hairline between sections. */
.rawza-home .rz-main > :is(section, .hero-story) + section { margin-top: -1px; }
.rawza-home .experience-grid { display: block; }
.rawza-home .experience-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 64px; margin-bottom: 32px; }
.rawza-home .experience-copy h2 { font-size: clamp(34px, 3vw, 46px); }
.rawza-home .experience-description > p { max-width: 50ch; color: var(--muted); font-size: 16px; line-height: 1.75; }
.rawza-home .rz-gallery { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: 24px 284px 96px 160px; gap: 16px; width: 100%; max-width: 1040px; margin-inline-start: auto; }
.rawza-home .gallery-item { display: block; border: 0; padding: 0; background: var(--green); position: relative; overflow: hidden; }
.rawza-home .gallery-item--empty { background: #e6dccb; }
.rawza-home .gallery-item img { transition: transform .45s ease; }
.rawza-home .gallery-item:hover img { transform: scale(1.04); }
.rawza-home .gallery-item > span { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 28px; height: 28px; color: var(--paper); background: #15231cbb; opacity: 0; transition: opacity .2s; }
.rawza-home .gallery-item:hover > span,
.rawza-home .gallery-item:focus-visible > span { opacity: 1; }
.rawza-home .gallery-dining { grid-column: 1 / 9; grid-row: 1 / 3; }
.rawza-home .gallery-flowers { grid-column: 9 / 13; grid-row: 2 / 4; }
.rawza-home .gallery-details { grid-column: 9 / 13; grid-row: 4 / 5; }
.rawza-home .gallery-cushions { grid-column: 3 / 9; grid-row: 3 / 5; }

/* ---------- Review ---------- */
.rawza-home .testimonial { position: relative; isolation: isolate; overflow: hidden; background: var(--green-dark); padding: 64px 0 128px; color: var(--paper); text-align: center; }
.rawza-home .review-background { position: absolute; z-index: -2; inset: -12px; width: calc(100% + 24px); height: calc(100% + 24px); object-position: 65% 40%; filter: blur(7px); opacity: .32; }
.rawza-home .testimonial::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, var(--green-dark), #0d171200 45%), linear-gradient(90deg, #10191099, #101910b8 50%, #0c140fe6); }
.rawza-home .review-inner { position: relative; max-width: 920px; }
.rawza-home .testimonial .eyebrow { color: var(--gold); margin-bottom: 16px; }
.rawza-home .testimonial h2 { max-width: 24ch; margin-inline: auto; font-size: clamp(26px, 2.3vw, 34px); }
.rawza-home .review-intro { margin-top: 16px; color: #d8d6c8; font-size: 14px; }
.rawza-home .quote-mark { display: block; margin: 24px 0 -12px; color: var(--gold); font: 64px/.9 var(--serif); }
.rawza-home .testimonial blockquote { max-width: 38ch; margin-inline: auto; padding: 8px 0 0; border: 0; font: italic clamp(27px, 2.8vw, 40px)/1.5 var(--serif); color: var(--paper); text-wrap: balance; }
.rawza-home .testimonial blockquote p { margin: 0; }
.rawza-home .testimonial figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 12px; margin-top: 24px; font-size: 12px; color: var(--gold); }
.rawza-home .testimonial figcaption .review-stars { flex-basis: 100%; justify-content: center; }
.rawza-home .review-author { font-family: var(--button-font); font-size: 12px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; }
.rawza-home .review-source { color: #d8d6c8; font-size: 11px; letter-spacing: .04em; }
/* Several reviews share one grid cell: the section keeps the height of the longest, nothing shifts when they change. */
.rawza-home .review-slides { display: grid; }
.rawza-home .review-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; translate: 0 8px; transition: opacity .6s ease, translate .6s ease, visibility 0s .6s; }
.rawza-home .review-slide.is-active { opacity: 1; visibility: visible; translate: none; transition: opacity 1s ease .45s, translate 1.2s var(--rz-ease, ease-out) .45s, visibility 0s; }
.rawza-home .review-stars { display: inline-flex; gap: 3px; }
.rawza-home .review-stars .rz-icon { width: 13px; height: 13px; fill: var(--gold); stroke: none; }
.rawza-home .review-stars .rz-icon.is-empty { fill: none; stroke: var(--gold); stroke-width: 1.5; opacity: .55; }
.rawza-home .review-footer { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 30px; }
.rawza-home .review-dots { display: flex; justify-content: center; }
.rawza-home .review-dot { position: relative; width: 52px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.rawza-home .review-dot::before,
.rawza-home .review-dot::after { content: ''; position: absolute; inset: 21px 8px auto; height: 1px; background: color-mix(in srgb, var(--gold) 32%, transparent); transition: background .2s; }
.rawza-home .review-dot::after { background: var(--gold); transform: scaleX(0); transform-origin: left; }
.rawza-home .review-dot:is(:hover, :focus-visible)::before { background: color-mix(in srgb, var(--gold) 70%, transparent); }
.rawza-home .review-dot[aria-pressed="true"]::after { transform: none; }
/* Autoplay: the gold line of the active review fills up; when it is full home.js shows the next one. */
.rawza-home .testimonial.is-playing .review-dot[aria-pressed="true"]::after { animation: rz-review-progress 7s linear both; }
.rawza-home .testimonial.is-paused .review-dot[aria-pressed]::after { animation-play-state: paused; }
@keyframes rz-review-progress { from { transform: scaleX(0); } to { transform: none; } }
.rawza-home .review-summary { font-size: 12px; color: #d8d6c8; }
.rawza-home .review-summary > :is(a, span) { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.rawza-home .review-summary a { color: inherit; text-decoration: none; transition: color .2s; }
.rawza-home .review-summary a > span:not(.screen-reader-text) { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--gold) 55%, transparent); text-underline-offset: 5px; }
.rawza-home .review-summary a:is(:hover, :focus-visible) { color: var(--gold); }
.rawza-home .review-summary .review-stars { text-decoration: none; }
.rawza-home .review-summary .rz-arrow { color: var(--gold); }

/* ---------- Reserveren ---------- */
.rawza-home .reservation { position: relative; isolation: isolate; padding: 1px 0 80px; }
.rawza-home .reservation--standalone { padding-top: 0; }
.rawza-home .reservation-card { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 480px; margin-top: -56px; overflow: hidden; border: 1px solid #edbd7680; background: var(--paper); background-image: url('../img/paper-grain.svg'); background-size: 180px 180px; background-blend-mode: soft-light; box-shadow: 0 10px 28px #3026160d; }
.rawza-home .reservation--standalone .reservation-card { margin-top: 0; }
.rawza-home .reservation-card--no-photo { grid-template-columns: 1fr; min-height: 0; }
.rawza-home .reservation-photo { min-height: 100%; }
.rawza-home .reservation-photo img { object-position: 45% 50%; }
.rawza-home .reservation-copy { position: relative; isolation: isolate; padding: 56px clamp(32px, 4.5vw, 75px); align-self: center; }
.rawza-home .reservation-copy::after { content: ''; position: absolute; z-index: -1; right: -26px; top: 150px; width: 130px; height: 240px; background: url('../img/rawza-flower-512.png') center / contain no-repeat; opacity: .2; pointer-events: none; }
.rawza-home .reservation-copy .eyebrow { margin-bottom: 16px; }
.rawza-home .reservation h2 { font-size: clamp(32px, 2.9vw, 44px); }
.rawza-home .reservation-copy > p:not(.eyebrow) { color: var(--muted); margin-top: 24px; max-width: 365px; font-size: 15px; line-height: 1.75; }
.rawza-home .button--reservation { margin-top: 28px; min-height: 57px; padding-inline: 30px; }
.rawza-home .practical-info { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 32px; }
.rawza-home .practical-info > div { display: flex; gap: 13px; }
.rawza-home .info-icon { color: #9a703e; width: 29px; height: 29px; stroke-width: 1.4; }
.rawza-home .practical-info h3 { margin: 0; font-size: 14px; font-weight: 420; line-height: 1.5; color: #795b35; }
.rawza-home .practical-info p { font-size: 13px; color: var(--muted); margin-top: 4px; }
.rawza-home .practical-info a:is(:hover, :focus) { color: var(--wine); text-decoration: underline; }
.rawza-home .practical-info p > a { display: inline-block; padding-block: 12px; margin-block: -12px; } /* larger tap area, same layout */

/* ---------- Footer ---------- */
.rawza-home .rz-footer { position: relative; isolation: isolate; overflow: hidden; color: var(--paper); padding-top: 56px; border-top: 1px solid #edbd7680; background: var(--black); font-size: 14px; }
.rawza-home .rz-footer::before { content: ''; position: absolute; z-index: -2; inset: -30% -8% -30% 60%; background: url('../img/footer-relief-v4.webp') center / cover no-repeat; mask-image: linear-gradient(90deg, transparent 10%, #000 85%); opacity: .22; pointer-events: none; }
.rawza-home .rz-footer::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #14131100 55%, #14131133); pointer-events: none; }
.rawza-home .footer-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .6fr) minmax(0, 1fr) minmax(260px, 1.2fr); gap: 36px; padding: 0 0 40px; }
.rawza-home .footer-logo { width: 170px; max-width: 100%; }
.rawza-home .footer-brand > p { margin-top: 22px; line-height: 1.7; }
.rawza-home .rz-footer h2 { font: 420 19px/1.5 var(--heading); margin: 3px 0 14px; color: var(--paper); letter-spacing: 0; }
.rawza-home .footer-menu { margin: 0; padding: 0; list-style: none; }
.rawza-home .footer-menu li { margin: 0; }
.rawza-home .footer-menu a,
.rawza-home .footer-map > a { display: block; padding: 4px 0; color: inherit; font-size: 14px; transition: color .2s, transform .2s; }
.rawza-home .footer-grid a:is(:hover, :focus) { color: var(--gold); }
.rawza-home .footer-menu a:hover,
.rawza-home .footer-map > a:hover { transform: translateX(3px); }
.rawza-home .footer-contact p { display: flex; align-items: flex-start; gap: 8px; margin-top: 7px; }
.rawza-home .footer-contact p > .rz-icon { color: var(--gold); width: 17px; height: 17px; margin-top: 3px; flex-shrink: 0; }
.rawza-home .footer-contact p > a { display: inline-block; min-width: 0; padding-block: 11px; margin-block: -11px; overflow-wrap: anywhere; } /* larger tap area, same layout */
.rawza-home .footer-social { margin-top: 20px; }
.rawza-home .footer-map iframe { display: block; width: 100%; height: 220px; border: 1px solid #edbd7666; background: var(--paper); }
.rawza-home .footer-map > a { margin-top: 12px; }
.rawza-home .footer-map > a > span { margin-left: 8px; color: var(--gold); }
.rawza-home .social-icons { display: flex; align-items: center; gap: 20px; color: var(--gold); height: 26px; }
.rawza-home .social-icons > :is(a, span) { display: inline-flex; align-items: center; justify-content: center; width: 23px; height: 25px; color: var(--gold); }
.rawza-home .social-icons svg { width: 23px; height: 23px; }
.rawza-home .social-facebook { font: 600 29px/1 var(--sans); }
.rawza-home .social-icons > a { position: relative; }
.rawza-home .social-icons > a::after { content: ''; position: absolute; inset: -10px; }
.rawza-home .footer-bottom { border-top: 1px solid #c5b89429; padding: 20px 0 24px; display: flex; gap: 20px; justify-content: space-between; color: #b7b1a7; font-size: 12px; }

/* ---------- Dialogs ---------- */
.rawza-home .modal { width: min(620px, calc(100% - 32px)); max-height: calc(100dvh - 48px); padding: 0; border: 1px solid var(--gold); background: var(--paper); color: var(--ink); }
.rawza-home dialog::backdrop { background: #050b08d9; backdrop-filter: blur(5px); }
.rawza-home .dialog-content { padding: 48px; }
.rawza-home .dialog-content h2 { font-size: 40px; margin-bottom: 20px; }
.rawza-home .dialog-content > p:not(.eyebrow) { font-size: 14px; color: var(--muted); }
.rawza-home .dialog-close { position: absolute; z-index: 2; top: 10px; right: 12px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid #b0956a66; background: var(--paper); font-size: 27px; line-height: 1; color: var(--green); }
.rawza-home .dialog-close:is(:hover, :focus) { background: var(--paper); color: var(--wine); }
.rawza-home .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; }
.rawza-home .modal label { font-size: 12px; font-weight: 600; }
.rawza-home .modal :is(input, select) { display: block; width: 100%; min-width: 0; margin-top: 7px; min-height: 46px; padding: 10px; border: 1px solid #ad9a7c; border-radius: 0; background: #faf5ec; color: var(--ink); font-size: 14px; }
.rawza-home .form-note { margin: 17px 0 23px; font-size: 11px; color: var(--muted); }
.rawza-home .form-status:not(:empty) { padding: 16px; margin-top: 20px; border: 1px solid #627659; color: var(--green); font-size: 14px; background: #e6e9dc; }
.rawza-home .menu-dialog-content > img { height: 210px; margin-bottom: 28px; }
.rawza-home .lightbox { overflow: auto; width: min(1000px, calc(100% - 30px)); max-height: calc(100dvh - 40px); padding: 60px 75px 25px; border: 1px solid #edbd7666; background: var(--green-dark); color: var(--paper); }
.rawza-home .lightbox figure img { height: min(65dvh, 620px); object-fit: contain; }
.rawza-home .lightbox figcaption { text-align: center; font-size: 13px; margin-top: 17px; }
.rawza-home .gallery-prev,
.rawza-home .gallery-next { position: absolute; top: 45%; width: 44px; height: 44px; padding: 0; border: 1px solid var(--gold); color: var(--paper); background: var(--green); font-size: 22px; }
.rawza-home .gallery-prev:is(:hover, :focus),
.rawza-home .gallery-next:is(:hover, :focus) { background: #243b2d; color: var(--paper); }
.rawza-home .gallery-prev { left: 12px; }
.rawza-home .gallery-next { right: 12px; }
.rawza-home .lightbox-counter { margin-top: 12px; text-align: center; font-size: 11px; color: var(--gold); }

/* ---------- Responsive ---------- */
@media (min-width: 1600px) {
	.rawza-home .hero { height: 820px; }
}

@media (max-width: 1499px) {
	.rawza-home .cuisine::after { display: none; }
}

/* Touch screens of any size (tablets too): footer links get a 44px tap area. */
@media (pointer: coarse) {
	.rawza-home .footer-menu a,
	.rawza-home .footer-map > a { display: flex; align-items: center; min-height: 44px; padding-block: 0; }
}

@media (max-width: 1100px) {
	.rawza-home .rz-container,
	.rawza-home .rz-header-inner { width: calc(100% - 72px); }
	.rawza-home .rz-nav,
	.rawza-home .rz-nav-list { gap: 20px; }
	.rawza-home .hero { --hero-height: max(660px, min(820px, 59vw)); }
	.rawza-home .story-grid { gap: 45px; }
	.rawza-home .story-images { height: 430px; }
	.rawza-home .experience-copy { gap: 40px; }
	.rawza-home .rz-gallery { grid-template-rows: 20px 248px 88px 144px; gap: 12px; }
	.rawza-home .reservation-copy { padding: 55px 35px; }
	.rawza-home .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
}

@media (min-width: 761px) and (max-width: 900px) {
	.rawza-home .rz-header-inner { gap: 20px; }
	.rawza-home .rz-header-logo { width: 150px; }
	.rawza-home .rz-nav,
	.rawza-home .rz-nav-list { gap: 16px; }
	.rawza-home .rz-nav-list a { font-size: 13px; }
	.rawza-home .rz-header .rz-button--small { padding-inline: 12px; font-size: 11px; gap: 12px; letter-spacing: .1em; }
}

@media (max-width: 760px) {
	html { scroll-padding-top: 18px; }
	.rawza-home .rz-container { width: calc(100% - 44px); }
	.rawza-home .rz-header-inner { width: calc(100% - 44px); min-height: 88px; gap: 16px; }
	.rawza-home .rz-header-logo { width: clamp(140px, 40vw, 170px); }
	.rawza-home .rz-menu-toggle { display: inline-flex; align-items: center; gap: 13px; color: var(--paper); border: 1px solid #edbd76aa; background: var(--header-background); padding: 11px 15px; font-size: 14px; font-weight: 500; }
	.rawza-home .rz-menu-toggle:is(:hover, :focus) { color: var(--paper); background: var(--header-background); }
	.rawza-home .rz-menu-icon { display: block; width: 16px; height: 8px; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); }
	.rawza-home .rz-nav { display: none; position: absolute; top: 88px; left: 0; right: 0; padding: 23px; background: var(--header-background); border-bottom: 1px solid var(--gold); align-items: stretch; gap: 7px; }
	.rawza-home .rz-nav.is-open { display: flex; flex-direction: column; }
	.rawza-home .rz-nav-list { flex-direction: column; align-items: stretch; gap: 7px; }
	.rawza-home .rz-nav-list a { text-align: left; font-size: 15px; padding: 10px 0; }
	.rawza-home .rz-nav > .rz-button { margin-top: 9px; }
	.rawza-home .hero { --hero-height: clamp(700px, 90svh, 850px); }
	.rawza-home .hero-image { object-position: 68% 50%; }
	.rawza-home .hero-shade { background: radial-gradient(ellipse at center, #080c09cc, #080c0966), linear-gradient(0deg, #080c0980, transparent); }
	.rawza-home .hero-logo { width: 260px; margin-bottom: 20px; }
	.rawza-home .hero-logo-frame { width: 250px; margin-bottom: 30px; }
	.rawza-home .hero h1 { font-size: 24px; }
	.rawza-home .hero-intro { font-size: 18px; margin: 10px 0 28px; }
	.rawza-home .button-row { gap: 11px; }
	.rawza-home .hero .button-row { display: grid; grid-template-columns: fit-content(100%); justify-content: center; }
	.rawza-home .hero .button-row > .rz-button { width: 100%; }
	.rawza-home .rz-button { min-height: 49px; font-size: 11px; padding: 14px 18px; gap: 15px; }
	.rawza-home .story { padding: 62px 0 28px; }
	.rawza-home .story-grid { grid-template-columns: 1fr; gap: 35px; }
	.rawza-home .story-copy { max-width: 480px; padding-top: 0; }
	.rawza-home .rz-main h2 br { display: none; }
	body.rawza-home :where(h2) { font-size: clamp(36px, 8vw, 48px); }
	.rawza-home .eyebrow { font-size: 11px; margin-bottom: 16px; }
	.rawza-home .story-copy > p:not(.eyebrow) { margin-top: 22px; font-size: 16px; }
	.rawza-home .story-quote blockquote p { font-size: 20px; }
	.rawza-home .story-images { height: clamp(320px, 85vw, 520px); gap: 7px; }
	.rawza-home .section-wave { height: 31px; }
	.rawza-home .cuisine { min-height: 570px; align-items: flex-end; }
	.rawza-home .cuisine::after { display: none; }
	.rawza-home .cuisine-image { left: 0; width: 100%; height: 66%; object-position: 76% 30%; mask-image: linear-gradient(180deg, #000 25%, #000000b3 66%, transparent 100%); }
	.rawza-home .cuisine-shade { background: linear-gradient(0deg, #15231c 5%, #15231cf2 30%, #15231c66 65%, #15231c26); }
	.rawza-home .cuisine-content { padding: 255px 0 54px; }
	.rawza-home .cuisine-content > p:not(.eyebrow) { max-width: 380px; }
	.rawza-home .experience { padding: 40px 0 56px; }
	.rawza-home .takeaway { padding: 56px 0 92px; }
	.rawza-home .takeaway::before { height: 150px; mask-size: auto 200px; } /* below the photo */
	.rawza-home .takeaway-grid { grid-template-columns: 1fr; gap: 32px; }
	.rawza-home .takeaway-copy { max-width: 480px; }
	.rawza-home .takeaway h2 { font-size: clamp(34px, 7.8vw, 42px); }
	.rawza-home .takeaway-photo img { height: auto; aspect-ratio: 4 / 3; }
	.rawza-home .experience-copy { display: block; margin-bottom: 28px; }
	.rawza-home .experience-copy h2 { font-size: clamp(34px, 7.8vw, 42px); }
	.rawza-home .experience-description { max-width: 440px; margin-top: 16px; }
	.rawza-home .rz-gallery { grid-template-rows: 20px 180px 100px 144px; gap: 8px; }
	.rawza-home .gallery-dining { grid-column: 1 / 8; grid-row: 1 / 3; }
	.rawza-home .gallery-flowers { grid-column: 8 / 13; grid-row: 1 / 4; } /* tops aligned on mobile; the stagger is desktop-only */
	.rawza-home .gallery-cushions { grid-column: 1 / 8; grid-row: 3 / 4; }
	.rawza-home .gallery-details { grid-column: 1 / 13; grid-row: 4 / 5; }
	.rawza-home .testimonial { padding: 62px 0 105px; }
	.rawza-home .testimonial h2 { font-size: 28px; }
	.rawza-home .review-intro { max-width: 290px; margin-inline: auto; }
	.rawza-home .testimonial blockquote { font-size: 27px; }
	.rawza-home .testimonial figcaption { max-width: 280px; margin: 25px auto 0; }
	.rawza-home .reservation { padding-bottom: 42px; }
	.rawza-home .reservation-card { width: calc(100% - 44px); grid-template-columns: 1fr; min-height: 0; margin-top: -40px; }
	.rawza-home .reservation-photo { height: 270px; min-height: 0; }
	.rawza-home .reservation-copy { padding: 38px 24px 42px; }
	.rawza-home .reservation-copy::after { width: 78px; height: 155px; right: -18px; top: auto; bottom: 26px; opacity: .18; }
	.rawza-home .reservation h2 { font-size: clamp(30px, 7.8vw, 38px); }
	.rawza-home .reservation-copy > p:not(.eyebrow) { max-width: 430px; }
	.rawza-home .button--reservation { min-height: 54px; padding-inline: 28px; }
	.rawza-home .practical-info { gap: 30px; margin-top: 32px; }
	.rawza-home .rz-footer { padding-top: 43px; }
	.rawza-home .rz-footer::before { inset: 35% -35% -10% 25%; mask-image: linear-gradient(90deg, transparent, #000 95%); opacity: .16; }
	.rawza-home .footer-grid { grid-template-columns: 1fr 1fr; gap: 29px 24px; padding: 0 0 30px; }
	.rawza-home .footer-brand,
	.rawza-home .footer-contact,
	.rawza-home .footer-map { grid-column: 1 / -1; }
	.rawza-home .footer-menu a,
	.rawza-home .footer-map > a { display: flex; align-items: center; min-height: 44px; padding-block: 0; }
	.rawza-home .footer-bottom { flex-direction: column; gap: 6px; padding-inline: 0; }
	.rawza-home .dialog-content { padding: 48px 24px 30px; }
	.rawza-home .dialog-content h2 { font-size: 33px; }
	.rawza-home .form-grid { gap: 15px 10px; }
	.rawza-home .lightbox { padding: 60px 45px 25px; }
	.rawza-home .gallery-prev,
	.rawza-home .gallery-next { width: 30px; left: 7px; }
	.rawza-home .gallery-next { right: 7px; left: auto; }
}

@media (max-width: 360px) {
	.rawza-home .hero { --hero-height: clamp(750px, 90svh, 850px); }
	.rawza-home .button-row { flex-direction: column; align-items: flex-start; }
	.rawza-home .hero .button-row { align-items: center; }
	.rawza-home .hero-intro { font-size: 20px; }
	.rawza-home .rz-gallery { grid-template-rows: 18px 150px 84px 120px; }
	.rawza-home .form-grid { grid-template-columns: 1fr; }
}

/* ---------- Motion ----------
 * Only active while <html> carries .rz-motion (set in the head, see
 * rawza_motion_flag()). Uses the individual `translate` / `scale`
 * properties and animations, so the hover transforms and transitions of
 * buttons and gallery tiles keep working untouched. */
@keyframes rz-rise { from { opacity: 0; translate: 0 var(--rz-rise, 28px); } }
@keyframes rz-fade { from { opacity: 0; } }
@keyframes rz-settle { from { scale: 1.06; } }

.rz-motion .rawza-home { --rz-ease: cubic-bezier(.22, 1, .36, 1); }

/* Hero: a calm entrance on load, the photo settling in behind it. The logo
 * (first child) only fades, without delay, so the brand is there at once. */
.rz-motion .rawza-home .hero-image { animation: rz-settle 2.4s var(--rz-ease) both; }
.rz-motion .rawza-home .hero-content > * { animation: rz-rise 1s var(--rz-ease) both; animation-delay: .15s; }
.rz-motion .rawza-home .hero-content > :first-child { animation: rz-fade .5s ease both; }
.rz-motion .rawza-home .hero-content > :nth-child(3) { animation-delay: .27s; }
.rz-motion .rawza-home .hero-content > :nth-child(n+4) { animation-delay: .39s; }
/* Held at the start (rz-hero-wait, see rawza_motion_flag()) until the logo and
 * heading font are ready, so the hero builds once instead of shifting. */
.rz-hero-wait .rawza-home .hero-image,
.rz-hero-wait .rawza-home .hero-content > :nth-child(n) { animation-play-state: paused; }

/* Sections: children of a group rise in one after another. */
.rz-motion .rawza-home [data-reveal-group]:not(.is-revealed) > *,
.rz-motion .rawza-home [data-reveal]:not(.is-revealed) { opacity: 0; }
.rz-motion .rawza-home [data-reveal-group].is-revealed > *,
.rz-motion .rawza-home [data-reveal].is-revealed { animation: rz-rise 1.1s var(--rz-ease) both; }
.rz-motion .rawza-home [data-reveal-group].is-revealed > :nth-child(2) { animation-delay: .09s; }
.rz-motion .rawza-home [data-reveal-group].is-revealed > :nth-child(3) { animation-delay: .18s; }
.rz-motion .rawza-home [data-reveal-group].is-revealed > :nth-child(4) { animation-delay: .27s; }
.rz-motion .rawza-home [data-reveal-group].is-revealed > :nth-child(5) { animation-delay: .36s; }
.rz-motion .rawza-home [data-reveal-group].is-revealed > :nth-child(n+6) { animation-delay: .45s; }

@media (max-width: 760px) {
	.rz-motion .rawza-home { --rz-rise: 18px; }
}

@media print {
	.rz-motion .rawza-home [data-reveal-group] > *,
	.rz-motion .rawza-home [data-reveal] { opacity: 1 !important; animation: none !important; }
}

@media (prefers-reduced-motion: reduce) {
	.rawza-home .hero { position: relative; top: auto; }
	.rawza-home *,
	.rawza-home *::before,
	.rawza-home *::after { transition: none !important; animation: none !important; }
}
