/*
Theme Name: Landing Page Template
Theme URI: ethanrode6@gmail.com
Description: Lightweight GeneratePress child theme — a hand-built single landing page with no page builder. Self-hosted Manrope + Inter, minimal JS, aggressive front-end cleanup. All colours and type live in the style.css :root block.
Author: Ethan Rode
Template: generatepress
Version: 0.2.0
Requires at least: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: landing-page-template
*/

/* =========================================================================
   Fonts — self-hosted variable WOFF2 (subset: latin)
   ========================================================================= */
@font-face {
	font-family: "Manrope";
	src: url("fonts/manrope-latin-wght-normal.woff2") format("woff2");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Inter";
	src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Inter";
	src: url("fonts/inter-latin-wght-italic.woff2") format("woff2");
	font-weight: 100 900;
	font-style: italic;
	font-display: swap;
}

/* =========================================================================
   Design tokens  —  (the main shit) for front-end colours.
   The landing page does not use theme.json / global styles (stripped for
   performance in functions.php), so change colours HERE. Mirror any change
   into theme.json only so the block editor stays in sync.
   60% warm white  ·  30% muted pastel blue  ·  10% green #166901
   ========================================================================= */
:root {
	--lpt-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--lpt-font-head: "Manrope", var(--lpt-font-body);

	/* 60% — warm white */
	--lpt-bg: #f8f6f1;
	--lpt-surface: #ffffff;

	/* 30% — muted pastel blue */
	--lpt-blue: #dce5ea;
	--lpt-blue-deep: #c7d5dc;
	--lpt-border: #cdd7db;

	/* 10% — green accent */
	--lpt-green: #166901;
	--lpt-green-dark: #0f4d01;
	--lpt-green-tint: #e8f0e2;
	--lpt-on-green: #ffffff;

	/* ink */
	--lpt-text: #212a2c;
	--lpt-muted: #55625f;
	--lpt-heading: #16302c;

	--lpt-container: 1120px;
	--lpt-container-narrow: 760px;
	--lpt-gutter: clamp(1.1rem, 5vw, 2.25rem);
	--lpt-section-y: clamp(3.25rem, 7vw, 6rem);
	--lpt-radius: 12px;
	--lpt-radius-sm: 8px;
	--lpt-shadow: 0 1px 2px rgba(22, 48, 44, 0.06), 0 8px 24px -12px rgba(22, 48, 44, 0.18);
}

/* =========================================================================
   Base
   ========================================================================= */
/* Smooth in-page scrolling for anchor links (#about, #contact, …).
   scroll-padding-top keeps the target section clear of the sticky header. */
html { scroll-padding-top: 4.5rem; }
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

body {
	font-family: var(--lpt-font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--lpt-text);
	background-color: var(--lpt-bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, .lpt-eyebrow {
	font-family: var(--lpt-font-head);
	color: var(--lpt-heading);
	line-height: 1.15;
	letter-spacing: -0.02em;
	font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 1.5rem + 2.8vw, 3.35rem); margin: 0 0 0.5em; }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.7vw, 2.3rem); margin: 0 0 0.65em; }

/* User created pages h2 tag */
.entry-content h2.wp-block-heading { font-size: 1.6rem; }
h3 { font-size: clamp(1.18rem, 1.05rem + 0.6vw, 1.4rem); margin: 0 0 0.5em; letter-spacing: -0.015em; }

/* Post & page title (GeneratePress .entry-title) */
.entry-title {
	font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem);
}

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

a { color: var(--lpt-green); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--lpt-green-dark); }

strong { font-weight: 600; }

/* =========================================================================
   GeneratePress structural overrides — let sections run full-bleed
   ========================================================================= */
.lpt-front #page,
.lpt-front .site-content,
.lpt-front .site-content > .content-area,
.lpt-front .site-main {
	max-width: none;
	width: auto;
	margin: 0;
	padding: 0;
	gap: 0;
}
.lpt-front .site-content { display: block; }
.lpt-front .separate-containers .site-main { margin: 0; }
/* GeneratePress adds `.site-main > * { margin-bottom: 20px }` — kill it so
   sections butt directly and spacing is controlled only by section padding. */
