/*
 * Party World — the whole stylesheet.
 *
 * The design follows the Dina reference: Poppins set in heavy uppercase for
 * every heading, Lora for reading, ink #252525 on white, a tan accent, and the
 * signature double rule under each display heading (a hairline with a 5px bar
 * below it). Photographs go full width and carry the dark parts of the page.
 *
 * Organised top to bottom the way a page is built: tokens, base, layout,
 * components, then the pages that use them, then the media queries.
 */

/* -------------------------------------------------------------------------
 * Tokens
 * ---------------------------------------------------------------------- */

:root {
	/* The reference does not use one fixed content width: it steps, and side
	 * padding stays at 15px throughout. Measured on the live site — 1130px of
	 * content at both 1280 and 1440, 1330 at 1600, 1580 at 1920. A flat
	 * max-width is too wide on a laptop and far too narrow on a large screen. */
	--pw-shell: 100%;
	--pw-gutter: 15px;

	--pw-ink: #252525;
	--pw-ink-soft: #4a4a4a;
	--pw-paper: #fff;
	--pw-dark: #151515;
	--pw-dark-soft: #1e1e1e;
	/* The reference's tan, used exactly as it uses it — including white labels
	 * on a tan button, which measures 2.9:1. The deeper tone is kept for the
	 * keyboard focus ring only, where the reference has no styling at all and
	 * a visible indicator matters more than matching it. */
	--pw-gold: #bc8d4b;
	--pw-gold-deep: #8a6631;
	--pw-line: #e6e6e6;
	--pw-line-dark: rgba(255, 255, 255, 0.22);

	/* The reference design's rhythm, which is also what the client asked for
	 * when they wrote "keep enough gap between each module": 98px between
	 * bands, 108px of air inside a full-bleed one. */
	--pw-section: 98px;
	--pw-section-tight: 72px;
	--pw-band-pad: 108px;
	/* Measured, not guessed: logo row plus navigation row plus its padding. */
	--pw-header-h: 145px;

	--pw-display: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
	--pw-body: 'Lora', Georgia, 'Times New Roman', serif;

	--pw-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* -------------------------------------------------------------------------
 * Base
 * ---------------------------------------------------------------------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	/* The header is fixed, so anything scrolled to has to stop below it. */
	scroll-padding-top: calc(var(--pw-header-h) + 12px);
}

