/*
Theme Name: Wizzie Child Theme
Theme URI: http://wordpress-style.net
Description: Child Theme For Divi
Author: Web Wizards
Author URI: http://wordpress-style.net
Template: Divi
Version: 2.0
*/

/* ==========================================================================
   Arcaro Exclusive Kitchens: only what Divi can't do.
   Colours, fonts, sizes and spacing come from Divi Design Variables (--gcid-ak-*, --gvid-ak-*),
   with the design's values as fallbacks. Layout, type and buttons are Divi presets.
   Rules:
   - Our own class names (ak-*) only; never Divi's generated order classes (et_pb_text_3 etc.).
   - Keep specificity low (mostly :where() or one class) so anything set in the Visual Builder wins.
   - No !important.
   ========================================================================== */

:root {
	--ak-bg: var(--gcid-ak-bg, #0e1826);
	--ak-surface: var(--gcid-ak-surface, #16233a);
	--ak-alt: var(--gcid-ak-alt, #121e30);
	--ak-footer: var(--gcid-ak-footer, #0b1420);
	--ak-text: var(--gcid-ak-text, #f3efe6);
	--ak-muted: var(--gcid-ak-muted, #b7bfcc);
	--ak-brass: var(--gcid-ak-brass, #d2b274);
	--ak-line: var(--gcid-ak-line, #2c3b52);
	--ak-band-fg: var(--gcid-ak-band-fg, #1c2433);
	--ak-band-brass: var(--gcid-ak-band-brass, #7a5c24);
	--ak-field: var(--gcid-ak-field, #7f8a9c);
	--ak-serif: var(--gvid-ak-font-serif, "Cormorant Garamond"), "Cormorant", Garamond, "Times New Roman", serif;
	--ak-sans: var(--gvid-ak-font-sans, "Jost"), "Futura", "Avenir Next", "Segoe UI", sans-serif;
	--ak-script: var(--gvid-ak-font-script, "Pinyon Script"), "Snell Roundhand", "Edwardian Script ITC", cursive;
	/* The gold scroll used as trust-row and list bullets (from assets/scroll-icon.svg). */
	--ak-curl: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%2718%204%2084%2040%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%273.2%27%20stroke-linecap%3D%27round%27%3E%3Cpath%20d%3D%27M60%2024%20C%2052%2010%2C%2030%208%2C%2026%2020%20C%2022%2032%2C%2040%2036%2C%2044%2026%20C%2047%2018%2C%2036%2016%2C%2035%2023%27/%3E%3Cpath%20d%3D%27M60%2024%20C%2068%2038%2C%2090%2040%2C%2094%2028%20C%2098%2016%2C%2080%2012%2C%2076%2022%20C%2073%2030%2C%2084%2032%2C%2085%2025%27/%3E%3C/svg%3E");
	--ak-wave: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%201000%2028%27%20preserveAspectRatio%3D%27none%27%3E%3Cpath%20d%3D%27M0%2014%20Q%2050%200%20100%2014%20T%20200%2014%20T%20300%2014%20T%20400%2014%20T%20500%2014%20T%20600%2014%20T%20700%2014%20T%20800%2014%20T%20900%2014%20T%201000%2014%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.1%27%20vector-effect%3D%27non-scaling-stroke%27/%3E%3C/svg%3E");
	color-scheme: dark;
}

/* ---------------------------------------------------------------- base */

#page-container #main-content {
	background-color: var(--ak-bg);
}

body {
	-webkit-text-size-adjust: 100%;
	text-rendering: optimizeLegibility;
	font-kerning: normal;
}

/* Boxed site: everything sits in a centred wrapper (Design Variable "Site max width", 1920px) with a soft
   shadow, on a slightly darker page. Only visible on screens wider than 1920px.
   overflow: clip (not hidden) so the sticky header keeps working. */
body {
	background-color: #070c15;
}

#page-container {
	max-width: var(--gvid-ak-site-max, 1920px);
	margin-inline: auto;
	background-color: var(--ak-bg);
	box-shadow: 0 0 0 1px rgba(243, 239, 230, 0.04), 0 0 70px rgba(0, 0, 0, 0.55);
	overflow: clip;
}

/* Sticky header: stays at the top on scroll (below the WP admin bar when logged in). js/motion.js adds
   .is-stuck once the page scrolls, which brings in the thin shadow line under it. */
.et-l--header {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 100;
}

.et-l--header .ak-header {
	transition: box-shadow 0.3s ease, padding 0.3s ease;
}

.et-l--header.is-stuck .ak-header {
	box-shadow: 0 1px 0 rgba(243, 239, 230, 0.07), 0 10px 30px rgba(0, 0, 0, 0.35);
}

@media (max-width: 600px) {
	/* The admin bar scrolls away on phones, so the header sticks to the very top. */
	.et-l--header {
		top: 0;
	}
}

:where(.et-l) :is(h1, h2, h3, h4) {
	padding-bottom: 0;
	text-wrap: balance;
}

:where(.et-l) a {
	transition: color 0.2s;
}

/* Dark text on the cream band renders crisper with the browser's normal smoothing (Divi forces
   antialiased, which thins dark-on-light text on Macs). */
.ak-band {
	-webkit-font-smoothing: auto;
	-moz-osx-font-smoothing: auto;
}

:focus-visible {
	outline: 2px solid var(--ak-brass);
	outline-offset: 3px;
}

/* Paragraph spacing inside our prose blocks: 16px between paragraphs, none after the last. */
:where(.et-l) .et_pb_text_inner p:last-child {
	padding-bottom: 0;
}

/* Our own lists: no Divi bullets or indents. */
.et-l ul:is(.ak-trust, .ak-curl-list, .ak-facts, .ak-footer__list),
.et-l ol:is(.ak-steps__list, .ak-crumbs) {
	list-style: none;
	margin: 0;
	padding: 0;
	line-height: inherit;
}

/* ---------------------------------------------------------------- script accent */

.ak-script {
	font-family: var(--ak-script);
	font-weight: 400;
	font-style: normal;
	color: var(--ak-brass);
	font-size: 1.15em;
	line-height: 0.9;
	letter-spacing: 0;
	padding-right: 0.05em;
}

/* In every H1 the script word sits on its own line (design: h1 .script { display: block }). */
.et-l h1 .ak-script {
	display: block;
	margin-top: 0.14em;
	line-height: 1.1;
}

.ak-hero--inner h1 .ak-script {
	line-height: 0.9;
}

/* Headings that are links (kitchen cards, style cards). */
.et-l :is(h2, h3) a {
	color: inherit;
	text-decoration: none;
}

.et-l :is(h2, h3) a:hover {
	color: var(--ak-brass);
}

.ak-type h2 a:hover .ak-script {
	color: var(--ak-text);
}

/* Text link with the 1px gold underline. */
/* Text link: gold hairline underneath; on hover a brighter line sweeps across it and an arrow slides in. */
.ak-text-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0;
	color: var(--ak-text);
	font-weight: 500;
	font-size: 16px;
	text-decoration: none;
	padding-bottom: 4px;
	background: linear-gradient(var(--ak-brass), var(--ak-brass)) left bottom / 100% 1px no-repeat,
		linear-gradient(var(--ak-text), var(--ak-text)) left bottom / 0 1px no-repeat;
	transition: color 0.3s, gap 0.35s ease, background-size 0.5s ease;
}

.ak-text-link::after {
	content: "\2192";
	display: inline-block;
	width: 0;
	overflow: hidden;
	opacity: 0;
	transition: width 0.35s ease, opacity 0.35s ease;
}

.ak-text-link:hover {
	color: var(--ak-brass);
	gap: 10px;
	background-size: 100% 1px, 100% 1px;
}

.ak-text-link:hover::after {
	width: 1em;
	opacity: 1;
}

/* ---------------------------------------------------------------- buttons */

/* Divi sets colours, borders, font and padding (presets). We only add the box model the design needs. */
.et-l .et_pb_button:where([class*="preset--module--divi-button--ak-"]) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	text-align: center;
}

.et-l .et_pb_button:where(.preset--module--divi-button--ak-btn-header, .preset--module--divi-button--ak-btn-phone) {
	min-height: 40px;
	gap: 8px;
}

@media (max-width: 980px) {
	.et-l .et_pb_button:where(.preset--module--divi-button--ak-btn-header, .preset--module--divi-button--ak-btn-phone) {
		min-height: 44px;
	}
}

/* Phone icon on the header button (the designer's icon-phone.svg). Drawn on the inner span, in the text
   colour, so it turns navy with the text on hover. Divi's own button pseudo-elements are left alone. */
.ak-btn-phone .et-pb-parallax-content {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.ak-btn-phone .et-pb-parallax-content::before {
	content: "";
	flex: none;
	width: 14px;
	height: 14px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------------------------------------------------------------- header and menu */

.ak-header {
	position: relative;
	z-index: 20;
}

.ak-logo img {
	width: clamp(150px, 18vw, 220px);
	height: auto;
}

.ak-menu .et-menu > li {
	padding-left: 14px;
	padding-right: 14px;
}

.ak-menu .et-menu > li:last-child {
	padding-right: 0;
}

.ak-menu .et-menu > li > a {
	position: relative;
	padding-top: 10px;
	padding-bottom: 10px;
}

.ak-menu .et-menu a:hover,
.ak-menu .et-menu .current-menu-item > a,
.ak-menu .et-menu .current-menu-ancestor > a {
	color: var(--ak-brass);
	opacity: 1;
}

/* Top-level links: a gold hairline grows from the centre on hover (and stays on the current page). */
.ak-menu .et-menu > li > a::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 2px;
	height: 1px;
	background: var(--ak-brass);
	transform: scaleX(0);
	transition: transform 0.35s ease;
}

.ak-menu .et-menu > li.menu-item-has-children > a::before {
	right: 20px;
}

.ak-menu .et-menu > li > a:hover::before,
.ak-menu .et-menu > li:is(.current-menu-item, .current-menu-ancestor) > a::before {
	transform: scaleX(1);
}

/* Dropdown: 280px panel, 2px gold top rule, hairline sides, soft shadow, 12px x 22px items. */
.ak-menu .nav li ul.sub-menu {
	width: auto;
	min-width: 280px;
	padding: 10px 0;
	border: 1px solid var(--ak-line);
	border-top: 2px solid var(--ak-brass);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.ak-menu .nav li ul.sub-menu li {
	padding: 0;
	width: 100%;
}

.ak-menu .nav li ul.sub-menu a {
	display: block;
	width: auto;
	padding: 12px 22px;
	white-space: nowrap;
}

.ak-menu .nav li ul.sub-menu a {
	transition: color 0.25s, background-color 0.25s, padding-left 0.3s ease;
}

.ak-menu .nav li ul.sub-menu a:hover {
	background-color: var(--ak-alt);
	padding-left: 28px;
}

/* Chevron on Our Kitchens: vertically centred on the text (Divi pins it to the top of the link), and it
   turns while the dropdown is open. */
.ak-menu .et-menu .menu-item-has-children > a:first-child::after {
	top: 50%;
	line-height: 1;
	transform: translateY(-50%);
	transition: transform 0.25s ease;
}

.ak-menu .et-menu .menu-item-has-children:is(:hover, :focus-within) > a:first-child::after {
	transform: translateY(-50%) rotate(180deg);
}

/* ---- Mobile menu (tablet and phone, below 981px)
   Divi positions the menu panel inside the menu module, which here is a narrow column beside the logo, so
   the panel came out a few words wide (and Divi's script pins that row with an inline position, so it can't
   simply be undone in CSS). Instead the open panel is fixed to the screen, full width, directly under the
   whole header: js/motion.js keeps --ak-header-bottom at the header's bottom edge. */
@media (max-width: 980px) {
	.ak-menu .et_mobile_menu {
		position: fixed;
		top: var(--ak-header-bottom, 160px);
		left: 0;
		right: 0;
		width: auto;
		max-height: calc(100vh - var(--ak-header-bottom, 160px));
		overflow-y: auto;
		overscroll-behavior: contain;
		margin: 0;
		padding: 8px 0 16px;
		border-top: 2px solid var(--ak-brass);
		box-shadow: 0 24px 40px rgba(0, 0, 0, 0.45);
		text-align: left;
	}

	.ak-menu .et_mobile_menu li {
		padding: 0;
	}

	.ak-menu .et_mobile_menu li a {
		display: block;
		font-size: 13px;
		line-height: 1.3;
		letter-spacing: 0.16em;
		text-transform: uppercase;
		padding: 16px max(var(--gvid-ak-gutter-phone, 16px), 24px);
		border-bottom: 1px solid var(--ak-line);
		white-space: normal;
	}

	/* The three kitchen styles: indented, no caps, with a short gold dash. */
	.ak-menu .et_mobile_menu .sub-menu {
		padding: 0;
		margin: 0;
		background: var(--ak-bg);
	}

	.ak-menu .et_mobile_menu .sub-menu li a {
		padding-left: 52px;
		font-size: 15px;
		letter-spacing: 0.02em;
		text-transform: none;
		position: relative;
	}

	.ak-menu .et_mobile_menu .sub-menu li a::before {
		content: "";
		position: absolute;
		left: 26px;
		top: 50%;
		width: 14px;
		border-top: 1px solid var(--ak-brass);
	}

	.ak-menu .et_mobile_menu li a:hover,
	.ak-menu .et_mobile_menu .current-menu-item > a {
		color: var(--ak-brass);
		background-color: var(--ak-alt);
		opacity: 1;
	}

	.ak-menu .et_mobile_menu .menu-item-has-children > a {
		background-color: transparent;
		font-weight: 500;
	}
}

.ak-menu .mobile_menu_bar::before {
	color: var(--ak-text);
	transition: transform 0.3s ease, color 0.2s;
}

/* Hamburger turns into a close icon while the menu is open (ETmodules "M" is the close glyph). */
.ak-menu .mobile_nav.opened .mobile_menu_bar::before {
	content: "M";
	color: var(--ak-brass);
	transform: rotate(90deg);
}

/* Header buttons on tablet and phone: two equal buttons side by side that always fit the screen. */
@media (max-width: 980px) {
	.ak-header .ak-header__buttons {
		flex-wrap: nowrap;
		gap: 10px;
	}

	.ak-header .ak-header__buttons > .et_pb_button_module_wrapper {
		flex: 1 1 0;
		min-width: 0;
	}

	.ak-header .ak-header__buttons .et_pb_button {
		width: 100%;
		padding-left: 10px;
		padding-right: 10px;
		white-space: nowrap;
	}
}

/* ---------------------------------------------------------------- hero and photos */

/* Framed photo: a 1px gold frame behind, 18px right and down (10px on phones). Works on an Image module or
   the hero slideshow (Gallery). No hover effect: these photos aren't links. */
.ak-frame :is(.et_pb_image_wrap, .et_pb_gallery_items) {
	position: relative;
	display: block;
	isolation: isolate;
}

.ak-frame :is(.et_pb_image_wrap, .et_pb_gallery_items)::after {
	content: "";
	position: absolute;
	inset: 18px -18px -18px 18px;
	border: 1px solid var(--ak-brass);
	z-index: -1;
	pointer-events: none;
	/* The gallery container's ::after is Divi's clearfix (hidden, zero height): undo that. */
	display: block;
	visibility: visible;
	height: auto;
}

/* ---- Hero slideshow: a Divi Gallery module (.ak-slides). The photos are stacked and crossfade, each one
   slowly zooming (js/motion.js adds .is-on to the current slide). Without the script only the first shows. */
.ak-slides .et_pb_gallery_items {
	aspect-ratio: 768 / 640;
	display: block;
}

.ak-slides .et_pb_gallery_item {
	position: absolute;
	inset: 0;
	width: 100%;
	margin: 0;
	padding: 0;
	opacity: 0;
	overflow: hidden;
	transition: opacity 1.4s ease;
}

.ak-slides .et_pb_gallery_item:first-child,
.ak-slides.is-running .et_pb_gallery_item.is-on {
	opacity: 1;
	z-index: 1;
}

.ak-slides.is-running .et_pb_gallery_item:first-child:not(.is-on) {
	opacity: 0;
	z-index: 0;
}

.ak-slides :is(.et_pb_gallery_image, .et_pb_gallery_image a) {
	display: block;
	height: 100%;
	pointer-events: none;
	cursor: default;
}

.ak-slides .et_pb_gallery_image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform-origin: 60% 50%;
}

.ak-slides .et_pb_gallery_item.is-on img {
	animation: ak-kenburns 9s ease-out forwards;
}

.ak-slides .et_overlay {
	display: none;
}

@keyframes ak-kenburns {
	from { transform: scale(1.0); }
	to { transform: scale(1.09); }
}

/* Slide counter dots under the hero photo. */
.ak-slides__dots {
	position: absolute;
	z-index: 2;
	left: 18px;
	bottom: 16px;
	display: flex;
	gap: 8px;
}

.ak-slides__dots button {
	width: 26px;
	height: 3px;
	padding: 0;
	border: 0;
	background: rgba(243, 239, 230, 0.55);
	box-shadow: 0 0 0 1px rgba(14, 24, 38, 0.35), 0 2px 8px rgba(0, 0, 0, 0.35);
	cursor: pointer;
	transition: background-color 0.3s, width 0.4s ease;
}

.ak-slides__dots button[aria-current="true"] {
	width: 44px;
	background: var(--ak-brass);
}

/* ---- Photo hover, only on photos that are links (the kitchen cards on Home and the "Explore our other
   styles" cards): slow zoom, a soft navy veil and a fine gold frame. Other photos have no hover. */
.ak-crop .et_pb_image_wrap {
	position: relative;
	overflow: hidden;
}

.ak-crop .et_pb_image_wrap::before,
.ak-crop .et_pb_image_wrap::after {
	content: "";
	position: absolute;
	pointer-events: none;
	z-index: 1;
	transition: opacity 0.6s ease, inset 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.ak-crop .et_pb_image_wrap::before {
	inset: 0;
	background: linear-gradient(180deg, rgba(14, 24, 38, 0) 40%, rgba(14, 24, 38, 0.55));
	opacity: 0;
}

.ak-crop .et_pb_image_wrap::after {
	inset: 30px;
	border: 1px solid rgba(210, 178, 116, 0.9);
	opacity: 0;
}

.ak-crop img {
	transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.6s ease;
}

:is(.ak-type, .ak-style-card):hover .ak-crop img {
	transform: scale(1.06);
	filter: saturate(1.08);
}

:is(.ak-type, .ak-style-card):hover .ak-crop .et_pb_image_wrap::before {
	opacity: 1;
}

:is(.ak-type, .ak-style-card):hover .ak-crop .et_pb_image_wrap::after {
	inset: 14px;
	opacity: 1;
}

/* Linked photos (kitchen cards): "View" label rises into the frame. */
.ak-crop a {
	position: relative;
}

.ak-crop a::after {
	content: "View kitchens";
	position: absolute;
	z-index: 2;
	left: 50%;
	bottom: 30px;
	transform: translate(-50%, 12px);
	padding: 8px 16px;
	font: 500 12px/1 var(--ak-sans);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ak-text);
	opacity: 0;
	transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
	white-space: nowrap;
}

:is(.ak-type, .ak-style-card):hover .ak-crop a::after,
.ak-crop a:focus-visible::after {
	opacity: 1;
	transform: translate(-50%, 0);
}

.ak-frame img,
.ak-crop img {
	display: block;
	width: 100%;
	object-fit: cover;
}

.ak-frame--home img { aspect-ratio: 768 / 640; }
.ak-frame--4x3 img { aspect-ratio: 4 / 3; }
.ak-crop--card img { aspect-ratio: 4 / 4.2; }
.ak-crop--story img { aspect-ratio: 4 / 4.4; }
.ak-crop--3x2 img { aspect-ratio: 3 / 2; }
.ak-crop--16x10 img { aspect-ratio: 16 / 10; }
.ak-crop--4x5 img { aspect-ratio: 4 / 5; }

.ak-crop .et_pb_image_wrap,
.ak-crop a {
	display: block;
}

.ak-frame--home .et_pb_image_wrap img {
	aspect-ratio: 768 / 640;
}

@media (max-width: 700px) {
	.ak-frame :is(.et_pb_image_wrap, .et_pb_gallery_items)::after {
		inset: 10px -10px -10px 10px;
	}
}

.ak-lede p {
	max-width: 60ch;
}

/* Trust row: four items spread across, each with the gold scroll in front. Stacks at 700px. */
.ak-trust {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px 32px;
	font-size: 15px;
	letter-spacing: 0.02em;
	color: var(--ak-muted);
}

.ak-trust li {
	display: flex;
	align-items: center;
	gap: 12px;
}

.ak-trust li::before,
.ak-curl-list li::before {
	content: "";
	flex: none;
	width: 30px;
	height: 14px;
	background: var(--ak-brass);
	-webkit-mask: var(--ak-curl) center / contain no-repeat;
	mask: var(--ak-curl) center / contain no-repeat;
}

@media (max-width: 700px) {
	.ak-trust {
		flex-direction: column;
	}
}

/* ---------------------------------------------------------------- flourish divider */

.ak-ribbon {
	position: relative;
	height: 56px;
}

.ak-ribbon--slim {
	height: 34px;
}

.ak-ribbon svg {
	fill: none;
	stroke: var(--ak-brass);
	stroke-linecap: round;
}

.ak-ribbon__lines {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	stroke-width: 1.2;
}

.ak-ribbon__lines path {
	vector-effect: non-scaling-stroke;
}

.ak-ribbon__knot {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 150px;
	height: 60px;
	transform: translate(-50%, -50%);
	stroke-width: 1.4;
}

.ak-ribbon--slim .ak-ribbon__knot {
	width: 110px;
	height: 44px;
}

.ak-knot-ground {
	fill: var(--ak-bg);
	stroke: none;
}

@media (prefers-reduced-motion: no-preference) {
	.ak-ribbon__lines path {
		stroke-dasharray: 2400;
		stroke-dashoffset: 2400;
		animation: ak-draw 2.4s ease-out 0.2s forwards;
	}
}

@keyframes ak-draw {
	to {
		stroke-dashoffset: 0;
	}
}

/* ---------------------------------------------------------------- kitchen cards (home) */

.ak-num {
	font: 500 12px/1 var(--ak-sans);
	letter-spacing: 0.16em;
	color: var(--ak-brass);
	margin-top: 22px;
}

.ak-num--big {
	font: 500 28px/1 var(--ak-serif);
	letter-spacing: 0;
	margin-top: 0;
}

@media (min-width: 861px) {
	.ak-type--drop {
		margin-top: 48px;
	}
}

/* ---------------------------------------------------------------- facts and assurance strips */

.ak-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	border-top: 1px solid var(--ak-line);
}

.ak-facts li {
	padding: 18px 16px 18px 0;
	border-bottom: 1px solid var(--ak-line);
}

.ak-facts strong {
	display: block;
	font: 500 24px/1.2 var(--ak-serif);
	color: var(--ak-text);
}

.ak-facts span {
	font-size: 13px;
	color: var(--ak-muted);
}

.ak-facts--assure li {
	padding: 26px 24px 26px 0;
	border-bottom: 0;
}

.ak-facts--assure {
	border-bottom: 1px solid var(--ak-line);
}

.ak-facts--assure strong {
	font-size: 26px;
}

/* ---------------------------------------------------------------- cream magazine band */

.ak-band__title em {
	font-style: italic;
	color: var(--ak-band-brass);
}

/* ---------------------------------------------------------------- home process (5 steps) */

.ak-steps {
	position: relative;
}

.ak-steps__wave {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	width: 100%;
	height: 28px;
	fill: none;
	stroke: var(--ak-brass);
	stroke-width: 1.1;
}

.ak-steps__wave path {
	vector-effect: non-scaling-stroke;
}

.ak-steps__list {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
}

.ak-step {
	position: relative;
	padding: 46px 24px 0 0;
	min-width: 0;
}

.ak-step::before {
	content: "";
	position: absolute;
	left: -4px;
	top: 10px;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--ak-alt);
	border: 1px solid var(--ak-brass);
}

.ak-step__no {
	font: 500 28px/1 var(--ak-serif);
	color: var(--ak-brass);
}

.et-l .ak-step h3 {
	font: 500 15px/1.3 var(--ak-sans);
	color: var(--ak-text);
	margin: 12px 0 8px;
}

.ak-step p {
	font-size: 14px;
	color: var(--ak-muted);
}

/* Phones and tablets: the steps stack on a vertical gold line with a 28px indent. (Same specificity as the
   list reset at the top, which otherwise wiped this padding out.) */
@media (max-width: 900px) {
	.et-l ol.ak-steps__list {
		grid-template-columns: 1fr;
		gap: 28px;
		padding-left: 28px;
		border-left: 1px solid var(--ak-brass);
	}

	.ak-steps__wave {
		display: none;
	}

	.ak-step {
		padding: 0;
	}

	.ak-step::before {
		left: -33px;
		top: 8px;
	}
}

/* ---------------------------------------------------------------- Our Process timeline */

/* Each stage row sits on one continuous gold line (at the container's content edge) with a ring
   marker. The 40px indent and 56px gaps are the rows' own Divi padding. */
.ak-phase {
	position: relative;
	--ak-line-x: var(--gvid-ak-gutter, 24px);
}

.ak-phase::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: var(--ak-line-x);
	border-left: 1px solid var(--ak-brass);
}

@media (max-width: 767px) {
	.ak-phase {
		--ak-line-x: var(--gvid-ak-gutter-phone, 16px);
	}
}

.ak-phase::before {
	content: "";
	position: absolute;
	z-index: 1;
	left: calc(var(--ak-line-x) - 5px);
	top: 10px;
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: var(--ak-bg);
	border: 1px solid var(--ak-brass);
}

/* Bullet lists with the gold scroll. */
.ak-curl-list {
	display: grid;
	gap: 14px;
}

.ak-curl-list li {
	display: flex;
	gap: 14px;
	align-items: baseline;
	color: var(--ak-text);
}

.ak-curl-list li::before {
	width: 26px;
	height: 12px;
	transform: translateY(1px);
}

.ak-curl-list--muted li {
	color: var(--ak-muted);
}

.ak-list-intro {
	color: var(--ak-text);
	padding-bottom: 28px;
}

/* ---------------------------------------------------------------- gallery mosaic */

/* A Divi Gallery module laid out as the design's mosaic. The grid itself (12 columns, 2 on phones, row
   height, gaps) is the gallery's own Divi Layout setting; this adds which photos are wide: in every run of
   six the 1st, 4th and 5th span 8 columns. Phones: the 1st and 6th of each six span both columns.
   Clicking a photo opens Divi's lightbox; on hover a gold "+" in a ring tells people they can. */

/* The container has Divi's .clearfix, whose ::before/::after would become extra (empty) grid cells. */
.ak-mosaic .et_pb_gallery_items::before,
.ak-mosaic .et_pb_gallery_items::after {
	content: none;
}
.ak-mosaic .et_pb_gallery_item {
	grid-column: span 4;
	width: auto;
	margin: 0;
	padding: 0;
	min-width: 0;
	clear: none;
}

.ak-mosaic .et_pb_gallery_item:is(:nth-child(6n + 1), :nth-child(6n + 4), :nth-child(6n + 5)) {
	grid-column: span 8;
}

.ak-mosaic :is(.et_pb_gallery_image, .et_pb_gallery_image a) {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	overflow: hidden;
	cursor: zoom-in;
}

.ak-mosaic .et_pb_gallery_image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.6s ease;
}

/* Divi's own overlay is replaced by ours. */
.ak-mosaic .et_overlay {
	display: none;
}

.ak-mosaic .et_pb_gallery_image a::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: radial-gradient(circle at 50% 50%, rgba(14, 24, 38, 0.15), rgba(14, 24, 38, 0.6));
	opacity: 0;
	transition: opacity 0.5s ease;
}

.ak-mosaic .et_pb_gallery_image a::after {
	content: "+";
	position: absolute;
	z-index: 2;
	left: 50%;
	top: 50%;
	width: 58px;
	height: 58px;
	display: grid;
	place-items: center;
	border: 1px solid var(--ak-brass);
	border-radius: 50%;
	font: 300 30px/1 var(--ak-sans);
	color: var(--ak-text);
	background: rgba(14, 24, 38, 0.35);
	backdrop-filter: blur(3px);
	opacity: 0;
	transform: translate(-50%, -50%) scale(0.6) rotate(-90deg);
	transition: opacity 0.45s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.ak-mosaic .et_pb_gallery_image:hover img {
	transform: scale(1.07);
	filter: saturate(1.1);
}

.ak-mosaic .et_pb_gallery_image:hover a::before,
.ak-mosaic .et_pb_gallery_image a:focus-visible::before {
	opacity: 1;
}

.ak-mosaic .et_pb_gallery_image:hover a::after,
.ak-mosaic .et_pb_gallery_image a:focus-visible::after {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1) rotate(0deg);
}

@media (max-width: 767px) {
	.ak-mosaic .et_pb_gallery_item,
	.ak-mosaic .et_pb_gallery_item:is(:nth-child(6n + 1), :nth-child(6n + 4), :nth-child(6n + 5)) {
		grid-column: span 1;
	}

	.ak-mosaic .et_pb_gallery_item:is(:nth-child(6n + 1), :nth-child(6n + 6)) {
		grid-column: span 2;
	}
}

/* Divi's lightbox in the site's colours. */
/* Divi sets the backdrop's opacity on .mfp-bg.mfp-ready (two classes), so match that. */
.mfp-bg,
.mfp-bg.mfp-ready {
	background: #070c15;
	opacity: 0.95;
}

.mfp-figure::after {
	box-shadow: none;
	background: transparent;
}

/* Our galleries open with a fade (js/motion.js turns off Divi's zoom, which distorted the photos), and each
   photo fades in when you go to the next or previous one. */
.ak-lightbox .mfp-img {
	animation: ak-fade-in 0.45s ease both;
}

@keyframes ak-fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

/* Caption box under the photo (js/motion.js builds it): a navy panel with a gold top rule. First line: project
   name (serif) + style (small gold caps), with "2 / 6" on the right; below it the photo's description. */
/* Room for the box under the photo: Magnific shrinks the photo to fit the window minus this padding, and the
   box sits in it (pulled up by the same amount), so it never runs off the screen. */
.ak-lightbox img.mfp-img {
	padding-bottom: 118px;
}

.ak-lightbox .mfp-bottom-bar {
	margin-top: -118px;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	padding: 16px 22px 18px;
	background: var(--ak-surface);
	border-top: 2px solid var(--ak-brass);
	cursor: default;
}

.ak-lightbox .mfp-title {
	padding: 0;
	line-height: 1.2;
	color: var(--ak-muted);
}

.ak-lb-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 14px;
}

.ak-lightbox .mfp-counter {
	position: static;
	flex: none;
	padding-top: 6px;
	font: 400 13px/1 var(--ak-sans);
	letter-spacing: 0.12em;
	color: var(--ak-muted);
}

.ak-lb-name {
	font: 500 24px/1.1 var(--ak-serif);
	color: var(--ak-text);
}

.ak-lb-label {
	font: 500 11px/1 var(--ak-sans);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ak-brass);
}

.ak-lb-text {
	display: block;
	margin-top: 8px;
	font: 400 15px/1.5 var(--ak-sans);
	color: var(--ak-muted);
}

/* Phones: a little tighter. */
@media (max-width: 600px) {
	.ak-lightbox img.mfp-img {
		padding-bottom: 140px;
	}

	.ak-lightbox .mfp-bottom-bar {
		margin-top: -140px;
		padding: 12px 14px 14px;
	}

	.ak-lb-name {
		font-size: 21px;
	}

	.ak-lb-text {
		font-size: 14px;
	}
}

.mfp-arrow::after,
.mfp-close {
	color: var(--ak-brass);
	opacity: 1;
}

.ak-project + .ak-project {
	margin-top: clamp(40px, 5vw, 72px);
}

.ak-project__head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 8px 24px;
	padding-bottom: 14px;
	margin-bottom: 24px;
	border-bottom: 1px solid var(--ak-line);
}

