/* About area: About us (/about/) and Contact (/contact/). Owner: about area.
   Mobile first; breakpoints 640 / 860 / 1080. Self-contained (does not depend on home.css). */

/* =========================================================================
   About us (/about/, spec "About (/o-nas/)")
   ========================================================================= */

/* ---------- Shared: kicker, H2, section heading ---------- */
.ab-h2 { font: 500 38px/.9 var(--font-display); letter-spacing: -.05em; text-wrap: balance; }
.ab-h2__star { color: var(--accent); }
.ab-head { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 32px; }
.ab-head--center { align-items: center; text-align: center; }
.ab-head__lead { max-width: 640px; margin: 0; color: var(--ink-70); font-size: 16px; line-height: 1.4; }
@media (min-width: 860px) {
	.ab-h2 { font-size: clamp(42px, 4.2vw, 60px); line-height: .86; letter-spacing: -.06em; }
	.ab-head { gap: 20px; margin-bottom: 48px; }
	.ab-head__lead { font-size: 18px; }
}

/* ---------- 1. Hero ---------- */
.ab-hero { background: var(--wash); }
.ab-hero__inner {
	display: flex; flex-direction: column; align-items: center; gap: 20px;
	padding-block: 48px 104px; text-align: center;
}
.ab-hero__title { max-width: 16ch; }
@media (min-width: 640px) { .ab-hero__title { max-width: 21ch; } }
.ab-hero__title .t-grad { display: inline-block; padding-bottom: .08em; }
.ab-hero__lead { max-width: 640px; margin: 0; color: var(--ink-70); font-size: 16px; line-height: 1.5; }
@media (min-width: 860px) {
	.ab-hero__inner { padding-block: 72px 136px; gap: 24px; }
	.ab-hero__lead { font-size: 18px; }
}

/* ---------- 2. Stats band (--grad + sheen, 4 columns) ---------- */
.ab-stats-wrap { position: relative; margin-top: -64px; }
.ab-stats {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0; padding: 8px 16px; list-style: none;
	border-radius: var(--r-xl); background: var(--grad-sheen), var(--grad); color: var(--paper);
	box-shadow: var(--sh-btn);
}
.ab-stat { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 20px 8px; }
.ab-stat:nth-child(even) { border-inline-start: 1px solid rgba(255,255,255,.22); padding-inline-start: 16px; }
.ab-stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.22); }
.ab-stat__num { font: 500 clamp(32px, 4vw, 48px)/1 var(--font-display); letter-spacing: -.04em; white-space: nowrap; }
.ab-stat__label { font-size: 14px; font-weight: 500; line-height: 1.25; }
@media (min-width: 860px) {
	.ab-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 12px 16px; }
	.ab-stat { padding: 28px 28px; }
	.ab-stat:nth-child(n) { border-top: 0; border-inline-start: 1px solid rgba(255,255,255,.22); padding-inline-start: 28px; }
	.ab-stat:first-child { border-inline-start: 0; }
}

/* ---------- 3. Story + product composition ---------- */
.ab-story { padding-block: 64px; }
.ab-story__inner { display: grid; gap: 40px; }
.ab-story__text { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.ab-story__text > .tag { background: var(--wash); }
.ab-story__text .ab-h2 { margin-bottom: 8px; }
.ab-story__text p { margin: 0; color: var(--ink-70); font-size: 16px; line-height: 1.55; max-width: 60ch; }

.ab-story__media { position: relative; margin-bottom: 24px; }
.ab-comp {
	position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 4 / 3;
	border-radius: var(--r-xl); background: var(--grad-soft); box-shadow: var(--sh-lg);
}
/* Renders have a white background; multiply drops it onto the tinted panel. */
.ab-comp__img { position: absolute; height: auto; mix-blend-mode: multiply; }
.ab-comp__img--front { z-index: 2; left: 50%; bottom: 2%; width: 62%; transform: translateX(-50%); }
.ab-comp__img--back { z-index: 1; bottom: 14%; width: 42%; opacity: .9; }
.ab-comp__img--l { left: -2%; }
.ab-comp__img--r { right: -2%; }
.ab-comp__star { position: absolute; z-index: 0; top: -12%; right: -8%; width: 36%; color: var(--orange-100); opacity: .3; }
.ab-comp__star svg { width: 100%; height: auto; }

.ab-badge {
	position: absolute; left: 16px; bottom: -24px; z-index: 3; margin: 0;
	display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px;
	border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper); box-shadow: var(--sh);
}
.ab-badge__icon {
	display: grid; place-items: center; flex: none; width: 40px; height: 40px;
	border-radius: var(--r-img); background: var(--grad); color: var(--paper);
}
.ab-badge__svg { width: 20px; height: 20px; }
.ab-badge__text { display: flex; flex-direction: column; gap: 2px; }
.ab-badge__text strong { font: 500 17px/1.1 var(--font-display); letter-spacing: -.03em; }
.ab-badge__text span { color: var(--ink-70); font-size: 13px; line-height: 1.2; }

