/* ============================================================
   RAMBUTAN LANDING — body styles
   Sits inside the FRRF Studio theme: site header/footer come from
   the theme, this file styles only the page body.

   Palette follows the comic itself: white page, black type, a pure
   red (#FF0000) for emphasis, and bright accents lifted straight
   from the artwork (sky, peach, leaf green).
   ============================================================ */

.ramb {
	/* core */
	--white:      #FFFFFF;
	--black:      #111111;
	--text:       #1A1A1A;
	--muted:      #5A5A5A;
	--red:        #FF0000;
	--red-deep:   #D40000;

	/* accents sampled from the hero illustration */
	--sky:        #A5DAF1;
	--peach:      #F6C9A6;
	--leaf:       #8EA852;
	--sun:        #FFD84D;

	/* utility */
	--line:       #E4E4E4;
	--wash:       #FAFAFA;
	--radius:     18px;
	--wrap:       1120px;

	background: var(--white);
	color: var(--text);
	font-family: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

/* ---------- harmonise the inherited FRRF chrome ---------- */
.ramb-page .site-header {
	background: var(--white, #fff);
	border-bottom-color: #ECECEC;
}
.ramb-page .site-header__bar { padding-block: 16px; }

.ramb *,
.ramb *::before,
.ramb *::after { box-sizing: border-box; }

.ramb img { max-width: 100%; height: auto; display: block; }

.ramb a { color: var(--red-deep); }

.ramb-wrap {
	width: 100%;
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 24px;
}

/* ---------- hero ---------- */
.ramb-hero { padding: 30px 0 8px; }

.ramb-hero__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
}

/* logo is decorative here — the studio menu is the way back home */
.ramb-hero__logo {
	width: clamp(170px, 28vw, 240px);
	height: auto;
	margin: 0 0 16px;
}

.ramb-kicker {
	margin: 0 0 14px;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .18em;
	color: var(--red);
}

.ramb-hero__tagline {
	font-family: "Shantell Sans", "Work Sans", sans-serif;
	font-size: clamp(27px, 3.6vw, 44px);
	line-height: 1.14;
	letter-spacing: -.015em;
	font-weight: 700;
	margin: 0 0 18px;
	text-wrap: balance;
	color: var(--black);
}

.ramb-hero__sub {
	margin: 0 0 20px;
	font-size: clamp(16px, 1.5vw, 18px);
	color: var(--muted);
	max-width: 34ch;
}

.ramb-event {
	display: inline-block;
	margin: 0 0 26px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .04em;
	color: var(--black);
	background: var(--sun);
	border-radius: 999px;
	padding: 8px 16px;
}

.ramb-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}

.ramb-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	padding: 14px 24px;
	border-radius: 999px;
	border: 2px solid transparent;
	transition: transform .16s ease, background-color .16s ease, color .16s ease, border-color .16s ease;
	line-height: 1;
}
.ramb-btn:hover { transform: translateY(-1px); }
.ramb-btn:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.ramb-btn--primary {
	background: var(--red);
	color: #fff;
}
.ramb-btn--primary:hover { background: var(--red-deep); color: #fff; }

.ramb-btn--ghost {
	background: transparent;
	color: var(--black);
	border-color: var(--black);
}
.ramb-btn--ghost:hover { background: var(--black); color: #fff; }

.ramb-hero__art img {
	width: 100%;
	border-radius: var(--radius);
	background: var(--wash);
}

/* ---------- sections ---------- */
.ramb-section { padding: 72px 0; }

.ramb-h2 {
	font-family: "Shantell Sans", "Work Sans", sans-serif;
	font-size: clamp(24px, 2.6vw, 32px);
	line-height: 1.2;
	font-weight: 700;
	margin: 0 0 14px;
	letter-spacing: -.01em;
	color: var(--black);
}

.ramb-lead {
	font-size: clamp(16px, 1.5vw, 18px);
	color: var(--muted);
	max-width: 62ch;
	margin: 0 0 30px;
}

/* ---------- panels ---------- */
.ramb-panels {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	margin-bottom: 34px;
}

.ramb-panel { margin: 0; }

.ramb-panel img {
	width: 100%;
	border-radius: 12px;
	background: var(--wash);
	transition: transform .22s ease;
}
.ramb-panel:hover img { transform: translateY(-3px); }

.ramb-panel figcaption {
	margin-top: 10px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .04em;
	color: var(--black);
}

/* ---------- traction ---------- */
.ramb-traction {
	background: var(--wash);
	border-block: 1px solid var(--line);
}

.ramb-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin: 0 0 26px;
}

.ramb-stat {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 22px 24px;
	background: var(--white);
	border-radius: 14px;
	border: 2px solid var(--black);
}

.ramb-stat:nth-child(1) { border-color: var(--red); }
.ramb-stat:nth-child(2) { border-color: var(--sky); }
.ramb-stat:nth-child(3) { border-color: var(--leaf); }

.ramb-stat__num {
	font-family: "Shantell Sans", sans-serif;
	font-size: clamp(28px, 3.4vw, 40px);
	font-weight: 700;
	line-height: 1;
	color: var(--black);
}

.ramb-stat__label {
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--muted);
}

