/* ==========================================================================
   Ibiza Landing — main stylesheet
   Design reference: 1920px artboard (LandingPage.ai)
   ========================================================================== */

:root {
	--teal: #196d6e;
	--teal-dark: #135556;
	--cream: #f5eedd;
	--mint: #abceca;

	--font: "MADE Tommy Soft", "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;

	--nav-h: clamp(60px, 4.6vw, 84px);
	--gutter: clamp(20px, 4.446vw, 85.8px);
	--maxw: 1480px;
	--radius: clamp(14px, 0.936vw, 18.72px);
	--line: clamp(2px, 0.125vw, 2.34px);

	--fs-display: clamp(3.2rem, 5.928vw, 7.488rem);
	--fs-kicker: clamp(1.15rem, 1.716vw, 2.262rem);
	--fs-lead: clamp(1.1rem, 1.365vw, 1.677rem);
	--fs-body: clamp(1rem, 0.975vw, 1.248rem);
	--fs-card: clamp(1.15rem, 1.521vw, 1.95rem);
}

/* --- Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--cream);
	color: var(--teal);
	font-family: var(--font);
	font-size: var(--fs-body);
	line-height: 1.45;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
figure { margin: 0; }
h1, h2, h3, p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 4px; }

.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 {
	position: absolute; left: 1rem; top: -100px; z-index: 1000;
	background: var(--cream); color: var(--teal); padding: .7em 1.2em; border-radius: 999px; font-weight: 700;
}
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 1100px; }
.center { display: flex; justify-content: center; }

/* --- Typography helpers ---------------------------------------------------- */
.display {
	font-size: var(--fs-display);
	font-weight: 800;
	line-height: .98;
	letter-spacing: .005em;
	text-transform: uppercase;
}
.kicker {
	font-size: var(--fs-kicker);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .01em;
	line-height: 1.1;
	margin-bottom: .45em;
}
.kicker--line { display: flex; align-items: center; gap: .9em; }
.kicker--line::after { content: ""; width: 3.2em; height: var(--line); background: currentColor; }
.lead { font-size: var(--fs-lead); line-height: 1.4; margin-top: .6em; max-width: 22em; }
.lead--xl { font-size: clamp(1.2rem, 1.833vw, 2.34rem); max-width: 16em; }
.body-text { font-size: clamp(1rem, 1.17vw, 1.521rem); line-height: 1.35; margin-top: .9em; }

/* --- Buttons -------------------------------------------------------------- */
.btn {
	--b: clamp(2px, 0.125vw, 2.34px);
	display: inline-flex; align-items: center; gap: .75em;
	margin-top: clamp(1.4rem, 1.872vw, 2.34rem);
	padding: .85em 1.6em;
	border: var(--b) solid currentColor; border-radius: 999px;
	font-size: clamp(.85rem, 0.78vw, 1.014rem); font-weight: 700; letter-spacing: .02em;
	text-transform: uppercase; text-decoration: none; line-height: 1;
	transition: background-color .25s, color .25s, transform .25s;
}
.btn .icon { width: 1.2em; height: 1.2em; transition: transform .25s; }
.btn:hover, .btn:focus-visible { background: var(--teal); color: var(--cream); border-color: var(--teal); }
.btn:hover .icon { transform: translateX(4px); }
.theme-teal .btn:hover, .theme-teal .btn:focus-visible { background: var(--cream); color: var(--teal); border-color: var(--cream); }
.btn--sm { font-size: clamp(.8rem, 0.741vw, 0.936rem); padding: .8em 1.5em; }
.btn--lg { font-size: clamp(1rem, 1.248vw, 1.56rem); padding: .8em 1.4em; font-weight: 600; }

/* --- Header --------------------------------------------------------------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	height: var(--nav-h);
	background: var(--teal); color: var(--cream);
	transition: background-color .35s, color .35s, box-shadow .35s;
}
.site-header::before { /* decorative shells & stars pattern */
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: currentColor; opacity: .07;
	-webkit-mask: url(../img/pattern.svg) 0 0 / 114px 97px repeat;
	        mask: url(../img/pattern.svg) 0 0 / 114px 97px repeat;
}
.site-header[data-theme="cream"] { background: var(--cream); color: var(--teal); box-shadow: inset 0 calc(var(--line) * -1) 0 var(--teal); }
.site-header[data-theme="cream"]::before { opacity: .09; }

