/* ==========================================================
   Wedding by Koming — main styles
   Palette drawn from the logo: forest green + gold on ivory
   ========================================================== */
:root {
	--ink: #1d2e25;
	--green: #1f3a2c;
	--green-2: #2c4a3a;
	--green-deep: #15261d;
	--gold: #c8963e;
	--gold-2: #a8772a;
	--gold-soft: #ead7b0;
	--ivory: #fbf8f2;
	--cream: #f4eee3;
	--blush: #f0e2dc;
	--muted: #616c65;
	--line: rgba(31, 58, 44, .12);
	--serif: "Cormorant Garamond", Georgia, serif;
	--sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
	--radius: 6px;
	--radius-lg: 14px;
	--shadow: 0 20px 40px -24px rgba(29, 46, 37, .45);
	--ease: cubic-bezier(.22, .61, .36, 1);
	--ease-out: cubic-bezier(.16, 1, .3, 1);
	--header-h: 76px;
	--section: clamp(56px, 7vw, 88px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) - 10px); }
body {
	margin: 0;
	background: var(--ivory);
	color: var(--ink);
	font-family: var(--sans);
	font-weight: 300;
	font-size: 16.5px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: clip; /* guard: animated/scaled media never cause sideways scroll */
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-2); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--green); }
p { margin: 0 0 1em; }
::selection { background: var(--gold-soft); color: var(--green); }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--green); color: #fff; padding: 8px 14px; z-index: 999; }
.skip-link:focus { left: 8px; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 760px; }

/* Scroll progress line */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 70; background: var(--gold); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
.admin-bar .progress { top: 32px; }

/* ---------- Type ---------- */
.h1, .h2, .h3, h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; color: var(--green); line-height: 1.1; margin: 0 0 .45em; letter-spacing: -.005em; }
.h1 { font-size: clamp(2.3rem, 4.6vw, 3.5rem); }
.h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.h3 { font-size: 1.5rem; }
.eyebrow {
	font-family: var(--sans);
	font-size: .72rem;
	letter-spacing: .3em;
	text-transform: uppercase;
	color: var(--gold-2);
	font-weight: 500;
	margin: 0 0 .9rem;
	display: inline-flex;
	align-items: center;
	gap: .8em;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--gold-soft); }