@media (min-width: 1080px) {
	.ab-story { padding-block: 120px; }
	.ab-story__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 80px; }
	.ab-story__media { margin: 0; }
	.ab-badge { left: -24px; bottom: 32px; }
}

/* ---------- 4. Six promises ---------- */
.ab-promises { padding-block: 64px; background: var(--wash); }
.ab-grid { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ab-card {
	display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px;
	border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper);
}
.ab-card__icon {
	display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 6px;
	border-radius: var(--r-img); background: var(--wash-accent); color: var(--accent-d);
}
.ab-card__svg { width: 22px; height: 22px; }
.ab-card__title { font: 500 20px/1.15 var(--font-display); letter-spacing: -.03em; }
.ab-card__text { margin: 0; color: var(--ink-70); font-size: 15px; line-height: 1.45; }
@media (min-width: 640px) {
	.ab-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1080px) {
	.ab-promises { padding-block: 120px; }
	.ab-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
	.ab-card { padding: 28px; }
}

/* ---------- 5. How it works: 3-step staircase ---------- */
.ab-steps { padding-block: 64px; }
.ab-stairs { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ab-step {
	display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; column-gap: 16px; row-gap: 12px;
	padding: 20px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper);
	box-shadow: var(--sh); transition: transform .4s var(--ease);
}
.ab-step__num { font: 500 40px/1 var(--font-display); letter-spacing: -.05em; padding-bottom: .06em; font-variant-numeric: tabular-nums; }
.ab-step__body { min-width: 0; }
.ab-step__title { font: 500 20px/1.15 var(--font-display); letter-spacing: -.03em; }
.ab-step__text { margin: 6px 0 0; color: var(--ink-70); font-size: 15px; line-height: 1.45; max-width: 62ch; }
.ab-step__tag {
	grid-column: 2; justify-self: start; padding: 6px 12px; border-radius: var(--r-tag);
	background: var(--wash-accent); color: var(--accent-d);
	font: 500 12px/1.2 var(--font-text); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}
@media (min-width: 860px) {
	.ab-step { grid-template-columns: 88px minmax(0, 1fr) auto; align-items: center; column-gap: 24px; padding: 24px 28px; }
	.ab-step__num { font-size: 46px; }
	.ab-step__tag { grid-column: auto; justify-self: end; }
	.ab-step:nth-child(2) { margin-inline-start: 56px; }
	.ab-step:nth-child(3) { margin-inline-start: 112px; }
	@media (hover: hover) {
		.ab-step:hover { transform: translateX(8px); }
	}
}
@media (min-width: 1080px) {
	.ab-steps { padding-block: 120px 96px; }
}
@media (prefers-reduced-motion: reduce) {
	.ab-step { transition: none; }
	.ab-step:hover { transform: none; }
}

/* ---------- 6. Research-use notice (dark --ink panel) ---------- */
.ab-notice-wrap { padding-block: 0 32px; }
.ab-notice {
	display: flex; flex-direction: column; gap: 16px; padding: 28px 24px;
	border-radius: var(--r-xl); background: var(--ink); color: var(--paper);
}
.ab-notice__icon {
	display: grid; place-items: center; flex: none; width: 48px; height: 48px;
	border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-img); background: rgba(255,255,255,.06);
}
.ab-notice__icon svg { width: 24px; height: 24px; }
.ab-notice__title { font-size: 24px; line-height: 1.1; letter-spacing: -.03em; }
.ab-notice__text { max-width: 76ch; margin: 10px 0 0; color: var(--on-dark); font-size: 15px; line-height: 1.6; }
@media (min-width: 640px) {
	.ab-notice { flex-direction: row; gap: 24px; padding: 40px; }
	.ab-notice__title { font-size: 28px; }
}

