/* Heritage Fields Farm — site styles (2026)
   One hand-written stylesheet, no framework and no build step.
   Sections: tokens, base, layout, header, buttons, hero, cards,
   hours, produce, gallery, reviews, footer, lightbox. */

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face {
	font-family: "Fraunces";
	src: url("../fonts/fraunces-latin-wght-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Fraunces";
	src: url("../fonts/fraunces-latin-wght-italic.woff2") format("woff2");
	font-weight: 100 900;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "Figtree";
	src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2");
	font-weight: 300 900;
	font-style: normal;
	font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
	--cream: #f6f1e4;
	--paper: #fffdf7;
	--sand: #ebe3cf;
	--ink: #232b1c;
	--muted: #5b6352;
	--green: #34452a;      /* logo green */
	--green-deep: #222e1b;
	--leaf: #5f7d3b;
	--tomato: #b93a26;
	--tomato-deep: #9c2e1c;
	--clay: #c07544;       /* logo basket */
	--wheat: #e9c46a;
	--line: rgba(52, 69, 42, 0.16);

	--serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
	--sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--radius: 18px;
	--radius-sm: 10px;
	--shadow: 0 1px 2px rgba(35, 43, 28, 0.06), 0 12px 32px -12px rgba(35, 43, 28, 0.22);
	--wrap: 1180px;
	--gutter: clamp(18px, 4vw, 40px);
	--section: clamp(56px, 8vw, 104px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--tomato-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--tomato); }
h1, h2, h3, h4 {
	font-family: var(--serif);
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: -0.015em;
	color: var(--green);
	margin: 0 0 0.5em;
	text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6.2vw, 4.6rem); font-weight: 560; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.2; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; border-radius: 4px; }