.et-l .ak-project__head h3 {
	font: 500 30px/1.1 var(--ak-serif);
	color: var(--ak-text);
}

.ak-project__head span {
	font-size: 13px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ak-brass);
}

/* ---------------------------------------------------------------- "You're invited" box */

/* The card is a Divi column (max width and centring are its own Divi settings). The corner ornaments sit in
   a Code module made static, so they anchor to the card's corners rather than to the module. */
.ak-invite__card {
	position: relative;
	text-align: center;
	padding: clamp(40px, 5vw, 64px) clamp(24px, 6vw, 80px);
	border: 1px solid var(--ak-brass);
	outline: 1px solid var(--ak-line);
	outline-offset: 8px;
}

.ak-invite__card > .ak-invite__corners,
.ak-invite__corners .et_pb_code_inner {
	position: static;
	margin: 0;
}

.ak-invite__card > .et_pb_module {
	width: 100%;
}

/* Divi prints text-align: start on every Text module; these are centred. */
:is(.ak-invite__card, .ak-reviews) :is(.et_pb_text, .et_pb_heading) {
	text-align: center;
}


.ak-invite__card .ak-script {
	line-height: 0.9;
	padding-right: 0.04em;
}

.ak-invite__text p {
	max-width: 58ch;
	margin: 18px auto 30px;
}

