/*
Theme Name: Boostan
Theme URI: https://boostan.org
Author: Boostan Foundation
Description: A custom theme for the Boostan Foundation — a garden where cultures grow together. Sage, cream and gold, with Cormorant Garamond and Jost.
Version: 1.0.3
Requires at least: 6.4
Tested up to: 6.8
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: boostan
*/

/* ---------- Base ---------- */
body { -webkit-font-smoothing: antialiased; }
.wp-site-blocks { padding-top: 0; padding-bottom: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }
:where(.wp-site-blocks) a { text-underline-offset: 3px; }

.eyebrow {
	font-family: var(--wp--preset--font-family--jost);
	font-size: 12px !important;
	letter-spacing: .32em;
	text-transform: uppercase;
	color: var(--wp--preset--color--sage);
	font-weight: 400;
	margin: 0 !important;
}
.muted { color: var(--wp--preset--color--body) !important; }

/* Buttons */
.wp-block-button__link {
	font-family: var(--wp--preset--font-family--jost);
	font-size: 13px;
	letter-spacing: .2em;
	text-transform: uppercase;
	padding: 15px 30px;
	border: 1px solid var(--wp--preset--color--sage);
	border-radius: 0;
	transition: .25s;
}
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { background: var(--wp--preset--color--moss); border-color: var(--wp--preset--color--moss); }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--wp--preset--color--moss); border: 1px solid var(--wp--preset--color--sage); padding: 15px 30px; }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--wp--preset--color--sage); color: var(--wp--preset--color--paper); }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(251,248,242,.92);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--wp--preset--color--line);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header > .wp-block-group { min-height: 78px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { height: 46px; width: auto; }
.brand-name { font-family: var(--wp--preset--font-family--cormorant); font-size: 24px; color: var(--wp--preset--color--moss); letter-spacing: .06em; line-height: 1; display: block; }
.brand-sub { display: block; font-family: var(--wp--preset--font-family--jost); font-size: 9.5px; letter-spacing: .42em; color: var(--wp--preset--color--sage); margin-top: 4px; }
.boostan-nav { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
.boostan-nav a { text-decoration: none; }
.boostan-nav a:hover { color: var(--wp--preset--color--gold); }
.header-donate .wp-block-button__link { padding: 11px 22px; }

/* ---------- Hero ---------- */
.hero { padding-top: 70px !important; padding-bottom: 70px !important; }
.hero .wp-block-columns { align-items: center; gap: 60px; }
.hero h1 em { color: var(--wp--preset--color--sage); }
.hero .lead { font-size: 19px; color: var(--wp--preset--color--body); max-width: 560px; }
.arch-wrap { position: relative; }
.arch-frame { position: relative; padding: 18px; border: 1px solid var(--wp--preset--color--sage); border-radius: 999px 999px 0 0; max-width: 460px; margin-left: auto; }
.arch { position: relative; aspect-ratio: 3 / 4.1; border-radius: 999px 999px 0 0; overflow: hidden; background: linear-gradient(180deg,#E3E1D4 0%,#C9CDBE 55%,#9EA694 100%); }
.arch svg, .arch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-note { position: static; display: flex; align-items: baseline; justify-content: center; gap: 12px; flex-wrap: wrap; max-width: 460px; margin: 22px 0 0 auto; text-align: center; line-height: 1.4; }
.hero-note b { font-family: var(--wp--preset--font-family--cormorant); font-size: 24px; font-weight: 500; color: var(--wp--preset--color--moss); line-height: 1; }
.hero-note span { font-size: 13px; letter-spacing: .02em; color: #5d6258; }

/* ---------- About ---------- */
.meaning { text-align: center; }
.meaning p:not(.eyebrow) { max-width: 640px; margin-left: auto !important; margin-right: auto !important; }
.divider { width: 1px; height: 70px; background: var(--wp--preset--color--sage-soft); margin: 50px auto 0 !important; }

/* ---------- Cards ---------- */
.sec-head { align-items: flex-end !important; gap: 30px; }
.sec-head > p { max-width: 420px; }
.cards { gap: 24px !important; }
.card { background: var(--wp--preset--color--cream); padding: 38px 30px 34px !important; border-top: 2px solid var(--wp--preset--color--sage); transition: .3s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(61,67,57,.08); }
.card .num { font-variant-numeric: lining-nums; font-family: var(--wp--preset--font-family--cormorant); font-style: italic; color: var(--wp--preset--color--gold); font-size: 22px; margin: 0; }
.card h3 { margin: 14px 0 12px; font-size: 26px; }
.card p:not(.num) { font-size: 15.5px; color: var(--wp--preset--color--body); }

/* ---------- Nowruz ---------- */
.nowruz { position: relative; overflow: hidden; }
.nowruz h2, .nowruz h3 { color: var(--wp--preset--color--cream); }
.nowruz .eyebrow, .ticket .sub { color: var(--wp--preset--color--gold); }
.nowruz p { color: #d9dbd2; }
.nowruz .wp-block-columns { gap: 80px; }
.ticket { border: 1px solid rgba(245,240,230,.25); padding: 40px !important; }
.ticket .sub { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; margin: 0; }
.price { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0; border-bottom: 1px solid rgba(245,240,230,.15); color: var(--wp--preset--color--cream); }
.price strong { font-variant-numeric: lining-nums; font-family: var(--wp--preset--font-family--cormorant); font-size: 30px; font-weight: 500; }
.price small { font-size: 14px; color: #b9bdb1; }
.ticket .fine { font-size: 14px; color: #b9bdb1; }
.nowruz .wp-block-button__link { background: transparent; border-color: var(--wp--preset--color--gold); color: var(--wp--preset--color--cream); }
.nowruz .wp-block-button__link:hover { background: var(--wp--preset--color--gold) !important; border-color: var(--wp--preset--color--gold) !important; color: var(--wp--preset--color--moss); }
.sprig { position: absolute; right: -60px; top: -40px; width: 340px; opacity: .12; pointer-events: none; }

/* ---------- Get involved ---------- */
.inv-grid { gap: 0 !important; border: 1px solid var(--wp--preset--color--line); }
.inv { padding: 48px 40px !important; border-right: 1px solid var(--wp--preset--color--line); }
.inv:last-child { border-right: 0; }
.inv p { color: var(--wp--preset--color--body); font-size: 16px; }
.inv .link a { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: var(--wp--preset--color--moss); border-bottom: 1px solid var(--wp--preset--color--gold); padding-bottom: 4px; }

/* ---------- Donate ---------- */
.donate { text-align: center; }
.donate p:not(.eyebrow) { max-width: 560px; margin-left: auto !important; margin-right: auto !important; color: var(--wp--preset--color--body); }

/* ---------- Contact ---------- */
.contact .wp-block-columns { gap: 80px; }
.info dl { margin: 30px 0 0; }
.info dt { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--wp--preset--color--sage); margin-top: 24px; }
.info dd { font-variant-numeric: lining-nums; margin: 4px 0 0; font-family: var(--wp--preset--font-family--cormorant); font-size: 26px; line-height: 1.3; color: var(--wp--preset--color--moss); }
.info dd a { text-decoration: none; color: inherit; }
.info dd a:hover { color: var(--wp--preset--color--gold); }
.boostan-form { display: grid; gap: 16px; }
.boostan-form label { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--wp--preset--color--sage); }
.boostan-form input, .boostan-form textarea, .boostan-form select { width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; padding: 14px 16px; border: 1px solid var(--wp--preset--color--line); background: var(--wp--preset--color--paper); color: var(--wp--preset--color--ink); margin-top: 6px; border-radius: 0; }
.boostan-form input:focus, .boostan-form textarea:focus, .boostan-form select:focus { outline: none; border-color: var(--wp--preset--color--sage); }
.boostan-form textarea { min-height: 140px; resize: vertical; }
.boostan-form button { justify-self: start; cursor: pointer; font-family: var(--wp--preset--font-family--jost); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; padding: 15px 30px; border: 1px solid var(--wp--preset--color--sage); background: var(--wp--preset--color--sage); color: var(--wp--preset--color--paper); }
.boostan-form button:hover { background: var(--wp--preset--color--moss); }

/* ---------- Footer ---------- */
.site-footer { color: #cfd2c8; }
.site-footer a { text-decoration: none; color: #cfd2c8; }
.site-footer a:hover { color: var(--wp--preset--color--cream); }
.foot-logo { height: 150px; width: auto; }
.site-footer h4 { font-family: var(--wp--preset--font-family--jost); font-weight: 400; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--wp--preset--color--gold); margin: 0 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; line-height: 1.6; }
.site-footer li { margin: 8px 0; }
.legal { border-top: 1px solid rgba(245,240,230,.15); margin-top: 50px !important; padding-top: 26px; font-size: 13px; color: #9ea495; gap: 12px; }
.legal p { margin: 0; color: #9ea495; }

/* ---------- Inner pages ---------- */
.page-main { padding-top: 80px; padding-bottom: 100px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
	.hero .wp-block-columns, .nowruz .wp-block-columns, .contact .wp-block-columns { gap: 50px; }
	.arch-frame { margin: 0 auto; }
	.hero-note { margin: 22px auto 0; }
}
@media (max-width: 781px) {
	.inv { border-right: 0; border-bottom: 1px solid var(--wp--preset--color--line); }
	.inv:last-child { border-bottom: 0; }
	.ticket { padding: 28px !important; }
	.brand-name { font-size: 20px; }
	.section-pad { padding-top: 80px !important; padding-bottom: 80px !important; }
}