/* ---------- Buttons ---------- */
.btn {
	position: relative; overflow: hidden; isolation: isolate;
	display: inline-flex; align-items: center; justify-content: center; gap: .6em;
	padding: 14px 26px;
	font-family: var(--sans); font-size: .74rem; font-weight: 500;
	letter-spacing: .2em; text-transform: uppercase;
	border: 1px solid var(--green);
	background: var(--green); color: #fff;
	border-radius: 999px;
	cursor: pointer;
	transition: color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
/* Fill sweep on hover */
.btn::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: var(--green-2);
	transform: translateY(101%); transition: transform .45s var(--ease-out);
}
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 24px -14px rgba(0,0,0,.45); }
.btn:hover::before { transform: none; }
.btn:active { transform: translateY(0); }
.btn--gold { background: var(--gold); border-color: var(--gold); }
.btn--gold::before { background: var(--gold-2); }
.btn--gold:hover { border-color: var(--gold-2); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.6); }
.btn--ghost::before { background: #fff; }
.btn--ghost:hover { color: var(--green); border-color: #fff; }
.btn--line { background: transparent; color: var(--green); }
.btn--line::before { background: var(--green); }
.btn--line:hover { color: #fff; }
.btn--sm { padding: 10px 18px; font-size: .68rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(251, 248, 242, .9);
	backdrop-filter: saturate(1.4) blur(10px);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--line);
	transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.is-transparent { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.is-transparent .brand__name, .site-header.is-transparent .nav__list a { color: #fff; }
.site-header.is-transparent .nav-toggle span { background: #fff; }
.site-header.is-transparent .brand__logo { background: rgba(255,255,255,.94); border-radius: 50%; }
.site-header.is-scrolled { background: rgba(251, 248, 242, .9); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-color: var(--line); box-shadow: 0 8px 30px -24px rgba(0,0,0,.4); }
.site-header.is-scrolled .brand__name, .site-header.is-scrolled .nav__list a { color: var(--green); }
.site-header.is-scrolled .nav-toggle span { background: var(--green); }
.site-header.is-scrolled .brand__logo { background: transparent; }
.site-header.is-scrolled .site-header__inner { height: 62px; }
.site-header.is-scrolled .brand__logo { width: 46px; height: 46px; }
.admin-bar .site-header { top: 32px; }

.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; transition: height .4s var(--ease); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand__logo { width: 54px; height: 54px; object-fit: contain; transition: width .4s var(--ease), height .4s var(--ease), background .4s; }
.brand__name { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; color: var(--green); line-height: 1; transition: color .4s; }
.brand__name small { display: block; font-family: var(--sans); font-size: .58rem; letter-spacing: .5em; margin-top: 5px; opacity: .75; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav__list { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; }
.nav__list a { color: var(--green); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 400; position: relative; padding: 6px 0; transition: color .4s; }
.nav__list a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.nav__list a:hover::after, .nav__list a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { padding: 11px 18px; font-size: .66rem; }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 1.5px; background: var(--green); margin: 6px 0; transition: transform .35s var(--ease), opacity .35s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 92vh; min-height: 92svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; padding-bottom: clamp(56px, 9vh, 96px); }
.hero__bg { position: absolute; inset: -6% 0 0; width: 100%; height: 106%; object-fit: cover; object-position: 50% 45%; animation: heroZoom 2.4s var(--ease-out) both; will-change: transform; }
@keyframes heroZoom { from { transform: scale(1.12); filter: brightness(.7); } to { transform: scale(1); filter: none; } }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(95deg, rgba(15, 28, 21, .78) 0%, rgba(15, 28, 21, .42) 48%, rgba(15, 28, 21, .08) 85%), linear-gradient(to top, rgba(15,28,21,.55), transparent 45%); }
.hero__content { position: relative; padding-top: var(--header-h); }
.hero__title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.7rem, 6.4vw, 5.2rem); line-height: 1.02; color: #fff; max-width: 12ch; margin: 0 0 1.1rem; }
.hero__text { font-size: 1.08rem; max-width: 480px; color: rgba(255,255,255,.88); margin-bottom: 1.8rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 1px; height: 46px; background: rgba(255,255,255,.3); overflow: hidden; }
.hero__scroll span { position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: #fff; animation: scrollLine 2.2s var(--ease) infinite; }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* Hero intro: staggered rise (words are wrapped by JS) */
.hero [data-intro] { opacity: 0; transform: translateY(18px); animation: rise 1s var(--ease-out) forwards; animation-delay: calc(.5s + var(--d, 0) * 120ms); }
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__title .w > span { display: inline-block; transform: translateY(105%); animation: wordUp 1.1s var(--ease-out) forwards; animation-delay: calc(.35s + var(--w, 0) * 70ms); }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes wordUp { to { transform: none; } }

/* ---------- Marquee band ---------- */
.marquee { background: var(--green); color: var(--gold-soft); overflow: hidden; white-space: nowrap; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.06); }
.marquee__track { display: inline-flex; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { font-family: var(--serif); font-style: italic; font-size: 1.35rem; padding: 0 22px; display: inline-flex; align-items: center; gap: 44px; }
.marquee__item::after { content: "✦"; font-style: normal; font-size: .7rem; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; position: relative; }
.section--tight { padding: 44px 0 var(--section); }
.section--cream { background: var(--cream); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto clamp(28px, 4vw, 44px); }
.section-head .eyebrow::after { content: ""; width: 24px; height: 1px; background: currentColor; }
.section-head p:last-child { color: var(--muted); margin-bottom: 0; }
.section-note { text-align: center; margin: 32px 0 0; font-family: var(--serif); font-size: 1.2rem; font-style: italic; }
.section-note a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease-out), color .25s; padding-bottom: 2px; }
.section-note a:hover { background-size: 100% 1px; }

/* Intro */
.intro__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 72px); align-items: center; }
.intro__media { position: relative; }
.intro__media > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 240px 240px var(--radius-lg) var(--radius-lg); }
.intro__stamp { position: absolute; right: -24px; bottom: -24px; width: 116px; height: 116px; background: var(--ivory); border-radius: 50%; padding: 8px; box-shadow: var(--shadow); }
.intro__copy p { color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--serif); font-size: 2.5rem; font-weight: 500; color: var(--gold-2); line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* Cards — minimal: photo, title, line of text, actions */
.grid--cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.card { display: flex; flex-direction: column; }
.card__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-lg); background: var(--cream); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,28,21,.35), transparent 45%); opacity: 0; transition: opacity .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card:hover .card__media::after { opacity: 1; }
.card__badge { position: absolute; top: 12px; left: 12px; z-index: 1; background: rgba(251,248,242,.92); color: var(--green); font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; padding: 6px 11px; border-radius: 30px; font-weight: 500; backdrop-filter: blur(4px); }
.card__body { padding: 16px 2px 0; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 1.5rem; margin-bottom: .25em; }
.card__title a { color: var(--green); background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease-out); }
.card:hover .card__title a { background-size: 100% 1px; }
.card__text { font-size: .92rem; color: var(--muted); margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__list { list-style: none; padding: 0; margin: 0 0 1.2em; font-size: .92rem; }
.card__list li { position: relative; padding-left: 20px; margin-bottom: .35em; }
.card__list li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 7px; height: 7px; border: 1px solid var(--gold); transform: rotate(45deg); }
.card__list--full { font-size: 1rem; margin-bottom: 1.6em; }
.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card__price strong { display: block; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--green); line-height: 1.1; }
.card__price span { font-size: .76rem; color: var(--muted); }
.card__more { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--green); display: inline-flex; align-items: center; gap: 6px; }
.card__more::after { content: "→"; transition: transform .4s var(--ease-out); }
.card__more:hover { color: var(--gold-2); }
.card__more:hover::after { transform: translateX(4px); }