body {
	margin: 0;
	background: var(--pw-paper);
	color: var(--pw-ink);
	font-family: var(--pw-body);
	font-size: 1rem;
	line-height: 1.7;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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

a {
	color: inherit;
	text-decoration: none;
	transition: all 0.3s ease-in-out;
}

a:hover,
a:focus-visible {
	color: var(--pw-gold);
}

p {
	margin: 0 0 1.5rem;
}

p:last-child {
	margin-bottom: 0;
}

ul,
ol {
	margin: 0 0 1.5rem;
	padding-left: 1.2em;
}

address {
	font-style: normal;
}

:focus-visible {
	outline: 2px solid var(--pw-gold-deep);
	outline-offset: 3px;
}

.pw-header :focus-visible,
.pw-hero :focus-visible,
.pw-banner :focus-visible,
.pw-band :focus-visible,
.pw-mobile-nav :focus-visible {
	outline-color: #fff;
}

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

.pw-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 200;
	padding: 12px 20px;
	background: var(--pw-ink);
	color: #fff;
	font-family: var(--pw-display);
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.pw-skip:focus {
	left: 12px;
	top: 12px;
	color: #fff;
}

/* -------------------------------------------------------------------------
 * Typography
 * ---------------------------------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	font-family: var(--pw-display);
	font-weight: 700;
	line-height: 1.4;
	color: inherit;
}

.pw-h1,
.pw-h2 {
	text-transform: uppercase;
}

/* The default h1 — inner-page banners, editorial pages, the 404. 64px in the
 * reference, with no extra tracking. */
.pw-h1 {
	font-size: clamp(2.25rem, 5vw, 4rem);
	letter-spacing: normal;
}

/* Only the home page's opening screen goes to the full display size. */
.pw-h1--hero {
	font-size: clamp(2.5rem, 7vw, 6rem);
	letter-spacing: 2px;
}

.pw-h2 {
	/* 56px on the desktop design, 42px below 767px. */
	font-size: clamp(2.375rem, 4vw, 3.5rem);
	line-height: 1.2;
	letter-spacing: 1px;
}

/* The signature: a hairline directly under the words and a heavy bar below
 * it. Both belong to the heading box, so they shrink with the text. */
.pw-h2 {
	position: relative;
	display: inline-block;
	margin-bottom: 56px;
}

.pw-h2::before,
.pw-h2::after {
	content: '';
	position: absolute;
	left: 0;
	width: 100%;
	background: currentColor;
}

.pw-h2::before {
	bottom: 0;
	height: 1px;
}

.pw-h2::after {
	bottom: -7px;
	height: 5px;
}

/* Measured off the reference: 20px under the eyebrow, 56px under the heading
 * (its declared 36px plus the page builder's widget rhythm). */
.pw-eyebrow {
	margin: 0 0 20px;
	font-family: var(--pw-display);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: 2px;
	text-transform: uppercase;
}

.pw-prose {
	max-width: 62ch;
	color: var(--pw-ink);
}

/* The two lead paragraphs — the welcome and the drinks sections — are set
 * larger and italic, as in the reference design. */
.pw-intro .pw-prose,
.pw-split--reverse .pw-prose {
	max-width: 46ch;
	font-size: 1.5rem;
	font-style: italic;
	line-height: 1.7;
}

.pw-prose--centred {
	margin-left: auto;
	margin-right: auto;
}

.pw-prose--band {
	max-width: 70ch;
	margin-left: auto;
	margin-right: auto;
	color: rgba(255, 255, 255, 0.86);
}

.pw-prose--small,
.pw-prose--note {
	font-size: 0.9375rem;
}

.pw-prose--note {
	max-width: 70ch;
	margin: 2rem auto 0;
	text-align: center;
	color: var(--pw-ink-soft);
}

/* -------------------------------------------------------------------------
 * Layout
 * ---------------------------------------------------------------------- */

.pw-shell {
	width: 100%;
	max-width: var(--pw-shell);
	margin: 0 auto;
	padding: 0 var(--pw-gutter);
}

@media (min-width: 1024px) {
	:root {
		--pw-shell: 960px;
	}
}

@media (min-width: 1200px) {
	:root {
		--pw-shell: 1150px;
	}
}

@media (min-width: 1500px) {
	:root {
		--pw-shell: 1350px;
	}
}

@media (min-width: 1920px) {
	:root {
		--pw-shell: 1600px;
	}
}

.pw-main {
	display: block;
}

.pw-section {
	padding: var(--pw-section) 0;
}

.pw-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 2rem;
}

.pw-actions--pair {
	justify-content: center;
}

/* -------------------------------------------------------------------------
 * Buttons
 * ---------------------------------------------------------------------- */

.pw-btn {
	display: inline-block;
	padding: 10px 24px;
	border: 5px solid var(--pw-ink);
	background: none;
	color: var(--pw-ink);
	font-family: var(--pw-display);
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.7;
	letter-spacing: 1px;
	text-transform: uppercase;
	cursor: pointer;
	transition: all 0.3s ease-in-out;
}

/* The accent only ever appears on a hover: the navigation's current item and
 * every button that is being pointed at. */
.pw-btn:hover,
.pw-btn:focus-visible {
	background: var(--pw-gold);
	border-color: var(--pw-gold);
	color: #fff;
}

.pw-btn--light {
	border-color: #fff;
	color: #fff;
}

.pw-btn--light:hover,
.pw-btn--light:focus-visible {
	background: var(--pw-gold);
	border-color: var(--pw-gold);
	color: #fff;
}

.pw-btn--ghost {
	border-width: 1px;
	padding: 14px 24px;
}

/* -------------------------------------------------------------------------
 * Header
 *
 * The reference lays this out as three flex blocks across the full viewport —
 * address, a centred column holding the logo above the navigation, and the
 * reservations line — and on scroll it drops the two outer blocks and the logo
 * and leaves the navigation centred on a dark plate. Every number below was
 * measured off the live reference at 1440px.
 * ---------------------------------------------------------------------- */

.pw-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 100;
	/* 16 / 24 puts the bar at the reference's 113px at rest and 70px stuck. */
	padding: 16px 0 24px;
	color: #fff;
	transition: background-color 0.3s var(--pw-ease);
}

