/**
 * Urban Mall theme styles.
 * Colors/fonts come from theme.json CSS custom properties.
 */

:root {
	--wi-brand: var(--wp--preset--color--brand, #ffe70b);
	--wi-dark: var(--wp--preset--color--dark, #131211);
	--wi-white: var(--wp--preset--color--base, #ffffff);
	--wi-muted: var(--wp--preset--color--text-secondary, #6f6b66);
	--wi-text: #333333;
	--wi-border: var(--wp--preset--color--border, #d6d3d0);
	--wi-display: var(--wp--preset--font-family--display, "Cal Sans", sans-serif);
	--wi-body: var(--wp--preset--font-family--body, "Figtree", sans-serif);
	--wi-container: 1360px;
}

* { box-sizing: border-box; }

/* Dark canvas so no white strip can appear below the footer. */
html { background: var(--wi-dark); }

/* Sticky footer: content grows, footer always sits at the bottom. */
#page { display: flex; flex-direction: column; min-height: 100vh; }
#content { flex: 1 0 auto; }
.site-footer { flex-shrink: 0; }

body {
	margin: 0;
	font-family: var(--wi-body);
	color: var(--wi-text);
	background: var(--wi-white);
	font-size: var(--wi-fs-base, 17px);
	line-height: 1.55;
}

img { max-width: 100%; height: auto; display: block; }

/* Never let the browser's default visited-link colour (#800080) leak through. */
a,
a:link,
a:visited,
a:active { color: inherit; text-decoration: none; }

.wi-container {
	width: 100%;
	max-width: calc(var(--wi-container) + 80px);
	margin: 0 auto;
	padding-inline: 40px;
}

/* Family, size, line-height and weight come from the Theme Styles engine. */
h1, h2, h3, h4, h5, h6 { margin: 0; }

/* ---------- Scroll-reveal entrances (1.25s, like the reference site) ----------
   Only applied when JS is present (html.wi-js), so no-JS keeps everything visible. */
/* Mirrors the reference site's keyframes exactly:
   fade-in            opacity 0 → 1
   fade-in-up         opacity 0 + translateY(60px) → 0
   fade-in-down       opacity 0 + translateY(-60px) → 0
   pop-in             opacity 0 + scale(0.75) → 1
   duration 1.25s, timing ease. */
.wi-js [data-wi-anim] {
	opacity: 0;
	transition: opacity 1.25s ease, transform 1.25s ease;
	transition-delay: var(--wi-delay, 0ms);
	will-change: opacity, transform;
}
.wi-js [data-wi-anim="fade"] { transform: none; }
.wi-js [data-wi-anim="fade-up"] { transform: translateY(60px); }
.wi-js [data-wi-anim="fade-down"] { transform: translateY(-60px); }
.wi-js [data-wi-anim="pop"] { transform: scale(.75); }
.wi-js [data-wi-anim].wi-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	.wi-js [data-wi-anim] { opacity: 1; transform: none; transition: none; }
}

/* ---------- Buttons ---------- */
/* :link/:visited are required — the global a:link reset outranks a bare class. */
.wi-btn,
.wi-btn:link,
.wi-btn:visited {
	display: inline-block;
	background: var(--wi-brand);
	color: var(--wi-dark);
	font-family: var(--wi-body);
	/* size / weight / letter-spacing / padding / radius: Theme Styles engine */
	border: 1px solid transparent;
	transition: background .2s, color .2s, border-color .2s;
}
.wi-btn:hover { background: var(--wi-dark); color: var(--wi-white); }

.wi-btn--ghost,
.wi-btn--ghost:link,
.wi-btn--ghost:visited { background: transparent; color: var(--wi-white); border-color: rgba(255,255,255,.6); }
.wi-btn--ghost:hover { background: var(--wi-white); color: var(--wi-dark); border-color: var(--wi-white); }

.wi-btn--dark,
.wi-btn--dark:link,
.wi-btn--dark:visited { background: var(--wi-dark); color: var(--wi-white); }
.wi-btn--dark:hover { background: var(--wi-brand); color: var(--wi-dark); }

.wi-btn--on-dark,
.wi-btn--on-dark:link,
.wi-btn--on-dark:visited { background: var(--wi-white); color: var(--wi-dark); }
.wi-btn--on-dark:hover { background: var(--wi-brand); color: var(--wi-dark); }

/* ---------- Top bar ---------- */
.wi-topbar { background: var(--wi-brand); color: var(--wi-dark); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.wi-topbar__inner { display: flex; justify-content: center; align-items: center; min-height: 34px; }
.wi-topbar__dot { margin-right: 8px; }

/* ---------- Header ---------- */
.wi-header { position: sticky; top: 0; z-index: 50; background: var(--wi-white); border-bottom: 1px solid var(--wi-border); }
/* 1fr | auto | 1fr keeps the nav on the page's centre axis, so it lines up
   with the centred top-bar text regardless of logo / icon widths. */
.wi-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; min-height: 90px; }
.wi-logo { font-family: var(--wi-display); font-size: 26px; }
.wi-header__brand { justify-self: start; }
.wi-header .custom-logo, .wi-logo-link img { max-height: 44px; width: auto; }
.wi-nav { justify-self: center; display: flex; justify-content: center; }
.wi-header__actions { justify-self: end; }
.wi-nav ul { list-style: none; display: flex; gap: 40px; margin: 0; padding: 0; }
.wi-nav a { font-weight: 600; font-size: 18px; color: var(--wi-dark); transition: color .2s; }
.wi-nav a:hover { color: var(--wi-muted); }
.wi-header__actions { flex: 0 0 auto; display: flex; align-items: center; gap: 18px; margin-left: auto; }
.wi-burger-btn { display: none; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; background: none; border: 0; cursor: pointer; }
.wi-header__icon,
.wi-header__icon:link,
.wi-header__icon:visited { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; color: #000; transition: color .2s; }
.wi-header__icon:hover { color: var(--wi-muted); }
.wi-header__icon svg { stroke: currentColor; }
.wi-header__icon--fb svg { fill: currentColor; stroke: none; }
.wi-header__lang { margin-left: 8px; font-weight: 600; font-size: 18px; color: var(--wi-dark); }
.wi-header__lang .wi-lang { color: var(--wi-dark); }

/* Language switcher: current language, others drop down on hover/focus. */
.wi-lang-switcher { position: relative; }
.wi-lang-switcher__current {
	display: inline-flex; align-items: center; gap: 6px;
	background: none; border: 0; padding: 4px 0; cursor: pointer;
	font-family: var(--wi-body); font-weight: 600; font-size: 18px;
	color: var(--wi-dark);
}
.wi-lang-switcher__caret { transition: transform .2s; }
.wi-lang-switcher:hover .wi-lang-switcher__caret,
.wi-lang-switcher:focus-within .wi-lang-switcher__caret { transform: rotate(180deg); }
.wi-lang-switcher__list {
	position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(4px);
	min-width: 84px; margin: 0; padding: 6px 0; list-style: none; z-index: 60;
	background: #fff; border: 1px solid var(--wi-border); border-radius: 10px;
	box-shadow: 0 8px 24px rgba(0,0,0,.10);
	opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s, transform .2s;
}
.wi-lang-switcher:hover .wi-lang-switcher__list,
.wi-lang-switcher:focus-within .wi-lang-switcher__list {
	opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.wi-lang-switcher__list a,
.wi-lang-switcher__list a:link,
.wi-lang-switcher__list a:visited {
	display: block; padding: 8px 16px; text-align: center;
	font-weight: 600; font-size: 17px; color: var(--wi-dark);
}
.wi-lang-switcher__list a:hover { background: var(--wi-brand); }
/* Font Awesome "bars" glyph, rendered inline — thicker, tighter lines than a
   hand-rolled CSS burger, matching the reference. */
.wi-burger-icon { display: block; width: 24px; height: 24px; color: var(--wi-dark); }

/* ---------- Off-canvas menu (mirrors the reference site) ---------- */
.wi-offcanvas-overlay {
	position: fixed; inset: 0; z-index: 998;
	background: rgba(0,0,0,.8);
	opacity: 0; transition: opacity .35s ease;
}
.wi-offcanvas-overlay.is-open { opacity: 1; }

.wi-offcanvas {
	position: fixed; top: 0; right: 0; bottom: 0; z-index: 999;
	width: min(515px, 100%);
	background: var(--wi-white);
	padding: 40px 45px;
	overflow-y: auto;
	transform: translateX(100%);
	transition: transform .4s ease;
	visibility: hidden;
}
.wi-offcanvas.is-open { transform: translateX(0); visibility: visible; }

.wi-offcanvas__close {
	position: absolute; top: 28px; right: 34px;
	width: 29px; height: 29px; padding: 0;
	background: none; border: 0; color: var(--wi-dark); cursor: pointer;
}
.wi-offcanvas__close:hover { color: var(--wi-muted); }

.wi-offcanvas__nav ul { list-style: none; margin: 0 0 40px; padding: 0; }
.wi-offcanvas__nav li { margin-bottom: 6px; }
.wi-offcanvas__nav a,
.wi-offcanvas__nav a:link,
.wi-offcanvas__nav a:visited {
	display: block; padding: 4px 0;
	font-family: var(--wi-display); font-size: 36px; line-height: 1.35;
	color: var(--wi-dark);
}
.wi-offcanvas__nav a:hover { color: var(--wi-muted); }

.wi-offcanvas { color: var(--wi-text); }
.wi-offcanvas__title { font-size: 17px; font-family: var(--wi-body); font-weight: 700; line-height: 1.5; color: var(--wi-dark); margin-bottom: 16px; }
.wi-offcanvas__addr { font-style: normal; color: var(--wi-muted); margin-bottom: 16px; }
.wi-offcanvas__addr p { margin: 0; }
.wi-offcanvas__line { font-weight: 600; margin: 0 0 4px; }
.wi-offcanvas__line a { color: var(--wi-dark); }

.wi-offcanvas__social { display: flex; gap: 12px; margin-top: 28px; }
.wi-offcanvas__social a,
.wi-offcanvas__social a:link,
.wi-offcanvas__social a:visited {
	display: inline-flex; align-items: center; justify-content: center;
	width: 50px; height: 50px; border-radius: 50%;
	background: var(--wi-brand); color: var(--wi-dark);
	transition: background .2s, color .2s;
}
.wi-offcanvas__social a:hover { background: var(--wi-dark); color: var(--wi-white); }

/* Search + location at the bottom of the menu, mirroring the reference. */
.wi-offcanvas__tools { display: flex; align-items: center; gap: 14px; margin-top: 36px; }
.wi-offcanvas__tools .wi-searchform { flex: 1 1 auto; max-width: none; margin: 0; }
.wi-offcanvas__loc {
	flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
	width: 46px; height: 46px; border-radius: 50%;
	border: 1px solid var(--wi-border); color: var(--wi-dark);
	transition: background .2s, color .2s, border-color .2s;
}
.wi-offcanvas__loc:link, .wi-offcanvas__loc:visited { color: var(--wi-dark); }
.wi-offcanvas__loc:hover { background: var(--wi-dark); color: var(--wi-white); border-color: var(--wi-dark); }

body.wi-offcanvas-open { overflow: hidden; }

/* ---------- Hero ---------- */
.wi-hero {
	position: relative;
	background: var(--wi-dark) center/cover no-repeat;
	color: var(--wi-white);
	min-height: 660px;
	display: flex;
	align-items: center;
}
.wi-hero::before { content: ""; position: absolute; inset: 0; background: #000; opacity: .4; }
.wi-hero__inner { position: relative; text-align: center; max-width: 1160px; margin-inline: auto; padding-block: 80px; }
.wi-hero__eyebrow { font-family: var(--wi-display); font-size: 36px; line-height: 1.15; margin: 0 0 20px; display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; }
.wi-hero__repeat { display: inline-block; font-size: 28px; line-height: 1; background: var(--wi-brand); color: var(--wi-dark); padding: 5px 16px 7px; border-radius: 8px; transform: rotate(-3deg); }
/* No CTA buttons in the hero (per Figma) — the title is the last element. */
/* Explicit — the global `h1 { color: var(--wi-heading) }` rule beats inheritance
   from .wi-hero, so this must not rely on the heading token being light. */
.wi-hero__title { font-size: clamp(2.75rem, 1.4rem + 5vw, var(--wi-fs-h1, 90px)); line-height: 1.05; max-width: 1000px; margin: 0 auto; color: var(--wi-white); }

/* ---------- Stats + Intro (scattered canvas, mirrors Figma 1440x961) ---------- */
.wi-stats { overflow: hidden; }
.wi-stats__canvas { position: relative; width: 100%; max-width: 1440px; height: 961px; margin: 0 auto; }

.wi-stats__img { position: absolute; margin: 0; width: 227px; height: 220px; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.wi-stats__img img { width: 100%; height: 100%; object-fit: cover; }
.wi-stats__img--1 { left: 2.0%;  top: 113px; }
.wi-stats__img--2 { left: 86.1%; top: 240px; }
.wi-stats__img--3 { left: 20.7%; top: 786px; }

.wi-stat { position: absolute; display: flex; flex-direction: column; align-items: flex-start; }
.wi-stat__value { font-family: var(--wi-display); font-size: clamp(3rem, 1.8rem + 4vw, 5.625rem); line-height: 1.05; color: var(--wi-dark); }
.wi-stat__label { font-weight: 700; font-size: 16px; color: var(--wi-dark); margin-top: 4px; }
.wi-stat__note { font-size: 13px; color: var(--wi-muted); margin-top: 2px; }

/* Label offsets measured from each number's left edge in Figma. */
.wi-stat--1 { left: 16.5%; top: 91px;  z-index: 2; }
.wi-stat--1 .wi-stat__label { margin-left: 28px; }
.wi-stat--2 { left: 74.9%; top: 150px; z-index: 2; }
.wi-stat--2 .wi-stat__label { margin-left: 34px; }
.wi-stat--3 { left: 5.8%;  top: 670px; z-index: 2; }
.wi-stat--3 .wi-stat__label { margin-left: 83px; }
.wi-stat--4 { left: 74.2%; top: 730px; align-items: center; }

/* Centred with auto margins, NOT transform — the reveal animation owns transform. */
.wi-stats__intro {
	position: absolute; left: 0; right: 0; top: 360px;
	width: min(640px, 90%); margin-inline: auto; text-align: center;
	font-family: var(--wi-display); font-size: 28px; line-height: 1.35; color: var(--wi-dark);
}

/* Below the design width the absolute canvas can't hold — fall back to a clean stack. */
@media (max-width: 1200px) {
	.wi-stats__canvas { height: auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 24px; padding: 64px 24px; }
	.wi-stats__img, .wi-stat, .wi-stats__intro { position: static; transform: none; left: auto; top: auto; }
	.wi-stats__img { width: 100%; height: 220px; }
	.wi-stat { align-items: center; text-align: center; }
	.wi-stat .wi-stat__label { margin-left: 0; }
	.wi-stats__intro { grid-column: 1 / -1; width: 100%; order: -1; }
}
@media (max-width: 640px) {
	.wi-stats__canvas { grid-template-columns: 1fr; }
}

/* ---------- Section headings ---------- */
.wi-section-title { font-size: clamp(2.25rem, 1.2rem + 4vw, var(--wi-fs-h2, 72px)); color: var(--wi-dark); text-align: center; }
.wi-section-sub { text-align: center; color: var(--wi-muted); margin: 12px 0 40px; }

/* ---------- Brands (separate rounded cards, per Figma) ---------- */
.wi-brands { padding-block: 130px 90px; }
.wi-brands__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px; }
.wi-brand {
	display: flex; align-items: center; justify-content: center;
	background: var(--wi-white); border: 1px solid var(--wi-border); border-radius: 14px;
	aspect-ratio: 203 / 207; padding: 24px 18px;
	transition: border-color .2s, box-shadow .2s;
}
.wi-brand:hover { border-color: var(--wi-dark); box-shadow: 0 6px 18px rgba(0,0,0,.06); }
/* SVG logos carry no intrinsic size — give them an explicit box, then letterbox. */
.wi-brand img { width: 100%; height: 48px; max-width: 150px; object-fit: contain; }
.wi-brands__empty { text-align: center; color: var(--wi-muted); }
.wi-brands__cta { display: flex; justify-content: center; margin-top: 60px; }

/* ---------- Marquee: two crossing tilted ribbons ----------
   Live values: section 224px, ribbon box 74px (20px padding + 33.6px line),
   ±3deg rotation, ribbon ~1.5x viewport so the ends never show. */
.wi-marquee { position: relative; height: 224px; overflow: hidden; background: var(--wi-white); }
.wi-marquee__band {
	position: absolute; left: -25%; width: 150%;
	display: flex; overflow: hidden; padding-block: 20px;
}
.wi-marquee__band--grey   { top: 58px; background: var(--wi-muted); color: #fff; transform: rotate(-3deg); z-index: 1; }
.wi-marquee__band--yellow { top: 92px; background: var(--wi-brand); color: var(--wi-dark); transform: rotate(3deg); z-index: 2; }

.wi-marquee__track { display: flex; flex: none; white-space: nowrap; font-family: var(--wi-display); font-size: 28px; line-height: 33.6px; animation: wi-scroll var(--wi-mq-speed, 18s) linear infinite; }
.wi-marquee__track--reverse { animation-direction: reverse; }
.wi-marquee__item { display: inline-flex; align-items: center; }
.wi-marquee__star { font-style: normal; margin-inline: 28px; }
.wi-marquee__band--yellow .wi-marquee__star { color: var(--wi-dark); }
@keyframes wi-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (max-width: 900px) {
	.wi-marquee { height: 180px; }
	.wi-marquee__band { padding-block: 14px; }
	.wi-marquee__band--grey { top: 44px; }
	.wi-marquee__band--yellow { top: 72px; }
	.wi-marquee__track { font-size: 20px; line-height: 24px; }
}

/* ---------- Services: left title + three icon columns ---------- */
.wi-services { padding-block: 100px 130px; }
.wi-services__layout { display: grid; grid-template-columns: 300px repeat(3, 1fr); gap: 40px; align-items: start; }
.wi-services__title { font-size: clamp(2.25rem, 1.2rem + 4vw, 4.5rem); line-height: 1.1; color: var(--wi-dark); margin: 0; }
.wi-services__col { list-style: none; margin: 0; padding: 0; }
/* Live rows are vertically centred and use a 38px icon slot. */
.wi-service { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.wi-service:last-child { margin-bottom: 0; }
.wi-service__icon { flex: 0 0 38px; width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; color: #000; line-height: 0; }
.wi-service__icon img { width: 32px; height: 32px; object-fit: contain; }
/* Live site uses the display face here, not the body font. */
.wi-service__label { font-family: var(--wi-display); font-weight: 400; font-size: 21px; line-height: 28.35px; color: #000; }

@media (max-width: 1100px) {
	.wi-services__layout { grid-template-columns: repeat(2, 1fr); }
	.wi-services__title { grid-column: 1 / -1; margin-bottom: 20px; }
}
@media (max-width: 640px) {
	.wi-services__layout { grid-template-columns: 1fr; }
}

/* ---------- Page hero (Contact / About) ----------
   Reference: min-height 760px, side padding 40px, overlay rgba(0,0,0,.4),
   title 90px Cal Sans, left aligned, accent line in the brand colour. */
.wi-page-hero {
	position: relative;
	min-height: 760px;
	display: flex;
	align-items: center;
	background: var(--wi-dark) center/cover no-repeat;
	color: var(--wi-white);
}
.wi-page-hero::before { content: ""; position: absolute; inset: 0; background: #000; opacity: .4; }
.wi-page-hero__inner { position: relative; width: 100%; }
.wi-page-hero__title {
	font-size: clamp(2.75rem, 1.4rem + 5vw, var(--wi-h1-size, 90px));
	line-height: var(--wi-h1-lh, 1.05);
	color: var(--wi-white);
	margin: 0;
}
.wi-page-hero__line { display: block; }
.wi-page-hero__line--accent { color: var(--wi-brand); }

/* ---------- Contact body ----------
   Figma: hero ends 760, content starts 880 → 120px.
   Content ends 1381.6, section ends 1502 → 120.4px. Equal top and bottom.
   Container 1280 wide; left column 474.8, map 742.4, gap 50. */
.wi-contact__body { padding-block: 120px; }
.wi-contact__grid {
	display: grid;
	grid-template-columns: 475px 1fr;
	gap: 50px;
	align-items: start;
	/* .wi-container adds 40px side padding, so 1360 yields 1280 of content. */
	max-width: 1360px;
	margin-inline: auto;
}
/* No map (or no info) → don't leave a dead column, and don't let the
   remaining content stretch across the full container. */
.wi-contact__grid--single { grid-template-columns: 1fr; }
.wi-contact__grid--single .wi-contact__info { max-width: 760px; padding-top: 0; }
.wi-contact__grid--single .wi-contact__meta { max-width: 560px; }

.wi-contact__info { padding-top: 59px; }
.wi-contact__title { font-size: var(--wi-h2-size, 72px); line-height: var(--wi-h2-lh, 1.1); color: var(--wi-dark); margin: 0 0 30px; }
.wi-contact__text { color: var(--wi-text); margin: 0 0 30px; }

.wi-contact__meta { display: grid; grid-template-columns: 217px 1fr; gap: 60px; }
.wi-contact__label { display: block; font-size: 14px; line-height: 21.7px; font-weight: 500; color: var(--wi-muted); margin-bottom: 6px; }
.wi-contact__value { color: var(--wi-dark); font-weight: 500; }
.wi-contact__value p { margin: 0; font-size: 17px; line-height: 26.35px; }

.wi-contact__map { margin: 0; }
.wi-contact__map-frame { position: relative; overflow: hidden; border-radius: 4px; aspect-ratio: 742 / 444; background: var(--wi-border); }
.wi-contact__map-frame img,
.wi-contact__map-frame iframe { width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.wi-contact__map-caption {
	background: var(--wi-dark); color: rgba(255,255,255,.85);
	font-size: 14px; line-height: 1.5; text-align: center; padding: 18px 24px;
}

@media (max-width: 1100px) {
	.wi-page-hero { min-height: 520px; }
	.wi-contact__body { padding-block: 90px 70px; }
	.wi-contact__grid { grid-template-columns: 1fr; gap: 56px; }
	.wi-contact__title { font-size: clamp(2.25rem, 1.2rem + 4vw, var(--wi-h2-size, 72px)); }
}
@media (max-width: 560px) {
	.wi-page-hero { min-height: 420px; }
	.wi-contact__meta { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- About ----------
   Figma (1440): intro section 1440x695.28 — padding-top 115.18, inner 1360,
   left col 619.98 (padding-right 100, gap 30), right image 740.02 x 580, r20.
   Services section 1440x930.19 — padding-top 115.19, left image 540 (37.5%),
   dark panel 900 (62.5%) x 815, panel padding 4% 7% of the section width,
   items 199.45 wide in 3 columns, gap 30px/50px. */
.wi-about__intro { padding-block: 115px 0; }
.wi-about__intro-grid { display: grid; grid-template-columns: 620fr 740fr; }
.wi-about__intro-grid--single { grid-template-columns: 1fr; }

.wi-about__intro-text {
	display: flex; flex-direction: column; justify-content: center;
	gap: 30px; padding-right: 100px;
}
.wi-about__intro-grid--single .wi-about__intro-text { padding-right: 0; }
.wi-about__title {
	font-size: var(--wi-h2-size, 72px); line-height: var(--wi-h2-lh, 1.1);
	color: var(--wi-dark); margin: 0; max-width: 445px;
}
.wi-about__lead { max-width: 520px; color: var(--wi-text); }
.wi-about__lead p { margin: 0; }
.wi-about__lead p + p { margin-top: 1em; }
.wi-about__lead strong { font-weight: 700; }

.wi-about__intro-media { display: block; }
.wi-about__intro-media img {
	display: block; width: 100%; height: 580px;
	object-fit: cover; border-radius: 20px;
}

.wi-about__services { display: flex; margin-top: 115px; }
.wi-about__services-media {
	flex: 0 0 37.5%; min-height: 815px;
	background: var(--wi-dark) center/cover no-repeat;
}
.wi-about__services-panel {
	flex: 1 1 auto; min-height: 815px; background: #000; color: var(--wi-white);
	/* Percentages resolve against the flex container (the full 1440), which is
	   what Elementor's 4% / 7% produce on the reference. */
	padding: 4% 7%;
	display: flex; flex-direction: column; justify-content: center; gap: 20px;
}
.wi-about__services--noimg .wi-about__services-panel { padding-inline: 7%; }

.wi-about__badge {
	align-self: flex-start; margin: 0;
	background: var(--wi-brand); color: var(--wi-dark);
	border-radius: 4px; padding: 3px 13px;
	font-family: var(--wi-display); font-weight: 400;
	font-size: 28px; line-height: 33.6px;
}
.wi-about__services-title {
	font-size: var(--wi-h2-size, 72px); line-height: var(--wi-h2-lh, 1.1);
	color: var(--wi-white); margin: 0 0 50px;
}

.wi-about__services-list {
	list-style: none; margin: 0; padding: 0;
	display: flex; flex-wrap: wrap; gap: 30px 50px;
}
.wi-about__service {
	flex: 0 0 calc((100% - 100px) / 3);
	display: flex; align-items: center; gap: 14px; margin: 0;
}
.wi-about__service-icon {
	flex: 0 0 38px; width: 38px; height: 38px;
	display: inline-flex; align-items: center; justify-content: center;
	color: var(--wi-brand);
}
.wi-about__service-icon svg { width: 32px; height: 32px; }
/* Uploaded icons carry their own colour, and SVGs have no intrinsic size. */
.wi-about__service-icon--custom img { display: block; width: 32px; height: 32px; object-fit: contain; }
.wi-about__service-label { font-size: 17px; line-height: 26.35px; font-weight: 400; color: var(--wi-white); }

@media (max-width: 1100px) {
	.wi-about__intro { padding-block: 80px 0; }
	.wi-about__intro-grid { grid-template-columns: 1fr; gap: 48px; }
	.wi-about__intro-text { padding-right: 0; }
	.wi-about__title { font-size: clamp(2.25rem, 1.2rem + 4vw, var(--wi-h2-size, 72px)); }
	.wi-about__intro-media img { height: auto; aspect-ratio: 740 / 580; }

	.wi-about__services { flex-direction: column; margin-top: 80px; }
	.wi-about__services-media { flex: 0 0 auto; min-height: 420px; }
	.wi-about__services-panel { min-height: 0; padding: 64px 40px; }
	.wi-about__services-title { font-size: clamp(2.25rem, 1.2rem + 4vw, var(--wi-h2-size, 72px)); margin-bottom: 30px; }
	.wi-about__service { flex: 0 0 calc((100% - 50px) / 2); }
}
@media (max-width: 640px) {
	.wi-about__service { flex: 0 0 100%; }
	.wi-about__services-panel { padding: 56px 24px; }
}

/* ---------- Default page (Gutenberg blocks) ----------
   Same 120px breathing room as the Contact page: hero/header above, footer below.
   Widths mirror theme.json — contentSize 1160, wideSize 1360. */
.wi-page {
	--wi-content: 1160px;
	--wi-wide: 1360px;
	--wi-gutter: 40px;
	padding: 120px var(--wi-gutter);
}
.wi-page__header { max-width: var(--wi-content); margin: 0 auto 48px; }
.wi-page__title { font-size: var(--wi-h1-size, 90px); line-height: var(--wi-h1-lh, 1.05); color: var(--wi-dark); margin: 0; }

/* Every direct child of the content is centred at contentSize…
   margin-block:0 here (not a later `p { margin: 0 }` rule) — a descendant
   selector like `.wi-page__content p` is (0,2,0) and would outrank this
   (0,1,0) rule, silently killing margin-inline:auto and un-centring the text. */
.wi-page__content > * { max-width: var(--wi-content); margin-inline: auto; margin-block: 0; }
/* …unless the editor marked it wide or full. */
.wi-page__content > .alignwide { max-width: var(--wi-wide); }
.wi-page__content > .alignfull {
	max-width: none;
	/* Break out of .wi-page's horizontal padding, reaching the viewport edge. */
	margin-inline: calc(var(--wi-gutter) * -1);
}
.wi-page__content > .alignfull:first-child { margin-top: calc(120px * -1); }
.wi-page__content > .alignfull:last-child { margin-bottom: calc(120px * -1); }

/* Vertical rhythm between blocks. */
.wi-page__content > * + * { margin-top: 28px; }
.wi-page__content > h2 { margin-top: 64px; }
.wi-page__content > h3, .wi-page__content > h4 { margin-top: 48px; }
.wi-page__content > *:first-child { margin-top: 0; }

.wi-page__content ul, .wi-page__content ol { padding-left: 1.4em; }
.wi-page__content li + li { margin-top: 8px; }
.wi-page__content a:not(.wp-block-button__link) { color: var(--wi-dark); text-decoration: underline; text-underline-offset: 3px; }
.wi-page__content a:not(.wp-block-button__link):hover { color: var(--wi-brand-ink, var(--wi-dark)); text-decoration-color: var(--wi-brand); }
.wi-page__content img, .wi-page__content .wp-block-image img { border-radius: 20px; }
.wi-page__content .alignfull img { border-radius: 0; }
.wi-page__content figure { margin: 0; }
.wi-page__content figcaption { font-size: 14px; color: var(--wi-muted); margin-top: 12px; text-align: center; }

.wi-page__content blockquote {
	border-left: 4px solid var(--wi-brand); padding: 8px 0 8px 28px; margin-inline: auto;
	font-family: var(--wi-display); font-size: 28px; line-height: 1.35; color: var(--wi-dark);
}
.wi-page__content blockquote p { margin: 0; }
.wi-page__content blockquote cite { display: block; margin-top: 16px; font-family: inherit; font-size: 16px; font-style: normal; color: var(--wi-muted); }

.wi-page__content hr, .wi-page__content .wp-block-separator {
	border: 0; border-top: 1px solid var(--wi-border); margin-block: 64px;
}
.wi-page__content table { width: 100%; border-collapse: collapse; }
.wi-page__content th, .wi-page__content td { border: 1px solid var(--wi-border); padding: 12px 16px; text-align: left; }
.wi-page__content th { background: #faf9f7; font-weight: 600; }

/* Core button block picks up the theme button tokens. */
.wi-page__content .wp-block-button__link,
.wi-page__content .wp-block-button__link:link,
.wi-page__content .wp-block-button__link:visited {
	background: var(--wi-dark); color: var(--wi-white);
	border-radius: var(--wi-btn-radius, 4px);
	padding: var(--wi-btn-py, 16px) var(--wi-btn-px, 32px);
	font-size: var(--wi-btn-size, 16px); font-weight: var(--wi-btn-weight, 600);
	letter-spacing: var(--wi-btn-ls, normal); text-decoration: none;
}
.wi-page__content .wp-block-button__link:hover { background: var(--wi-brand); color: var(--wi-dark); }
.wi-page__content .is-style-outline .wp-block-button__link { background: transparent; color: var(--wi-dark); border: 1px solid var(--wi-dark); }

.wi-page__comments { max-width: var(--wi-content); margin: 96px auto 0; }

@media (max-width: 1100px) {
	.wi-page { padding-block: 80px; --wi-gutter: 24px; }
	.wi-page__title { font-size: clamp(2.5rem, 1.3rem + 4.5vw, var(--wi-h1-size, 90px)); }
	.wi-page__content > .alignfull:first-child { margin-top: -80px; }
	.wi-page__content > .alignfull:last-child { margin-bottom: -80px; }
	.wi-page__content > h2 { margin-top: 48px; }
}

/* ---------- 404 ----------
   Reference: section padding 130px 20px, inner padding-block 20px, content
   vertically centred in the leftover height, 51px between each element.
   The numeral is a viewport-scaled 30vw / 20vw / 15vw, line-height 1. */
/* ---------- Catalog archive ----------
   Figma "Shops" (1440): hero 1440x467.5, padding-block 150, title h1 90/1.05,
   20px gap, subtitle 952 wide. Body starts 120 below the hero.
   Filter row 63.91 tall + 50 margin. Pills: text h6 21px, padding 7px 12px,
   20px apart, centred. Grid: 3 x 433.33 with 30px gaps; photo 558.03 tall
   (433.33/558.03); title h5 28/33.6, 25px below the photo.
   Load more: 164x59, padding 16px 40px. */
.wi-archive-hero {
	position: relative;
	background: var(--wi-dark) center/cover no-repeat;
	color: var(--wi-white);
	padding-block: 150px;
	text-align: center;
}
/* The reference overlay is the dark brand colour at 40%, not pure black. */
.wi-archive-hero::before { content: ""; position: absolute; inset: 0; background: var(--wi-dark); opacity: .4; }
/* Reference separates the two lines with a flex gap, not a margin — so a hero
   with only a title carries no phantom 20px. */
.wi-archive-hero__inner {
	position: relative;
	display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.wi-archive-hero__title {
	font-size: clamp(2.75rem, 1.4rem + 5vw, var(--wi-h1-size, 90px));
	line-height: var(--wi-h1-lh, 1.05);
	color: var(--wi-white);
	margin: 0;
}
/* Figtree 400 17/26.35, pure white — not a tinted white. The trailing 25.5px
   is the widget's own padding and keeps the hero at Figma's 467.5 total. */
.wi-archive-hero__text {
	max-width: 952px; margin: 0 auto 25.5px;
	color: var(--wi-white); font-size: 17px; line-height: 26.35px;
}

.wi-catalog__body { padding-block: 120px; }

/* Each reference <li> is px-10 / pb-20, which makes the 43.91px pill sit in a
   63.91px row. Reproduce as a 20px column gap plus 20px padding-bottom. */
.wi-filters {
	list-style: none; margin: 0 0 50px; padding: 0 0 20px;
	display: flex; flex-wrap: wrap; justify-content: center; gap: 20px;
}
.wi-filters li { margin: 0; }
/* Figtree SemiBold 18/27.9, -0.5px — NOT the display face. Inactive pills have
   a #f1efea fill and no border; the active one is brand yellow. */
.wi-filter,
.wi-filter:link,
.wi-filter:visited {
	display: inline-block; border: 0; cursor: pointer;
	font-family: var(--wi-body); font-size: 18px; line-height: 27.9px;
	font-weight: 600; letter-spacing: -0.5px; text-align: center;
	color: var(--wi-dark); background: var(--wi-subtle, #f1efea);
	border-radius: 4px; padding: 7px 12px 8.91px; /* reference pill is 43.91 tall */
	transition: background .2s, color .2s;
}
.wi-filter:hover { background: #e7e4dd; }
.wi-filter.is-active,
.wi-filter.is-active:link,
.wi-filter.is-active:visited { background: var(--wi-brand); color: var(--wi-dark); }

.wi-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.wi-card { margin: 0; }
.wi-card[hidden] { display: none; }
.wi-card__link,
.wi-card__link:link,
.wi-card__link:visited { display: block; color: inherit; }

.wi-card__media {
	position: relative; overflow: hidden; border-radius: 20px;
	aspect-ratio: 433.33 / 558.03; background: var(--wi-border);
	display: flex; align-items: center; justify-content: center;
}
/* A permanent 40% dark wash — that is what makes the white logo legible.
   It is not a hover effect. */
.wi-card__media::before {
	content: ""; position: absolute; inset: 0; z-index: 1;
	background: var(--wi-dark); opacity: .4; transition: opacity .3s;
}
.wi-card__link:hover .wi-card__media::before { opacity: .55; }
.wi-card__photo {
	position: absolute; inset: 0;
	width: 100%; height: 100%; object-fit: cover;
	transition: transform .5s;
}
.wi-card__link:hover .wi-card__photo { transform: scale(1.04); }
/* SVG wordmarks have no intrinsic size, so `width: auto` collapses them to 0.
   Give the box real dimensions and let object-fit preserve the aspect ratio.
   The reference draws them 36px tall. */
.wi-card__logo {
	position: relative; z-index: 2;
	height: 36px; width: 70%; object-fit: contain;
}
.wi-card__title {
	font-size: var(--wi-h5-size, 28px); line-height: var(--wi-h5-lh, 1.2);
	color: var(--wi-dark); margin: 25px 0 0; padding-bottom: 30px; max-width: 80%;
}

/* Card already carries 30px below the title; the reference row adds ~46px more
   before the button (total 76px from title baseline to button top). */
.wi-catalog__more { display: flex; justify-content: center; margin-top: 46px; }
.wi-btn--pill,
.wi-btn--pill:link,
.wi-btn--pill:visited {
	display: inline-block; border: 0; cursor: pointer;
	background: var(--wi-dark); color: var(--wi-white);
	border-radius: 999px; padding: 16px 40px;
	/* 27px line box + 32px padding = the reference's 59px button. */
	font-size: 17px; line-height: 27px; font-weight: 400;
}
.wi-btn--pill:hover { background: var(--wi-brand); color: var(--wi-dark); }
.wi-btn--pill[hidden] { display: none; }
.wi-btn--pill[aria-busy="true"] { opacity: .6; pointer-events: none; }
.wi-catalog__more[hidden] { display: none; }

/* No-JS fallback links. wi-catalog.js hides these once it takes over. */
.wi-pagination { margin-top: 46px; text-align: center; }
.wi-pagination[hidden] { display: none; }
.wi-pagination .page-numbers {
	display: inline-block; padding: 6px 14px; margin: 0 4px;
	border-radius: 4px; background: var(--wi-subtle, #f1efea); color: var(--wi-dark);
}
.wi-pagination .page-numbers.current { background: var(--wi-brand); }

.wi-catalog__empty { text-align: center; color: var(--wi-muted); }

/* ---------- Single catalog item ----------
   Figma "shop&food Detail page" (1440): content starts 72 below the header.
   Intro 1360 wide: left column 780.63 (content 680.63, so 100px right padding),
   image 579.36 x 719.28. Title h2 72/79.2. Hours rows 45.91 tall, 9px padding,
   1px rules; day 21px display face, value 17px right-aligned.
   Buttons 59 tall, 40px/16px padding, 20px apart.
   Map section starts 114 lower; inner 980 centred; h3 48px; map 50 below. */
.wi-single { padding-block: 72px; }
.wi-single__grid { display: grid; grid-template-columns: 780.63fr 579.36fr; align-items: start; }
.wi-single__grid--single { grid-template-columns: 1fr; }
.wi-single__body { padding-right: 100px; }
.wi-single__grid--single .wi-single__body { padding-right: 0; }

.wi-single__title {
	font-size: var(--wi-h2-size, 72px); line-height: var(--wi-h2-lh, 1.1);
	color: var(--wi-dark); margin: 0 0 120px;
}

.wi-hours { margin: 0; }
.wi-hours__row {
	display: flex; align-items: baseline; justify-content: space-between;
	gap: 20px; padding-block: 9px; border-top: 1px solid var(--wi-border);
}
.wi-hours__row:last-child { border-bottom: 1px solid var(--wi-border); }
/* 27.9px, not the 1.35 heading ratio — that is the metric the reference lists use. */
.wi-hours__day {
	font-family: var(--wi-display); font-weight: 400;
	font-size: var(--wi-h6-size, 21px); line-height: 27.9px;
	color: var(--wi-dark); margin: 0;
}
.wi-hours__value { font-size: 17px; line-height: 26.35px; color: var(--wi-text); margin: 0; text-align: right; }

.wi-single__actions { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 115px; }
.wi-btn--outline,
.wi-btn--outline:link,
.wi-btn--outline:visited {
	display: inline-flex; align-items: center; gap: 12px;
	background: transparent; color: var(--wi-dark);
	border: 1px solid var(--wi-dark); border-radius: 999px;
	padding: 16px 40px; font-size: 17px; line-height: 27px;
}
.wi-btn--outline:hover { background: var(--wi-dark); color: var(--wi-white); }

.wi-single__media { border-radius: 20px; overflow: hidden; }
.wi-single__photo { display: block; width: 100%; height: 719px; object-fit: cover; }

.wi-single__map { padding-top: 114px; }
.wi-single__map-inner { max-width: 1060px; } /* 980 content + 2 x 40 gutter */
.wi-single__map-title {
	font-size: var(--wi-h3-size, 48px); line-height: var(--wi-h3-lh, 1.15);
	color: var(--wi-dark); margin: 0 0 50px;
}

.wi-floormap { position: relative; margin: 0; }
.wi-floormap img { display: block; width: 100%; height: auto; border-radius: 8px; }
.wi-floormap__pin { position: absolute; transform: translate(-50%, -50%); }
.wi-floormap__dot {
	display: flex; align-items: center; justify-content: center;
	width: 38px; height: 38px; border-radius: 50%;
	background: var(--wi-brand); color: var(--wi-dark);
	box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.wi-floormap__label {
	position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
	background: var(--wi-dark); color: var(--wi-white);
	font-size: 17px; line-height: 1.55; white-space: nowrap;
	padding: 10px 16px; border-radius: 6px;
}
.wi-floormap__label::before {
	content: ""; position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%);
	border: 6px solid transparent; border-bottom-color: var(--wi-dark);
}

@media (max-width: 1100px) {
	.wi-single { padding-block: 56px; }
	.wi-single__grid { grid-template-columns: 1fr; gap: 48px; }
	.wi-single__body { padding-right: 0; }
	.wi-single__title { font-size: clamp(2.25rem, 1.2rem + 4vw, var(--wi-h2-size, 72px)); margin-bottom: 48px; }
	.wi-single__actions { margin-top: 48px; }
	.wi-single__photo { height: auto; aspect-ratio: 579 / 719; }
	.wi-single__map { padding-top: 72px; }
	.wi-single__map-title { font-size: clamp(1.9rem, 1.1rem + 3vw, var(--wi-h3-size, 48px)); margin-bottom: 32px; }
	.wi-floormap__label { font-size: 14px; padding: 6px 10px; }
}
@media (max-width: 560px) {
	.wi-hours__row { flex-direction: column; align-items: flex-start; gap: 2px; }
	.wi-hours__value { text-align: left; }
	.wi-single__actions { flex-direction: column; align-items: stretch; }
	.wi-btn--outline, .wi-btn--pill { text-align: center; justify-content: center; }
}

/* ---------- Promo banner ----------
   Figma (node 3:9509): section 1440x490 with 30px top padding; image 629.67x460,
   right column 730.31 with 100px left padding; badge at y 48.93, title h3 48/1.15,
   text 17/26.17, button 193x59. Sits 120px below the grid. */
/* The reference banner clears the footer with margin-bottom: 8% of the
   container width (104.5px at 1306, 115.2px at 1440). It was touching ours. */
.wi-promo { padding-top: 30px; margin-bottom: 8%; }
.wi-promo__grid { display: grid; grid-template-columns: 629.67fr 730.31fr; align-items: stretch; }
.wi-promo__grid--single { grid-template-columns: 1fr; }
.wi-promo__media { border-radius: 20px; overflow: hidden; height: 460px; }
.wi-promo__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.wi-promo__body {
	padding: 48.93px 0 0 100px;
	display: flex; flex-direction: column; align-items: flex-start;
}
.wi-promo__grid--single .wi-promo__body { padding-left: 0; }
.wi-promo__badge {
	margin: 0 0 8px;
	background: var(--wi-brand); color: var(--wi-dark);
	border-radius: 4px; padding: 3px 13px;
	font-family: var(--wi-display); font-weight: 400;
	font-size: 28px; line-height: 33.6px;
}
.wi-promo__title {
	font-size: var(--wi-h3-size, 48px); line-height: var(--wi-h3-lh, 1.15);
	color: var(--wi-dark); margin: 0 0 30px; max-width: 631px;
}
.wi-promo__text { color: var(--wi-text); margin: 0 0 30px; max-width: 631px; }

@media (max-width: 1100px) {
	.wi-promo { padding-top: 0; }
	.wi-promo__grid { grid-template-columns: 1fr; gap: 40px; }
	.wi-promo__media { height: auto; aspect-ratio: 630 / 460; }
	.wi-promo__body { padding: 0; }
	.wi-promo__title { font-size: clamp(1.9rem, 1.1rem + 3vw, var(--wi-h3-size, 48px)); }
}

@media (max-width: 1100px) {
	.wi-archive-hero { padding-block: 90px; }
	.wi-catalog__body { padding-block: 80px; }
	.wi-cards { grid-template-columns: repeat(2, 1fr); gap: 24px; }
	.wi-card__title { font-size: 22px; max-width: 100%; margin-top: 18px; }
	.wi-filter { font-size: 18px; }
}
@media (max-width: 640px) {
	.wi-cards { grid-template-columns: 1fr; }
	.wi-filters { gap: 12px; margin-bottom: 32px; }
}

/* ---------- Search overlay ----------
   Reference: fixed backdrop rgba(0,0,0,.8); form 800 wide, centred; input
   Cal Sans 72px in #f1efea with a 1px rgba(255,255,255,.4) bottom rule and
   30px/37px padding; 36px submit icon; 20px close X at top right. */
.wi-search-overlay {
	position: fixed; inset: 0; z-index: 999;
	background: rgba(0, 0, 0, .8);
	display: flex; align-items: center; justify-content: center;
	padding: 24px;
	opacity: 0; transition: opacity .25s ease;
}
.wi-search-overlay.is-open { opacity: 1; }
.wi-search-overlay[hidden] { display: none; }
body.wi-search-open { overflow: hidden; }

.wi-search-overlay__close {
	position: absolute; top: 30px; right: 30px;
	width: 20px; height: 20px; padding: 0;
	border: 0; background: transparent; color: #fff; cursor: pointer;
	display: flex; align-items: center; justify-content: center;
}
.wi-search-overlay__close:hover { color: var(--wi-brand); }

.wi-search-overlay__form { position: relative; width: 100%; max-width: 800px; }

/* Two classes — the _s reset styles input[type="search"] at (0,1,1). */
.wi-search-overlay .wi-search-overlay__input {
	width: 100%; background: transparent;
	font-family: var(--wi-display); font-size: 72px; font-weight: 400; line-height: 1.1;
	color: var(--wi-subtle, #f1efea);
	border: 0; border-bottom: 1px solid rgba(255, 255, 255, .4); border-radius: 0;
	padding: 30px 60px 30px 0;
}
.wi-search-overlay .wi-search-overlay__input::placeholder { color: var(--wi-subtle, #f1efea); opacity: 1; }

/* The _s reset sets `input[type="search"]:focus { color: #111 }` — specificity
   (0,2,1), which beats the two-class rule above. Without restating the colour
   here the text turns black the moment the field is focused, i.e. while typing. */
.wi-search-overlay .wi-search-overlay__input:focus {
	outline: none;
	color: var(--wi-subtle, #f1efea);
	border-bottom-color: var(--wi-brand);
}
/* The hint is cleared by wi-search.js on a real click or keystroke — not on
   focus, because the overlay focuses the field the instant it opens. */

/* Chrome's autofill repaints the field with its own colours and ignores
   `color`; only -webkit-text-fill-color wins. */
.wi-search-overlay .wi-search-overlay__input:-webkit-autofill,
.wi-search-overlay .wi-search-overlay__input:-webkit-autofill:hover,
.wi-search-overlay .wi-search-overlay__input:-webkit-autofill:focus {
	-webkit-text-fill-color: var(--wi-subtle, #f1efea);
	caret-color: var(--wi-subtle, #f1efea);
	-webkit-box-shadow: 0 0 0 1000px transparent inset;
	transition: background-color 9999s ease-in-out 0s;
}
/* Chrome also draws a dark cancel button inside search fields. */
.wi-search-overlay .wi-search-overlay__input::-webkit-search-cancel-button,
.wi-search-overlay .wi-search-overlay__input::-webkit-search-decoration { -webkit-appearance: none; }

.wi-search-overlay__submit {
	position: absolute; right: 0; top: 0; bottom: 0;
	width: 36px; padding: 0; border: 0; background: transparent;
	color: #fff; cursor: pointer;
	display: inline-flex; align-items: center; justify-content: center;
}
.wi-search-overlay__submit:hover { color: var(--wi-brand); }

@media (max-width: 900px) {
	.wi-search-overlay .wi-search-overlay__input { font-size: clamp(2rem, 1rem + 6vw, 72px); padding-right: 44px; }
	.wi-search-overlay__submit { width: 28px; }
	.wi-search-overlay__submit svg { width: 28px; height: 28px; }
}

/* ---------- Search results ----------
   Reference: full-width #f1efea band, 150px padding-block, centred h1 90/94.5,
   breadcrumb 20px below at 17px. Results start 120px under the band. */
.wi-results__hero {
	background: var(--wi-subtle, #f1efea);
	padding-block: 150px;
	text-align: center;
}
.wi-results__body { padding-block: 120px; }
.wi-results__title {
	font-size: clamp(2.5rem, 1.3rem + 4.5vw, var(--wi-h1-size, 90px));
	line-height: var(--wi-h1-lh, 1.05);
	color: var(--wi-dark); text-align: center; margin: 0 0 20px;
}
.wi-crumbs { font-size: 17px; line-height: 1.3; color: var(--wi-text); }
.wi-crumbs a, .wi-crumbs a:link, .wi-crumbs a:visited { color: var(--wi-text); }
.wi-crumbs a:hover { color: var(--wi-dark); text-decoration: underline; }
.wi-crumbs__sep { margin-inline: 8px; color: var(--wi-muted); }

.wi-results__count { text-align: center; color: var(--wi-muted); margin: 0 0 70px; }
.wi-results__form { margin: 0 auto 70px; }

.wi-results__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 60px; }
.wi-result { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; }
.wi-result--noimg { grid-template-columns: 1fr; }
/* It is an <a>; without display:block the height is ignored and it collapses. */
.wi-result__media { display: block; border-radius: 20px; overflow: hidden; height: 300px; }
.wi-result__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wi-result__type { font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--wi-muted); margin: 0 0 10px; }
.wi-result__title { font-size: var(--wi-h4-size, 36px); line-height: var(--wi-h4-lh, 1.15); margin: 0 0 14px; }
.wi-result__title a, .wi-result__title a:link, .wi-result__title a:visited { color: var(--wi-dark); }
.wi-result__title a:hover { color: var(--wi-muted); }
.wi-result__excerpt { color: var(--wi-text); margin: 0; }

.wi-results__empty { text-align: center; color: var(--wi-text); }

@media (max-width: 900px) {
	.wi-results { padding-block: 72px; }
	.wi-results__list { gap: 40px; }
	.wi-result { grid-template-columns: 1fr; gap: 20px; }
	.wi-result__media { height: auto; aspect-ratio: 1 / 1; }
	.wi-result__title { font-size: 26px; }
}

/* ---------- 404 ---------- */
.error404 #content { display: flex; }
.wi-404 { flex: 1; display: flex; padding-block: 130px; }
.wi-404__inner {
	flex: 1;
	display: flex; flex-direction: column; justify-content: center;
	text-align: center; padding-block: 20px;
}
.wi-404__title {
	font-size: 30vw; line-height: 1em; font-weight: 400;
	color: var(--wi-dark); margin: 0 0 51px;
}
@media (min-width: 768px)  { .wi-404__title { font-size: 20vw; } }
@media (min-width: 1181px) { .wi-404__title { font-size: 15vw; } }

.wi-404__text { color: var(--wi-text); margin: 0 0 51px; }
.wi-404__search { width: 100%; }

/* Search form (shared by 404 and search results) */
.wi-searchform { position: relative; max-width: 340px; margin-inline: auto; }
/* Two classes (0,2,0) — the _s reset styles input[type="search"] at (0,1,1),
   which would otherwise win and restore its own padding and grey border. */
.wi-searchform .wi-searchform__input {
	width: 100%; background: transparent; color: var(--wi-muted);
	font-family: var(--wi-display); font-size: 21px; font-weight: 400; line-height: 1.35;
	border: 0; border-bottom: 1px solid var(--wi-border);
	padding: 12px 26px 12px 0; border-radius: 0;
}
.wi-searchform .wi-searchform__input::placeholder { color: var(--wi-muted); opacity: 1; }
/* Same _s :focus trap as the overlay: input[type="search"]:focus{color:#111}. */
.wi-searchform .wi-searchform__input:focus { outline: none; color: var(--wi-dark); border-bottom-color: var(--wi-dark); }
.wi-searchform__submit {
	position: absolute; right: 0; top: 0; bottom: 0;
	width: 21px; padding: 0; border: 0; background: transparent;
	color: var(--wi-muted); cursor: pointer;
	display: inline-flex; align-items: center; justify-content: center;
}
.wi-searchform__submit:hover { color: var(--wi-dark); }

@media (max-width: 1100px) {
	.wi-404 { padding-block: 80px; }
	.wi-404__title { margin-bottom: 32px; }
	.wi-404__text { margin-bottom: 32px; }
}

/* ---------- Footer ---------- */
.wi-footer { background: var(--wi-dark); color: var(--wi-white); margin-top: 0; }
.wi-footer a { transition: color .2s; }
.wi-footer__menu a { color: rgba(255,255,255,.85); }
.wi-footer__menu a:hover { color: var(--wi-brand); }
.wi-footer__grid { display: grid; grid-template-columns: 62fr 31fr 31fr; gap: 60px; padding-block: 120px 0; }
/* Same reason as .wi-hero__title: h3/h4 carry an explicit token colour. */
.wi-footer__title { font-size: 36px; line-height: 1.15; margin-bottom: 40px; color: var(--wi-white); }
.wi-footer__addr { font-style: normal; color: rgba(255,255,255,.75); margin-bottom: 38px; font-size: 17px; line-height: 27px; }
.wi-footer__addr p { margin: 0; }
.wi-footer__contact, .wi-footer__menu { list-style: none; margin: 0; padding: 0; }
.wi-footer__contact li { margin-bottom: 0; font-size: 18px; line-height: 27.9px; font-weight: 600; color: #fff; }
.wi-footer__lbl { color: #fff; font-weight: 600; }
/* :link/:visited needed — the global a:link reset outranks a bare class. */
.wi-footer__val,
.wi-footer__val:link,
.wi-footer__val:visited,
.wi-footer__val:active { color: var(--wi-brand); font-weight: 600; }
.wi-footer__val:hover { color: var(--wi-brand); text-decoration: underline; }
.wi-footer__menu li { margin-bottom: 6px; font-size: 18px; line-height: 28.9px; color: rgba(255,255,255,.85); }
.wi-footer__menu a:hover { color: var(--wi-brand); }
.wi-footer__hours { color: #fff; font-weight: 600; font-size: 20px; margin-top: 40px; }
.wi-footer__heading { font-size: 28px; line-height: 33.6px; margin-bottom: 21px; color: var(--wi-white); }
.wi-footer__social { display: flex; gap: 10px; margin-top: 115px; }
.wi-footer__social a,
.wi-footer__social a:link,
.wi-footer__social a:visited { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 50%; border: 1px solid #fff; background: transparent; color: #fff; transition: background .2s, color .2s, border-color .2s; }
.wi-footer__social a:hover { background: var(--wi-brand); color: var(--wi-dark); border-color: var(--wi-brand); }
.wi-footer__social svg { width: 18px; height: 18px; }
.wi-footer__wordmark { padding-block: 24px 32px; }
.wi-footer__logo { width: 100%; max-width: 1360px; height: auto; display: block; }
.wi-wordmark { font-family: var(--wi-display); font-size: clamp(3rem, 1rem + 10vw, 9rem); line-height: .9; display: block; }
.wi-wordmark__dot { color: var(--wi-brand); }
.wi-footer__copy { color: rgba(255,255,255,.55); font-size: 14px; margin: 12px 0 0; text-align: right; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
	.wi-brands__grid { grid-template-columns: repeat(4, 1fr); }
	.wi-brands { padding-block: 80px 60px; }
}

/* Below this the centred nav no longer fits: hide it, show the burger.
   Logo stays left; every icon and the burger stay pinned to the right edge. */
@media (max-width: 1100px) {
	.wi-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
	.wi-header__brand { flex: 0 0 auto; }
	.wi-nav { display: none; }
	.wi-header__actions { margin-left: auto; }
	.wi-burger-btn { display: inline-flex; }

	/* The header collapses to logo + burger. Search and location move inside the
	   menu (.wi-offcanvas__tools); the social icons live there too. */
	.wi-header__actions .wi-header__icon { display: none; }
}

@media (max-width: 900px) {
	.wi-header__inner { min-height: 70px; }
	.wi-header__actions { gap: 14px; }
	.wi-offcanvas { padding: 32px 28px; }
	.wi-offcanvas__nav a { font-size: 30px; }

	.wi-brands__grid { grid-template-columns: repeat(3, 1fr); }
	.wi-footer__grid { grid-template-columns: 1fr 1fr; padding-block: 64px 0; }
	.wi-footer__title { font-size: 28px; }
	.wi-footer__social { margin-top: 40px; }
	.wi-hero { min-height: 520px; }
	.wi-hero__eyebrow { font-size: 24px; gap: 12px; }
	.wi-hero__repeat { font-size: 20px; }
}

@media (max-width: 560px) {
	.wi-header__actions .wi-header__icon--fb,
	.wi-header__actions .wi-header__icon[aria-label="Instagram"] { display: none; }
	.wi-brands__grid { grid-template-columns: repeat(2, 1fr); }
	.wi-footer__grid { grid-template-columns: 1fr; }
	.wi-container { padding-inline: 24px; }
	.wi-hero { min-height: 460px; }
}
