/*
 * Panos Tours «Οίνοψ πόντος»: tokens, fonts, reset, type, buttons, focus, reduced motion.
 * Fonts: Piazzolla and Alegreya Sans, SIL Open Font License 1.1 (assets/fonts/OFL.txt), self-hosted, latin + greek subsets.
 * Layout pieces (header, drawer, action bar, footer) are in layout.css.
 */

/* ---------- Fonts ---------- */
/* Piazzolla roman is one variable file per subset covering 300-500; the italic is the 500 used by the wordmark. */
@font-face { font-family: "Piazzolla"; font-style: normal; font-weight: 300 500; font-display: swap; src: url(../fonts/piazzolla-greek.woff2) format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "Piazzolla"; font-style: normal; font-weight: 300 500; font-display: swap; src: url(../fonts/piazzolla-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Piazzolla"; font-style: italic; font-weight: 500; font-display: swap; src: url(../fonts/piazzolla-italic-greek.woff2) format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "Piazzolla"; font-style: italic; font-weight: 500; font-display: swap; src: url(../fonts/piazzolla-italic-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Alegreya Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/alegreya-sans-400-greek.woff2) format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "Alegreya Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/alegreya-sans-400-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Alegreya Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/alegreya-sans-500-greek.woff2) format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "Alegreya Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/alegreya-sans-500-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Alegreya Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/alegreya-sans-700-greek.woff2) format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "Alegreya Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/alegreya-sans-700-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Tokens ---------- */
:root {
	--wine: #2A1A24;   /* background */
	--wine2: #3A2532;  /* surfaces: forms, the own-route panel, the drawer, the action bar */
	--line: #4D3644;   /* rules, field borders */
	--marble: #EFE9E4; /* text */
	--mute: #B9A9B2;   /* secondary text (7:1 on wine) */
	--lamp: #E3B55B;   /* only primary actions, prices, the phone, the active menu item, focus; text on it is wine */
	--marble-soft: rgba(239, 233, 228, .86);
	--marble-edge: rgba(239, 233, 228, .45);
	--shade: rgba(20, 11, 17, .62);

	--serif: "Piazzolla", Georgia, "Times New Roman", serif;
	--sans: "Alegreya Sans", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;

	--wrap: 1180px;
	--gutter: 56px;
	--header-h: 88px;
	--bar-h: 64px;
	--ease: cubic-bezier(.2, .7, .2, 1);

	color-scheme: dark;
}

@media (max-width: 1099px) {
	:root { --gutter: 32px; }
}

@media (max-width: 599px) {
	:root { --gutter: 20px; --header-h: 68px; }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 16px; }
body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, svg, video, picture { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

body {
	min-height: 100vh;
	background: var(--wine);
	color: var(--marble);
	font-family: var(--sans);
	font-size: 18px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

/* ---------- Type ---------- */
/* Piazzolla light carries the personality: large, airy, a little more line-height than a sans would need. */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 300; color: var(--marble); text-wrap: balance; }
h1 { font-size: clamp(40px, 5.6vw, 76px); line-height: 1.06; letter-spacing: -.012em; }
h2 { font-size: clamp(32px, 3.8vw, 46px); line-height: 1.14; letter-spacing: -.008em; }
h3 { font-size: clamp(22px, 2.2vw, 26px); font-weight: 500; line-height: 1.25; }
h4 { font-size: 20px; font-weight: 500; line-height: 1.3; }
p { text-wrap: pretty; }
strong, b { font-weight: 700; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; text-decoration-color: var(--marble-edge); }
a:hover { text-decoration-color: currentColor; }

.pt-lead { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.55; color: var(--mute); max-width: 56ch; }
.pt-num { font-variant-numeric: lining-nums tabular-nums; }

/* Reading text (pages, destination descriptions): under 75 characters a line. */
.pt-prose { max-width: 68ch; }
.pt-prose > * + * { margin-top: 1em; }
.pt-prose h2 { font-size: clamp(28px, 3vw, 36px); margin-top: 1.6em; }
.pt-prose h3 { margin-top: 1.5em; }
.pt-prose h2 + *, .pt-prose h3 + * { margin-top: .5em; }
.pt-prose ul, .pt-prose ol { padding-left: 1.2em; }
.pt-prose li + li { margin-top: .35em; }
.pt-prose a { text-decoration-color: var(--mute); }
.pt-prose blockquote { padding-left: 20px; border-left: 1px solid var(--line); color: var(--mute); }
.pt-prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.pt-prose img, .pt-prose figure { max-width: 100%; }
.pt-prose figcaption, .wp-element-caption { font-size: 15px; color: var(--mute); margin-top: 8px; }

/* ---------- Buttons: pills ---------- */
.pt-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 24px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-family: var(--sans);
	font-size: 17px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.pt-btn--primary { background: var(--lamp); color: var(--wine); font-weight: 700; }
.pt-btn--primary:hover { background: #ECC473; }
.pt-btn--ghost { border-color: var(--marble-edge); color: var(--marble); }
.pt-btn--ghost:hover { border-color: var(--marble); }
.pt-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.pt-icon { width: 22px; height: 22px; flex: none; }

/* ---------- Focus: always visible on keyboard, 3px lamp ---------- */
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--lamp); outline-offset: 3px; }
.pt-btn:focus-visible { outline-offset: 4px; }
#pt-main:focus, #pt-main:focus-visible { outline: none; }

/* ---------- Utilities ---------- */
.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;
}

.pt-skip {
	position: absolute; left: 16px; top: 12px; z-index: 100;
	padding: 12px 18px;
	background: var(--marble); color: var(--wine);
	font-weight: 700; text-decoration: none;
	transform: translateY(-200%);
}
.pt-skip:focus, .pt-skip:focus-visible { transform: none; }

.pt-wrap {
	width: 100%;
	max-width: calc(var(--wrap) + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
}

/* ---------- Reduced motion: no transitions, no animation, anywhere ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		transition-delay: 0s !important;
	}
}
