/*
Theme Name: JustCo Place 26
Theme URI: https://justco-place.local
Description: A custom WordPress theme for JustCo Place.
Version: 1.0.23
Text Domain: justco-place-26
*/

@font-face {
	font-family: "Sweet Sans Pro";
	src: url("assets/fonts/SweetSansPro-Regular.woff2") format("woff2");
	font-style: normal;
	font-weight: 400;
	font-display: swap;
}

@font-face {
	font-family: "Sweet Sans Pro";
	src: url("assets/fonts/SweetSansPro-Medium.woff2") format("woff2");
	font-style: normal;
	font-weight: 500;
	font-display: swap;
}

@font-face {
	font-family: "Sweet Sans Pro";
	src: url("assets/fonts/SweetSansPro-MediumItalic.woff2") format("woff2");
	font-style: italic;
	font-weight: 500;
	font-display: swap;
}

@font-face {
	font-family: "Sweet Sans Pro";
	src: url("assets/fonts/SweetSansPro-Bold.woff2") format("woff2");
	font-style: normal;
	font-weight: 700;
	font-display: swap;
}

@font-face {
	font-family: "EB Garamond";
	src: url("assets/fonts/EBGaramond-VariableFont_wght.woff2") format("woff2");
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
}

@font-face {
	font-family: "EB Garamond";
	src: url("assets/fonts/EBGaramond-Italic-VariableFont_wght.woff2") format("woff2");
	font-style: italic;
	font-weight: 100 900;
	font-display: swap;
}

:root {
	/* ARC.svg's arch for any box, as a mask: ARC's top curve (rising 0.4364 of the
	   width, handles 0.6074 along each tangent; the hero's, home-r3.css), then a
	   straight run 20 widths long. Sized to the box's width (100% auto) from the
	   top, the curve keeps its proportions whatever the box's height. */
	--justco-arc: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 360 7200'%3E%3Cpath d='M0 7200V157.088C0 61.673 70.668 0 180 0C289.332 0 360 61.673 360 157.088V7200Z'/%3E%3C/svg%3E");
	--justco-background: #f2efe8;
	--color-walnut-brown: #4c2409;
	/* Placeholder text in every form field: dark enough to read as guidance
	   (5.2:1 on the field's #f4eee9), lighter than what visitors type. */
	--justco-placeholder: color-mix(in srgb, var(--color-walnut-brown) 72%, transparent);
	--justco-gold: #f3ce7e;
	--color-sunlit-yellow: #e2a849;
	--justco-gold-deep: var(--color-sunlit-yellow);
	--color-powder-blue: #b6d1d8;
	--color-yellow: #e9cf89;
	--color-brick-red: #993334;
	--color-blush-pink: #e3a598;
	--color-dune: #d3bca7;
	--color-olive: #93892a;
	--justco-navy: #0d2f59;
	--justco-midnight: #0b253a;
	--justco-primary: #141414;
	--justco-secondary: rgba(20, 20, 20, 0.7);
	--justco-tertiary: rgba(20, 20, 20, 0.5);
	--justco-border: rgba(0, 0, 0, 0.16);
	/* --justco-cursor-default and --justco-cursor-interactive are set in
	   functions.php with full URLs: a relative url() in a variable resolves
	   against whichever stylesheet uses it, not this one. */
	/* Homepage section titles, e.g. "A place for work, life & everything between". */
	--justco-section-title-size: 24px;
	--justco-section-title-leading: 1.7;
	--justco-section-title-tracking: 0.24em;
	/* The navbar's height, which pages offset their content by. */
	--site-nav-height: 72px;
}

@media (max-width: 600px), (max-width: 760px) and (max-height: 520px) {
	:root {
		--site-nav-height: 68px;
		--justco-section-title-leading: 1.25;
		--justco-section-title-tracking: 0.2em;
	}
}

html {
	/* Reserve the scrollbar on every page, so the navbar doesn't shift between
	   scrolling pages and fixed-height ones when scrollbars are always shown. */
	scrollbar-gutter: stable;
	scroll-behavior: smooth;
}

/* Lenis stops scrolling (page transitions, the homepage intro) with overflow:
   clip, but Chrome drops the root's reserved scrollbar gutter for clip and
   hidden alike, so the page jumped sideways by the scrollbar's width. Lenis
   already cancels wheel and touch scrolling while stopped, so the page keeps
   its scrollbar instead. */
html.lenis.lenis-stopped:not(.lenis-autoToggle) {
	overflow: visible;
}

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

body {
	margin: 0;
	background: var(--justco-background);
	color: #000;
	font-family: "Sweet Sans Pro", sans-serif;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
}

body.admin-bar :is(.site-nav, .home-r1-nav) {
	top: 32px;
}

/* On desktop, Directory's and What's On's navbars sit in the page (absolute),
   which WordPress already moves down below its admin bar; a fixed navbar's
   offset there would put them 32px further down. */
@media (min-width: 1025px) {
	body.admin-bar :is(.directory-nav, .whats-on-nav) {
		top: 0;
	}
}

img {
	display: block;
	max-width: 100%;
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
textarea,
select {
	font: inherit;
}

@media (hover: hover) and (pointer: fine) {
	body {
		cursor: var(--justco-cursor-default);
	}

	a,
	button,
	summary,
	select,
	label[for],
	[role="button"],
	[role="link"],
	[role="tab"],
	input[type="checkbox"],
	input[type="radio"],
	input[type="file"],
	input[type="submit"],
	input[type="button"],
	input[type="reset"],
	input[type="range"] {
		cursor: var(--justco-cursor-interactive);
	}

	input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="range"]),
	textarea,
	[contenteditable="true"] {
		cursor: text;
	}

	:disabled,
	[aria-disabled="true"] {
		cursor: not-allowed;
	}
}

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

.home-page {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: var(--justco-background);
}

.section {
	width: 100%;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: "EB Garamond", serif;
	font-size: 19px;
	font-style: italic;
	font-weight: 500;
	line-height: normal;
	white-space: nowrap;
}

.button--gold {
	min-height: 32px;
	padding: 0 10px;
	border-radius: 6px;
	background: var(--justco-gold);
	color: #000;
}

.button--red {
	min-height: 40px;
	padding: 0 16px;
	border-radius: 999px;
	background: var(--color-brick-red);
	color: #fff;
}

/* Header: one navbar for every page (template-parts/site-nav.php, Figma 192:607).
   Pages only change its colours and positioning, never its spacing or type. */
.site-nav {
	position: absolute;
	z-index: 20;
	top: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	height: var(--site-nav-height);
	overflow: hidden;
	color: #000;
}

.site-nav__brand {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: 0 28px;
}

.site-nav__logo {
	display: block;
	width: 112px;
	height: 36px;
	color: #000;
}

/* Homepage: coffee, and white over the dark scenes (assets/js/home-r2.js and home-r3.js). */
.site-nav--home .site-nav__logo {
	color: var(--color-walnut-brown);
}