.ak-invite__actions {
	justify-content: center;
}

.ak-invite__note {
	text-align: left;
	padding-left: 20px;
	border-left: 1px solid var(--ak-brass);
}

.ak-corner {
	position: absolute;
	width: 54px;
	height: 54px;
	fill: none;
	stroke: var(--ak-brass);
	stroke-width: 1.3;
	stroke-linecap: round;
}

.ak-corner .ak-fine {
	stroke-width: 0.8;
	opacity: 0.7;
}

.ak-corner--tl { top: 10px; left: 10px; }
.ak-corner--tr { top: 10px; right: 10px; transform: scaleX(-1); }
.ak-corner--bl { bottom: 10px; left: 10px; transform: scaleY(-1); }
.ak-corner--br { bottom: 10px; right: 10px; transform: scale(-1, -1); }

@media (max-width: 560px) {
	.ak-corner {
		width: 34px;
		height: 34px;
	}

	.ak-invite__note {
		text-align: center;
		border-left: 0;
		padding-left: 0;
	}
}

/* ---------------------------------------------------------------- reviews */

.ak-reviews .et_pb_column {
	text-align: center;
}

.ak-stars {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	font-weight: 500;
	color: var(--ak-text);
}

.ak-stars svg {
	width: 90px;
	height: 16px;
	fill: var(--ak-brass);
}

