/*
Theme Name: Elevated Experiences
Theme URI: https://elevatedexperiences.org/
Author: Elevated Experiences
Description: Custom theme for Elevated Experiences: boutique retreats, concierge travel, culture tours and the See Yourself There shop. Built for WooCommerce.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: elevated
Tags: e-commerce, custom-menu, custom-logo, featured-images, wide-blocks
*/

/* ------------------------------------------------------------------
   Fonts (self-hosted, SIL Open Font License)
   ------------------------------------------------------------------ */
@font-face {
	font-family: "Gloock";
	src: url("assets/fonts/gloock.woff") format("woff");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Schibsted Grotesk";
	src: url("assets/fonts/schibsted.woff") format("woff");
	font-weight: 400 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Schibsted Grotesk";
	src: url("assets/fonts/schibsted-italic.woff") format("woff");
	font-weight: 400 900;
	font-style: italic;
	font-display: swap;
}

/* ------------------------------------------------------------------
   Tokens
   ------------------------------------------------------------------ */
:root {
	--ee-cenote: #0F3D45;
	--ee-cenote-2: #134A53;
	--ee-jungle: #1F5E4F;
	--ee-limestone: #EEF0EA;
	--ee-limestone-2: #E2E6DE;
	--ee-bougainvillea: #B8336A;
	--ee-bougainvillea-dark: #962652;
	--ee-sun: #F2C14E;
	--ee-ink: #0F1E22;
	--ee-ink-soft: #3E4F53;
	--ee-white: #FFFFFF;
	--ee-line: rgba(15, 30, 34, 0.14);

	--ee-serif: "Gloock", "Iowan Old Style", Georgia, serif;
	--ee-sans: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;

	--ee-step--1: 0.875rem;
	--ee-step-0: 1.0625rem;
	--ee-step-1: 1.3125rem;
	--ee-step-2: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
	--ee-step-3: clamp(2rem, 1.4rem + 2.4vw, 3rem);
	--ee-step-4: clamp(2.5rem, 1.6rem + 3.6vw, 4.25rem);
	--ee-step-5: clamp(3rem, 1.4rem + 6.4vw, 6.75rem);

	--ee-gutter: clamp(20px, 4vw, 48px);
	--ee-max: 1240px;
	--ee-measure: 760px;
	--ee-header-h: 76px;
	--ee-radius: 4px;
	--ee-ease: cubic-bezier(.2, .7, .2, 1);

	--wp--preset--color--cenote: var(--ee-cenote);
	--wp--preset--color--jungle: var(--ee-jungle);
	--wp--preset--color--limestone: var(--ee-limestone);
	--wp--preset--color--bougainvillea: var(--ee-bougainvillea);
	--wp--preset--color--sun: var(--ee-sun);
	--wp--preset--color--ink: var(--ee-ink);
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--ee-header-h) + 16px); }

body {
	margin: 0;
	background: var(--ee-white);
	color: var(--ee-ink);
	font-family: var(--ee-sans);
	font-size: var(--ee-step-0);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4, h5, h6 {
	font-family: var(--ee-serif);
	font-weight: 400;
	line-height: 1.12;
	letter-spacing: -0.01em;
	margin: 0 0 0.5em;
	text-wrap: balance;
}
h1 { font-size: var(--ee-step-4); }
h2 { font-size: var(--ee-step-3); }
h3 { font-size: var(--ee-step-2); }
h4 { font-size: var(--ee-step-1); }
h5, h6 { font-family: var(--ee-sans); font-size: var(--ee-step-0); font-weight: 600; }

p { margin: 0 0 1.1em; text-wrap: pretty; }

a { color: var(--ee-jungle); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--ee-bougainvillea); }

:focus-visible { outline: 2px solid var(--ee-bougainvillea); outline-offset: 3px; }

::selection { background: var(--ee-sun); color: var(--ee-ink); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; margin: 0;
	top: 12px; left: 12px; z-index: 1000;
	padding: 10px 16px; background: var(--ee-white); color: var(--ee-ink);
}

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

.ee-main { display: block; }
body:not(.ee-has-hero) .ee-main { padding-top: var(--ee-header-h); }