/* Over the hero, 20% darker so it holds against the wall video. */
.site-nav--over-hero .site-nav__logo {
	color: color-mix(in srgb, var(--color-walnut-brown) 80%, #000);
}

.site-nav--reverse .site-nav__logo {
	color: #fff;
}

/*
 * Page transitions (assets/js/transitions.js): the curtain covers the page.
 * The navbar slides out above it, and the next page's navbar drops back in.
 */
.page-curtain {
	position: fixed;
	z-index: 990;
	inset: 0;
	background: var(--color-walnut-brown);
	pointer-events: none;
}

.page-curtain[hidden] {
	display: none;
}

.is-page-transitioning .site-nav {
	z-index: 1000;
}

/* A solid bar travels with its page, under the curtain (transitions.js). */
.is-page-transitioning .site-nav.site-nav--in-page {
	z-index: 20;
}

.site-nav__links,
.site-nav__list {
	display: flex;
	align-items: center;
	height: 100%;
}

.site-nav__list {
	padding: 0 8px 0 16px;
}

.site-nav__list > a,
.site-nav__cta {
	font-family: "Sweet Sans Pro", sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: normal;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	white-space: nowrap;
}

.site-nav__list > a {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: 0 12px;
	color: inherit;
	/* A step under the 14px Get in touch, so the links sit back from the button. */
	font-size: 0.8125rem;
	letter-spacing: 0.15em;
}

/* Push hover: the label rises out of a one-line window while its copy pushes in
   from below (the copy is attr(data-label), template-parts/site-nav.php). */
.site-nav__roll {
	position: relative;
	display: block;
	overflow: hidden;
	line-height: 1.25;
}

.site-nav__roll > span,
.site-nav__roll::after {
	display: block;
	transition: transform 450ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-nav__roll::after {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	content: attr(data-label);
	content: attr(data-label) / "";
}

/* Not on the link to the page you're on. */
:is(.site-nav__list > a:not([aria-current="page"]), .site-nav__cta):is(:hover, :focus-visible) .site-nav__roll > span,
:is(.site-nav__list > a:not([aria-current="page"]), .site-nav__cta):is(:hover, :focus-visible) .site-nav__roll::after {
	transform: translateY(-100%);
}

@media (prefers-reduced-motion: reduce) {
	.site-nav__roll > span,
	.site-nav__roll::after {
		transition: none;
	}
}

.site-nav__cta-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: 0 28px 0 4px;
}

/* Pill CTA: px-3, rounded-full, sunlit yellow. */
.site-nav__cta {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 32px;
	padding: 0 14px;
	border-radius: 1000px;
	background: var(--color-walnut-brown);
	color: var(--justco-gold);
}

/* Homepage, over the hero (before .site-nav--past-hero): the brand guide's
   sand on the walnut button, as on Visit. */
.site-nav--home:not(.site-nav--past-hero) .site-nav__cta {
	color: #d3bca7;
}

/* Homepage, after the hero: back to yellow, so the button doesn't sink into
   the darker sections (.site-nav--past-hero, assets/js/home-r2.js and home-r3.js). */
.site-nav--past-hero .site-nav__cta {
	background: var(--color-sunlit-yellow);
	color: var(--color-walnut-brown);
}

/* Over the light Brands section, back to the hero's walnut, with dune text. */
.site-nav--past-hero.site-nav--over-light .site-nav__cta {
	background: var(--color-walnut-brown);
	color: var(--color-dune);
}

/* Over the Day section's pale blue Live sky, navy with powder-blue text (home-r3.js). */
.site-nav--past-hero.site-nav--over-sky .site-nav__cta {
	background: var(--justco-navy);
	color: var(--color-powder-blue);
}

/* Over the deep red Deals & Offers and the Day section's evening Connect sky,
   the offers' pink and red (home-r3.js). */
.site-nav--past-hero.site-nav--over-offers .site-nav__cta {
	background: #e3a598;
	color: #721422;
}

/* Split layout ('layout' => 'split'): Work, Live, Connect and What's on? on the left,
   the logo centred on the page, and Directory, About, Visit and the CTA on the right.
   Equal outer columns keep the logo on the true centre line at every desktop width. */
.site-nav--split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}

.site-nav__links--start {
	justify-self: start;
}

.site-nav__links--start .site-nav__list {
	padding: 0 0 0 16px;
}

.site-nav__links--end {
	justify-self: end;
}

/* Just above the 1024px collapse, tighter links keep each group within its half,
   so the logo stays centred with clear space either side. */
@media (max-width: 1199px) {
	.site-nav__list > a {
		padding: 0 5px;
		letter-spacing: 0.12em;
	}

	.site-nav__list {
		padding: 0 4px 0 8px;
	}

	.site-nav__links--start .site-nav__list {
		padding-left: 12px;
	}

	.site-nav__cta-wrap {
		padding-right: 20px;
	}
}

/*
 * Tablets and phones (≤1024px, assets/js/nav.js): the links fold into a menu
 * button that opens a full-screen panel. The navbar stays at the top, gains a
 * solid bar once the page scrolls under it, slips away while scrolling down and
 * comes back on the way up. Pages tune the bar with --site-nav-bar (background),
 * --site-nav-bar-ink (logo), and --site-nav-bar-cta / --site-nav-bar-cta-ink.
 */
.site-nav__menu-wrap,
.site-nav__menu {
	display: none;
}

