/*
 * Site design v2 — La Taverne Feuille d'Or
 *
 * Shared by every page: fonts, colours, base type, buttons, headings, the
 * header and the footer. Each homepage section block has its own stylesheet
 * in blocks/v2-*/style.css. Loaded on the front end and in the editor
 * (inc/homepage-v2.php).
 */

@font-face { font-family: 'KazukiReiwa'; src: url('fonts/kazukireiwa-light.woff2') format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'KazukiReiwa'; src: url('fonts/kazukireiwa-regular.woff2') format('woff2'); font-weight: 400 500; font-display: swap; }
@font-face { font-family: 'KazukiReiwa'; src: url('fonts/kazukireiwa-bold.woff2') format('woff2'); font-weight: 600 700; font-display: swap; }
@font-face { font-family: 'Young Morin'; src: url('fonts/youngmorin-regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }

:root {
	--v2-cream: #F2E4D0;
	--v2-paper: #FBF6EE;
	--v2-brown: #4B372A;
	--v2-ink: #2F241D;
	--v2-night: #1E1611;
	--v2-burgundy: #6E2B1F;
	--v2-burgundy-hover: #85372A;
	--v2-orange: #CE8232;
	--v2-gold: #E0B85C;
	--v2-gold-deep: #C9A24B;
	--v2-muted: #6B5848;
	--v2-serif: 'Baskervville', Baskerville, 'Baskerville Old Face', Georgia, serif;
	--v2-display: 'KazukiReiwa', Georgia, serif;
	--v2-script: 'Young Morin', Georgia, serif;
	--v2-nav-top: 0px;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body.gt-v2 { margin: 0; background: var(--v2-cream); color: var(--v2-ink); }
.admin-bar.gt-v2 { --v2-nav-top: 32px; }
@media (max-width: 782px) { .admin-bar.gt-v2 { --v2-nav-top: 46px; } }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.v2 *, .v2 *::before, .v2 *::after { transition: none !important; }
}

.v2 {
	font-family: var(--v2-serif);
	font-size: 17px;
	line-height: 1.7;
	background: var(--v2-cream);
	color: var(--v2-ink);
	-webkit-font-smoothing: antialiased;
}
.v2 *, .v2 *::before, .v2 *::after,
.editor-styles-wrapper [class*="v2-"], .editor-styles-wrapper [class*="v2-"]::before, .editor-styles-wrapper [class*="v2-"]::after { box-sizing: border-box; }
.v2 [hidden], .editor-styles-wrapper [class*="v2-"][hidden] { display: none !important; }
.v2 a { color: inherit; }
.v2 img, .editor-styles-wrapper [class*="v2-"] img { max-width: 100%; }
.v2 h1, .v2 h2, .v2 h3, .v2 h4, .v2 p,
.editor-styles-wrapper [class*="v2-"] h1, .editor-styles-wrapper [class*="v2-"] h2, .editor-styles-wrapper [class*="v2-"] h3, .editor-styles-wrapper [class*="v2-"] h4, .editor-styles-wrapper [class*="v2-"] p { margin: 0; }
.v2 ::selection { background: var(--v2-burgundy); color: var(--v2-cream); }
.v2 section[id], .v2 footer[id] { scroll-margin-top: calc(64px + var(--v2-nav-top)); }

/* Block previews in the editor get the same base type as the front end. */
.editor-styles-wrapper section[class*="v2-"] {
	font-family: var(--v2-serif); font-size: 17px; line-height: 1.7; color: var(--v2-ink);
	-webkit-font-smoothing: antialiased;
}
.editor-styles-wrapper section[class*="v2-"] a { color: inherit; }
.v2-empty { padding: 24px; text-align: center; font-style: italic; opacity: 0.8; }

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

.v2-skip {
	position: absolute; left: -9999px; top: 0; z-index: 100;
	padding: 10px 16px; background: var(--v2-burgundy); color: var(--v2-cream) !important;
}
.v2-skip:focus { left: 16px; top: calc(8px + var(--v2-nav-top)); }

.v2-wrap { max-width: 1120px; margin: 0 auto; }
.v2-wrap--narrow { max-width: 1000px; }

.v2-heading { display: flex; align-items: center; justify-content: center; gap: 18px; margin-bottom: 26px; }
.v2-heading--tight { gap: 14px; margin-bottom: 14px; }
.v2-heading__leaf { width: 54px; height: auto; flex: 0 0 auto; }
.v2-heading__leaf--sm { width: 40px; }
.v2-heading__leaf--md { width: 46px; }

.v2-torn { position: absolute; z-index: 3; left: 0; bottom: -1px; width: 100%; height: 34px; display: block; max-width: none !important; }

/* ---------- Buttons ---------- */
.v2-btn {
	display: inline-block;
	text-decoration: none;
	text-transform: uppercase;
	color: var(--v2-cream) !important;
	font-family: inherit;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.v2-btn--hero {
	padding: 16px 32px; font-size: 13px; letter-spacing: 0.2em;
	background: var(--v2-burgundy); border: 1px solid var(--v2-gold);
	box-shadow: 0 0 0 4px rgba(110,43,31,0.35);
}
.v2-btn--hero:hover { background: var(--v2-burgundy-hover); }
.v2-btn--creature {
	min-width: 150px; min-height: 48px; padding: 12px 20px; text-align: center;
	font-size: 14px; letter-spacing: 0.16em; line-height: 1.7;
	background: var(--v2-burgundy); border: 1px solid var(--v2-gold-deep);
}
.v2-btn--creature:hover, .v2-creature:hover .v2-btn--creature { background: var(--v2-brown); }
.v2-btn--outline {
	display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
	padding: 12px 24px; font-size: 12px; letter-spacing: 0.2em;
	border: 1px solid rgba(242,228,208,0.75);
}
.v2-btn--outline:hover { background: var(--v2-cream); color: var(--v2-brown) !important; }

.v2 .v2-btn:focus-visible,
.v2 .v2-nav a:focus-visible,
.v2 .v2-creature:focus-visible,
.v2 .v2-socials a:focus-visible,
.v2 .v2-legal a:focus-visible,
.v2 .v2-map__link:focus-visible { outline: 2px solid var(--v2-gold); outline-offset: 3px; }

/* ---------- Header ---------- */
.v2-nav {
	position: fixed; top: var(--v2-nav-top); left: 0; right: 0; z-index: 30;
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	min-height: 64px; padding: 10px 32px;
	background: rgba(32,24,19,0.78);
	-webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
	border-bottom: 1px solid rgba(224,184,92,0.28);
}
.v2-nav__brand { display: flex; align-items: center; gap: 12px; color: var(--v2-cream) !important; text-decoration: none; }
.v2-nav__brand img { width: 38px; height: auto; display: block; }
.v2-nav__name { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; }
.v2-nav__menu { display: flex; align-items: center; gap: 28px; }
.v2-nav-links { display: flex; gap: 24px; margin: 0; padding: 0; list-style: none; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; }
.v2-nav-links li { margin: 0; }
.v2-nav-links a { color: var(--v2-cream); text-decoration: none; padding: 8px 0; transition: color .2s ease; }
.v2-nav-links a:hover { color: var(--v2-gold); }
.v2-langs { display: flex; align-items: center; gap: 6px; font-size: 12px; letter-spacing: 0.12em; color: rgba(242,228,208,0.4); }
.v2-lang { padding: 10px 6px; color: var(--v2-cream) !important; text-decoration: none; opacity: 0.55; }
.v2-lang.is-active, .v2-lang:hover { opacity: 1; }

/* ---------- 7. Footer ---------- */
.v2-footer { background: var(--v2-orange); color: var(--v2-ink); padding: 64px 24px 28px; }
.v2-footer__inner { max-width: 1060px; margin: 0 auto; }
.v2-socials { margin-bottom: 40px; }
.v2-socials__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin: 0; padding: 0; list-style: none; }
.v2-socials li { margin: 0; }
.v2-socials svg { width: 22px; height: 22px; display: block; }
.v2-socials a {
	width: 48px; height: 48px; display: grid; place-items: center;
	border: 1.5px solid var(--v2-ink); border-radius: 50%; color: var(--v2-ink);
	transition: background-color .2s ease, color .2s ease;
}
.v2-socials a:hover { background: var(--v2-ink); color: var(--v2-orange); }
.v2-footer__cols {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 48px; align-items: start;
	padding: 36px 0 44px; border-top: 1px solid rgba(47,36,29,0.4);
}
.v2-footer__hours-title { margin: 0 0 20px !important; font-weight: 700; font-size: 18px; letter-spacing: 0.06em; }
.v2-hours { margin: 0 0 32px; display: grid; grid-template-columns: 1fr; gap: 8px; max-width: 420px; font-size: 15px; }
.v2-hours > div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dotted rgba(47,36,29,0.45); padding-bottom: 4px; }
.v2-hours dt, .v2-hours dd { margin: 0; }
.v2-hours dd { font-style: italic; white-space: nowrap; }
.v2-footer__hook { margin: 0 0 6px !important; font-family: var(--v2-display); font-weight: 600; font-size: 22px; }
.v2-footer__text { margin: 0 0 24px !important; font-size: 15px; line-height: 1.7; max-width: 420px; }
.v2-footer__address { display: inline-block; margin: 0; padding: 8px 0; font-style: normal; line-height: 1.6; border-top: 1.5px solid var(--v2-ink); border-bottom: 1.5px solid var(--v2-ink); font-size: 16px; letter-spacing: 0.02em; }
.v2-footer__address span { display: block; }
/* Baskervville's default old-style figures sit lower than capitals; use lining figures in the footer details. */
.v2-footer__address, .v2-footer__phone, .v2-hours { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
.v2-footer__phone { margin: 14px 0 0 !important; font-size: 16px; letter-spacing: 0.02em; }
.v2-footer__phone a { color: var(--v2-ink); text-decoration: none; display: inline-block; padding: 6px 0; }
.v2-footer__phone a:hover { text-decoration: underline; }
.v2 .v2-footer__phone a:focus-visible { outline: 2px solid var(--v2-ink); outline-offset: 3px; }
.v2-map { background: var(--v2-brown); padding: 12px; box-shadow: 0 10px 24px rgba(47,36,29,0.3); }
.v2-map__frame { display: block; width: 100%; aspect-ratio: 16 / 10; height: auto; border: 0; background: #EDE3D3; }
.v2-map__link {
	display: flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 10px;
	font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--v2-cream) !important; text-decoration: none;
}
.v2-map__link:hover { color: var(--v2-gold) !important; text-decoration: underline; }
.v2-footer__bottom { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 22px; border-top: 1px solid rgba(47,36,29,0.4); font-size: 12px; text-align: center; }
.v2-legal__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; margin: 0; padding: 0; list-style: none; }
.v2-legal li { margin: 0; }
.v2-legal a { padding: 6px 14px; color: var(--v2-ink); text-decoration: none; }
.v2-legal a:hover { text-decoration: underline; }

/* ---------- Pages without the homepage hero ---------- */
body.gt-v2:not(.has-v2-hero) .site-main--full { padding-top: calc(64px + var(--v2-nav-top)); }
.v2 .site-main:not(.site-main--full) { padding: calc(64px + var(--v2-nav-top) + 64px) 24px 96px; }
.v2 .site-main:not(.site-main--full) > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.v2 .entry-title, .v2 .page-title {
	margin: 0 0 36px; font-weight: 400; font-size: clamp(28px, 4vw, 40px); line-height: 1.25;
	letter-spacing: 0.08em; text-transform: uppercase; color: var(--v2-brown); text-wrap: balance;
}
.v2 .site-main:not(.site-main--full) .entry-content h2 { margin: 2em 0 0.6em; font-weight: 400; font-size: 26px; line-height: 1.3; letter-spacing: 0.06em; text-transform: uppercase; color: var(--v2-brown); }
.v2 .site-main:not(.site-main--full) .entry-content h3 { margin: 1.6em 0 0.5em; font-family: var(--v2-display); font-weight: 500; font-size: 22px; line-height: 1.35; color: var(--v2-burgundy); }
.v2 .site-main:not(.site-main--full) .entry-content p,
.v2 .site-main:not(.site-main--full) .entry-content ul,
.v2 .site-main:not(.site-main--full) .entry-content ol { margin: 0 0 1.1em; }
.v2 .site-main:not(.site-main--full) .entry-content a { color: var(--v2-burgundy); text-decoration: underline; text-underline-offset: 2px; }
.v2 .site-main:not(.site-main--full) .entry-content a:hover { color: var(--v2-burgundy-hover); }
.v2 .site-main--full .entry-content > * { margin-top: 0; margin-bottom: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
	.v2-nav-links { display: none; }
}
@media (max-width: 620px) {
	.v2-nav { padding: 10px 16px; }
	.v2-nav__name { display: none; }
	.v2-footer { padding-left: 16px; padding-right: 16px; }
	.v2-heading { gap: 10px; }
	.v2-heading__leaf { width: 36px; }
	.v2-heading__leaf--sm { width: 30px; }
	.v2-btn--creature { min-width: 0; width: 100%; padding: 12px 8px; font-size: 13px; letter-spacing: 0.12em; }
	.v2 .site-main:not(.site-main--full) { padding-left: 16px; padding-right: 16px; }
}
