/* =========================================================
   The Daisy Collective — main stylesheet
   ========================================================= */

:root {
	--c-bg:        #faf7f2;
	--c-bg-alt:    #f4efe6;
	--c-ink:       #1c1b1a;
	--c-ink-soft:  #3d3a36;
	--c-muted:     #6b6660;
	--c-line:      #e7e2d9;
	--c-petal:     #e9e5de;
	--c-petal-2:   #ded8cd;
	--c-orange:    #ec9332;
	--c-orange-2:  #d67b1b;
	--c-orange-3:  #b8640e;

	--ff-sans:     "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
	--ff-serif:    "Fraunces", "Iowan Old Style", Georgia, serif;

	--radius-sm:   6px;
	--radius-md:   14px;
	--radius-lg:   22px;

	--shadow-md:   0 10px 30px -12px rgba(28,27,26,.12), 0 4px 10px -6px rgba(28,27,26,.08);
	--shadow-lg:   0 30px 60px -24px rgba(28,27,26,.18), 0 10px 20px -10px rgba(28,27,26,.1);

	--ease:        cubic-bezier(.2, .7, .2, 1);
	--dur:         .7s;
}

/* -------------------- Reset-lite -------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--c-bg);
	color: var(--c-ink);
	font-family: var(--ff-sans);
	font-size: clamp(16px, 0.95rem + .15vw, 18px);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--c-orange); color: #fff; }

/* Screen-reader only text */
.screen-reader-text {
	position: absolute; left: -10000px; top: auto;
	width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
	left: 8px; top: 8px; width: auto; height: auto;
	background: var(--c-ink); color: #fff;
	padding: .5rem .75rem; border-radius: var(--radius-sm);
}

/* -------------------- Layout -------------------- */
.container {
	width: 100%;
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 clamp(1.25rem, 4vw, 2.25rem);
	position: relative;
}

/* -------------------- Typography -------------------- */
.eyebrow,
.section-tag {
	font-size: .75rem;
	letter-spacing: .22em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--c-orange-2);
	margin: 0 0 1.25rem;
}
.section-tag { color: var(--c-muted); }

.section-title {
	font-size: clamp(2rem, 2rem + 2vw, 3.4rem);
	line-height: 1.08;
	letter-spacing: -0.02em;
	font-weight: 700;
	margin: 0 0 1.5rem;
	color: var(--c-ink);
	text-wrap: balance;
}
.section-title em {
	font-family: var(--ff-serif);
	font-weight: 400;
	font-style: italic;
	color: var(--c-orange-2);
	letter-spacing: -0.01em;
}

/* -------------------- Buttons -------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	padding: .95rem 1.5rem;
	font-weight: 600;
	font-size: .95rem;
	letter-spacing: .01em;
	border-radius: 999px;
	transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
	will-change: transform;
	cursor: pointer;
	position: relative;
	white-space: nowrap;
}
.btn--primary {
	background: var(--c-ink);
	color: #fff;
}
.btn--primary:hover {
	background: var(--c-orange-2);
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}
.btn--ghost {
	background: transparent;
	color: var(--c-ink);
	box-shadow: inset 0 0 0 1.5px var(--c-ink);
}
.btn--ghost:hover {
	background: var(--c-ink);
	color: #fff;
	transform: translateY(-2px);
}
.btn--block { width: 100%; }
.btn__spinner {
	width: 16px; height: 16px;
	border-radius: 50%;
	border: 2px solid rgba(255,255,255,.35);
	border-top-color: #fff;
	display: none;
	animation: spin .7s linear infinite;
}
.is-loading .btn__spinner { display: inline-block; }
.is-loading .btn__label { opacity: .6; }
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================
   Daisy SVG — animated petals + core
   ========================================================= */
