/* ==========================================================================
   Exquisite Catering — theme shell: fonts, base, header, footer, plain pages.
   Section styles live in the Exquisite Catering Core plugin.
   ========================================================================== */

@font-face {
	font-family: "EB Garamond";
	src: url("../fonts/eb-garamond.woff") format("woff");
	font-weight: 400 800;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "EB Garamond";
	src: url("../fonts/eb-garamond-italic.woff") format("woff");
	font-weight: 400 800;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "Albert Sans";
	src: url("../fonts/albert-sans.woff") format("woff");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Albert Sans";
	src: url("../fonts/albert-sans-italic.woff") format("woff");
	font-weight: 100 900;
	font-style: italic;
	font-display: swap;
}

:root {
	--exq-white: #ffffff;
	--exq-linen: #f3f2ef;
	--exq-ink: #1e1b18;
	--exq-ink-2: #4a453f;
	--exq-stone: #6f6861;
	--exq-line: #e3dfd8;
	--exq-gold: #c6a04e;
	--exq-gold-soft: #d9bd7e;
	--exq-brass: #8c6a22;
	--exq-dark: #1e1b18;
	--exq-dark-line: #3d3833;
	--exq-serif: "EB Garamond", "Iowan Old Style", "Palatino Linotype", Garamond, Georgia, serif;
	--exq-sans: "Albert Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--exq-max: 1280px;
	--exq-gutter: clamp(20px, 4vw, 48px);
	--exq-gap: clamp(16px, 2.2vw, 32px);
	--exq-header-h: 88px;
	--exq-radius: 2px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--exq-header-h) + 16px); }
body {
	margin: 0;
	background: var(--exq-white);
	color: var(--exq-ink);
	font-family: var(--exq-sans);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--exq-brass); }
a:hover { color: var(--exq-ink); }
h1, h2, h3, h4 { font-family: var(--exq-serif); font-weight: 500; line-height: 1.15; color: inherit; }
::selection { background: rgba(198, 160, 78, 0.35); }
:focus-visible { outline: 2px solid var(--exq-gold); outline-offset: 3px; }
.site-main:focus { outline: none; }

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto;
	clip-path: none;
	height: auto;
	width: auto;
	left: 16px;
	top: 16px;
	z-index: 1000;
	padding: 12px 20px;
	background: var(--exq-ink);
	color: #fff;
	font-weight: 600;
	text-decoration: none;
}

.exq-wrap { width: 100%; max-width: var(--exq-max); margin-inline: auto; padding-inline: var(--exq-gutter); }

/* Buttons used by the theme itself (full set lives in the plugin) */
.exq-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 28px;
	font: 600 0.9375rem/1 var(--exq-sans); letter-spacing: 0.01em;
	text-decoration: none; border: 1px solid transparent; border-radius: var(--exq-radius);
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.exq-btn--small { min-height: 44px; padding: 0 20px; font-size: 0.875rem; }
.exq-btn--gold { background: var(--exq-gold); color: var(--exq-ink); }
.exq-btn--gold:hover { background: var(--exq-gold-soft); color: var(--exq-ink); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--exq-white);
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s ease;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header.is-scrolled { border-bottom-color: var(--exq-line); }
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	max-width: var(--exq-max);
	height: var(--exq-header-h);
	margin-inline: auto;
	padding-inline: var(--exq-gutter);
}
.site-logo { display: block; flex: none; line-height: 0; }
.site-logo__img { display: block; width: auto; height: 54px; }

.site-nav__list { display: flex; align-items: center; gap: clamp(16px, 1.7vw, 28px); list-style: none; margin: 0; padding: 0; }
.site-nav__list a {
	position: relative;
	display: block;
	padding: 8px 0;
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1.2;
	color: var(--exq-ink);
	text-decoration: none;
	white-space: nowrap;
}
.site-nav__list a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: var(--exq-gold);
	transform: scaleX(0);
	transition: transform 0.2s ease;
}
.site-nav__list a:hover::after,
.site-nav__list .current-menu-item > a::after,
.site-nav__list .current_page_item > a::after { transform: scaleX(1); }
.site-nav__list .menu-item--quote > a { color: var(--exq-brass); font-weight: 600; }