.ak-swash {
	display: block;
	width: 260px;
	max-width: 70%;
	height: 32px;
	margin: 0 auto;
	fill: none;
	stroke: var(--ak-brass);
	stroke-width: 1.2;
	stroke-linecap: round;
}

/* ---- Reviews carousel (js/motion.js): each Text module in .ak-carousel is a slide. With one review it is
   just the quote; with two or more, slides crossfade every 7s with arrows and dots, pausing on hover. */
.ak-carousel {
	position: relative;
	width: 100%;
}

.ak-carousel.is-running {
	display: grid;
}

.ak-carousel.is-running > .ak-carousel__slide {
	grid-area: 1 / 1;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity 0.8s ease, transform 0.8s ease, visibility 0s 0.8s;
}

.ak-carousel.is-running > .ak-carousel__slide.is-on {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: opacity 0.8s ease 0.15s, transform 0.8s ease 0.15s, visibility 0s;
}

.ak-carousel__nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	margin-top: 8px;
}

.ak-carousel__nav button {
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	color: var(--ak-muted);
	transition: color 0.25s, background-color 0.25s, width 0.4s ease;
}

.ak-carousel__nav .ak-carousel__arrow {
	width: 44px;
	height: 44px;
	font: 400 20px/1 var(--ak-sans);
	color: var(--ak-text);
	border: 1px solid rgba(210, 178, 116, 0.5);
}