.daisy {
	width: 100%;
	height: 100%;
	overflow: visible;
}
.daisy__petals {
	transform-box: view-box;        /* use SVG viewBox as reference */
	transform-origin: 50% 50%;      /* centre of the daisy — the core */
	animation: daisy-spin 80s linear infinite;
}
.daisy__petal {
	fill: var(--c-petal);
	/* Petals stay rigid — motion comes from the group rotation alone */
}
.daisy__core {
	fill: var(--c-orange);
	transform-box: view-box;
	transform-origin: 50% 50%;
	animation: core-pulse 5s ease-in-out infinite;
}
@keyframes daisy-spin {
	from { transform: rotate(0deg); }
	to   { transform: rotate(360deg); }
}
@keyframes core-pulse {
	0%, 100% { transform: scale(1); }
	50%      { transform: scale(1.045); }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
	position: relative;
	padding: clamp(5.5rem, 10vw, 8rem) 0 clamp(4rem, 8vw, 6rem);
	min-height: 92vh;
	min-height: 92svh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	isolation: isolate;
	overflow: hidden;
	background:
		radial-gradient(1200px 700px at 85% -10%, rgba(236,147,50,.08), transparent 60%),
		radial-gradient(900px 600px at -10% 110%, rgba(236,147,50,.05), transparent 70%),
		var(--c-bg);
}
.hero__inner { position: relative; z-index: 2; }
.hero__bg {
	position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.hero__daisy {
	position: absolute;
	will-change: transform;
}
.hero__daisy--xl {
	width: clamp(360px, 55vw, 700px);
	aspect-ratio: 1 / 1;
	top: -8%;
	right: -14%;
	opacity: .85;
}
.hero__daisy--sm {
	width: clamp(140px, 18vw, 260px);
	aspect-ratio: 1 / 1;
	bottom: 4%;
	left: -4%;
	opacity: .55;
}

.wordmark {
	font-family: var(--ff-sans);
	font-weight: 800;
	font-size: clamp(3rem, 2.5rem + 7vw, 9rem);
	line-height: 0.92;
	letter-spacing: -0.035em;
	margin: 0 0 2rem;
	color: var(--c-ink);
	text-wrap: balance;
}
.wordmark span { display: inline-block; }
.wordmark span + span { margin-left: .2em; }
@media (max-width: 720px) {
	.wordmark span { display: block; }
	.wordmark span + span { margin-left: 0; }
}

.hero__lede {
	font-family: var(--ff-sans);
	font-weight: 500;
	font-size: clamp(1.25rem, 1rem + 1vw, 1.9rem);
	line-height: 1.25;
	letter-spacing: -0.01em;
	max-width: 22ch;
	margin: 0 0 1.25rem;
	color: var(--c-ink);
}
.hero__lede em {
	font-family: var(--ff-serif);
	font-weight: 400;
	font-style: italic;
	color: var(--c-orange-2);
}
.hero__sub {
	font-size: 1.05rem;
	max-width: 48ch;
	color: var(--c-ink-soft);
	margin: 0 0 2.25rem;
}
.hero__cta {
	display: flex;
	flex-wrap: wrap;
	gap: .85rem;
}

.scroll-cue {
	position: absolute;
	bottom: 1.75rem;
	left: 50%;
	transform: translateX(-50%);
	width: 28px; height: 44px;
	border-radius: 999px;
	border: 1.5px solid var(--c-ink);
	display: grid; place-items: start center;
	padding-top: 7px;
	opacity: .55;
	transition: opacity .3s var(--ease);
	z-index: 2;
}
.scroll-cue:hover { opacity: 1; }
.scroll-cue span {
	width: 3px; height: 7px;
	background: var(--c-ink);
	border-radius: 2px;
	animation: scroll-cue 1.8s var(--ease) infinite;
}
@keyframes scroll-cue {
	0%   { transform: translateY(0);  opacity: 1; }
	60%  { transform: translateY(14px); opacity: 0; }
	61%  { transform: translateY(0); opacity: 0; }
	100% { transform: translateY(0); opacity: 1; }
}

/* =========================================================
   STORY
   ========================================================= */
.story {
	padding: clamp(5rem, 10vw, 8rem) 0;
	background: var(--c-bg);
	position: relative;
}
.story__inner { max-width: 760px; }

.prose p {
	font-size: clamp(1.05rem, 1rem + .25vw, 1.2rem);
	line-height: 1.75;
	color: var(--c-ink-soft);
	margin: 0 0 1.35em;
}
.prose p em {
	font-family: var(--ff-serif);
	font-weight: 400;
	font-style: italic;
	color: var(--c-ink);
}
.prose .lead {
	font-size: clamp(1.3rem, 1.1rem + .6vw, 1.55rem);
	line-height: 1.45;
	color: var(--c-ink);
	font-weight: 500;
	margin-bottom: 1.8em;
}
.prose .emphasis {
	font-family: var(--ff-sans);
	font-weight: 700;
	font-style: normal;
	font-size: clamp(1.5rem, 1.25rem + .8vw, 1.9rem);
	line-height: 1.3;
	letter-spacing: -0.02em;
	color: var(--c-orange-2);
	margin: .5em 0 1.4em;
}

/* =========================================================
   PULL-QUOTE
   ========================================================= */
.pullquote {
	position: relative;
	padding: clamp(4rem, 9vw, 7rem) 0;
	background: var(--c-ink);
	color: #fff;
	overflow: hidden;
	isolation: isolate;
}
.pullquote .container { position: relative; z-index: 2; max-width: 900px; text-align: center; }
.pullquote__daisy {
	position: absolute;
	right: -8%;
	top: -20%;
	width: clamp(320px, 44vw, 620px);
	aspect-ratio: 1 / 1;
	opacity: .08;
	z-index: 1;
	will-change: transform;
}
.pullquote__daisy .daisy__petal { fill: #fff; }
.pullquote__daisy .daisy__core  { fill: var(--c-orange); opacity: .9; }

.pullquote blockquote {
	margin: 0;
	font-size: clamp(1.8rem, 1.4rem + 2vw, 3.2rem);
	line-height: 1.15;
	letter-spacing: -0.02em;
	font-weight: 500;
	text-wrap: balance;
}
.pullquote blockquote p { margin: 0 0 .25em; }
.pullquote blockquote em {
	font-family: var(--ff-serif);
	font-weight: 400;
	font-style: italic;
	color: var(--c-orange);
}
.pullquote__sig {
	margin: 2rem 0 0;
	font-size: .9rem;
	letter-spacing: .15em;
	text-transform: uppercase;
	color: rgba(255,255,255,.6);
}

/* =========================================================
   QUALIFICATIONS
   ========================================================= */
.quals {
	padding: clamp(5rem, 10vw, 8rem) 0;
	background: var(--c-bg-alt);
}
.quals__intro {
	max-width: 62ch;
	font-size: 1.1rem;
	color: var(--c-ink-soft);
	margin: 0 0 2.5rem;
}
.quals__intro em {
	font-family: var(--ff-serif);
	font-weight: 400;
	font-style: italic;
	color: var(--c-orange-2);
}
.quals__list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1rem;
}
.quals__list li {
	display: flex;
	align-items: center;
	gap: .85rem;
	padding: 1.15rem 1.25rem;
	background: #fff;
	border: 1px solid var(--c-line);
	border-radius: var(--radius-md);
	font-weight: 500;
	color: var(--c-ink);
	transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.quals__list li:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-md);
	border-color: transparent;
}
.quals__dot {
	width: 10px; height: 10px;
	border-radius: 50%;
	background: var(--c-orange);
	flex-shrink: 0;
	box-shadow: 0 0 0 3px rgba(236,147,50,.18);
}

