/*
Theme Name: ArtEvents
Theme URI: https://artevents.gr
Author: Luna Web Creation
Description: Custom theme for ArtEvents. Balloon art and event decoration in Crete. Replaces Blocksy and Elementor.
Version: 1.0.6
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: artevents
*/

/* ==========================================================================
   1. TOKENS
   ========================================================================== */

:root {
	/* Palette, carried over from the Blocksy palette so nothing shifts */
	--c-ink:        #091829; /* body text, buttons */
	--c-navy:       #14375D; /* headings */
	--c-blue:       #1678DD; /* link hover */
	--c-blue-light: #38C5FC;
	--c-teal:       #0D9AB7;
	--c-cyan:       #28D3DD;
	--c-magenta:    #D20A71;
	--c-pink:       #FD4693;
	--c-coral:      #FE6C55;
	--c-red:        #F03030; /* the red of the site's own icon files */
	--c-orange:     #F46F24; /* borders, accents */
	--c-white:      #fffafa; /* page background */
	--c-blush:      #FFF1F7; /* section background */

	/* Semantic */
	--bg-page:      var(--c-white);
	--bg-section:   var(--c-blush);
	--text:         var(--c-ink);
	--text-muted:   color-mix(in srgb, var(--c-ink) 65%, var(--c-white));
	--heading:      var(--c-navy);
	--link:         var(--c-navy);
	--link-hover:   var(--c-blue);
	--border:       color-mix(in srgb, var(--c-orange) 35%, transparent);
	--border-soft:  color-mix(in srgb, var(--c-navy) 12%, transparent);

	/* Type */
	--font-body:    "Lunasima", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-display: "Comic Relief", var(--font-body);

	/* Fluid type scale. Minimum is the mobile size, maximum the desktop size
	   measured on the current site, so nothing grows past what it is today. */
	--fs-xs:   0.8125rem;                              /* 13px */
	--fs-sm:   0.9375rem;                              /* 15px, buttons */
	--fs-base: 1rem;                                   /* 16px */
	--fs-lg:   clamp(1.0625rem, 0.98rem + 0.35vw, 1.1875rem);
	--fs-h4:   clamp(1.125rem, 1.02rem + 0.45vw, 1.375rem);
	--fs-h3:   clamp(1.375rem, 1.2rem + 0.8vw,  1.625rem);  /* up to 26px */
	--fs-h2:   clamp(1.5rem,   1.2rem + 1.3vw,  2rem);      /* up to 32px, two thirds of before */
	--fs-h1:   clamp(1.875rem, 1.4rem + 2vw,    2.75rem);   /* up to 44px */
	--fs-kicker: clamp(0.8125rem, 0.78rem + 0.15vw, 0.9375rem);

	--lh-tight: 1.05;
	--lh-snug:  1.25;
	--lh-body:  1.65;

	/* Spacing scale. One ratio everywhere, which is the main thing the
	   Elementor build was missing. */
	--sp-1:  0.25rem;
	--sp-2:  0.5rem;
	--sp-3:  0.75rem;
	--sp-4:  1rem;
	--sp-5:  1.5rem;
	--sp-6:  2rem;
	--sp-7:  3rem;
	--sp-8:  4rem;
	--sp-9:  6rem;
	--sp-10: 8rem;

	/* Section rhythm, fluid so mobile is not cavernous */
	--section-y:    clamp(3rem, 2rem + 5vw, 6.5rem);
	--section-y-lg: clamp(4rem, 2.5rem + 7vw, 9rem);

	/* Layout */
	--container:        1290px;
	--container-narrow: 750px;
	--gutter:           clamp(1.25rem, 0.8rem + 2vw, 5rem);

	/* Shape */
	--radius-sm: 6px;
	--radius:    12px;
	--radius-lg: 20px;
	--radius-pill: 999px;

	--shadow-sm: 0 1px 2px color-mix(in srgb, var(--c-ink) 8%, transparent);
	--shadow:    0 6px 20px color-mix(in srgb, var(--c-ink) 10%, transparent);
	--shadow-lg: 0 18px 48px color-mix(in srgb, var(--c-ink) 14%, transparent);

	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--dur:  180ms;
}

/* ==========================================================================
   2. RESET AND 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; }
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

body {
	margin: 0;
	background: var(--bg-page);
	color: var(--text);
	font-family: var(--font-body);
	font-size: var(--fs-base);
	line-height: var(--lh-body);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 var(--sp-4);
	color: var(--heading);
	font-family: var(--font-display);
	font-weight: 700;
	line-height: var(--lh-snug);
	text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); }
h2 { font-size: var(--fs-h2); line-height: var(--lh-tight); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p, ul, ol, dl, blockquote, figure, table {
	margin: 0 0 var(--sp-5);
}
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }

p { text-wrap: pretty; }

/* A comfortable measure, but only where the theme owns the column. Applied
   globally it capped every paragraph at 68ch with no auto margin, which
   pulled centred text to the left all over the site. */
.entry-content p,
.split__text p,
.hero__lead p,
.section-head p,
.faq__answer p,
.measure p,
.site-footer p { max-width: 68ch; }

/* A capped paragraph inside a centred block stays centred. */
.center p,
.section-head p,
.cta p,
.site-footer__col--center p { margin-inline: auto; }

a {
	color: var(--link);
	text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
	text-underline-offset: 0.18em;
	transition: color var(--dur) var(--ease);
}
a:hover { color: var(--link-hover); }

strong, b { font-weight: 700; }

img, picture, video, svg, iframe {
	display: block;
	max-width: 100%;
	height: auto;
}

ul, ol { padding-inline-start: 1.25em; }
li + li { margin-top: var(--sp-2); }

hr {
	height: 1px;
	margin: var(--sp-7) 0;
	border: 0;
	background: var(--border-soft);
}

:focus-visible {
	outline: 2px solid var(--c-blue);
	outline-offset: 3px;
	border-radius: var(--radius-sm);
}

::selection {
	background: var(--c-ink);
	color: #fff;
}

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

.skip-link {
	position: absolute;
	top: var(--sp-3);
	left: var(--sp-3);
	z-index: 999;
	padding: var(--sp-3) var(--sp-5);
	background: var(--c-ink);
	color: #fff;
	border-radius: var(--radius-sm);
	transform: translateY(-200%);
	transition: transform var(--dur) var(--ease);
}
.skip-link:focus { transform: translateY(0); color: #fff; }

/* ==========================================================================
   3. LAYOUT
   ========================================================================== */

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

.section {
	padding-block: var(--section-y);
}
.section--lg   { padding-block: var(--section-y-lg); }
.section--flush-top    { padding-block-start: 0; }
.section--flush-bottom { padding-block-end: 0; }
.section--blush { background: var(--bg-section); }

/* Two pink sections touching read as one long pink block. The second one
   drops back to the page colour so the rhythm keeps alternating. This
   happens on a service page with two services and a partner under them. */
.section--blush + .section--blush { background: var(--bg-page); }

/* Two blocks that belong together read as one passage, so the air between
   them is a fraction of the usual gap between sections. */
.section--tight { padding-block: clamp(1.25rem, 0.8rem + 1.6vw, 2.25rem); }
.section--tight + .section--tight { padding-block-start: 0; }

/* Two-column media and text, used by the post template and the category
   text blocks. Collapses to one column with no media query gymnastics. */
.split {
	display: grid;
	gap: clamp(var(--sp-5), 3vw, var(--sp-8));
	align-items: center;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
}
.split--media-first > .split__media { order: -1; }

/* One shape for every block picture. The library holds both portrait and
   landscape shots, and left to their own proportions a tall one stretches
   its section to twice the height of the next. */
.split__media img {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	border-radius: 0;
	box-shadow: var(--shadow);
}

/* Both columns the same width, so the two rows line up on both sides: the
   text on one row sits exactly under the picture on the other, edge for
   edge. The pair is narrower than the container to make that possible. */
.split {
	/* Widened from 62rem: at the old width the descriptions ran to eight
	   cramped lines. The extra room lets them spread and come out shorter. */
	max-width: 76rem;
	margin-inline: auto;
}

/* The partner: their mark and profiles on the left, who they are on the
   right. Same column widths as the blocks above, so the page keeps one
   grid from top to bottom. */
.partner {
	display: grid;
	gap: clamp(var(--sp-5), 3vw, var(--sp-8));
	align-items: center;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
	max-width: 76rem;               /* in step with .split above */
	margin-inline: auto;
}
.partner--plain {
	grid-template-columns: 1fr;
	max-width: 70ch;
	text-align: center;
}

.partner__aside { text-align: center; }
.partner__logo img {
	width: 100%;
	max-width: 13rem;
	height: auto;
	margin-inline: auto;
	border-radius: 0;
	object-fit: contain;
}
/* These all carry the extra .site-social class. The header's own rules for
   that class sit further down the file and would otherwise win, including
   its margin reset, which quietly swallowed the space under the mark. */
.site-social.partner__social {
	justify-content: center;
	margin-top: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem);
	gap: var(--sp-5);
}
/* The header's own social rules sit further down this file, so these need
   the extra class to win rather than an !important. */
.site-social.partner__social a { color: var(--c-magenta); }
.site-social.partner__social a:hover { color: var(--c-pink); }
.site-social.partner__social svg { width: 36px; height: 36px; }

.site-social.contact-social a { color: var(--c-magenta); }
.site-social.contact-social a:hover { color: var(--c-pink); }
.site-social.contact-social svg { width: 40px; height: 40px; }

.partner__details { margin-top: var(--sp-6); }
.partner__details a { text-decoration: none; }
.partner--plain .partner__details { justify-content: center; }

@media (max-width: 44rem) {
	.partner { text-align: center; }
	.partner__details { justify-content: center; }
}

/* A wide picture above a row of options. */
.items-banner { margin-bottom: clamp(var(--sp-6), 3vw, var(--sp-8)); }
.items-banner img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 0;
}

.grid {
	display: grid;
	gap: clamp(var(--sp-4), 2vw, var(--sp-6));
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }

.stack > * + * { margin-top: var(--sp-5); }
.stack--tight > * + * { margin-top: var(--sp-3); }
.stack--loose > * + * { margin-top: var(--sp-7); }

.center { text-align: center; }
.center p { margin-inline: auto; }

/* A single readable column, centred in its container. */
.measure {
	max-width: 70ch;
	margin-inline: auto;
}

/* -- Alignment ------------------------------------------------------------
   The category pages alternate: the first block leans left, the second
   leans right, the cards and the gallery sit in the middle. One class per
   block, and the paragraph margins follow so a capped measure does not
   drift away from its heading.
   ---------------------------------------------------------------------- */
.align-start  { text-align: left; }
.align-end    { text-align: right; }
.align-center { text-align: center; }