.ramb-audience {
	margin: 0 0 28px;
	font-size: 16px;
	color: var(--muted);
	max-width: 56ch;
}

.ramb-quotes {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.ramb-quote {
	margin: 0;
	padding: 22px 22px 18px;
	background: var(--white);
	border-radius: 14px;
	border: 2px solid var(--black);
	border-left-width: 6px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 14px;
}

.ramb-quote:nth-child(1) { border-left-color: var(--red); }
.ramb-quote:nth-child(2) { border-left-color: var(--peach); }
.ramb-quote:nth-child(3) { border-left-color: var(--sky); }

.ramb-quote p {
	margin: 0;
	font-size: 15.5px;
	line-height: 1.5;
	font-style: italic;
	color: var(--black);
}

.ramb-quote cite {
	font-style: normal;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .04em;
	color: var(--red);
}

/* ---------- world / cast ---------- */
.ramb-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0 0 34px;
	padding: 0;
}

.ramb-chips li {
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--black);
	border: 2px solid var(--black);
	border-radius: 999px;
	padding: 6px 14px;
}

.ramb-chips li:nth-child(1) { background: var(--peach); }
.ramb-chips li:nth-child(2) { background: var(--sky); }
.ramb-chips li:nth-child(3) { background: var(--sun); }

.ramb-cast {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 18px;
}

.ramb-char img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 14px;
	background: var(--wash);
	border: 2px solid var(--black);
}

.ramb-char h3 {
	font-family: "Shantell Sans", sans-serif;
	font-size: 17px;
	font-weight: 700;
	margin: 12px 0 4px;
	color: var(--black);
}

.ramb-char p {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.45;
	color: var(--muted);
}

/* ---------- partners ---------- */
/* inverted block: the one dark moment on the page so the offer stands out */
.ramb-partners {
	background: var(--black);
	color: #fff;
}