.lpt-front .site-main > * { margin-bottom: 0; }

/* =========================================================================
   Header — slim + sticky, applied SITE-WIDE (every page type)
   ========================================================================= */
.site-header {
	position: sticky;
	top: 0;
	z-index: 200;
	background-color: rgba(248, 246, 241, 0.92);
	backdrop-filter: saturate(1.4) blur(8px);
	border-bottom: 1px solid var(--lpt-border);
	padding-block: 0.55rem;
}
.inside-header {
	max-width: var(--lpt-container);
	margin-inline: auto;
	padding-inline: var(--lpt-gutter);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}
.site-branding { padding: 0; }
.main-title { margin: 0; font-size: 1.15rem; letter-spacing: -0.02em; }
.main-title a { color: var(--lpt-heading); text-decoration: none; }
.site-description {
	margin: 0;
	font-size: 0.78rem;
	color: var(--lpt-muted);
	letter-spacing: 0.01em;
}

/* Primary nav (float-right) */
.inside-header .main-navigation {
	flex: 0 1 auto;
	width: auto;
	min-height: 0;
}
.main-navigation,
.main-navigation .inside-navigation { background: transparent; min-height: 0; }
.main-navigation .main-nav > ul { display: flex; align-items: center; gap: 0.2rem; }
.main-navigation .main-nav ul li a {
	color: var(--lpt-text);
	font-family: var(--lpt-font-head);
	font-weight: 600;
	font-size: 0.94rem;
	line-height: 1;
	padding: 0.6rem 0.75rem;
}
.main-navigation .main-nav ul li.lpt-cta { margin-left: 0.4rem; }
/* Menu links (not the pill) hover to the dark green accent. */
.main-navigation .main-nav ul li:not(.lpt-cta) a:hover,
.main-navigation .main-nav ul li:not(.lpt-cta).current-menu-item > a { color: var(--lpt-green-dark); background: transparent; }

.main-navigation .main-nav ul li.lpt-cta a {
	background-color: var(--lpt-green);
	color: var(--lpt-on-green);
	border-radius: 999px;
	padding: 0.65rem 1.2rem;
}
.main-navigation .main-nav ul li.lpt-cta a:hover { background-color: var(--lpt-green-dark); color: #fff; }

/* ---- Shrink on scroll -------------------------------------------------------
   `body.is-scrolled` is toggled by the small script in functions.php.
   The scrolled state only sets a smaller logo WIDTH — GeneratePress sizes the
   logo by width and the height follows, so this animates smoothly and the
   Customizer still owns the resting size. Tune the four values below. */
.site-header { transition: padding-block 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease; }
.site-header .header-image,
.site-header .site-logo img,
.site-header .custom-logo { transition: width 0.25s ease; }
.main-title { transition: font-size 0.25s ease; }
.site-header .menu-toggle { transition: padding 0.25s ease, font-size 0.25s ease; }

body.is-scrolled .site-header {
	padding-block: 0.12rem;                              /* header padding when scrolled */
	background-color: rgba(248, 246, 241, 0.97);
	box-shadow: 0 4px 16px -8px rgba(22, 48, 44, 0.25);
}
body.is-scrolled .site-header .header-image,
body.is-scrolled .site-header .site-logo img,
body.is-scrolled .site-header .custom-logo {
	width: 74px;                                         /* logo width when scrolled */
}
body.is-scrolled .main-title { font-size: 0.98rem; }    /* text logo size when scrolled */

/* Sticky header clears the logged-in admin bar. */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}

/* =========================================================================
   Layout helpers
   ========================================================================= */