/* ---------- 7. Dark CTA (--glow-dark) ---------- */
.ab-cta { padding-block: 0 64px; }
.ab-cta__panel {
	position: relative; isolation: isolate; overflow: hidden;
	display: flex; align-items: center; gap: 32px;
	padding: 40px 24px; border-radius: var(--r-xl); background: var(--ink); color: var(--paper);
	box-shadow: var(--sh-lg);
}
.ab-cta__panel::before {
	content: ""; position: absolute; z-index: -1; top: -45%; right: -35%;
	width: min(640px, 130vw); aspect-ratio: 1; background: var(--glow-dark); pointer-events: none;
}
.ab-cta__text { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; max-width: 600px; }
.ab-cta__title { font: 500 clamp(32px, 4.4vw, 52px)/.92 var(--font-display); letter-spacing: -.05em; }
.ab-cta__lead { margin: 0; color: var(--on-dark); font-size: 16px; line-height: 1.4; }
.ab-cta__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.ab-cta__ghost { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.ab-cta__ghost:hover { color: var(--paper); box-shadow: inset 0 0 0 1.5px var(--paper); }
.ab-cta__note { margin: 0; color: var(--ink-50); font-size: 12px; line-height: 1.4; }
.ab-cta__media { display: none; }
@media (min-width: 860px) {
	.ab-cta__panel { justify-content: space-between; padding: 64px; }
	.ab-cta__panel::before { top: -60%; right: -12%; }
	.ab-cta__media {
		display: block; flex: 0 1 380px; min-width: 0; padding: 8px;
		border-radius: var(--r-card); background: var(--grad-tile); box-shadow: var(--sh-lg);
	}
	.ab-cta__img { width: 100%; height: auto; border-radius: var(--r-img); mix-blend-mode: multiply; }
}
@media (min-width: 1080px) {
	.ab-cta { padding-block: 0 120px; }
}

/* =========================================================================
   Contact
   ========================================================================= */

/* ---------- Section on a soft brand-gradient band (Figma 32729:1829 / 32739:2612, photo removed) ---------- */
.cx { position: relative; isolation: isolate; overflow: hidden; padding-block: 40px 48px; background: var(--wash); }
.cx::after {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background:
		radial-gradient(60% 70% at 100% 0%, color-mix(in srgb, var(--orange-100) 70%, transparent), transparent 70%),
		radial-gradient(50% 60% at 0% 100%, color-mix(in srgb, var(--wash-accent) 90%, transparent), transparent 70%);
}
.cx__inner {
	display: grid; gap: 24px; width: var(--wrap); margin-inline: auto;
	grid-template-areas: "intro" "form" "tiles";
}
.cx__intro { grid-area: intro; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.cx__star { color: var(--accent); }
.cx__lead { max-width: 520px; margin: 0; font-size: 16px; line-height: 1.35; }
.cx__tg { gap: 10px; }
.cx__tg-icon { flex: none; width: 20px; height: 20px; }
.cx__form { grid-area: form; min-width: 0; scroll-margin-top: calc(var(--shell-h, 88px) + 16px); }
.cx__tiles { grid-area: tiles; display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }

@media (min-width: 640px) {
	.cx__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
@media (min-width: 1080px) {
	.cx { width: calc(100% - 32px); margin: 16px auto 0; padding-block: 104px; border-radius: var(--r-card); }
	.cx__inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 640px); column-gap: 64px; row-gap: 40px;
		grid-template-areas: "intro form" "tiles form"; align-items: start;
	}
	.cx__intro { align-self: end; gap: 24px; }
	.cx__tiles { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
	.cx-tile { padding: 16px 20px; }
	.cx__lead { font-size: 18px; line-height: 1.2; }
}

/* ---------- Side tiles (spec Contact §3) ---------- */
.cx-tile {
	position: relative; display: flex; align-items: flex-start; gap: 14px; padding: 18px;
	border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper);
}
.cx-tile__icon {
	display: grid; place-items: center; flex: none; width: 40px; height: 40px;
	border-radius: var(--r-img); background: var(--wash-accent); color: var(--accent-d);
}
.cx-tile__svg { width: 20px; height: 20px; }
.cx-tile__body { min-width: 0; }
.cx-tile__title { margin: 0 0 6px; font: 500 17px/1.25 var(--font-text); letter-spacing: 0; overflow-wrap: anywhere; }
.cx-tile__title a { color: inherit; text-decoration: none; }
.cx-tile__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.cx-tile:has(a:hover) { border-color: var(--line-2); }
.cx-tile__title a:hover { color: var(--accent-d); }
.cx-tile__title a:focus-visible { outline: none; }
.cx-tile:has(a:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.cx-tile__text { margin: 0; color: var(--ink-70); font-size: 14px; line-height: 1.35; }

.cx-tile--dark { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.cx-tile--dark .cx-tile__icon { background: rgba(255,255,255,.08); color: var(--paper); }
.cx-tile--dark .cx-tile__text { color: var(--on-dark); }
.cx-tile__live { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 13px; font-weight: 500; line-height: 1.3; }
.cx-tile__live::before {
	content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%;
	background: var(--mint); box-shadow: 0 0 0 4px color-mix(in srgb, var(--mint) 25%, transparent);
}

/* ---------- Form card (Figma "Form card") ---------- */
.cf-card {
	padding: 24px 20px; border-radius: var(--r-img); background: var(--paper); box-shadow: var(--sh);
}
.cf-card [hidden] { display: none !important; }
/* Focused panels and fields stay clear of the sticky header. */
.cf-panel, .field__input, .cf-consent__box { scroll-margin-top: calc(var(--shell-h, 88px) + 24px); }
.cf { display: flex; flex-direction: column; gap: 24px; }
.cf-grid { display: grid; gap: 12px; }
.cf-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cf-req { margin-inline-start: 1px; }
/* Inputs, select, textarea and checkbox: the shared .field / .checkbox components (base.css), as in the checkout. */

.cf-field__error { display: flex; align-items: flex-start; gap: 6px; margin: 0; color: var(--stock-out-t); font-size: 13px; line-height: 1.3; }
.cf-field__error-icon { flex: none; width: 14px; height: 14px; margin-top: 1px; }

/* Honeypot: off-screen, never focusable */
.cf-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Consent + submit */
.cf-submit { display: flex; flex-direction: column; gap: 16px; }
.cf-consent { display: flex; align-items: flex-start; gap: 12px; padding-block: 4px; font-size: 14px; line-height: 1.3; cursor: pointer; }
.cf-consent a { color: var(--accent-d); }
.cf-field--consent .cf-field__error { margin-inline-start: 34px; }

.cf-submit__btn { width: 100%; }
.cf-spinner {
	display: none; width: 16px; height: 16px; flex: none; border-radius: 50%;
	border: 2px solid rgba(255,255,255,.35); border-top-color: var(--paper);
	animation: cf-spin .8s linear infinite;
}
.cf-submit__btn.is-sending { pointer-events: none; gap: 10px; }
.cf-submit__btn.is-sending .cf-spinner { display: inline-block; }
.cf-submit__btn.is-sending .btn__icon { display: none; }
@keyframes cf-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
	.cf-spinner { animation: cf-spin 1.6s linear infinite !important; }
}

/* ---------- Status panels (Figma "Result panel": success / error / warning) ---------- */
.cf-panel {
	display: flex; flex-direction: column; gap: 16px; padding: 20px;
	border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper);
}
.cf-panel--success { border-color: var(--stock-in-t); }
.cf-panel--error { border-color: var(--stock-out-t); }
.cf-panel__head { display: flex; align-items: center; gap: 16px; }
/* .cf-panel__icon is an .icon-circle (base.css) */
.cf-panel--success .cf-panel__icon { background: var(--stock-in-t); color: var(--paper); }
.cf-panel--error .cf-panel__icon { background: var(--stock-out-t); color: var(--paper); }
.cf-panel__title { margin: 0; font: 500 20px/24px var(--font-display); letter-spacing: -.03em; }
.cf-panel__title:focus { outline: none; }
.cf-panel__body { margin: 0; font-size: 14px; line-height: 1.35; overflow-wrap: anywhere; }
.cf-panel__body a { color: var(--accent-d); }
.cf-summary:focus { outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--stock-out-t) 20%, transparent); }
.cf-summary__list { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0 0 0 56px; list-style: none; }
.cf-summary__list a {
	display: inline-block; padding-block: 4px; font-size: 14px; font-weight: 500; color: var(--ink);
	text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 1.5px;
}
.cf-again { align-self: flex-start; min-height: 44px; background: var(--wash); color: var(--ink); }
.cf-again:hover { color: var(--ink); }

