/**
 * Founders Week: unique components only. The page is built on the Arab Nomad
 * Fest design system (.fest-page provides the palette tokens, hero, section
 * bands, Berber dividers, centered-heading flourish, rail and buttons). This
 * file adds the hero facts row and stats, the outcome grid, the day cards, the
 * price tiers, the host band and the booking steps, using the same --f-* tokens
 * so every edition reads as one system.
 *
 * Loaded after fest.css on .fest-page.fw-page. Spacing uses logical properties
 * throughout, because the page flips to RTL from the header language pill.
 */

.fw-page .fw-narrow{ max-width:820px; margin-inline:auto; }
.fw-page .fw-note{ max-width:680px; margin:1.8rem auto 0; line-height:1.7; color:#8a6f42; font-size:.95rem; }
.fw-page .fest-dark .fw-note{ color:rgba(243,236,217,.78); }
.fw-page .fw-block{ display:block; width:100%; }
.fw-page .fw-btn-dark{ color:var(--f-terra); border-color:var(--f-terra); }
.fw-page .fw-btn-dark:hover{ background:rgba(177,95,64,.08); color:var(--f-terra); }

/* ---- Hero ---------------------------------------------------------------
   Hoi An has no photo library yet, so a plain hero has to look deliberate
   rather than broken: the same teal-to-ink wash the dark bands use. */
.fw-page .fw-hero--plain{
	background:
		radial-gradient(1200px 600px at 70% 0%, rgba(200,154,78,.22), transparent 60%),
		linear-gradient(160deg, var(--f-teal) 0%, #102C3D 55%, var(--f-ink) 100%);
}

/* The shared --fs-display floor is 56px, tuned for the short fest lockups.
   "Founders Week Tunisia" is three long words, and at 390px the third one ran
   off the screen, so this template scales further down and balances the break
   rather than stranding one word on its own line. */
.fw-page .fest-hero__title{
	font-size:clamp(2.3rem,1.4rem + 4.4vw,4.5rem);
	text-wrap:balance;
	overflow-wrap:break-word;
}

/* The pills are information and belong with the subheading above them; the
   buttons below are the actions. Equal gaps made the two rows of boxes read as
   one stuck-together block, so the gap under the pills is deliberately bigger
   than the gaps between the lines of text above. */
.fw-page .fw-facts{
	list-style:none; margin:1.7rem 0 2.8rem; padding:0;
	display:flex; flex-wrap:wrap; justify-content:center; gap:.7rem;
}
.fw-page .fw-fact{
	background:rgba(243,236,217,.12); border:1px solid rgba(200,154,78,.5);
	color:#F3ECD9; font-weight:600; font-size:.92rem;
	padding:.42rem 1rem; border-radius:999px; backdrop-filter:blur(3px);
}

.fw-page .fw-stats{
	list-style:none; margin:2rem auto 0; padding:1.3rem 0 0; max-width:640px;
	display:grid; grid-template-columns:repeat(4,1fr); gap:1rem;
	border-top:1px solid rgba(243,236,217,.28);
}
.fw-page .fw-stat{ text-align:center; }
.fw-page .fw-stat__num{
	display:block; font-family:var(--font-display); font-weight:800;
	font-size:clamp(1.5rem,3.6vw,2.1rem); color:var(--f-gold); line-height:1.2;
}
.fw-page .fw-stat__label{ display:block; margin-top:.35rem; font-size:.78rem; font-weight:600; color:rgba(243,236,217,.82); }

/* ---- Why this week ----------------------------------------------------- */
.fw-page .fw-why__lead{ margin-block:.6rem 1.4rem; }
.fw-page .fw-why__p{ line-height:1.9; margin:0 0 1.1rem; color:var(--f-ink); text-align:center; }
.fw-page .fw-why__p:last-child{ margin-bottom:0; }

/* ---- What you leave with ----------------------------------------------- */
.fw-page .fw-out{
	display:flex; flex-wrap:wrap; justify-content:center; gap:.9rem;
	margin-top:2.2rem; max-width:900px; margin-inline:auto;
}
.fw-page .fw-out__item{
	flex:0 1 calc(50% - .45rem);
	display:flex; gap:.9rem; align-items:flex-start;
	background:rgba(255,255,255,.06); border:1px solid rgba(200,154,78,.4);
	border-radius:14px; padding:1.05rem 1.3rem; line-height:1.7;
	color:rgba(243,236,217,.92);
}
.fw-page .fw-out__icon{ font-size:1.5rem; flex:none; line-height:1; }

/* ---- The week, day by day ---------------------------------------------- */
.fw-page .fw-days{ display:flex; flex-wrap:wrap; justify-content:center; gap:1.1rem; margin-top:2.2rem; }
.fw-page .fw-day{
	flex:1 1 260px; max-width:320px;
	background:#fff; border-radius:18px; padding:1.5rem 1.6rem;
	border-top:5px solid var(--f-terra); box-shadow:0 20px 44px -28px rgba(0,0,0,.7);
}
.fw-page .fw-day__head{ display:flex; align-items:center; gap:.9rem; margin-block-end:.7rem; }
.fw-page .fw-day__num{
	width:42px; height:42px; flex:none; border-radius:12px; display:grid; place-items:center;
	background:var(--f-teal); color:#fff; font-family:var(--font-display); font-weight:800; font-size:1.2rem;
}
.fw-page .fw-day__date{ display:block; font-size:.78rem; font-weight:700; color:var(--f-gold); letter-spacing:.04em; }
.fw-page .fw-day__title{ font-family:var(--font-display); font-weight:800; font-size:1.15rem; color:var(--f-teal); margin:.1rem 0 0; line-height:1.4; }
.fw-page .fw-day__body{ line-height:1.8; margin:0; color:var(--f-ink); }
.fw-page .fw-day + .fw-day::before{ content:none; } /* cancel the fest divider if it ever cascades */

.fw-page .fw-shots{ display:flex; flex-wrap:wrap; justify-content:center; gap:.9rem; margin-top:2.2rem; }
.fw-page .fw-shots img{ flex:1 1 260px; max-width:calc(33.333% - .6rem); width:100%; aspect-ratio:3/2; object-fit:cover; border-radius:14px; border:1px solid rgba(200,154,78,.35); }

/* ---- Price tiers -------------------------------------------------------- */
.fw-page .fw-tiers{ display:grid; gap:1.3rem; margin-top:2.2rem; margin-inline:auto; align-items:stretch; }
.fw-page .fw-tiers--three{ grid-template-columns:repeat(3,1fr); max-width:1040px; }
.fw-page .fw-tiers--two{ grid-template-columns:repeat(2,1fr); max-width:760px; }
.fw-page .fw-tier{
	position:relative; background:#fff; border:1px solid rgba(200,154,78,.35); border-radius:20px;
	padding:2rem 1.7rem; display:flex; flex-direction:column;
	box-shadow:0 18px 44px -30px rgba(44,33,23,.55);
}
.fw-page .fw-tier--featured{ border:2px solid var(--f-gold); box-shadow:0 24px 54px -30px rgba(200,154,78,.6); }
.fw-page .fw-tier__flag{
	position:absolute; inset-block-start:-14px; inset-inline-end:1.6rem;
	background:var(--f-gold); color:#3a2b00; font-weight:800; font-size:.75rem;
	padding:.35rem .9rem; border-radius:999px;
}
/* A pill without the gold border: labels the card without competing
   with the one card the page actually pushes. */
.fw-page .fw-tier__flag--quiet{ background:var(--f-teal); color:#F3ECD9; }
.fw-page .fw-tier__name{ font-family:var(--font-display); font-weight:800; font-size:1.15rem; color:var(--f-teal); margin:0 0 .3rem; line-height:1.4; }
.fw-page .fw-tier__price{ font-family:var(--font-display); font-weight:800; font-size:clamp(2rem,5vw,2.6rem); color:var(--f-terra); line-height:1.1; margin-block:.2rem .6rem; }
.fw-page .fw-tier__desc{ color:var(--f-ink); opacity:.82; line-height:1.7; margin:0 0 1rem; }
.fw-page .fw-tier__list{ list-style:none; margin:0 0 1.2rem; padding:0; flex:1 1 auto; }
.fw-page .fw-tier__list li{ position:relative; padding-inline-start:1.6rem; margin-block-end:.6rem; line-height:1.65; color:var(--f-ink); }
.fw-page .fw-tier__list li::before{ content:"✓"; position:absolute; inset-inline-start:0; color:var(--f-terra); font-weight:800; }
.fw-page .fw-tier__deposit{ font-size:.88rem; font-weight:700; color:var(--f-teal); margin:0 0 1rem; }

/* ---- Who it is for ------------------------------------------------------ */
.fw-page .fw-callout{
	background:#fff; border:1px solid rgba(200,154,78,.35); border-inline-start:6px solid var(--f-gold);
	border-radius:18px; padding:clamp(1.6rem,4vw,2.3rem); box-shadow:0 18px 40px -30px rgba(44,33,23,.55);
}
.fw-page .fw-who{ list-style:none; margin:1rem 0 1.3rem; padding:0; }
.fw-page .fw-who li{ position:relative; padding-inline-start:1.6rem; margin-block-end:.6rem; line-height:1.8; color:var(--f-ink); }
.fw-page .fw-who li::before{ content:"→"; position:absolute; inset-inline-start:0; color:var(--f-terra); font-weight:800; }
html[dir="rtl"] .fw-page .fw-who li::before{ content:"←"; }
.fw-page .fw-callout__not{ font-weight:700; color:var(--f-terra); line-height:1.8; margin:0 0 1rem; }
.fw-page .fw-callout__group{ line-height:1.9; margin:0; color:var(--f-ink); }

/* ---- Host band ---------------------------------------------------------- */
.fw-page .fw-host{ display:grid; grid-template-columns:280px 1fr; gap:clamp(1.5rem,4vw,3rem); align-items:center; }
.fw-page .fw-host__media{ text-align:center; }
.fw-page .fw-host__img{ width:100%; max-width:280px; aspect-ratio:1/1; object-fit:cover; border-radius:20px; box-shadow:0 24px 50px -24px rgba(0,0,0,.7); border:2px solid rgba(200,154,78,.5); }
.fw-page .fw-host__name{ display:block; margin-top:.7rem; color:rgba(243,236,217,.72); font-weight:600; font-size:.85rem; }
.fw-page .fw-host__body .fest-h2{ margin-block-start:.2rem; }
.fw-page .fw-host__body p{ line-height:1.9; }

/* ---- Booking ------------------------------------------------------------ */
.fw-page .fw-steps{ counter-reset:fw; list-style:none; margin:2rem auto 0; padding:0; max-width:620px; }
.fw-page .fw-steps li{
	counter-increment:fw; position:relative; padding-inline-start:3.2rem;
	margin-block-end:1.1rem; line-height:1.8; color:var(--f-ink);
}
.fw-page .fw-steps li::before{
	content:counter(fw); position:absolute; inset-inline-start:0; inset-block-start:-.15rem;
	width:34px; height:34px; border-radius:50%; display:grid; place-items:center;
	background:var(--f-teal); color:#fff; font-family:var(--font-display); font-weight:800; font-size:.95rem;
}
html[dir="rtl"] .fw-page .fw-steps li::before{ content:counter(fw, arabic-indic); }

.fw-page .fw-guarantee{
	display:flex; gap:1rem; align-items:center; max-width:720px; margin:1.9rem auto 0;
	background:#F0FBF1; border:1px solid #BEE5C4; border-radius:16px; padding:1.1rem 1.4rem;
}
.fw-page .fw-guarantee span{ font-size:1.6rem; }
.fw-page .fw-guarantee p{ margin:0; line-height:1.7; color:#2c2117; font-size:.98rem; }

/* ---- FAQ: main.css styles the accordion in the core brand blue ---------- */
.fw-page .faq{ margin-top:2rem; }
.fw-page .faq__q::after{ color:var(--f-terra); }
.fw-page .faq__a{ color:var(--f-ink); line-height:1.8; }

.fw-page .fw-final{ text-align:center; }
.fw-page .fw-final .fest-hero__cta{ margin-top:1.4rem; }

/* ---- Narrow screens ----------------------------------------------------- */
@media (max-width:860px){
	.fw-page .fw-host{ grid-template-columns:1fr; text-align:center; }
	.fw-page .fw-host__img{ max-width:200px; }
}
@media (max-width:760px){
	.fw-page .fw-tiers--three,
	.fw-page .fw-tiers--two{ grid-template-columns:1fr; }
	.fw-page .fw-out__item{ flex-basis:100%; }
	.fw-page .fw-day{ max-width:none; }
	.fw-page .fw-shots img{ max-width:none; }
	.fw-page .fw-stats{ grid-template-columns:repeat(2,1fr); }
	.fw-page .fw-facts{ gap:.45rem; margin-block-end:2rem; }
	.fw-page .fw-fact{ font-size:.84rem; padding:.36rem .8rem; }
}