.ak-carousel__nav .ak-carousel__arrow:hover {
	color: var(--ak-bg);
	background-color: var(--ak-brass);
}

.ak-carousel__nav .ak-carousel__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(183, 191, 204, 0.45);
}

.ak-carousel__nav .ak-carousel__dot[aria-current="true"] {
	width: 26px;
	border-radius: 4px;
	background: var(--ak-brass);
}

.ak-quote,
.ak-pull {
	margin: 22px auto;
	max-width: 1100px;
	padding: 0;
	border: 0;
	font: italic 500 clamp(26px, 3vw, 36px) / 1.3 var(--ak-serif);
	color: var(--ak-text);
	quotes: none;
}

.ak-quote p,
.ak-pull p {
	padding: 0;
}

.ak-cite {
	display: block;
	margin-top: 16px;
	font: 500 12px/1.4 var(--ak-sans);
	font-style: normal;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ak-muted);
}

/* About pull quote: gold rule on the left. */
.ak-pull {
	margin: 0;
	padding: 8px 0 8px 32px;
	border-left: 1px solid var(--ak-brass);
}

/* ---------------------------------------------------------------- About values */

.ak-value {
	padding-top: 22px;
	border-top: 1px solid var(--ak-brass);
}

/* ---------------------------------------------------------------- Contact map */