@media (max-width: 1024px) {
	.site-nav {
		position: fixed;
		transition: translate 320ms cubic-bezier(0.22, 0.61, 0.36, 1), background-color 240ms ease, box-shadow 240ms ease;
	}

	/* Logo left; Get in touch and the menu button together on the right. */
	.site-nav,
	.site-nav--split {
		justify-content: flex-start;
	}

	.site-nav__brand {
		margin-right: auto;
	}

	.site-nav__cta-wrap {
		padding-right: 8px;
	}

	/* 40px tall for thumbs, the same height as the menu button beside it. */
	.site-nav__cta {
		height: 40px;
		padding: 0 18px;
	}

	/* Full height, as Get in touch's wrap is, so the homepage intro can slide
	   it out of the bar with the rest (home-r3.css, home-r3-intro.js). */
	.site-nav__menu-wrap {
		position: relative;
		z-index: 1;
		display: flex;
		flex: none;
		align-items: center;
		height: 100%;
		margin-right: 28px;
	}

	.site-nav__menu-button {
		display: flex;
		flex: none;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
		padding: 0;
		border: 0;
		border-radius: 1000px;
		background: var(--color-walnut-brown);
		color: var(--justco-gold);
		cursor: pointer;
		transition: background-color 240ms ease, color 240ms ease;
		-webkit-tap-highlight-color: transparent;
	}

	.site-nav__menu-button:focus-visible,
	.site-nav__menu a:focus-visible {
		outline: 2px solid var(--justco-gold);
		outline-offset: 3px;
	}

	/* Two lines that cross into an X while the menu is open. */
	.site-nav__menu-icon {
		position: relative;
		display: block;
		width: 16px;
		height: 8px;
	}

	.site-nav__menu-icon span {
		position: absolute;
		left: 0;
		width: 100%;
		height: 2px;
		border-radius: 2px;
		background: currentColor;
		transition: top 240ms ease, transform 240ms ease;
	}

	.site-nav__menu-icon span:first-child { top: 0; }
	.site-nav__menu-icon span:last-child { top: 6px; }

	.site-nav--menu-open .site-nav__menu-icon span:first-child { top: 3px; transform: rotate(45deg); }
	.site-nav--menu-open .site-nav__menu-icon span:last-child { top: 3px; transform: rotate(-45deg); }

	/* Homepage, over the hero: sand lines on the walnut button, as Get in touch's
	   label there (until the bar turns solid or the menu opens). */
	.site-nav--home:not(.site-nav--past-hero):not(.site-nav--scrolled):not(.site-nav--menu-open) .site-nav__menu-button {
		color: #d3bca7;
	}

	/* The homepage CTA turns yellow after the hero, and walnut over Brands. */
	.site-nav--past-hero .site-nav__menu-button {
		background: var(--color-sunlit-yellow);
		color: var(--color-walnut-brown);
	}

	.site-nav--past-hero.site-nav--over-light .site-nav__menu-button {
		background: var(--color-walnut-brown);
		color: var(--color-dune);
	}

	/* The solid bar, once content scrolls under the navbar. */
	.site-nav.site-nav--scrolled {
		background: var(--site-nav-bar, var(--color-walnut-brown));
		box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
	}

	.site-nav.site-nav--scrolled .site-nav__brand .site-nav__logo {
		color: var(--site-nav-bar-ink, #fff);
	}

	.site-nav.site-nav--scrolled .site-nav__cta-wrap .site-nav__cta,
	.site-nav.site-nav--scrolled .site-nav__menu-button {
		background: var(--site-nav-bar-cta, var(--color-sunlit-yellow));
		color: var(--site-nav-bar-cta-ink, var(--color-walnut-brown));
	}

	/* Menu open: the bar and panel are one walnut sheet with a white logo. */
	.site-nav.site-nav--menu-open {
		z-index: 1000;
		translate: none;
		background: var(--color-walnut-brown);
		box-shadow: none;
	}

	.site-nav.site-nav--menu-open .site-nav__brand .site-nav__logo {
		color: #fff;
	}

	/* The menu panel paints over the bar's own walnut (it's a z-index -1 child),
	   so links scrolled up showed through behind the logo and buttons. This band
	   comes after the panel at the same level, so it covers it: solid walnut
	   behind the bar, then a short fade so the links soften as they pass under. */
	/* The navbar clips its overflow (for its sliding labels); with the menu open,
	   the band below needs to hang 24px under it for its fade. */
	.site-nav.site-nav--menu-open {
		overflow: visible;
	}

	.site-nav.site-nav--menu-open::after {
		content: "";
		position: absolute;
		z-index: -1;
		top: 0;
		right: 0;
		left: 0;
		height: calc(100% + 24px);
		background: linear-gradient(to bottom, var(--color-walnut-brown) calc(100% - 24px), transparent);
		pointer-events: none;
	}

	/* The close cross in the brand guide's sand (dune), as on the hero. */
	.site-nav.site-nav--menu-open .site-nav__menu-button {
		background: rgba(255, 255, 255, 0.12);
		color: #d3bca7;
	}

	/* The panel repeats Get in touch, so the bar's copy steps aside. */
	.site-nav--menu-open .site-nav__cta-wrap {
		opacity: 0;
		visibility: hidden;
	}

	.site-nav__menu {
		position: fixed;
		z-index: -1;
		inset: 0;
		display: block;
		overflow-y: auto;
		overscroll-behavior: contain;
		padding-top: var(--site-nav-height);
		background: var(--color-walnut-brown);
		color: var(--justco-background);
		opacity: 0;
		transition: opacity 280ms ease;
	}

	.site-nav__menu[hidden] {
		display: none;
	}

	/* Logged in, the navbar sits below WordPress's admin bar (32px; 46px up to
	   782px wide, following it up as it scrolls away on phones, assets/js/nav.js),
	   so the menu starts below both, not under the navbar's logo. */
	body.admin-bar .site-nav__menu {
		padding-top: calc(var(--site-nav-height) + 32px);
	}

	.site-nav--menu-open .site-nav__menu {
		opacity: 1;
	}

	.site-nav__menu-inner {
		display: flex;
		flex-direction: column;
		gap: 36px;
		min-height: 100%;
		padding: 24px 28px calc(32px + env(safe-area-inset-bottom));
	}

	.site-nav__menu-group {
		display: flex;
		flex-direction: column;
		gap: 8px;
	}

	.site-nav__menu-label {
		margin: 0;
		font-size: 0.75rem;
		font-weight: 700;
		line-height: 1rem;
		letter-spacing: 0.25em;
		text-transform: uppercase;
		color: var(--justco-gold);
	}

	.site-nav__menu-list {
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.site-nav__menu-list a {
		display: flex;
		align-items: center;
		min-height: 56px;
		padding: 8px 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.12);
		font-size: clamp(1.25rem, 4.6vw, 1.75rem);
		font-weight: 700;
		line-height: 1.2;
		letter-spacing: 0.2em;
		text-transform: uppercase;
		text-decoration: none;
		color: inherit;
	}

	/* The current page sits back, as it does in the desktop navbar. */
	.site-nav__menu-list a[aria-current="page"] {
		opacity: 0.5;
	}

	.site-nav__menu-footer {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
		margin-top: auto;
	}

	.site-nav__menu-cta {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		max-width: 420px;
		height: 48px;
		border-radius: 1000px;
		background: var(--color-sunlit-yellow);
		font-size: 0.875rem;
		font-weight: 700;
		letter-spacing: 0.15em;
		text-transform: uppercase;
		text-decoration: none;
		color: var(--color-walnut-brown);
	}

	.site-nav__menu-address {
		font-family: "EB Garamond", serif;
		font-size: 1.0625rem;
		font-style: normal;
		line-height: 1.4;
		color: color-mix(in srgb, var(--justco-background) 65%, transparent);
	}

	/* As apple.com's menu: each label, link and the footer drops 8px into place
	   and fades in, 20ms after the one before, each group a further 80ms on
	   (--menu-item and --menu-group, site-nav-menu.php). Closing, they all fade
	   out at once, and quicker. */
	.site-nav__menu-item {
		transform: translateY(-8px);
		opacity: 0;
		transition:
			opacity 160ms cubic-bezier(0.4, 0, 0.6, 1),
			transform 160ms cubic-bezier(0.4, 0, 0.6, 1);
	}

	.site-nav--menu-open .site-nav__menu-item {
		transform: none;
		opacity: 1;
		transition-duration: 320ms;
		transition-delay: calc(var(--menu-item, 0) * 20ms + (var(--menu-group, 0) + 1) * 80ms);
	}

	/* Tablets: the two groups side by side. */
	@media (min-width: 640px) {
		.site-nav__menu-inner {
			display: grid;
			grid-template-columns: repeat(2, minmax(0, 1fr));
			align-content: start;
			column-gap: 48px;
			padding-top: 48px;
		}

		.site-nav__menu-footer {
			grid-column: 1 / -1;
			margin-top: 24px;
		}
	}

	/* Short screens (phones on their side): tighter rows so it all fits. */
	@media (max-height: 520px) {
		.site-nav__menu-inner {
			gap: 20px;
			padding-top: 12px;
		}

		.site-nav__menu-list a {
			min-height: 44px;
			font-size: 1.125rem;
		}

		.site-nav__menu-footer {
			flex-direction: row;
			align-items: center;
			justify-content: space-between;
			margin-top: 8px;
		}

		.site-nav__menu-cta {
			width: auto;
			padding: 0 28px;
		}
	}
}

/* No page scroll behind the open menu (iOS ignores Lenis being stopped). */
html.has-nav-menu,
html.has-nav-menu body {
	overflow: hidden;
}

@media (max-width: 1024px) and (prefers-reduced-motion: reduce) {
	.site-nav,
	.site-nav__menu,
	.site-nav__menu-item,
	.site-nav--menu-open .site-nav__menu-item {
		transition: none;
	}
}

/* Phones: the outer gutters match the 16px page edges, and the narrowest
   screens keep only the logo and menu button (Get in touch is in the menu). */
@media (max-width: 600px), (max-width: 760px) and (max-height: 520px) {
	/* 32px tall, at the artwork's 1417:456. */
	.site-nav__logo {
		width: auto;
		height: 32px;
		aspect-ratio: 1417 / 456;
	}

	.site-nav__menu-wrap {
		margin-right: 16px;
	}

	.site-nav__menu-inner {
		padding-right: 20px;
		padding-left: 20px;
	}
}

/* Phones: the menu's links at 18px, as phones on their side already are
   (tablets keep their scaled size). */
@media (max-width: 600px), (max-width: 760px) and (max-height: 520px) {
	.site-nav__menu-list a {
		min-height: 0;
		padding-block: 14px;
		font-size: 1.125rem;
	}
}

/* The menu's address, as the footer and Visit page set it: centred under Get in
   touch, in the menu's tracked capitals, and a link to directions. Tablets keep
   theirs as it was. */
.site-nav__menu-address a {
	color: inherit;
	text-decoration: none;
}

@media (max-width: 600px), (max-width: 760px) and (max-height: 520px) {
	.site-nav__menu-footer {
		gap: 16px;
	}

	.site-nav__menu-address {
		align-self: stretch;
		font-family: "Sweet Sans Pro", sans-serif;
		font-size: 0.6875rem;
		font-weight: 700;
		line-height: 1.6;
		letter-spacing: 0.15em;
		text-align: center;
		text-transform: uppercase;
	}

	.site-nav__menu-address a:is(:hover, :focus-visible) {
		color: var(--justco-background);
	}
}

/* Phones on their side set the address beside Get in touch, so it aligns right. */
@media (max-width: 760px) and (max-height: 520px) {
	.site-nav__menu-address {
		align-self: center;
		text-align: right;
	}
}

/* Narrow phones: a smaller Get in touch keeps clear of the logo. */
@media (max-width: 430px) {
	.site-nav__cta {
		padding-inline: 14px;
		font-size: 12px;
	}
}

@media (max-width: 380px) {
	.site-nav__cta-wrap {
		display: none;
	}
}

/* The Home R1 archive's own navbar takes the same menu. */
@media (max-width: 1024px) {
	.home-r1-nav.site-nav--menu-open {
		z-index: 1000;
		background: var(--color-walnut-brown);
	}

	.home-r1-nav .home-r1-nav__cta {
		margin-right: 8px;
	}

	/* Gold, as its Get in touch button is, against the dark hero. */
	.home-r1-nav .site-nav__menu-button {
		background: var(--justco-gold);
		color: var(--color-walnut-brown);
	}

	.home-r1-nav.site-nav--menu-open .site-nav__menu-button {
		background: rgba(255, 255, 255, 0.12);
		color: var(--justco-gold);
	}

	.site-nav--menu-open .home-r1-nav__cta {
		opacity: 0;
		visibility: hidden;
	}
}

/* Home R1 archive (/home-r1/) keeps its original white navbar. */
.home-r1-nav {
	position: absolute;
	z-index: 20;
	top: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	height: 72px;
	overflow: hidden;
	color: #fff;
}

.home-r1-nav__brand {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: 0 28px;
}

.home-r1-nav__logo-clip {
	position: relative;
	display: block;
	width: 112px;
	height: 36px;
	overflow: hidden;
}

.home-r1-nav__logo-clip img {
	position: absolute;
	top: -42.45%;
	left: -13.6%;
	width: 127.2%;
	height: 184.68%;
	max-width: none;
}

.home-r1-nav__links {
	display: flex;
	align-items: center;
	height: 100%;
	padding-left: 16px;
}

.home-r1-nav__links > a:not(.home-r1-nav__cta) {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: 0 10px;
	color: rgba(255, 255, 255, 0.8);
	font-family: "Sweet Sans Pro", sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: normal;
	white-space: nowrap;
	transition: color 200ms ease;
}

.home-r1-nav__links > a:not(.home-r1-nav__cta):hover,
.home-r1-nav__links > a:not(.home-r1-nav__cta):focus-visible {
	color: #fff;
}

@media (prefers-reduced-motion: reduce) {
	.home-r1-nav__links > a:not(.home-r1-nav__cta) {
		transition: none;
	}
}

.home-r1-nav__cta {
	margin: 0 28px 0 16px;
	color: var(--color-walnut-brown);
	font-family: "Sweet Sans Pro", sans-serif;
	font-size: 15px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	letter-spacing: -0.15px;
}

/* Hero */
.hero {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 48px;
	height: 900px;
	padding: 128px 10px 64px;
	overflow: hidden;
	background: var(--color-walnut-brown);
}

.hero__background {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.hero__background::after {
	position: absolute;
	inset: 0;
	content: "";
	background: rgba(76, 36, 9, 0.92);
}

.hero__background video {
	position: absolute;
	top: -4px;
	left: -4px;
	display: block;
	width: calc(100% + 7px);
	height: 907px;
	max-width: none;
	object-fit: cover;
}

.hero__heading-wrap {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 1140px;
	min-height: 106px;
	padding: 0 10px;
	overflow: hidden;
}

.hero h1 {
	width: 100%;
	max-width: 720px;
	margin: 0;
	color: #f3ce7e;
	font-size: 44px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 5.28px;
	text-align: center;
	text-transform: uppercase;
}

.hero__portraits {
	--hero-portrait-gap: 32px;
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--hero-portrait-gap);
	width: 100%;
	max-width: 1144px;
}

.hero__heading-line {
	display: block;
	overflow: hidden;
}

.hero__heading-line > span {
	display: block;
	/* Solid: no text on the site uses a gradient. */
	color: #f3ce7e;
}

.hero__portrait-media {
	position: absolute;
	inset: 0;
}

/* Play once on load. The default layout stays visible without animation support. */
@media (prefers-reduced-motion: no-preference) {
	.home-r1-nav {
		/* The final label ends at 4410ms; leave a 100ms pause before navigation enters. */
		animation: hero-nav-enter 850ms cubic-bezier(0.22, 0.61, 0.36, 1) 4510ms backwards;
	}

	.hero__heading-line > span {
		animation: hero-heading-enter 700ms cubic-bezier(0.22, 1, 0.36, 1) 120ms backwards;
	}

	.hero__heading-line:nth-child(2) > span {
		animation-delay: 220ms;
	}

	.hero__portrait--work {
		--hero-start-x: calc(100% + var(--hero-portrait-gap));
		--hero-start-rotation: -5deg;
		animation:
			hero-arch-reveal 480ms ease-in-out 750ms backwards,
			hero-arch-spread 1450ms cubic-bezier(0.22, 0.61, 0.36, 1) 1530ms backwards;
	}

	.hero__portrait--still-life {
		animation: hero-arch-reveal 480ms ease-in-out 950ms backwards;
	}

	.hero__portrait--dining {
		--hero-start-x: calc(-100% - var(--hero-portrait-gap));
		--hero-start-rotation: 5deg;
		animation:
			hero-arch-reveal 480ms ease-in-out 1150ms backwards,
			hero-arch-spread 1450ms cubic-bezier(0.22, 0.61, 0.36, 1) 1610ms backwards;
	}

	.hero__portrait-label {
		animation: hero-label-enter 850ms cubic-bezier(0.22, 0.61, 0.36, 1) 3100ms backwards;
	}

	.hero__portrait--still-life .hero__portrait-label {
		animation-delay: 3330ms;
	}

	.hero__portrait--dining .hero__portrait-label {
		animation-delay: 3560ms;
	}
}

@keyframes hero-nav-enter {
	from { transform: translateY(-100%); }
	to { transform: translateY(0); }
}

@keyframes hero-heading-enter {
	from { opacity: 0; transform: translateY(24px); }
	to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-arch-reveal {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes hero-arch-spread {
	from { transform: translateX(var(--hero-start-x)) rotate(var(--hero-start-rotation)); }
	to { transform: translateX(0) rotate(0); }
}

@keyframes hero-label-enter {
	from { opacity: 0; transform: translate(-50%, calc(-50% + 8px)); }
	to { opacity: 1; transform: translate(-50%, -50%); }
}

.hero__portrait {
	position: relative;
	aspect-ratio: 2 / 3;
	overflow: hidden;
	/* Match the shared 156px radii in Figma's 358.667 × 538px portraits. */
	border-radius: 43.4944% 43.4944% 0 0 / 28.9963% 28.9963% 0 0;
	background: rgba(0, 0, 0, 0.04);
}

/* Each newly revealed arch layers over the previous one before they spread. */
.hero__portrait--still-life {
	/* The desktop asset already contains Figma's close-up image crop. */
	--hero-photo-left: 0%;
	--hero-photo-top: 0%;
	--hero-photo-width: 100%;
	--hero-photo-height: 100%;
	z-index: 2;
}

.hero__portrait--work {
	--hero-work-photo-left: -3.251444%;
	--hero-work-photo-top: -0.929368%;
	--hero-work-photo-width: 106.491082%;
	--hero-work-photo-height: 102.044621%;
	z-index: 1;
	/* Scale the original 156px arch radii with Figma's 358.667 × 538px frame. */
	border-radius: 43.4944% 43.4944% 0 0 / 28.9963% 28.9963% 0 0;
	background: transparent;
}

.hero__portrait--dining {
	/* Figma 21:55: (-0.333, -98), 482 × 723 inside 358.667 × 538. */
	--hero-photo-left: -0.092947%;
	--hero-photo-top: -18.215613%;
	--hero-photo-width: 134.386617%;
	--hero-photo-height: 134.386617%;
	z-index: 3;
}

.hero__portrait img {
	position: absolute;
	max-width: none;
	object-fit: cover;
}

.hero__portrait-label {
	position: absolute;
	z-index: 1;
	top: 50%;
	left: 50%;
	color: #fff;
	font-size: 40px;
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: 4.8px;
	text-align: center;
	text-transform: uppercase;
	white-space: nowrap;
	transform: translate(-50%, -50%);
	pointer-events: none;
}

.hero__portrait--still-life img,
.hero__portrait--dining img {
	inset: auto;
	left: var(--hero-photo-left);
	top: var(--hero-photo-top);
	width: var(--hero-photo-width);
	height: var(--hero-photo-height);
	object-fit: fill;
}

.hero__portrait--work img {
	inset: auto;
	left: var(--hero-work-photo-left);
	top: var(--hero-work-photo-top);
	width: var(--hero-work-photo-width);
	height: var(--hero-work-photo-height);
	object-fit: fill;
}

.hero__portrait--work .hero__portrait-label {
	left: calc(50% + 0.17px);
}

/* Native photo layers from Figma 162:298. Percentages preserve the exact crop
 * as the 358.667 × 538px portrait scales. The shared photo is cropped at
 * x=1500, width=1900 from the 4096 × 2731px source; offsets compensate for
 * that crop. The SVG mask files are unmodified Figma exports, shared by all
 * three portraits. LIVE and CONNECT zoom their own photos around the center,
 * matching Figma 179:397 and 179:418 without changing the original tones. */
.hero__refraction-band {
	display: none;
	position: absolute;
	inset: 0;
	pointer-events: none;
	-webkit-mask-image: var(--hero-work-mask);
	mask-image: var(--hero-work-mask);
	mask-mode: alpha;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: var(--hero-work-mask-size);
	mask-size: var(--hero-work-mask-size);
}

@supports (mask-image: url("")) or (-webkit-mask-image: url("")) {
	.hero__refraction-band {
		display: block;
	}
}

.hero__refraction-band--1 {
	--hero-refraction-scale: 1.27;
	--hero-work-mask: url("assets/images/hero-work-band-1.svg");
	--hero-work-mask-size: 100.000000% 100.000000%;
	--hero-work-photo-left: -26.712985%;
	--hero-work-photo-top: -8.708179%;
	--hero-work-photo-width: 135.243671%;
	--hero-work-photo-height: 129.596665%;
}

.hero__refraction-band--2 {
	--hero-refraction-scale: 1.2025;
	--hero-work-mask: url("assets/images/hero-work-band-2.svg");
	--hero-work-mask-size: 93.308550% 95.539033%;
	--hero-work-photo-left: -20.847600%;
	--hero-work-photo-top: -6.763477%;
	--hero-work-photo-width: 128.055524%;
	--hero-work-photo-height: 122.708654%;
}

.hero__refraction-band--3 {
	--hero-refraction-scale: 1.135;
	--hero-work-mask: url("assets/images/hero-work-band-3.svg");
	--hero-work-mask-size: 86.617100% 91.078066%;
	--hero-work-photo-left: -14.982214%;
	--hero-work-photo-top: -4.818774%;
	--hero-work-photo-width: 120.867377%;
	--hero-work-photo-height: 115.820643%;
}

.hero__refraction-band--4 {
	--hero-refraction-scale: 1.0675;
	--hero-work-mask: url("assets/images/hero-work-band-4.svg");
	--hero-work-mask-size: 79.925650% 86.617099%;
	--hero-work-photo-left: -9.116829%;
	--hero-work-photo-top: -2.874071%;
	--hero-work-photo-width: 113.679229%;
	--hero-work-photo-height: 108.932632%;
}

.hero__portrait--still-life .hero__refraction-band img,
.hero__portrait--dining .hero__refraction-band img {
	left: calc(50% + (var(--hero-photo-left) - 50%) * var(--hero-refraction-scale));
	top: calc(50% + (var(--hero-photo-top) - 50%) * var(--hero-refraction-scale));
	width: calc(var(--hero-photo-width) * var(--hero-refraction-scale));
	height: calc(var(--hero-photo-height) * var(--hero-refraction-scale));
}

/* Intro */
.intro {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	height: 297px;
	padding: 100px 24px 50px;
	overflow: hidden;
}

.intro p {
	width: 100%;
	max-width: 752px;
	margin: 0;
	font-family: "EB Garamond", serif;
	font-size: 1.875rem;
	font-weight: 400;
	line-height: 1.75;
	text-align: center;
}

.intro__word {
	position: relative;
	display: inline-block;
}

/* Place information */
.place-details {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 48px;
	height: 791px;
	padding: 100px 24px 50px;
	overflow: hidden;
}

.place-facts {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	justify-content: center;
	width: 100%;
	height: 451px;
	max-width: 461px;
	margin: 0;
}

.place-facts__row {
	display: grid;
	grid-template-columns: 128px 1fr;
	gap: 24px;
	min-height: 46px;
	padding: 12px 0;
	border-bottom: 1px solid var(--justco-border);
}

.place-facts dt,
.place-facts dd {
	margin: 0;
	color: var(--justco-secondary);
}

.place-facts dt {
	padding-top: 1px;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: 0.52px;
	text-transform: uppercase;
}

.place-facts dd {
	font-size: 16px;
	font-weight: 400;
	line-height: 1.3;
}

.place-facts__row--dates {
	min-height: 158px;
}

.place-facts__row--dates dd {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.opening-date {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
}

.opening-date b {
	display: inline-flex;
	align-items: center;
	height: 20px;
	padding: 0 5px;
	border-radius: 4px;
	background: var(--color-brick-red);
	color: rgba(255, 255, 255, 0.9);
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
}

.opening-date span {
	line-height: 1.3;
}

.place-details__image {
	/* Figma 26:392: 644 × 774 photo at (-1.5, -133) in a 641px square. */
	--place-photo-left: -0.234009%;
	--place-photo-top: -20.748830%;
	--place-photo-width: 100.468019%;
	--place-photo-height: 120.748830%;
	position: relative;
	flex: 0 0 641px;
	width: 641px;
	height: 641px;
	overflow: hidden;
	border-radius: 12px;
	background: rgba(0, 0, 0, 0.04);
}

.place-details__image-motion {
	position: absolute;
	inset: 0;
}

.place-details__image img {
	position: absolute;
	top: var(--place-photo-top);
	left: var(--place-photo-left);
	width: var(--place-photo-width);
	height: var(--place-photo-height);
	max-width: none;
	object-fit: cover;
}

/* Four 12px rings from Figma 205:472–205:491. Masks remain unmodified exports;
 * percentage crops and mask sizes scale together at every breakpoint. */
.place-details__refraction-band {
	display: none;
	position: absolute;
	inset: 0;
	pointer-events: none;
	-webkit-mask-image: var(--place-refraction-mask);
	mask-image: var(--place-refraction-mask);
	mask-mode: alpha;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: var(--place-refraction-mask-size);
	mask-size: var(--place-refraction-mask-size);
}

@supports (mask-image: url("")) or (-webkit-mask-image: url("")) {
	.place-details__refraction-band {
		display: block;
	}
}

.place-details__refraction-band--1 {
	--place-refraction-mask: url("assets/images/place-refraction-band-1.svg");
	--place-refraction-mask-size: 100% 100%;
	--place-photo-left: -13.797192%;
	--place-photo-top: -39.851014%;
	--place-photo-width: 127.594384%;
	--place-photo-height: 153.351014%;
}

.place-details__refraction-band--2 {
	--place-refraction-mask: url("assets/images/place-refraction-band-2.svg");
	--place-refraction-mask-size: 96.255850% 96.255850%;
	--place-photo-left: -10.406396%;
	--place-photo-top: -35.075468%;
	--place-photo-width: 120.812793%;
	--place-photo-height: 145.200468%;
}

.place-details__refraction-band--3 {
	--place-refraction-mask: url("assets/images/place-refraction-band-3.svg");
	--place-refraction-mask-size: 92.511700% 92.511700%;
	--place-photo-left: -7.015601%;
	--place-photo-top: -30.299922%;
	--place-photo-width: 114.031201%;
	--place-photo-height: 137.049922%;
}

.place-details__refraction-band--4 {
	--place-refraction-mask: url("assets/images/place-refraction-band-4.svg");
	--place-refraction-mask-size: 88.767551% 88.767551%;
	--place-photo-left: -3.624805%;
	--place-photo-top: -25.524376%;
	--place-photo-width: 107.249610%;
	--place-photo-height: 128.899376%;
}

.place-details__image.has-perspective-motion,
.feature-card__media--image.has-perspective-motion {
	perspective: 1200px;
}

.place-details__image.has-perspective-motion .place-details__image-motion,
.feature-card__media--image.has-perspective-motion img {
	backface-visibility: hidden;
	will-change: transform;
}

/* Offers */
.offers {
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 627.669px;
	padding: 50px 24px;
	overflow: hidden;
}

.section-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	max-width: 1360px;
	height: 25px;
	padding: 0 8px;
	margin-bottom: 10px;
}

.section-heading h2,
.brands__heading h2 {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 2.4px;
	text-transform: uppercase;
}

.section-heading a {
	font-family: "Sweet Sans Pro", sans-serif;
	font-size: 16px;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
	color: #000;
}

.offers__viewport {
	width: 100%;
	max-width: 1360px;
	height: 404.669px;
	overflow: hidden;
	scrollbar-width: none;
}

.offers__viewport::-webkit-scrollbar {
	display: none;
}

.offers__track {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	width: 100%;
}

.offer-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	height: 404.669px;
	padding: 8px 8px 14px;
	border: 1px solid var(--justco-border);
	border-radius: 20px;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5));
}

