/* =========================================================
   Perkulater — shared homepage structure (mobile-first)
   Design-specific colors/fonts/textures live in home-<style>.css
   which define the CSS custom properties consumed below.
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

body.perkulater-home {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); }
p { margin: 0; }
button { font: inherit; cursor: pointer; }

.container {
	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: 20px;
}
@media (min-width: 768px) { .container { padding-inline: 40px; } }
@media (min-width: 1280px) { .container { padding-inline: 24px; } }

.eyebrow {
	display: inline-block;
	font-family: var(--font-mono, var(--font-body));
	font-size: 0.78rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 14px;
	font-weight: 600;
}

.section { position: relative; padding: clamp(56px, 10vw, 120px) 0; }
.section-head { max-width: 640px; margin-bottom: clamp(32px, 6vw, 56px); }
.section-title { font-size: clamp(1.9rem, 4.5vw, 3.1rem); line-height: 1.12; font-weight: 600; }

.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 30px;
	border-radius: var(--btn-radius, 999px);
	border: 1px solid transparent;
	font-weight: 600;
	font-size: 0.9rem;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	background: var(--accent);
	color: var(--btn-text, #111);
	transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s ease, background 0.3s ease;
	will-change: transform;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -12px var(--accent); }
.btn-outline {
	background: transparent;
	border-color: currentColor;
	color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-ghost {
	background: transparent;
	border-color: var(--hero-text, currentColor);
	color: var(--hero-text, currentColor);
}
.btn-ghost:hover { background: var(--hero-text, currentColor); color: var(--hero-overlay-solid, #111); box-shadow: none; }

/* ---------------- Theme switcher ---------------- */
.header-actions { display: flex; align-items: center; gap: 8px; flex: none; }
@media (min-width: 480px) { .header-actions { gap: 14px; } }
.theme-switch { border: 0; background: none; padding: 0; flex: none; }
.theme-switch-track {
	position: relative; display: flex; align-items: center; width: 52px; height: 30px;
	border-radius: 999px; background: var(--switch-track-bg, rgba(0,0,0,0.08));
	border: 1px solid var(--switch-border, rgba(0,0,0,0.12));
	backdrop-filter: blur(8px);
	padding: 3px;
}
@media (min-width: 480px) { .theme-switch-track { width: 104px; height: 38px; padding: 4px; } }
.theme-switch-opt {
	display: none; /* labels hidden on the compact mobile pill, shown from 480px up */
	position: relative; z-index: 2; flex: 1; text-align: center; font-size: 0.64rem; font-weight: 700;
	text-transform: uppercase; letter-spacing: 0.03em; color: var(--ink); opacity: 0.65;
}
@media (min-width: 480px) { .theme-switch-opt { display: block; } }
.theme-switch-thumb {
	position: absolute; z-index: 1; top: 3px; left: 3px; width: calc(50% - 3px); height: calc(100% - 6px);
	border-radius: 999px; background: var(--accent); transition: transform 0.35s cubic-bezier(.2,.8,.2,1);
}
@media (min-width: 480px) { .theme-switch-thumb { top: 4px; left: 4px; width: calc(50% - 4px); height: calc(100% - 8px); } }
.theme-switch.is-dark .theme-switch-thumb { transform: translateX(100%); }
.nav-toggle { flex: none; }

/* ---------------- Header / nav ---------------- */
.site-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 100;
	padding: 18px 0;
	background: var(--header-scrolled-bg);
	backdrop-filter: blur(10px);
	transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}