/* =========================================================
   SIGNUP
   ========================================================= */
.signup {
	position: relative;
	padding: clamp(5rem, 10vw, 8rem) 0;
	background: var(--c-bg);
	overflow: hidden;
	isolation: isolate;
}
.signup__inner {
	max-width: 620px;
	text-align: center;
	position: relative;
	z-index: 2;
}
.signup__lede {
	color: var(--c-ink-soft);
	margin: 0 0 2.5rem;
	font-size: 1.05rem;
}
.signup__daisy {
	position: absolute;
	pointer-events: none;
	aspect-ratio: 1 / 1;
	opacity: .28;
	z-index: 1;
	will-change: transform;
}
.signup__daisy--a { width: clamp(240px, 28vw, 420px); top: -8%; left: -10%; }
.signup__daisy--b { width: clamp(180px, 22vw, 340px); bottom: -6%; right: -8%; opacity: .22; }

.daisy-form {
	display: grid;
	gap: 1rem;
	text-align: left;
	background: #fff;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	border-radius: var(--radius-lg);
	border: 1px solid var(--c-line);
	box-shadow: var(--shadow-lg);
}
.field { display: grid; gap: .4rem; }
.field label {
	font-size: .8rem;
	font-weight: 600;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--c-muted);
}
.field__opt {
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0;
	color: var(--c-muted);
	opacity: .7;
}
.field input {
	font: inherit;
	color: var(--c-ink);
	background: var(--c-bg);
	border: 1.5px solid transparent;
	border-radius: var(--radius-sm);
	padding: .85rem 1rem;
	transition: border-color .2s var(--ease), background .2s var(--ease);
	width: 100%;
}
.field input:hover { background: #f7f2e9; }
.field input:focus {
	outline: 0;
	border-color: var(--c-orange);
	background: #fff;
}
.field--honey { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.field--submit { margin-top: .25rem; }

.daisy-form__status {
	margin: .5rem 0 0;
	font-size: .95rem;
	min-height: 1.4em;
	color: var(--c-muted);
}
.daisy-form__status.is-error   { color: #b00020; }
.daisy-form__status.is-success { color: var(--c-orange-3); font-weight: 500; }

/* Replace form with confirmation */
.daisy-form.is-done .field,
.daisy-form.is-done .field--submit { display: none; }
.daisy-form.is-done .daisy-form__status { font-size: 1.1rem; text-align: center; padding: 1rem 0 .25rem; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
	background: var(--c-ink);
	color: #e6e3de;
	padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem;
}
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--c-orange); }

.site-footer__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	align-items: start;
}
@media (min-width: 768px) {
	.site-footer__inner { grid-template-columns: 1.2fr 1fr; gap: 3rem; }
}