.site-header__inner {
	position: relative; height: 100%;
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
	padding-inline: clamp(16px, 1.248vw, 24.96px);
	max-width: var(--maxw); margin-inline: auto;
}
.brand, .custom-logo-link { display: inline-flex; color: inherit; justify-self: start; }
.brand .icon-logo { height: calc(var(--nav-h) * .52); width: auto; }
.custom-logo { max-height: calc(var(--nav-h) * .6); width: auto; }

.nav-menu { display: flex; gap: clamp(1rem, 1.365vw, 1.872rem); }
.nav-menu a {
	position: relative; display: block; padding: .5em 0;
	font-size: clamp(.78rem, 0.764vw, 0.936rem); font-weight: 700; letter-spacing: .02em;
	text-transform: uppercase; text-decoration: none; white-space: nowrap;
}
.nav-menu a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: .1em; height: 2px;
	background: currentColor; transform: scaleX(0); transition: transform .3s;
}
.nav-menu a:hover::after, .nav-menu a.is-active::after, .nav-menu .current-menu-item > a::after { transform: scaleX(1); }

.site-header__tools { justify-self: end; display: flex; gap: .25rem; }
.icon-btn {
	display: grid; place-items: center; width: 44px; height: 44px;
	background: none; border: 0; border-radius: 50%; cursor: pointer;
}
.icon-btn .icon { width: clamp(18px, 1.6vw, 30px); height: auto; }
.icon-btn:hover { background: color-mix(in srgb, currentColor 12%, transparent); }
.menu-toggle { display: none; }
.menu-toggle .is-closed-hidden, .menu-toggle[aria-expanded="true"] .is-open-hidden { display: none; }
.menu-toggle[aria-expanded="true"] .is-closed-hidden { display: block; }

.search-panel {
	position: absolute; left: 0; right: 0; top: 100%;
	background: inherit; color: inherit; padding: 1rem var(--gutter) 1.4rem;
	box-shadow: 0 12px 24px rgb(0 0 0 / .12);
}
.search-form { display: flex; max-width: 760px; margin-inline: auto; border-bottom: 2px solid currentColor; }
.search-field {
	flex: 1; min-width: 0; background: transparent; border: 0; color: inherit;
	font: inherit; font-size: clamp(1.1rem, 1.248vw, 1.248rem); padding: .5em 0;
}
.search-field::placeholder { color: currentColor; opacity: .6; }
.search-field:focus { outline: none; }
.search-submit { background: none; border: 0; cursor: pointer; padding: 0 .4rem; }
.search-submit .icon { width: 24px; }
.page .search-form { margin: 1.5rem 0 0; color: var(--teal); }