@media (min-width: 640px) {
	.cf-card { padding: 32px; }
	.cf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
	.cf-field--message { grid-column: 1 / -1; }
	.cf-panel { padding: 24px; }
	.cf-submit { flex-direction: row; align-items: center; gap: 24px; }
	.cf-field--consent { flex: 1; }
	.cf-submit__btn { width: auto; flex: none; }
}
@media (min-width: 1080px) {
	.cf-card { padding: 40px; }
}

/* ---------- Quick answers (5 FAQ items) ---------- */
.cx-faq { padding-block: 56px 64px; }
.cx-faq__inner { display: flex; flex-direction: column; gap: 28px; }
.cx-faq__head { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.cx-faq__lead { margin: 0; color: var(--ink-70); font-size: 16px; line-height: 1.4; }

@media (min-width: 1080px) {
	.cx-faq { padding-block: 120px; }
	.cx-faq__inner { display: grid; grid-template-columns: minmax(0, 462fr) minmax(0, 738fr); gap: 80px; align-items: start; }
	.cx-faq__lead { font-size: 18px; }
}

/* ---------- Wholesale dialog on product pages (owner, 9 Nov): bottom sheet on phones, centred modal from 640px ---------- */
html.ws-lock { overflow: hidden; }
.ws-pop { position: fixed; inset: 0; z-index: 150; display: flex; align-items: flex-end; justify-content: center; }
.ws-pop[hidden] { display: none; }
.ws-pop__scrim {
	position: absolute; inset: 0;
	background: color-mix(in srgb, var(--ink) 62%, transparent);
	-webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
	opacity: 0; transition: opacity .35s var(--ease);
}
.ws-pop__dialog {
	position: relative; width: 100%;
	padding: 24px 16px calc(16px + env(safe-area-inset-bottom));
	border-radius: var(--r-xl) var(--r-xl) 0 0; background: var(--paper); box-shadow: var(--sh-lg);
	transform: translateY(105%); transition: transform .45s var(--ease);
}
.ws-pop__dialog:focus { outline: none; }
.ws-pop.is-open .ws-pop__scrim { opacity: 1; }
.ws-pop.is-open .ws-pop__dialog { transform: none; }
.ws-pop__body { max-height: calc(90dvh - 40px); overflow-y: auto; overscroll-behavior: contain; padding: 0 4px; }
.ws-pop__close {
	position: absolute; top: 8px; right: 8px; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px;
	border: 0; border-radius: 50%; background: var(--wash); color: var(--ink); cursor: pointer;
}
.ws-pop__x { width: 20px; height: 20px; }
.ws-pop__title { margin: 0 48px 8px 0; font: 500 24px/1.15 var(--font-display); letter-spacing: -.03em; }
.ws-pop__sub { margin: 0 0 20px; font-size: 15px; line-height: 1.4; color: var(--ink-70); }
.ws-pop__tg { gap: 10px; }
.ws-pop__tg-icon { flex: none; width: 20px; height: 20px; }
.ws-pop__or { display: flex; align-items: center; gap: 12px; margin: 20px 0; font-size: 13px; color: var(--ink-70); }
.ws-pop__or::before, .ws-pop__or::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.ws-pop .cf-card { padding: 0; box-shadow: none; }
.ws-pop .cf-panel, .ws-pop .field__input, .ws-pop .cf-consent__box { scroll-margin-top: 16px; }

@media (min-width: 640px) {
	.ws-pop { align-items: center; padding: 32px 24px; }
	.ws-pop__dialog {
		max-width: 640px; padding: 32px 28px 28px; border-radius: var(--r-xl);
		transform: translateY(24px) scale(.96); opacity: 0;
		transition: transform .45s var(--ease), opacity .3s var(--ease);
	}
	.ws-pop.is-open .ws-pop__dialog { opacity: 1; }
	.ws-pop__body { max-height: calc(100dvh - 124px); }
	.ws-pop__close { top: 16px; right: 16px; }
	.ws-pop__title { font-size: 30px; }
	.ws-pop .cf-field--topic { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
	.ws-pop__dialog, .ws-pop.is-open .ws-pop__dialog { transform: none; }
}