.offer-card__image {
	position: relative;
	flex: 0 0 auto;
	width: 100%;
	aspect-ratio: 364 / 242.67;
	overflow: hidden;
	border-radius: 12px;
	background: rgba(0, 0, 0, 0.04);
}

.offer-card__image img {
	position: absolute;
	top: -81px;
	left: -88px;
	width: 506px;
	height: 337px;
	max-width: none;
	object-fit: cover;
}

.offer-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 12px;
	padding: 0 10px;
}

.offer-card__body > div {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 6px;
}

.offer-card h3 {
	margin: 0;
	font-family: "EB Garamond", serif;
	font-size: 24px;
	font-weight: 400;
	line-height: 1.25;
	white-space: nowrap;
}

.offer-card p {
	margin: 0;
	color: var(--justco-secondary);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.4;
}

.offer-card .button {
	width: 100%;
	height: 36px;
	font-family: "Sweet Sans Pro", sans-serif;
	font-size: 15px;
	font-style: normal;
	font-weight: 700;
	color: var(--color-walnut-brown);
}

.offers__pagination {
	display: flex;
	align-items: center;
	gap: 16px;
	height: 48px;
	margin-top: 40px;
}

.offers__pagination button {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid var(--justco-border);
	border-radius: 50%;
	background: transparent;
	cursor: var(--justco-cursor-interactive, pointer);
	overflow: hidden;
	transition: border-color 300ms ease;
}