/* Google's free embed (no API key), tinted dark to sit in the navy page. */
.ak-map {
	position: relative;
	height: clamp(320px, 32vw, 520px);
	border: 1px solid var(--ak-line);
	overflow: hidden;
	background: var(--ak-bg);
}

.ak-map iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	filter: invert(0.9) hue-rotate(180deg) saturate(0.55) brightness(0.92) contrast(0.95);
	transition: filter 0.8s ease;
}


.ak-map__link {
	margin-top: 18px;
}

/* ---------------------------------------------------------------- CTA band */

.ak-cta__title h2 {
	max-width: 24ch;
}

.ak-cta__text p {
	max-width: 52ch;
}

@media (min-width: 981px) {
	.ak-cta__buttons {
		align-items: flex-end;
	}
}

/* "Explore our other styles": heading turns gold on hover of the card. */
.ak-style-card:hover h3 a {
	color: var(--ak-brass);
}

/* ---------------------------------------------------------------- contact */

.ak-phone-big {
	display: inline-block;
	margin: 28px 0;
	font: 500 40px/1 var(--ak-serif);
	color: var(--ak-brass);
	text-decoration: none;
}

.ak-address {
	font-style: normal;
	font-size: 14px;
	line-height: 1.65;
	color: var(--ak-muted);
	padding-top: 22px;
	border-top: 1px solid var(--ak-line);
}