/* Furniture */
.furniture { background: var(--green); color: rgba(255,255,255,.82); overflow: hidden; }
.furniture .h2 { color: #fff; }
.furniture__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 6vw, 72px); align-items: center; }
.furniture__list { list-style: none; padding: 0; margin: 0 0 1.8rem; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px; font-size: .94rem; }
.furniture__list li { padding-left: 20px; position: relative; }
.furniture__list li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 7px; height: 7px; border: 1px solid var(--gold); transform: rotate(45deg); }
.furniture__media { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 4.6; }
.furniture__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.furniture__media:hover img { transform: scale(1.05); }
.furniture__tag { position: absolute; right: 14px; bottom: 14px; background: var(--ivory); color: var(--green); padding: 9px 16px; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; border-radius: 30px; transition: transform .4s var(--ease-out); }
.furniture__media:hover .furniture__tag { transform: translateY(-3px); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 10px; }
.gallery__item { position: relative; overflow: hidden; border-radius: var(--radius-lg); display: block; background: var(--cream); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter .6s; }
.gallery__item::after { content: "+"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 2rem; font-weight: 200; background: rgba(15,28,21,.3); opacity: 0; transition: opacity .5s var(--ease); }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item:hover::after { opacity: 1; }
.gallery__item--1 { grid-column: span 2; grid-row: span 2; }
.gallery__item--2 { grid-row: span 2; }
.gallery__item--6 { grid-column: span 2; }

/* Quote */
.quote { background: var(--blush); text-align: center; padding: clamp(52px, 6vw, 72px) 0; }
.quote__stars { color: var(--gold); letter-spacing: .3em; margin-bottom: .6rem; font-size: .9rem; }
.quote blockquote { margin: 0 auto 1rem; max-width: 760px; font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.3; color: var(--green); }
.quote cite { font-style: normal; font-size: .74rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-2); }

