/* ==========================================================================
   Little Sparrows Technologies — Homepage, new direction (Oct 2026)
   Simpler, corporate and clinical. Motion is minimal and user-driven.
   ========================================================================== */

:root {
	--mint: #7ebda8;
	--mint-600: #4f9a82;
	--mint-100: #eaf5f0;
	--ink: #5e605f;
	--ink-900: #26302e;
	--blue: #57727f;
	--soft: #f5f7f8;
	--line: #e4e8ea;
	--white: #fff;

	--font-head: "Nunito", system-ui, sans-serif;
	--font-body: "Inter", system-ui, sans-serif;

	--wrap: 1240px;
	--gutter: clamp(16px, 4vw, 48px);
	--radius: 20px;
	--ease: cubic-bezier(.22, 1, .36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font: 400 17px/1.6 var(--font-body);
	-webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--mint-600); outline-offset: 3px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--soft { background: var(--soft); }

.eyebrow {
	display: inline-block;
	margin-bottom: 14px;
	font: 600 13px/1 var(--font-body);
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--mint-600);
}
.h2 { font: 700 clamp(30px, 3.4vw, 46px)/1.1 var(--font-head); color: var(--ink-900); letter-spacing: -.01em; }
.lead { max-width: 60ch; margin-top: 16px; font-size: clamp(17px, 1.3vw, 19px); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(32px, 4vw, 56px); }

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 50px;
	padding: 0 26px;
	border: 1.5px solid var(--mint-600);
	border-radius: 50px;
	background: var(--mint-600);
	color: #fff;
	font: 600 15px/1 var(--font-body);
	transition: background-color .3s, color .3s, border-color .3s;
}
.btn:hover { background: var(--ink-900); border-color: var(--ink-900); }
.btn--ghost { background: transparent; color: var(--ink-900); border-color: var(--line); }
.btn--ghost:hover { background: var(--ink-900); border-color: var(--ink-900); color: #fff; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--mint-600); }
.link svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link:hover svg { transform: translateX(4px); }

/* Header ------------------------------------------------------------------ */
.header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, .94);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid transparent;
	transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(38, 48, 46, .4); }