.footer-daisy {
	width: 56px; height: 56px;
	margin-bottom: 1.1rem;
}
.footer-daisy .daisy__petal { fill: #ffffff14; }
.footer-wordmark {
	font-weight: 800;
	font-size: 1.35rem;
	letter-spacing: -0.01em;
	margin: 0 0 .35rem;
	color: #fff;
}
.footer-wordmark span {
	font-weight: 400;
	color: var(--c-orange);
	font-family: var(--ff-serif);
	font-style: italic;
}
.footer-tag { margin: 0; font-size: .95rem; color: rgba(255,255,255,.65); }

.site-footer__meta {
	display: grid;
	gap: 1.5rem;
}
.site-footer__meta p { margin: 0; line-height: 1.8; color: rgba(255,255,255,.8); }

.socials {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	gap: .65rem;
}
.socials a {
	display: grid;
	place-items: center;
	width: 40px; height: 40px;
	border-radius: 50%;
	background: rgba(255,255,255,.06);
	color: rgba(255,255,255,.8);
	transition: background .25s var(--ease), transform .25s var(--ease), color .25s var(--ease);
}
.socials a:hover {
	background: var(--c-orange);
	color: #fff;
	transform: translateY(-2px);
}

.site-footer__fineprint {
	margin-top: 3rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255,255,255,.08);
	font-size: .82rem;
	color: rgba(255,255,255,.45);
}

/* =========================================================
   Reveal-on-scroll
   ========================================================= */
.reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity .8s var(--ease), transform .8s var(--ease);
	transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* Stagger siblings */
.hero__inner .reveal:nth-child(1) { --reveal-delay: 0s; }
.hero__inner .reveal:nth-child(2) { --reveal-delay: .08s; }
.hero__inner .reveal:nth-child(3) { --reveal-delay: .18s; }
.hero__inner .reveal:nth-child(4) { --reveal-delay: .28s; }
.hero__inner .reveal:nth-child(5) { --reveal-delay: .38s; }

.prose .reveal:nth-child(odd)  { --reveal-delay: 0s; }
.prose .reveal:nth-child(even) { --reveal-delay: .08s; }

.quals__list .reveal:nth-child(1) { --reveal-delay: 0s; }
.quals__list .reveal:nth-child(2) { --reveal-delay: .06s; }
.quals__list .reveal:nth-child(3) { --reveal-delay: .12s; }
.quals__list .reveal:nth-child(4) { --reveal-delay: .18s; }
.quals__list .reveal:nth-child(5) { --reveal-delay: .24s; }

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
	.daisy__petals, .daisy__core, .daisy__petal { animation: none !important; }
	.reveal { opacity: 1; transform: none; }
	[data-parallax] { transform: none !important; }
}