/* Steps — light, no boxes */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 36px); }
.step { position: relative; padding-top: 22px; border-top: 1px solid var(--line); }
.step::before { content: ""; position: absolute; top: -1px; left: 0; height: 1px; width: 0; background: var(--gold); transition: width 1.2s var(--ease-out) .2s; }
.step.is-visible::before { width: 56px; }
.step__n { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--gold-2); display: block; margin-bottom: 6px; }
.step h3 { font-size: 1.4rem; margin-bottom: .35em; }
.step p { color: var(--muted); font-size: .93rem; margin: 0; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 17px 40px 17px 0; position: relative; font-family: var(--serif); font-size: 1.28rem; color: var(--green); font-weight: 500; transition: color .25s; }
.faq summary:hover { color: var(--gold-2); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -6px; background: linear-gradient(var(--gold), var(--gold)) center / 12px 1px no-repeat, linear-gradient(var(--gold), var(--gold)) center / 1px 12px no-repeat; transition: transform .45s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq__body { overflow: hidden; }
.faq details p { color: var(--muted); padding-right: 40px; margin: 0; padding-bottom: 18px; }

/* Contact */
.contact { color: #fff; overflow: hidden; }
.contact__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact__shade { position: absolute; inset: 0; background: rgba(15, 28, 21, .84); }
.contact__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 72px); align-items: center; }
.contact .h2 { color: #fff; }
.contact__copy p { color: rgba(255,255,255,.82); }
.contact__info { list-style: none; padding: 0; margin: 1.4rem 0 0; }
.contact__info li { display: flex; gap: 16px; padding: 11px 0; border-top: 1px solid rgba(255,255,255,.14); }
.contact__info span { min-width: 100px; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-soft); padding-top: 4px; }
.contact__info a { color: #fff; }
.contact__info a:hover { color: var(--gold-soft); }

.enquiry { background: var(--ivory); color: var(--ink); padding: clamp(22px, 3vw, 32px); border-radius: var(--radius-lg); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.field { margin-bottom: 14px; flex: 1; }
.field-row { display: flex; gap: 14px; }
.field label { display: block; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; font-weight: 400; }
.field input, .field select, .field textarea {
	width: 100%; font: inherit; font-size: .98rem; color: var(--ink);
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	padding: 10px 13px; transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,150,62,.16); }
.field .is-invalid { border-color: #b4483b; animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.enquiry__error { color: #b4483b; font-size: .88rem; margin: 10px 0 0; }

/* Footer */
.site-footer { background: var(--green-deep); color: rgba(255,255,255,.68); padding: clamp(44px, 6vw, 64px) 0 0; font-size: .93rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.site-footer__logo { width: 96px; height: 96px; background: var(--ivory); border-radius: 50%; padding: 5px; margin-bottom: 14px; }
.site-footer__tag { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: rgba(255,255,255,.82); max-width: 300px; margin: 0; }
.site-footer h4 { color: var(--gold-soft); font-family: var(--sans); font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; font-weight: 500; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45em; }
.site-footer a { color: rgba(255,255,255,.78); }
.site-footer a:hover { color: var(--gold-soft); }
.site-footer__muted { color: rgba(255,255,255,.5); font-size: .86rem; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1rem; }
.socials a { border: 1px solid rgba(255,255,255,.22); border-radius: 30px; padding: 4px 13px; font-size: .74rem; letter-spacing: .08em; transition: border-color .25s, background .25s, color .25s; }
.socials a:hover { border-color: var(--gold-soft); background: var(--gold-soft); color: var(--green); }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; border-top: 1px solid rgba(255,255,255,.1); font-size: .8rem; }

/* WhatsApp float */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(0,0,0,.4); transition: transform .35s var(--ease-out); animation: waIn .8s var(--ease-out) 1.6s both; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: pulse 2.8s var(--ease) 2.4s infinite; }
.wa-float:hover { color: #fff; transform: scale(1.08); }
@keyframes waIn { from { opacity: 0; transform: translateY(20px) scale(.8); } }
@keyframes pulse { 0% { opacity: .7; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.6); } }

/* Inner pages */
.page-hero { background: var(--cream); padding: 52px 0 32px; text-align: center; }
.page-hero .eyebrow::after { content: ""; width: 24px; height: 1px; background: currentColor; }
.page-hero .h1 { margin-bottom: 0; }
.product { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 56px); align-items: start; }
.product__media img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 4 / 5; object-fit: cover; }
.product__media { position: sticky; top: calc(var(--header-h) + 16px); }
.product__price { margin-bottom: 1.2rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.product__price strong { font-family: var(--serif); font-size: 2rem; font-weight: 600; color: var(--green); display: block; line-height: 1.1; }
.product__price span { color: var(--muted); }
.product__info .btn { margin: 0 8px 8px 0; }
.prose { color: var(--muted); }
.prose h2, .prose h3 { margin-top: 1.4em; }
.post-item { padding: 20px 0; border-bottom: 1px solid var(--line); }

/* Gallery extras (homepage) */
.gallery__more { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(15,28,21,.55); color: #fff; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1; transition: background .5s var(--ease); }
.gallery__more small { font-family: var(--sans); font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; margin-top: 8px; }
.gallery__item:hover .gallery__more { background: rgba(15,28,21,.4); }
.gallery__item:has(.gallery__more)::after { display: none; }
.gallery__item::after { content: ""; background: rgba(15,28,21,.3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='34' height='34'%3E%3Cpath fill='none' stroke='white' stroke-width='1.3' d='M10.5 4a6.5 6.5 0 1 1 0 13 6.5 6.5 0 0 1 0-13zm9.5 16-4.8-4.8M10.5 7.5v6M7.5 10.5h6'/%3E%3C/svg%3E") center / 34px no-repeat; }
.section-head__link { color: inherit; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease-out); }
.section-head__link:hover { color: var(--green); background-size: 100% 1px; }
.gallery-meta, .g-hero__meta { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); }
.gallery-meta li + li::before, .g-hero__meta li + li::before { content: "◆"; font-size: .5rem; margin-right: 18px; vertical-align: 2px; opacity: .7; }
.gallery-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn svg { vertical-align: -2px; margin-right: 4px; position: relative; }
.section-note__sep { margin: 0 10px; color: var(--muted); }

/* Album cards (gallery list) */
.albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: clamp(26px, 3vw, 40px) clamp(18px, 2.4vw, 30px); }
.albums--more { margin-top: clamp(44px, 6vw, 72px); }
.album__link { display: block; color: inherit; }
.album__link:hover { color: inherit; }
.album__stack { display: block; position: relative; height: 12px; margin: 0 7% -2px; }
.album__stack::before, .album__stack::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: var(--gold-soft); transition: transform .6s var(--ease-out); }
.album__stack::before { height: 12px; margin: 0 6%; opacity: .55; }
.album__stack::after { height: 6px; background: #e3cfa7; }
.album__link:hover .album__stack::before { transform: translateY(-5px); }
.album__link:hover .album__stack::after { transform: translateY(-2px); }
.album__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-lg); background: var(--cream); box-shadow: 0 1px 0 rgba(31,58,44,.06); transition: box-shadow .6s var(--ease-out), transform .6s var(--ease-out); }
.album__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.album__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,28,21,.55), transparent 55%); opacity: .6; transition: opacity .6s var(--ease); }
.album__link:hover .album__media { box-shadow: var(--shadow); transform: translateY(-4px); }
.album__link:hover .album__media img { transform: scale(1.06); }
.album__link:hover .album__media::after { opacity: 1; }
.album__count { position: absolute; top: 12px; left: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; background: rgba(251,248,242,.92); color: var(--green); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; padding: 6px 11px; border-radius: 30px; font-weight: 500; backdrop-filter: blur(4px); }
.album__view { position: absolute; left: 18px; bottom: 16px; z-index: 1; color: #fff; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.album__view::after { content: "→"; }
.album__link:hover .album__view, .album__link:focus-visible .album__view { opacity: 1; transform: none; }
.album__body { display: block; padding: 16px 2px 0; }
.album__meta { display: block; font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 4px; }
.album__title { display: block; font-family: var(--serif); font-size: 1.5rem; line-height: 1.15; color: var(--green); }
.album__title { background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat; display: inline; transition: background-size .6s var(--ease-out); }
.album__link:hover .album__title { background-size: 100% 1px; }
.js .album.reveal .album__media img { transition: transform 1.4s var(--ease-out); }

/* Single gallery */
.g-hero { position: relative; min-height: 86vh; min-height: 86svh; display: flex; align-items: flex-end; justify-content: center; text-align: center; color: #fff; overflow: hidden; padding-bottom: clamp(70px, 11vh, 110px); }
.g-hero__bg { position: absolute; inset: -6% 0 0; width: 100%; height: 106%; object-fit: cover; animation: heroZoom 2.4s var(--ease-out) both; }
.g-hero__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,28,21,.88) 0%, rgba(15,28,21,.5) 50%, rgba(15,28,21,.3) 100%); }
.g-hero__content { position: relative; padding-top: var(--header-h); display: flex; flex-direction: column; align-items: center; }
.g-hero .eyebrow a { color: inherit; }
.g-hero .eyebrow::after { content: ""; width: 24px; height: 1px; background: currentColor; }
.g-hero__title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 5.6vw, 4.6rem); line-height: 1.04; color: #fff; max-width: 18ch; margin: 0 0 .2em; }
.g-hero__meta { color: var(--gold-soft); margin: 4px 0 26px; }
.g-hero [data-intro] { opacity: 0; transform: translateY(18px); animation: rise 1s var(--ease-out) forwards; animation-delay: calc(.4s + var(--d, 0) * 120ms); }
.g-story { text-align: center; padding-top: clamp(48px, 6vw, 72px); padding-bottom: 0; }
.g-story__lead { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.4vw, 1.85rem); line-height: 1.35; color: var(--green); margin-bottom: 1em; }
.g-story__lead::after { content: ""; display: block; width: 48px; height: 1px; background: var(--gold); margin: 1em auto 0; }
.g-story .prose { font-size: 1.02rem; }
.container--wide { max-width: 1400px; }
.masonry { columns: 3 300px; column-gap: 12px; }
.masonry__item { position: relative; display: block; margin-bottom: 12px; break-inside: avoid; border-radius: var(--radius-lg); overflow: hidden; background: var(--cream); cursor: zoom-in; }
.masonry__item img { width: 100%; height: auto; transition: transform 1.2s var(--ease-out), filter .6s; }
.masonry__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,28,21,.4), transparent 50%); opacity: 0; transition: opacity .5s var(--ease); }
.masonry__zoom { position: absolute; right: 12px; bottom: 12px; z-index: 1; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(251,248,242,.92); color: var(--green); opacity: 0; transform: scale(.7); transition: opacity .4s var(--ease-out), transform .4s var(--ease-out); }
.masonry__item:hover img { transform: scale(1.04); }
.masonry__item:hover::after { opacity: 1; }
.masonry__item:hover .masonry__zoom, .masonry__item:focus-visible .masonry__zoom { opacity: 1; transform: none; }
.g-cta { background: var(--green); color: rgba(255,255,255,.82); text-align: center; padding: clamp(56px, 7vw, 88px) 0; }
.g-cta__inner { max-width: 640px; }
.g-cta .h2 { color: #fff; }
.g-cta .eyebrow::after { content: ""; width: 24px; height: 1px; background: currentColor; }
.page-hero__text { max-width: 560px; margin: 14px auto 0; color: var(--muted); }

/* Lightbox viewer */
.lb { position: fixed; inset: 0; z-index: 200; background: #0b130f; color: #fff; display: grid; grid-template-rows: auto 1fr auto; animation: fadeIn .3s var(--ease) both; user-select: none; -webkit-user-select: none; }
.lb[hidden] { display: none; }
.lb.is-closing { animation: fadeOut .25s var(--ease) both; }
.lb__top { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px 8px 24px; position: relative; z-index: 2; }
.lb__count { font-size: .72rem; letter-spacing: .24em; color: rgba(255,255,255,.75); font-variant-numeric: tabular-nums; }
.lb__tools { display: flex; gap: 4px; }
.lb__btn { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; border-radius: 50%; color: #fff; cursor: pointer; transition: background .25s var(--ease); }
.lb__btn:hover, .lb__btn:focus-visible { background: rgba(255,255,255,.12); outline: none; }
.lb__btn[data-act="close"]:hover svg { transform: rotate(90deg); }
.lb__btn svg { transition: transform .35s var(--ease-out); }
.is-single .lb__btn[data-act="play"], .is-single .lb__nav, .is-single .lb__thumbs { display: none; }
.lb__stage { --pad: clamp(8px, 7vw, 96px); position: relative; overflow: hidden; touch-action: none; min-height: 0; }
.lb__img { position: absolute; top: 0; bottom: 0; left: var(--pad); right: var(--pad); margin: auto; max-width: calc(100% - 2 * var(--pad)); max-height: 100%; width: auto; height: auto; border-radius: 4px; cursor: zoom-in; will-change: transform; transform-origin: center; box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); }
.lb__img.is-in { animation: lbIn .55s var(--ease-out) both; }
.lb__img.is-in.from-left { animation-name: lbInLeft; }
.is-zoomed .lb__img { cursor: grab; border-radius: 0; }
.is-zoomed .lb__img:active { cursor: grabbing; }
.is-loading .lb__img { opacity: 0; }
.lb__spinner { position: absolute; inset: 0; margin: auto; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.18); border-top-color: var(--gold); animation: spin .8s linear infinite; opacity: 0; transition: opacity .2s; pointer-events: none; }
.is-loading .lb__spinner { opacity: 1; transition-delay: .15s; }
.lb__nav { position: absolute; top: 50%; z-index: 2; width: 56px; height: 56px; margin-top: -28px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); background: rgba(10,17,13,.35); color: #fff; cursor: pointer; transition: background .3s var(--ease), border-color .3s, transform .3s var(--ease-out), opacity .3s; backdrop-filter: blur(4px); }
.lb__nav:hover, .lb__nav:focus-visible { background: var(--gold); border-color: var(--gold); outline: none; }
.lb__nav--prev { left: clamp(10px, 2vw, 28px); }
.lb__nav--next { right: clamp(10px, 2vw, 28px); }
.lb__nav--prev:hover { transform: translateX(-3px); }
.lb__nav--next:hover { transform: translateX(3px); }
.is-zoomed .lb__nav, .is-zoomed .lb__bottom { opacity: 0; pointer-events: none; }
.lb__bottom { padding: 10px 16px 16px; text-align: center; transition: opacity .3s; position: relative; z-index: 2; }
.lb__caption { margin: 0 auto 12px; max-width: 640px; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: rgba(255,255,255,.88); min-height: 1.4em; }
.lb__thumbs { display: flex; gap: 8px; overflow-x: auto; justify-content: safe center; padding: 4px 2px; scrollbar-width: none; }
.lb__thumbs::-webkit-scrollbar { display: none; }
.lb__thumbs button { flex: 0 0 auto; width: 64px; height: 48px; padding: 0; border: 0; border-radius: 6px; overflow: hidden; cursor: pointer; opacity: .45; outline: 2px solid transparent; outline-offset: 2px; transition: opacity .3s, outline-color .3s, transform .3s var(--ease-out); background: #222; }
.lb__thumbs button:hover { opacity: .85; }
.lb__thumbs button.is-active { opacity: 1; outline-color: var(--gold); }
.lb__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.lb__bar { position: absolute; left: 0; right: 0; top: 0; height: 2px; opacity: 0; transition: opacity .3s; }
.is-playing .lb__bar { opacity: 1; }
.lb__bar span { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.admin-bar .lb { top: 32px; }
@keyframes lbIn { from { opacity: 0; translate: 40px 0; } }
@keyframes lbInLeft { from { opacity: 0; translate: -40px 0; } }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.94); } }