.site-header.is-scrolled {
	background: var(--header-scrolled-bg);
	padding: 10px 0;
	box-shadow: 0 10px 30px -20px rgba(0,0,0,0.4);
	backdrop-filter: blur(10px);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.site-logo img { height: 46px; width: auto; transition: height 0.3s ease; filter: var(--logo-filter, none); }
.site-header.is-scrolled .site-logo img { height: 36px; }

.nav-desktop { display: none; }
@media (min-width: 1000px) {
	.nav-desktop { display: flex; gap: clamp(16px, 2vw, 34px); align-items: center; }
	.nav-desktop a { position: relative; font-size: 0.92rem; font-weight: 500; padding: 6px 0; }
	.nav-desktop a::after {
		content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
		background: currentColor; transition: right 0.35s cubic-bezier(.2,.8,.2,1);
	}
	.nav-desktop a:hover::after { right: 0; }
}

.nav-toggle {
	display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px;
}
@media (min-width: 1000px) { .nav-toggle { display: none; } }
.nav-toggle span { width: 24px; height: 2px; background: currentColor; transition: transform 0.3s ease, opacity 0.3s ease; }

.nav-drawer {
	position: fixed; inset: 0; z-index: 200;
	background: var(--bg);
	display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
	padding: 40px;
	transform: translateY(-100%);
	transition: transform 0.5s cubic-bezier(.2,.9,.2,1);
	gap: 22px;
}
.nav-drawer.is-open { transform: translateY(0); }
.nav-drawer a { font-family: var(--font-display); font-size: clamp(1.6rem, 7vw, 2.6rem); font-weight: 600; }
.nav-drawer-close { position: absolute; top: 22px; right: 20px; background: none; border: 0; font-size: 2rem; line-height: 1; color: var(--ink); }

/* ---------------- Hero (split: solid text panel + rotating image panel) ---------------- */
.hero-split {
	display: flex; flex-direction: column; min-width: 0;
}
@media (min-width: 900px) { .hero-split { flex-direction: row; min-height: 100svh; } }

.hero-panel {
	position: relative; z-index: 2; order: 2;
	display: flex; flex-direction: column; justify-content: center;
	padding: clamp(36px, 6vw, 56px) 20px clamp(48px, 7vw, 72px);
	color: var(--ink); background: var(--bg); min-width: 0;
}
@media (min-width: 768px) { .hero-panel { padding-inline: 40px; } }
@media (min-width: 900px) {
	.hero-panel { order: 1; flex: 0 0 46%; padding: 0 clamp(40px, 5vw, 90px); }
}

.hero-badge {
	align-self: flex-start;
	display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; margin-bottom: 22px;
	border-radius: 999px; background: transparent;
	border: 1px solid color-mix(in srgb, var(--ink) 22%, transparent);
	color: var(--ink); font-size: 0.76rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 30%, transparent); }

.hero-panel .eyebrow { display: block; color: var(--accent); white-space: normal; }
.hero-title {
	font-family: var(--font-script, var(--font-display));
	font-weight: 400; font-style: normal; color: var(--ink);
	font-size: clamp(3rem, 6.4vw, 6.4rem); line-height: 1.05; margin-bottom: 16px;
	word-break: break-word; max-width: 100%; overflow-wrap: break-word;
}
.hero-text { max-width: min(440px, 100%); font-size: clamp(1rem, 1.3vw, 1.15rem); margin-bottom: 30px; opacity: 0.75; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: clamp(30px, 6vw, 52px); }

.hero-stats { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 44px); padding-top: 26px; border-top: 1px solid color-mix(in srgb, var(--ink) 15%, transparent); max-width: 560px; }
.hero-stat { display: flex; flex-direction: column; gap: 4px; }
.hero-stat .value { font-family: var(--font-display); font-size: clamp(1.3rem, 2.6vw, 1.9rem); color: var(--ink); }
.hero-stat .label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.65; }

.hero-media {
	position: relative; order: 1; overflow: hidden; min-width: 0;
	height: min(80vh, 620px);
}
@media (min-width: 900px) { .hero-media { order: 2; flex: 1 1 54%; height: auto; } }
.hero-slide {
	position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s ease;
}
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero-slide img {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
	transform: scale(1.12);
}
.hero-slide.is-active img { animation: heroKenBurns 9s ease-out forwards; }
@keyframes heroKenBurns { from { transform: scale(1.12); } to { transform: scale(1.0); } }
.hero-media-overlay { position: absolute; inset: auto 0 0 0; z-index: 2; height: 45%; background: linear-gradient(0deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 100%); pointer-events: none; }