.offers__pagination button::before {
	position: absolute;
	inset: 0;
	z-index: 0;
	content: "";
	background: var(--color-brick-red);
	transition: clip-path 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.offers__pagination button:first-child::before {
	clip-path: inset(0 0 0 100%);
}

.offers__pagination button:last-child::before {
	clip-path: inset(0 100% 0 0);
}

.offers__pagination button:hover:not(:disabled),
.offers__pagination button:focus-visible:not(:disabled) {
	border-color: var(--color-brick-red);
}

.offers__pagination button:hover:not(:disabled)::before,
.offers__pagination button:focus-visible:not(:disabled)::before {
	clip-path: inset(0);
}

.offers__pagination button img {
	position: relative;
	z-index: 1;
	width: 24px;
	height: 24px;
	transition: filter 80ms ease 40ms;
}

.offers__pagination button:hover:not(:disabled) img,
.offers__pagination button:focus-visible:not(:disabled) img {
	filter: brightness(0) invert(1);
}

.offers__dots {
	display: flex;
	align-items: center;
	gap: 8px;
}

.offers__dots i {
	display: block;
	width: 7px;
	height: 7px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.12);
	transition: width 160ms ease, background-color 160ms ease;
}

.offers__dots i.is-active {
	width: 14px;
	background: var(--color-brick-red);
}