.ee-photo-missing {
	display: block; width: 100%; height: 100%; min-height: 220px;
	background:
		radial-gradient(120% 90% at 20% 10%, rgba(242, 193, 78, .35), transparent 60%),
		linear-gradient(160deg, var(--ee-jungle), var(--ee-cenote));
}

/* ------------------------------------------------------------------
   Buttons and links
   ------------------------------------------------------------------ */
.ee-btn,
.wp-block-button__link,
.wpcf7-submit,
.ee-content input[type="submit"] {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 48px; padding: 0.75em 1.4em;
	border: 1.5px solid transparent; border-radius: 999px;
	font-family: var(--ee-sans); font-size: 1rem; font-weight: 600; line-height: 1.1;
	text-decoration: none; cursor: pointer;
	transition: background-color .2s var(--ee-ease), color .2s var(--ee-ease), border-color .2s var(--ee-ease);
}
.ee-btn--accent { background: var(--ee-bougainvillea); color: var(--ee-white); }
.ee-btn--accent:hover { background: var(--ee-bougainvillea-dark); color: var(--ee-white); }
.ee-btn--dark,
.wp-block-button__link,
.wpcf7-submit,
.ee-content input[type="submit"] { background: var(--ee-cenote); color: var(--ee-white); }
.ee-btn--dark:hover,
.wp-block-button__link:hover,
.wpcf7-submit:hover,
.ee-content input[type="submit"]:hover { background: var(--ee-ink); color: var(--ee-white); }
.ee-btn--ghost { border-color: currentColor; color: var(--ee-cenote); background: transparent; }
.ee-btn--ghost:hover { background: var(--ee-cenote); border-color: var(--ee-cenote); color: var(--ee-white); }
.ee-btn--sun { background: var(--ee-sun); color: var(--ee-ink); }
.ee-btn--sun:hover { background: var(--ee-white); color: var(--ee-ink); }
.is-style-outline > .wp-block-button__link { background: transparent; border-color: currentColor; color: var(--ee-cenote); }

.ee-link { font-weight: 600; color: var(--ee-cenote); }
.ee-link-light { color: var(--ee-white); font-weight: 600; }
.ee-link-light:hover { color: var(--ee-sun); }

/* ------------------------------------------------------------------
   Header
   ------------------------------------------------------------------ */
.ee-header {
	position: fixed; inset: 0 0 auto 0; z-index: 50;
	height: var(--ee-header-h);
	background: rgba(238, 240, 234, .94);
	color: var(--ee-ink);
	border-bottom: 1px solid var(--ee-line);
	backdrop-filter: saturate(1.4) blur(10px);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	transition: background-color .3s var(--ee-ease), color .3s var(--ee-ease), border-color .3s var(--ee-ease);
}
.admin-bar .ee-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ee-header { top: 46px; } }

.ee-has-hero .ee-header:not(.is-solid):not(.is-open) {
	background: transparent; border-color: transparent; color: var(--ee-white);
	backdrop-filter: none; -webkit-backdrop-filter: none;
}

.ee-header-inner {
	height: 100%; max-width: var(--ee-max); margin-inline: auto; padding-inline: var(--ee-gutter);
	display: flex; align-items: center; gap: 24px;
}

.ee-brand { color: inherit; text-decoration: none; display: inline-flex; align-items: center; }
.ee-brand:hover { color: inherit; }
.ee-brand-logo { max-height: 48px; width: auto; }
.ee-brand-name {
	font-family: var(--ee-serif); font-size: 1.6rem; line-height: .95; letter-spacing: -0.01em;
	display: inline-flex; flex-direction: column; margin: 0;
}
.ee-brand-name span {
	font-family: var(--ee-sans); font-size: .72rem; font-weight: 500; letter-spacing: .32em;
	margin-top: 4px; opacity: .85;
}