.hero-scroll-cue {
	position: absolute; z-index: 4; left: 50%; bottom: 26px; transform: translateX(-50%);
	display: none; flex-direction: column; align-items: center; gap: 10px;
	font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink); opacity: 0.6;
}
@media (min-width: 900px) { .hero-scroll-cue { display: none; } }
.hero-scroll-cue span { width: 1px; height: 34px; background: currentColor; position: relative; overflow: hidden; }
.hero-scroll-cue span::after {
	content: ""; position: absolute; top: -100%; left: 0; width: 100%; height: 100%; background: var(--accent);
	animation: scrollCue 2.2s ease-in-out infinite;
}
@keyframes scrollCue { 0% { top: -100%; } 50% { top: 0; } 100% { top: 100%; } }
.hero-nav { position: absolute; z-index: 4; bottom: 20px; right: 20px; display: flex; gap: 10px; }
.hero-nav button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.6); background: rgba(0,0,0,0.15); backdrop-filter: blur(4px); color: #fff; font-size: 1rem; flex: none; }
.hero-dots { position: absolute; z-index: 4; left: 20px; bottom: 28px; display: flex; gap: 8px; }
.hero-dots button { width: 9px; height: 9px; border-radius: 50%; background: #fff; opacity: 0.45; border: 0; padding: 0; }
.hero-dots button.is-active { opacity: 1; width: 26px; border-radius: 5px; transition: width 0.3s ease; }

/* ---------------- Marquee ---------------- */
.marquee { overflow: hidden; white-space: nowrap; padding: 18px 0; background: var(--marquee-bg); border-block: 1px solid var(--marquee-border, transparent); }
.marquee-track { display: inline-flex; gap: 40px; animation: marqueeScroll 26s linear infinite; will-change: transform; }
.marquee span { font-family: var(--font-display); font-size: clamp(1.2rem, 3vw, 2rem); color: var(--marquee-text); display: inline-flex; align-items: center; gap: 40px; }
.marquee span::after { content: "•"; opacity: 0.5; color: var(--accent); }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------------- About ---------------- */
.about-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; } }
.about-media { position: relative; }
.about-media .img-a { border-radius: var(--radius-lg, 20px); overflow: hidden; }
.about-media .img-b {
	position: absolute; width: 46%; border: 6px solid var(--bg); border-radius: var(--radius-lg, 16px); overflow: hidden;
	bottom: -8%; right: -6%; box-shadow: 0 30px 60px -25px rgba(0,0,0,0.4);
}
.about-text p { margin-top: 18px; opacity: 0.85; }
.about-text .btn { margin-top: 28px; }

/* ---------------- Offer / feature cards ---------------- */
.offer-head { display: grid; gap: 24px; margin-bottom: clamp(32px,6vw,56px); }
@media (min-width: 900px) { .offer-head { grid-template-columns: 1fr 1fr; align-items: end; } }
.card-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-card {
	padding: 30px 26px; border-radius: var(--radius-lg, 18px); background: var(--card-bg);
	border: 1px solid var(--card-border, transparent);
	transition: transform 0.4s cubic-bezier(.2,.8,.2,1), box-shadow 0.4s ease;
}
.feature-card:hover { transform: translateY(-8px); box-shadow: 0 24px 50px -30px rgba(0,0,0,0.4); }
.feature-card .num { font-family: var(--font-display); font-size: 2.2rem; color: var(--accent); margin-bottom: 14px; display: block; }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.feature-card p { opacity: 0.8; font-size: 0.95rem; }

/* ---------------- Promo tiles ---------------- */
.promo-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 780px) { .promo-grid { grid-template-columns: 1fr 1fr; } }
.promo-tile {
	position: relative; border-radius: var(--radius-lg, 20px); overflow: hidden; aspect-ratio: 4/5;
	display: flex; align-items: flex-end;
}
@media (min-width: 780px) { .promo-tile { aspect-ratio: 3/4; } }
.promo-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(.2,.8,.2,1); }
.promo-tile:hover img { transform: scale(1.08) rotate(-0.5deg); }
.promo-tile::before { content: ""; position: absolute; inset: 0; background: var(--promo-overlay); z-index: 1; }
.promo-content { position: relative; z-index: 2; padding: clamp(24px,4vw,40px); color: #fff; }
.promo-content h3 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 10px; }
.promo-content p { opacity: 0.9; max-width: 320px; margin-bottom: 16px; font-size: 0.95rem; }
.promo-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-transform: uppercase; font-size: 0.82rem; letter-spacing: 0.04em; }
.promo-link .arrow { transition: transform 0.3s ease; }
.promo-tile:hover .promo-link .arrow { transform: translateX(6px); }