.lpt-container {
	max-width: var(--lpt-container);
	margin-inline: auto;
	padding-inline: var(--lpt-gutter);
}
.lpt-section { padding-block: var(--lpt-section-y); }
/* The quote band is visually heavy — the following section needs less lead-in. */
.lpt-quote + .lpt-section { padding-top: clamp(2.5rem, 5vw, 3.75rem); }
.lpt-section--blue { background-color: var(--lpt-blue); }
.lpt-section--tint { background-color: var(--lpt-green-tint); }
.lpt-section__head { max-width: 46rem; margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.lpt-section__head p { color: var(--lpt-muted); font-size: 1.075rem; margin-top: 0.4em; }

.lpt-eyebrow {
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--lpt-green);
	margin-bottom: 1rem;
}

/* =========================================================================
   Buttons
   ========================================================================= */
.lpt-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-family: var(--lpt-font-head);
	font-weight: 600;
	font-size: 0.98rem;
	line-height: 1;
	padding: 0.9rem 1.5rem;
	border-radius: 999px;
	border: 1px solid transparent;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.lpt-btn--primary { background-color: var(--lpt-green); color: var(--lpt-on-green); }
.lpt-btn--primary:hover { background-color: var(--lpt-green-dark); color: #fff; }
.lpt-btn--ghost { background-color: transparent; border-color: var(--lpt-border); color: var(--lpt-heading); }
.lpt-btn--ghost:hover { border-color: var(--lpt-green); color: var(--lpt-green); }

/* =========================================================================
   Hero
   ========================================================================= */
.lpt-hero { padding-block: clamp(3.5rem, 9vw, 7rem); background: linear-gradient(180deg, var(--lpt-bg) 0%, var(--lpt-green-tint) 100%); }
.lpt-hero__grid {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
}
.lpt-hero__inner { max-width: 40rem; }
.lpt-hero .lpt-lead {
	font-size: clamp(1.1rem, 1rem + 0.6vw, 1.35rem);
	color: var(--lpt-muted);
	margin-bottom: 1.9rem;
}
.lpt-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 1.9rem; }
.lpt-hero__note { font-size: 0.9rem; color: var(--lpt-muted); }
.lpt-hero__media { margin: 0; }
.lpt-hero__media img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 16px;
	box-shadow: var(--lpt-shadow);
}

/* =========================================================================
   Editable page body (optional homepage Page content, below the hero)
   ========================================================================= */
.lpt-pagebody__inner {
	max-width: var(--lpt-container-narrow);
	margin-inline: auto;
	font-size: 1.075rem;
}
.lpt-pagebody__inner > :first-child { margin-top: 0; }
.lpt-pagebody__inner > :last-child { margin-bottom: 0; }
.lpt-pagebody__inner h2 { font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem); margin: 1.6em 0 0.5em; }
.lpt-pagebody__inner h3 { margin: 1.4em 0 0.4em; }
.lpt-pagebody__inner ul,
.lpt-pagebody__inner ol { margin: 0 0 1.1em; padding-left: 1.3em; }
.lpt-pagebody__inner li { margin-bottom: 0.35em; }
.lpt-pagebody__inner img { border-radius: var(--lpt-radius); }
.lpt-pagebody__inner :where(.wp-block-image, figure) { margin: 1.6em 0; }

/* =========================================================================
   Shared media helpers
   ========================================================================= */
.lpt-band { margin: 0 0 clamp(1.75rem, 4vw, 2.75rem); }
.lpt-band img {
	display: block;
	width: 100%;
	object-fit: cover;
	border-radius: 14px;
}

/* =========================================================================
   About
   ========================================================================= */