.ee-nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.ee-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.ee-menu a {
	color: inherit; text-decoration: none; font-size: .95rem; font-weight: 500;
	padding: 6px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
	transition: background-size .25s var(--ee-ease);
}
.ee-menu a:hover,
.ee-menu .current-menu-item > a,
.ee-menu .current_page_item > a,
.ee-menu .current-menu-ancestor > a { background-size: 100% 1.5px; color: inherit; }
.ee-menu .menu-item-has-children { position: relative; }
.ee-menu .sub-menu {
	list-style: none; margin: 0; padding: 10px 0; position: absolute; top: 100%; left: -16px; min-width: 240px;
	background: var(--ee-white); color: var(--ee-ink); border-radius: var(--ee-radius);
	box-shadow: 0 18px 40px -18px rgba(15, 30, 34, .35);
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity .2s, transform .2s, visibility .2s;
}
.ee-menu .sub-menu a { display: block; padding: 8px 16px; background: none; }
.ee-menu .sub-menu a:hover { color: var(--ee-bougainvillea); }
.ee-menu .menu-item-has-children:hover > .sub-menu,
.ee-menu .menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }

.ee-nav-cta { min-height: 42px; padding: .6em 1.15em; font-size: .95rem; }

.ee-header-tools { display: flex; align-items: center; gap: 8px; }
.ee-cart {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; color: inherit; border-radius: 50%;
}
.ee-cart:hover { color: inherit; background: rgba(127, 127, 127, .14); }
.ee-cart-count {
	position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
	border-radius: 9px; background: var(--ee-bougainvillea); color: var(--ee-white);
	font-size: .7rem; font-weight: 700; line-height: 18px; text-align: center;
}
.ee-cart-count.is-empty { display: none; }

.ee-menu-toggle {
	display: none; width: 44px; height: 44px; border: 0; background: none; color: inherit; cursor: pointer; padding: 0;
}
.ee-menu-toggle-bars,
.ee-menu-toggle-bars::before,
.ee-menu-toggle-bars::after {
	display: block; width: 22px; height: 1.5px; background: currentColor; margin: 0 auto; position: relative;
	transition: transform .25s var(--ee-ease), background-color .2s;
}
.ee-menu-toggle-bars::before,
.ee-menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
.ee-menu-toggle-bars::before { top: -7px; }
.ee-menu-toggle-bars::after { top: 7px; }
.is-open .ee-menu-toggle-bars { background: transparent; }
.is-open .ee-menu-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.is-open .ee-menu-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
	/* A backdrop filter would make the header the containing block of the fixed menu panel. */
	.ee-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(238, 240, 234, .98); }
	.ee-menu-toggle { display: inline-flex; align-items: center; }
	.ee-header-tools { margin-left: auto; }
	.ee-nav {
		position: fixed; inset: var(--ee-header-h) 0 0 0; margin: 0;
		flex-direction: column; align-items: flex-start; gap: 28px;
		padding: 28px var(--ee-gutter) 40px;
		background: var(--ee-limestone); color: var(--ee-ink);
		overflow-y: auto;
		opacity: 0; visibility: hidden; transform: translateY(-8px);
		transition: opacity .25s var(--ee-ease), transform .25s var(--ee-ease), visibility .25s;
	}
	.admin-bar .ee-nav { top: calc(var(--ee-header-h) + 46px); }
	.is-open .ee-nav { opacity: 1; visibility: visible; transform: none; }
	.ee-menu { flex-direction: column; gap: 4px; width: 100%; }
	.ee-menu > li > a { display: block; font-family: var(--ee-serif); font-size: 2rem; font-weight: 400; padding: 6px 0; background: none; }
	.ee-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: none; padding: 0 0 8px 2px; min-width: 0; }
	.ee-menu .sub-menu a { padding: 4px 0; font-size: 1rem; }
	.ee-nav-cta { width: 100%; }
	.ee-header.is-open { color: var(--ee-ink); }
	body.ee-menu-open { overflow: hidden; }
}

/* ------------------------------------------------------------------
   Hero (homepage)
   ------------------------------------------------------------------ */
