/* ScaleUP Consulting — site styles
   One family (Anuphan), ink + white + brand red. The logo's rising bars are the
   recurring motif: services chart, hero mark, footer wordmark. */

@font-face { font-family: "Anuphan"; src: url("../fonts/anuphan-thai.woff2") format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: "Anuphan"; src: url("../fonts/anuphan-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
	--paper: #ffffff;
	--mist: #f1f1f4;
	--ink: #0d0d10;
	--ink-soft: #55565f;
	--line: #dcdce2;
	--red: #e3262f;
	--red-deep: #b3121b;
	--red-ink: #c81a24;          /* red that passes contrast as text on paper */
	--on-red: #ffffff;
	--night: #0d0d10;            /* always-dark surfaces (cta, footer) */
	--on-night: #f5f5f7;
	--d: #dc2626; --i: #d97706; --s: #16835d; --c: #2563b8;
	--radius: 20px;
	--wrap: 1320px;
	--gutter: clamp(20px, 4vw, 56px);
	--ease: cubic-bezier(.2, .8, .2, 1);
	color-scheme: light;
}
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) { --paper: #0f0f12; --mist: #17171c; --ink: #f4f4f6; --ink-soft: #a5a6b0; --line: #2b2b33; --red-ink: #ff5a62; --night: #000000; color-scheme: dark; }
}
:root[data-theme="dark"] { --paper: #0f0f12; --mist: #17171c; --ink: #f4f4f6; --ink-soft: #a5a6b0; --line: #2b2b33; --red-ink: #ff5a62; --night: #000000; color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Anuphan", "Noto Sans Thai", "Leelawadee UI", Tahoma, sans-serif; font-size: 1.0625rem; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
/* No double-tap zoom on controls (iOS Safari), so one tap is one action. */
a, button, summary, input, select, textarea, label { touch-action: manipulation; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--red); color: #fff; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.narrow { max-width: 820px; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; }

/* ---------- Type ---------- */
h1, h2, h3 { font-weight: 700; line-height: 1.18; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6.6vw, 6.25rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3.6rem); }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.5rem); line-height: 1.35; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.4rem); line-height: 1.6; color: var(--ink-soft); max-width: 38em; }
.tag { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; color: var(--red-ink); margin-bottom: 18px; }
.tag::before { content: ""; width: 26px; height: 10px; background: linear-gradient(90deg, currentColor 0 4px, transparent 4px 7px, currentColor 7px 12px, transparent 12px 15px, currentColor 15px 26px); clip-path: polygon(0 100%, 0 60%, 15% 60%, 15% 100%, 27% 100%, 27% 35%, 46% 35%, 46% 100%, 58% 100%, 58% 0, 100% 0, 100% 100%); }
.note { margin-top: 28px; color: var(--ink-soft); }
.note a, .prose a, .form__foot a, .empty a { color: var(--red-ink); text-underline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn { --btn-bg: var(--ink); --btn-fg: var(--paper); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 30px; border-radius: 999px; border: 1.5px solid var(--btn-bg); background: var(--btn-bg); color: var(--btn-fg); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate; transition: color .35s var(--ease), border-color .35s var(--ease); }
.btn::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: var(--btn-hover, var(--red)); transform: translateY(101%); transition: transform .45s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover, .btn:focus-visible { color: #fff; border-color: var(--btn-hover, var(--red)); }
.btn--primary { --btn-bg: var(--red); --btn-fg: #fff; --btn-hover: var(--ink); }
.btn--primary:hover, .btn--primary:focus-visible { color: var(--paper); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--ink); }
.btn--light { --btn-bg: #fff; --btn-fg: #0d0d10; --btn-hover: #0d0d10; }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255, 255, 255, .6); --btn-hover: #fff; }
.btn--outline-light:hover, .btn--outline-light:focus-visible { color: #0d0d10; }
.btn--small { min-height: 44px; padding: 0 20px; font-size: .95rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.actions--center { justify-content: center; margin-top: 48px; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); transition: background .3s, box-shadow .3s; }
.site-header.is-stuck { box-shadow: 0 1px 0 var(--line); }
.motion .site-header:not(.is-stuck) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; font-size: 1.2rem; line-height: 1.05; letter-spacing: -0.01em; }
.brand img { border-radius: 50%; }
.brand small { display: block; font-size: .68rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 4px; }
.site-nav li a { display: block; padding: 10px 13px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .97rem; position: relative; white-space: nowrap; }
/* Just above the menu-button breakpoint the full menu is tight (Safari sets Thai wider than Chrome). */
@media (max-width: 1400px) { .site-nav { gap: 16px; } .site-nav li a { padding-inline: 11px; } .site-nav li a::after { left: 11px; right: 11px; } .site-header__bar { gap: 16px; } }
.site-nav li a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 6px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.site-nav li a:hover::after, .site-nav li a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.has-sub { position: relative; }
.sub { position: absolute; top: 100%; left: 50%; width: 380px; margin-left: -190px; padding: 10px; display: grid !important; gap: 0 !important; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .35); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .35s var(--ease), visibility 0s .25s; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.site-nav .sub li a { padding: 12px 14px; border-radius: 12px; white-space: normal; }
.site-nav .sub li a::after { display: none; }
.site-nav .sub li a:hover { background: var(--mist); }
.sub strong { display: block; font-weight: 600; }
.sub span { display: block; font-size: .85rem; line-height: 1.45; color: var(--ink-soft); }
.site-nav .has-sub > a { padding-right: 30px; }
.has-sub > a::before { content: ""; position: absolute; right: 13px; top: 50%; width: 7px; height: 7px; margin-top: -6px; border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; transform: rotate(45deg); }
.site-nav__actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.theme-toggle svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle__moon { display: none; }
:root[data-theme="dark"] .theme-toggle__sun { display: none; }
:root[data-theme="dark"] .theme-toggle__moon { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-toggle__sun { display: none; } :root:not([data-theme="light"]) .theme-toggle__moon { display: block; } }
.nav-toggle { display: none; }

/* ----- Desktop header effects (full menu, mouse): rolling labels.
   The floating pill and hide-on-scroll are at the end of this file (every screen size). ----- */
@media (min-width: 1241px) and (hover: hover) and (pointer: fine) {
	.site-header.is-stuck .theme-toggle { width: 40px; height: 40px; }

	/* The label rolls up and the same word rolls in from below. Whole words only: Thai vowel and
	   tone marks must stay attached to their consonant. */
	.roll { display: inline-block; overflow: hidden; vertical-align: top; line-height: 1.6; height: 1.6em; padding-inline: .1em; margin-inline: -.1em; }
	.roll > span, .roll::after { display: block; transition: transform .5s var(--ease); }
	.roll::after { content: attr(data-text); content: attr(data-text) / ""; }
	.site-nav li a:hover .roll > span, .site-nav li a:hover .roll::after, .site-nav li a:focus-visible .roll > span, .site-nav li a:focus-visible .roll::after { transform: translateY(-100%); }
}
@media (min-width: 1241px) and (prefers-reduced-motion: reduce) {
	.roll > span, .roll::after { transition: none; }
	.site-nav li a:hover .roll > span, .site-nav li a:hover .roll::after { transform: none; }
}

/* Tablets in landscape (iPad 1180–1194px wide) get the menu button too: the full menu does not fit. */
@media (max-width: 1240px) {
	.nav-toggle { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; position: relative; z-index: 3; }
	.nav-toggle__bars { width: 18px; height: 10px; position: relative; }
	.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
	.nav-toggle__bars::before { top: 0; } .nav-toggle__bars::after { top: 8px; }
	.nav-open .nav-toggle__bars::before { top: 4px; transform: rotate(45deg); }
	.nav-open .nav-toggle__bars::after { top: 4px; transform: rotate(-45deg); }
	.site-nav { position: fixed; inset: 0; z-index: 2; flex-direction: column; align-items: stretch; justify-content: space-between; gap: 24px; padding: 104px var(--gutter) max(32px, env(safe-area-inset-bottom)); background: var(--red); color: #fff; overflow-y: auto; clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .7s var(--ease), visibility 0s .7s; }
	.nav-open .site-nav { clip-path: inset(0); visibility: visible; transition: clip-path .7s var(--ease), visibility 0s; }
	.site-nav ul { flex-direction: column; gap: 0; }
	.site-nav li a { padding: 10px 0; font-size: clamp(1.7rem, 6.4vw, 2.6rem); font-weight: 700; line-height: 1.25; border-radius: 0; white-space: normal; }
	.site-nav li a::after { display: none; }
	.site-nav li { transform: translateY(24px); opacity: 0; transition: transform .6s var(--ease), opacity .4s; }
	.nav-open .site-nav li { transform: none; opacity: 1; transition-delay: calc(.12s + var(--i, 0) * .045s); }
	.sub { position: static; width: auto; margin: 0 0 8px; padding: 0 0 0 4px; background: none; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
	.site-nav .sub li { transform: none; opacity: 1; }
	.site-nav .sub li a { padding: 6px 0; font-size: 1.1rem; font-weight: 500; }
	.site-nav .sub li a:hover { background: none; }
	.sub span { display: none; }
	.has-sub > a::before { display: none; }
	.site-nav__actions { justify-content: space-between; }
	.site-nav .theme-toggle { border-color: rgba(255, 255, 255, .5); color: #fff; }
	.site-nav .btn--primary { --btn-bg: #fff; --btn-fg: #0d0d10; }
	.nav-open { overflow: hidden; }
	.nav-open .site-header { background: none; box-shadow: none; backdrop-filter: none; transform: none; }
	.nav-open .brand, .nav-open .nav-toggle { color: #fff; border-color: #fff; position: relative; z-index: 3; }
	.nav-open .brand small { color: rgba(255, 255, 255, .8); }
}

/* ---------- Hero (home) ---------- */
.hero { position: relative; padding: clamp(120px, 15vh, 180px) 0 0; overflow: hidden; }
.hero__top { display: block; }
.hero h1 { font-size: clamp(1.85rem, 5vw, 4.75rem); line-height: 1.18; letter-spacing: -0.015em; }
.hero h1 .line:last-child { color: var(--red-ink); }
.hero__side { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 48px; margin-top: clamp(24px, 3vw, 44px); }
.hero__side .lead { font-size: clamp(1.05rem, 1.45vw, 1.4rem); max-width: 30em; }
.hero__side .actions { margin-top: 0; }
@media (min-width: 760px) { .hero h1 .line > span, .hero h1 { white-space: nowrap; } }
.hero__media { position: relative; margin-top: clamp(40px, 6vw, 80px); }
.hero__photo { border-radius: clamp(18px, 2.4vw, 36px); overflow: hidden; aspect-ratio: 21 / 9; background: var(--mist); }
.hero__photo img { width: 100%; height: 120%; object-fit: cover; object-position: 50% 30%; }
.hero__badge { position: absolute; right: clamp(16px, 4vw, 64px); top: 0; transform: translateY(-50%); width: clamp(108px, 12vw, 168px); aspect-ratio: 1; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; text-decoration: none; }
.hero__badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.hero__badge text { fill: #fff; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; }
.hero__badge strong { font-size: clamp(1rem, 1.5vw, 1.35rem); line-height: 1.15; text-align: center; }
@keyframes spin { to { transform: rotate(360deg); } }
.promises { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.promises li { padding: clamp(24px, 3vw, 44px) clamp(0px, 2vw, 32px) clamp(24px, 3vw, 44px) 0; }
.promises li + li { padding-left: clamp(16px, 2.4vw, 40px); border-left: 1px solid var(--line); }
.promises strong { display: block; font-size: clamp(1.15rem, 1.9vw, 1.75rem); line-height: 1.3; }
.promises span { color: var(--ink-soft); font-size: .98rem; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: clamp(28px, 4vw, 56px) 0; white-space: nowrap; user-select: none; }
.marquee__track { display: inline-flex; gap: clamp(28px, 4vw, 64px); padding-right: clamp(28px, 4vw, 64px); animation: marquee 32s linear infinite; }
.marquee span { font-size: clamp(2.6rem, 8vw, 7.5rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
.marquee span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.marquee i { align-self: center; width: clamp(18px, 2.4vw, 34px); aspect-ratio: 1; background: var(--red); border-radius: 50%; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 160px) 0; position: relative; }
.section--flush { padding-top: clamp(24px, 4vw, 56px); }
.section--mist { background: var(--mist); }
.section--red { background: var(--red); color: var(--on-red); }
.section--red .tag, .section--red .lead { color: #fff; }
.section-head { max-width: 900px; margin-bottom: clamp(36px, 5vw, 72px); }
.section-head p { margin-top: 18px; color: var(--ink-soft); font-size: clamp(1.05rem, 1.3vw, 1.25rem); max-width: 40em; }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; }
.section-head--row > div:first-child { max-width: 820px; }
.section-head--row .actions { margin-top: 0; }
.sub-title { margin: clamp(56px, 7vw, 96px) 0 clamp(24px, 3vw, 40px); font-size: clamp(1.6rem, 2.8vw, 2.4rem); }

/* Services as the logo's rising bars */
.rise { display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; gap: clamp(8px, 1vw, 16px); min-height: clamp(420px, 44vw, 600px); }
.rise__bar { height: calc(52% + var(--step) * 12%); min-height: 250px; }
.rise__bar a { position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; padding: clamp(16px, 1.6vw, 26px); border-radius: var(--radius) var(--radius) 0 0; background: var(--mist); text-decoration: none; overflow: hidden; isolation: isolate; transition: color .4s var(--ease); }
.rise__bar a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--red); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); }
.rise__bar a:hover, .rise__bar a:focus-visible { color: #fff; }
.rise__bar a:hover::before, .rise__bar a:focus-visible::before { transform: scaleY(1); }
.rise__bar:last-child a { background: var(--ink); color: var(--paper); }
.rise__name { position: absolute; top: clamp(16px, 1.6vw, 26px); left: clamp(16px, 1.6vw, 26px); font-weight: 600; font-size: .92rem; color: var(--red-ink); transition: color .4s; }
.rise__bar a:hover .rise__name, .rise__bar a:focus-visible .rise__name { color: #fff; }
.rise__bar:last-child .rise__name { color: #ff7a81; }
.rise__bar strong { font-size: clamp(1.25rem, 1.9vw, 1.9rem); line-height: 1.25; }
.rise__copy { margin-top: 10px; font-size: .95rem; line-height: 1.55; opacity: .78; }

/* Two lead services */
.duo { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(12px, 1.6vw, 24px); }
.duo__card { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-height: clamp(520px, 46vw, 680px); padding: clamp(24px, 3.4vw, 56px); border-radius: clamp(20px, 2.4vw, 36px); color: #fff; overflow: hidden; }
.duo__card--red { background: var(--red); }
.duo__card--ink { background: #0d0d10; }
:root[data-theme="dark"] .duo__card--ink { background: #1d1d24; }
.duo__name { font-weight: 600; font-size: 1rem; }
.duo__visual { width: min(100%, 430px); margin: 22px 0 auto; padding-bottom: 36px; align-self: flex-end; }
.duo__card h3 { margin-top: 0; }
.duo__card h3 { font-size: clamp(1.7rem, 3.1vw, 3rem); line-height: 1.2; }
.duo__card > p:not(.duo__name) { margin-top: 18px; max-width: 34em; opacity: .9; }
.duo__card .checks { margin: 18px 0 30px; }
.duo__card--ink .btn--light { --btn-hover: var(--red); }
.duo__card--ink .btn--light:hover { color: #fff; }

.others li { border-top: 1px solid var(--line); }
.others li:last-child { border-bottom: 1px solid var(--line); }
.others a { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 8px 24px; align-items: baseline; padding: clamp(16px, 2vw, 24px) 0; text-decoration: none; transition: padding .4s var(--ease), color .3s; }
.others a:hover { padding-left: 14px; color: var(--red-ink); }
.others strong { font-size: clamp(1.1rem, 1.5vw, 1.35rem); }
.others span { color: var(--ink-soft); font-size: .98rem; }
.service-rows__label { margin: clamp(48px, 7vw, 110px) 0 clamp(16px, 2vw, 28px); font-size: clamp(1.4rem, 2.2vw, 2rem); color: var(--ink-soft); }
.service-row:not(.service-row--main) { padding: clamp(24px, 3vw, 44px) 0; border-top-color: var(--line); }
.service-row:not(.service-row--main) h2 { font-size: clamp(1.4rem, 2.2vw, 2rem); }
.site-footer__gap { margin-top: 22px; }

/* Split: sticky heading + content */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split__aside { position: sticky; top: 120px; }
.split__aside p { margin-top: 18px; color: var(--ink-soft); }
.split__aside .btn { margin-top: 28px; }
.split__aside .checks { margin-top: 24px; }

.reasons { display: grid; gap: 0; }
.reasons article { padding: clamp(24px, 3vw, 40px) 0; border-top: 1px solid var(--line); }
.reasons article:last-child { border-bottom: 1px solid var(--line); }
.reasons h3 { margin-bottom: 12px; font-size: clamp(1.3rem, 2vw, 1.9rem); }
.reasons p { color: var(--ink-soft); }
.reasons--3 { grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); }
.reasons--3 article { border-top: 3px solid var(--ink); border-bottom: 0 !important; padding-bottom: 0; }

.checks li { position: relative; padding: 7px 0 7px 32px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .95em; width: 18px; height: 10px; border-left: 2.5px solid var(--red-ink); border-bottom: 2.5px solid var(--red-ink); transform: rotate(-45deg) translateY(-70%); }
.checks--light li::before { border-color: #fff; }
.checks--light li { font-size: 1.1rem; }

.terms li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 20px; padding: clamp(20px, 2.6vw, 34px) 0; border-top: 1px solid var(--line); }
.terms li:last-child { border-bottom: 1px solid var(--line); }
.terms strong { font-size: clamp(1.15rem, 1.7vw, 1.6rem); line-height: 1.3; }
.terms span { color: var(--ink-soft); }
.terms--fees li { align-items: baseline; }
.terms--fees strong { font-size: 1.05rem; font-weight: 600; color: var(--ink-soft); }
.terms--fees span { color: var(--ink); font-weight: 700; font-size: clamp(1.15rem, 1.7vw, 1.6rem); line-height: 1.3; }
.fee-notes { margin: 24px 0 0; padding: 0 0 0 1.2em; color: var(--ink-soft); font-size: .95rem; display: grid; gap: 8px; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(16px, 2vw, 32px); }
.steps li { counter-increment: step; position: relative; padding-top: clamp(64px, 6vw, 96px); border-top: 1px solid var(--ink); }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; top: 14px; left: 0; font-size: clamp(1.8rem, 3vw, 3rem); font-weight: 700; line-height: 1; color: var(--red-ink); }
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--ink-soft); font-size: .98rem; }

.outcomes { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: clamp(32px, 5vw, 80px); }
.outcomes > div { padding: clamp(20px, 2.4vw, 32px) 0; border-top: 1px solid var(--line); }
.outcomes dt { font-weight: 700; font-size: clamp(1.15rem, 1.6vw, 1.5rem); line-height: 1.3; margin-bottom: 8px; }
.outcomes dd { color: var(--ink-soft); }
.outcomes--stack { grid-template-columns: 1fr; }

.pains li { padding: clamp(16px, 2vw, 26px) 0; border-top: 1px solid var(--line); font-size: clamp(1.3rem, 2.6vw, 2.4rem); font-weight: 600; line-height: 1.3; }
.pains li:last-child { border-bottom: 1px solid var(--line); }

.stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(8px, 1vw, 16px); align-items: end; }
.stages li { padding: clamp(20px, 2vw, 30px); border-radius: var(--radius) var(--radius) 0 0; background: var(--paper); display: flex; flex-direction: column; justify-content: flex-end; }
.stages li:nth-child(1) { min-height: 170px; } .stages li:nth-child(2) { min-height: 220px; } .stages li:nth-child(3) { min-height: 270px; }
.stages li:nth-child(4) { min-height: 320px; background: var(--red); color: #fff; }
.stages strong { font-size: clamp(1.2rem, 1.9vw, 1.8rem); line-height: 1.25; }
.stages span { opacity: .75; font-size: .98rem; }

/* Clients */
.logo-wall { display: grid; grid-template-columns: repeat(8, 1fr); gap: clamp(8px, 1vw, 16px); }
.logo-wall li { border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--line); aspect-ratio: 1; }
.logo-wall img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .4s, opacity .4s, transform .6s var(--ease); }
.logo-wall li:hover img { filter: none; opacity: 1; transform: scale(1.06); }

/* Recruit Posting */
.product { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.product__copy h2 { font-size: clamp(1.8rem, 3.5vw, 3.2rem); }
.product__copy p:not(.tag) { margin-top: 20px; font-size: clamp(1.05rem, 1.3vw, 1.25rem); max-width: 34em; }
.product__copy .checks { margin-top: 24px; }
.queue { background: #fff; color: #0d0d10; border-radius: var(--radius); padding: clamp(18px, 2vw, 28px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .45); transform: rotate(2deg); }
.split .queue { transform: rotate(-1.5deg); border: 1px solid var(--line); box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .35); }
.queue__head { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid #e3e3e8; font-size: .95rem; }
.queue__head span { color: #6a6b75; }
.queue__list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #eeeef2; font-size: .95rem; }
.queue__list em { font-style: normal; font-size: .82rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #ececf0; color: #55565f; white-space: nowrap; }
.queue__list .is-done em { background: #dcf3e6; color: #11663f; }
.queue__list .is-wait em { background: #fdecc8; color: #8a5300; }
.queue__list .is-now em { background: #e3262f; color: #fff; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .55; } }
.queue figcaption { margin-top: 12px; font-size: .8rem; color: #6a6b75; }
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 28px); }
.plan { padding: clamp(24px, 3vw, 44px); border-radius: var(--radius); border: 1.5px solid var(--line); }
.plan--pro { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.plan--pro .checks li::before { border-color: #ff7a81; }
.plan__for { opacity: .75; margin-top: 4px; }
.plan__price { font-size: clamp(2.6rem, 5vw, 4.5rem); font-weight: 700; line-height: 1.1; margin: 22px 0; letter-spacing: -0.02em; }
.plan__price small { font-size: 1rem; font-weight: 500; letter-spacing: 0; opacity: .75; }

/* DISC */
.disc-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.4vw, 22px); }
.disc-card { --tone: var(--d); position: relative; padding: clamp(18px, 2vw, 28px); border-radius: var(--radius); background: color-mix(in srgb, var(--tone) 11%, var(--paper)); overflow: hidden; transition: transform .6s var(--ease); }
.disc-card:hover { transform: translateY(-8px) rotate(-1deg); }
.disc-card--i { --tone: var(--i); } .disc-card--s { --tone: var(--s); } .disc-card--c { --tone: var(--c); }
.disc-card img { width: 72%; margin: 0 auto 8px; }
.disc-card__letter { position: absolute; top: 6px; right: 18px; font-size: clamp(4rem, 7vw, 7rem); font-weight: 700; line-height: 1; color: var(--tone); opacity: .9; }
.disc-card h3 { color: var(--tone); }
.disc-card p:last-child { color: var(--ink-soft); font-size: .98rem; margin-top: 4px; }

/* Portfolio */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 40px) clamp(14px, 1.8vw, 28px); }
.work-grid a { display: block; text-decoration: none; }
.work-grid img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; border-radius: 16px; border: 1px solid var(--line); transition: transform .8s var(--ease); }
.work-grid li { overflow: visible; }
.work-grid a:hover img { transform: scale(.97); }
.work-grid__meta { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding-top: 14px; }
.work-grid__meta strong { font-size: 1.15rem; }
.work-grid__meta span { grid-column: 1; color: var(--ink-soft); font-size: .93rem; }
.work-grid__meta em { grid-area: 1 / 2 / 3 / 3; align-self: start; font-style: normal; font-size: .8rem; font-weight: 600; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; }
.rail { overflow: hidden; }
.rail .work-grid { display: flex; gap: clamp(16px, 2vw, 32px); width: max-content; padding-inline: var(--gutter); }
.rail .work-grid li { width: clamp(280px, 34vw, 540px); flex: none; }
.work-grid__more a { display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 16 / 9; padding: clamp(20px, 2.4vw, 36px); border-radius: 16px; background: var(--red); color: #fff; transition: background .4s; }
.work-grid__more a:hover { background: var(--ink); color: var(--paper); }
.work-grid__more strong { font-size: clamp(1.6rem, 3vw, 2.8rem); line-height: 1.2; }
.rail .work-grid li.work-grid__more { width: clamp(260px, 30vw, 460px); }
.rail__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 56px); }
.no-motion .rail, .rail.is-native { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rail.is-native .work-grid li { scroll-snap-align: center; }

/* Articles */
.post-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 44px); }
.post-cards a { display: block; text-decoration: none; }
.post-cards img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px; margin-bottom: 18px; transition: transform .8s var(--ease); }
.post-cards a:hover img { transform: scale(.97); }
.post-cards time { font-size: .9rem; color: var(--ink-soft); }
.post-cards__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.post-cards__cat, .article__cat { font-size: .85rem; font-weight: 600; color: var(--red-ink); }
.article__cat { text-decoration: none; }
.article__cat:hover { text-decoration: underline; text-underline-offset: 4px; }
.post-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(24px, 3vw, 40px); }
.post-filter a { text-decoration: none; font-weight: 600; font-size: .95rem; cursor: pointer; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); transition: background .2s, color .2s, border-color .2s; }
.post-filter a span { color: var(--ink-soft); font-weight: 400; margin-left: 4px; }
.post-filter a:hover { border-color: var(--ink); }
.post-filter a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.post-filter a[aria-current="page"] span { color: inherit; opacity: .7; }
.post-cards h3 { margin: 6px 0 8px; font-size: clamp(1.2rem, 1.7vw, 1.55rem); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 5px; transition: text-decoration-color .3s; }
.post-cards a:hover h3 { text-decoration-color: var(--red); }
.post-cards p { color: var(--ink-soft); font-size: .98rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.empty { font-size: 1.2rem; padding: 40px 0; }

/* CTA + footer: always dark */
.cta { background: var(--night); color: var(--on-night); padding: clamp(80px, 11vw, 180px) 0; border-radius: clamp(24px, 3vw, 48px) clamp(24px, 3vw, 48px) 0 0; margin-top: -1px; }
.cta h2 { font-size: clamp(2.3rem, 6.4vw, 6.4rem); line-height: 1.14; max-width: 14em; }
.cta p { margin-top: 20px; font-size: clamp(1.05rem, 1.4vw, 1.3rem); color: #b9bac4; max-width: 36em; }
.cta .actions { margin-top: 40px; }
.site-footer { background: var(--night); color: var(--on-night); padding: clamp(40px, 5vw, 72px) 0 0; border-top: 1px solid #2a2a31; overflow: hidden; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: clamp(24px, 4vw, 64px); }
.site-footer h2 { font-size: .9rem; font-weight: 600; color: #8f909b; margin-bottom: 14px; letter-spacing: 0; }
.site-footer nav a, .site-footer__contact a { display: block; padding: 5px 0; text-decoration: none; color: #e4e4ea; }
.site-footer nav a:hover, .site-footer__contact a:hover { color: #ff7a81; }
.site-footer .brand small { color: #8f909b; }
.site-footer__brand p { margin-top: 18px; max-width: 24em; }
.site-footer__brand address { margin-top: 8px; color: #8f909b; font-size: .95rem; max-width: 26em; }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: clamp(40px, 5vw, 72px); padding: 22px 0; border-top: 1px solid #2a2a31; font-size: .9rem; color: #8f909b; }
.site-footer__legal a { color: inherit; }
.wordmark { display: block; font-size: clamp(5rem, 24.5vw, 30rem); font-weight: 700; line-height: .8; letter-spacing: -0.045em; text-align: center; color: var(--red); margin: clamp(20px, 3vw, 40px) 0 -0.11em; white-space: nowrap; user-select: none; }

/* ---------- Interior pages ---------- */
.page-hero { padding: clamp(130px, 17vh, 200px) 0 clamp(48px, 7vw, 110px); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.page-hero--plain .page-hero__grid { grid-template-columns: 1fr; }
.page-hero h1 { font-size: clamp(2.3rem, 5.4vw, 5.2rem); }
.page-hero .lead { margin-top: 24px; }
.page-hero__photo { border-radius: clamp(18px, 2.2vw, 32px); overflow: hidden; aspect-ratio: 4 / 3; background: var(--mist); }
.page-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.view-web .page-hero__photo { aspect-ratio: 16 / 9; }
.view-web .page-hero__photo img { object-position: top; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; color: var(--ink-soft); margin-bottom: clamp(20px, 3vw, 40px); }
.crumbs a { text-decoration: none; color: inherit; }
.crumbs a:hover { color: var(--red-ink); }
.error-code { font-size: clamp(7rem, 26vw, 22rem); font-weight: 700; line-height: .9; letter-spacing: -0.04em; color: var(--red); }

.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(32px, 4vw, 56px); }
.jump a { padding: 9px 18px; border: 1.5px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .95rem; transition: background .3s, color .3s, border-color .3s; }
.jump a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.service-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 80px); padding: clamp(36px, 5vw, 80px) 0; border-top: 1px solid var(--ink); scroll-margin-top: 100px; }
.service-row h2 { font-size: clamp(1.8rem, 3.4vw, 3.2rem); }
.service-row__body > p { font-size: clamp(1.05rem, 1.3vw, 1.25rem); color: var(--ink-soft); }
.service-row__body .checks { margin: 20px 0 28px; }

.spec { width: 100%; border-collapse: collapse; }
.spec caption { text-align: left; font-weight: 700; font-size: clamp(1.2rem, 1.8vw, 1.6rem); padding-bottom: 14px; }
.spec th, .spec td { text-align: left; padding: clamp(14px, 1.8vw, 22px) 0; border-top: 1px solid var(--line); vertical-align: top; }
.spec th { width: 36%; font-weight: 500; color: var(--ink-soft); }
.spec td { font-weight: 600; font-size: clamp(1.05rem, 1.4vw, 1.3rem); }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 1px solid var(--line); }

.gallery { columns: 4; column-gap: clamp(8px, 1vw, 16px); }
.gallery a { display: block; margin-bottom: clamp(8px, 1vw, 16px); border-radius: 14px; overflow: hidden; break-inside: avoid; }
.gallery img { width: 100%; transition: transform .8s var(--ease); }
.gallery a:hover img { transform: scale(1.05); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; display: grid; place-items: center; }
.lightbox:not([open]) { display: none; }
.lightbox::backdrop { background: rgba(0, 0, 0, .9); }
.lightbox img { max-width: 92vw; max-height: 84vh; border-radius: 12px; }
.lightbox button { position: fixed; background: #fff; color: #0d0d10; border: 0; border-radius: 999px; min-width: 48px; height: 48px; padding: 0 18px; font: inherit; font-weight: 600; cursor: pointer; }
.lightbox [data-close] { top: 20px; right: 20px; }
.lightbox [data-prev] { left: 20px; bottom: 24px; } .lightbox [data-next] { right: 20px; bottom: 24px; }
.lightbox output { position: fixed; bottom: 36px; left: 50%; transform: translateX(-50%); color: #fff; }

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.quotes figure { padding: clamp(22px, 2.6vw, 36px); border-radius: var(--radius); background: var(--mist); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.quotes blockquote p { font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.55; font-weight: 500; }
.quotes blockquote p::before { content: "“"; display: block; font-size: 4rem; line-height: .6; color: var(--red-ink); margin-bottom: 6px; }
.quotes figcaption { color: var(--ink-soft); font-size: .95rem; }
.quotes figcaption strong { display: block; color: var(--ink); }

.trainer { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.trainer figure { border-radius: var(--radius); overflow: hidden; }
.trainer p { margin-top: 14px; }
.trainer .checks { margin-top: 18px; }

.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: clamp(18px, 2.2vw, 28px) 0; font-weight: 600; font-size: clamp(1.1rem, 1.6vw, 1.4rem); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 18px; height: 18px; background: linear-gradient(var(--ink), var(--ink)) center / 100% 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 100% no-repeat; transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 clamp(18px, 2.2vw, 28px); color: var(--ink-soft); max-width: 44em; }

.story { display: grid; gap: clamp(48px, 7vw, 110px); max-width: 980px; }
.story__block h2 { font-size: clamp(1.7rem, 3.2vw, 3rem); margin-bottom: 24px; }
.story__block p { font-size: clamp(1.05rem, 1.35vw, 1.25rem); max-width: 40em; }
.story__block p + p { margin-top: 1.1em; }
.pull { margin: clamp(28px, 4vw, 56px) 0; padding-left: clamp(20px, 3vw, 40px); border-left: 5px solid var(--red); font-size: clamp(1.6rem, 3.6vw, 3.2rem); font-weight: 700; line-height: 1.3; }

/* Contact + forms */
.contact { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); padding-bottom: clamp(72px, 9vw, 140px); }
.contact__info h2 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); margin-bottom: 20px; }
.contact-list > div { padding: 16px 0; border-top: 1px solid var(--line); }
.contact-list dt { font-size: .9rem; color: var(--ink-soft); }
.contact-list dd { font-size: 1.15rem; font-weight: 600; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--red-ink); }
.form { padding: clamp(22px, 3vw, 48px); border-radius: var(--radius); background: var(--mist); scroll-margin-top: 110px; }
.form__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 20px; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.field small { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea { width: 100%; min-height: 54px; padding: 12px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); font: inherit; transition: border-color .2s; }
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px color-mix(in srgb, var(--red) 18%, transparent); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 24px; }
.form__foot p { font-size: .9rem; color: var(--ink-soft); max-width: 30em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-weight: 500; }
.notice--ok { background: #dcf3e6; color: #0d4f31; }
.notice--error { background: #fde3e4; color: #8a1118; }

/* Article */
.article__head { padding: clamp(130px, 17vh, 190px) 0 0; }
.article__head h1 { font-size: clamp(2rem, 4.4vw, 4rem); line-height: 1.25; }
.article__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 20px; color: var(--ink-soft); }
.article__cover { display: block; width: 100%; height: auto; border-radius: clamp(16px, 2.2vw, 32px); margin-top: clamp(28px, 4vw, 56px); }
.prose { padding-block: clamp(36px, 5vw, 72px) clamp(64px, 8vw, 120px); font-size: 1.125rem; line-height: 1.85; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); margin-top: 1.9em; line-height: 1.35; }
.prose h3 { font-size: clamp(1.25rem, 1.9vw, 1.6rem); margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--red-ink); }
.prose blockquote { padding-left: 20px; border-left: 4px solid var(--red); font-weight: 500; }
.prose img { border-radius: 14px; }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }

/* DISC quiz shell: let the plugin stylesheet own the inside */
.quiz-shell { padding-bottom: clamp(56px, 7vw, 110px); }
.quiz-shell .disc-wrapper { margin-inline: auto; }

/* ---------- Motion ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 300; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--red); color: #fff; pointer-events: none; display: grid; place-items: center; font-size: 0; font-weight: 600; opacity: 0; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), font-size .2s, opacity .3s; }
.cursor.is-on { opacity: 1; }
.cursor.is-link { width: 46px; height: 46px; margin: -23px 0 0 -23px; background: transparent; border: 1.5px solid var(--red); }
.cursor.is-label { width: 96px; height: 96px; margin: -48px 0 0 -48px; font-size: .9rem; }
.curtain { position: fixed; inset: 0; z-index: 400; background: var(--red); display: grid; place-items: center; pointer-events: none; }
.curtain span { color: #fff; font-size: clamp(2.6rem, 9vw, 8rem); font-weight: 700; letter-spacing: -0.03em; }
.line { display: block; overflow: hidden; padding: .22em 0 .14em; margin: -.22em 0 -.14em; }
.line > span { display: block; }
.motion .hero h1, .motion .page-hero h1, .motion .article__head h1 { visibility: hidden; }
.motion :is(.mock, .trio > li, .section-head, .reasons > article, .steps > li, .terms > li, .work-grid > li, .post-cards > li, .disc-card, .plan, .quotes > figure, .outcomes > div, .service-row, .stages > li, .pains > li, .gallery > a, .logo-wall > li, .story__block, .trainer > *, .spec, .faq details, .contact__info, .form, .queue, .duo__card, .others > li, .promises > li, .split__aside, .hero__side, .page-hero .lead, .page-hero .actions, .page-hero .tag, .crumbs, .prose, .article__meta, .cta__inner > *) { opacity: 0; }
.motion .hero__photo, .motion .page-hero__photo, .motion .article__cover { clip-path: inset(100% 0 0 0); }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.marquee__track, .hero__badge svg { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
	.split, .product, .duo, .page-hero__grid, .service-row, .trainer, .contact { grid-template-columns: 1fr; }
	.split__aside { position: static; }
	.rise { grid-template-columns: 1fr; min-height: 0; gap: 8px; }
	.rise__bar { height: auto; min-height: 0; }
	.rise__bar a { border-radius: 16px; padding: 56px 20px 22px; }
	.reasons--3, .quotes, .post-cards { grid-template-columns: 1fr; }
	.steps { grid-template-columns: repeat(2, 1fr); }
	.logo-wall { grid-template-columns: repeat(4, 1fr); }
	.disc-row, .stages { grid-template-columns: repeat(2, 1fr); }
	.work-grid { grid-template-columns: repeat(2, 1fr); }
	.gallery { columns: 3; }
	.site-footer__grid { grid-template-columns: repeat(2, 1fr); }
	.hero__photo { aspect-ratio: 16 / 10; }
	.queue, .split .queue { transform: none; }
	.terms li { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 640px) {
	body { font-size: 1rem; }
	.promises { grid-template-columns: 1fr; }
	.promises li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
	.steps, .outcomes, .plans, .form__grid, .work-grid { grid-template-columns: 1fr; }
	.gallery { columns: 2; }
	.site-footer__grid { grid-template-columns: 1fr; }
	.actions .btn { flex: 1 1 100%; }
	.stages li { min-height: 0 !important; border-radius: 16px; }
	.stages { grid-template-columns: 1fr; }
	.rail .work-grid li { width: 82vw; }
	.hero__badge { top: auto; bottom: -34px; transform: none; right: 16px; }
	.btn { min-height: 52px; padding: 0 24px; }
}

/* Flex column stops the masked lines' negative margins from collapsing unevenly. */
h1:has(> .line) { display: flex; flex-direction: column; }

/* ---------- Illustrative mocks (always light cards, like a screenshot) ---------- */
.mock { position: relative; margin: 0; background: #fff; color: #0d0d10; border-radius: var(--radius); padding: clamp(16px, 1.8vw, 26px); box-shadow: 0 40px 80px -34px rgba(0, 0, 0, .5); transform: rotate(-1.6deg); }
.mock--browser { background: none; box-shadow: none; padding: 0 0 26px; transform: none; }
.mock--disc { transform: rotate(1.2deg); margin-top: 32px; border: 1px solid var(--line); box-shadow: 0 30px 60px -38px rgba(0, 0, 0, .35); }
.mock--compact { padding: 14px 16px; transform: rotate(2deg); box-shadow: 0 26px 50px -26px rgba(0, 0, 0, .55); }
.mock--compact.mock--browser { padding: 0 0 18px; transform: none; box-shadow: none; }
.mock__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid #e3e3e8; font-size: .95rem; }
.mock__head span { color: #6a6b75; font-size: .85rem; }
.mock figcaption { margin-top: 12px; font-size: .8rem; color: #6a6b75; }
.section--red .mock--browser figcaption, .duo__card .mock--browser figcaption { color: rgba(255, 255, 255, .8); }

.mock__stages { display: flex; gap: 4px; margin: 14px 0 4px; counter-reset: stage; }
.mock__stages li { flex: 1; padding: 22px 6px 0; font-size: .7rem; font-weight: 600; text-align: center; color: #9a9ba5; position: relative; }
.mock__stages li::before { content: ""; position: absolute; top: 4px; left: 0; right: 0; height: 6px; border-radius: 3px; background: #e6e6eb; }
.mock__stages .is-done { color: #11663f; } .mock__stages .is-done::before { background: #2fae74; }
.mock__stages .is-now { color: #c81a24; } .mock__stages .is-now::before { background: linear-gradient(90deg, #e3262f 55%, #e6e6eb 55%); background-size: 200% 100%; animation: stage 2.4s ease-in-out infinite alternate; }
@keyframes stage { from { background-position: 60% 0; } to { background-position: 0 0; } }

.mock__people li { display: grid; grid-template-columns: 38px minmax(0, 1fr) minmax(0, 1.25fr); gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid #eeeef2; }
.mock__people li:last-child { border-bottom: 0; }
.mock__avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #15151a; color: #fff; font-weight: 700; font-size: .9rem; }
.mock__people li:first-child .mock__avatar { background: #e3262f; }
.mock__who b { display: block; font-size: .92rem; line-height: 1.3; }
.mock__who em { font-style: normal; font-size: .72rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: #ececf0; color: #55565f; white-space: nowrap; }
.mock__who em.is-top { background: #dcf3e6; color: #11663f; }
.mock__bars { display: grid; gap: 5px; margin: 0; }
.mock__bars div { display: grid; grid-template-columns: 58px 1fr; align-items: center; gap: 8px; }
.mock__bars dt { font-size: .68rem; color: #6a6b75; }
.mock__bars dd { margin: 0; height: 6px; border-radius: 3px; background: #ececf0; overflow: hidden; }
.mock__bars i { display: block; height: 100%; width: var(--w); border-radius: 3px; background: #15151a; transform-origin: left; animation: grow 1.4s var(--ease) var(--delay, 0s) both; }
.mock__people li:first-child .mock__bars i { background: #e3262f; }
@keyframes grow { from { transform: scaleX(0); } }
.mock--compact .mock__people li { grid-template-columns: 32px minmax(0, 1fr) minmax(0, 1.2fr); padding: 9px 0; gap: 10px; }
.mock--compact .mock__avatar { width: 32px; height: 32px; font-size: .8rem; }
.mock--compact .mock__bars dt { font-size: .62rem; }
.mock--compact .mock__bars div { grid-template-columns: 50px 1fr; }

/* Browser + phone wireframe */
.browser { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 40px 80px -34px rgba(0, 0, 0, .55); margin-right: 12%; }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #ececf0; }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: #c9c9d1; }
.browser__bar i:first-child { background: #e3262f; }
.browser__bar span { margin-left: 8px; flex: 1; padding: 3px 12px; border-radius: 999px; background: #fff; font-size: .72rem; color: #6a6b75; }
.browser__page { padding: 14px; display: grid; gap: 12px; }
.wire { display: flex; gap: 8px; align-items: center; }
.wire b, .wire span, .wire em, .wire i, .wire figure, .phone__page > figure, .phone__page > em { display: block; margin: 0; border-radius: 6px; background: #e6e6eb; animation: wire 3.6s ease-in-out infinite; }
.wire--nav b { width: 54px; height: 12px; background: #15151a; }
.wire--nav span { width: 34px; height: 7px; }
.wire--nav span:first-of-type { margin-left: auto; }
.wire--nav em { width: 46px; height: 16px; border-radius: 999px; background: #e3262f; }
.wire--hero { align-items: stretch; gap: 14px; }
.wire--hero > div { flex: 1.1; display: grid; gap: 8px; align-content: center; }
.wire--hero b { height: 15px; background: #15151a; animation-delay: .15s; } .wire--hero b:nth-child(2) { width: 72%; animation-delay: .3s; }
.wire--hero span { height: 8px; width: 88%; animation-delay: .45s; }
.wire--hero em { width: 68px; height: 20px; border-radius: 999px; background: #e3262f; animation-delay: .6s; }
.wire--hero figure { flex: 1; min-height: 96px; border-radius: 10px; background: linear-gradient(135deg, #f7c9cc, #e3262f); animation-delay: .5s; }
.wire--cards { gap: 10px; } .wire--cards i { flex: 1; height: 44px; border-radius: 8px; }
.wire--cards i:nth-child(1) { animation-delay: .75s; } .wire--cards i:nth-child(2) { animation-delay: .9s; } .wire--cards i:nth-child(3) { animation-delay: 1.05s; }
@keyframes wire { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
.phone { position: absolute; right: 0; bottom: 0; width: 27%; min-width: 96px; aspect-ratio: 9 / 18.5; border-radius: 20px; background: #15151a; padding: 6px; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .7); }
.mock--browser:has(figcaption) .phone { bottom: 30px; }
.phone__page { height: 100%; border-radius: 15px; background: #fff; padding: 10px 8px; display: grid; gap: 8px; align-content: start; overflow: hidden; }
.phone__page .wire--nav b { width: 34px; height: 9px; } .phone__page .wire--nav em { margin-left: auto; width: 16px; height: 9px; border-radius: 3px; background: #15151a; }
.phone__page > figure { height: 28%; min-height: 44px; border-radius: 8px; background: linear-gradient(135deg, #f7c9cc, #e3262f); }
.wire--text { flex-direction: column; align-items: stretch; gap: 6px; } .wire--text b { height: 9px; background: #15151a; } .wire--text b:nth-child(2) { width: 70%; } .wire--text span { height: 6px; }
.phone__page > em { width: 60%; height: 16px; border-radius: 999px; background: #e3262f; }
.phone__page .wire--cards { flex-direction: column; } .phone__page .wire--cards i { flex: none; width: 100%; height: 26px; }
.mock--compact .browser { margin-right: 14%; }
.mock--compact .wire--hero figure { min-height: 70px; }
.mock--compact .wire--cards i { height: 30px; }

/* DiSC team wheel */
.wheel { position: relative; width: min(100%, 300px); aspect-ratio: 1; margin: 18px auto 14px; border-radius: 50%; background: conic-gradient(from 0deg, #fbe3c4 0 90deg, #d6efe4 90deg 180deg, #d9e5f7 180deg 270deg, #fbd7d7 270deg 360deg); }
.wheel::before, .wheel::after { content: ""; position: absolute; background: #fff; }
.wheel::before { left: 50%; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; } .wheel::after { top: 50%; left: 0; right: 0; height: 3px; margin-top: -1.5px; }
.wheel__q { position: absolute; font-size: 1.7rem; font-weight: 700; line-height: 1; opacity: .5; }
.wheel__q--d { left: 16%; top: 12%; color: var(--d); } .wheel__q--i { right: 16%; top: 12%; color: var(--i); }
.wheel__q--c { left: 16%; bottom: 12%; color: var(--c); } .wheel__q--s { right: 16%; bottom: 12%; color: var(--s); }
.wheel__dot { position: absolute; z-index: 1; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: .8rem; font-weight: 600; box-shadow: 0 0 0 3px #fff; animation: bob 3.4s ease-in-out var(--delay, 0s) infinite alternate; }
.wheel__dot--d { background: var(--d); } .wheel__dot--i { background: var(--i); } .wheel__dot--s { background: var(--s); } .wheel__dot--c { background: var(--c); }
@keyframes bob { from { transform: translateY(-3px); } to { transform: translateY(4px); } }
.wheel__legend { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 14px; font-size: .78rem; color: #55565f; }
.wheel__legend li { padding-left: 16px; position: relative; }
.wheel__legend li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--d); }
.wheel__legend .is-i::before { background: var(--i); } .wheel__legend .is-s::before { background: var(--s); } .wheel__legend .is-c::before { background: var(--c); }
.split--visual .split__aside { position: static; }

/* ---------- Background texture ---------- */
.hero, .page-hero, .article__head { position: relative; isolation: isolate; }
.hero::before, .page-hero::before, .article__head::before { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
	background:
		radial-gradient(60% 55% at 88% 0%, color-mix(in srgb, var(--red) 13%, transparent), transparent 70%),
		linear-gradient(color-mix(in srgb, var(--ink) 5%, transparent) 1px, transparent 1px) 0 0 / 100% 56px,
		linear-gradient(90deg, color-mix(in srgb, var(--ink) 5%, transparent) 1px, transparent 1px) 0 0 / 56px 100%;
	-webkit-mask-image: linear-gradient(#000 30%, transparent 96%); mask-image: linear-gradient(#000 30%, transparent 96%); }
/* The logo's rising bars, oversized, behind the page headers. */
.page-hero::after { content: ""; position: absolute; z-index: -1; right: max(var(--gutter), calc((100% - var(--wrap)) / 2)); bottom: 0; width: clamp(180px, 26vw, 420px); aspect-ratio: 5 / 3; pointer-events: none; opacity: .07;
	background: linear-gradient(90deg, var(--red) 0 16%, transparent 16% 21%, var(--red) 21% 37%, transparent 37% 42%, var(--red) 42% 58%, transparent 58% 63%, var(--red) 63% 79%, transparent 79% 84%, var(--red) 84% 100%);
	clip-path: polygon(0 100%, 0 70%, 16% 70%, 16% 100%, 21% 100%, 21% 55%, 37% 55%, 37% 100%, 42% 100%, 42% 38%, 58% 38%, 58% 100%, 63% 100%, 63% 20%, 79% 20%, 79% 100%, 84% 100%, 84% 0, 100% 0, 100% 100%); }
.page-hero:not(.page-hero--plain)::after { display: none; }
.section--mist { background-image: radial-gradient(color-mix(in srgb, var(--ink) 11%, transparent) 1.2px, transparent 1.3px); background-size: 26px 26px; }
.section--red { position: relative; overflow: hidden; isolation: isolate; }
.section--red::before { content: ""; position: absolute; z-index: -1; right: -6%; bottom: -1px; width: min(70%, 900px); aspect-ratio: 5 / 3; pointer-events: none; opacity: .13;
	background: linear-gradient(90deg, #fff 0 16%, transparent 16% 21%, #fff 21% 37%, transparent 37% 42%, #fff 42% 58%, transparent 58% 63%, #fff 63% 79%, transparent 79% 84%, #fff 84% 100%);
	clip-path: polygon(0 100%, 0 70%, 16% 70%, 16% 100%, 21% 100%, 21% 55%, 37% 55%, 37% 100%, 42% 100%, 42% 38%, 58% 38%, 58% 100%, 63% 100%, 63% 20%, 79% 20%, 79% 100%, 84% 100%, 84% 0, 100% 0, 100% 100%); }
.cta { position: relative; overflow: hidden; isolation: isolate; }
.cta::before { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
	background: radial-gradient(50% 70% at 90% 100%, rgba(227, 38, 47, .42), transparent 70%), radial-gradient(#ffffff14 1.2px, transparent 1.3px) 0 0 / 26px 26px; }
.duo__card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(#ffffff1f 1.2px, transparent 1.3px) 0 0 / 24px 24px; -webkit-mask-image: linear-gradient(200deg, #000, transparent 55%); mask-image: linear-gradient(200deg, #000, transparent 55%); }
.duo__card > * { position: relative; z-index: 1; }

@media (max-width: 1000px) {
	.mock, .mock--disc, .mock--compact { transform: none; }
	.duo__visual { align-self: stretch; width: 100%; max-width: 460px; }
}
@media (prefers-reduced-motion: reduce) {
	.mock__bars i, .wire *, .wheel__dot, .mock__stages .is-now::before { animation: none; }
}

/* ---------- Performance ---------- */
.is-off, .is-off * { animation-play-state: paused !important; }
@media (max-width: 1000px), (pointer: coarse) {
	/* Blur behind a fixed bar repaints on every scroll frame on phones. */
	.site-header, .site-header.is-stuck { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; }
	.hero__photo img { height: 100%; }
	.mock, .queue, .browser, .phone { box-shadow: 0 18px 36px -22px rgba(0, 0, 0, .45); }
	.wire b, .wire span, .wire em, .wire i, .wire figure, .phone__page > figure, .phone__page > em { animation: none; }
}

/* Browser mock: the phone hangs over the lower right corner, so keep the caption clear of it,
   and never give the transparent wrapper a shadow of its own. */
.mock--browser figcaption { padding-right: 31%; }
.mock.mock--browser, .mock.mock--browser.mock--compact { box-shadow: none; }

/* ---------- Cookie consent ---------- */
.consent { position: fixed; z-index: 150; left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); max-width: 720px; margin-inline: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 16px 20px; border-radius: 18px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .45); }
.consent[hidden] { display: none; }
.consent p { flex: 1 1 280px; font-size: .92rem; line-height: 1.55; }
.consent a { color: var(--red-ink); }
.consent__actions { display: flex; gap: 8px; }
@media (max-width: 640px) { .consent__actions { width: 100%; } .consent__actions .btn { flex: 1; min-height: 46px; } }

/* ---------- Page header with an illustrative component ---------- */
.page-hero__visual { align-self: center; }
.page-hero__visual .mock { box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .35); border: 1px solid var(--line); }
.section--red .section-head p { color: #fff; opacity: .92; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2vw, 32px); }
.trio li { padding-top: 22px; border-top: 3px solid #fff; }
.trio strong { display: block; font-size: clamp(1.6rem, 3.4vw, 3.2rem); line-height: 1.2; }
.trio span { display: block; margin-top: 8px; opacity: .92; }
@media (max-width: 640px) { .trio { grid-template-columns: 1fr; } }

/* ---------- Floating header (every screen size) ----------
   Once the page scrolls the bar becomes a rounded pill; it slides away while reading down and
   returns on the first scroll up (see site.js). Phones and tablets get a solid pill: a blur
   behind a fixed bar repaints on every scroll frame there. Desktop gets the blurred one. */
@media all {
	.site-header { transition: transform .55s var(--ease), padding .45s var(--ease); }
	.site-header__bar { border-radius: 0; transition: min-height .45s var(--ease), padding .45s var(--ease), width .55s var(--ease), background .3s, box-shadow .3s, border-radius .45s var(--ease); }
	.brand img { transition: width .45s var(--ease), height .45s var(--ease); }
	.site-header.is-stuck { padding-top: 12px; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
	.site-header.is-stuck .site-header__bar { width: min(100% - 2 * var(--gutter), 1240px); min-height: 64px; padding: 0 10px 0 16px; border-radius: 999px; background: var(--paper); box-shadow: 0 0 0 1px var(--line), 0 20px 44px -26px rgba(0, 0, 0, .4); }
	.site-header.is-stuck .brand img { width: 36px; height: 36px; }
	.site-header.is-hidden { transform: translateY(calc(-100% - 16px)); }
	.site-header.is-hidden .sub { visibility: hidden; }
	/* The open menu covers the screen: drop the pill so the logo and close button sit as usual. */
	.nav-open .site-header.is-hidden { transform: none; }
	.nav-open .site-header.is-stuck { padding-top: 0; }
	.nav-open .site-header.is-stuck .site-header__bar { width: min(100% - 2 * var(--gutter), var(--wrap)); min-height: 80px; padding: 0; border-radius: 0; background: none; box-shadow: none; }
	.nav-open .site-header.is-stuck .brand img { width: 44px; height: 44px; }
}
@media (min-width: 1241px) and (hover: hover) and (pointer: fine) {
	.site-header.is-stuck .site-header__bar { background: color-mix(in srgb, var(--paper) 84%, transparent); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); }
}
@media (prefers-reduced-motion: reduce) {
	.site-header, .site-header__bar, .brand img { transition: none; }
}