@media (max-width: 1023px) {
	.site-header__inner { grid-template-columns: 1fr auto; }
	.menu-toggle { display: grid; }
	.site-nav {
		position: absolute; left: 0; right: 0; top: var(--nav-h);
		background: var(--teal); color: var(--cream);
		max-height: 0; overflow: hidden; visibility: hidden;
		transition: max-height .35s ease, visibility .35s;
	}
	.site-header[data-theme="cream"] .site-nav { background: var(--cream); color: var(--teal); }
	.site-nav.is-open { max-height: 80vh; visibility: visible; box-shadow: 0 16px 24px rgb(0 0 0 / .15); }
	.site-nav .nav-menu { flex-direction: column; gap: 0; padding: .5rem var(--gutter) 1.5rem; }
	.site-nav .nav-menu a { font-size: 1.05rem; padding: .9em 0; border-bottom: 1px solid color-mix(in srgb, currentColor 25%, transparent); }
	.site-nav .nav-menu a::after { display: none; }
	.site-nav .nav-menu a.is-active { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
}

/* --- Reveal animation ----------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ==========================================================================
   1. Hero
   ========================================================================== */
.hero {
	position: relative; overflow: hidden;
	min-height: clamp(520px, 44vw, calc(100svh - var(--nav-h)));
	display: flex; flex-direction: column; align-items: center;
	padding-top: clamp(56px, 6.552vw, 132.6px);
	text-align: center;
}
.hero__text { position: relative; z-index: 3; padding-inline: var(--gutter); display: flex; flex-direction: column; align-items: center; }
.hero__title { text-transform: uppercase; line-height: .9; }
.hero__line1 { display: block; font-weight: 500; font-size: clamp(2.6rem, 5.694vw, 7.332rem); letter-spacing: .005em; }
.hero__line2 { display: block; font-weight: 800; font-size: clamp(3.3rem, 7.8vw, 9.984rem); letter-spacing: .01em; }
.hero .btn { margin-top: clamp(1.4rem, 2.028vw, 2.496rem); background: var(--cream); }
.hero .btn:hover { background: var(--teal); }

.hero__art { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero__town {
	position: absolute; right: 0; bottom: 0;
	width: 88%; max-width: none;
	animation: hero-in 1.4s ease both;
}
.hero__palm {
	position: absolute; left: 0; bottom: 0; z-index: 2;
	width: 28%; max-width: none;
	transform-origin: 0 100%;
	animation: hero-in 1.4s .2s ease both, sway 9s 1.6s ease-in-out infinite alternate;
}
@keyframes hero-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes sway { from { transform: rotate(0); } to { transform: rotate(1.2deg); } }
@media (prefers-reduced-motion: reduce) { .hero__town, .hero__palm { animation: none; } }

@media (max-width: 900px) {
	.hero { min-height: 0; padding-bottom: 0; }
	.hero__art { position: relative; inset: auto; width: 100%; height: clamp(260px, 48.36vw, 374.4px); margin-top: -4vw; }
	.hero__town { width: auto; height: 100%; right: -12%; }
	.hero__palm { width: auto; height: 92%; left: -10%; }
}

/* ==========================================================================
   2. Explore
   ========================================================================== */
.explore { position: relative; padding-top: clamp(40px, 2.73vw, 54.6px); overflow: hidden; }
.explore__grid { position: relative; z-index: 2; min-height: clamp(0px, 33vw, 660px); display: flex; align-items: center; }
.explore__text { max-width: min(36rem, 34vw); padding-top: clamp(0px, 3.12vw, 62.4px); }
.explore .display { font-size: clamp(3.6rem, 7.488vw, 9.672rem); }
.explore__media {
	position: absolute; z-index: 1; right: 0; top: 0;
	width: 57vw; max-width: 1100px;
}
.explore__media img { width: 100%; }

.stats {
	display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
	gap: clamp(1rem, 1.56vw, 1.95rem) 0;
	padding-block: clamp(40px, 3.432vw, 70.2px) clamp(48px, 3.12vw, 62.4px);
}
.stat {
	display: grid; justify-items: center; align-content: start; text-align: center;
	padding-inline: clamp(1rem, 2.418vw, 3.12rem);
	position: relative;
}
.stat + .stat::before {
	content: ""; position: absolute; left: 0; top: 18%; height: 64%;
	width: var(--line); background: currentColor;
}
.stat__icon { height: clamp(28px, 2.262vw, 45.24px); width: auto; margin-bottom: .45em; }
.stat__value { white-space: nowrap; font-size: clamp(1.6rem, 1.872vw, 2.34rem); font-weight: 700; line-height: 1.1; }
.stat__value sup { font-size: .55em; vertical-align: .7em; line-height: 0; }
.stat__label { font-size: clamp(.85rem, 0.897vw, 1.092rem); margin-top: .7em; max-width: 9.5em; line-height: 1.3; }
.stat--map { padding-right: 0; }
.map-link { display: flex; align-items: center; gap: .2rem; text-decoration: none; }
.map-link__map { width: clamp(150px, 16.6vw, 320px); height: auto; transition: transform .4s; }
.map-link:hover .map-link__map { transform: scale(1.04) rotate(-1deg); }
.map-link__label { font-size: clamp(1.2rem, 1.365vw, 1.716rem); line-height: 1.05; text-align: left; font-weight: 500; }
.map-link__label .icon { display: inline-block; width: .85em; height: .85em; vertical-align: -.08em; margin-left: .3em; transition: transform .25s; }
.map-link:hover .map-link__label .icon { transform: translateX(4px); }

@media (max-width: 900px) {
	.explore { display: flex; flex-direction: column; }
	.explore__grid { order: 2; min-height: 0; }
	.explore__text { max-width: 36rem; padding-top: 1.5rem; }
	.explore__media { order: 1; position: relative; width: 100%; margin-left: auto; }
	.explore > .container:last-child { order: 3; }
	.stats { justify-content: center; }
	.stat { flex: 1 1 33%; padding-inline: .6rem; }
	.stat--map { flex-basis: 100%; display: flex; justify-content: center; padding-top: 1rem; }
	.stat--map::before { display: none; }
}

/* ==========================================================================
   3. Beaches
   ========================================================================== */
.banner { position: relative; min-height: clamp(260px, 22vw, 440px); display: flex; align-items: center; overflow: hidden; color: var(--cream); }
.banner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgb(10 50 50 / .35), transparent 60%); }
.banner__text { position: relative; z-index: 2; }
.banner .display { font-size: clamp(3.2rem, 5.694vw, 7.332rem); }
.banner .display::before { content: ""; display: block; width: 1.9em; height: clamp(3px, 0.211vw, 3.9px); background: currentColor; margin-bottom: .18em; }
.banner__sub { font-size: clamp(1.2rem, 2.262vw, 2.886rem); text-transform: uppercase; line-height: 1.1; margin-top: .1em; }