.pw-header__inner {
	position: relative;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	grid-template-areas: 'start center end';
	align-items: start;
}

.pw-header__aside {
	margin: 0;
	/* The header's two info blocks are the one place the reference design uses
	 * the serif at small size. */
	font-family: var(--pw-body);
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.7;
	letter-spacing: 1px;
}

.pw-header__aside--start {
	grid-area: start;
	padding-left: 15px;
}

.pw-header__aside--end {
	grid-area: end;
	padding-right: 15px;
	text-align: right;
}

.pw-header__aside-label {
	display: block;
	opacity: 0.75;
}

.pw-header__center {
	grid-area: center;
	text-align: center;
}

/* The logo is an inline-block inside this box; without killing the line box the
 * inline descender space pushes the navigation 8px lower than the reference. */
.pw-header__brand {
	line-height: 0;
}

.pw-logo {
	display: inline-block;
	line-height: 0;
}

.pw-logo__img {
	width: auto;
	height: 30px;
	transition: height 0.3s var(--pw-ease);
}

.pw-logo__text {
	font-family: var(--pw-display);
	font-size: 1.75rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1;
}

.pw-nav {
	margin-top: 21px;
}

.pw-nav__list {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0;          /* swallow the whitespace between inline-block items */
	text-align: center;
}

.pw-nav__list li {
	display: inline-block;
	font-size: 0.8125rem;
	line-height: 1.7;
}

.pw-nav__list li + li {
	margin-left: 28px;
}

.pw-nav__list a {
	display: inline;
	padding-bottom: 12px;
	font-family: var(--pw-display);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
}

.pw-nav__list .current-menu-item > a,
.pw-nav__list .current_page_item > a {
	color: var(--pw-gold);
}

/* Scrolled: the plate comes in, the two info blocks and the logo go, and the
 * navigation stays exactly where it was — centred. */
.pw-header.is-stuck {
	background: var(--pw-ink);
}

.pw-header.is-stuck .pw-header__aside,
.pw-header.is-stuck .pw-header__brand {
	display: none;
}

.pw-header.is-stuck .pw-nav {
	margin-top: 8px;
}

/* Logged in, WordPress puts its own fixed bar at the top of the window; the
 * site header has to start below it. */
.admin-bar .pw-header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	.admin-bar .pw-header {
		top: 46px;
	}
}

/* A page with no photograph behind the header — an editorial page, search, 404
 * — has to make room for it instead. */
body:not(.page-home):not(.page-menu):not(.page-reservation):not(.page-gallery):not(.page-contact) .pw-header {
	background: var(--pw-ink);
}

body:not(.page-home):not(.page-menu):not(.page-reservation):not(.page-gallery):not(.page-contact) .pw-main {
	padding-top: var(--pw-header-h);
}

.pw-burger {
	display: none;
	grid-area: start;
	justify-self: start;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
}

.pw-burger__box {
	position: relative;
	display: block;
	width: 24px;
	height: 2px;
	margin: 0 auto;
	background: currentColor;
}

.pw-burger__box span,
.pw-burger__box::before,
.pw-burger__box::after {
	content: '';
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	background: currentColor;
	transition: transform 0.25s var(--pw-ease), opacity 0.2s linear;
}

.pw-burger__box::before {
	top: -7px;
}

.pw-burger__box::after {
	top: 7px;
}

.pw-burger[aria-expanded='true'] .pw-burger__box {
	background: none;
}

.pw-burger[aria-expanded='true'] .pw-burger__box::before {
	transform: translateY(7px) rotate(45deg);
}

.pw-burger[aria-expanded='true'] .pw-burger__box::after {
	transform: translateY(-7px) rotate(-45deg);
}

/* The reference's mobile navigation is a 350px panel that slides in from the
 * right, not a dropdown — same width, easing and duration here. */
.pw-mobile-nav {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 1050;
	width: 350px;
	max-width: 100%;
	height: 100%;
	padding: 100px 30px 40px;
	background: var(--pw-ink);
	color: #fff;
	overflow-y: auto;
	overscroll-behavior: contain;
	transform: translateX(400px);
	opacity: 0;
	visibility: hidden;
	transition: transform 0.7s cubic-bezier(0.25, 1, 0.35, 1), opacity 0.7s cubic-bezier(0.25, 1, 0.35, 1), visibility 0s linear 0.7s;
}