/* ---------------- Discover / pinned checklist ---------------- */
.discover-grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .discover-grid { grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; } }
.discover-points { display: flex; flex-direction: column; gap: 26px; }
.discover-point { display: flex; gap: 18px; }
.discover-point .idx {
	flex: none; width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
	font-family: var(--font-display); border: 1px solid var(--accent); color: var(--accent); font-size: 0.95rem;
}
.discover-point h3 { font-size: 1.1rem; margin-bottom: 6px; }
.discover-point p { opacity: 0.8; font-size: 0.94rem; }
.discover-media img { border-radius: var(--radius-lg, 20px); }

/* ---------------- Testimonials (plain white/light background) ---------------- */
.testimonial-section { background: #FFFFFF; }
.testimonial-track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin: 0 -20px; padding-inline: 20px; }
.testimonial-track::-webkit-scrollbar { display: none; }
.testimonial-card {
	position: relative; flex: 0 0 min(360px, 84vw); scroll-snap-align: start; background: var(--card-bg);
	border: 1px solid var(--card-border, transparent); color: var(--ink); border-radius: var(--radius-lg, 18px); padding: 32px 28px;
}
.testimonial-card .quote-mark {
	position: absolute; top: 14px; right: 22px; font-family: var(--font-display); font-size: 3.2rem;
	color: var(--accent); opacity: 0.25; line-height: 1;
}
.testimonial-card h4 { font-size: 1.05rem; margin-bottom: 12px; padding-right: 30px; }
.testimonial-card p.quote { opacity: 0.75; font-size: 0.94rem; margin-bottom: 22px; }
.testimonial-card .who { display: flex; flex-direction: column; font-size: 0.85rem; opacity: 0.7; }

/* ---------------- Full-bleed utility ---------------- */
.full-bleed { width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; }

/* ---------------- Quote (simple centered) ---------------- */
.quote-band { text-align: center; }
.quote-band .quote-text {
	font-family: var(--font-display); font-style: italic; font-weight: 500;
	font-size: clamp(1.5rem, 4vw, 2.6rem); line-height: 1.35;
	max-width: 820px; margin: 0 auto; opacity: 0.9;
}

/* ---------------- Statement band (full-width) ---------------- */
.statement-band {
	background: var(--statement-bg, var(--footer-bg));
	color: var(--statement-text, var(--footer-text));
	padding: clamp(60px, 12vw, 130px) 20px;
	text-align: center;
	display: flex; flex-direction: column; align-items: center;
}
.statement-band .eyebrow { color: var(--accent); }
.statement-text {
	font-family: var(--font-display); font-weight: 500; font-style: italic;
	font-size: clamp(1.6rem, 5vw, 3.2rem); line-height: 1.25; max-width: 900px;
}

/* ---------------- Ambient gallery (full-width, random crossfade) ---------------- */
.ambient-gallery { position: relative; height: clamp(360px, 60vw, 640px); overflow: hidden; }
.ambient-gallery-frame { position: absolute; inset: 0; }
.ambient-gallery-img {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
	opacity: 0; transition: opacity 1.8s ease, transform 6s ease;
	transform: scale(1.05);
}
.ambient-gallery-img.is-active { opacity: 1; transform: scale(1); z-index: 1; }
.ambient-gallery-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.1) 45%, rgba(0,0,0,0.25) 100%); z-index: 2; }
.ambient-gallery-caption { position: absolute; z-index: 3; left: 0; right: 0; bottom: clamp(28px, 5vw, 56px); color: #fff; text-align: center; }
.ambient-gallery-caption .eyebrow { color: var(--accent); }
.ambient-gallery-caption .section-title { color: #fff; margin: 0; }

/* ---------------- CTA parallax band (full-width, fixed background) ---------------- */
.cta-parallax {
	position: relative; min-height: clamp(280px, 32vw, 400px); display: flex; align-items: center; justify-content: center;
	background-size: cover; background-position: center; background-repeat: no-repeat;
	background-attachment: fixed;
}
.cta-parallax-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 100%); }
.cta-parallax-content {
	position: relative; z-index: 1; text-align: center; color: #fff;
	display: flex; flex-direction: column; align-items: center; gap: 18px; max-width: 640px;
}
.cta-parallax-content .eyebrow { color: #fff; }
.cta-parallax-content .section-title { color: #fff; margin: 0; }
.cta-parallax-content p { opacity: 0.9; font-size: 1.02rem; }
.cta-parallax-content .btn { margin-top: 6px; background: #000; color: #fff; }
.cta-parallax-content .btn:hover { box-shadow: 0 14px 30px -12px rgba(0,0,0,0.6); }
/* iOS Safari ignores background-attachment: fixed — fall back to a static cover image there. */
@supports (-webkit-touch-callout: none) {
	.cta-parallax { background-attachment: scroll; }
}

/* ---------------- Journey / timeline (pinned scrub) ---------------- */
.journey-pin { position: relative; overflow: hidden; }
.journey-track {
	display: grid; grid-template-columns: repeat(2, 1fr); gap: 0;
}
@media (min-width: 900px) {
	/* From here up, GSAP drives the scrub via transform, pinned within .journey-pin;
	   the container must stay unclipped so the pin (position:fixed) can render. */
	.journey-track { display: flex; gap: 0; margin: auto; width: max-content; overflow: visible; }
}
.journey-item {
	padding: clamp(20px,3vw,40px); border-left: 2px solid var(--accent);
	display: flex; flex-direction: column; gap: 10px; justify-content: center;
}
@media (min-width: 900px) { .journey-item { flex: 0 0 340px; } }
.journey-item .year { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.2rem); color: var(--accent); }
.journey-item .label { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; font-weight: 600; }
.journey-item p { opacity: 0.8; font-size: 0.92rem; max-width: 280px; }

/* ---------------- Dishes ---------------- */
.dishes-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .dishes-grid { grid-template-columns: 1fr 0.9fr; gap: 60px; align-items: center; } }
.dishes-list { display: grid; gap: 18px; margin-top: 26px; }
.dishes-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 0.94rem; opacity: 0.85; }
.dishes-list .dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-top: 8px; }
.dishes-media img { border-radius: var(--radius-lg, 20px); }

