/* ==========================================================================
   JC Restaurateur — main stylesheet
   Palette taken from the logo: charcoal ground + gold gradient, with white.
   ========================================================================== */

/* Self-hosted fonts (SIL Open Font License — see assets/fonts) */
@font-face { font-family: "Libre Baskerville"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/libre-baskerville-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Libre Baskerville"; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/libre-baskerville-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Libre Baskerville"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/libre-baskerville-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Libre Baskerville"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/libre-baskerville-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/poppins-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/poppins-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/poppins-latin-600-normal.woff2) format("woff2"); }

:root {
	--black: #141414;          /* the logo's own background */
	--black-2: #1d1d1d;
	--black-3: #2a2a2a;
	--gold: #c9a04e;           /* mid gold — fills, rules, text on black */
	--gold-light: #ead796;     /* highlight of the logo gradient */
	--gold-deep: #7d5a17;      /* gold that passes AA as text on white */
	--white: #ffffff;
	--porcelain: #f3f3f1;
	--ink: #161616;
	--muted: #4d4d4d;          /* body copy on white: 8.6:1 */
	--muted-dark: #c2c2c2;     /* body copy on black: 10:1 */
	--line-dark: rgba(201, 160, 78, .35);
	--line-light: #dcd6c8;
	--error: #b3261e;
	--success: #1e6b3a;

	--gold-gradient: linear-gradient(100deg, #a6782f 0%, #d9b866 30%, #ead796 50%, #d9b866 70%, #a6782f 100%);

	--font-display: "Libre Baskerville", Baskerville, "Baskerville Old Face", Georgia, serif;
	--font-body: "Poppins", "Helvetica Neue", Arial, sans-serif;

	--wrap: 72rem;
	--gutter: clamp(1rem, 4vw, 2.5rem);
	--section: clamp(4rem, 9vw, 7.5rem);
	--radius: 2px;
	--focus: #1f4fd1;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1.125rem;
	font-weight: 400;
	line-height: 1.7;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-deep); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.15; }
ul, ol { padding: 0; margin: 0; }
button { font: inherit; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.on-dark, .site-header, .hero, .page-hero, .cta, .site-footer, .contact__details, .a11y__panel { --focus: var(--gold-light); }
main:focus { outline: none; }

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

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip-link {
	position: absolute; left: 1rem; top: -100px; z-index: 1000;
	background: var(--gold-light); color: var(--black); padding: .75rem 1.25rem;
	font-weight: 600; text-decoration: none; border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; outline: 3px solid var(--white); }

/* ---------- Buttons & links ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	min-height: 3rem; padding: .8rem 1.6rem;
	font-family: var(--font-body); font-size: .98rem; font-weight: 500; letter-spacing: .02em;
	text-decoration: none; border: 1.5px solid transparent; border-radius: var(--radius);
	cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.btn--small { min-height: 2.6rem; padding: .55rem 1.1rem; font-size: .92rem; }
.btn--gold { background: var(--gold); color: var(--black); border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn--ghost { color: var(--white); border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn--outline-gold { color: var(--gold-light); border-color: var(--gold); }
.btn--outline-gold:hover { background: var(--gold); color: var(--black); }
.btn--dark { background: var(--black); color: var(--white); border-color: var(--black); }
.btn--dark:hover { background: var(--black-3); }

.text-link {
	font-weight: 500; color: var(--gold-deep);
	text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: .35em;
}

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(20, 20, 20, .97);
	border-bottom: 1px solid var(--line-dark);
	color: var(--white);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; position: relative; } }

.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.75rem; }

.brand { display: inline-flex; align-items: center; gap: .8rem; color: var(--white); text-decoration: none; }
.brand__mark { width: 2.9rem; height: auto; }
.brand__name {
	font-family: var(--font-body); font-weight: 500; font-size: 1rem; letter-spacing: .26em;
	text-transform: uppercase; /* mirrors the logo wordmark */
	background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
@supports not (background-clip: text) { .brand__name { color: var(--gold-light); } }

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav .menu { list-style: none; display: flex; gap: .25rem; }
.site-nav .menu a {
	display: block; padding: .6rem .9rem; color: var(--white); text-decoration: none; font-size: .98rem;
	border-bottom: 1.5px solid transparent;
}
.site-nav .menu a:hover { color: var(--gold-light); }
.site-nav .menu .current-menu-item > a,
.site-nav .menu a[aria-current="page"] { color: var(--gold-light); border-bottom-color: var(--gold); }

.nav-toggle {
	display: none; align-items: center; gap: .5rem;
	background: none; border: 1.5px solid rgba(255,255,255,.4); color: var(--white);
	padding: .55rem .9rem; border-radius: var(--radius); cursor: pointer; min-height: 2.75rem;
}

@media (max-width: 860px) {
	.nav-toggle { display: inline-flex; }
	.site-header__inner { flex-wrap: wrap; }
	.site-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 1rem; padding: .5rem 0 1.5rem; }
	.site-nav.is-open { display: flex; }
	.site-nav .menu { flex-direction: column; }
	.site-nav .menu a { padding: .9rem .25rem; border-bottom: 1px solid var(--black-3); font-size: 1.1rem; }
	.site-nav .menu .current-menu-item > a, .site-nav .menu a[aria-current="page"] { border-bottom-color: var(--gold); }
	.brand__name { font-size: .88rem; letter-spacing: .2em; }
}
.no-js .site-nav { display: flex; }

/* ---------- Type helpers ---------- */
.section-title {
	font-family: var(--font-display); font-weight: 500;
	font-size: clamp(1.85rem, 3.6vw, 2.7rem); line-height: 1.2; letter-spacing: -.005em;
	margin-bottom: 1.25rem;
}
.section-intro { max-width: 40rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-intro p { color: var(--muted); font-size: 1.1rem; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; max-width: 38rem; }

/* ---------- Hero ---------- */
.hero {
	background: var(--black); color: var(--white);
	padding-top: clamp(3.5rem, 9vw, 7rem);
	position: relative; overflow: hidden;
}
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 3rem; align-items: center; }

.hero__kicker { color: var(--gold-light); font-size: 1rem; font-weight: 500; letter-spacing: .04em; margin-bottom: 1.25rem; }
.hero__title {
	font-family: var(--font-display); font-weight: 500;
	font-size: clamp(2.4rem, 5.4vw, 4.4rem); line-height: 1.12; letter-spacing: -.01em;
	max-width: 12ch; margin-bottom: 1.75rem;
	background: var(--gold-gradient); background-size: 200% 100%;
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
@supports not (background-clip: text) { .hero__title { color: var(--gold-light); } }
.hero__text { color: var(--muted-dark); font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 36rem; margin-bottom: 2.25rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* The logo mark sits inside two hairline rings, like the rim of a plate */
.hero__mark {
	position: relative; justify-self: center;
	width: min(100%, 22rem); aspect-ratio: 1; display: grid; place-items: center;
}
.hero__mark::before, .hero__mark::after {
	content: ""; position: absolute; border-radius: 50%; border: 1px solid var(--line-dark);
}
.hero__mark::before { inset: 0; }
.hero__mark::after { inset: 9%; border-color: rgba(201,160,78,.18); }
.hero__mark img { width: 58%; }

/* One orchestrated entrance on page load */
@media (prefers-reduced-motion: no-preference) {
	.hero__kicker, .hero__title, .hero__text { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
	.hero__title { animation: rise .9s cubic-bezier(.2,.7,.2,1) .08s both, sheen 2.4s ease-out .4s both; }
	.hero__text { animation-delay: .18s; }
	.hero__mark { animation: fade 1.4s ease .3s both; }
}
@keyframes rise { from { transform: translateY(14px); } to { transform: none; } }
@keyframes fade { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@keyframes sheen { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* Track record */
.track { margin-top: clamp(3.5rem, 8vw, 6rem); padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.track__title {
	font-family: var(--font-body); font-size: 1rem; font-weight: 500; color: var(--muted-dark);
	margin-bottom: 1.5rem;
}
.track__list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); }
.track__list li { padding: 1.5rem 1.5rem 1.25rem; display: flex; flex-direction: column; gap: .35rem; border-left: 1px solid var(--line-dark); }
.track__list li:nth-child(4n+1) { padding-left: 0; border-left: 0; }
.track__list--1, .track__list--2, .track__list--3 { grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); }
.track__list--1 { --cols: 1; } .track__list--2 { --cols: 2; } .track__list--3 { --cols: 3; }
.track__name { font-family: var(--font-display); font-size: clamp(1.2rem, 1.8vw, 1.45rem); color: var(--white); line-height: 1.3; }
.track__desc { color: var(--muted-dark); font-size: .92rem; }

@media (max-width: 860px) {
	.hero__inner { grid-template-columns: 1fr; }
	.hero__mark { width: min(60%, 14rem); order: -1; justify-self: start; }
	.track__list, .track__list--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.track__list li, .track__list li:nth-child(4n+1) { padding: 1.25rem 1rem 1.25rem 0; border-left: 0; }
	.track__list li:nth-child(even) { padding-left: 1rem; border-left: 1px solid var(--line-dark); }
	.track__list li:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
}
@media (max-width: 480px) {
	.track__list, .track__list--2, .track__list--3 { grid-template-columns: 1fr; }
	.track__list li, .track__list li:nth-child(even), .track__list li:nth-child(4n+1) { padding: 1.1rem 0; border-left: 0; }
	.track__list li + li { border-top: 1px solid var(--line-dark); }
}

/* ---------- Services: the menu card ---------- */
.services { padding-block: var(--section); background: var(--white); }

.menu-card {
	max-width: 52rem; margin-inline: auto;
	padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 5vw, 4.5rem);
	background: var(--white);
	border: 1px solid var(--gold);
	outline: 1px solid var(--gold); outline-offset: -10px; /* double rule, as on a printed menu */
}
.menu-card__title {
	font-family: var(--font-display); font-style: italic; font-size: clamp(1.9rem, 3.4vw, 2.6rem);
	text-align: center; color: var(--gold-deep); margin-bottom: clamp(2rem, 4vw, 3rem);
	display: flex; align-items: center; justify-content: center; gap: 1rem;
}
.menu-card__title::before, .menu-card__title::after { content: ""; width: 3rem; height: 1px; background: var(--gold); }

.menu-card__list { list-style: none; }
.dish + .dish { margin-top: clamp(2rem, 4vw, 2.75rem); }
.dish__line { display: flex; align-items: baseline; gap: .75rem; margin-bottom: .6rem; }
.dish__name { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.25rem, 2.2vw, 1.55rem); line-height: 1.3; }
.dish__leader { flex: 1 1 2rem; min-width: 1.5rem; border-bottom: 2px dotted #b9a982; transform: translateY(-.3em); }
.dish__for { font-family: var(--font-body); font-size: .9rem; font-weight: 500; color: var(--gold-deep); white-space: nowrap; }
.dish__desc { margin-bottom: .4rem; max-width: 40rem; }
.dish__detail { font-family: var(--font-display); font-style: italic; color: #3d3d3d; font-size: 1rem; line-height: 1.7; max-width: 40rem; margin: 0; }
.menu-card__note {
	margin: clamp(2.25rem, 4vw, 3rem) 0 0; padding-top: 1.5rem; border-top: 1px solid var(--line-light);
	text-align: center; color: var(--muted); font-size: .98rem;
}

@media (max-width: 600px) {
	.dish__line { flex-wrap: wrap; gap: .25rem; }
	.dish__leader { display: none; }
	.dish__for { width: 100%; }
}

/* ---------- Process ---------- */
.process { padding-block: var(--section); background: var(--porcelain); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 2rem; margin-top: 2.5rem; }
.step { border-top: 2px solid var(--ink); padding-top: 1.25rem; }
.step__num { display: block; font-family: var(--font-display); font-size: 2.3rem; line-height: 1; color: var(--gold-deep); margin-bottom: 1rem; }
.step__title { font-family: var(--font-body); font-size: 1.12rem; font-weight: 600; margin-bottom: .5rem; }
.step p { color: var(--muted); margin: 0; }

/* ---------- Founder intro ---------- */
.intro-person { padding-block: var(--section); }
.intro-person__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.intro-person__photo { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 20%; box-shadow: 14px 14px 0 0 var(--gold); }
.intro-person__copy p { color: var(--muted); max-width: 36rem; font-size: 1.08rem; }
@media (max-width: 760px) { .intro-person__grid { grid-template-columns: 1fr; } .intro-person__photo { max-width: 22rem; } }

/* ---------- CTA band ---------- */
.cta { background: var(--black); color: var(--white); padding-block: clamp(4rem, 8vw, 6rem); text-align: center; border-top: 1px solid var(--line-dark); }
.cta__inner { display: flex; flex-direction: column; align-items: center; }
.cta__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.85rem, 3.8vw, 2.8rem); line-height: 1.25; max-width: 22ch; margin-bottom: 1rem; color: var(--white); }
.cta p { color: var(--muted-dark); margin-bottom: 2rem; font-size: 1.1rem; }

/* ---------- Inner page heroes ---------- */
.page-hero { background: var(--black); color: var(--white); padding-block: clamp(3.5rem, 8vw, 6rem); }
.page-title {
	font-family: var(--font-display); font-weight: 400; font-size: clamp(2.4rem, 5.2vw, 4rem); line-height: 1.12;
	margin-bottom: 1.25rem; color: var(--gold-light);
}
.page-hero .lead { color: var(--muted-dark); margin: 0; }
.page-hero--plain { padding-block: clamp(3rem, 6vw, 4.5rem); }

.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: end; }
.page-hero--about { padding-bottom: 0; }
.page-hero--about .page-hero__copy { padding-bottom: clamp(3rem, 7vw, 5.5rem); }
.page-hero__photo { margin: 0; position: relative; }
.page-hero__photo img { width: 100%; max-width: 26rem; aspect-ratio: 900 / 1196; object-fit: cover; object-position: center top; margin-left: auto; border-top: 3px solid var(--gold); }
.page-hero__photo figcaption {
	position: absolute; left: 0; bottom: 1.25rem; background: var(--black); color: var(--gold-light);
	padding: .45rem .9rem; font-size: .9rem; border: 1px solid var(--line-dark);
}
@media (max-width: 760px) {
	.page-hero__grid { grid-template-columns: 1fr; }
	.page-hero__photo img { margin-left: 0; max-width: 20rem; }
	.page-hero--about .page-hero__copy { padding-bottom: 0; }
}

/* ---------- About ---------- */
.story { padding-block: var(--section); }
.story__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(1.5rem, 5vw, 4rem); }
.prose { max-width: 42rem; }
.prose p { font-size: 1.1rem; color: #333; }
.prose h2 { font-family: var(--font-display); font-size: 1.6rem; margin: 2.2rem 0 .8rem; }
.prose h3 { font-size: 1.25rem; margin: 1.8rem 0 .6rem; }
.prose ul, .prose ol { padding-left: 1.4rem; margin-bottom: 1.1em; }
@media (max-width: 760px) { .story__inner { grid-template-columns: 1fr; } }

.experience { padding-block: var(--section); background: var(--black); color: var(--white); --focus: var(--gold-light); }
.experience .section-title { color: var(--white); margin-bottom: 2.5rem; }
.experience__list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-dark); }
.venue { padding: 2rem 2rem 2rem 0; border-bottom: 1px solid var(--line-dark); }
.venue:nth-child(even) { padding: 2rem 0 2rem 2rem; border-left: 1px solid var(--line-dark); }
.venue__name { font-family: var(--font-display); font-size: clamp(1.45rem, 2.3vw, 1.8rem); line-height: 1.3; color: var(--gold-light); margin-bottom: .4rem; }
.venue__meta { color: var(--white); font-weight: 500; margin-bottom: .75rem; display: flex; flex-wrap: wrap; gap: .25rem .9rem; }
.venue__note { color: var(--muted-dark); font-weight: 400; font-style: italic; }
.venue__text { color: var(--muted-dark); margin: 0; max-width: 32rem; }
@media (max-width: 760px) {
	.experience__list { grid-template-columns: 1fr; }
	.venue, .venue:nth-child(even) { padding: 1.75rem 0; border-left: 0; }
}