/* Brands */
.brands {
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 590.67px;
	padding: 50px 24px 100px;
	overflow: hidden;
}

.brands__heading {
	display: flex;
	align-items: center;
	width: 100%;
	max-width: 1360px;
	height: 25px;
	margin-bottom: 24px;
}

.brands__viewport {
	width: 100vw;
	max-width: none;
	overflow: hidden;
}

.brands__track {
	display: flex;
	align-items: center;
	width: max-content;
	will-change: transform;
	animation: brands-marquee 40s linear infinite;
}

.brands__set {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 24px;
	padding-right: 24px;
}

.brands__viewport:hover .brands__track,
.brands__viewport:focus-within .brands__track {
	animation-play-state: paused;
}

@keyframes brands-marquee {
	from {
		transform: translate3d(-94px, 0, 0);
	}

	to {
		transform: translate3d(-2034px, 0, 0);
	}
}

.brand-card {
	display: flex;
	flex: 0 0 364px;
	flex-direction: column;
	gap: 10px;
	width: 364px;
	height: 311.67px;
	cursor: var(--justco-cursor-interactive, pointer);
}

.brand-card__image {
	position: relative;
	width: 364px;
	height: 242.67px;
	overflow: hidden;
	border-radius: 12px;
	background: rgba(0, 0, 0, 0.04);
}

.brand-card__image img {
	position: absolute;
	max-width: none;
	object-fit: cover;
	transform-origin: center;
	transition: transform 900ms cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-card:hover .brand-card__image img {
	transform: scale(1.04);
}

.brand-card--0 .brand-card__image img {
	top: -85px;
	left: 0;
	width: 364px;
	height: 364px;
}

.brand-card--1 .brand-card__image img {
	top: -50px;
	left: -148px;
	width: 687px;
	height: 458px;
}

.brand-card--2 .brand-card__image img {
	top: -81px;
	left: -88px;
	width: 506px;
	height: 337px;
}

.brand-card--3 .brand-card__image img {
	top: -41.67px;
	left: 0;
	width: 365px;
	height: 446px;
}

.brand-card--4 .brand-card__image img {
	top: -50.65px;
	left: 0;
	width: 364px;
	height: 546px;
}

.brand-card__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
	padding: 0 10px;
}

.brand-card h3 {
	margin: 0;
	font-family: "EB Garamond", serif;
	font-size: 24px;
	font-weight: 400;
	line-height: 1.25;
	white-space: nowrap;
}

.brand-card p {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 0;
	color: var(--justco-secondary);
	font-size: 16px;
	line-height: 1.3;
	white-space: nowrap;
}