.pw-mobile-nav.is-open {
	transform: translateX(0);
	opacity: 1;
	visibility: visible;
	transition-delay: 0s;
}

/* The burger stays on top of the panel and becomes its close button. */
body.has-menu-open {
	overflow: hidden;
}

body.has-menu-open .pw-burger {
	position: relative;
	z-index: 1060;
}

.pw-mobile-nav__list {
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
}

.pw-mobile-nav__list a {
	display: block;
	padding: 4px 0;
	font-family: var(--pw-display);
	font-size: 1.75rem;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	line-height: 1.5;
}

.pw-mobile-nav__phone {
	display: inline-block;
	margin-bottom: 20px;
	font-family: var(--pw-display);
	font-size: 1.125rem;
	font-weight: 700;
	letter-spacing: 0.06em;
}

/* -------------------------------------------------------------------------
 * Home — the slideshow
 * ---------------------------------------------------------------------- */

.pw-hero {
	position: relative;
	min-height: 100svh;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: var(--pw-dark);
	color: #fff;
	text-align: center;
}

.pw-hero__slides {
	position: absolute;
	inset: 0;
}

.pw-hero__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1s var(--pw-ease);
}

.pw-hero__slide.is-active {
	opacity: 1;
}

.pw-hero__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* The client's red crop frames sit a little below centre on the portrait
	 * shots, so the visible band follows them down. */
	object-position: 50% 55%;
}

.pw-hero__slides::after {
	content: '';
	position: absolute;
	inset: 0;
	/* The reference lays a flat 30% black over the slide; ours goes a touch
	 * further at the very top and bottom, where the navigation and the button
	 * have to stay legible over neon. */
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.42) 35%, rgba(0, 0, 0, 0.42) 65%, rgba(0, 0, 0, 0.5) 100%);
}

.pw-hero__inner {
	position: relative;
	z-index: 2;
	width: 80%;
	max-width: 1150px;
	padding: 180px 0 120px;
}

/* Three of the four slides are dark rooms; the fourth is a daylight-bright
 * table of food and drinks, over which white text drops to about 2:1. Rather
 * than dim every slide to suit the worst one, the words carry their own pool of
 * shade, which fades out well before the edges of the picture. */
.pw-hero__inner::before {
	content: '';
	position: absolute;
	inset: 4% -6% 6%;
	z-index: -1;
	background: radial-gradient(ellipse at 50% 52%, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.5) 45%, rgba(0, 0, 0, 0) 76%);
	pointer-events: none;
}

.pw-hero__inner > * {
	text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
}

.pw-hero__sub {
	margin: 1.25rem 0 0;
	font-family: var(--pw-body);
	font-size: 1rem;
	color: #fff;
}

.pw-hero .pw-actions {
	justify-content: center;
}

.pw-hero__arrow {
	position: absolute;
	top: 50%;
	z-index: 3;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	border: 0;
	background: none;
	color: #fff;
	cursor: pointer;
}

.pw-hero__arrow--prev {
	left: 10px;
}

.pw-hero__arrow--next {
	right: 10px;
}

/* -------------------------------------------------------------------------
 * Inner page banner
 * ---------------------------------------------------------------------- */

.pw-banner {
	position: relative;
	min-height: 450px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: calc(var(--pw-header-h) + 24px) var(--pw-gutter) 24px;
	background: var(--pw-dark);
	color: #fff;
	text-align: center;
	overflow: hidden;
}

.pw-banner__media {
	position: absolute;
	inset: 0;
}

.pw-banner__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pw-banner__media::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.45) 100%);
}

.pw-banner__inner {
	position: relative;
	z-index: 2;
	max-width: 1000px;
}

.pw-banner__sub {
	margin: 1rem 0 0;
	font-size: 1rem;
	color: #fff;
	opacity: 0.8;
}

/* -------------------------------------------------------------------------
 * Home — welcome and the row of three
 * ---------------------------------------------------------------------- */

.pw-intro {
	padding: var(--pw-section) 0;
	text-align: center;
}

.pw-intro__head {
	max-width: 900px;
}

.pw-tiles {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	margin-top: 3.5rem;
}

.pw-tile {
	margin: 0;
	overflow: hidden;
}