.values { padding-block: var(--section); background: var(--porcelain); }
.values__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 2.5rem; margin-top: 1rem; }
.value { border-left: 2px solid var(--gold); padding-left: 1.25rem; }
.value__title { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.35; margin-bottom: .6rem; }
.value p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .values__grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Contact ---------- */
.contact { padding-block: clamp(3rem, 7vw, 5.5rem) var(--section); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }

.form__title { font-family: var(--font-display); font-size: 1.75rem; margin-bottom: .5rem; }
.form__req { color: var(--muted); font-size: .95rem; margin-bottom: 1.75rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; gap: 0; } }

.field { margin-bottom: 1.4rem; }
.field label { display: block; font-weight: 500; margin-bottom: .4rem; }
.field__optional { font-weight: 400; color: var(--muted); }
.field__hint { color: var(--muted); font-size: .94rem; margin: -.15rem 0 .5rem; }
.field input, .field select, .field textarea {
	width: 100%; min-height: 3rem; padding: .7rem .85rem;
	font: inherit; font-size: 1rem; color: var(--ink);
	background: var(--white); border: 1.5px solid #6b6b6b; border-radius: var(--radius);
}
.field textarea { min-height: 9rem; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 1.25rem) 50%, calc(100% - .9rem) 50%; background-size: .35rem .35rem; background-repeat: no-repeat; padding-right: 2.5rem; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--ink); outline: 3px solid var(--focus); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.field__error { color: var(--error); font-weight: 500; font-size: .95rem; margin: .4rem 0 0; }
.field__error::before { content: "! "; font-weight: 700; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.notice { padding: 1.5rem 1.75rem; margin-bottom: 2rem; border-left: 4px solid; }
.notice h2 { font-family: var(--font-body); font-size: 1.2rem; font-weight: 600; margin-bottom: .5rem; }
.notice ul { padding-left: 1.2rem; margin: 0; }
.notice p:last-child { margin-bottom: 0; }
.notice--success { background: #eaf4ed; border-color: var(--success); color: #12361f; }
.notice--success a { color: var(--success); }
.notice--error { background: #fbeceb; border-color: var(--error); color: #5c1410; }
.notice--error a { color: var(--error); font-weight: 500; }

.contact__details { background: var(--black); color: var(--white); padding: clamp(1.75rem, 3vw, 2.5rem); border-top: 3px solid var(--gold); }
.contact__details-title { font-family: var(--font-display); font-size: 1.4rem; line-height: 1.3; color: var(--gold-light); margin-bottom: 1.5rem; }
.contact__services { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); }
.contact__services h3 { font-size: 1rem; font-weight: 600; margin-bottom: .75rem; }
.contact__services ul { list-style: none; }
.contact__services li { color: var(--muted-dark); padding: .35rem 0 .35rem 1.1rem; position: relative; font-size: .97rem; }
.contact__services li::before { content: ""; position: absolute; left: 0; top: .95em; width: .45rem; height: 1px; background: var(--gold); }

.contact-list { list-style: none; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: .8rem; align-items: flex-start; color: var(--muted-dark); }
.contact-list svg { flex: none; color: var(--gold); margin-top: .2rem; }
.contact-list a { color: var(--white); }
.contact-list a:hover { color: var(--gold-light); }
.contact-list__label { display: block; font-size: .85rem; color: var(--gold-light); }
.contact-list--dark li > span { display: flex; flex-direction: column; }

/* ---------- Generic entry ---------- */
.entry__content { padding-block: clamp(2.5rem, 6vw, 4.5rem) var(--section); }
.entry--summary + .entry--summary { margin-top: 2.5rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black-2); color: var(--muted-dark); padding-top: clamp(3rem, 7vw, 5rem); font-size: .97rem; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 2.5rem; padding-bottom: 3rem; }
.site-footer__brand img { width: 13rem; margin-bottom: 1.25rem; }
.site-footer__brand p { max-width: 22rem; }
.site-footer__heading { font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--white); margin-bottom: 1rem; }
.site-footer__nav ul { list-style: none; display: grid; gap: .35rem; }
.site-footer__nav a { color: var(--muted-dark); text-decoration: none; display: inline-block; padding: .2rem 0; }
.site-footer__nav a:hover, .site-footer__nav a[aria-current="page"] { color: var(--gold-light); text-decoration: underline; }
.site-footer__contact .btn { margin-top: 1.5rem; }
.social { display: flex; gap: 1.25rem; margin: 1.25rem 0 0; }
.social a { color: var(--white); }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-block: 1.5rem; border-top: 1px solid var(--black-3); font-size: .9rem; }
.site-footer__base p { margin: 0; }
.site-footer__base a { color: var(--muted-dark); }
.site-footer__base a:hover { color: var(--gold-light); }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Accessibility toolbar
   ========================================================================== */