.header__inner { display: flex; align-items: center; gap: 28px; height: 84px; transition: height .3s var(--ease); }
.header.is-scrolled .header__inner { height: 68px; }
.header__logo img { width: clamp(200px, 18vw, 250px); height: auto; }
.nav { display: none; margin-left: auto; gap: 28px; font-size: 15px; font-weight: 500; color: var(--ink-900); }
.nav a { position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--mint); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.header__cta { display: none; min-height: 44px; padding: 0 20px; font-size: 14px; }
.burger { margin-left: auto; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 2px; background: var(--ink-900); position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
@media (min-width: 1024px) {
	.nav { display: flex; }
	.header__cta { display: inline-flex; }
	.burger { display: none; }
}

/* Hero -------------------------------------------------------------------- */
.hero { padding-block: clamp(40px, 6vw, 80px) clamp(48px, 6vw, 80px); }
.hero__grid { display: grid; gap: clamp(32px, 4vw, 64px); align-items: center; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1fr 1.05fr; } }
.hero__title { font: 700 clamp(40px, 5vw, 68px)/1.04 var(--font-head); color: var(--ink-900); letter-spacing: -.02em; }
.hero__title em { font-style: normal; color: var(--mint-600); }
.hero__text { max-width: 46ch; margin-top: 22px; font-size: clamp(17px, 1.35vw, 20px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__media { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3.2; background: #ddd; }
.hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__caption {
	position: absolute;
	left: 16px; bottom: 16px;
	padding: 8px 14px;
	border-radius: 50px;
	background: rgba(255, 255, 255, .9);
	font-size: 13px;
	color: var(--ink-900);
}

/* Key figures ---------------------------------------------------------------- */
.figures { border-block: 1px solid var(--line); }
.figures__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .figures__grid { grid-template-columns: repeat(4, 1fr); } }
.figure { padding: 28px clamp(12px, 2vw, 28px); border-left: 1px solid var(--line); }
.figure:nth-child(odd) { border-left: 0; }
@media (min-width: 900px) { .figure:nth-child(odd) { border-left: 1px solid var(--line); } .figure:first-child { border-left: 0; } }
.figure b { display: block; font: 700 clamp(34px, 3.4vw, 46px)/1 var(--font-head); color: var(--mint-600); font-variant-numeric: tabular-nums; }
.figure span { display: block; margin-top: 8px; font-size: 15px; line-height: 1.4; }

/* Products slider --------------------------------------------------------- */
.slider { position: relative; }
.slider__viewport { overflow: hidden; border-radius: var(--radius); }
.slider__track { display: flex; transition: transform .6s var(--ease); }
.slide { flex: 0 0 100%; display: grid; background: var(--soft); }
@media (min-width: 900px) { .slide { grid-template-columns: 1.15fr 1fr; min-height: 480px; } }
.slide__media { position: relative; min-height: 280px; overflow: hidden; }
.slide__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide__body { display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: clamp(28px, 4vw, 56px); }
.slide__tag { align-self: flex-start; padding: 6px 12px; border-radius: 50px; background: var(--mint-100); color: var(--mint-600); font: 600 12px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; }
.slide__title { font: 700 clamp(28px, 2.8vw, 40px)/1.1 var(--font-head); color: var(--ink-900); }
.slide__list { display: grid; gap: 8px; font-size: 15.5px; }
.slide__list li { position: relative; padding-left: 22px; }
.slide__list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 10px; border-radius: 50%; background: var(--mint); }
.slider__controls { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; }
.slider__dots { display: flex; gap: 10px; }
.slider__dot { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 50px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 500; cursor: pointer; transition: background-color .3s, color .3s, border-color .3s; }
.slider__dot[aria-selected="true"] { background: var(--ink-900); border-color: var(--ink-900); color: #fff; }
.slider__arrows { display: flex; gap: 10px; }
.slider__arrow { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink-900); cursor: pointer; transition: background-color .3s, color .3s; }
.slider__arrow:hover { background: var(--ink-900); color: #fff; }
.slider__arrow svg { width: 20px; height: 20px; }
@media (max-width: 600px) { .slider__dot { padding: 7px 10px; font-size: 12.5px; } .slider__arrows { display: none; } }

/* Settings ---------------------------------------------------------------- */
.settings { display: grid; gap: 24px; }
@media (min-width: 900px) { .settings { grid-template-columns: repeat(3, 1fr); } }
.setting__media { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.setting__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.setting:hover .setting__media img { transform: scale(1.04); }
.setting__media--cutout { background: #fff; border: 1px solid var(--line); }
.setting__media--cutout img { object-fit: contain; padding: 12px; }
.setting h3 { margin-top: 18px; font: 700 21px/1.25 var(--font-head); color: var(--ink-900); }
.setting p { margin-top: 6px; font-size: 15.5px; }

/* Evidence ------------------------------------------------------------------ */
.evidence { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .evidence { grid-template-columns: .9fr 1.1fr; gap: 64px; } }
.evidence__cards { display: grid; gap: 16px; }
@media (min-width: 600px) { .evidence__cards { grid-template-columns: repeat(2, 1fr); } }
.stat-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.stat-card b { display: block; font: 700 clamp(36px, 3.4vw, 48px)/1 var(--font-head); color: var(--ink-900); font-variant-numeric: tabular-nums; }
.stat-card b small { font-size: .5em; color: var(--mint-600); }
.stat-card p { margin-top: 10px; font-size: 15px; line-height: 1.45; }
.stat-card--wide { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--ink-900); color: rgba(255, 255, 255, .85); border-color: var(--ink-900); }
.stat-card--wide h3 { font: 700 20px/1.3 var(--font-head); color: #fff; }
.stat-card--wide .link { color: var(--mint); white-space: nowrap; }

/* Testimonials ------------------------------------------------------------- */
.voices { display: grid; gap: 24px; }
@media (min-width: 960px) { .voices { grid-template-columns: 1.25fr 1fr; } }
.voice-feature { display: grid; overflow: hidden; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
@media (min-width: 700px) { .voice-feature { grid-template-columns: 1fr 1fr; } }
.voice-feature__media { position: relative; min-height: 260px; }
.voice-feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.voice-feature__body { display: flex; flex-direction: column; gap: 16px; padding: 30px; }
.voice-feature__stat b { display: block; font: 700 44px/1 var(--font-head); color: var(--mint-600); }
.voice-feature__stat span { font-size: 15px; }
.voice-feature__quote { font: 500 18px/1.45 var(--font-head); color: var(--ink-900); }
.voice-list { display: grid; gap: 16px; }
.voice { padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.voice blockquote { font: 500 18px/1.45 var(--font-head); color: var(--ink-900); }
.voice cite { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-style: normal; font-size: 14px; }
.voice cite i { width: 40px; height: 40px; border-radius: 50%; background: var(--mint-100); flex: none; }
.voice cite b { display: block; color: var(--ink-900); }
.pending { display: inline-block; margin-top: 4px; padding: 2px 8px; border-radius: 4px; background: #fff4d6; color: #8a6d1d; font: 600 11px/1.6 var(--font-body); letter-spacing: .04em; text-transform: uppercase; }

/* Jaundice band ------------------------------------------------------------ */
.band { display: grid; gap: 32px; align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: 28px; background: var(--mint-100); }
@media (min-width: 900px) { .band { grid-template-columns: auto 1fr auto; gap: 48px; } }
.band b { font: 700 clamp(64px, 7vw, 96px)/1 var(--font-head); color: var(--mint-600); }
.band h2 { font: 700 clamp(22px, 2vw, 28px)/1.25 var(--font-head); color: var(--ink-900); }
.band p { margin-top: 8px; max-width: 60ch; font-size: 16px; }

/* News --------------------------------------------------------------------- */
.news { display: grid; gap: 24px; }
@media (min-width: 900px) { .news { grid-template-columns: repeat(3, 1fr); } }
.post__media { aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post:hover .post__media img { transform: scale(1.04); }
.post__meta { display: flex; gap: 12px; margin-top: 16px; font-size: 13px; color: var(--ink); }
.post__meta span:first-child { font-weight: 600; color: var(--mint-600); text-transform: uppercase; letter-spacing: .08em; }
.post h3 { margin-top: 8px; font: 700 20px/1.3 var(--font-head); color: var(--ink-900); transition: color .3s; }
.post:hover h3 { color: var(--mint-600); }

/* Contact ------------------------------------------------------------------- */
.contact { display: grid; gap: 40px; padding: clamp(32px, 5vw, 64px); border-radius: 28px; background: var(--ink-900); color: rgba(255, 255, 255, .8); }
@media (min-width: 960px) { .contact { grid-template-columns: 1fr 1fr; gap: 64px; } }
.contact .h2 { color: #fff; }
.contact .eyebrow { color: var(--mint); }
.form { display: grid; gap: 14px; }
@media (min-width: 600px) { .form { grid-template-columns: 1fr 1fr; } .form .full { grid-column: 1 / -1; } }
.form label { display: grid; gap: 6px; font-size: 13px; color: rgba(255, 255, 255, .7); }
.form input,
.form select {
	min-height: 50px;
	padding: 0 16px;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 12px;
	background: rgba(255, 255, 255, .06);
	color: #fff;
	font: inherit;
	font-size: 15px;
}
.form select option { color: var(--ink-900); }
.form input:focus,
.form select:focus { outline: none; border-color: var(--mint); }
.form .btn { justify-self: start; }
.form__ok { display: none; color: var(--mint); font-weight: 600; }
.form.is-sent .form__ok { display: block; }

/* Footer ------------------------------------------------------------------- */
.footer { padding-block: 56px 32px; font-size: 15px; }
.footer__grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.footer__grid img { width: 230px; height: auto; }
.footer h4 { margin: 0 0 12px; font: 700 15px/1 var(--font-head); color: var(--ink-900); }
.footer li + li { margin-top: 8px; }
.footer a:hover { color: var(--mint-600); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; }

/* Motion (driven by GSAP in new-home.js) --------------------------------- */
.js [data-reveal],
.js [data-hero] { opacity: 0; }
.split-line { padding-bottom: .08em; margin-bottom: -.08em; }
[data-img] { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.js [data-reveal], .js [data-hero] { opacity: 1; }
	*, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}

/* ==========================================================================
   v2 — photo hero, testimonials, social feed (Oct 15 feedback)
   ========================================================================== */
.eyebrow--light { color: #bfe6d8; }
.btn--light { background: #fff; border-color: #fff; color: var(--ink-900); }
.btn--light:hover { background: var(--mint-600); border-color: var(--mint-600); color: #fff; }
.btn--outline-light { background: transparent; border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn--outline-light:hover { background: #fff; border-color: #fff; color: var(--ink-900); }

/* Photo hero */
.hero--photo { position: relative; display: flex; align-items: center; min-height: min(86svh, 820px); padding-block: 80px; overflow: hidden; color: #fff; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 30, 28, .82) 0%, rgba(20, 30, 28, .55) 45%, rgba(20, 30, 28, .05) 80%); }
.hero__content { position: relative; z-index: 1; }
.hero--photo .hero__title { max-width: 12ch; color: #fff; }
.hero--photo .hero__title em { color: #9fd8c3; }
.hero--photo .hero__text { color: rgba(255, 255, 255, .88); }
@media (max-width: 700px) {
	.hero__bg::after { background: linear-gradient(180deg, rgba(20, 30, 28, .35) 0%, rgba(20, 30, 28, .85) 70%); }
	.hero--photo { align-items: flex-end; min-height: 88svh; }
}

/* Settings image hover keeps working inside reveal mask */
.setting__media { position: relative; }

/* Testimonials */
.sample-note { padding: 6px 12px; border-radius: 50px; background: #fff4d6; color: #8a6d1d; font: 600 12px/1.4 var(--font-body); letter-spacing: .04em; }
.testimonials { display: grid; gap: 20px; }
@media (min-width: 700px) { .testimonials { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .testimonials { grid-template-columns: repeat(3, 1fr); } }
.tcard { display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.tcard:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(38, 48, 46, .45); }
.tcard__setting { align-self: flex-start; padding: 5px 11px; border-radius: 50px; background: var(--mint-100); color: var(--mint-600); font: 600 11.5px/1.2 var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
.tcard blockquote { flex: 1; font: 500 18px/1.45 var(--font-head); color: var(--ink-900); }
.tcard figcaption { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 1.35; }
.tcard figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.tcard figcaption b { display: block; color: var(--ink-900); }
.tcard--feature { padding: 0; overflow: hidden; display: grid; }
@media (min-width: 1024px) { .tcard--feature { grid-column: span 2; grid-template-columns: 1fr 1.1fr; } }
.tcard__media { position: relative; min-height: 260px; }
.tcard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tcard__body { display: flex; flex-direction: column; gap: 16px; padding: 30px; }
.tcard--feature blockquote { font-size: clamp(20px, 1.8vw, 24px); }
.tcard__mark { width: 34px; height: 26px; color: var(--mint); }
.tcard--feature figcaption { display: block; }
.tcard--partner { justify-content: center; background: var(--ink-900); border-color: var(--ink-900); color: rgba(255, 255, 255, .82); }
.tcard--partner .tcard__setting { background: rgba(255, 255, 255, .1); color: #9fd8c3; }
.tcard__stat { font: 700 clamp(48px, 4.6vw, 64px)/1 var(--font-head); color: #9fd8c3; font-variant-numeric: tabular-nums; }
.tcard--partner strong { color: #fff; }

/* Social follow buttons */
.follow { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink-900); }
.follow span { margin-right: 4px; }
.follow__btn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink-900); transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.follow__btn svg { width: 18px; height: 18px; }
.follow__btn:hover { transform: translateY(-3px); color: #fff; }
.follow__btn--li:hover { background: #0a66c2; border-color: #0a66c2; }
.follow__btn--ig:hover { background: #d62976; border-color: #d62976; }
.follow__btn--fb:hover { background: #1877f2; border-color: #1877f2; }

/* Social feed */
.feed { display: grid; gap: 20px; align-items: start; }
@media (min-width: 700px) { .feed { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .feed { grid-template-columns: repeat(4, 1fr); } }
.post { display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.post:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(38, 48, 46, .45); }
.post__head { display: flex; align-items: center; gap: 10px; font-size: 12.5px; line-height: 1.3; color: #8a9093; }
.post__head img { width: 34px; height: 34px; padding: 6px; border-radius: 50%; background: var(--mint-100); object-fit: contain; }
.post__head b { display: block; color: var(--ink-900); font-size: 13.5px; }
.post__net { margin-left: auto; width: 22px; height: 22px; flex: none; }
.post--li .post__net { color: #0a66c2; }
.post--ig .post__net { color: #d62976; }
.post--fb .post__net { color: #1877f2; }
.post__text { font-size: 14.5px; line-height: 1.5; color: var(--ink-900); }
.post__title { font: 700 20px/1.3 var(--font-head); color: var(--ink-900); }
.post__media { aspect-ratio: 16 / 11; border-radius: 12px; overflow: hidden; background: var(--soft); }
.post__media--square { aspect-ratio: 1; }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post:hover .post__media img { transform: scale(1.04); }
.post__foot { display: flex; align-items: center; gap: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; color: #8a9093; }
.post__foot span { display: inline-flex; align-items: center; gap: 5px; }
.post__foot span svg { width: 16px; height: 16px; }
.post__foot a:last-child { margin-left: auto; font-weight: 600; color: var(--mint-600); }
.post--press { background: var(--mint-100); border-color: var(--mint-100); }
.post--press .post__foot { border-color: rgba(79, 154, 130, .2); }

/* Hashtag marquee */
.marquee { margin-top: clamp(56px, 7vw, 96px); overflow: hidden; white-space: nowrap; border-block: 1px solid var(--line); padding-block: 22px; }
.marquee__track { display: inline-flex; will-change: transform; }
.marquee__track span { flex: none; padding-right: clamp(32px, 4vw, 64px); font: 700 clamp(28px, 3.4vw, 48px)/1 var(--font-head); color: var(--ink-900); }
.marquee__track span:nth-child(even) { color: var(--mint-600); }