.brand-card__status {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.brand-card__status::before {
	display: block;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	content: "";
	background: #7a7220;
}

.brand-card__status--open {
	color: #7a7220;
}

.brand-card__status--closed {
	color: var(--justco-tertiary);
}

.brand-card__status--closed::before {
	background: rgba(0, 0, 0, 0.16);
}

.brands__directory {
	gap: 8px;
	height: 40px;
	margin-top: 40px;
	background: var(--justco-midnight);
	font-family: "Sweet Sans Pro", sans-serif;
	font-size: 15px;
	font-style: normal;
	font-weight: 700;
}

.brands__directory img {
	width: 15px;
	height: 15px;
}

/* Feature rows */
.features {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 200px;
	height: 2364px;
	padding: 100px 24px 200px;
	overflow: hidden;
}

.feature-card {
	display: flex;
	align-items: center;
	gap: 48px;
	width: 100%;
	max-width: 1360px;
	height: 554.667px;
}

.feature-card--reverse {
	flex-direction: row-reverse;
}

.feature-card__content {
	display: flex;
	flex: 0 0 480px;
	flex-direction: column;
	gap: 28px;
	width: 480px;
	max-width: 480px;
	height: 100%;
	padding: 24px 10px;
}

.feature-card--reverse .feature-card__content {
	height: auto;
	padding-top: 0;
	padding-bottom: 0;
}

.feature-card__heading {
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: 100%;
}

.feature-card__heading h2 {
	margin: 0;
	color: var(--justco-navy);
	font-size: 36px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 4.32px;
	text-transform: uppercase;
}

.feature-card__heading p {
	width: 100%;
	max-width: 340px;
	margin: 0;
	color: var(--justco-secondary);
	font-size: 20px;
	font-weight: 400;
	line-height: 1.3;
}

.feature-card ul {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
	max-width: 340px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.feature-card li {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	color: var(--justco-secondary);
	font-size: 17px;
	font-weight: 400;
	line-height: 1.3;
}

.feature-card__icon {
	display: flex;
	flex: 0 0 44px;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(76, 36, 9, 0.3);
	border-radius: 50%;
}

.feature-card__icon img {
	width: auto;
	height: auto;
	max-width: 24px;
	max-height: 24px;
}

.feature-card__media {
	position: relative;
	flex: 1 1 0;
	width: 100%;
	height: 554.667px;
	overflow: hidden;
	border-radius: 12px;
	background: rgba(0, 0, 0, 0.04);
}

.feature-card__media--image img {
	position: absolute;
	top: var(--feature-photo-top);
	left: var(--feature-photo-left);
	width: var(--feature-photo-width);
	height: var(--feature-photo-height);
	max-width: none;
	object-fit: cover;
}

/* Exact Figma photo rectangles, normalized to the 832 × 554.667 frames. */
#work .feature-card__media--image {
	--feature-photo-top: 0.119107%;
	--feature-photo-left: 0%;
	--feature-photo-width: 119.230769%;
	--feature-photo-height: 100.600958%;
}

#live .feature-card__media--image {
	--feature-photo-top: 0%;
	--feature-photo-left: 0%;
	--feature-photo-width: 107.692308%;
	--feature-photo-height: 107.812496%;
}

#connect .feature-card__media--image {
	--feature-photo-top: -0.481884%;
	--feature-photo-left: -1.562500%;
	--feature-photo-width: 126.322115%;
	--feature-photo-height: 106.550477%;
}

/* Unmodified 12px ring masks shared by Figma 21:118, 22:273, and 22:379. */
.feature-card__refraction-band {
	display: none;
	position: absolute;
	inset: 0;
	pointer-events: none;
	-webkit-mask-image: var(--feature-refraction-mask);
	mask-image: var(--feature-refraction-mask);
	mask-mode: alpha;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: var(--feature-refraction-mask-size);
	mask-size: var(--feature-refraction-mask-size);
}

@supports (mask-image: url("")) or (-webkit-mask-image: url("")) {
	.feature-card__refraction-band {
		display: block;
	}
}

.feature-card__refraction-band--1 {
	--feature-refraction-scale: 1.27;
	--feature-refraction-mask: url("assets/images/feature-refraction-band-1.svg");
	--feature-refraction-mask-size: 100% 100%;
}

.feature-card__refraction-band--2 {
	--feature-refraction-scale: 1.2025;
	--feature-refraction-mask: url("assets/images/feature-refraction-band-2.svg");
	--feature-refraction-mask-size: 97.115385% 95.673077%;
}

.feature-card__refraction-band--3 {
	--feature-refraction-scale: 1.135;
	--feature-refraction-mask: url("assets/images/feature-refraction-band-3.svg");
	--feature-refraction-mask-size: 94.230769% 91.346154%;
}

.feature-card__refraction-band--4 {
	--feature-refraction-scale: 1.0675;
	--feature-refraction-mask: url("assets/images/feature-refraction-band-4.svg");
	--feature-refraction-mask-size: 91.346154% 87.019231%;
}

.feature-card__refraction-band img {
	left: calc(50% + (var(--feature-photo-left) - 50%) * var(--feature-refraction-scale));
	top: calc(50% + (var(--feature-photo-top) - 50%) * var(--feature-refraction-scale));
	width: calc(var(--feature-photo-width) * var(--feature-refraction-scale));
	height: calc(var(--feature-photo-height) * var(--feature-refraction-scale));
}

/* Footer */
.home-footer {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 380.691px;
	overflow: hidden;
	background: var(--justco-midnight);
	color: rgba(234, 226, 216, 0.8);
}

.home-footer__main {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 48px;
	width: 100%;
	height: 321.691px;
	padding: 48px 28px;
}

.home-footer__top {
	display: grid;
	/* Equal outer columns around the logo, so it sits on the page's centre line. */
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 56px;
	width: 100%;
	height: 125.691px;
}

.home-footer__links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
	color: var(--color-powder-blue);
	font-family: "Sweet Sans Pro", sans-serif;
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.25rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	white-space: nowrap;
}

/* A row per navbar group (the footer follows the navbar, NEU-549). */
.home-footer__links-row {
	display: flex;
	flex: 0 0 100%;
	gap: 24px;
}

/* Desktops: each group follows the last on one line while the column beside
   the logo has room, and wraps whole onto its own line when it hasn't, however
   many links the navbar has. */
@media (min-width: 1025px) {
	.home-footer__links-row {
		flex-basis: auto;
	}
}

/* Below 1200px, tighter spacing keeps each row on one line: beside the centred
   logo on small laptops, and across a phone. */
@media (max-width: 1199px) {
	.home-footer__links-row {
		gap: 16px;
	}
}

.home-footer__links a {
	/* A 32px tap area around each 20px link (padding taken back by the margin,
	   so the rows look and space exactly as before). */
	display: inline-block;
	margin: -6px -4px;
	padding: 6px 4px;
	transition: color 220ms ease;
}

.home-footer__links a:hover,
.home-footer__links a:focus-visible {
	color: rgba(255, 255, 255, 0.9);
}

/* 56px tall (h-14), at the logo's own proportions, in powder blue. */
.home-footer__logo {
	justify-self: center;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 56px;
	color: var(--color-powder-blue);
}

.home-footer__logo .site-nav__logo {
	width: auto;
	height: 100%;
	color: inherit;
}

.home-footer__address {
	justify-self: end;
	display: flex;
	flex-direction: column;
	/* Sized to the address beside its map. */
	width: auto;
	height: 114px;
	margin: 0;
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 12px;
	font-style: normal;
	overflow: hidden;
}

.home-footer__address-main {
	display: flex;
	flex: 0 0 76px;
	align-items: center;
	justify-content: center;
	gap: 16px;
	padding: 12px 16px;
}

.home-footer__address-main > span:first-child {
	flex: 0 0 auto;
	color: var(--color-powder-blue);
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	white-space: nowrap;
}

.home-footer__map {
	position: relative;
	flex: 0 0 52px;
	width: 52px;
	height: 52px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.04);
	overflow: hidden;
}

.home-footer__map-image {
	position: absolute;
	top: -78.18505859375px;
	left: -172px;
	width: 347px;
	height: 258px;
	max-width: none;
	object-fit: cover;
	opacity: .9;
}

.home-footer__map-pin {
	position: absolute;
	top: 6.81494140625px;
	left: 10px;
	width: 32px;
	height: 32px;
}

.home-footer__address > a {
	display: flex;
	flex: 0 0 36px;
	align-items: center;
	justify-content: space-between;
	height: 36px;
	padding: 0 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.24);
	color: var(--color-powder-blue);
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
}

.home-footer__directions-icon {
	flex: 0 0 14px;
	width: 14px;
	height: 14px;
	background-color: currentColor;
	-webkit-mask: url("assets/icons/footer-directions-arrow.svg") center / contain no-repeat;
	mask: url("assets/icons/footer-directions-arrow.svg") center / contain no-repeat;
}