.a11y { position: fixed; left: 1rem; bottom: 1rem; z-index: 9999; font-family: var(--font-body); font-size: 1rem; }
.a11y__toggle {
	width: 3.5rem; height: 3.5rem; border-radius: 50%;
	display: grid; place-items: center; cursor: pointer;
	background: var(--black); color: var(--gold-light);
	border: 2px solid var(--gold); box-shadow: 0 4px 14px rgba(0,0,0,.35);
}
.a11y__toggle:hover, .a11y__toggle[aria-expanded="true"] { background: var(--gold); color: var(--black); }
.a11y__toggle:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; --focus: #1f4fd1; box-shadow: 0 0 0 6px var(--white); }

.a11y__panel {
	position: absolute; left: 0; bottom: 4.25rem;
	width: min(20.5rem, calc(100vw - 2rem)); max-height: calc(100vh - 6rem); overflow-y: auto;
	background: var(--black); color: var(--white);
	border: 1px solid var(--gold); border-radius: 4px; padding: 1.25rem;
	box-shadow: 0 12px 40px rgba(0,0,0,.45);
}
.a11y__panel[hidden] { display: none; }
.a11y__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.a11y__head h2 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; color: var(--gold-light); }
.a11y__close { background: none; border: 1px solid var(--black-3); color: var(--white); width: 2.5rem; height: 2.5rem; display: grid; place-items: center; cursor: pointer; border-radius: 4px; }
.a11y__close:hover { border-color: var(--gold); }