.pw-tile img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

/* -------------------------------------------------------------------------
 * Home — full-bleed bands
 * ---------------------------------------------------------------------- */

.pw-band {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 500px;
	padding: var(--pw-band-pad) 0;
	background: var(--pw-dark);
	color: #fff;
	text-align: center;
	overflow: hidden;
}

.pw-band__media {
	position: absolute;
	inset: -12% 0;
	will-change: transform;
}

.pw-band__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pw-band__media::after {
	content: '';
	position: absolute;
	inset: 0;
	/* The reference gets away with a 5% wash because its photographs are
	 * almost black. Party World's rooms are lit in neon, so the words need
	 * more help than that. */
	background: rgba(0, 0, 0, 0.45);
}

.pw-band__inner {
	position: relative;
	z-index: 2;
	max-width: 900px;
}

.pw-band .pw-actions {
	justify-content: center;
}

/* -------------------------------------------------------------------------
 * Split sections — text one side, photographs the other
 * ---------------------------------------------------------------------- */

.pw-split {
	padding: var(--pw-section) 0;
}

.pw-split__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
	align-items: center;
}

.pw-split__text {
	text-align: center;
}

.pw-split__text .pw-actions {
	justify-content: center;
}

.pw-split__inner--single {
	grid-template-columns: minmax(0, 1fr);
	justify-items: center;
}

.pw-split__media {
	display: grid;
	gap: 10px;
}

.pw-split__media figure {
	margin: 0;
	overflow: hidden;
}