.ee-hero {
	position: relative; isolation: isolate; overflow: hidden;
	min-height: 100vh; min-height: 100svh;
	display: flex; align-items: flex-end;
	background: var(--ee-cenote); color: var(--ee-white);
}
.ee-hero-media { position: absolute; inset: 0; z-index: -2; }
.ee-hero-slide {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
	opacity: 0; transform: scale(1.06);
	transition: opacity 1.6s ease, transform 9s linear;
}
.ee-hero-slide.is-active { opacity: 1; transform: scale(1); }
.ee-hero-shade {
	position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(180deg, rgba(15, 30, 34, .55) 0%, rgba(15, 30, 34, 0) 22%),
		linear-gradient(20deg, rgba(15, 61, 69, .92) 8%, rgba(15, 61, 69, .55) 45%, rgba(15, 61, 69, .05) 80%);
}
.ee-hero-body { padding-top: calc(var(--ee-header-h) + 48px); padding-bottom: clamp(40px, 7vh, 88px); }
.ee-hero-title {
	font-size: var(--ee-step-5); line-height: .96; letter-spacing: -0.025em;
	max-width: 11ch; margin: 0 0 .35em;
}
.ee-hero-lede { font-size: var(--ee-step-1); line-height: 1.45; max-width: 36ch; margin-bottom: 2rem; color: rgba(255, 255, 255, .9); }

.ee-feel {
	max-width: 620px;
	padding: 22px 24px 24px;
	background: rgba(15, 30, 34, .38);
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 14px;
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.ee-feel-q { font-family: var(--ee-serif); font-size: 1.45rem; line-height: 1.2; margin: 0 0 14px; }
.ee-feel-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.ee-chip {
	min-height: 40px; padding: 0 16px; border-radius: 999px;
	border: 1.5px solid rgba(255, 255, 255, .55); background: transparent; color: var(--ee-white);
	font: 500 .95rem/1 var(--ee-sans); cursor: pointer;
	transition: background-color .2s var(--ee-ease), border-color .2s var(--ee-ease), color .2s;
}
.ee-chip:hover { border-color: var(--ee-white); }
.ee-chip[aria-checked="true"] { background: var(--ee-white); border-color: var(--ee-white); color: var(--ee-cenote); }
.ee-feel-answer { min-height: 6.2em; }
.ee-feel-text { margin: 0 0 14px; color: rgba(255, 255, 255, .92); transition: opacity .2s; }
.ee-feel-text.is-changing { opacity: 0; }
.ee-feel-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 0; }

/* ------------------------------------------------------------------
   Homepage sections
   ------------------------------------------------------------------ */
.ee-section-title { font-size: var(--ee-step-3); max-width: 20ch; }

.ee-intro { padding-block: clamp(72px, 11vw, 140px) clamp(48px, 7vw, 88px); }
.ee-intro-statement {
	font-family: var(--ee-serif); font-size: var(--ee-step-3); line-height: 1.18; letter-spacing: -0.012em;
	max-width: 24ch; margin: 0 0 .9em;
}
.ee-intro-who { max-width: 52ch; font-size: var(--ee-step-1); line-height: 1.5; color: var(--ee-ink-soft); margin: 0; padding-left: 20px; border-left: 3px solid var(--ee-sun); }

.ee-pillars { padding-bottom: clamp(56px, 8vw, 112px); }
.ee-pillars .ee-section-title { margin-bottom: clamp(32px, 5vw, 64px); }
.ee-pillar {
	max-width: var(--ee-max); margin: 0 auto clamp(48px, 7vw, 96px); padding-inline: var(--ee-gutter);
	display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center;
}
.ee-pillar:last-child { margin-bottom: 0; }
.ee-pillar-media { grid-column: 1 / span 7; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--ee-radius); background: var(--ee-limestone); }
.ee-pillar-media img, .ee-pillar-media .ee-photo-missing { width: 100%; height: 100%; object-fit: cover; }
.ee-pillar-body { grid-column: 9 / span 4; }
.ee-pillar--flip .ee-pillar-media { grid-column: 6 / span 7; grid-row: 1; }
.ee-pillar--flip .ee-pillar-body { grid-column: 1 / span 4; grid-row: 1; }
.ee-pillar-title { font-size: var(--ee-step-3); margin-bottom: .4em; }
.ee-pillar-body p { color: var(--ee-ink-soft); margin-bottom: 1.5em; }