.align-start > *,
.align-start p  { margin-inline-start: 0; margin-inline-end: auto; }
.align-end > *,
.align-end p    { margin-inline-start: auto; margin-inline-end: 0; }
.align-center p { margin-inline: auto; }

/* Lists keep their bullets on the reading edge. */
.align-end .icon-list li { flex-direction: row-reverse; text-align: right; }

@media (max-width: 720px) {
	/* One column on a phone reads better left aligned throughout. */
	.align-end { text-align: left; }
	.align-end > *,
	.align-end p { margin-inline-start: 0; margin-inline-end: auto; }
	.align-end .icon-list li { flex-direction: row; text-align: left; }
}

/* ==========================================================================
   4. COMPONENTS
   ========================================================================== */

/* -- Kicker, the small uppercase label above headings -------------------- */
.kicker {
	display: block;
	margin-bottom: var(--sp-3);
	color: var(--c-orange);
	font-family: var(--font-body);
	font-size: var(--fs-kicker);
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	line-height: 1.3;
}

/* -- Section heading group ----------------------------------------------- */
.section-head { margin-bottom: clamp(var(--sp-6), 4vw, var(--sp-8)); }
.section-head p { font-size: var(--fs-lg); }

/* -- Buttons -------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--sp-2);
	padding: var(--sp-3) var(--sp-6);
	min-height: 2.75rem;
	background: var(--c-ink);
	color: #fff;
	border: 1px solid transparent;
	border-radius: var(--radius-pill);
	font-family: var(--font-body);
	font-size: var(--fs-sm);
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background var(--dur) var(--ease),
	            color var(--dur) var(--ease),
	            transform var(--dur) var(--ease),
	            box-shadow var(--dur) var(--ease);
}
.btn:hover {
	background: var(--c-navy);
	color: #fff;
	box-shadow: var(--shadow);
}
.btn:active { transform: translateY(1px); box-shadow: var(--shadow-sm); }

.btn--outline {
	background: transparent;
	color: var(--c-ink);
	border-color: color-mix(in srgb, var(--c-ink) 28%, transparent);
}
.btn--outline:hover {
	background: var(--c-ink);
	color: #fff;
	border-color: var(--c-ink);
}

.btn--accent { background: var(--c-magenta); }
.btn--accent:hover { background: var(--c-pink); }

.btn--blue { background: var(--c-navy); }
.btn--blue:hover { background: var(--c-magenta); }

/* -- Card ----------------------------------------------------------------
   Deliberately bare, the way the site has always had them: no panel, no
   border, no corner radius and no shadow. A portrait picture, the title,
   one line of text and a plain link underneath.
   ---------------------------------------------------------------------- */
.cards {
	display: grid;
	gap: clamp(var(--sp-5), 3vw, var(--sp-7)) clamp(var(--sp-4), 2.5vw, var(--sp-6));
	/* --cols comes from the template, which splits the row evenly: six go
	   three and three, eight go four and four. */
	grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
}
@media (max-width: 64rem) {
	.cards { grid-template-columns: repeat(min(var(--cols, 3), 3), minmax(0, 1fr)); }
}
@media (max-width: 48rem) {
	.cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	text-align: center;
}
.card__media {
	display: block;
	aspect-ratio: 248 / 300;
	overflow: hidden;
	background: var(--bg-section);
}
.card__media img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform 320ms var(--ease);
}
.card:hover .card__media img { transform: scale(1.04); }

.card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: var(--sp-2);
	padding: var(--sp-4) 0 0;
}
.card__title {
	margin: 0;
	font-family: var(--font-display);
	font-size: 19.2px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--c-navy);
}
.card__title a { color: inherit; text-decoration: none; }
.card__title a:hover { color: var(--c-blue); }

.card__text {
	margin: 0;
	font-size: var(--fs-sm);
	color: var(--text);
}

/* A plain small link, no pill, no arrow. */
.card__cta {
	margin-top: auto;
	padding-top: var(--sp-2);
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 400;
	color: var(--c-navy);
	text-decoration: underline;
	text-decoration-color: color-mix(in srgb, var(--c-navy) 40%, transparent);
}
.card__cta:hover { color: var(--c-blue); }

/* Whole card clickable without nesting links */
.card--linked { position: relative; }
.card--linked .card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

/* -- Value tile, the three cards on the homepage ------------------------- */
.tiles {
	display: grid;
	gap: clamp(var(--sp-4), 2vw, var(--sp-6));
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}
.tile {
	padding: var(--sp-6);
	background: var(--bg-page);
	border: 1px solid var(--border-soft);
	border-radius: var(--radius-lg);
}
.tile h3 { font-size: var(--fs-h4); }

/* -- Counters ------------------------------------------------------------- */
.counters {
	display: grid;
	gap: var(--sp-6);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
	text-align: center;
}
.counter__value {
	display: block;
	font-family: var(--font-display);
	font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem);
	font-weight: 700;
	line-height: 1;
	color: var(--heading);
	font-variant-numeric: tabular-nums;
}
.counter__label {
	display: block;
	margin-top: var(--sp-2);
	font-size: var(--fs-sm);
	letter-spacing: 0.04em;
	color: var(--heading);
}

/* -- Toggle, the post question and answer blocks ------------------------- */
.faq { border-top: 1px solid var(--border-soft); text-align: left; }
.faq__item { border-bottom: 1px solid var(--border-soft); }
.faq__item summary {
	display: flex;
	align-items: center;
	gap: var(--sp-3);
	padding: var(--sp-4) 0;
	cursor: pointer;
	list-style: none;
	font-family: var(--font-body);
	font-size: var(--fs-lg);
	font-weight: 600;
	color: var(--heading);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before {
	content: "";
	flex: 0 0 auto;
	width: 0.6em; height: 0.6em;
	border-right: 2px solid var(--c-orange);
	border-bottom: 2px solid var(--c-orange);
	transform: rotate(-45deg);
	transition: transform var(--dur) var(--ease);
}
.faq__item[open] summary::before { transform: rotate(45deg); }
.faq__item summary:hover { color: var(--c-blue); }
.faq__answer { padding: 0 0 var(--sp-5) calc(0.6em + var(--sp-3)); }
.faq__answer p { margin: 0; }

/* -- Icon list, the "Ιδανικό για" lists ---------------------------------- */
.icon-list { list-style: none; padding: 0; margin: 0; }
.icon-list li {
	display: flex;
	align-items: flex-start;
	gap: var(--sp-3);
	margin-top: var(--sp-3);
}
.icon-list li::before {
	content: "";
	flex: 0 0 auto;
	width: 1.4em; height: 1.4em;
	margin-top: 0.1em;
	border-radius: var(--radius-pill);
	background:
		linear-gradient(transparent, transparent) padding-box,
		var(--c-blush);
	box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--c-orange) 55%, transparent);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F46F24' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 62%;
}
/* The "Ιδανικό για" lists live inside the copy, written in the editor, so
   they arrive as plain bullets. They get the theme's own tick marker. */
.split__text ul:not(.icon-list),
.measure ul:not(.icon-list) {
	list-style: none;
	padding-inline-start: 0;
}
.split__text ul:not(.icon-list) li,
.measure ul:not(.icon-list) li {
	display: flex;
	align-items: flex-start;
	gap: var(--sp-3);
	margin-top: var(--sp-3);
}
.split__text ul:not(.icon-list) li::before,
.measure ul:not(.icon-list) li::before {
	content: "";
	flex: 0 0 auto;
	width: 1.4em; height: 1.4em;
	margin-top: 0.1em;
	border-radius: var(--radius-pill);
	background: var(--c-blush);
	box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--c-orange) 55%, transparent);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F46F24' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 62%;
}

.icon-list--inline {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-3) clamp(var(--sp-4), 2vw, var(--sp-6));
}
.icon-list--inline li { margin-top: 0; align-items: center; }

/* -- Contact detail row --------------------------------------------------- */
.contact-row {
	display: grid;
	gap: clamp(var(--sp-5), 3vw, var(--sp-7));
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}
.contact-item { text-align: center; }
.contact-item__icon {
	width: 3rem; height: 3rem;
	margin: 0 auto var(--sp-4);
	display: grid;
	place-items: center;
	border-radius: var(--radius-pill);
	background: var(--c-blush);
	color: var(--c-magenta);
}
.contact-item__icon svg { width: 1.4rem; height: 1.4rem; }
.contact-item h3 { font-size: var(--fs-h4); margin-bottom: var(--sp-2); }
.contact-item p { margin: 0 auto; font-size: var(--fs-base); }
.contact-item a { text-decoration: none; }

/* -- How to find us, the three columns on the homepage ------------------- */
.find-us {
	display: grid;
	gap: clamp(var(--sp-6), 3vw, var(--sp-8));
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
	text-align: center;
}
.find-us__icon {
	display: grid;
	place-items: center;
	width: 3.25rem; height: 3.25rem;
	margin: 0 auto var(--sp-4);
	border-radius: var(--radius-pill);
	background: var(--bg-page);
	color: var(--c-magenta);
}
.find-us__icon svg { width: 1.45rem; height: 1.45rem; }
.find-us__col h3 { font-size: var(--fs-h4); margin-bottom: var(--sp-3); }
.find-us__col ul { list-style: none; margin: 0; padding: 0; }
.find-us__col li { margin-top: var(--sp-1); }
.find-us__note {
	margin: var(--sp-3) auto 0;
	max-width: 24ch;
	font-size: var(--fs-sm);
	color: var(--text-muted);
}

/* -- Hero ----------------------------------------------------------------- */
/* The wave between the header and the hero band */
.shape-divider {
	position: absolute;
	inset-inline: 0;
	top: 0;
	height: 54px;
	overflow: hidden;
	line-height: 0;
	pointer-events: none;
}
.shape-divider svg {
	display: block;
	width: 100%;
	height: 100%;
}
.shape-divider path { fill: var(--bg-page); }

.hero {
	position: relative;
	background: var(--bg-section);
	overflow: clip;
	text-align: center;
}
.hero__inner {
	display: grid;
	gap: clamp(var(--sp-5), 4vw, var(--sp-8));
	align-items: center;
	padding-block: clamp(6rem, 7.5vw, 9rem) clamp(4.5rem, 6vw, 9rem); /* half again as tall */
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
}
.hero--text-only .hero__inner {
	grid-template-columns: 1fr;
	max-width: 70ch;
	margin-inline: auto;
}
.hero__title { margin-bottom: var(--sp-4); }
.hero__lead {
	font-size: var(--fs-lg);
	max-width: 62ch;
	margin-inline: auto;
}
.hero__lead p { margin-inline: auto; }
.hero__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

/* -- Stacked hero --------------------------------------------------------
   Title on its own, then a wide picture whose lower half leaves the pink
   band and sits on the page, so the change of colour cuts it across the
   middle. The height is worked out from the container width and the 16:9
   frame, which is what lets the section below know how much room to leave.
   ---------------------------------------------------------------------- */