.pw-split__media--stacked img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.pw-split__media--grid {
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.pw-split__media--grid img {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
}



/* -------------------------------------------------------------------------
 * Menu page
 * ---------------------------------------------------------------------- */

.pw-menu {
	padding: var(--pw-section) 0;
	text-align: center;
}

.pw-menu__head {
	max-width: 820px;
}

.pw-menu__pages {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 48px;
	margin: 3.5rem auto 0;
	padding: 0 var(--pw-gutter);
	max-width: 900px;
}

.pw-menu__page {
	margin: 0;
	width: 100%;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.pw-menu__page img {
	width: 100%;
}

.pw-menu__foot {
	margin-top: 3rem;
}

.pw-menu__foot .pw-actions {
	justify-content: center;
}

/* -------------------------------------------------------------------------
 * Reservation page
 * ---------------------------------------------------------------------- */

.pw-book {
	padding: var(--pw-section) 0;
	text-align: center;
}

.pw-book__inner {
	max-width: 820px;
}

.pw-book__note {
	margin: 1.5rem 0 0;
	font-size: 0.875rem;
	color: var(--pw-ink-soft);
}

.pw-policies {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin-top: var(--pw-section-tight);
	text-align: center;
}

.pw-policy__title {
	margin: 0 0 1rem;
	font-size: 1.5rem;
	font-weight: 700;
}

.pw-policy .pw-prose {
	max-width: 38ch;
}

/* -------------------------------------------------------------------------
 * Gallery page
 *
 * Hover, exactly as the reference does it: the photograph scales to 1.1 over
 * 0.5s, a hairline frame inset 10px fades in over 0.3s, and a white disc with
 * a gold magnifier rises 30px into place over the same 0.3s. The caption never
 * moves — it is centred on the tile at all times, with the disc under it.
 * ---------------------------------------------------------------------- */

.pw-gallery {
	padding: var(--pw-section) 0;
}

/* The grid is boxed on the same container as the rest of the site, but pulled
 * 5px wider on each side — the reference offsets its tile padding that way, so
 * the photographs line up 10px outside the text column. */
.pw-gallery__grid {
	width: 100%;
	max-width: var(--pw-shell);
	margin: 0 auto;
	padding: 0 calc(var(--pw-gutter) - 5px);
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
}

.pw-gallery__item {
	margin: 0;
	background: var(--pw-dark);
}

.pw-gallery__link {
	position: relative;
	display: block;
	overflow: hidden;
	color: #fff;
}

.pw-gallery__link:hover,
.pw-gallery__link:focus-visible {
	color: #fff;
}

.pw-gallery__item img {
	width: 100%;
	height: 400px;
	object-fit: cover;
	transition: transform 0.5s ease-in-out;
}

/* A hairline frame inset from the edge, fading in on hover. */
.pw-gallery__link::after {
	content: '';
	position: absolute;
	inset: 10px;
	border: 1px solid rgba(255, 255, 255, 0.9);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease-in-out;
	z-index: 2;
}

/* Caption and magnifier are one centred block, so the caption sits where it
 * does in the reference whether or not the disc is showing. */
.pw-gallery__desc {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	transform: translateY(-50%);
	z-index: 3;
	display: block;
	padding: 0 15px;
	text-align: center;
}

/* The caption sits on the photograph itself — no scrim, as in the reference.
 * The shadow is what keeps it readable over a bright frame. */
.pw-gallery__caption {
	display: block;
	font-family: var(--pw-display);
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.4;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.75), 0 1px 3px rgba(0, 0, 0, 0.5);
}

.pw-gallery__zoom {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	/* The reference sets the disc straight under the caption with no gap: the
	 * caption box ends where the disc begins, so the pair stays centred. */
	margin-top: 0;
	border-radius: 50%;
	background: #fff;
	color: var(--pw-gold);
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.pw-gallery__link:hover img,
.pw-gallery__link:focus-visible img {
	transform: scale(1.1);
}

.pw-gallery__link:hover::after,
.pw-gallery__link:focus-visible::after {
	opacity: 1;
}

.pw-gallery__link:hover .pw-gallery__zoom,
.pw-gallery__link:focus-visible .pw-gallery__zoom {
	opacity: 1;
	transform: translateY(0);
}

/* -------------------------------------------------------------------------
 * Lightbox
 * ---------------------------------------------------------------------- */

.pw-lightbox {
	position: fixed;
	inset: 0;
	z-index: 2000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px;
	background: rgba(10, 10, 10, 0.94);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease-in-out, visibility 0s linear 0.3s;
}

.pw-lightbox.is-open {
	opacity: 1;
	visibility: visible;
	transition-delay: 0s;
}

.pw-lightbox__figure {
	margin: 0;
	max-width: 100%;
	max-height: 100%;
	text-align: center;
}

.pw-lightbox__figure img {
	max-width: 100%;
	max-height: calc(100svh - 160px);
	margin: 0 auto;
	object-fit: contain;
}

.pw-lightbox__caption {
	margin-top: 20px;
	font-family: var(--pw-display);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #fff;
}

.pw-lightbox__btn {
	position: absolute;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 0;
	background: none;
	color: #fff;
	cursor: pointer;
	opacity: 0.75;
	transition: opacity 0.2s ease-in-out;
}

.pw-lightbox__btn:hover {
	opacity: 1;
}

.pw-lightbox__btn--close {
	top: 16px;
	right: 16px;
}

.pw-lightbox__btn--prev {
	left: 10px;
	top: 50%;
	transform: translateY(-50%);
}

.pw-lightbox__btn--next {
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
}

/* -------------------------------------------------------------------------
 * Contact page
 * ---------------------------------------------------------------------- */

.pw-contact {
	padding: var(--pw-section) 0;
}

.pw-contact__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
}

.pw-contact__details {
	margin: 0 0 2rem;
	padding: 0;
	list-style: none;
}

.pw-contact__details > li + li {
	margin-top: 1.25rem;
}

.pw-contact__label {
	display: block;
	font-family: var(--pw-display);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--pw-ink-soft);
	margin-bottom: 0.25rem;
}

.pw-map {
	margin-top: 2rem;
	aspect-ratio: 16 / 10;
}

.pw-map iframe {
	width: 100%;
	height: 100%;
	border: 0;
}

.pw-notice {
	padding: 16px 20px;
	border: 1px solid var(--pw-line);
	background: #fafafa;
	font-size: 0.9375rem;
}

/* Contact Form 7, dressed to match. The field rows come from the form markup
 * in seed/content/forms.json, so the two travel together. */
.pw-form {
	margin-top: 2rem;
}

.pw-field-row + .pw-field-row {
	margin-top: 1.25rem;
}

.pw-field-row--split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

@media (max-width: 560px) {
	.pw-field-row--split {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}
}

.pw-form p {
	margin-bottom: 1.25rem;
}

.pw-form label {
	display: block;
	font-family: var(--pw-display);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--pw-ink-soft);
}