/* ---------- Motion: reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Image curtain reveal: the <img> is clipped, its container stays observable */
.js .reveal--img img { clip-path: inset(100% 0 0 0); transform: scale(1.18); transition: clip-path 1.4s var(--ease-out), transform 1.8s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal--img.is-visible img { clip-path: inset(0 0 0 0); transform: none; }
.js .card:hover .reveal--img.is-visible img, .js .furniture__media:hover.is-visible img { transform: scale(1.06); transition: transform 1.2s var(--ease-out); }
.js .intro__media.reveal--img { opacity: 1; transform: none; }
.js .intro__media.reveal--img > img { transform: none; transition: clip-path 1.4s var(--ease-out); } /* no zoom: this image isn't inside an overflow box */
.js .intro__stamp { opacity: 0; transform: scale(.6); transition: opacity .8s var(--ease-out) .9s, transform .8s var(--ease-out) .9s; }
.js .intro__media.is-visible .intro__stamp { opacity: 1; transform: none; }
.js .intro__stamp img { clip-path: none; transform: none; }

/* Parallax elements are moved by JS via --py */
[data-parallax] { translate: 0 var(--py, 0px); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
	html { scroll-behavior: auto; }
	.js .reveal, .js .reveal--img img, .js .intro__stamp, .hero [data-intro], .g-hero [data-intro], .hero__title .w > span { opacity: 1; transform: none; clip-path: none; }
	.marquee__track { animation: none; }
	[data-parallax] { translate: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.nav__list { gap: 15px; }
	.nav__list a { font-size: .66rem; letter-spacing: .12em; }
	.steps { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
}
@media (max-width: 960px) {
	:root { --header-h: 66px; }
	.site-header, .site-header.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(251, 248, 242, .97); }
	.site-header.is-transparent:not(.is-scrolled) { background: transparent; }
	.nav-toggle { display: block; z-index: 2; }
	.nav {
		position: fixed; inset: 0; background: var(--ivory);
		flex-direction: column; justify-content: center; gap: 30px;
		opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
	}
	.nav-open .nav { opacity: 1; visibility: visible; }
	.nav__list { flex-direction: column; align-items: center; gap: 16px; }
	.nav__list li { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
	.nav-open .nav__list li { opacity: 1; transform: none; }
	.nav-open .nav__list li:nth-child(2) { transition-delay: .05s; }
	.nav-open .nav__list li:nth-child(3) { transition-delay: .1s; }
	.nav-open .nav__list li:nth-child(4) { transition-delay: .15s; }
	.nav-open .nav__list li:nth-child(5) { transition-delay: .2s; }
	.nav-open .nav__list li:nth-child(6) { transition-delay: .25s; }
	.nav-open .nav__list li:nth-child(7) { transition-delay: .3s; }
	.nav__list a, .site-header.is-transparent .nav__list a { color: var(--green); font-size: 1.5rem; font-family: var(--serif); letter-spacing: 0; text-transform: none; }
	.nav-open .site-header .nav-toggle span { background: var(--green); }
	.brand__logo { width: 46px; height: 46px; }
	.brand__name { font-size: 1.1rem; }
	.intro__grid, .furniture__grid, .contact__grid, .product { grid-template-columns: 1fr; }
	.intro__media { max-width: 420px; margin: 0 auto; width: 100%; }
	.intro__stamp { right: -8px; bottom: -20px; width: 96px; height: 96px; }
	.furniture__media { aspect-ratio: 16 / 11; }
	.product__media { position: static; }
	.gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
	.gallery__item--2 { grid-row: span 1; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.site-footer__grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
	body { font-size: 16px; }
	.container { padding: 0 16px; }
	.brand__name { display: none; }
	.hero { min-height: 88svh; }
	.hero__title { font-size: 2.6rem; }
	.hero__actions .btn { flex: 1 1 100%; }
	.marquee__item { font-size: 1.1rem; padding: 0 14px; gap: 28px; }
	.stats { gap: 8px; }
	.stat strong { font-size: 2rem; }
	.stat span { font-size: .6rem; letter-spacing: .1em; }
	.grid--cards { grid-template-columns: 1fr 1fr; gap: 14px 12px; }
	.card__title { font-size: 1.2rem; }
	.card__text { display: none; }
	.card__foot { flex-direction: column; align-items: flex-start; gap: 10px; }
	.card__foot .btn { width: 100%; }
	.steps { grid-template-columns: 1fr; row-gap: 22px; }
	.furniture__list { grid-template-columns: 1fr; }
	.gallery { grid-auto-rows: 130px; gap: 6px; }
	.masonry { columns: 2; column-gap: 8px; }
	.masonry__item { margin-bottom: 8px; border-radius: var(--radius); }
	.masonry__zoom { display: none; }
	.albums { grid-template-columns: 1fr; }
	.album__view { opacity: 1; transform: none; }
	.g-hero { min-height: 78svh; }
	.lb__nav { display: none; }
	.lb__stage { --pad: 0px; }
	.lb__thumbs button { width: 52px; height: 40px; }
	.lb__caption { font-size: 1rem; }
	.section-note__sep { display: block; height: 0; overflow: hidden; }
	.gallery__item { border-radius: var(--radius); }
	.field-row { flex-direction: column; gap: 0; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
	.wa-float { width: 50px; height: 50px; right: 14px; bottom: 14px; }
}
@media screen and (max-width: 782px) { .admin-bar .site-header, .admin-bar .progress, .admin-bar .lb { top: 46px; } }