.skip {
	position: absolute; left: 12px; top: -60px; z-index: 100;
	background: var(--green); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip:focus { top: 12px; color: #fff; }
.sr-only {
	position: absolute; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap;
}
svg.i { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
svg.i.fill { fill: currentColor; stroke: none; }

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--paper { background: var(--paper); }
.section--green { background: var(--green); color: #eef1e6; }
.section--green h2, .section--green h3 { color: #fff; }
.eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
	color: var(--leaf); margin: 0 0 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--clay); border-radius: 2px; }
.section--green .eyebrow { color: var(--wheat); }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 58ch; }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head--logo { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-head--logo img { width: clamp(150px, 24vw, 290px); flex: none; }
@media (max-width: 640px) { .section-head--logo { flex-direction: column-reverse; align-items: flex-start; } .section-head--logo img { width: 220px; } }
.split { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) {
	.split { grid-template-columns: 1fr 1fr; }
	.split--media-narrow { grid-template-columns: 5fr 7fr; }
}

/* ---------- Top strip + header ---------- */
.topbar { background: var(--green-deep); color: #e4e9d8; font-size: 0.9rem; }
.topbar .wrap { display: flex; gap: 8px 24px; justify-content: space-between; align-items: center; min-height: 40px; flex-wrap: wrap; padding-block: 6px; }
.topbar a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar__today { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--wheat); flex: none; }
.dot.is-open { background: #8fd16a; box-shadow: 0 0 0 4px rgba(143, 209, 106, 0.22); }
.dot.is-closed { background: #e08a75; }
.topbar__links { display: flex; gap: 22px; }
@media (max-width: 640px) { .topbar__links .hide-sm { display: none; } }

.header { position: sticky; top: 0; z-index: 50; background: rgba(246, 241, 228, 0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.brand { display: block; flex: none; }
.brand img { height: 68px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(8px, 1.6vw, 22px); }
.nav a {
	color: var(--green); text-decoration: none; font-weight: 600; font-size: 0.98rem;
	padding: 8px 6px; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--clay); color: var(--green-deep); }
.nav .btn, .nav .btn:hover { border: 2px solid var(--tomato); margin-left: 6px; color: #fff; padding: 9px 16px; }
.nav-toggle {
	display: none; align-items: center; gap: 8px; background: none; border: 1.5px solid var(--green);
	color: var(--green); font: inherit; font-weight: 700; padding: 9px 14px; border-radius: 999px; cursor: pointer;
}
@media (max-width: 960px) {
	.header .wrap { min-height: 66px; }
	.brand img { height: 54px; }
	.js .nav-toggle { display: inline-flex; }
	.js .nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 0;
		background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
		padding: 8px var(--gutter) 20px;
	}
	.js .nav.is-open { display: flex; }
	.nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.08rem; }
	.nav .btn { margin: 16px 0 0; justify-content: center; }
	/* Without JavaScript the links simply wrap under the logo. */
	html:not(.js) .header .wrap { flex-wrap: wrap; padding-block: 10px; }
	html:not(.js) .nav { flex-wrap: wrap; }
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; gap: 9px;
	background: var(--tomato); color: #fff; text-decoration: none; font-weight: 700; font-size: 1rem;
	padding: 13px 22px; border-radius: 999px; border: 2px solid var(--tomato);
	transition: background 0.15s, transform 0.15s, border-color 0.15s;
}
.btn:hover { background: var(--tomato-deep); border-color: var(--tomato-deep); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--green); border-color: var(--green); }
.btn--ghost:hover { background: var(--green); border-color: var(--green); color: #fff; }
.btn--light { background: #fff; color: var(--green); border-color: #fff; }
.btn--light:hover { background: var(--wheat); border-color: var(--wheat); color: var(--green-deep); }
.btn--sm { padding: 9px 16px; font-size: 0.95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.arrow-link { font-weight: 700; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.arrow-link::after { content: "→"; transition: transform 0.15s; }
a:hover .arrow-link::after, .arrow-link:hover::after { transform: translateX(4px); }

/* ---------- Home hero ---------- */
.hero { padding-block: clamp(36px, 6vw, 80px) clamp(48px, 7vw, 96px); overflow: hidden; }
.hero .split { align-items: center; }
@media (min-width: 900px) { .hero .split { grid-template-columns: 11fr 12fr; } }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--tomato); }
.hero__media { position: relative; padding: 0 0 46px 0; }
.hero__main { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 5 / 4; object-fit: cover; width: 100%; }
.hero__inset {
	position: absolute; left: -18px; bottom: 0; width: 42%; aspect-ratio: 1; object-fit: cover;
	border-radius: var(--radius); border: 6px solid var(--cream); box-shadow: var(--shadow);
}
.hero__badge { position: absolute; right: 4%; bottom: 4px; width: clamp(92px, 22%, 132px); transform: rotate(8deg); filter: drop-shadow(0 6px 10px rgba(0,0,0,0.18)); }
@media (max-width: 899px) { .hero__inset { left: 0; } }

/* Quick facts under the hero */
.facts { display: grid; gap: 14px; margin-top: clamp(32px, 5vw, 56px); }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.fact {
	display: flex; gap: 14px; align-items: flex-start; background: var(--paper);
	border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; color: var(--ink); text-decoration: none;
}
a.fact:hover { border-color: var(--clay); color: var(--ink); }
.fact__icon { width: 42px; height: 42px; border-radius: 50%; background: var(--sand); color: var(--green); display: grid; place-items: center; flex: none; }
.fact__label { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--leaf); }
.fact__value { display: block; font-family: var(--serif); font-size: 1.22rem; font-weight: 600; color: var(--green); line-height: 1.25; }
.fact__sub { display: block; font-size: 0.92rem; color: var(--muted); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; color: #fff; background: var(--green-deep); isolation: isolate; }
.page-hero img.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(24, 32, 18, 0.35) 0%, rgba(24, 32, 18, 0.78) 100%); }
.page-hero .wrap { padding-block: clamp(84px, 14vw, 170px) clamp(28px, 4vw, 44px); }
.page-hero h1 { color: #fff; font-size: clamp(2.3rem, 5.4vw, 4rem); margin: 0; }
.crumbs { display: flex; gap: 8px; font-size: 0.9rem; margin-bottom: 12px; color: #e9e6d6; }
.crumbs a { color: #fff; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: 0.6; }

/* ---------- Cards: what's at the farm ---------- */
.bento { display: grid; gap: 18px; }
@media (min-width: 700px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) {
	.bento { grid-template-columns: repeat(12, 1fr); }
	.bento > :nth-child(1) { grid-column: span 7; }
	.bento > :nth-child(2) { grid-column: span 5; }
	.bento > :nth-child(n+3) { grid-column: span 4; }
}
.card {
	position: relative; display: flex; flex-direction: column; background: var(--paper); color: var(--ink);
	border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none;
	transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.card__img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
@media (min-width: 1040px) { .bento > :nth-child(-n+2) .card__img { aspect-ratio: auto; height: 300px; } }
.card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.card__body p { color: var(--muted); font-size: 1rem; }
.card__body .arrow-link { margin-top: auto; color: var(--tomato-deep); }
.card__tag {
	position: absolute; top: 14px; left: 14px; background: var(--paper); color: var(--green);
	font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px;
}

/* ---------- In season teaser + chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
	background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
	padding: 6px 14px; font-size: 0.98rem; font-weight: 500; color: var(--green-deep);
}
.chips li strong { color: var(--tomato-deep); }
.section--green .chips li { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.22); color: #fff; }
.section--green .chips li strong { color: var(--wheat); }
.season-teaser__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.season-teaser__photos img { border-radius: var(--radius); aspect-ratio: 1; object-fit: cover; width: 100%; }
.season-teaser__photos img:nth-child(2) { margin-top: 36px; }

/* ---------- Produce page ---------- */
.doc-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.doc-card__head { padding: 22px 26px; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: baseline; justify-content: space-between; }
.doc-card__head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0; }
.doc-card__head p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.doc-card iframe { display: block; width: 100%; height: 600px; border: 0; background: #fff; }
.seasons { display: grid; gap: 18px; }
@media (min-width: 800px) { .seasons { grid-template-columns: 1fr 1fr; } }
.season { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.season h2, .season h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 1.6rem; }
.season.is-current { border: 2px solid var(--leaf); box-shadow: var(--shadow); }
.badge { font-family: var(--sans); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; background: var(--leaf); color: #fff; padding: 5px 11px; border-radius: 999px; }
.season .chips li { background: var(--cream); }

/* ---------- Hours ---------- */
.hours-grid { display: grid; gap: 18px; }
@media (min-width: 700px) { .hours-grid { grid-template-columns: 1fr 1fr; } }
.hours { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.hours h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.hours.is-current { border: 2px solid var(--leaf); }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-variant-numeric: tabular-nums; }
.hours li:last-child { border-bottom: 0; }
.hours li span:first-child { font-weight: 600; }
.hours li.is-closed span:last-child { color: var(--muted); }
.hours.is-current li.is-today { background: var(--sand); margin-inline: -12px; padding-inline: 12px; border-radius: 8px; border-bottom-color: transparent; }
.hours-note { margin-top: 18px; font-size: 0.95rem; color: var(--muted); max-width: 70ch; }

/* ---------- Media / story ---------- */
.frame { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.frame--portrait { aspect-ratio: 4 / 5; }
.frame--wide { aspect-ratio: 3 / 2; }
.story__media { position: relative; }
.story__since {
	position: absolute; right: -10px; bottom: 22px; background: var(--tomato); color: #fff; border-radius: 50%;
	width: 108px; height: 108px; display: grid; place-content: center; text-align: center; transform: rotate(-8deg);
	font-family: var(--serif); line-height: 1.05; box-shadow: var(--shadow);
}
.story__since small { font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; }
.story__since b { font-size: 1.9rem; font-weight: 600; }
blockquote.pull { margin: 0 0 1.2em; padding-left: 20px; border-left: 3px solid var(--clay); font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.35; color: var(--green); font-style: italic; }
.steps { display: grid; gap: 14px; counter-reset: step; margin: 22px 0; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: start; }
.steps li::before {
	content: counter(step); width: 38px; height: 38px; border-radius: 50%; background: var(--sand); color: var(--green);
	display: grid; place-items: center; font-family: var(--serif); font-weight: 600;
}
.info-list { display: grid; gap: 16px; margin: 22px 0; }
.info-list li { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start; }
.info-list .fact__icon { background: var(--sand); }
.info-list strong { display: block; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--leaf); }
.info-list span, .info-list a { font-size: 1.1rem; }
.callout { background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--clay); border-radius: var(--radius-sm); padding: 22px 24px; }
.callout p:last-child { margin-bottom: 0; }
.map { border: 0; width: 100%; height: 100%; min-height: 360px; border-radius: var(--radius); display: block; }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filters button {
	font: inherit; font-weight: 600; font-size: 0.95rem; cursor: pointer; background: transparent; color: var(--green);
	border: 1.5px solid var(--line); padding: 8px 16px; border-radius: 999px;
}
.filters button:hover { border-color: var(--green); }
.filters button[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); grid-auto-flow: dense; }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery--3 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .gallery--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .gallery--5 { grid-template-columns: repeat(5, 1fr); } }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius-sm); overflow: hidden; background: var(--sand); }
.gallery figure[hidden] { display: none; }
.gallery .wide { grid-column: span 2; }
.gallery a, .gallery button.shot { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 0.35s; }
.gallery .wide img { aspect-ratio: 2 / 1; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
	position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; color: #fff; font-weight: 600; font-size: 0.95rem;
	background: linear-gradient(180deg, transparent, rgba(20, 26, 15, 0.78)); pointer-events: none;
}

/* Instagram strip */
.insta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (min-width: 760px) { .insta { grid-template-columns: repeat(6, 1fr); } }
.insta a { display: block; border-radius: var(--radius-sm); overflow: hidden; }
.insta img { aspect-ratio: 1; object-fit: cover; width: 100%; transition: transform 0.35s; }
.insta a:hover img { transform: scale(1.05); }

/* ---------- Reviews ---------- */
.reviews { display: grid; gap: 18px; }
@media (min-width: 860px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; display: flex; flex-direction: column; }
.review::before { content: "\201C"; font-family: var(--serif); font-size: 4rem; line-height: 0.6; color: var(--clay); display: block; margin: 12px 0 6px; }
.review blockquote { margin: 0; }
.review p { font-family: var(--serif); font-size: 1.2rem; line-height: 1.45; color: var(--green-deep); }
.review footer { margin-top: auto; padding-top: 10px; font-size: 0.95rem; color: var(--muted); }
.review footer b { display: block; color: var(--ink); font-size: 1rem; }

/* ---------- Call-to-action band ---------- */
.band { background: var(--green); color: #eef1e6; border-radius: calc(var(--radius) + 6px); padding: clamp(28px, 5vw, 56px); display: grid; gap: 24px; align-items: center; }
@media (min-width: 860px) { .band { grid-template-columns: 1fr auto; } }
.band h2 { color: #fff; margin-bottom: 8px; font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.band p { margin: 0; max-width: 60ch; }
.band a:not(.btn) { color: #fff; }

/* ---------- Footer ---------- */
.footer { background: var(--green-deep); color: #cfd6c2; padding-top: clamp(48px, 7vw, 80px); font-size: 1rem; }
.footer a { color: #f1f3ea; text-decoration: none; }
.footer a:hover { color: var(--wheat); text-decoration: underline; }
.signup { display: grid; gap: 20px 48px; align-items: center; padding-bottom: clamp(36px, 5vw, 56px); margin-bottom: clamp(36px, 5vw, 56px); border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
@media (min-width: 860px) { .signup { grid-template-columns: 1fr 1fr; } }
.footer .signup h2 { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -0.015em; text-transform: none; color: #fff; margin-bottom: 8px; }
.signup p { margin: 0; max-width: 46ch; }
.signup__form { display: flex; flex-wrap: wrap; gap: 10px; }
.signup__form input[type="email"] {
	flex: 1 1 220px; min-width: 0; font: inherit; color: var(--ink); background: #fff;
	border: 2px solid transparent; border-radius: 999px; padding: 12px 20px;
}
.signup__form input[type="email"]:focus-visible { outline: 3px solid var(--wheat); outline-offset: 2px; }
.signup__form .btn { cursor: pointer; font-family: inherit; }
.signup__form .btn[disabled] { opacity: 0.6; cursor: progress; }
.signup__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.signup__status { flex-basis: 100%; min-height: 1.5em; font-weight: 600; color: #fff; }
.signup__status.is-error { color: #ffc9bd; }
.signup__status a { text-decoration: underline; }
.signup .cf-turnstile { flex-basis: 100%; }
.footer__grid { display: grid; gap: 36px; }
@media (min-width: 860px) { .footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer__logo { width: 210px; margin-bottom: 14px; }
.footer h2 { font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wheat); margin-bottom: 14px; }
.footer li { margin-bottom: 9px; }
.footer__social { display: flex; gap: 10px; margin-top: 16px; }
.footer__social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25); display: grid; place-items: center; }
.footer__social a:hover { background: var(--wheat); color: var(--green-deep); border-color: var(--wheat); }
.footer__badge { width: 96px; margin-top: 18px; }
.footer__bottom { margin-top: 44px; border-top: 1px solid rgba(255, 255, 255, 0.14); padding-block: 20px; font-size: 0.88rem; display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: space-between; }
.footer__bottom p { margin: 0; }

/* ---------- Lightbox ---------- */
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: min(94vw, 1100px); max-height: 92vh; overflow: visible; }
dialog.lightbox::backdrop { background: rgba(18, 24, 14, 0.9); }
dialog.lightbox img { max-width: 100%; max-height: 82vh; border-radius: var(--radius-sm); margin-inline: auto; }
dialog.lightbox p { color: #fff; text-align: center; margin: 12px 0 0; font-weight: 600; }
dialog.lightbox form { position: absolute; top: -14px; right: -6px; }
dialog.lightbox button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: var(--green-deep); font-size: 1.4rem; line-height: 1; cursor: pointer; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