:root {
	/* The picture's height: the container's inner width, in a 16:9 frame.
	   The gutter comes off the smaller of the container and the viewport. */
	--hero-fig-h: calc((min(var(--container), 100vw) - var(--gutter) * 2) * 9 / 16);
}

.hero--stacked {
	overflow: visible;        /* the picture is meant to hang out of it */
	padding-bottom: 0;
	z-index: 1;
	/* Without this the picture's negative margin collapses straight through
	   the section and drags the next one upward, instead of shortening the
	   pink band. The colour has to stop at the middle of the picture, so the
	   section needs a formatting context of its own. */
	display: flow-root;
}
.hero--stacked .hero__text {
	padding-block: clamp(5rem, 6.5vw, 8rem) clamp(2.5rem, 3.5vw, 4rem);
	max-width: 70ch;
	margin-inline: auto;
}
.hero--stacked .hero__title { margin-bottom: var(--sp-3); }

.hero__figure {
	margin-bottom: calc(var(--hero-fig-h) / -2);
}
.hero__figure img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 0;
	display: block;
}

/* The section underneath makes room for the half that hangs over it. */
.hero--stacked + .section {
	padding-block-start: calc(var(--hero-fig-h) / 2 + var(--section-y));
}
.hero--stacked + .section--tight {
	padding-block-start: calc(var(--hero-fig-h) / 2 + clamp(2.5rem, 1.8rem + 2.6vw, 4.5rem));
}

.hero--image {
	color: #fff;
	background-size: cover;
	background-position: center;
}
.hero--image::after {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(
		100deg,
		color-mix(in srgb, var(--c-ink) 72%, transparent),
		color-mix(in srgb, var(--c-ink) 25%, transparent)
	);
}
.hero--image .hero__inner { position: relative; z-index: 1; }
.hero--image .hero__title,
.hero--image .kicker,
.hero--image p { color: #fff; }

/* -- Contact page ---------------------------------------------------------
   Where to find us on the left, how to reach us on the right, in a pale
   card that carries the watercolour.
   ---------------------------------------------------------------------- */
/* The ArtFireworks details, laid out across under the paragraph. */
.fw-details {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: var(--sp-4) clamp(var(--sp-5), 3vw, var(--sp-8));
	margin: clamp(var(--sp-6), 3vw, var(--sp-8)) 0 0;
	padding: 0;
	list-style: none;
}
.fw-details li {
	display: flex;
	align-items: center;
	gap: var(--sp-3);
	margin: 0;
}
.fw-details a { text-decoration: none; }
.fw-details a:hover { color: var(--c-blue); }
.fw-details__icon {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 1.75rem; height: 1.75rem;
	color: var(--c-navy);
}
.fw-details__icon svg,
.fw-details__icon .icon-img { width: 1.6rem; height: 1.6rem; object-fit: contain; }

/* The band itself, with the balloon picture behind the words. */
.fw--image { position: relative; isolation: isolate; overflow: hidden; }
.fw--image::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: var(--fw-bg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	opacity: 0.5;
}
.fw__cta { margin: clamp(var(--sp-6), 3vw, var(--sp-8)) 0 0; text-align: center; }

.contact-grid {
	display: grid;
	gap: clamp(var(--sp-6), 4vw, var(--sp-9));
	/* Centred against the card beside it, rather than both starting on the
	   same top line. */
	align-items: center;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
}

.shops {
	display: grid;
	gap: clamp(var(--sp-5), 3vw, var(--sp-7));
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
	align-items: center;
	margin-top: clamp(var(--sp-6), 3vw, var(--sp-8));
}
.shop__name {
	font-size: var(--fs-base);
	font-family: var(--font-body);
	font-weight: 700;
	margin-bottom: var(--sp-4);
	color: var(--heading);
}
.shop__line {
	display: flex;
	align-items: center;
	gap: var(--sp-3);
	margin-bottom: var(--sp-4);
	max-width: none;
}
.shop__line:last-child { margin-bottom: 0; }
.shop__line a { text-decoration: none; }
.shop__icon {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 2rem; height: 2rem;
	color: var(--c-magenta);
}
.shop__icon svg,
.shop__icon .icon-img { width: 1.6rem; height: 1.6rem; object-fit: contain; }
.shop__link {
	display: flex;
	align-items: center;
	gap: var(--sp-3);
	text-decoration: none;
	color: inherit;
}
.shop__link:hover { color: var(--c-blue); }

.contact-card {
	--card-bg: none;
	position: relative;
	padding: clamp(var(--sp-6), 3vw, var(--sp-8));
	background-color: #fff;
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
}
/* The balloons fill the card and sit at half strength behind the words.
   A layer of its own, because a background-image cannot be faded without
   fading the text with it. */
.contact-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: var(--card-bg);
	background-repeat: no-repeat;
	background-position: center right;
	background-size: cover;
	opacity: 0.5;
	pointer-events: none;
}
.contact-card > * { position: relative; }
.contact-card__row {
	display: flex;
	align-items: flex-start;
	gap: var(--sp-4);
	margin-bottom: clamp(var(--sp-5), 2.5vw, var(--sp-7));
}
.contact-card__row:last-child { margin-bottom: 0; }
.contact-card__icon {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 2.5rem; height: 2.5rem;
	color: var(--c-magenta);
}
.contact-card__icon svg,
.contact-card__icon .icon-img { width: 2rem; height: 2rem; object-fit: contain; }
.contact-card h3 {
	font-size: var(--fs-h4);
	margin-bottom: var(--sp-2);
}
.contact-card p { max-width: none; margin-bottom: var(--sp-1); }
.contact-card__lead { color: var(--text); }
.contact-card__note { color: var(--text-muted); font-size: var(--fs-sm); }

/* The profiles, now inside the block on the left with the two shops. */
.contact-follow { margin-top: clamp(var(--sp-6), 3vw, var(--sp-7)); }
.contact-follow__title {
	font-size: var(--fs-h4);
	margin-bottom: var(--sp-4);
}
.contact-social {
	justify-content: flex-start;
	gap: clamp(var(--sp-4), 2.5vw, var(--sp-6));
	margin-top: 0;
}
.site-social.contact-social a { color: var(--c-red); }
.site-social.contact-social a:hover { color: var(--c-magenta); }
.site-social.contact-social svg { width: 36px; height: 36px; }

.contact-find__cta { margin: clamp(var(--sp-6), 3vw, var(--sp-7)) 0 0; }

/* The arrow under the title, a quiet nudge to scroll. */
.hero--contact .hero__inner {
	padding-block: clamp(5rem, 6.5vw, 8rem) clamp(3rem, 4vw, 5rem);
	/* The 30px more height that was asked for. */
	margin-block: 15px;
}
.hero--contact::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: clamp(1.5rem, 3vw, 3rem);
	width: 1.6rem; height: 1.6rem;
	translate: -50% 0;
	border-right: 3px solid var(--c-navy);
	border-bottom: 3px solid var(--c-navy);
	rotate: 45deg;
	opacity: 0.85;
}

/* -- The closing block, light and centred, no dark band ------------------ */

.tail {
	position: relative;
	/* Overridden per page from ArtEvents, Ρυθμίσεις, Κλείσιμο σελίδων. */
	--tail-bg: url("https://artevents.lunawebcreation.gr/wp-content/uploads/2025/10/bg1-artevents.gr_.png");
	padding-block: clamp(3rem, 2rem + 4vw, 5.5rem);
}

/*
 * The watercolour belongs to the contact panel alone, not to the whole
 * band: held to the right edge inside the box, washed back by a veil of
 * the panel's own colour so the words stay the thing being read.
 */
.tail {
	isolation: isolate;
	overflow: hidden;
}
.tail::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: var(--tail-bg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0.5;
}
.tail__contact {
	position: relative;
	isolation: isolate;
	overflow: hidden;
}

/* Form on the left, contact panel on the right */
.tail__bottom {
	display: grid;
	gap: clamp(var(--sp-6), 4vw, var(--sp-8));
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 23rem), 1fr));
	align-items: start;
	margin-top: clamp(var(--sp-7), 4vw, var(--sp-9));
}

.tail__title {
	margin-bottom: var(--sp-5);
	font-size: var(--fs-h2);
	color: var(--heading);
}
.tail__line {
	max-width: 70ch;
	margin-inline: auto;
	margin-bottom: var(--sp-2);
	font-size: var(--fs-lg);
}
.tail__line:last-of-type { margin-bottom: 0; }

.tail__form { max-width: none; }
.tail__form-title {
	margin-bottom: var(--sp-5);
	font-size: var(--fs-h3);
	color: var(--heading);
	text-align: center;
}

/* Send button centred under the fields */
.tail__form .ff_submit_btn_wrapper,
.tail__form .ff_submit_btn_wrapper.ff-text-left,
.tail__form .ff-el-group.ff_submit_btn_wrapper { text-align: center; }

/* The contact panel, soft pink and rounded */
.tail__contact {
	padding: clamp(var(--sp-6), 3vw, var(--sp-8));
	/* The soft pink, at full strength now that the watercolour has moved
	   out to the whole band: the panel has to read as a card on top of it. */
	background: var(--c-blush);
	border-radius: var(--radius-lg);
	text-align: center;
}
.tail__contact-title {
	margin-bottom: var(--sp-4);
	font-size: var(--fs-h3);
	color: var(--heading);
}
.tail__contact-lead {
	margin-bottom: clamp(var(--sp-6), 3vw, var(--sp-7));
	margin-inline: auto;
	max-width: 36ch;
}

/* Two columns of icon and label, left aligned inside the panel */
.tail__contact .contact-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 10.5rem), 1fr));
	gap: clamp(var(--sp-5), 2vw, var(--sp-6)) var(--sp-4);
	text-align: left;
}
.tail__contact .contact-list li { align-items: center; }
.tail__contact .contact-list__icon {
	width: 2.75rem; height: 2.75rem;
	background: var(--c-navy);
	color: #fff;
}
.tail__contact .contact-list__icon svg { width: 1.3rem; height: 1.3rem; }
.tail__contact .contact-list a { white-space: normal; }

/* Compact rows, icon beside the label, left aligned, as before */
.contact-list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-4) clamp(var(--sp-5), 3vw, var(--sp-8));
	margin: 0; padding: 0;
	list-style: none;
}
.contact-list li {
	display: flex;
	align-items: center;
	gap: var(--sp-3);
	margin: 0;
	font-size: var(--fs-base);
}
.contact-list__icon {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 2.25rem; height: 2.25rem;
	border-radius: var(--radius-pill);
	background: var(--bg-section);
	color: var(--c-magenta);
}
.contact-list__icon svg { width: 1.05rem; height: 1.05rem; }
.contact-list a { text-decoration: none; white-space: nowrap; }

