/* Africa Always — Design My Safari (front end) */
.aae-root {
	--aae-dark: #1B2E1F;
	--aae-green: #2F5A2C;
	--aae-tile: #C0904A;
	--aae-cream: #F5F1E8;
	--aae-sand: #EDE7D8;
	--aae-ink: #22301F;
	--aae-muted: #5C6B54;
	--aae-font-heading: Marcellus;
	--aae-font-body: Karla;
	box-sizing: border-box;
	font-family: var(--aae-font-body), system-ui, -apple-system, "Helvetica Neue", sans-serif;
	color: var(--aae-ink);
	font-weight: 400;
	max-width: 940px;
	margin: 0 auto;
	-webkit-font-smoothing: antialiased;
}
.aae-root *, .aae-root *::before, .aae-root *::after { box-sizing: border-box; }
.aae-root button { font-family: inherit; }

.aae-intro { margin-bottom: clamp(26px, 4vw, 44px); }
.aae-eyebrow { display: flex; align-items: center; gap: 14px; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--aae-muted); margin-bottom: 16px; }
.aae-rule { width: 34px; height: 1px; background: var(--aae-tile); }
.aae-h1 { font-family: var(--aae-font-heading), Georgia, serif; font-weight: 400; font-size: clamp(30px, 4.4vw, 52px); line-height: 1.12; margin: 0 0 14px; color: var(--aae-dark); }
.aae-lede { margin: 0; font-size: 17px; line-height: 1.75; color: #4A5745; max-width: 620px; font-weight: 300; }

/* progress */
.aae-progress { margin-bottom: clamp(26px, 4vw, 42px); }
.aae-progress-row { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 10px; }
.aae-progress-track { height: 2px; background: rgba(27, 46, 31, .14); }
.aae-progress-bar { height: 100%; background: var(--aae-dark); transition: width .3s ease; }

.aae-label { display: block; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--aae-muted); }
.aae-label-quiet { color: #8A9382; }
.aae-h2 { font-family: var(--aae-font-heading), Georgia, serif; font-weight: 400; font-size: clamp(23px, 2.6vw, 32px); line-height: 1.25; margin: 0 0 8px; color: var(--aae-dark); }
.aae-required { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: #9A7A3E; margin-bottom: 6px; }
.aae-sub { margin: 0 0 20px; font-size: 14.5px; color: var(--aae-muted); font-weight: 300; }
.aae-h2 + .aae-grid, .aae-sub + .aae-grid, .aae-required + .aae-grid { margin-top: 18px; }
.aae-hint { display: block; margin-top: 6px; font-size: 12.5px; color: var(--aae-muted); }
.aae-stack { margin-top: 26px; }

/* tiles */
.aae-grid { display: grid; gap: 10px; grid-template-columns: 1fr; }
.aae-grid-2 { grid-template-columns: 1fr 1fr; }
@media (min-width: 641px) { .aae-grid-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 961px) { .aae-grid-3 { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 640px) { .aae-grid-2 { grid-template-columns: 1fr; } }

.aae-tile {
	position: relative; display: block; width: 100%; text-align: left; overflow: hidden;
	min-height: 74px; padding: 17px 44px 17px 18px;
	background: var(--aae-tile); color: #FFFDF8; border: 0; border-radius: 0;
	font-size: 15.5px; line-height: 1.35; cursor: pointer; transition: background .18s ease, filter .18s ease;
}
.aae-tile:hover { filter: brightness(1.06); }
.aae-tile:focus-visible { outline: 2px solid var(--aae-green); outline-offset: 3px; }
.aae-tile.is-on { background: var(--aae-dark); }
.aae-tile-sm { min-height: 0; padding: 12px 40px 12px 14px; font-size: 13.5px; }
.aae-tile-wide { grid-column: 1 / -1; }
.aae-badge { display: inline-block; margin-left: 8px; padding: 2px 7px; background: var(--aae-cream); color: var(--aae-green); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; vertical-align: middle; }
.aae-check { position: absolute; top: 0; right: 0; width: 30px; height: 30px; color: #FFFDF8; }
.aae-check::before { content: ""; position: absolute; top: 0; right: 0; width: 0; height: 0; border-top: 30px solid var(--aae-green); border-left: 30px solid transparent; }
.aae-check svg { position: absolute; top: 5px; right: 4px; width: 11px; height: 11px; }

/* links */
.aae-link { background: transparent; border: 0; padding: 0; color: var(--aae-green); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.aae-link-strong { color: var(--aae-dark); font-size: 13px; font-weight: 600; }
.aae-link-sm { display: block; padding: 8px 2px 4px; font-size: 12px; letter-spacing: .1em; }
.aae-link-quiet { color: #8A6B34; font-size: 11px; letter-spacing: .18em; }
.aae-narrow { margin-top: 26px; }
.aae-narrow-body { margin-top: 16px; display: flex; flex-direction: column; gap: 20px; }
.aae-group-title { font-family: var(--aae-font-heading), Georgia, serif; font-size: 17px; color: var(--aae-dark); margin-bottom: 10px; }

/* inputs */
.aae-field { display: block; }
.aae-field .aae-label { margin-bottom: 8px; }
.aae-input {
	width: 100%; padding: 14px 16px; background: #FFFDF8; border: 1px solid rgba(27, 46, 31, .25);
	border-radius: 0; color: var(--aae-ink); font-family: inherit; font-size: 15px; line-height: 1.6; outline: none;
}
.aae-input:focus { border-color: var(--aae-green); }
textarea.aae-input { resize: vertical; }
.aae-root input.aae-input { height: auto; min-height: 0; }
.aae-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; margin-top: 22px; }
@media (max-width: 640px) { .aae-two { grid-template-columns: 1fr; } }
.aae-ages { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 10px; }
.aae-honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* steppers */
.aae-stepper { background: var(--aae-sand); padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.aae-stepper-controls { display: flex; align-items: center; gap: 14px; }
.aae-round { width: 38px; height: 38px; background: var(--aae-tile); color: #FFFDF8; border: 0; font-size: 20px; line-height: 1; cursor: pointer; transition: background .18s ease; }
.aae-round:hover { background: var(--aae-dark); }
.aae-count { min-width: 24px; text-align: center; font-family: var(--aae-font-heading), Georgia, serif; font-size: 22px; color: var(--aae-dark); }

/* calendar */
.aae-cal-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.aae-cal-summary { font-size: 14px; color: var(--aae-dark); }
.aae-cal { background: #FFFDF8; border: 1px solid rgba(27, 46, 31, .18); padding: clamp(14px, 2vw, 22px); position: relative; }
.aae-cal-nav { position: absolute; top: clamp(14px, 2vw, 22px); left: clamp(14px, 2vw, 22px); right: clamp(14px, 2vw, 22px); display: flex; justify-content: space-between; pointer-events: none; }
.aae-nav-btn { width: 36px; height: 36px; border: 0; background: var(--aae-sand); color: var(--aae-dark); font-size: 18px; cursor: pointer; pointer-events: auto; }
.aae-nav-btn[disabled] { background: rgba(27, 46, 31, .07); color: rgba(34, 48, 31, .25); cursor: default; }
.aae-months { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(14px, 3vw, 34px); }
.aae-month-name { font-family: var(--aae-font-heading), Georgia, serif; font-size: 16px; color: var(--aae-dark); text-align: center; margin-bottom: 14px; }
.aae-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; margin-bottom: 6px; }
.aae-weekdays span { text-align: center; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #8A9382; }
.aae-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.aae-day-wrap.is-range { background: #E4EADF; }
.aae-day {
	width: 100%; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center;
	border: 0; border-radius: 0; padding: 0; background: transparent; color: var(--aae-ink);
	font-family: inherit; font-size: 13.5px; cursor: pointer; transition: background .15s ease;
}
.aae-day:hover:not(.is-past):not(.is-edge) { background: var(--aae-sand); }
.aae-day.is-edge { background: var(--aae-dark); color: #FFFDF8; }
.aae-day.is-past { color: rgba(34, 48, 31, .26); cursor: default; }
.aae-cal-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(27, 46, 31, .12); font-size: 14px; color: #3D4A38; }

/* review */
.aae-review { display: flex; flex-direction: column; gap: 2px; margin-top: 22px; }
.aae-review-block { background: var(--aae-sand); padding: 20px 22px; }
.aae-review-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 12px; }
.aae-review-lines { display: flex; flex-direction: column; gap: 6px; font-size: 15.5px; line-height: 1.55; color: var(--aae-ink); }

/* done */
.aae-done { background: var(--aae-dark); color: var(--aae-cream); padding: clamp(36px, 6vw, 64px); }
.aae-done-eyebrow { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--aae-tile); margin-bottom: 18px; }
.aae-done-heading { font-family: var(--aae-font-heading), Georgia, serif; font-weight: 400; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.2; margin: 0 0 18px; }
.aae-done-body { margin: 0 0 10px; font-size: 17px; line-height: 1.75; color: rgba(245, 241, 232, .86); max-width: 560px; font-weight: 300; }
.aae-done-note { margin: 0; font-size: 14.5px; color: rgba(245, 241, 232, .6); }

/* errors + nav */
.aae-error { margin-top: 22px; border-left: 2px solid #9A3B22; background: #F3E6DF; padding: 13px 16px; font-size: 14.5px; color: #7A2E1B; }
.aae-nav { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(30px, 4vw, 46px); padding-top: clamp(22px, 3vw, 32px); border-top: 1px solid rgba(27, 46, 31, .14); }
.aae-btn { padding: 17px 34px; background: var(--aae-dark); color: #FFFDF8; border: 0; border-radius: 0; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; transition: background .18s ease; }
.aae-btn:hover { background: var(--aae-green); }
.aae-btn[disabled] { opacity: .6; cursor: default; }
.aae-btn-soft { background: #8C9B7E; padding: 17px 30px; }
.aae-btn-soft:hover { background: #7C8B6E; }