.lpt-about__grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: start;
}
.lpt-about__side {
	position: sticky;
	top: 5rem;
	display: grid;
	gap: 1.25rem;
}
.lpt-about__media { margin: 0; }
.lpt-about__media img {
	display: block;
	width: 100%;
	aspect-ratio: 5 / 4;
	object-fit: cover;
	border-radius: var(--lpt-radius);
	box-shadow: var(--lpt-shadow);
}
.lpt-facts {
	background-color: var(--lpt-surface);
	border: 1px solid var(--lpt-border);
	border-radius: var(--lpt-radius);
	padding: 1.6rem 1.7rem;
	box-shadow: var(--lpt-shadow);
}
.lpt-facts h3 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--lpt-green); margin-bottom: 1.15rem; }
.lpt-facts dl { margin: 0; display: grid; gap: 1.2rem; }
.lpt-facts dt { font-family: var(--lpt-font-head); font-weight: 700; color: var(--lpt-heading); font-size: 1.4rem; letter-spacing: -0.02em; }
.lpt-facts dd { margin: 0.1rem 0 0; font-size: 0.92rem; color: var(--lpt-muted); }

/* =========================================================================
   Services
   ========================================================================= */
.lpt-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(1rem, 2.5vw, 1.6rem);
}
.lpt-card {
	background-color: var(--lpt-surface);
	border: 1px solid var(--lpt-border);
	border-radius: var(--lpt-radius);
	padding: 1.85rem 1.7rem;
}
.lpt-card h3 { margin-bottom: 0.55em; line-height: 1.25; }
.lpt-card p { font-size: 0.98rem; color: var(--lpt-muted); }
.lpt-card__tag {
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--lpt-green);
	background: var(--lpt-green-tint);
	border-radius: 999px;
	padding: 0.25rem 0.7rem;
	margin-bottom: 0.9rem;
}
.lpt-note { margin-top: 1.75rem; font-size: 0.96rem; color: var(--lpt-muted); }

/* =========================================================================
   Partners
   ========================================================================= */
.lpt-partners {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}
.lpt-partners li {
	font-family: var(--lpt-font-head);
	font-weight: 600;
	font-size: 0.92rem;
	color: var(--lpt-heading);
	background-color: var(--lpt-surface);
	border: 1px solid var(--lpt-border);
	border-radius: 999px;
	padding: 0.5rem 1rem;
}

/* =========================================================================
   Regulatory
   ========================================================================= */
.lpt-reg__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: clamp(1.25rem, 3vw, 2.25rem);
}
.lpt-reg__item h3 { font-size: 1.02rem; margin-bottom: 0.35em; }
.lpt-reg__item p { font-size: 0.95rem; color: var(--lpt-muted); margin: 0; }
.lpt-reg__foot {
	margin-top: 1.9rem;
	padding-top: 1.4rem;
	border-top: 1px solid var(--lpt-blue-deep);
	font-size: 0.9rem;
	color: var(--lpt-muted);
}

/* =========================================================================
   Quote band
   ========================================================================= */
.lpt-quote {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: center;
	min-height: clamp(300px, 44vw, 460px);
	padding-block: clamp(3rem, 7vw, 5.5rem);
	overflow: hidden;
}
.lpt-quote__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -2;
}
.lpt-quote__veil {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(20, 40, 12, 0.55), rgba(15, 77, 1, 0.80));
}
.lpt-quote__inner { color: #fff; max-width: 46rem; }
.lpt-quote blockquote {
	margin: 0;
	font-family: var(--lpt-font-head);
	font-weight: 700;
	font-size: clamp(1.5rem, 1.1rem + 2vw, 2.4rem);
	line-height: 1.25;
	letter-spacing: -0.02em;
	color: #fff;
}
.lpt-quote__cite {
	margin: 1rem 0 0;
	font-size: 0.95rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #d8e7cd;
}

/* =========================================================================
   Contact
   ========================================================================= */
.lpt-contact__grid {
	display: grid;
	grid-template-columns: 1fr 1.15fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: start;
}
.lpt-contact__media { margin: 0 0 1.6rem; }
.lpt-contact__media img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--lpt-radius);
	box-shadow: var(--lpt-shadow);
}
.lpt-contact__details p { margin-bottom: 0.9em; }
.lpt-contact__details a { word-break: break-word; }
.lpt-contact__label {
	font-family: var(--lpt-font-head);
	font-weight: 700;
	font-size: 0.78rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--lpt-muted);
	display: block;
	margin-bottom: 0.15rem;
}