.pw-form input[type='text'],
.pw-form input[type='email'],
.pw-form input[type='tel'],
.pw-form input[type='date'],
.pw-form input[type='number'],
.pw-form select,
.pw-form textarea {
	width: 100%;
	margin-top: 8px;
	padding: 12px 14px;
	border: 2px solid #e5e5e5;
	border-radius: 0;
	background: #fff;
	font-family: var(--pw-body);
	font-size: 1rem;
	color: var(--pw-ink);
	transition: all 0.3s ease-in-out;
}

.pw-form input:focus,
.pw-form select:focus,
.pw-form textarea:focus {
	border-color: var(--pw-ink);
	outline: none;
}

.pw-form textarea {
	min-height: 170px;
	resize: vertical;
}

.pw-form .wpcf7-submit {
	display: inline-block;
	padding: 10px 24px;
	border: 5px solid var(--pw-ink);
	background: none;
	color: var(--pw-ink);
	font-family: var(--pw-display);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	cursor: pointer;
	transition: all 0.3s ease-in-out;
}

.pw-form .wpcf7-submit:hover,
.pw-form .wpcf7-submit:focus-visible {
	background: var(--pw-gold);
	border-color: var(--pw-gold);
	color: #fff;
}

.pw-form .wpcf7-not-valid-tip {
	font-family: var(--pw-display);
	font-size: 0.75rem;
	letter-spacing: 0.04em;
	color: #b3261e;
}

.pw-form .wpcf7-response-output {
	margin: 1.5rem 0 0;
	padding: 12px 16px;
	border-width: 1px;
	font-size: 0.9375rem;
}

/* -------------------------------------------------------------------------
 * Opening hours
 * ---------------------------------------------------------------------- */

.pw-hours {
	margin: 0;
}

.pw-hours__row {
	display: block;
}

.pw-hours dt,
.pw-hours dd {
	display: inline;
	margin: 0;
}

.pw-hours dt::after {
	content: ':';
	margin-right: 0.35em;
}

/* -------------------------------------------------------------------------
 * Footer
 * ---------------------------------------------------------------------- */

.pw-footer {
	padding: var(--pw-section-tight) 0 12px;
	background: var(--pw-paper);
	color: var(--pw-ink);
	text-align: center;
}