.ak-address strong {
	color: var(--ak-text);
	font-weight: 500;
}

.ak-contact-cards {
	border-top: 1px solid var(--ak-line);
}

.ak-contact-cards > div {
	padding: 20px 0;
	border-bottom: 1px solid var(--ak-line);
}

.ak-contact-cards__lbl {
	display: block;
	font: 500 12px/1.4 var(--ak-sans);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ak-brass);
	margin-bottom: 6px;
}

.ak-contact-cards__val {
	font: 500 26px/1.25 var(--ak-serif);
	color: var(--ak-text);
	text-decoration: none;
}

.ak-contact-cards p {
	color: var(--ak-muted);
	font-size: 14px;
	margin-top: 4px;
}

/* ---------------------------------------------------------------- enquiry form (Gravity Forms) */

.ak-form .gform_wrapper.gravity-theme .gform_fields {
	grid-column-gap: 20px;
	grid-row-gap: 18px;
}

.ak-form .gform_wrapper.gravity-theme .gfield_label,
.ak-form .gform_wrapper.gravity-theme legend.gfield_label {
	font: 500 13px/1.4 var(--ak-sans);
	color: var(--ak-text);
	margin-bottom: 6px;
	padding: 0;
}

.ak-form .gform_wrapper.gravity-theme .gfield_required {
	color: var(--ak-brass);
}

.ak-form .gform_wrapper.gravity-theme :is(input[type="text"], input[type="email"], input[type="tel"], select, textarea) {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	font: 400 15px/1.4 var(--ak-sans);
	color: var(--ak-text);
	background-color: var(--ak-bg);
	border: 1px solid var(--ak-field);
	border-radius: 0;
	box-shadow: none;
}

.ak-form .gform_wrapper.gravity-theme textarea {
	min-height: 120px;
	height: 120px;
	resize: vertical;
}

.ak-form .gform_wrapper.gravity-theme select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23D2B274' stroke-width='1.4'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 36px;
}

.ak-form .gform_wrapper.gravity-theme :is(input, select, textarea):focus {
	outline: 2px solid var(--ak-brass);
	outline-offset: 0;
	border-color: var(--ak-brass);
}

/* Upload: dashed box. */
.ak-form .ak-upload .gform_drop_area,
.ak-form .ak-upload .ginput_container_fileupload {
	border: 1px dashed var(--ak-field);
	border-radius: 0;
	background: transparent;
	padding: 18px;
	color: var(--ak-muted);
	font-size: 14px;
}

.ak-form .ak-upload .gform_drop_instructions {
	color: var(--ak-muted);
}

.ak-form .ak-upload .gform_button_select_files {
	background: transparent;
	color: var(--ak-text);
	border: 1px solid var(--ak-text);
	border-radius: 0;
	font: 500 14px/1 var(--ak-sans);
	padding: 10px 16px;
	margin-left: 8px;
	cursor: pointer;
}

.ak-form .ak-upload .gform_button_select_files:hover {
	background: var(--ak-text);
	color: var(--ak-bg);
}

.ak-form .gform_wrapper.gravity-theme .gfield_description,
.ak-form .gform_wrapper.gravity-theme .gform_fileupload_rules {
	font-size: 12px;
	color: var(--ak-muted);
	padding-top: 8px;
}

.ak-form .ginput_preview {
	color: var(--ak-text);
	font-size: 13px;
}

/* Send enquiry: the gold button. */
.ak-form .gform_wrapper.gravity-theme .gform_footer {
	margin-top: 8px;
	padding: 0;
}

.ak-form .gform_wrapper.gravity-theme .gform_footer :is(input[type="submit"], button) {
	min-height: 48px;
	padding: 12px 24px;
	font: 500 15px/1 var(--ak-sans);
	letter-spacing: 0.02em;
	color: var(--ak-bg);
	background: var(--ak-brass);
	border: 1px solid var(--ak-brass);
	border-radius: 0;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s;
}

.ak-form .gform_wrapper.gravity-theme .gform_footer :is(input[type="submit"], button):hover {
	background: transparent;
	color: var(--ak-text);
}

/* Errors and the thank-you message: gold, on brand. */
.ak-form .gform_wrapper.gravity-theme .gform_validation_errors {
	background: transparent;
	border: 1px solid var(--ak-brass);
	border-radius: 0;
	box-shadow: none;
}

.ak-form .gform_wrapper.gravity-theme .gform_validation_errors > h2,
.ak-form .gform_wrapper.gravity-theme .gfield_validation_message,
.ak-form .gform_wrapper.gravity-theme .validation_message {
	color: var(--ak-brass);
	background: transparent;
	border: 0;
	padding: 6px 0 0;
	font-size: 13px;
}

.ak-form .gform_wrapper.gravity-theme .gfield_error :is(input, select, textarea) {
	border-color: var(--ak-brass);
}

.ak-form .gform_wrapper.gravity-theme .gfield_error .gfield_label {
	color: var(--ak-text);
}

.ak-form-thanks {
	font-size: 15px;
	color: var(--ak-brass);
	padding: 18px 0;
}

.ak-form-thanks a {
	color: var(--ak-text);
}

@media (max-width: 560px) {
	.ak-form .gform_wrapper.gravity-theme .gfield--width-half {
		grid-column: 1 / -1;
	}
}

/* ---------------------------------------------------------------- breadcrumbs */

/* Same specificity as the list reset at the top, which otherwise removes the margin. */
.et-l ol.ak-crumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 22px;
	font-size: 13px;
	color: var(--ak-muted);
}

.ak-crumbs li + li::before {
	content: "/";
	margin-right: 8px;
	color: var(--ak-line);
}

.ak-crumbs a {
	color: var(--ak-muted);
	text-decoration: none;
}

.ak-crumbs a:hover {
	color: var(--ak-brass);
}

/* ---------------------------------------------------------------- footer */

.ak-footer__brand img {
	width: 170px;
	height: auto;
}

/* Column heading. Divi zeroes the padding of the last paragraph in a text module (this one), so the gap
   to the list is a margin on the list instead. */
.ak-footer__h {
	font: 500 12px/1.4 var(--ak-sans);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ak-brass);
}

.et-l ul.ak-footer__list {
	display: grid;
	gap: 8px;
	margin-top: 16px;
	font-size: 15px;
	line-height: 1.45;
	color: var(--ak-text);
}