.lpt-form { display: grid; gap: 1.05rem; background-color: var(--lpt-surface); border: 1px solid var(--lpt-border); border-radius: var(--lpt-radius); padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--lpt-shadow); }
.lpt-field { display: grid; gap: 0.35rem; }
.lpt-field label { font-family: var(--lpt-font-head); font-weight: 600; font-size: 0.9rem; color: var(--lpt-heading); }
.lpt-field input,
.lpt-field textarea {
	font: inherit;
	font-size: 0.98rem;
	color: var(--lpt-text);
	background-color: var(--lpt-bg);
	border: 1px solid var(--lpt-border);
	border-radius: var(--lpt-radius-sm);
	padding: 0.7rem 0.85rem;
	width: 100%;
}
.lpt-field input:focus,
.lpt-field textarea:focus { outline: 2px solid var(--lpt-green); outline-offset: 1px; border-color: var(--lpt-green); }
.lpt-field textarea { min-height: 130px; resize: vertical; }
.lpt-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lpt-form button { justify-self: start; }

/* Consent checkbox */
.lpt-field--check label {
	display: flex;
	gap: 0.6rem;
	align-items: flex-start;
	font-family: var(--lpt-font-body);
	font-weight: 400;
	font-size: 0.85rem;
	line-height: 1.5;
	color: var(--lpt-muted);
	cursor: pointer;
}
.lpt-field--check input {
	flex: 0 0 auto;
	width: 1.05rem;
	height: 1.05rem;
	margin-top: 0.15rem;
	accent-color: var(--lpt-green);
}
.lpt-field--check input:focus-visible { outline: 2px solid var(--lpt-green); outline-offset: 2px; }
.lpt-field--check a { color: var(--lpt-green); }