/* -- Videos, the Έμπνευση row -------------------------------------------
   Each one is a poster with a play button until it is clicked, so the page
   asks YouTube for nothing until someone wants to watch. Shorts are tall,
   hence the 9:16 frame.
   ---------------------------------------------------------------------- */
.video-grid {
	display: grid;
	gap: var(--sp-4);
	grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
	margin: 0; padding: 0;
	list-style: none;
}
@media (max-width: 64rem) {
	.video-grid { grid-template-columns: repeat(min(var(--cols, 3), 3), minmax(0, 1fr)); }
}
@media (max-width: 48rem) {
	.video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.video-grid li { margin: 0; }

.video-card {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 9 / 16;
	padding: 0;
	border: 0;
	border-radius: var(--radius);
	background-color: var(--bg-section);
	cursor: pointer;
	overflow: hidden;
	transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.video-card__poster {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.video-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow);
}
.video-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		color-mix(in srgb, var(--c-ink) 0%, transparent),
		color-mix(in srgb, var(--c-ink) 35%, transparent)
	);
}
.video-card__play {
	position: absolute;
	top: 50%; left: 50%;
	z-index: 1;
	translate: -50% -50%;
	width: 3.5rem; height: 3.5rem;
	border-radius: var(--radius-pill);
	background: color-mix(in srgb, var(--c-magenta) 92%, transparent);
	transition: background var(--dur) var(--ease), scale var(--dur) var(--ease);
}
.video-card__play::before {
	content: "";
	position: absolute;
	top: 50%; left: 54%;
	translate: -50% -50%;
	border-style: solid;
	border-width: 0.55rem 0 0.55rem 0.9rem;
	border-color: transparent transparent transparent #fff;
}
.video-card:hover .video-card__play { background: var(--c-pink); scale: 1.06; }

/* Once clicked, the button is replaced by the player in the same frame. */
.video-grid iframe {
	width: 100%;
	aspect-ratio: 9 / 16;
	border: 0;
	border-radius: var(--radius);
}

/* -- Gallery -------------------------------------------------------------- */
.gallery {
	display: grid;
	gap: var(--sp-3);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
}
.gallery a {
	display: block;
	border-radius: var(--radius);
	overflow: hidden;
	aspect-ratio: 1;
}
.gallery img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform 320ms var(--ease);
}
.gallery a:hover img { transform: scale(1.05); }


/* ==========================================================================
   5. HEADER AND FOOTER
   ========================================================================== */

/* -- Header, measured from the current build ----------------------------- */

.site-header {
	position: relative;
	z-index: 50;
	background: var(--bg-page);
}
.site-header--sticky {
	position: sticky;
	top: 0;
	background: color-mix(in srgb, var(--bg-page) 92%, transparent);
	backdrop-filter: saturate(180%) blur(12px);
}
/* Three columns: menu, logo, language and social. The centre track is the
   logo's own width so the logo sits on the page's midline. */
.site-header__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: var(--sp-5);
	width: 100%;
	max-width: min(1720px, 96vw);
	margin-inline: auto;
	padding-inline: var(--gutter);
	min-height: 120px;
}
.site-header__start { display: flex; align-items: center; justify-content: flex-start; }
.site-header__end {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: var(--sp-5);
}

.site-brand { display: flex; align-items: center; justify-content: center; }
.site-brand img,
.site-brand .custom-logo {
	width: clamp(4.5rem, 3rem + 4vw, 8.75rem); /* up to 140px */
	height: auto;
	aspect-ratio: 1;
}
.site-brand__text {
	font-family: var(--font-display);
	font-size: var(--fs-h4);
	color: var(--heading);
	text-decoration: none;
	text-align: center;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: var(--sp-5);
}

/* Social icons, bare glyphs with no chrome, as on the current site */
.site-social {
	display: flex;
	align-items: center;
	gap: var(--sp-4);
	margin: 0; padding: 0;
	list-style: none;
}
.site-social li { margin: 0; }
.site-social a {
	display: grid;
	place-items: center;
	color: var(--c-ink);
	transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.site-social svg { width: 26px; height: 26px; }
.site-social a:hover { color: var(--c-magenta); transform: translateY(-1px); }

.nav__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 0; padding: 0;
	list-style: none;
}
.nav__list li { margin: 0; }
.nav__list a {
	display: block;
	padding: var(--sp-2) 12.5px;
	font-family: var(--font-display);
	font-size: 18px;
	font-weight: 700;
	text-transform: capitalize;
	color: var(--heading);
	text-decoration: none;
	white-space: nowrap;
}
.nav__list a:hover,
.nav__list .current-menu-item > a,
.nav__list .current_page_ancestor > a { color: var(--c-blue); }

/* Submenus, kept simple */
.nav__list .sub-menu {
	position: absolute;
	z-index: 20;
	width: max-content;
	min-width: 11rem;
	max-width: 13rem;
	margin: 0; padding: var(--sp-3) 0;
	list-style: none;
	background: var(--bg-page);
	border: 1px solid var(--border-soft);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}
.nav__list li { position: relative; }
/* The arrow exists only in the folded-up menu; on a wide screen the
   sub-menus still drop open on hover and it would be noise. */
.nav__sub-toggle { display: none; }
.nav__list li:hover > .sub-menu,
.nav__list li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}
.nav__list .sub-menu a {
	font-size: 16px;
	padding: var(--sp-2) var(--sp-4);
	white-space: normal;   /* let long names wrap instead of widening the box */
	line-height: 1.3;
}

/* Language switcher, markup comes from TranslatePress */
.site-header__lang > * { display: flex; align-items: center; gap: var(--sp-2); }
.site-header__lang a {
	display: inline-flex;
	align-items: center;
	gap: var(--sp-2);
	font-family: var(--font-display);
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	color: var(--heading);
	white-space: nowrap;
}
.site-header__lang img { width: 18px; height: auto; }
.site-header__lang ul { margin: 0; padding: 0; list-style: none; display: flex; gap: var(--sp-3); }
.site-header__lang li { margin: 0; }
.site-header__lang a { padding: 0; }

/* The one link the header shows: the language you are not reading. The
   markup is TranslatePress's own, lifted out of its dropdown in PHP. */
.lang-switch { display: flex; align-items: center; }
.lang-switch a {
	display: inline-flex;
	align-items: center;
	gap: var(--sp-2);
	font-family: var(--font-display);
	font-size: 16px;
	font-weight: 700;
	color: var(--heading);
	text-decoration: none;
	white-space: nowrap;
}
.lang-switch a:hover { color: var(--c-blue); }
.lang-switch img { width: 18px; height: auto; }

.site-header__lang .trp-shortcode-arrow { display: none; }

/* The plugin likes to cap its own width, which cut "Ελληνικά" down to
   "Ελλ…". Nothing here is allowed to clip the word. */
.site-header__lang,
.site-header__lang * {
	max-width: none;
	overflow: visible;
	text-overflow: clip;
	white-space: nowrap;
}

/* Strip the plugin's own box and caret: the site shows the switcher as a
   plain flag and language name. */
.site-header__lang .trp-language-switcher,
.site-header__lang .trp-ls-shortcode-current-language,
.site-header__lang .trp-ls-shortcode-language {
	background: none;
	border: 0;
	box-shadow: none;
	padding: 0;
	width: auto;
	min-width: 0;
}
.site-header__lang .trp-language-switcher > div { padding: 0; border: 0; }
.site-header__lang .trp-language-switcher::after,
.site-header__lang .trp-ls-shortcode-current-language::after { display: none; }
.site-header__lang .trp-flag-image { width: 18px; height: auto; margin-inline-end: var(--sp-2); }

.nav-toggle {
	display: none;
	align-items: center;
	gap: var(--sp-3);
	min-height: 2.75rem;
	padding: var(--sp-2) var(--sp-4);
	background: none;
	border: 1px solid var(--border-soft);
	border-radius: var(--radius-pill);
	font-family: var(--font-display);
	font-size: 16px;
	font-weight: 700;
	color: var(--heading);
	cursor: pointer;
}
.nav-toggle__bars {
	width: 1.1rem; height: 2px;
	background: currentColor;
	box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

@media (max-width: 1100px) {
	.site-header__inner {
		grid-template-columns: auto 1fr auto;
		min-height: 84px;
	}
	.site-brand { justify-content: flex-start; }
	.nav-toggle { display: inline-flex; }
	.site-nav {
		position: absolute;
		inset-inline: 0;
		top: 100%;
		display: none;
		flex-direction: column;
		align-items: flex-start;
		gap: var(--sp-4);
		padding: var(--sp-5) var(--gutter);
		background: var(--bg-page);
		border-bottom: 1px solid var(--border-soft);
		box-shadow: var(--shadow);
	}
	.site-nav[data-open="true"] { display: flex; }
	.nav__list { flex-direction: column; align-items: flex-start; width: 100%; }
	.nav__list a { padding-inline: 0; }
	/* Folded away behind an arrow instead of spilling every sub-entry down
	   the screen. The row becomes "link | arrow": the link still goes to
	   the category, the arrow only opens what is under it. */
	.nav__list > li:has(.sub-menu) {
		display: grid;
		grid-template-columns: 1fr auto;
		align-items: center;
		width: 100%;
	}
	.nav__sub-toggle {
		display: grid;
		place-items: center;
		width: 2.75rem;
		height: 2.75rem;        /* a comfortable target for a thumb */
		padding: 0;
		border: 0;
		background: none;
		color: inherit;
		cursor: pointer;
	}
	.nav__sub-toggle::before {
		content: "";
		width: 0.55rem;
		height: 0.55rem;
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		rotate: 45deg;          /* a chevron pointing down */
		translate: 0 -2px;
		transition: rotate var(--dur) var(--ease);
	}
	.nav__list > li[data-sub-open="true"] > .nav__sub-toggle::before {
		rotate: 225deg;
		translate: 0 2px;
	}
	.nav__list .sub-menu {
		position: static;
		display: none;
		grid-column: 1 / -1;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: 0;
		padding: 0 0 var(--sp-3) var(--sp-4);
	}
	.nav__list > li[data-sub-open="true"] > .sub-menu { display: block; }
}

/* -- Footer, measured from the current build ----------------------------- */

.site-footer {
	background: var(--c-navy);
	color: var(--c-white);
}
.site-footer__main { padding-block: clamp(2.5rem, 1.5rem + 4vw, 70px); }
.site-footer__grid {
	display: grid;
	gap: 50px;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
}
.site-footer__title {
	margin-bottom: var(--sp-4);
	color: var(--c-white);
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 700;
	line-height: 30px;
}
.site-footer__list {
	margin: 0; padding: 0;
	list-style: none;
}
.site-footer__list li { margin-top: var(--sp-3); }
.site-footer__list li:first-child { margin-top: 0; }
.site-footer,
.site-footer__list,
.site-footer__list a {
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 400;
}
.site-footer a {
	color: var(--c-white);
	text-decoration: none;
}
.site-footer a:hover { color: var(--c-pink); }

/* Column alignment, left, centre, right, as on the current site */
.site-footer__col--start  { text-align: left; }
.site-footer__col--center { text-align: center; }
.site-footer__col--end    { text-align: right; }

/* Stacked on a narrow screen the order asked for is: the logo and the
   social row first, then the contact details, then the links. The grid is
   pinned to one column here rather than left to auto-fit, so the order is
   predictable instead of depending on how many columns happen to fit. */
@media (max-width: 48rem) {
	.site-footer__grid { grid-template-columns: 1fr; }
	.site-footer__col--center { order: -1; }
	.site-footer__col--start,
	.site-footer__col--end,
	.site-footer__col--center { text-align: center; }
	.site-footer__list { display: inline-block; text-align: center; }
}

.site-footer__logo { display: inline-block; margin-bottom: var(--sp-4); }
.site-footer__logo img {
	width: clamp(7.5rem, 5rem + 6vw, 11.625rem); /* up to the current 186px */
	height: auto;
	aspect-ratio: 1;
}

.site-social--footer {
	justify-content: center;
	gap: var(--sp-5);
}
.site-social--footer a { color: var(--c-white); }
.site-social--footer svg { width: 30px; height: 30px; }
.site-social--footer a:hover { color: var(--c-pink); }

.site-footer__bar {
	padding-block: 25px;
}

@media (max-width: 720px) {
	/* Only the row in the top bar goes away on a narrow screen. This used
	   to read ".site-social", which also took out the footer's row and the
	   ones in the contact and partner blocks: the "We are Social" heading
	   sat above nothing at all. */
	.site-header .site-social { display: none; }
	.site-footer__col--end,
	.site-footer__col--start { text-align: center; }
}
.site-footer__bar-inner {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-4);
	align-items: center;
	justify-content: space-between;
	font-size: var(--fs-sm);
}
.site-footer__bar p { max-width: none; }
.site-footer__legal { display: flex; gap: var(--sp-3); align-items: center; }
.site-footer__legal span { opacity: 0.5; }