.ak-footer__list li {
	padding: 0;
}

.ak-footer__list a {
	color: var(--ak-text);
	text-decoration: none;
	transition: color 0.25s, padding-left 0.3s ease;
}

.ak-footer__list a:hover {
	color: var(--ak-brass);
	padding-left: 6px;
}

/* Copyright bar: hairline across the full footer. */
.ak-copyright {
	position: relative;
}

.ak-copyright::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 200vw;
	transform: translateX(-50%);
	border-top: 1px solid var(--ak-line);
}

.ak-footer {
	overflow-x: clip;
}

/* ---------------------------------------------------------------- motion (see js/motion.js) */

/* Motion runs for everyone, including visitors whose device asks for reduced motion (the client's
   decision, see docs/decisions.md). It only uses opacity, clip-path and transforms, so nothing shifts.
   - html.ak-js is set by a tiny inline script in <head> (includes/motion.php) before the page paints.
   - html.ak-motion is set by js/motion.js once it has tagged what to reveal, so without the script
     nothing is ever hidden. */

/* ---- Hero, on load: eyebrow, heading, text and buttons rise in turn; the script word writes itself in;
   the photo opens like a curtain. */
@keyframes ak-rise {
	from { opacity: 0; transform: translateY(26px); }
	to { opacity: 1; transform: none; }
}

@keyframes ak-write {
	from { clip-path: inset(-25% 100% -25% 0); }
	to { clip-path: inset(-25% -8% -25% 0); }
}

@keyframes ak-curtain {
	from { clip-path: inset(0 0 100% 0); }
	to { clip-path: inset(0 0 0 0); }
}

@keyframes ak-settle {
	from { scale: 1.16; }
	to { scale: 1; }
}

@keyframes ak-frame-in {
	from { opacity: 0; translate: -18px -18px; }
	to { opacity: 1; translate: 0 0; }
}

.ak-js .ak-hero .et_pb_row:first-child .et_pb_column:first-child > .et_pb_module {
	animation: ak-rise 1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.ak-js .ak-hero .et_pb_column:first-child > .et_pb_module:nth-child(1) { animation-delay: 0.05s; }
.ak-js .ak-hero .et_pb_column:first-child > .et_pb_module:nth-child(2) { animation-delay: 0.15s; }
.ak-js .ak-hero .et_pb_column:first-child > .et_pb_module:nth-child(3) { animation-delay: 0.3s; }
.ak-js .ak-hero .et_pb_column:first-child > .et_pb_module:nth-child(4) { animation-delay: 0.45s; }
.ak-js .ak-hero .et_pb_column:first-child > .et_pb_module:nth-child(5) { animation-delay: 0.6s; }

.ak-js .ak-hero h1 .ak-script {
	animation: ak-write 1.6s cubic-bezier(0.45, 0, 0.2, 1) 0.55s both;
}

.ak-js .ak-hero :is(.et_pb_image_wrap, .et_pb_gallery_item:first-child) {
	animation: ak-curtain 1.3s cubic-bezier(0.7, 0, 0.2, 1) 0.1s both;
}

.ak-js .ak-hero :is(.et_pb_image_wrap, .et_pb_gallery_item:first-child) img {
	animation: ak-settle 2.2s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s both;
}

.ak-js .ak-hero :is(.et_pb_image_wrap, .et_pb_gallery_items)::after {
	animation: ak-frame-in 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) 0.9s both;
}

.ak-js .ak-hero .et_pb_row + .et_pb_row {
	animation: ak-rise 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.8s both;
}

/* The flourish divider draws itself across the page. */
.ak-ribbon__lines path {
	stroke-dasharray: 2400;
	stroke-dashoffset: 2400;
	animation: ak-draw 2.4s ease-out 0.2s forwards;
}

.ak-motion .ak-ribbon.ak-reveal .ak-ribbon__lines path {
	animation-play-state: paused;
}

.ak-motion .ak-ribbon.ak-reveal.is-in .ak-ribbon__lines path {
	animation-play-state: running;
}

/* ---- On scroll: rows, cards and steps rise in (staggered by js/motion.js). */
.ak-motion .ak-reveal {
	opacity: 0;
	transform: translateY(32px);
	transition: opacity 1s cubic-bezier(0.2, 0.7, 0.2, 1), transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.ak-motion .ak-reveal.is-in {
	opacity: 1;
	transform: none;
}

/* Photos open like a curtain while the image settles from a slight zoom. */
.ak-motion .ak-reveal-img {
	clip-path: inset(0 0 100% 0);
	transition: clip-path 1.3s cubic-bezier(0.7, 0, 0.2, 1);
}

.ak-motion .ak-reveal-img img {
	scale: 1.16;
	transition: scale 2s cubic-bezier(0.2, 0.7, 0.2, 1), transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.6s ease;
}

.ak-motion .ak-reveal-img.is-in {
	clip-path: inset(0 0 0 0);
}

.ak-motion .ak-reveal-img.is-in img {
	scale: 1;
}

/* Script words in headings write themselves in from left to right. */
.ak-motion .ak-reveal-script .ak-script {
	display: inline-block;
	clip-path: inset(-25% 100% -25% 0);
	transition: clip-path 1.6s cubic-bezier(0.45, 0, 0.2, 1) 0.35s;
}

.et-l h1 .ak-reveal-script .ak-script,
.ak-motion .et-l h1.ak-reveal-script .ak-script {
	display: block;
}

.ak-motion .ak-reveal-script.is-in .ak-script {
	clip-path: inset(-25% -8% -25% 0);
}

/* Gold hairlines (section dividers, value cards) draw from left to right. */
.ak-motion .ak-value.ak-reveal {
	border-top-color: transparent;
	background: linear-gradient(var(--ak-brass), var(--ak-brass)) left top / 0 1px no-repeat;
	transition: opacity 1s ease, transform 1s ease, background-size 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s;
}

.ak-motion .ak-value.ak-reveal.is-in {
	background-size: 100% 1px;
}

/* Parallax photos drift a few pixels inside their crop (js/motion.js sets --ak-py every frame while scrolling).
   No transition on transform: it must follow the scroll exactly, or with a mouse wheel (which scrolls in
   smooth steps) the photo lags behind each step and springs back. Only the entrance zoom (scale) animates. */
.ak-motion .ak-parallax img {
	transform: translate3d(0, var(--ak-py, 0px), 0) scale(1.06);
	transition: scale 2s cubic-bezier(0.2, 0.7, 0.2, 1);
	will-change: transform;
}