.cards { display: grid; gap: clamp(1.4rem, 1.794vw, 2.028rem) clamp(1rem, 1.638vw, 1.95rem); }
.cards--3 { grid-template-columns: repeat(3, 1fr); max-width: 1280px; margin-inline: auto; padding-block: clamp(40px, 3.276vw, 70.2px) 0; }
.cards--2 { grid-template-columns: repeat(2, 1fr); max-width: 1100px; margin-inline: auto; gap: clamp(1.4rem, 3.12vw, 3.9rem); padding-block: clamp(40px, 4.29vw, 85.8px) clamp(48px, 3.9vw, 78px); }
@media (max-width: 900px) { .cards--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards--3, .cards--2 { grid-template-columns: 1fr; } }

.card { display: block; text-decoration: none; color: inherit; }
.card__media {
	aspect-ratio: 577 / 293; overflow: hidden;
	border: clamp(2px, .16vw, 3px) solid var(--teal); border-radius: var(--radius);
	background: var(--mint);
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
a.card:hover .card__media img { transform: scale(1.06); }
.card__title {
	display: flex; align-items: center; gap: .7em;
	margin-top: .55em; font-size: var(--fs-card); font-weight: 700; text-transform: uppercase; line-height: 1.1;
}
.card__title::after { content: ""; flex: 1; height: clamp(2px, 0.125vw, 2.34px); background: currentColor; transform-origin: left; transition: transform .4s; }
a.card:hover .card__title::after { transform: scaleX(.85); }
.card--mono .card__media { aspect-ratio: 855 / 553; border-width: clamp(3px, .26vw, 5px); border-radius: clamp(18px, 2vw, 36px); }
.card--mono .card__media img { filter: grayscale(1); transition: transform .6s ease, filter .6s; }
a.card--mono:hover .card__media img { filter: grayscale(0); }
.card__title--lg { font-size: clamp(1.3rem, 2.028vw, 2.574rem); font-weight: 600; padding-left: .25em; margin-top: .5em; }
.card__excerpt { margin-top: .4em; font-size: 1rem; }

.beaches .center { padding-block: clamp(32px, 2.34vw, 43.68px) clamp(48px, 2.808vw, 56.16px); }
.beaches .center .btn { margin-top: 0; font-size: clamp(.9rem, 0.936vw, 1.17rem); }

/* ==========================================================================
   4. Experiences
   ========================================================================== */
.theme-teal { background: var(--teal); color: var(--cream); }
.experiences { position: relative; overflow: hidden; padding-top: clamp(48px, 3.276vw, 63.96px); }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 3.12vw, 3.9rem); }
.experiences .split { grid-template-columns: 1fr; min-height: clamp(0px, 33vw, 650px); }
.experiences .split__text { max-width: 54%; }
.experiences .display { font-size: clamp(2.8rem, 4.992vw, 6.396rem); }
.experiences__media {
	position: absolute; right: 0; top: clamp(48px, 4.2vw, 82px);
	width: 36vw; max-width: 700px; aspect-ratio: 805 / 762;
	border: clamp(4px, .42vw, 8px) solid var(--cream); border-right: 0;
	border-radius: clamp(80px, 8.6vw, 168px) 0 0 clamp(80px, 8.6vw, 168px);
	overflow: hidden;
}
.experiences__media img { width: 100%; height: 100%; object-fit: cover; }