.ee-hosted { background: var(--ee-cenote); color: var(--ee-white); padding-block: clamp(64px, 9vw, 120px); }
.ee-hosted-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(28px, 4vw, 48px); }
.ee-hosted-head .ee-section-title { margin: 0; }
.ee-hosted .ee-link { color: var(--ee-sun); }
.ee-hosted .ee-link:hover { color: var(--ee-white); }
.ee-hosted-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ee-hosted-item a { display: block; color: inherit; text-decoration: none; }
.ee-hosted-media { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--ee-radius); margin-bottom: 16px; background: var(--ee-cenote-2); }
.ee-hosted-media img, .ee-hosted-media .ee-photo-missing { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ee-ease); }
.ee-hosted-item a:hover img { transform: scale(1.035); }
.ee-hosted-date { display: block; color: var(--ee-sun); font-size: var(--ee-step--1); font-weight: 600; margin-bottom: 4px; }
.ee-hosted-name { display: block; font-family: var(--ee-serif); font-size: 1.5rem; line-height: 1.2; }
.ee-hosted-item a:hover .ee-hosted-name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }

.ee-steps { padding-block: clamp(72px, 10vw, 128px); }
.ee-steps-list { list-style: none; margin: clamp(28px, 4vw, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); counter-reset: ee-step; }
.ee-steps-list li { counter-increment: ee-step; border-top: 1px solid var(--ee-line); padding-top: 20px; }
.ee-steps-list li::before {
	content: counter(ee-step); display: block;
	font-family: var(--ee-serif); font-size: 3.5rem; line-height: 1; color: var(--ee-bougainvillea); margin-bottom: 14px;
}
.ee-steps-list h3 { font-size: var(--ee-step-2); margin-bottom: .35em; }
.ee-steps-list p { color: var(--ee-ink-soft); margin: 0; }

.ee-collection { background: var(--ee-limestone); padding-block: clamp(64px, 9vw, 120px); }
.ee-collection-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(28px, 4vw, 48px); }
.ee-collection-head .ee-section-title { margin-bottom: .25em; }
.ee-collection-head p { max-width: 48ch; color: var(--ee-ink-soft); margin: 0; }

.ee-products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ee-product-media { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--ee-radius); background: var(--ee-white); margin-bottom: 14px; }
.ee-product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ee-ease); }
.ee-product-media:hover img { transform: scale(1.04); }
.ee-product-title { font-family: var(--ee-sans); font-size: 1rem; font-weight: 600; line-height: 1.35; margin: 0 0 4px; }
.ee-product-title a { color: var(--ee-ink); text-decoration: none; }
.ee-product-title a:hover { color: var(--ee-bougainvillea); }
.ee-product-price { margin: 0; color: var(--ee-ink-soft); }
.ee-product-price del { opacity: .6; margin-right: 6px; }
.ee-product-price ins { text-decoration: none; color: var(--ee-bougainvillea); font-weight: 600; }

.ee-cta { background: var(--ee-jungle); color: var(--ee-white); padding-block: clamp(64px, 9vw, 112px); }
.ee-cta-inner { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; }
.ee-cta-title { font-size: var(--ee-step-4); line-height: 1.04; margin: 0; max-width: 18ch; }
.ee-cta-side p { margin: 20px 0 0; color: rgba(255, 255, 255, .82); }
.ee-cta-side a:not(.ee-btn) { color: var(--ee-white); }
.ee-cta-side a:not(.ee-btn):hover { color: var(--ee-sun); }

/* ------------------------------------------------------------------
   Pages
   ------------------------------------------------------------------ */
.ee-page-hero {
	position: relative; isolation: isolate; overflow: hidden;
	min-height: min(72vh, 680px); display: flex; align-items: flex-end;
	background: var(--ee-cenote); color: var(--ee-white);
}
.ee-page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.ee-page-hero-body { padding-top: calc(var(--ee-header-h) + 40px); padding-bottom: clamp(36px, 6vw, 72px); }
.ee-page-title { font-size: var(--ee-step-5); line-height: .98; letter-spacing: -0.022em; max-width: 14ch; margin: 0 0 .25em; }
.ee-page-lede { font-size: var(--ee-step-1); line-height: 1.45; max-width: 44ch; margin: 0; }
.ee-page-hero .ee-page-lede { color: rgba(255, 255, 255, .92); }

.ee-page-band { background: var(--ee-limestone); padding-block: clamp(48px, 8vw, 104px) clamp(32px, 5vw, 64px); }
.ee-page-band .ee-page-title { font-size: var(--ee-step-4); }
.ee-page-band .ee-page-lede { color: var(--ee-ink-soft); margin-bottom: 1em; }