.ramb-partners .ramb-h2 { color: #fff; }

.ramb-partners__inner { max-width: 760px; }

.ramb-partners__lead {
	font-family: "Shantell Sans", sans-serif;
	font-size: clamp(19px, 2vw, 25px);
	line-height: 1.35;
	font-weight: 600;
	color: #fff;
	margin: 0 0 26px;
}

.ramb-offers {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
	display: grid;
	gap: 10px;
}

.ramb-offers li {
	font-size: 15.5px;
	color: #D6D6D6;
	padding-left: 20px;
	position: relative;
}
.ramb-offers li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .62em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--red);
}
.ramb-offers strong { color: #fff; font-weight: 700; }

.ramb-partners__why {
	font-size: 15.5px;
	color: #BFBFBF;
	max-width: 60ch;
	margin: 0 0 30px;
}

.ramb-partners .ramb-btn--ghost {
	color: #fff;
	border-color: rgba(255, 255, 255, .4);
}
.ramb-partners .ramb-btn--ghost:hover {
	background: #fff;
	border-color: #fff;
	color: var(--black);
}

.ramb-jp {
	font-size: 14px;
	line-height: 1.9;
	color: #A8A8A8;
	margin: 0;
}
.ramb-jp:first-of-type { margin-top: 26px; }

/* ---------- creator ---------- */
.ramb-creator__grid {
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 40px;
	align-items: center;
}

.ramb-creator__photo {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: var(--radius);
	background: var(--wash);
	border: 2px solid var(--black);
}

.ramb-creator .ramb-lead { margin-bottom: 18px; }

.ramb-links {
	display: flex;
	flex-wrap: wrap;
	gap: 22px;
	margin: 0;
}

.ramb-links a {
	font-size: 14.5px;
	font-weight: 700;
	text-decoration: none;
	color: var(--black);
	border-bottom: 3px solid var(--red);
	padding-bottom: 2px;
}
.ramb-links a:hover { color: var(--red); }

/* ---------- contact ---------- */
.ramb-contact {
	text-align: center;
	padding-bottom: 56px;
}

.ramb-contact .ramb-h2 { margin-bottom: 18px; }

.ramb-contact__mail {
	margin: 0 0 6px;
	font-family: "Shantell Sans", sans-serif;
	font-size: clamp(20px, 2.6vw, 30px);
	font-weight: 700;
}

.ramb-contact__mail a { text-decoration: none; color: var(--red); }
.ramb-contact__mail a:hover { text-decoration: underline; }

.ramb-contact__ig { margin: 0; }

.ramb-contact__ig a {
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	color: var(--black);
}
.ramb-contact__ig a:hover { color: var(--red); }

.ramb-contact__event {
	margin: 22px 0 0;
	font-size: 12.5px;
	letter-spacing: .04em;
	color: var(--muted);
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
	.ramb-cast { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 780px) {
	.ramb { font-size: 16px; }

	.ramb-hero { padding-top: 18px; }

	.ramb-hero__grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	/* image first on mobile: the artwork sells before the words */
	.ramb-hero__art  { order: -1; }
	.ramb-hero__sub  { max-width: none; }

	.ramb-section { padding: 54px 0; }

	.ramb-panels { grid-template-columns: 1fr; gap: 26px; }

	.ramb-stats { grid-template-columns: 1fr; }

	.ramb-quotes { grid-template-columns: 1fr; }

	.ramb-cast { grid-template-columns: repeat(2, 1fr); }

	.ramb-creator__grid { grid-template-columns: 1fr; gap: 22px; }
	.ramb-creator__photo { max-width: 200px; }

	.ramb-actions { flex-direction: column; align-items: stretch; }
	.ramb-btn { justify-content: center; padding: 15px 22px; }
}

@media (prefers-reduced-motion: reduce) {
	.ramb * { transition: none !important; animation: none !important; }
}

/* print — this page doubles as a leave-behind sheet */
@media print {
	.ramb-page .site-header,
	.ramb-page .site-footer { display: none; }
	.ramb { background: #fff; }
	.ramb-actions { display: none; }
	.ramb-section { padding: 24px 0; break-inside: avoid; }
	.ramb-partners { background: #fff; color: #000; border: 2px solid #000; }
	.ramb-partners .ramb-h2, .ramb-partners__lead, .ramb-offers strong { color: #000; }
	.ramb-offers li, .ramb-partners__why, .ramb-jp { color: #333; }
}

/* FIX: white labels on red buttons */
.ramb .ramb-btn--primary,
.ramb .ramb-btn--primary:visited,
.ramb .ramb-btn--primary:hover,
.ramb .ramb-btn--primary:focus,
.ramb .ramb-btn--primary span,
.ramb-partners .ramb-btn--primary {
	color: #FFFFFF !important;
}