.features {
	display: flex; justify-content: center; flex-wrap: wrap;
	padding-block: clamp(48px, 4.68vw, 93.6px) clamp(56px, 3.9vw, 78px);
}
.features li { position: relative; }
.features li + li::before {
	content: ""; position: absolute; left: 0; top: 22%; height: 46%; width: var(--line); background: currentColor;
}
.feature {
	display: grid; justify-items: center; gap: .9em;
	padding-inline: clamp(1rem, 2.418vw, 2.808rem);
	text-decoration: none; color: inherit;
}
.feature__icon { height: clamp(40px, 3.978vw, 78px); width: auto; transition: transform .35s; }
a.feature:hover .feature__icon { transform: translateY(-6px) rotate(-4deg); }
.feature__label { font-size: clamp(.85rem, 1.092vw, 1.365rem); font-weight: 700; text-transform: uppercase; opacity: .78; letter-spacing: .01em; }

@media (max-width: 900px) {
	.experiences { display: flex; flex-direction: column; }
	.experiences .split { min-height: 0; }
	.experiences .split__text { max-width: none; }
	.experiences__media { position: relative; top: auto; width: 88%; margin: 2rem 0 0 auto; }
	.features { gap: 1.6rem 0; }
	.features li { flex: 1 1 33%; }
	.features li:nth-child(4)::before { display: none; }
}

/* ==========================================================================
   5. Food & Culture
   ========================================================================== */
.food { padding-top: 0; }
.split--food { grid-template-columns: 1fr minmax(0, 36%); align-items: center; gap: clamp(2rem, 3.12vw, 3.9rem); }
.split--food .split__text { padding-top: clamp(32px, 3.12vw, 62.4px); }
.food .kicker { font-size: clamp(1.3rem, 2.106vw, 2.652rem); font-weight: 600; margin-bottom: .5em; }
.food .display { font-size: clamp(3.4rem, 6.162vw, 7.956rem); }
.arch {
	aspect-ratio: 855 / 1076;
	border: clamp(4px, .47vw, 9px) solid var(--teal); border-top: 0;
	border-radius: 0 0 clamp(90px, 9vw, 175px) clamp(90px, 9vw, 175px);
	overflow: hidden; margin-right: clamp(0px, 2.34vw, 46.8px);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 900px) {
	.split--food { grid-template-columns: 1fr; }
	.arch { order: -1; width: 82%; margin: 0 auto; }
}

/* ==========================================================================
   6. Plan your trip
   ========================================================================== */
.plan { position: relative; overflow: hidden; padding-top: clamp(48px, 4.056vw, 78px); padding-bottom: clamp(56px, 4.68vw, 93.6px); }
.plan__text { position: relative; z-index: 2; max-width: 54%; padding-top: clamp(0px, 2.34vw, 46.8px); }
.plan .kicker { font-size: clamp(1.2rem, 2.028vw, 2.574rem); font-weight: 500; margin-bottom: .55em; }
.plan .display { font-size: clamp(2.8rem, 4.992vw, 6.396rem); }
.plan .lead { font-size: clamp(1.1rem, 1.833vw, 2.34rem); max-width: 14em; }
.plan__media { position: absolute; z-index: 1; right: 0; top: 0; width: 46vw; max-width: 900px; }
.plan__media img { width: 100%; }