/* The bottom bar: both lines centred on their own row rather than pushed
   to opposite ends, which on a narrow screen left each one hanging off a
   different side. */
@media (max-width: 48rem) {
	.site-footer__bar-inner {
		flex-direction: column;
		justify-content: center;
		text-align: center;
	}
	.site-footer__legal { justify-content: center; }
}

/* ==========================================================================
   6. FORM, scoped so Fluent Forms markup is styled but never altered
   ========================================================================== */

/* Plain, quiet fields on the page background, no panel and no pink fill. */
.tail__form .ff-el-group { margin-bottom: var(--sp-4); }
.tail__form .ff-el-input--label label {
	font-size: var(--fs-base);
	font-weight: 400;
	color: var(--text);
}
.tail__form input[type="text"],
.tail__form input[type="email"],
.tail__form input[type="tel"],
.tail__form input[type="number"],
.tail__form textarea,
.tail__form select {
	width: 100%;
	padding: var(--sp-3) var(--sp-4);
	background: color-mix(in srgb, var(--c-navy) 3%, transparent);
	color: var(--text);
	border: 1px solid color-mix(in srgb, var(--c-navy) 14%, transparent);
	border-radius: var(--radius-sm);
	font-family: var(--font-body);
	font-size: var(--fs-base);
	transition: border-color var(--dur) var(--ease),
	            box-shadow var(--dur) var(--ease);
}
.tail__form input:focus,
.tail__form textarea:focus,
.tail__form select:focus {
	outline: none;
	border-color: var(--c-blue);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-blue) 15%, transparent);
}
.tail__form textarea { min-height: 7rem; resize: vertical; }
.tail__form .ff-btn-submit {
	padding: var(--sp-3) var(--sp-7);
	min-height: 2.75rem;
	background: var(--c-navy);
	color: #fff;
	border: 0;
	border-radius: 7px;
	font-family: var(--font-body);
	font-size: var(--fs-base);
	font-weight: 500;
	cursor: pointer;
	transition: background var(--dur) var(--ease);
}
.tail__form .ff-btn-submit:hover { background: var(--c-ink); }

/* The plugin prints the form's own name; the section already has a heading. */
.tail__form .ff-form-title,
.tail__form .fluentform .ff_form_title { display: none; }

/* ==========================================================================
   7. BUILDER CONTENT

   Pages still rendered by Elementor sit inside .legacy-content. The theme's
   own type scale is smaller than the one the old theme shipped, and element
   selectors like h2 reach straight into builder markup, which made every
   untouched page shrink. Everything below puts the old sizes back inside
   that wrapper, so a page that has not been converted looks exactly as it
   did. The whole block goes away once the last page is on the templates.
   ========================================================================== */

/* Builder content keeps its own measure and its own alignment. */
.legacy-content p { max-width: none; }

/* The sizes the previous theme used, restored for builder markup only. */
.legacy-content h1 { font-size: 40px; line-height: 1.2; }
.legacy-content h2 { font-size: 35px; line-height: 1.2; }
.legacy-content h3 { font-size: 30px; line-height: 1.3; }
.legacy-content h4 { font-size: 25px; line-height: 1.3; }
.legacy-content h5 { font-size: 20px; line-height: 1.4; }
.legacy-content h6 { font-size: 16px; line-height: 1.4; }

@media (max-width: 720px) {
	.legacy-content h1 { font-size: 32px; }
	.legacy-content h2 { font-size: 28px; }
	.legacy-content h3 { font-size: 24px; }
	.legacy-content h4 { font-size: 21px; }
}

/* Builder containers need their full width back: the old theme gave them a
   1290px shell of its own, and the theme's narrower measure squeezed them. */
.legacy-content .elementor-section,
.legacy-content .e-con,
.legacy-content .elementor-container { max-width: none; }

/* Lists inside builder markup carry their own padding and markers. */
.legacy-content ul,
.legacy-content ol { padding-inline-start: 0; }
.legacy-content li + li { margin-top: 0; }

/* Images in builder markup are positioned by the builder, not by the theme. */
.legacy-content img { display: inline-block; }

.legacy-content .elementor-button,
.legacy-content .elementor-button-link,
.legacy-content a.elementor-button {
	background-color: var(--c-ink);
	color: #fff;
	border-radius: var(--radius-pill);
	transition: background-color var(--dur) var(--ease);
}
.legacy-content .elementor-button:hover,
.legacy-content .elementor-button-link:hover,
.legacy-content a.elementor-button:hover {
	background-color: var(--c-navy);
	color: #fff;
}

/* Counters in the display face, in navy rather than near-black */
.legacy-content .elementor-counter-number-wrapper,
.legacy-content .elementor-counter-number,
.legacy-content .elementor-counter-number-prefix,
.legacy-content .elementor-counter-number-suffix {
	font-family: var(--font-display);
	font-weight: 700;
	color: var(--c-navy);
}

/* ==========================================================================
   8. UTILITIES
   ========================================================================== */

.u-reveal {
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 420ms var(--ease), transform 420ms var(--ease);
}
.u-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.u-reveal { opacity: 1; transform: none; }
}

.u-mt-0 { margin-top: 0 !important; }
.u-mb-0 { margin-bottom: 0 !important; }
.u-full-width { max-width: none !important; }

@media print {
	.site-header, .site-footer, .tail { display: none !important; }
	body { background: #fff; color: #000; }
}

/* ==========================================================================
   8. EVENTS, ABOUT AND HOME
   ========================================================================== */

/* -- Cover cards ----------------------------------------------------------
   The name of the category sits on the picture. The sentence waits under
   it and comes up when the card is pointed at. Where there is no pointer,
   on a phone, the sentence is simply always shown.
   ---------------------------------------------------------------------- */
.covers {
	display: grid;
	gap: clamp(var(--sp-4), 2vw, var(--sp-6));
	grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
}
.cover { min-width: 0; }
.cover__link {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 0;               /* square corners everywhere, as asked */
	color: #fff;
	text-decoration: none;
	isolation: isolate;
}
.cover__img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	transition: transform var(--dur-slow, 480ms) var(--ease);
}
.cover__link::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(
		to top,
		color-mix(in srgb, var(--c-ink) 88%, transparent) 0%,
		color-mix(in srgb, var(--c-ink) 55%, transparent) 38%,
		transparent 72%
	);
	transition: opacity var(--dur) var(--ease);
}
.cover__body {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	z-index: 2;
	padding: clamp(var(--sp-4), 2vw, var(--sp-5));
}
.cover__title {
	font-size: var(--fs-h4);
	color: #fff;
	margin: 0;
	text-shadow: 0 1px 12px color-mix(in srgb, var(--c-ink) 55%, transparent);
}
.cover__text {
	margin: var(--sp-3) 0 0;
	max-width: none;
	font-size: var(--fs-sm);
	line-height: 1.5;
	color: color-mix(in srgb, #fff 88%, transparent);
}
.cover__cta {
	display: inline-block;
	margin-top: var(--sp-3);
	font-size: var(--fs-sm);
	font-weight: 600;
	letter-spacing: 0.02em;
	border-bottom: 1px solid color-mix(in srgb, #fff 55%, transparent);
	padding-bottom: 2px;
}

/* Only where there is a pointer to hover with. */
@media (hover: hover) and (min-width: 48rem) {
	.cover__text,
	.cover__cta {
		opacity: 0;
		transform: translateY(var(--sp-3));
		transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
	}
	.cover__link:hover .cover__img,
	.cover__link:focus-visible .cover__img { transform: scale(1.04); }

	.cover__link:hover .cover__text,
	.cover__link:hover .cover__cta,
	.cover__link:focus-visible .cover__text,
	.cover__link:focus-visible .cover__cta {
		opacity: 1;
		transform: none;
	}
}
@media (prefers-reduced-motion: reduce) {
	.cover__img, .cover__text, .cover__cta { transition: none; }
	.cover__link:hover .cover__img { transform: none; }
}
@media (max-width: 60rem) {
	.covers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 34rem) {
	.covers { grid-template-columns: 1fr; }
}

/* -- Carousel -------------------------------------------------------------
   Edge to edge, square-cornered, no bars and no arrows. It steps along on
   its own every few seconds and waits while the pointer is on it. A swipe
   still works on a phone; only the scrollbars are hidden.
   ---------------------------------------------------------------------- */
.carousel {
	position: relative;
	display: block;              /* never flex: the track is the flex row */
	width: 100%;
	--per: 4;                    /* four tall pictures across */
}
.carousel__track {
	display: flex;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	overscroll-behavior-x: contain;
	scrollbar-width: none;          /* Firefox */
	-ms-overflow-style: none;       /* old Edge */
}
.carousel__track::-webkit-scrollbar { width: 0; height: 0; display: none; }
.carousel__item {
	flex: 0 0 auto;
	width: calc(100% / var(--per));
	margin: 0;
	scroll-snap-align: start;
}
.carousel__item img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 4;            /* upright: ~396 x 528 at 1600px */
	object-fit: cover;
	border-radius: 0;               /* no curve, as asked */
}
/* The arrows are gone; the rule stays so older markup cannot bring them back. */
.carousel__arrow { display: none !important; }

@media (max-width: 90rem) { .carousel { --per: 3; } }
@media (max-width: 64rem) { .carousel { --per: 2; } }
@media (max-width: 40rem) { .carousel { --per: 1; } }

@media (prefers-reduced-motion: reduce) {
	.carousel__track { scroll-behavior: auto; }
}

/* -- Feature block --------------------------------------------------------
   Words one side, pictures the other, both starting on the same line.
   ---------------------------------------------------------------------- */
.feature {
	display: grid;
	gap: clamp(var(--sp-5), 3vw, var(--sp-8));
	grid-template-columns: 1fr 1fr;
	align-items: start;          /* flush at the top, never staggered */
	max-width: 68rem;
	margin-inline: auto;
}
.feature--plain { grid-template-columns: 1fr; max-width: 62ch; }
.feature--media-first .feature__text { order: 2; }
.feature--media-first .feature__media { order: 1; }
.feature__text > :first-child { margin-top: 0; }
.feature__text p { max-width: none; }
.feature__media {
	display: grid;
	gap: clamp(var(--sp-3), 1.5vw, var(--sp-4));
}
.feature__media img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
}
.feature__media[data-count="1"] img { aspect-ratio: 3 / 4; }

