/**
 * Inoforest Statement
 *
 * Contents
 * 1. Variables and frame
 * 2. Sentence and its photos
 * 3. Reveal (the photos widen into place)
 * 4. Signature and link
 * 5. Small screens, reduced motion
 *
 * Colours and fonts read the Design System (--inoforest-*) with fallbacks; the Style tab controls set the same
 * properties on the widget and win.
 */

/* 1. Variables and frame -------------------------------------------------------- */
.ino-statement {
	--ino-statement-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--ino-statement-highlight: var(--inoforest-color-primary, #0b7a75);
	--ino-statement-img: 2.3em;
	max-width: var(--ino-statement-width, 1120px);
	margin-inline: auto;
	text-align: center;
}

.ino-statement[data-align="start"] {
	margin-inline: 0;
	text-align: start;
}

/* 2. Sentence and its photos ----------------------------------------------------- */
.ino-statement .ino-statement__text {
	margin: 0;
	font-family: var(--inoforest-font-heading-family, Georgia, serif);
	font-size: clamp(2rem, 4.4vw, 3.9rem);
	font-weight: 400;
	line-height: 1.28;
	letter-spacing: -0.02em;
	color: var(--inoforest-color-heading, #0d1b2a);
}

.ino-statement[data-size="lg"] .ino-statement__text {
	font-size: clamp(1.7rem, 3.2vw, 2.8rem);
}

.ino-statement__text em {
	font-style: italic;
	color: var(--ino-statement-highlight);
}

.ino-statement__img {
	display: inline-block;
	width: var(--ino-statement-img);
	height: 1.05em;
	margin-inline: 0.12em;
	overflow: hidden;
	line-height: 0;
	vertical-align: -0.12em;
	border-radius: 999px;
	transition: width 1.1s var(--ino-statement-ease), margin 1.1s var(--ino-statement-ease), opacity 0.8s var(--ino-statement-ease);
}

.ino-statement__img:nth-of-type(2) {
	transition-delay: 0.15s;
}

.ino-statement__img:nth-of-type(3) {
	transition-delay: 0.3s;
}

/* Two classes to beat Elementor's `.elementor img` reset; the image keeps its width while the frame widens. */
.ino-statement .ino-statement__img img {
	display: block;
	width: var(--ino-statement-img);
	max-width: none;
	height: 100%;
	object-fit: cover;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

/* 3. Reveal: script.js sets .is-pending until the sentence is half in view ------------- */
.ino-statement.is-pending .ino-statement__img {
	width: 0;
	margin-inline: 0;
	opacity: 0;
}

/* 4. Signature and link ------------------------------------------------------------------ */
.ino-statement__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 16px 28px;
	margin-top: 44px;
}

.ino-statement[data-align="start"] .ino-statement__foot {
	justify-content: flex-start;
}

.ino-statement .ino-statement__sign {
	font-family: "Caveat", cursive;
	font-size: 1.9rem;
	line-height: 1;
	color: var(--inoforest-color-heading, #0d1b2a);
}

.ino-statement .ino-statement__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--inoforest-color-primary, #0b7a75);
	text-decoration: none;
	background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px;
	transition: background-size 0.35s var(--ino-statement-ease), color 0.35s var(--ino-statement-ease);
}

.ino-statement .ino-statement__link:hover,
.ino-statement .ino-statement__link:focus-visible {
	background-size: 100% 1px;
}

.ino-statement__link svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

[dir="rtl"] .ino-statement__link :is(i, svg) {
	scale: -1 1;
}

.ino-statement__hint {
	margin: 0;
	padding: 10px 14px;
	font-size: 13px;
	color: #1d2327;
	background: #fff8e5;
	border-left: 4px solid #dba617;
}

/* 5. Small screens, reduced motion ------------------------------------------------------- */
@media (max-width: 767px) {
	.ino-statement {
		--ino-statement-img: 1.9em;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ino-statement__img,
	.ino-statement .ino-statement__link {
		transition: none;
	}
}

/* Seasonal promise layout. */
/* Contents: 1. Design tokens and elements 2. Layout and states 3. Responsive and reduced motion. */
.inoforest-statement--seasonal{--primary:var(--inoforest-color-primary,#b23a1e);--accent:var(--inoforest-custom-accent,#3f6b32);--primary-on-dark:var(--inoforest-custom-primary-on-dark,#f2a58c);--primary-light:var(--inoforest-custom-primary-light,#fbeae4);--primary-dark:var(--inoforest-custom-primary-dark,#8e2c15);--heading:var(--inoforest-color-heading,#2b1a12);--text:var(--inoforest-color-text,#56463d);--muted:var(--inoforest-custom-muted,#6e5f55);--dark:var(--inoforest-custom-dark,#22150f);--white:#fff;--bg-soft:var(--inoforest-color-surface,#faf4ec);--bg-warm:var(--inoforest-custom-warm,#f3e9dc);--border:var(--inoforest-color-border,#ece2d6);--shadow-color:var(--inoforest-color-heading,#2b1a12);--shadow:0 18px 44px #2b1a121f;--font-heading:var(--inoforest-font-heading-family,Georgia);--font-script:var(--inoforest-custom-font-script,Caveat,cursive);--radius:16px;--radius-lg:26px;--radius-pill:999px;--transition:.3s ease;--ease:cubic-bezier(.2,.8,.2,1);}
.inoforest-statement--seasonal :where(a){color:inherit;text-decoration:none}
.inoforest-statement--seasonal :where(ul,ol){padding:0;margin:0}
.inoforest-statement--seasonal :where(p){margin-top:0}
.inoforest-statement--seasonal img{display:block}

.inoforest-statement--seasonal figure{margin:0}
.inoforest-statement--seasonal .ino-season-btn-group{display:flex;flex-wrap:wrap;gap:14px}
.inoforest-statement--seasonal .ino-season-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:14px 30px;font-weight:700;font-size:.975rem;color:var(--white);background:var(--primary);border:2px solid transparent;border-radius:999px;line-height:1.7}
.inoforest-statement--seasonal .ino-season-btn:is(:hover,:focus-visible){background:var(--primary-dark);color:var(--white)}
.inoforest-statement--seasonal .ino-season-btn--outline{background:transparent;color:var(--heading);border-color:var(--border)}
.inoforest-statement--seasonal .ino-season-btn--outline:hover{background:var(--heading)}
.inoforest-statement--seasonal .ino-season-btn--ghost-light{background:transparent;color:white;border-color:#ffffff80}
.inoforest-statement--seasonal :is(a,button):focus-visible{outline:2px solid var(--primary);outline-offset:4px}
/* ==========================================================================
   36g. Statement  [data-f26-widget="inoforest-statement"]  (inoforest-core)
   One large sentence, a signature and counters. motion="scroll": main.js splits the sentence into .ino-season-sw words and lights
   them (.is-lit) as the page scrolls past (--f26-dim sets the unlit words, still 3 : 1 on the dark scheme as large
   text); "reveal": the words fade in once, in turn.
   ========================================================================== */
.inoforest-statement--seasonal { max-width: 1040px; margin-inline: auto; text-align: center; }
.inoforest-statement__kicker { display: inline-flex; align-items: center; gap: 12px; margin-block-end: 26px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary-on-dark); }
.inoforest-statement__text { margin: 0; font-family: var(--font-heading); font-size: clamp(1.75rem, 3.6vw, 3.05rem); font-weight: 500; line-height: 1.24; letter-spacing: -0.02em; color: var(--white); }
.inoforest-statement__text em { color: var(--primary-on-dark); }
.inoforest-statement--seasonal .ino-season-sw { transition: color 0.45s var(--ease), opacity 0.7s var(--ease) calc(var(--w, 0) * 30ms), filter 0.7s var(--ease) calc(var(--w, 0) * 30ms); }
.inoforest-statement--seasonal.is-scrolling .ino-season-sw { color: color-mix(in srgb, var(--white) var(--f26-dim, 38%), var(--dark)); }
.inoforest-statement--seasonal.is-scrolling .ino-season-sw.is-lit { color: var(--white); }
.inoforest-statement--seasonal.is-scrolling em .ino-season-sw.is-lit { color: var(--primary-on-dark); }
.inoforest-statement--seasonal.is-pending .ino-season-sw { opacity: 0; filter: blur(6px); }
.inoforest-statement__signature { display: block; margin-block-start: 26px; font-family: var(--font-script); font-size: 2.6rem; line-height: 1; color: var(--primary-on-dark); }
.inoforest-statement__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-block-start: 64px; padding-block-start: 44px; list-style: none; border-block-start: 1px solid color-mix(in srgb, var(--white) 14%, transparent); }
.inoforest-statement__stats li { display: grid; gap: 4px; font-size: 0.95rem; }
.inoforest-statement__stats strong { font-family: var(--font-heading); font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 600; line-height: 1; color: var(--white); }
.inoforest-statement--seasonal[data-f26-show-signature="false"] .inoforest-statement__signature,
.inoforest-statement--seasonal[data-f26-show-stats="false"] .inoforest-statement__stats { display: none; }
@media (max-width: 767px) {
  .inoforest-statement__stats { grid-template-columns: minmax(0, 1fr); gap: 26px; margin-block-start: 48px; padding-block-start: 34px; }
}


.inoforest-statement--seasonal img{max-width:100%}
@media(prefers-reduced-motion:reduce){.inoforest-statement--seasonal *{animation:none;transition:none;scroll-behavior:auto;translate:none}}

.inoforest-statement--seasonal{color:color-mix(in srgb,var(--white) 78%,transparent)}

/* A preference change also stops already-initialised motion. */
@media(prefers-reduced-motion:reduce){.inoforest-statement--seasonal.is-scrolling .ino-season-sw{color:var(--white);filter:none;opacity:1}.inoforest-statement--seasonal.is-scrolling em .ino-season-sw{color:var(--primary-on-dark)}}