/* Block content: centered measure with wide and full breakouts */
.ee-content { padding-block: clamp(48px, 7vw, 96px); }
.ee-page--bare .ee-content { padding-top: 0; }
.ee-content > * { max-width: var(--ee-measure); margin-inline: auto; padding-inline: var(--ee-gutter); box-sizing: content-box; }
.ee-content > .alignwide { max-width: 1140px; }
.ee-content > .alignfull { max-width: none; padding-inline: 0; box-sizing: border-box; }
.ee-content > .alignfull.has-background,
.ee-content > .alignfull.wp-block-group { padding-inline: var(--ee-gutter); }
.ee-content > .alignfull.wp-block-group > * { max-width: var(--ee-measure); margin-inline: auto; }
.ee-content > .alignfull.wp-block-group > .alignwide { max-width: 1140px; }
.ee-content > .alignfull.wp-block-group > .alignfull { max-width: none; }
.ee-content > :first-child { margin-top: 0; }
.ee-content > :last-child { margin-bottom: 0; }
.ee-content .alignleft { float: left; margin: .3em 1.5em 1em 0; }
.ee-content .alignright { float: right; margin: .3em 0 1em 1.5em; }
.ee-content .aligncenter { margin-inline: auto; }

.ee-content h2 { font-size: var(--ee-step-3); margin-top: 1.4em; }
.ee-content h3 { font-size: var(--ee-step-2); margin-top: 1.3em; }
.ee-content ul, .ee-content ol { padding-left: 1.2em; }
.ee-content li { margin-bottom: .4em; }
.ee-content li::marker { color: var(--ee-bougainvillea); }
.ee-content blockquote, .ee-content .wp-block-quote {
	border-left: 3px solid var(--ee-sun); margin-block: 2em; padding: .2em 0 .2em 1.25em;
	font-family: var(--ee-serif); font-size: var(--ee-step-2); line-height: 1.3;
}
.ee-content .wp-block-quote cite { display: block; font-family: var(--ee-sans); font-size: var(--ee-step--1); font-style: normal; margin-top: .8em; color: var(--ee-ink-soft); }
.ee-content hr, .ee-content .wp-block-separator { border: 0; border-top: 1px solid var(--ee-line); margin-block: 2.5em; }
.ee-content figure { margin-block: 2em; }
.ee-content figcaption { font-size: var(--ee-step--1); color: var(--ee-ink-soft); margin-top: .6em; }
.ee-content img { border-radius: var(--ee-radius); }
.ee-content .alignfull img, .ee-content .wp-block-cover img { border-radius: 0; }
.ee-content table { width: 100%; border-collapse: collapse; }
.ee-content th, .ee-content td { text-align: left; padding: .7em .6em; border-bottom: 1px solid var(--ee-line); }

.ee-content .wp-block-columns { gap: clamp(20px, 3vw, 40px); margin-block: 2em; }
.ee-content .wp-block-buttons { gap: 12px; margin-block: 1.6em; }
.ee-content .wp-block-cover { margin-block: 0 2.5em; }
.ee-content .wp-block-cover.alignfull { min-height: 72vh; }
.ee-content .wp-block-cover h1, .ee-content .wp-block-cover h2 { color: var(--ee-white); }
.ee-content .wp-block-cover h1 { font-size: var(--ee-step-5); line-height: .98; }
.ee-content .wp-block-group.has-background { padding-block: clamp(40px, 6vw, 80px); }
.ee-content .wp-block-spacer { padding: 0; }

/* Service page building blocks (used by setup content) */
.ee-content .ee-lead { font-family: var(--ee-serif); font-size: var(--ee-step-2); line-height: 1.3; }
.ee-content .ee-list-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.ee-content .ee-list-grid li { padding: 14px 0; margin: 0; border-top: 1px solid var(--ee-line); }
.ee-content .ee-list-grid li strong { display: block; font-family: var(--ee-serif); font-weight: 400; font-size: 1.3rem; line-height: 1.2; margin-bottom: 4px; }
.ee-content .ee-callout { background: var(--ee-limestone); border-radius: 10px; padding: clamp(24px, 4vw, 40px) clamp(24px, 4vw, 40px); }
.ee-content .ee-callout > :last-child { margin-bottom: 0; }