.a11y__label { margin: 0 0 .5rem; font-size: .9rem; color: var(--muted-dark); }
.a11y__size { display: grid; grid-template-columns: 1fr auto 1fr; gap: .5rem; align-items: center; margin-bottom: 1rem; }
.a11y__size button, .a11y__options button, .a11y__reset {
	min-height: 2.75rem; width: 100%; padding: .5rem .75rem; cursor: pointer; text-align: left;
	background: var(--black-2); color: var(--white); border: 1.5px solid var(--black-3); border-radius: 4px; font-size: .95rem;
}
.a11y__size button { text-align: center; font-weight: 600; font-size: 1.05rem; }
.a11y__size-value { min-width: 3.5rem; text-align: center; font-weight: 600; color: var(--gold-light); }
.a11y__options { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.a11y__options button { position: relative; padding-right: 1.9rem; }
.a11y__options button::after {
	content: ""; position: absolute; right: .6rem; top: 50%; width: .8rem; height: .8rem; margin-top: -.4rem;
	border: 1.5px solid var(--muted-dark); border-radius: 50%;
}
.a11y__options button[aria-pressed="true"] { border-color: var(--gold); background: #2a2416; }
.a11y__options button[aria-pressed="true"]::after { background: var(--gold); border-color: var(--gold); }
.a11y__size button:hover, .a11y__options button:hover, .a11y__reset:hover { border-color: var(--gold); }
.a11y__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; }
.a11y__reset { width: auto; text-align: center; }
.a11y__foot a { color: var(--gold-light); font-size: .9rem; }

/* ---------- Accessibility modes ---------- */
html[data-a11y-size="-1"] { font-size: 90%; }
html[data-a11y-size="1"] { font-size: 112.5%; }
html[data-a11y-size="2"] { font-size: 125%; }
html[data-a11y-size="3"] { font-size: 140%; }
html[data-a11y-size="4"] { font-size: 160%; }
/* Keep the toolbar itself a fixed size so it never covers the page */
html[data-a11y-size] .a11y { font-size: 16px; }

html.a11y-contrast body,
html.a11y-contrast main section,
html.a11y-contrast .site-header,
html.a11y-contrast .site-footer,
html.a11y-contrast .menu-card,
html.a11y-contrast .contact__details,
html.a11y-contrast .notice { background: #000 !important; color: #fff !important; }
html.a11y-contrast * { text-shadow: none !important; box-shadow: none !important; }
html.a11y-contrast main *, html.a11y-contrast .site-footer *, html.a11y-contrast .site-header * { color: #fff !important; border-color: #fff !important; }
html.a11y-contrast .hero__title, html.a11y-contrast .brand__name { background: none !important; -webkit-text-fill-color: #fff; color: #fff !important; }
html.a11y-contrast a, html.a11y-contrast a * { color: #ffff00 !important; text-decoration: underline !important; }
html.a11y-contrast .btn { background: #000 !important; color: #ffff00 !important; border: 2px solid #ffff00 !important; }
html.a11y-contrast .field input, html.a11y-contrast .field select, html.a11y-contrast .field textarea { background: #000 !important; color: #fff !important; border: 2px solid #fff !important; }
html.a11y-contrast .field__error, html.a11y-contrast .notice--error * { color: #ff9b9b !important; }
html.a11y-contrast .menu-card { outline-color: #fff; }
html.a11y-contrast { --focus: #ffff00; }
html.a11y-contrast :focus-visible { outline-color: #ffff00 !important; }

html.a11y-links a:not(.btn):not(.skip-link) { text-decoration: underline !important; text-decoration-thickness: 2px !important; background: #fff3b0 !important; color: #000 !important; }
html.a11y-links .btn { outline: 3px dashed currentColor; outline-offset: 3px; }

html.a11y-font body, html.a11y-font body *:not(svg):not(path) {
	font-family: Verdana, "Atkinson Hyperlegible", Tahoma, Arial, sans-serif !important; font-style: normal !important;
}
html.a11y-font .hero__title, html.a11y-font .page-title, html.a11y-font .section-title { letter-spacing: 0 !important; }

/* WCAG 1.4.12 text spacing values */
html.a11y-spacing body *:not(.a11y):not(.a11y *) { line-height: 1.8 !important; letter-spacing: .12em !important; word-spacing: .16em !important; }
html.a11y-spacing main p { margin-bottom: 2em !important; }

html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }

html.a11y-cursor, html.a11y-cursor * {
	cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l15 9-6.5 1.5L16 20l-3 1.5-3.5-7.5L4 19z' fill='%23000' stroke='%23fff' stroke-width='1.5'/%3E%3C/svg%3E") 4 2, auto !important;
}

html.a11y-grayscale body > *:not(.a11y) { filter: grayscale(1); }

@media print {
	.site-header, .a11y, .nav-toggle, .cta, .skip-link { display: none !important; }
	body { color: #000; }
}

/* ---------- Small-screen refinements ---------- */
@media (max-width: 860px) {
	.hero__mark { width: 9.5rem; }
	.site-footer__base { padding-bottom: 5.5rem; } /* room for the accessibility button */
}
@media (max-width: 440px) {
	.site-header__inner { gap: .75rem; min-height: 4.25rem; }
	.brand { gap: .55rem; }
	.brand__mark { width: 2.4rem; }
	.brand__name { font-size: .78rem; letter-spacing: .14em; }
	.nav-toggle { padding: .5rem .7rem; }
	.a11y__toggle { width: 3.1rem; height: 3.1rem; }
}
@media (max-width: 360px) {
	.nav-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
	.nav-toggle { min-width: 2.75rem; justify-content: center; }
}
html.a11y-links a:not(.btn):not(.skip-link) * { color: #000 !important; -webkit-text-fill-color: #000 !important; background: none !important; }

/* Contact form never wider than the screen, even at 320px / 400% zoom (WCAG 1.4.10 Reflow) */
.contact__grid > *, .form__row > * { min-width: 0; }
.field select, .field input, .field textarea { max-width: 100%; }