/* ---------------- Stats ---------------- */
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (min-width: 780px) { .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.stat-card {
	padding: clamp(24px, 4vw, 36px) 20px; text-align: center; border-radius: var(--radius-lg, 18px);
	background: var(--card-bg); border: 1px solid var(--card-border, transparent);
}
.stat-value { display: block; font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3rem); color: var(--accent); margin-bottom: 8px; }
.stat-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.75; }

/* ---------------- Team (redesigned) ---------------- */
.team .section-head { max-width: 640px; }
.team .lead { margin-top: 16px; opacity: 0.8; max-width: 560px; }
.team-card {
	display: grid; gap: 32px; margin-top: clamp(32px, 5vw, 50px);
	padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-lg, 24px);
	background: var(--card-bg); border: 1px solid var(--card-border, transparent);
}
@media (min-width: 860px) { .team-card { grid-template-columns: 300px 1fr; align-items: center; gap: 50px; } }
.team-photos { position: relative; }
.team-photo-main { border-radius: var(--radius-lg, 20px); overflow: hidden; aspect-ratio: 4/5; }
.team-photo-main img { width: 100%; height: 100%; object-fit: cover; }
.team-photo-sub {
	position: absolute; width: 44%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
	border: 5px solid var(--bg); bottom: -8%; right: -10%; box-shadow: 0 20px 40px -20px rgba(0,0,0,0.5);
}
.team-photo-sub img { width: 100%; height: 100%; object-fit: cover; }
.team-info .role { color: var(--accent); font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 12px; display: block; }
.team-info p { opacity: 0.85; margin-top: 14px; }
.team-info .team-signature { height: 56px; width: auto; margin-top: 22px; opacity: 0.85; filter: var(--logo-filter, none); }