.guide { max-width: 1200px; margin-inline: auto; margin-top: clamp(40px, 3.51vw, 70.2px); padding-inline: clamp(0px, 2.73vw, 23.4px); }
.guide__item { border-bottom: var(--line) solid currentColor; }
.guide__item summary {
	display: grid; grid-template-columns: clamp(40px, 3.354vw, 65.52px) 1fr auto; align-items: center;
	gap: clamp(1rem, 2.964vw, 3.51rem);
	padding: clamp(.9rem, 1.014vw, 1.248rem) 0;
	cursor: pointer; list-style: none;
}
.guide__item summary::-webkit-details-marker { display: none; }
.guide__icon { width: 100%; height: clamp(30px, 2.964vw, 59.28px); }
.guide__title { font-size: clamp(1.15rem, 1.833vw, 2.34rem); font-weight: 500; }
.guide__chevron { width: clamp(16px, 2vw, 40px); height: auto; transition: transform .3s; }
.guide__item[open] .guide__chevron { transform: rotate(180deg); }
.guide__item summary:hover .guide__title { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 2px; }
.guide__body {
	padding: 0 0 clamp(1.2rem, 1.56vw, 1.872rem) calc(clamp(40px, 3.354vw, 65.52px) + clamp(1rem, 2.964vw, 3.51rem));
	font-size: clamp(1rem, 1.131vw, 1.365rem); line-height: 1.5; max-width: 62em;
}
.guide__body p + p { margin-top: .8em; }
.guide__item[open] .guide__body { animation: fade-down .35s ease; }
@keyframes fade-down { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
	.plan { display: flex; flex-direction: column; }
	.plan__media { order: -1; position: relative; width: 100%; margin: -1rem 0 0 auto; }
	.plan__text { max-width: none; }
	.guide { padding-inline: 0; }
	.guide__body { padding-left: 0; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--teal-dark); color: var(--cream); padding-block: clamp(40px, 3.12vw, 56.16px); }
.site-footer__inner { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem 3rem; align-items: center; }
.site-footer__brand { display: flex; align-items: center; gap: 1.2rem; }
.site-footer .icon-logo { height: 56px; width: auto; }
.site-footer__brand p { font-size: 1rem; opacity: .85; }
.site-footer__nav { justify-self: end; }
.site-footer__nav .nav-menu { flex-wrap: wrap; gap: .4rem 1.6rem; }
.site-footer__nav .nav-menu a { font-size: .85rem; }
.site-footer__copy { grid-column: 1 / -1; font-size: .85rem; opacity: .7; border-top: 1px solid rgb(245 238 221 / .2); padding-top: 1.2rem; }
@media (max-width: 900px) {
	.site-footer__inner { grid-template-columns: 1fr; }
	.site-footer__nav { justify-self: start; }
}

/* ==========================================================================
   Generic pages (blog, search, 404)
   ========================================================================== */
.page { padding-block: clamp(48px, 4.68vw, 85.8px); min-height: 60vh; }
.page__header { margin-bottom: 2.5rem; }
.page__title { font-size: clamp(2.2rem, 3.9vw, 3.9rem); font-weight: 800; line-height: 1; text-transform: uppercase; margin-bottom: .4em; }
.entry__thumb { margin: 1.5rem 0; border-radius: var(--radius); overflow: hidden; border: 3px solid var(--teal); }
.entry__content { font-size: 1.15rem; line-height: 1.7; }
.entry__content > * + * { margin-top: 1em; }
.entry__content a { text-underline-offset: 3px; }
.cards--posts .card__media { aspect-ratio: 16 / 10; }
.pagination { margin-top: 3rem; }
.pagination .nav-links { display: flex; gap: .5rem; flex-wrap: wrap; }
.pagination .page-numbers { padding: .4em .9em; border: 2px solid var(--teal); border-radius: 999px; text-decoration: none; font-weight: 700; }
.pagination .current { background: var(--teal); color: var(--cream); }