.pw-footer__inner {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.pw-footer__title {
	margin: 0;
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: normal;
	line-height: 1.4;
}

.pw-footer__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.pw-social {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin: 2rem 0 0;
	padding: 0;
	list-style: none;
}

.pw-social a {
	display: grid;
	place-items: center;
	width: 35px;
	height: 35px;
	border: 2px solid #e5e5e5;
	border-radius: 50%;
	color: var(--pw-ink);
	transition: all 0.3s ease-in-out;
}

/* The reference leaves the disc alone and tints the glyph with the network's
 * own colour. WhatsApp has no rule there and falls back to the tan. */
.pw-social a:hover {
	background: none;
	border-color: #e5e5e5;
}

/* The reference's own softened brand tints, not the official brand colours.
 * Networks it has no rule for — WhatsApp there, Xiaohongshu here — fall back
 * to the tan, which is exactly what it does. */
.pw-social li:nth-child(1) a:hover { color: #6788ce; }  /* Facebook    */
.pw-social li:nth-child(2) a:hover { color: #aa8062; }  /* Instagram   */

.pw-social__word {
	font-family: var(--pw-display);
	font-size: 0.5rem;
	font-weight: 700;
	letter-spacing: 0.06em;
}

.pw-social--mobile {
	justify-content: flex-start;
	margin-top: 1rem;
}

.pw-social--mobile a {
	border-color: var(--pw-line-dark);
}

.pw-social--mobile a:hover {
	background: #fff;
	border-color: #fff;
	color: var(--pw-ink);
}

.pw-footer__legal {
	margin: 1rem auto 0;
	max-width: var(--pw-shell);
	padding: 0 var(--pw-gutter);
	font-family: var(--pw-display);
	font-size: 0.6875rem;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--pw-ink);
}

/* -------------------------------------------------------------------------
 * Editorial pages, search, 404
 * ---------------------------------------------------------------------- */

.pw-article {
	padding: var(--pw-section) 0;
}

.pw-article__inner {
	max-width: 780px;
}

.pw-article .pw-h1 {
	margin-bottom: 2rem;
}

.pw-article__media {
	margin: 2rem 0;
}

.pw-postlist {
	margin: 2.5rem 0 0;
	padding: 0;
	list-style: none;
}

.pw-postlist__item {
	padding: 1.75rem 0;
	border-top: 1px solid var(--pw-line);
}

.pw-404 {
	padding: calc(var(--pw-section) * 1.4) 0;
	text-align: center;
}

.pw-404 .pw-prose {
	margin-left: auto;
	margin-right: auto;
}

.pw-404 .pw-actions {
	justify-content: center;
}

.pw-search {
	display: flex;
	gap: 8px;
	margin-top: 1.5rem;
}

.pw-search input {
	flex: 1 1 auto;
	padding: 12px 14px;
	border: 1px solid var(--pw-line);
	font-family: var(--pw-body);
}

.pw-search button {
	padding: 10px 20px;
	border: 5px solid var(--pw-ink);
	background: none;
	font-family: var(--pw-display);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
}

.pw-pagination {
	margin-top: 2.5rem;
	font-family: var(--pw-display);
	font-size: 0.8125rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* -------------------------------------------------------------------------
 * Wider tablets
 * ---------------------------------------------------------------------- */

@media (max-width: 1024px) {
	:root {
		--pw-section: 72px;
		--pw-section-tight: 56px;
		--pw-band-pad: 72px;
	}

	.pw-split__inner,
	.pw-contact__inner {
		gap: 30px;
	}
}

/* -------------------------------------------------------------------------
 * Phones and small tablets
 * ---------------------------------------------------------------------- */

@media (max-width: 900px) {
	:root {
		--pw-section: 54px;
		--pw-section-tight: 48px;
		--pw-band-pad: 72px;
		--pw-gutter: 20px;
		--pw-header-h: 62px;
	}

	.pw-header {
		padding: 12px 0;
		background: rgba(21, 21, 21, 0.88);
	}

	.pw-header__inner {
		align-items: center;
	}

	.pw-header__aside {
		display: none;
	}

	.pw-burger {
		display: block;
	}

	.pw-nav {
		display: none;
	}

	.pw-header.is-stuck .pw-header__brand {
		display: block;
	}

	.pw-logo__img,
	.pw-header.is-stuck .pw-logo__img {
		height: 34px;
	}

	.pw-mobile-nav {
		display: block;
	}

	.pw-hero {
		min-height: 78svh;
	}

	.pw-hero__inner {
		padding: 120px var(--pw-gutter) 80px;
	}

	.pw-hero__arrow {
		width: 30px;
		height: 30px;
	}

	.pw-intro .pw-prose,
	.pw-split--reverse .pw-prose {
		font-size: 1.25rem;
	}

	.pw-banner {
		min-height: 300px;
		padding: calc(var(--pw-header-h) + 20px) var(--pw-gutter) 20px;
	}

	.pw-band {
		min-height: 380px;
	}

	/* Fixed backgrounds are unreliable on iOS and cost a repaint on every
	 * scroll frame; the bands simply sit still on a phone. */
	.pw-band__media {
		inset: 0;
		transform: none !important;
	}

	.pw-tiles,
	.pw-policies,
	.pw-footer__inner {
		grid-template-columns: 1fr;
	}

	.pw-tiles {
		gap: 10px;
	}

	.pw-gallery__item img {
		height: 340px;
	}

	.pw-split__inner,
	.pw-contact__inner {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	/* On one column the photographs always follow the words. */
	.pw-split--reverse .pw-split__media {
		order: 2;
	}

	.pw-h2 {
		margin-bottom: 1.75rem;
	}

	.pw-actions {
		justify-content: center;
	}
}

@media (max-width: 767px) {
	.pw-gallery__grid {
		grid-template-columns: 1fr;
	}

	.pw-gallery__item img {
		height: 300px;
	}
}

@media (max-width: 560px) {
	/* The reference widens its caption block to the full column on a phone. */
	.pw-hero__inner {
		width: 100%;
	}

	.pw-btn {
		border-width: 3px;
	}

	.pw-menu__pages {
		gap: 28px;
		padding: 0;
	}
}

/* -------------------------------------------------------------------------
 * Motion preferences
 * ---------------------------------------------------------------------- */

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

	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}

	.pw-band__media {
		transform: none !important;
	}
}