/* ---------------- Visit ---------------- */
.visit-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .visit-grid { grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; } }
.visit-media img { border-radius: var(--radius-lg, 20px); aspect-ratio: 4/5; object-fit: cover; }
.visit-hours { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.visit-hours-row { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 10px; border-bottom: 1px solid var(--card-border, rgba(0,0,0,0.1)); font-size: 0.94rem; }
.visit-hours-row span:last-child { color: var(--accent); font-weight: 600; }
.visit-address { margin-top: 18px; opacity: 0.85; font-size: 0.95rem; }
.visit .hero-actions { margin-top: 26px; margin-bottom: 0; }

/* ---------------- Gallery (full-width masonry wall, random-swap tiles) ---------------- */
.gallery { padding-inline: 0; }
.gallery-head { max-width: 1200px; text-align: left; margin: 0 auto clamp(32px, 6vw, 56px); padding-inline: 20px; }
.gallery-head p { max-width: 560px; opacity: 0.75; font-size: 0.95rem; margin-top: 10px; }
.gallery-head p + p { margin-top: 4px; }
@media (min-width: 768px) { .gallery-head { padding-inline: 40px; } }
@media (min-width: 1280px) { .gallery-head { padding-inline: 24px; } }

.gallery-grid {
	display: grid; grid-auto-flow: dense;
	grid-template-columns: repeat(2, 1fr);
	grid-auto-rows: 90px;
	gap: 4px; padding-inline: 4px;
}
@media (max-width: 479px) {
	.gallery-grid { grid-auto-rows: 70px; }
}
@media (min-width: 700px) {
	.gallery-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 150px; gap: 6px; padding-inline: 6px; }
}
@media (min-width: 1100px) {
	.gallery-grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 160px; }
}

.gallery-item { position: relative; margin: 0; overflow: hidden; grid-column: span 1; grid-row: span 1; background: var(--card-bg, #ddd); }
.gallery-item img {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
	transition: transform 0.6s cubic-bezier(.2,.8,.2,1), opacity 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
	position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 14px; font-size: 0.78rem; color: #fff;
	background: linear-gradient(0deg, rgba(0,0,0,0.75), transparent 80%);
	opacity: 0; transform: translateY(6px); transition: opacity 0.35s ease, transform 0.35s ease;
}
.gallery-item:hover figcaption { opacity: 1; transform: translateY(0); }

.gallery-size-tall { grid-row: span 2; }
.gallery-size-wide { grid-column: span 2; }
.gallery-size-big { grid-column: span 2; grid-row: span 2; }
@media (max-width: 699px) { .gallery-size-wide, .gallery-size-big { grid-column: span 2; } .gallery-size-big { grid-row: span 2; } }

/* ---------------- Footer ---------------- */
.site-footer { padding: clamp(50px, 8vw, 90px) 0 30px; background: var(--footer-bg); color: var(--footer-text); }
.footer-top { display: grid; gap: 30px; margin-bottom: 40px; }
@media (min-width: 800px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand img { height: 50px; margin-bottom: 16px; filter: var(--footer-logo-filter, none); }
.footer-brand p { opacity: 0.7; max-width: 320px; }
.footer-col h4 { text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.08em; margin-bottom: 16px; opacity: 0.6; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--footer-border, rgba(255,255,255,0.12)); padding-top: 22px; font-size: 0.8rem; opacity: 0.55; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; }

/* ---------------- Scroll reveal (GSAP hook) ---------------- */
.reveal { opacity: 0; transform: translateY(40px); }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------------- Cursor dot (desktop only) ---------------- */
.cursor-dot {
	position: fixed; top: 0; left: 0; width: 14px; height: 14px; border-radius: 50%;
	background: var(--accent); pointer-events: none; z-index: 999; mix-blend-mode: var(--cursor-blend, normal);
	transform: translate(-50%, -50%); opacity: 0; transition: opacity 0.3s ease, width 0.3s ease, height 0.3s ease;
}
@media (hover: hover) and (pointer: fine) { .cursor-dot.is-visible { opacity: 0.9; } }
@media (hover: none), (pointer: coarse) { .cursor-dot { display: none; } }

/* Small "Rated Excellent · N Google Reviews" line under the testimonials heading */
.testimonial-rating { margin-top: 10px; font-size: 0.85rem; letter-spacing: 0.02em; opacity: 0.75; }
.testimonial-rating::before { content: none; }

/* ---------------- Offer / feature cards: compact on mobile ---------------- */
@media (max-width: 699px) {
	.offer { padding: 40px 0; }
	.offer-head { gap: 0; margin-bottom: 22px; }
	.offer-head .section-title { font-size: 1.7rem; margin-top: 6px; }
	.card-grid { gap: 12px; }
	.feature-card { padding: 18px 18px 18px 20px; }
	.feature-card .num { display: inline-block; font-size: 1.3rem; margin: 0 10px 0 0; vertical-align: baseline; }
	.feature-card h3 { display: inline; font-size: 1.05rem; margin: 0; }
	.feature-card p { margin-top: 8px; font-size: 0.9rem; line-height: 1.5; }
	.feature-card:hover { transform: none; box-shadow: none; }
}