.site-nav__toggle {
	display: none;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 0 4px;
	background: none;
	border: 0;
	font: 600 0.9375rem var(--exq-sans);
	color: var(--exq-ink);
	cursor: pointer;
}
.site-nav__toggle-lines { position: relative; display: grid; gap: 6px; width: 22px; }
.site-nav__toggle-lines span { display: block; height: 1.5px; background: currentColor; transition: transform 0.2s ease; }
.site-nav__toggle[aria-expanded="true"] .site-nav__toggle-lines span:first-child { transform: translateY(3.75px) rotate(45deg); }
.site-nav__toggle[aria-expanded="true"] .site-nav__toggle-lines span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.site-panel {
	position: fixed;
	inset: var(--exq-header-h) 0 0 0;
	z-index: 99;
	overflow-y: auto;
	background: var(--exq-white);
	padding: 16px var(--exq-gutter) 48px;
	border-top: 1px solid var(--exq-line);
}
.admin-bar .site-panel { top: calc(var(--exq-header-h) + 46px); }
.site-panel[hidden] { display: none; }
.site-panel__list { list-style: none; margin: 0; padding: 0; }
.site-panel__list li { border-bottom: 1px solid var(--exq-line); }
.site-panel__list a {
	display: block;
	padding: 14px 0;
	font-family: var(--exq-serif);
	font-size: 1.75rem;
	line-height: 1.2;
	color: var(--exq-ink);
	text-decoration: none;
}
.site-panel__list .current-menu-item > a, .site-panel__list .menu-item--quote > a { color: var(--exq-brass); }
.site-panel__phones { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 28px 0 0; }
.site-panel__phones a { color: var(--exq-ink); font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; }
body.has-panel-open { overflow: hidden; }

@media (max-width: 1199px) {
	.site-nav { display: none; }
	.site-nav__toggle { display: inline-flex; }
}
@media (max-width: 599px) {
	:root { --exq-header-h: 72px; }
	.site-logo__img { height: 44px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--exq-dark); color: #cfc8bf; font-size: 0.9375rem; }
.site-footer__grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: var(--exq-gap);
	row-gap: 48px;
	width: calc(min(100%, var(--exq-max)) - 2 * var(--exq-gutter));
	margin-inline: auto;
	padding: clamp(64px, 8vw, 104px) 0 clamp(48px, 6vw, 72px);
	border-top: 1px solid var(--exq-dark-line);
}
.site-footer__brand { grid-column: 1 / span 4; }
.site-footer__logo { display: inline-block; line-height: 0; }
.site-footer__logo .site-logo__img { width: 220px; height: auto; }
.site-footer__col:nth-child(2) { grid-column: 5 / span 3; }
.site-footer__col:nth-child(3) { grid-column: 8 / span 2; }
.site-footer__col:nth-child(4) { grid-column: 10 / span 3; }
.site-footer__head { margin: 0 0 18px; font-family: var(--exq-sans); font-size: 0.875rem; font-weight: 600; line-height: 1.3; color: var(--exq-gold); }
.site-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer__list a, .site-footer__social a { color: #f4f1ec; text-decoration: none; }
.site-footer__list a:hover, .site-footer__social a:hover { color: var(--exq-gold); }
.site-footer__list--links { gap: 6px; }
.site-footer__social { display: flex; gap: 20px; margin: 18px 0 0; }
.site-footer__text { margin: 0 0 20px; line-height: 1.6; max-width: 26em; }
.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 32px;
	width: calc(min(100%, var(--exq-max)) - 2 * var(--exq-gutter));
	margin-inline: auto;
	padding: 24px 0 32px;
	border-top: 1px solid var(--exq-dark-line);
	font-size: 0.8125rem;
	color: #9d958b;
}
.site-footer__bottom p { margin: 0; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer__bottom a { color: #cfc8bf; }
.site-footer__bottom a:hover { color: var(--exq-gold); }

@media (max-width: 1023px) {
	.site-footer__brand { grid-column: 1 / -1; }
	.site-footer__col:nth-child(2) { grid-column: 1 / span 4; }
	.site-footer__col:nth-child(3) { grid-column: 5 / span 4; }
	.site-footer__col:nth-child(4) { grid-column: 9 / span 4; }
}
@media (max-width: 699px) {
	.site-footer__col:nth-child(2),
	.site-footer__col:nth-child(3),
	.site-footer__col:nth-child(4) { grid-column: 1 / -1; }
	.site-footer__list--links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.site-footer__logo .site-logo__img { width: 180px; }
}

/* ==========================================================================
   Plain pages (privacy policy etc.)
   ========================================================================== */
.entry-content { max-width: 46rem; padding-bottom: clamp(72px, 9vw, 128px); }
.entry-content h2 { font-size: 1.75rem; margin: 2em 0 0.5em; }
.entry-content h3 { font-size: 1.375rem; margin: 1.6em 0 0.4em; }
.entry-content p, .entry-content li { color: var(--exq-ink-2); }
.entry-empty { padding-block: 96px; }
.page-404 { padding-bottom: clamp(96px, 12vw, 160px); }

/* Elementor pages: let the sections own their spacing. */
.elementor-page .site-main > .elementor { margin: 0; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