.lpt-alert { border-radius: var(--lpt-radius-sm); padding: 0.85rem 1rem; font-size: 0.95rem; margin-bottom: 1.25rem; }
.lpt-alert--ok { background-color: var(--lpt-green-tint); border: 1px solid var(--lpt-green); color: var(--lpt-green-dark); }
.lpt-alert--err { background-color: #fbeceb; border: 1px solid #d98b83; color: #97392f; }

/* =========================================================================
   Footer
   ========================================================================= */
/* Global — the custom footer replaces GP's on every page (posts included). */
.site-footer,
.site-info { background-color: var(--lpt-heading); color: #cfe0dd; }
.lpt-footer { padding-block: clamp(2.75rem, 6vw, 4rem); }
.lpt-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 2rem;
}
.lpt-footer h3 { color: #fff; }
.lpt-footer__brand {
	font-family: var(--lpt-font-head);
	font-weight: 700;
	font-size: 1.05rem;
	letter-spacing: -0.02em;
	color: #fff;
	margin: 0 0 0.6rem;
}
.lpt-footer h3 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.9rem; color: #9fc4bf; }
.lpt-footer p, .lpt-footer li { font-size: 0.88rem; color: #bcd4d0; line-height: 1.6; }
.lpt-footer a { color: #fff; text-decoration: none; }
.lpt-footer a:hover { color: #fff; text-decoration: underline; }
.lpt-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.lpt-footer__bottom {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	font-size: 0.82rem;
	color: #9fb8b4;
}
.lpt-footer__bottom p { color: #9fb8b4; font-size: 0.82rem;}
.lpt-disclaimer p {padding-top: 10px;}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 900px) {
	.lpt-hero__grid { grid-template-columns: 1fr; gap: clamp(1.75rem, 6vw, 2.5rem); }
	.lpt-hero__inner { max-width: none; }
	.lpt-hero__media img { aspect-ratio: 16 / 10; }
	.lpt-about__grid { grid-template-columns: 1fr; }
	.lpt-about__side { position: static; }
	.lpt-about__media { max-width: 460px; }
	.lpt-cards { grid-template-columns: 1fr 1fr; }
	.lpt-reg__grid { grid-template-columns: 1fr; }
	.lpt-contact__grid { grid-template-columns: 1fr; }
	.lpt-contact__media { max-width: 460px; }
	.lpt-footer__grid { grid-template-columns: 1fr 1fr; }
}

/* Mobile menu — GeneratePress owns the toggle + dropdown mechanics; we only skin it. */
@media (max-width: 768px) {
	.main-title a { white-space: nowrap; }
	.site-branding { flex-shrink: 0; }
	.inside-header .main-navigation { min-height: 0; }

	/* --- Mobile header height (resting). The header is as tall as its
	   tallest child + padding, so all of these matter: --- */
	/* GeneratePress ships `.inside-header { padding: 20px 40px }` and the nav
	   wrapper (flex-basis:100%) wraps onto a 2nd flex line — the 1.5rem
	   row-gap between those lines was silently adding ~24px of header height. */
	.inside-header {
		padding-bottom: 10px;
		padding-top: 10px;
		row-gap: 0;
	}
	.site-header { padding-block: 0.4rem; }              /* the only vertical padding on mobile now */
	.site-header .header-image,
	.site-header .site-logo img,
	.site-header .custom-logo {
		display: block;                                 /* remove the inline-image baseline gap */
		width: 92px;                                    /* logo size on mobile (Customizer size is for desktop) */
	}

	.main-navigation,
	.main-navigation .menu-toggle { background: transparent; }
	.main-navigation .menu-toggle {
		font-family: var(--lpt-font-head);
		font-weight: 600;
		font-size: 0.9rem;
		line-height: 1.15;                               /* GeneratePress ships line-height: 60px here */
		color: var(--lpt-heading);
		padding: 0.4rem;
	}
	.main-navigation .menu-toggle:hover { color: var(--lpt-green); }

	/* Remove GeneratePress's background on the toggle + the opened nav. */
	.mobile-menu-control-wrapper .menu-toggle,
	.mobile-menu-control-wrapper .menu-toggle:hover,
	.mobile-menu-control-wrapper .menu-toggle:focus,
	.has-inline-mobile-toggle #site-navigation.toggled {
		background-color: transparent;
	}

	.main-navigation.toggled .main-nav {
		background: var(--lpt-bg);
		border-bottom: 1px solid var(--lpt-border);
		box-shadow: 0 18px 36px -10px rgba(22, 48, 44, 0.45);
	}
	.main-navigation .main-nav ul li a { padding: 0.9rem var(--lpt-gutter); }
	.main-navigation .main-nav ul li.lpt-cta { margin: 0.6rem var(--lpt-gutter) 0.8rem; }
	.main-navigation .main-nav ul li.lpt-cta a { display: inline-block; padding: 0.65rem 1.2rem; }
}

/* Mobile-only: shrink the whole header harder on scroll (desktop is untouched).
   All three values feed the header height — lower them for an even shorter bar. */
@media (max-width: 768px) {
	body.is-scrolled .site-header {
		padding-block: 0.15rem;         /* header top/bottom padding when scrolled */
	}
	body.is-scrolled .site-header .header-image,
	body.is-scrolled .site-header .site-logo img,
	body.is-scrolled .site-header .custom-logo {
		width: 56px;                    /* logo width (drives its height) when scrolled */
	}
	body.is-scrolled .main-navigation .menu-toggle {
		padding: 0.2rem 0.35rem;        /* hamburger button — the other height driver */
		font-size: 0.8rem;
		line-height: 1;
	}
}

@media (max-width: 600px) {
	.site-description { display: none; }
	.lpt-cards { grid-template-columns: 1fr; }
	.lpt-footer__grid { grid-template-columns: 1fr; }
	.lpt-actions .lpt-btn { flex: 1 1 auto; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; }
}