.feature-section--image { position: relative; isolation: isolate; overflow: hidden; }
.feature-section--image::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: var(--feature-bg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	opacity: 0.35;                  /* fainter than the rest, as asked */
}
@media (max-width: 52rem) {
	.feature { grid-template-columns: 1fr; }
	.feature--media-first .feature__text,
	.feature--media-first .feature__media { order: 0; }
	.feature__media { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
}

/* -- Numbered list, the services on the home page ----------------------- */
.numbered {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 clamp(var(--sp-6), 4vw, var(--sp-9));
	margin: clamp(var(--sp-6), 3vw, var(--sp-8)) 0 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}
.numbered__row {
	display: flex;
	align-items: baseline;
	gap: clamp(var(--sp-3), 1.5vw, var(--sp-5));
	margin: 0;
	padding-block: clamp(var(--sp-4), 2vw, var(--sp-5));
	border-bottom: 1px solid var(--border-soft);
}
.numbered__num {
	flex: 0 0 auto;
	font-family: var(--font-display);
	font-size: var(--fs-h3);
	font-weight: 700;
	line-height: 1;
	color: var(--c-magenta);
	font-variant-numeric: tabular-nums;
}
.numbered__title {
	font-family: var(--font-display);
	font-size: var(--fs-h4);
	color: var(--heading);
	text-decoration: none;
}
a.numbered__title:hover { color: var(--c-magenta); }
/* One long column, the way the home page wants it. */
.numbered--single { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 52rem) {
	.numbered { grid-template-columns: 1fr; }
}

/* -- A list of links, each one a kind of event -------------------------- */
.link-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 clamp(var(--sp-6), 4vw, var(--sp-9));
	margin: clamp(var(--sp-6), 3vw, var(--sp-8)) 0 0;
	padding: 0;
	list-style: none;
}
.link-list li { margin: 0; }
.link-list__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-4);
	padding-block: clamp(var(--sp-4), 2vw, var(--sp-5));
	border-bottom: 1px solid var(--border-soft);
	font-family: var(--font-display);
	font-size: var(--fs-h4);
	color: var(--heading);
	text-decoration: none;
}
.link-list__link svg {
	flex: 0 0 auto;
	width: 1.25rem; height: 1.25rem;
	color: var(--c-magenta);
	transition: transform var(--dur) var(--ease);
}
a.link-list__link:hover { color: var(--c-magenta); }
a.link-list__link:hover svg { transform: translateX(4px); }
@media (max-width: 52rem) {
	.link-list { grid-template-columns: 1fr; }
}

/* -- The coloured panel that touches its pictures -----------------------
   One block of three parts with no space between them: the words in
   colour, a picture beside, a wider one underneath both.
   ---------------------------------------------------------------------- */