/* Keep designed line breaks ("|") on wide screens */
@media (min-width: 1024px) {
	.experiences .display, .plan .display, .food .display { white-space: nowrap; }
}

/* Fonts (self-hosted) */
@font-face{font-family:'Nunito';font-style:normal;font-display:swap;font-weight:200 1000;src:url(../fonts/nunito-latin-ext-wght-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Nunito';font-style:normal;font-display:swap;font-weight:200 1000;src:url(../fonts/nunito-latin-wght-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* In-page search results */
.search-results { max-width: 760px; margin: .8rem auto 0; display: grid; gap: .2rem; }
.search-results a { display: flex; justify-content: space-between; gap: 1rem; padding: .6em .2em; text-decoration: none; border-bottom: 1px solid color-mix(in srgb, currentColor 20%, transparent); font-weight: 600; }
.search-results a small { opacity: .65; font-weight: 500; text-transform: uppercase; font-size: .75em; letter-spacing: .04em; }
.search-results a:hover, .search-results a:focus-visible { background: color-mix(in srgb, currentColor 10%, transparent); }
.search-results p { opacity: .75; padding: .6em .2em; }
.search-hit { animation: hit 1.6s ease; }
@keyframes hit { 0%,40% { outline: 4px solid var(--mint); outline-offset: 6px; } 100% { outline: 4px solid transparent; outline-offset: 6px; } }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; z-index: 200; background: var(--teal); color: var(--cream); padding: .8em 1.4em; border-radius: 999px; font-weight: 600; box-shadow: 0 8px 24px rgb(0 0 0 / .2); transition: .3s; pointer-events: none; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Cards & features as buttons */
button.card, button.feature { background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; width: 100%; }
button.feature { width: auto; padding-inline: clamp(1rem, 2.418vw, 2.808rem); }
button.card:hover .card__media img { transform: scale(1.06); }
button.card:hover .card__title::after { transform: scaleX(.85); }
button.card--mono:hover .card__media img { filter: grayscale(0); }
button.feature:hover .feature__icon, button.feature:focus-visible .feature__icon { transform: translateY(-6px) rotate(-4deg); }
button.feature:hover .feature__label { opacity: 1; }

/* Modal */
.modal { border: 0; padding: 0; background: transparent; max-width: min(920px, calc(100vw - 32px)); width: 100%; color: var(--teal); }
.modal::backdrop { background: rgb(10 45 46 / .6); backdrop-filter: blur(3px); }
.modal[open] { animation: modal-in .3s ease; }
@keyframes modal-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.modal__inner { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; background: var(--cream); border: 3px solid var(--teal); border-radius: 28px; overflow: hidden; }
.modal__close { position: absolute; top: 10px; right: 10px; z-index: 2; background: var(--cream); color: var(--teal); }
.modal__close:hover { background: var(--teal); color: var(--cream); }
.modal__media { min-height: 260px; background: var(--teal); color: var(--cream); display: grid; place-items: center; }
.modal__media img { width: 100%; height: 100%; object-fit: cover; }
.modal__media .icon { width: 42%; height: auto; }
.modal__body { padding: clamp(1.4rem, 2.34vw, 2.028rem); display: flex; flex-direction: column; }
.modal__meta { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; opacity: .7; }
.modal__meta:empty { display: none; }
.modal__title { font-size: clamp(1.8rem, 2.652vw, 2.184rem); font-weight: 800; text-transform: uppercase; line-height: 1; margin: .3em 0 .5em; }
.modal__text { font-size: 1.08rem; line-height: 1.55; }
.modal__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.modal__tags li { background: var(--mint); color: var(--teal); font-weight: 700; font-size: .8rem; padding: .35em .8em; border-radius: 999px; }
.modal__actions { margin-top: auto; display: flex; gap: .6rem; padding-top: 1.4rem; }
.modal__actions .btn { margin-top: 0; background: none; cursor: pointer; }
.modal__actions .btn:hover { background: var(--teal); }
@media (max-width: 700px) {
	.modal__inner { grid-template-columns: 1fr; max-height: calc(100svh - 32px); overflow-y: auto; }
	.modal__media { min-height: 0; aspect-ratio: 16 / 9; }
}