.home-footer__socials {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	width: 100%;
	height: 52px;
}

.home-footer__socials a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	transition: border-color 240ms ease, background-color 240ms ease;
}

.home-footer__socials a:hover,
.home-footer__socials a:focus-visible {
	border-color: rgba(255, 255, 255, 0.8);
	background-color: rgba(255, 255, 255, 0.06);
}

/* Each icon is its image used as a mask, filled with the footer links' powder
   blue, and white on hover as they are. */
.home-footer__social-icon {
	display: block;
	width: 20px;
	height: 20px;
	background-color: var(--color-powder-blue);
	-webkit-mask: var(--icon) center / contain no-repeat;
	mask: var(--icon) center / contain no-repeat;
	transition: background-color 240ms ease;
}

.home-footer__social-icon--facebook {
	width: 11px;
}

.home-footer__socials a:hover .home-footer__social-icon,
.home-footer__socials a:focus-visible .home-footer__social-icon {
	background-color: rgba(255, 255, 255, 0.9);
}

.home-footer__legal {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	width: 100%;
	height: 59px;
	padding: 20px 28px;
	border-top: 1px solid rgba(255, 255, 255, 0.24);
	color: var(--color-powder-blue);
	font-size: 0.75rem;
	font-weight: 500;
	line-height: 1rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.home-footer__legal p {
	margin: 0;
	white-space: nowrap;
}

/* NEUTRL Studio: the legal line's colour, brightening on hover as the footer links do. */
.home-footer__legal a {
	color: inherit;
	text-decoration: none;
	white-space: nowrap;
	transition: color 220ms ease;
}

.home-footer__legal a:hover,
.home-footer__legal a:focus-visible {
	color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 1480px) {
	.section-heading,
	.brands__heading,
	.offers__viewport,
	.feature-card {
		max-width: calc(100vw - 64px);
	}

	.place-details__image {
		flex-basis: min(46vw, 641px);
		width: min(46vw, 641px);
		height: min(46vw, 641px);
	}

	.feature-card__content {
		flex-basis: 36%;
		width: 36%;
	}
}

@media (max-width: 1024px) {
	/* The links are hidden, so the split navbar falls back to logo left, CTA right. */
	.site-nav--split {
		display: flex;
	}

	.site-nav__links--start {
		display: none;
	}

	.site-nav__list,
	.home-r1-nav__links > a:not(.home-r1-nav__cta) {
		display: none;
	}

	.hero {
		height: auto;
		min-height: 760px;
	}

	.hero__portrait--dining {
		/* Keep the existing mobile crop; each band follows the same crop. */
		--hero-photo-left: 0%;
		--hero-photo-top: 0%;
		--hero-photo-width: 100%;
		--hero-photo-height: 100%;
	}

	.intro,
	.place-details,
	.offers,
	.brands,
	.features,
	.home-footer {
		height: auto;
	}

	.intro p {
		font-size: 24px;
	}

	.place-details {
		align-items: stretch;
	}

	.place-facts,
	.place-details__image {
		flex: 1 1 50%;
	}

	.offers__viewport {
		overflow-x: auto;
		scroll-snap-type: x mandatory;
	}

	.offers {
		padding-bottom: 100px;
	}

	.offers__track {
		display: flex;
		width: max-content;
	}

	.offer-card {
		flex: 0 0 min(75vw, 322px);
		width: min(75vw, 322px);
		scroll-snap-align: start;
	}

	.brands {
		overflow: hidden;
	}

	.features {
		gap: 72px;
		padding-top: 50px;
		padding-bottom: 100px;
	}

	.feature-card,
	.feature-card--reverse {
		flex-direction: column;
		height: auto;
	}

	.feature-card__content,
	.feature-card--reverse .feature-card__content {
		flex: 0 0 auto;
		width: 100%;
		max-width: none;
		height: auto;
		padding: 0 10px;
	}

	.feature-card__media {
		flex: 0 0 auto;
		width: 100%;
		height: auto;
		aspect-ratio: 3 / 2;
	}

	.home-footer__main {
		height: auto;
	}

	.home-footer__top {
		grid-template-columns: 1fr auto;
		height: auto;
	}

	.home-footer__logo {
		grid-column: 1 / -1;
		grid-row: 1;
		justify-self: center;
	}
}

/* WordPress's admin bar is 46px tall up to 782px wide. Up to 600px it scrolls
   away, and the navbar follows its bottom edge up (assets/js/nav.js). */
@media (max-width: 782px) {
	body.admin-bar :is(.site-nav, .home-r1-nav) {
		top: var(--justco-admin-bar, 46px);
	}

	body.admin-bar .site-nav__menu {
		padding-top: calc(var(--site-nav-height) + var(--justco-admin-bar, 46px));
	}
}

@media (max-width: 600px), (max-width: 760px) and (max-height: 520px) {

	.site-nav__brand,
	.home-r1-nav__brand {
		padding: 0 16px;
	}

	.hero {
		min-height: 680px;
		gap: 32px;
		padding: 112px 20px 48px;
	}

	.hero__heading-wrap {
		min-height: auto;
		padding: 0;
	}

	.hero h1 {
		font-size: clamp(28px, 8vw, 38px);
		letter-spacing: 0.1em;
	}

	.hero__portraits {
		--hero-portrait-gap: 12px;
	}

	.hero__portrait-label {
		font-size: clamp(12px, 3.2vw, 20px);
		letter-spacing: 0.12em;
	}

	.intro {
		padding: 64px 24px;
	}

	.intro p {
		font-size: 22px;
		line-height: 1.5;
	}

	.place-details {
		flex-direction: column;
		padding: 48px 24px 64px;
	}

	.place-facts,
	.place-details__image {
		flex: 0 0 auto;
		width: 100%;
		max-width: 641px;
	}

	.place-facts__row {
		grid-template-columns: 112px 1fr;
		gap: 16px;
	}

	.place-details__image {
		height: auto;
		aspect-ratio: 1;
	}

	.offers,
	.brands,
	.features {
		padding-right: 20px;
		padding-left: 20px;
	}

	.section-heading,
	.brands__heading,
	.offers__viewport,
	.brands__viewport,
	.feature-card {
		max-width: 100%;
	}

	.section-heading a {
		display: none;
	}

	.offer-card__image img {
		inset: 0;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.brands__directory {
		margin-top: 28px;
	}

	.feature-card__heading h2 {
		font-size: 32px;
	}
}

/* The footer stacks on phones and on tablets under 721px wide (the iPhone Duo
   unfolded), where the links and the address no longer fit beside each other. */
@media (max-width: 720px), (max-width: 760px) and (max-height: 520px) {
	.home-footer__main {
		padding: 48px 20px;
	}

	.home-footer__top {
		display: flex;
		flex-direction: column;
		gap: 36px;
	}

	/* The logo heads the column, as it does on tablets: 48px tall, its width
	   following the artwork's 1417:456. */
	.home-footer__logo {
		order: -1;
		height: 48px;
	}

	.home-footer__links-row {
		flex-wrap: wrap;
		justify-content: center;
		row-gap: 12px;
	}

	@media (max-width: 380px) {
		.home-footer__links-row {
			column-gap: 10px;
			letter-spacing: 0.12em;
		}
	}

	.home-footer__address {
		align-self: center;
	}

	.home-footer__legal {
		flex-direction: column;
		gap: 6px;
		height: auto;
		padding: 20px;
		font-size: 0.6875rem;
		text-align: center;
	}

	.home-footer__legal p {
		width: 100%;
		white-space: normal;
	}
}

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

	.home-footer__socials a,
	.home-footer__social-icon {
		transition: none;
	}

	.brand-card__image img {
		transition: none;
	}

	.offers__pagination button,
	.offers__pagination button::before,
	.offers__pagination button img {
		transition-duration: 1ms;
		transition-delay: 0ms;
	}

	.brands__track {
		animation-play-state: paused;
	}
}