.pair {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;                       /* the whole point: the three parts touch */
	max-width: 68rem;
	margin-inline: auto;
	overflow: hidden;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
}
.pair--media-first .pair__panel { order: 2; }
.pair--media-first .pair__side  { order: 1; }
.pair__panel {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(var(--sp-5), 3vw, var(--sp-8));
	color: #fff;
}
.pair--orange  .pair__panel { background: var(--c-orange); }
.pair--coral   .pair__panel { background: var(--c-coral); }
.pair--navy    .pair__panel { background: var(--c-navy); }
.pair--magenta .pair__panel { background: var(--c-magenta); }
.pair__kicker { color: color-mix(in srgb, #fff 82%, transparent); }
.pair__title {
	color: #fff;
	/* Bigger than a normal heading: these are the few words that carry the
	   whole block. */
	font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem);
	line-height: var(--lh-tight);
	margin-bottom: 0;
}
.pair__panel p {
	color: color-mix(in srgb, #fff 88%, transparent);
	max-width: none;
	margin-top: var(--sp-4);
	margin-bottom: 0;
}
.pair__side img,
.pair__below img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
}
.pair__below {
	grid-column: 1 / -1;
	aspect-ratio: 21 / 9;
}
@media (max-width: 52rem) {
	.pair { grid-template-columns: 1fr; }
	.pair--media-first .pair__panel,
	.pair--media-first .pair__side { order: 0; }
	.pair__side { aspect-ratio: 4 / 3; }
	.pair__below { aspect-ratio: 16 / 9; }
}

/* -- The three boxes with the site's own round icons -------------------- */
.icon-boxes {
	display: grid;
	gap: clamp(var(--sp-5), 3vw, var(--sp-7));
	grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
	text-align: center;
}
.icon-box { min-width: 0; }
.icon-box__icon {
	display: grid;
	place-items: center;
	margin: 0 auto var(--sp-4);
	width: clamp(4.5rem, 7vw, 6rem);
}
.icon-box__icon img { width: 100%; height: auto; display: block; }
.icon-box__title { font-size: var(--fs-h4); margin-bottom: var(--sp-3); }
.icon-box__text { max-width: 34ch; margin-inline: auto; }
@media (max-width: 52rem) {
	.icon-boxes { grid-template-columns: 1fr; }
}

/* -- One dark blue panel instead of three pale cards -------------------- */
.tiles--navy {
	background: var(--c-navy);
	border-radius: var(--radius-lg);
	padding: clamp(var(--sp-5), 3vw, var(--sp-8));
	gap: clamp(var(--sp-5), 3vw, var(--sp-7));
	box-shadow: var(--shadow);
}
.tiles--navy .tile {
	background: transparent;
	border: 0;
	border-radius: 0;
	padding: 0;
}
.tiles--navy .tile h3 { color: #fff; }
.tiles--navy .tile p {
	color: color-mix(in srgb, #fff 82%, transparent);
	max-width: none;
	margin-bottom: 0;
}
/* A hairline between them on a wide screen, nothing on a narrow one. */
@media (min-width: 52rem) {
	.tiles--navy .tile + .tile {
		padding-left: clamp(var(--sp-5), 3vw, var(--sp-7));
		border-left: 1px solid color-mix(in srgb, #fff 18%, transparent);
	}
	.tiles--navy { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* -- The home page only: the header lies over the hero ------------------
   Taken out of the flow so the pink starts at the very top of the window
   and the words sit lower, nearer the middle of the band. The logo and the
   menu keep their own colours, which read against the pink.
   ---------------------------------------------------------------------- */
body.home .site-header,
body.home .site-header--sticky {
	position: absolute;
	inset-inline: 0;
	top: 0;
	background: transparent;
	backdrop-filter: none;
	box-shadow: none;
}
body.home .hero .hero__text,
body.home .hero .hero__inner {
	padding-block: clamp(9rem, 11vw, 14rem) clamp(2.5rem, 3.5vw, 4rem);
}
@media (max-width: 1100px) {
	body.home .hero .hero__text,
	body.home .hero .hero__inner {
		padding-block: clamp(7.5rem, 16vw, 10rem) clamp(2rem, 3vw, 3rem);
	}
}

/* The one heading the brief asks for in a lighter blue. The teal is the
   lightest blue in the palette that still reads on a pale background. */
.hero__accent { color: var(--c-teal); }

/* ==========================================================================
   9. TWO-COLUMN BLOCKS ON THE ABOUT PAGE
   ========================================================================== */

/* -- Two columns that begin on the same line ---------------------------- */
.duo {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(var(--sp-5), 3vw, var(--sp-8));
	align-items: stretch;
	max-width: 68rem;
	margin-inline: auto;
}
.duo--start { align-items: start; }
.duo__col {
	display: flex;
	flex-direction: column;
	gap: clamp(var(--sp-4), 2.5vw, var(--sp-6));
	min-width: 0;
}
.duo__col--text { text-align: left; }
.duo__col--text > :first-child { margin-top: 0; }
.duo__col--text p { max-width: none; }
.duo__words > :last-child { margin-bottom: 0; }
.duo__words p { max-width: none; }

.duo__media { margin: 0; }
.duo__media img {
	display: block;
	width: 100%;
	object-fit: cover;
	border-radius: 0;               /* square corners everywhere, as asked */
	box-shadow: var(--shadow);
}
.duo__media--portrait img { aspect-ratio: 3 / 4; }
/* A quarter larger than the two thirds it was, in the same place. */
.duo__media--portrait {
	max-width: 82%;
	margin-inline-end: auto;
}
@media (max-width: 52rem) {
	.duo__media--portrait { max-width: 100%; }
}
.duo__media--landscape img { aspect-ratio: 4 / 3; }

/* The button belongs under the list of event kinds, not under the words
   in the other column. */
.feature-links__cta {
	margin-top: clamp(var(--sp-4), 2vw, var(--sp-6));
	text-align: center;
}

/* The list of event kinds, one under the other beside the words. */
.link-list--single {
	grid-template-columns: 1fr;
	margin-top: 0;
}

@media (max-width: 52rem) {
	.duo { grid-template-columns: 1fr; }

	/* Stacked, the two columns put their pictures back to back and then ran
	   all the words together underneath. Each column becomes a flex stack
	   so the second picture can drop below its own words, which breaks the
	   long run of text in two. */
	.duo__col { display: flex; flex-direction: column; }
	.duo__col > .duo__media--landscape { order: 1; }
}

/* -- The craft of decorating: panel and pictures, all touching ---------- */
.art-stack {
	display: grid;
	/* minmax(0,…) or the long heading would push its own column wide and
	   squeeze the picture beside it down to nothing. */
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 0;                      /* the three parts touch */
	align-content: start;
	overflow: hidden;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
}
.art-stack__panel {
	display: flex;
	flex-direction: column;
	justify-content: center;
	background: var(--c-orange);
	color: #fff;
	padding: clamp(var(--sp-5), 3vw, var(--sp-7));
}
/* Smaller here than in a band of its own: the panel is half a column wide. */
.art-stack__panel .pair__title {
	font-size: clamp(1.1rem, 0.75rem + 1.1vw, 1.75rem);
	overflow-wrap: anywhere;
}
/* The second picture runs under both cells above it. */
.art-stack__shot:last-child { grid-column: 1 / -1; }
@media (max-width: 40rem) {
	.art-stack { grid-template-columns: 1fr; }
}
.art-stack__panel .pair__title { margin-bottom: 0; }
.art-stack__panel p {
	color: color-mix(in srgb, #fff 88%, transparent);
	max-width: none;
	margin: var(--sp-4) 0 0;
}
.art-stack__shot { margin: 0; }
.art-stack__shot { display: block; }
.art-stack__shot img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 0;          /* no curve, as asked */
}
.art-stack__shot:last-child img { aspect-ratio: 16 / 9; }

/* -- Icon beside its words, not above them ------------------------------ */
.icon-rows {
	display: grid;
	gap: clamp(var(--sp-5), 3vw, var(--sp-6));
	margin: clamp(var(--sp-5), 3vw, var(--sp-6)) 0 0;
	padding: 0;
	list-style: none;
}
.icon-row {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: clamp(var(--sp-4), 2vw, var(--sp-5));
	align-items: start;
	margin: 0;
	text-align: left;
}
.icon-row__icon {
	display: block;
	width: clamp(3.25rem, 5vw, 4.5rem);
}
.icon-row__icon img { display: block; width: 100%; height: auto; }
.icon-row__title {
	font-size: var(--fs-h4);
	margin-bottom: var(--sp-2);
}
.icon-row__body > :last-child { margin-bottom: 0; }
.icon-row__body p { max-width: none; }

/* ==========================================================================
   10. THE HOME PAGE
   ========================================================================== */

/* -- The band at the top ------------------------------------------------
   No wave here, by design: this is the one page that does without it. The
   header lies over this band, so the top padding has to clear it.
   ---------------------------------------------------------------------- */
.home-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-block: clamp(8.5rem, 11vw, 13rem) clamp(3rem, 5vw, 5rem);
	background: var(--bg-section);
	text-align: center;
}
.home-hero--backdrop::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: var(--home-backdrop);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: .5;                    /* half strength, like every other backdrop */
}

/* The short upright rule under the lead, running down to the end of the band.
   Centred on the page, not on the text. */
.home-hero::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	translate: -50% 0;
	z-index: 1;
	width: 2px;
	height: clamp(2rem, 4vw, 3.5rem);
	background: var(--c-navy);
}

/* The picture in its light frame, with the name across it. */
.home-hero__frame {
	position: relative;
	isolation: isolate;
	max-width: 62rem;
	margin-inline: auto;
	padding: clamp(0.4rem, 0.8vw, 0.75rem);
	background: color-mix(in srgb, #fff 55%, transparent);
	border: 1px solid color-mix(in srgb, #fff 80%, transparent);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
}
.home-hero__title {
	position: absolute;
	inset-inline: clamp(var(--sp-4), 4vw, var(--sp-8));
	top: 50%;
	translate: 0 -50%;
	z-index: 2;
	margin: 0;
	color: var(--c-navy);
	font-size: clamp(1.9rem, 1rem + 4vw, 4rem);
	line-height: var(--lh-tight);
	/* Blue letters inside a white outline. paint-order keeps the stroke behind
	   the fill, so the letterforms stay crisp instead of being eaten into. The
	   soft white glow is the fallback where paint-order is missing. */
	paint-order: stroke fill;
	-webkit-text-stroke: 0.055em var(--c-white);
	text-shadow: 0 1px 10px color-mix(in srgb, #fff 75%, transparent);
}
.home-hero__lead {
	margin-top: clamp(var(--sp-4), 2vw, var(--sp-5));
}
.home-hero__lead p {
	max-width: none;
	margin: 0;
	font-size: var(--fs-lg);
	color: var(--c-ink);
}

/* -- The slider: the pictures cross-fade, nothing slides sideways ------- */
.home-slider {
	position: relative;
	display: grid;
	border-radius: calc(var(--radius-lg) - 0.25rem);
	overflow: hidden;
}
.home-slider__slide {
	grid-area: 1 / 1;
	opacity: 0;
	transition: opacity 900ms var(--ease);
}
.home-slider__slide.is-on { opacity: 1; }
.home-slider__slide img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}
@media (prefers-reduced-motion: reduce) {
	.home-slider__slide { transition: none; }
}

/* -- The picture with the line of colour over its corner ---------------- */
.home-shot {
	position: relative;
	margin: 0;
}
.home-shot img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
}
.home-shot__tag {
	position: absolute;
	left: clamp(var(--sp-4), 3vw, var(--sp-6));
	bottom: calc(clamp(var(--sp-5), 3vw, var(--sp-7)) * -1);
	max-width: min(18rem, 78%);
	margin: 0;
	padding: clamp(var(--sp-4), 2vw, var(--sp-5));
	background: var(--c-magenta);
	color: #fff;
	font-family: var(--font-display);
	font-size: var(--fs-h4);
	line-height: var(--lh-tight);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow);
}
.home-shot__tag--loose { position: static; display: inline-block; }

/* -- "What we do": close up the air, one long list, picture the full height
   ---------------------------------------------------------------------- */
.home-do__duo { align-items: stretch; }          /* not --start: the picture matches the words */

/* The words sat far apart because the flex gap and the element margins were
   both doing the same job. The margins go; the gap alone sets the rhythm. */
.home-do__duo .duo__col--text { gap: clamp(var(--sp-3), 1.2vw, var(--sp-4)); }
.home-do__duo .duo__col--text > * { margin-block: 0; }
.home-do__duo .numbered { margin-top: clamp(var(--sp-3), 1.5vw, var(--sp-5)); }
.home-do__duo .numbered__row { padding-block: clamp(var(--sp-3), 1.4vw, var(--sp-4)); }

/* The button at the foot of the block, centred in it. Two class names, not
   one: the margin reset above is also two, and the later of two equals wins.
   One class name here would lose the "auto" and the button would not drop. */
.home-do__duo .home-do__cta {
	margin-top: auto;
	padding-top: clamp(var(--sp-4), 2vw, var(--sp-6));
	text-align: center;
}

/* The picture fills the whole height of the block, square-cornered.

   The image is positioned absolutely so it adds nothing to the height. Left
   in the flow it decided the height itself -- 1500px, measured, with the
   button stranded 640px below the list -- because "height: 100%" had nothing
   definite to resolve against. Out of the flow, the words set the height and
   the picture simply fills it. */
.home-shot--tall {
	position: relative;
	flex: 1 1 auto;
	min-height: 0;
	/* Not "hidden": the line of colour hangs below the picture on purpose,
	   and clipping here cut its last line off. The image is inset to the
	   edges anyway, so there is nothing of it to clip. */
	overflow: visible;
}
.home-shot--tall img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	aspect-ratio: auto;
	object-fit: cover;
	border-radius: 0;
}

/* The line of colour: narrower, centred in itself, flush with the right-hand
   edge of the picture, and rising into place from below. */
.home-shot__tag--rise {
	left: auto;
	right: 0;
	max-width: min(12rem, 70%);     /* measured: four lines at 1600px */
	text-align: center;
	border-radius: 0;               /* square, like the picture behind it */
}
.home-shot__tag--rise.u-reveal { transform: translateY(42px); }
.home-shot__tag--rise.u-reveal.is-visible { transform: none; }

@media (max-width: 52rem) {
	.home-shot--tall img {
		position: static;
		aspect-ratio: 3 / 4;
		height: auto;
	}
	.home-shot__tag--rise { max-width: none; text-align: left; }
}

/* On a narrow screen it stops overlapping and simply sits underneath. */
@media (max-width: 52rem) {
	.home-shot__tag {
		position: static;
		max-width: none;
		margin-top: var(--sp-4);
	}
}

/* -- The team ------------------------------------------------------------
   Two thirds and one third. The words sit at the top of the wide column
   with a picture and the navy panel side by side underneath; the tall
   picture fills the narrow column from top to bottom. The pictures and the
   panel touch, square-cornered; only the words keep a little air.

   The two pictures are positioned absolutely inside their figures so they
   add nothing to the height. That leaves the heights decided in one
   direction only -- the navy panel sets the height of the lower block, and
   the wide column sets the height of the whole thing -- instead of each
   picture and its box waiting on the other.
   ---------------------------------------------------------------------- */
.home-team {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	gap: 0;
	align-items: stretch;
	/* Out of the container and across 90% of the screen. The box is 90vw
	   wide and each side margin is "half the container minus half of that",
	   which lands its centre back on the centre of the page. */
	width: 100vw;
	max-width: none;
	margin: clamp(var(--sp-6), 3vw, var(--sp-8)) calc(50% - 50vw) 0;
}
.home-team__main {
	display: grid;
	grid-template-rows: auto 1fr;
	min-width: 0;
}

/* The words, hard against the left edge. */
.home-team__head {
	padding-right: clamp(var(--sp-5), 3vw, var(--sp-8));
	padding-bottom: clamp(var(--sp-5), 2.5vw, var(--sp-7));
	text-align: left;
}
.home-team__head > :first-child { margin-top: 0; }
.home-team__head > :last-child { margin-bottom: 0; }
.home-team__head p { max-width: none; }

/* Homepage: the pink goes on the counters band, which starts straight under
   the team block. The team block itself has no pink any more. */
body.home .section:has(> .container > .counters) {
	background: var(--bg-section);
}

/* On a wide screen the vertical picture grows 80px upward only. The block
   gets 80px of room at its top, and the block's own top margin is reduced
   by the same amount, so the words stay exactly where they were. */
@media (min-width: 60.0625rem) {
	.home-team {
		padding-top: 80px;
		margin-top: calc(clamp(var(--sp-6), 3vw, var(--sp-8)) - 80px);
	}
	.home-team__aside {
		margin-top: -80px;
	}
}

/* On a wide screen the block runs edge to edge, so the words step in to
   the same left line as the rest of the page, the container's. */
@media (min-width: 60.0625rem) {
	.home-team__head {
		padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
	}
}

/* Two equal halves, touching: the picture, then the navy panel. */
.home-team__split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 0;
	align-items: stretch;
	min-height: 18rem;
}
.home-team__shot,
.home-team__aside {
	position: relative;
	margin: 0;
	overflow: hidden;
}
.home-team__shot img,
.home-team__aside img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
}
.home-team__panel { display: flex; min-width: 0; }
.home-team__panel .tiles--navy {
	flex: 1;
	grid-template-columns: 1fr;
	border-radius: 0;
}
.home-team__panel .tiles--navy .tile + .tile {
	padding-left: 0;
	padding-top: clamp(var(--sp-4), 2vw, var(--sp-5));
	border-left: 0;
	border-top: 1px solid color-mix(in srgb, #fff 18%, transparent);
}

/* One column on a narrow screen, and the pictures go back to flowing. */
@media (max-width: 60rem) {
	.home-team,
	.home-team__split { grid-template-columns: minmax(0, 1fr); }
	.home-team { width: auto; margin-inline: 0; }
	.home-team__split { min-height: 0; }
	.home-team__shot,
	.home-team__aside { overflow: visible; }
	.home-team__shot img,
	.home-team__aside img {
		position: static;
		height: auto;
		/* Upright, not letterbox: stacked in one column the 4/3 crop left
		   these looking like strips rather than pictures. */
		aspect-ratio: 4 / 5;
	}
}

/* -- Appointments and how to reach us, side by side --------------------- */
.home-reach { position: relative; isolation: isolate; overflow: hidden; }
.home-reach--backdrop::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: var(--reach-bg);
	background-size: cover;
	background-position: center right;
	background-repeat: no-repeat;
	opacity: 0.5;
}
.art-stack__panel--coral { background: var(--c-coral); }