/* Forms (Contact Form 7 and general) */
.ee-content input[type="text"],
.ee-content input[type="email"],
.ee-content input[type="tel"],
.ee-content input[type="url"],
.ee-content input[type="number"],
.ee-content input[type="date"],
.ee-content input[type="search"],
.ee-content select,
.ee-content textarea {
	width: 100%; padding: 12px 14px; min-height: 48px;
	border: 1px solid rgba(15, 30, 34, .28); border-radius: 8px; background: var(--ee-white);
	font: inherit; color: var(--ee-ink);
}
.ee-content textarea { min-height: 160px; resize: vertical; }
.ee-content input:focus, .ee-content select:focus, .ee-content textarea:focus { outline: 2px solid var(--ee-jungle); outline-offset: 0; border-color: var(--ee-jungle); }
.wpcf7 label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 1.1em; }
.wpcf7 label .wpcf7-form-control-wrap { display: block; margin-top: 6px; font-weight: 400; }
.wpcf7-not-valid-tip { color: var(--ee-bougainvillea-dark); font-size: .9rem; margin-top: 4px; }
.wpcf7 form .wpcf7-response-output { margin: 1.2em 0 0; padding: 12px 16px; border-radius: 8px; }

/* Posts */
.ee-posts { padding-block: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 40px 28px; }
.ee-post-card-media img { aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--ee-radius); margin-bottom: 14px; }
.ee-post-card-title { font-size: 1.6rem; }
.ee-post-card-title a { color: var(--ee-ink); text-decoration: none; }
.ee-post-card-date { color: var(--ee-ink-soft); font-size: var(--ee-step--1); }
.ee-posts .pagination, .ee-posts .navigation { grid-column: 1 / -1; }

/* ------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------ */
.ee-footer { background: var(--ee-ink); color: rgba(255, 255, 255, .78); padding-top: clamp(56px, 8vw, 96px); font-size: .97rem; }
.ee-footer a { color: rgba(255, 255, 255, .9); text-decoration: none; }
.ee-footer a:hover { color: var(--ee-sun); }
.ee-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.ee-brand-name--footer { color: var(--ee-white); font-size: 2rem; margin-bottom: 16px; }
.ee-footer-brand p { max-width: 32ch; }
.ee-footer-base { color: rgba(255, 255, 255, .55); }
.ee-footer-h { font-family: var(--ee-sans); font-size: .95rem; font-weight: 600; color: var(--ee-white); margin: 6px 0 14px; letter-spacing: 0; }
.ee-footer-links { list-style: none; margin: 0; padding: 0; }
.ee-footer-links li { margin-bottom: 8px; }
.ee-footer-base-row {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
	margin-top: clamp(48px, 6vw, 72px); padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .12);
	font-size: .88rem; color: rgba(255, 255, 255, .55);
}
.ee-footer-base-row p { margin: 0; }
.ee-footer-legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 20px; }

/* ------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------ */
@media (max-width: 960px) {
	.ee-pillar { grid-template-columns: 1fr; gap: 20px; }
	.ee-pillar-media, .ee-pillar-body,
	.ee-pillar--flip .ee-pillar-media, .ee-pillar--flip .ee-pillar-body { grid-column: 1; grid-row: auto; }
	.ee-steps-list { grid-template-columns: 1fr; }
	.ee-products { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
	.ee-cta-inner { grid-template-columns: 1fr; }
	.ee-footer-grid { grid-template-columns: 1fr 1fr; }
	.ee-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
	.ee-hosted-list {
		grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%;
		overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px;
		margin-inline: calc(var(--ee-gutter) * -1); padding-inline: var(--ee-gutter);
		scroll-padding-inline: var(--ee-gutter);
	}
	.ee-hosted-item { scroll-snap-align: start; }
	.ee-feel { padding: 18px; }
	.ee-content .ee-list-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
	.ee-footer-grid { grid-template-columns: 1fr; }
	.ee-brand-name { font-size: 1.35rem; }
	.ee-brand-name span { font-size: .62rem; letter-spacing: .26em; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
	.ee-hero-slide { transform: none !important; }
}