/* The drawn glyphs beside the three ways to reach us. */
.icon-row__icon--glyph {
	display: grid;
	place-items: center;
	width: clamp(2.75rem, 4vw, 3.5rem);
	color: var(--c-red);
}
.icon-row__icon--glyph svg,
.icon-row__icon--glyph .icon-img {
	width: 100%;
	height: auto;
	object-fit: contain;
}
.icon-row__line {
	margin: 0 0 var(--sp-1);
	max-width: none;
}
.icon-row__line:first-of-type { font-weight: 600; color: var(--heading); }
.icon-row__line:last-child { margin-bottom: 0; }

/* -- The block of pictures stands taller than the words beside it -------
   Wider column, square corners all round, and the text centred against it
   so there is air above and below.
   ---------------------------------------------------------------------- */
.duo:has(.art-stack) {
	grid-template-columns: 1.25fr 1fr;
	align-items: center;
	/* Out of the container and across 90% of the screen, the same breakout
	   the team block uses, so the two read as one structure. */
	width: 90vw;
	max-width: none;
	margin-inline: calc(50% - 45vw);
}
.art-stack { border-radius: 0; }
/* Taller than the words beside it, so there is air above and below them.
   Measured at 1600px: the block 708, the text 618, 45 either side. */
.art-stack__shot img { aspect-ratio: 1 / 1; }
.art-stack__shot:last-child img { aspect-ratio: 4 / 3; }
.art-stack__panel {
	padding: clamp(var(--sp-4), 2vw, var(--sp-6));
}
.art-stack__panel .pair__title {
	font-size: clamp(1.1rem, 0.7rem + 1vw, 1.5rem);
	/* Only break a word when it genuinely cannot fit, never mid-word by
	   default: ΔΙΑΚΟΣΜΗΣΗΣ was being cut in half. */
	overflow-wrap: break-word;
}
@media (max-width: 52rem) {
	.duo:has(.art-stack) {
		grid-template-columns: 1fr;
		width: auto;
		margin-inline: 0;
	}

	/* On a narrow screen the block has the width to itself, so it can be a
	   proper box rather than a thin strip: the coloured panel gets room to
	   breathe and the pictures stand upright. These sit after the desktop
	   rules on purpose -- a media query adds no weight of its own, so an
	   earlier placement would simply lose to them. */
	.art-stack__panel {
		display: flex;
		flex-direction: column;
		justify-content: center;
		min-height: 14rem;
		padding: clamp(var(--sp-6), 7vw, var(--sp-8));
	}
	.art-stack__shot img,
	.art-stack__shot:last-child img { aspect-ratio: 4 / 5; }
}

/* -- "How to find us": close the words, open the pictures ----------------
   Nothing leaves the container. The space comes out of the right-hand
   column instead: the words sit closer together in a narrower column, and
   everything that is freed goes to the coral box and the two pictures.
   Measured at 1600px: the picture block goes 613 -> 766, each top tile
   307 -> 383, and the column of words 491 -> 403.
   ---------------------------------------------------------------------- */
/* Half and half, with real air between them. At 90% of the screen the
   pictures at 1.9fr swallowed the band; the words now get equal room and
   the two sides stand apart instead of touching. */
.home-reach .duo:has(.art-stack) {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(var(--sp-6), 4vw, var(--sp-8));
}

/* The words: margins off, one small gap doing the spacing. */
.home-reach .duo__col--text { gap: clamp(var(--sp-2), 1vw, var(--sp-4)); }
.home-reach .duo__col--text > * { margin-block: 0; }
.home-reach .icon-rows {
	gap: clamp(var(--sp-3), 1.6vw, var(--sp-5));
	margin-top: clamp(var(--sp-3), 1.5vw, var(--sp-5));
}
.home-reach .icon-row__title { margin-bottom: var(--sp-1); }
.home-reach .home-reach__cta { margin-top: clamp(var(--sp-4), 2vw, var(--sp-5)); }

@media (max-width: 52rem) {
	.home-reach .duo:has(.art-stack) { grid-template-columns: 1fr; }
}


/* ==========================================================================
   11. ROUND 8
   Kept together at the end of the file on purpose. Everything here is a
   correction to a rule written earlier, so it has to come after the rule it
   corrects: a media query carries no weight of its own, and several of
   these would otherwise lose to a same-specificity rule further up.
   ========================================================================== */

/* -- The coloured panel's title, one word to a line ----------------------
   "Ραντεβού Παραγγελίες Συνεργασίες" reads as three separate things, so it
   is set narrow enough that each word takes its own line rather than
   wrapping wherever the box happens to end. */
.art-stack__panel .pair__title {
	/* A space as wide as the screen cannot sit inside a line, so every one
	   of them becomes a line break: "Ραντεβού", "Παραγγελίες" and
	   "Συνεργασίες" each take a line of their own whatever the width or the
	   type size. Setting a character width instead only works for one
	   combination of the two, which is why the phone came out at two. */
	word-spacing: 100vw;
}

/* -- The picture of the sign ---------------------------------------------
   Anchored to its top edge. Cropped from the centre, the phrase painted on
   the wall behind the balloons lost its first line. */
.home-shot--tall img { object-position: top; }

/* -- The service pages' opening words ------------------------------------
   A ribbon of text running far down the screen. Widening .hero__lead alone
   did nothing: its parent was the narrower of the two, so the paragraph
   never reached the width it was given. All of them have to open up. */
.hero--text-only .hero__inner,
.hero--text-only.hero--stacked .hero__text { max-width: 68rem; }
.hero__lead { max-width: 82ch; }
/* Three things were holding this paragraph in: its own block, the block
   around that, and a width on the paragraph itself. Widening one at a time
   changed nothing, because the narrowest of the three always won. */
.hero--text-only .hero__lead,
.hero--text-only .hero__lead p { max-width: none; }

/* -- A hero with no picture under it -------------------------------------
   A stacked hero hangs its picture half over the band below, so that band
   reserves half a picture's height before its own content starts. With no
   picture there is nothing to hang, and the reserved room -- 441px,
   measured -- is simply a hole in the page. */
.hero--text-only.hero--stacked + .section,
.hero--text-only.hero--stacked + .section--tight {
	padding-block-start: clamp(var(--sp-6), 4vw, var(--sp-8));
}
.hero--text-only .hero__inner,
.hero--text-only.hero--stacked .hero__text {
	padding-block: clamp(4rem, 5vw, 6rem) clamp(2rem, 3vw, 3.5rem);
}

/* -- Category and service pages ------------------------------------------
   The pair of text-and-picture rows: the words keep the room they gained
   this morning and the picture gives some back, three parts to two instead
   of half and half. The pair also sits further in from the edges. */
.split {
	max-width: 58rem;
	grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
}
/* Picture first in the source order, so the ratio has to flip with it. */
.split--media-first {
	grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
}

/* The blocks on a service page sit closer together too. */
.section--tight {
	padding-block: clamp(0.75rem, 0.4rem + 1.2vw, 1.5rem);
}


/* -- On a phone ----------------------------------------------------------
   ---------------------------------------------------------------------- */
@media (max-width: 52rem) {

	/* Everything centred. Left here, right there and centred somewhere else
	   read as an accident rather than a choice once the page is a single
	   narrow column, so the whole site lines up on its middle. The helpers
	   that push a block to one side are overruled along with it. */
	.container,
	.measure,
	.section-head,
	.duo__col,
	.duo__col--text,
	.split__text,
	.art-stack__panel,
	.icon-row__body,
	.hero__text,
	.hero__lead,
	.home-team__head,
	.align-start,
	.align-end { text-align: center; }

	.align-start > *,
	.align-start p,
	.align-end > *,
	.align-end p,
	.duo__col--text > *,
	.split__text > * { margin-inline: auto; }

	/* A row of icon and words becomes the icon above the words. */
	.icon-row {
		grid-template-columns: 1fr;
		justify-items: center;
	}

	/* The numbered list keeps its number beside the words -- centring a
	   column of "01. 02. 03." would break the one thing it is for -- but
	   the list as a whole sits in the middle of the page. */
	.numbered--single { justify-items: center; }
	.numbered__row { text-align: left; }

	/* The four figures two by two, instead of a long thin column with a
	   screenful of air between each one. */
	.counters {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: var(--sp-5) var(--sp-4);
	}

	/* The coloured panel comes up to meet them, and its title is big
	   enough to carry the block on its own. */
	.home-reach { padding-top: clamp(var(--sp-5), 4vw, var(--sp-7)); }
	.art-stack__panel .pair__title {
		font-size: clamp(1.4rem, 0.9rem + 3vw, 2rem);
	}

	/* One column again. The ratio set above is a fixed two-column grid, so
	   without this it would hold both columns on a phone. */
	.split { grid-template-columns: minmax(0, 1fr); }

	/* Picture-first rows put their words first here, so every block on the
	   page reads the same way down: words, then picture. */
	.split--media-first { display: flex; flex-direction: column; }
	.split--media-first > .split__media { order: 1; }

	/* The contact panel repeats what the footer says two inches below it. */
	.tail__contact { display: none; }

	/* Tighter air between blocks: the page was mostly gaps. */
	.section { padding-block: clamp(var(--sp-5), 6vw, var(--sp-7)); }
	.section + .section { padding-top: clamp(var(--sp-4), 5vw, var(--sp-6)); }

	/* Except here, where the band that follows needs to be let go of. */
	.section.fw { padding-top: clamp(var(--sp-7), 10vw, var(--sp-8)); }
}
