/* ==========================================================================
   Takewin Dimensions — landing theme
   Direction-agnostic: logical properties only, so Arabic (RTL) and
   English (LTR) share one stylesheet.
   ========================================================================== */

:root {
	--tw-ink: #0d1929;
	--tw-navy: #0e1a2b;
	--tw-navy-2: #172840;
	--tw-orange: #f2a541;
	--tw-teal: #2ec4b6;
	--tw-red: #e4572e;
	--tw-cream: #f6efe5;
	--tw-paper: #ffffff;
	--tw-text-dark: #0f1b2d;

	--tw-font-latin: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
	--tw-font-arabic: "Readex Pro", "Segoe UI", Tahoma, sans-serif;
	--tw-font: var(--tw-font-latin);

	--tw-container: 1200px;
	--tw-gutter: clamp(20px, 5vw, 64px);
	--tw-header-h: 76px;
	--tw-radius: 22px;
	--tw-ease: cubic-bezier(.2, .7, .2, 1);
}

.tw-lang-ar { --tw-font: var(--tw-font-arabic); }

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--tw-ink);
	color: var(--tw-cream);
	font-family: var(--tw-font);
	font-size: 17px;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
[lang="en"] { font-family: var(--tw-font-latin); }

::selection { background: var(--tw-orange); color: var(--tw-text-dark); }

:focus-visible { outline: 3px solid var(--tw-orange); outline-offset: 3px; border-radius: 4px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.tw-skip {
	position: absolute;
	inset-inline-start: 16px;
	top: -60px;
	z-index: 100;
	padding: 10px 16px;
	background: var(--tw-orange);
	color: var(--tw-text-dark);
	font-weight: 700;
	border-radius: 8px;
	text-decoration: none;
}
.tw-skip:focus { top: 16px; }

.tw-container {
	width: 100%;
	max-width: calc(var(--tw-container) + var(--tw-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--tw-gutter);
	position: relative;
	z-index: 1;
}

/* ---------- Elementor shell reset ---------- */
.elementor .e-con.tw-shell,
.e-con.tw-shell {
	--padding-top: 0; --padding-right: 0; --padding-bottom: 0; --padding-left: 0;
	--gap: 0; --row-gap: 0; --column-gap: 0;
	--width: 100%; --content-width: 100%;
	padding: 0;
	margin: 0;
}
.elementor-widget[class*="elementor-widget-takewin-"] { width: 100%; margin: 0 !important; }
.elementor-widget[class*="elementor-widget-takewin-"] > .elementor-widget-container { margin: 0; padding: 0; }

/* ---------- Section themes ---------- */
.tw-section {
	--grid: rgba(255, 255, 255, .035);
	--eyebrow: var(--tw-orange);
	--muted: rgba(246, 239, 229, .72);
	--accent: var(--tw-orange);
	position: relative;
	overflow: hidden;
	padding-block: clamp(88px, 12vw, 168px);
	background-color: var(--bg);
	color: var(--fg);
	background-image:
		linear-gradient(var(--grid) 1px, transparent 1px),
		linear-gradient(90deg, var(--grid) 1px, transparent 1px);
	background-size: 44px 44px;
	background-position: center top;
	scroll-margin-top: calc(var(--tw-header-h) - 1px);
}
.tw-theme--ink    { --bg: var(--tw-ink);    --fg: var(--tw-cream); }
.tw-theme--navy   { --bg: var(--tw-navy-2); --fg: var(--tw-cream); }
.tw-theme--cream  {
	--bg: var(--tw-cream); --fg: var(--tw-text-dark);
	--grid: rgba(15, 27, 45, .06);
	--eyebrow: var(--tw-red);
	--accent: var(--tw-red);
	--muted: rgba(15, 27, 45, .78);
}
.tw-theme--orange {
	--bg: var(--tw-orange); --fg: var(--tw-text-dark);
	--grid: rgba(15, 27, 45, .045);
	--eyebrow: var(--tw-text-dark);
	--accent: var(--tw-text-dark);
	--muted: rgba(15, 27, 45, .82);
}

/* ---------- Type ---------- */
.tw-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 18px;
	margin-block-end: 22px;
	color: var(--eyebrow);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .06em;
	line-height: 1.4;
}
.tw-lang-ar .tw-eyebrow { letter-spacing: 0; font-size: 15px; font-weight: 600; }
.tw-eyebrow::after {
	content: "";
	width: 96px;
	height: 2px;
	background: currentColor;
	transform-origin: inline-start;
}

.tw-title {
	font-size: clamp(34px, 4.6vw, 60px);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -.025em;
	margin-block-end: 28px;
	text-wrap: balance;
}
.tw-lang-ar .tw-title { font-weight: 700; letter-spacing: 0; line-height: 1.3; }

.tw-prose { color: var(--muted); font-size: clamp(16px, 1.3vw, 18px); line-height: 2; max-width: 36em; }
.tw-prose p + p { margin-block-start: 14px; }
.tw-prose strong { color: var(--fg); font-weight: 700; }
.tw-lead { color: var(--muted); font-size: 19px; max-width: 34em; }

.tw-highlight {
	margin-block-start: 22px;
	color: var(--tw-orange);
	font-weight: 700;
	font-size: clamp(17px, 1.5vw, 20px);
	line-height: 1.8;
	max-width: 32em;
}
.tw-theme--cream .tw-highlight { color: var(--tw-red); }

.tw-c-orange { color: var(--tw-orange); }
.tw-c-teal   { color: var(--tw-teal); }
.tw-c-red    { color: var(--tw-red); }

.tw-watermark {
	position: absolute;
	top: clamp(-10px, -1vw, 0px);
	inset-inline-end: 3%;
	font-family: var(--tw-font);
	font-size: clamp(120px, 21vw, 320px);
	font-weight: 800;
	line-height: .85;
	letter-spacing: -.04em;
	color: currentColor;
	opacity: .055;
	pointer-events: none;
	user-select: none;
	white-space: nowrap;
}
.tw-lang-ar .tw-watermark { letter-spacing: 0; line-height: 1; }

.tw-pageno {
	position: absolute;
	bottom: 28px;
	inset-inline-end: var(--tw-gutter);
	font-size: 13px;
	letter-spacing: .1em;
	opacity: .45;
	font-family: var(--tw-font-latin);
}
.tw-lang-ar .tw-pageno { font-family: var(--tw-font-arabic); }

/* ---------- Buttons ---------- */
.tw-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-block-start: 40px; }
.tw-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 26px;
	border-radius: 999px;
	border: 1.5px solid transparent;
	font-weight: 700;
	font-size: 16px;
	line-height: 1.2;
	text-decoration: none;
	transition: transform .25s var(--tw-ease), background-color .25s, color .25s, border-color .25s;
	cursor: pointer;
	white-space: nowrap;
}
.tw-btn:hover { transform: translateY(-2px); }
.tw-btn .tw-ui { width: 18px; height: 18px; transition: transform .25s var(--tw-ease); }
.tw-btn:hover .tw-arrow { transform: translateX(4px); }
.tw-btn--primary { background: var(--tw-orange); color: var(--tw-text-dark); }
.tw-btn--primary:hover { background: #f7b95e; }
.tw-btn--ghost { border-color: currentColor; color: var(--fg, var(--tw-cream)); }
.tw-btn--ghost:hover { background: var(--tw-cream); border-color: var(--tw-cream); color: var(--tw-text-dark); }
.tw-btn--sm { padding: 10px 18px; font-size: 14px; }
.tw-theme--orange .tw-btn--primary { background: var(--tw-text-dark); color: var(--tw-cream); }

[dir="rtl"] .tw-arrow { transform: scaleX(-1); }
[dir="rtl"] .tw-btn:hover .tw-arrow,
[dir="rtl"] .tw-chapter:hover .tw-arrow { transform: scaleX(-1) translateX(4px); }

/* ---------- Tags ---------- */
.tw-tags { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 30px; }
.tw-tags li {
	padding: 7px 22px;
	border: 1.5px solid var(--accent);
	border-radius: 999px;
	color: var(--accent);
	font-weight: 700;
	font-size: 15px;
	line-height: 1.5;
	transition: background-color .25s, color .25s;
}
.tw-tags li:hover { background: var(--accent); color: var(--bg); }

/* ---------- Corner brackets ---------- */
.tw-corners { position: absolute; inset: 0; pointer-events: none; }
.tw-corners i {
	position: absolute;
	width: clamp(48px, 7vw, 100px);
	height: clamp(48px, 7vw, 100px);
	border: 4px solid var(--tw-orange);
}
.tw-corners i:nth-child(1) { top: 0; inset-inline-start: 0; border-inline-end: 0; border-bottom: 0; }
.tw-corners i:nth-child(2) { top: 0; inset-inline-end: 0; border-inline-start: 0; border-bottom: 0; }
.tw-corners i:nth-child(3) { bottom: 0; inset-inline-start: 0; border-inline-end: 0; border-top: 0; }
.tw-corners i:nth-child(4) { bottom: 0; inset-inline-end: 0; border-inline-start: 0; border-top: 0; }

/* ==========================================================================
   Header
   ========================================================================== */
.tw-header {
	position: fixed;
	inset-inline: 0;
	top: 0;
	z-index: 50;
	height: var(--tw-header-h);
	color: var(--tw-cream);
	transition: background-color .3s, box-shadow .3s, transform .35s var(--tw-ease);
}
.admin-bar .tw-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .tw-header { top: 46px; } }

.tw-header.is-scrolled {
	background: rgba(13, 25, 41, .86);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
}
.tw-header.is-hidden { transform: translateY(-100%); }

.tw-header__bar { display: flex; align-items: center; gap: 28px; height: 100%; }

.tw-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--tw-cream); flex-shrink: 0; }
.tw-brand img { max-height: 44px; width: auto; }
.tw-brand__mark { color: var(--tw-orange); display: inline-flex; }
.tw-brand__mark svg { width: 34px; height: 34px; }
.tw-brand__name { font-weight: 800; font-size: 18px; letter-spacing: -.01em; line-height: 1.1; }
.tw-lang-ar .tw-brand__name { font-weight: 700; letter-spacing: 0; }

.tw-nav { margin-inline-start: auto; }
.tw-menu { display: flex; gap: 6px; }
.tw-menu a {
	display: block;
	padding: 8px 14px;
	border-radius: 999px;
	text-decoration: none;
	font-size: 15px;
	font-weight: 500;
	opacity: .82;
	transition: opacity .2s, background-color .2s, color .2s;
}
.tw-menu a:hover,
.tw-menu a.is-active { opacity: 1; background: rgba(255, 255, 255, .08); }
.tw-menu a.is-active { color: var(--tw-orange); }

.tw-header__tools { display: flex; align-items: center; gap: 14px; }

.tw-lang { display: flex; gap: 4px; padding: 3px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; }
.tw-lang a {
	display: block;
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.6;
	text-decoration: none;
	opacity: .8;
}
.tw-lang a[lang="ar"] { font-family: var(--tw-font-arabic); }
.tw-lang a:hover { opacity: 1; }
.tw-lang a.is-current { background: var(--tw-orange); color: var(--tw-text-dark); opacity: 1; }
.tw-lang--mobile { display: none; }

.tw-burger {
	display: none;
	position: relative;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 50%;
	background: transparent;
	color: inherit;
	cursor: pointer;
}
.tw-burger i {
	position: absolute;
	inset-inline-start: 13px;
	width: 18px;
	height: 2px;
	background: currentColor;
	transition: transform .3s var(--tw-ease), opacity .2s;
}
.tw-burger i:nth-of-type(1) { top: 15px; }
.tw-burger i:nth-of-type(2) { top: 21px; }
.tw-burger i:nth-of-type(3) { top: 27px; }
.tw-burger[aria-expanded="true"] i:nth-of-type(1) { transform: translateY(6px) rotate(45deg); }
.tw-burger[aria-expanded="true"] i:nth-of-type(2) { opacity: 0; }
.tw-burger[aria-expanded="true"] i:nth-of-type(3) { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.tw-hero {
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	align-items: center;
	padding-block: calc(var(--tw-header-h) + 60px) 90px;
}
.tw-hero > .tw-corners { inset: calc(var(--tw-header-h) + 8px) var(--tw-gutter) 40px; opacity: .9; }
.tw-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(32px, 5vw, 80px); }

.tw-hero__title {
	color: var(--tw-orange);
	font-size: clamp(56px, 9.2vw, 132px);
	font-weight: 800;
	line-height: .98;
	letter-spacing: -.035em;
}
.tw-lang-ar .tw-hero__title { font-weight: 700; letter-spacing: 0; line-height: 1.2; font-size: clamp(60px, 10vw, 140px); }

.tw-hero__subtitle {
	margin-block-start: 26px;
	font-size: clamp(14px, 1.6vw, 20px);
	font-weight: 700;
	letter-spacing: .32em;
	line-height: 1.5;
	text-transform: uppercase;
}
.tw-lang-ar .tw-hero__subtitle { font-size: clamp(20px, 2.8vw, 36px); letter-spacing: .28em; line-height: 1.25; margin-block-start: 8px; }

.tw-hero__tagline {
	margin-block-start: 26px;
	font-size: clamp(20px, 2.3vw, 30px);
	font-weight: 300;
	opacity: .9;
}
.tw-hero__visual { display: grid; place-items: center; }
.tw-illu--orbit { width: min(100%, 540px); }

.tw-hero__badge {
	position: absolute;
	bottom: 56px;
	inset-inline-start: calc(var(--tw-gutter) + 28px);
	font-size: 13px;
	letter-spacing: .22em;
	opacity: .5;
	z-index: 1;
}

/* ==========================================================================
   Split (text + illustration)
   ========================================================================== */
.tw-split__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
	align-items: center;
	gap: clamp(40px, 7vw, 110px);
}
.tw-split--reverse .tw-split__text { order: 2; }
.tw-split--reverse .tw-split__grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.tw-split__visual { display: grid; place-items: center; }
.tw-split__visual .tw-illu { width: min(100%, 380px); }
.tw-split__img { width: 100%; border-radius: var(--tw-radius); object-fit: cover; }

.tw-split--statement .tw-title {
	font-size: clamp(34px, 4.8vw, 64px);
	line-height: 1.12;
	margin: 0;
	max-width: 14em;
}
.tw-lang-ar .tw-split--statement .tw-title { line-height: 1.45; }

/* ==========================================================================
   Word cards
   ========================================================================== */
.tw-words__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 28px;
	margin-block-start: 30px;
}
.tw-card { border-radius: var(--tw-radius); transition: transform .35s var(--tw-ease), box-shadow .35s, border-color .35s; }
.tw-card--glass {
	padding: clamp(24px, 2.4vw, 34px);
	background: rgba(255, 255, 255, .045);
	border: 1px solid rgba(255, 255, 255, .13);
	container-type: inline-size;
}
.tw-card--glass:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, .28); }
.tw-words__word {
	font-family: var(--tw-font-latin);
	font-size: clamp(32px, 17cqi, 62px);
	font-weight: 800;
	letter-spacing: -.03em;
	line-height: 1.05;
	margin-block-end: 14px;
}
.tw-card--glass p { color: var(--muted); font-size: 17px; line-height: 1.9; }

/* ==========================================================================
   Values
   ========================================================================== */
.tw-values__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 22px;
	margin-block-start: 22px;
}
.tw-card--paper {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	padding: 40px 18px 36px;
	background: var(--tw-paper);
	border: 1px solid rgba(15, 27, 45, .08);
	text-align: center;
}
.tw-card--paper:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -24px rgba(15, 27, 45, .35); }
.tw-card--paper .tw-ico { width: 66px; height: 66px; }
.tw-card--paper strong { font-size: 17px; line-height: 1.6; color: var(--tw-text-dark); }

/* ==========================================================================
   Goals
   ========================================================================== */
.tw-goals__grid { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center; }
.tw-goals__list { display: grid; gap: 18px; max-width: 46em; }
.tw-goals__list li { display: flex; align-items: flex-start; gap: 16px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.75; }
.tw-diamond { flex: 0 0 24px; width: 24px; height: 24px; margin-block-start: .3em; color: var(--tw-orange); }
.tw-goals__visual { padding-inline: clamp(0px, 6vw, 120px); }
.tw-illu--steps { width: 60px; }

/* ==========================================================================
   Chapters
   ========================================================================== */
.tw-chapters__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; margin-block-start: 30px; }
.tw-chapter {
	position: relative;
	display: flex;
	flex-direction: column;
	padding-block-start: 28px;
	border-top: 8px solid var(--tw-text-dark);
	text-decoration: none;
	color: var(--tw-text-dark);
}
.tw-chapter::before {
	content: "";
	position: absolute;
	top: -8px;
	inset-inline-start: 0;
	width: 0;
	height: 8px;
	background: var(--tw-cream);
	transition: width .5s var(--tw-ease);
}
.tw-chapter:hover::before { width: 100%; }
.tw-chapter__word {
	font-size: clamp(52px, 7vw, 104px);
	font-weight: 800;
	letter-spacing: -.035em;
	line-height: 1;
}
.tw-lang-ar .tw-chapter__word { font-weight: 700; letter-spacing: 0; line-height: 1.3; }
.tw-chapter__sub { margin-block-start: 8px; font-size: clamp(16px, 1.4vw, 19px); }
.tw-chapter .tw-arrow { width: 28px; height: 28px; margin-block-start: 18px; transition: transform .3s var(--tw-ease); }
.tw-chapter:hover .tw-arrow { transform: translateX(6px); }

/* ==========================================================================
   Message
   ========================================================================== */
.tw-message__frame { position: relative; padding: clamp(56px, 8vw, 110px) clamp(24px, 6vw, 90px); }
.tw-message__text { font-size: clamp(17px, 1.6vw, 21px); line-height: 2.05; max-width: 52em; color: rgba(246, 239, 229, .88); }
.tw-message__text p + p { margin-block-start: 20px; }
.tw-message__text strong { color: var(--tw-orange); font-weight: 700; }
.tw-message__sig {
	margin-block-start: 44px;
	color: var(--tw-orange);
	font-size: clamp(24px, 3.4vw, 40px);
	font-weight: 800;
	letter-spacing: .2em;
	line-height: 1.2;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.tw-contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.tw-contact__list { display: grid; gap: 14px; }
.tw-contact__list a,
.tw-contact__list div {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 16px 20px;
	border-radius: 18px;
	background: rgba(15, 27, 45, .08);
	border: 1px solid rgba(15, 27, 45, .12);
	text-decoration: none;
	transition: background-color .25s, transform .25s var(--tw-ease);
}
.tw-contact__list a:hover { background: rgba(15, 27, 45, .16); transform: translateY(-2px); }
.tw-contact__icon {
	flex: 0 0 48px;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--tw-text-dark);
	color: var(--tw-orange);
}
.tw-contact__icon svg { width: 22px; height: 22px; }
.tw-contact__list small { display: block; font-size: 13px; opacity: .72; line-height: 1.4; }
.tw-contact__list bdi { display: block; font-size: 18px; font-weight: 700; line-height: 1.4; }

.tw-socials { display: flex; gap: 10px; margin-block-start: 30px; }
.tw-socials a {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--tw-text-dark);
	color: var(--tw-cream);
	transition: background-color .25s, color .25s, transform .25s var(--tw-ease);
}
.tw-socials a:hover { background: var(--tw-cream); color: var(--tw-text-dark); transform: translateY(-3px); }
.tw-socials svg { width: 20px; height: 20px; }

/* ==========================================================================
   Footer / generic pages
   ========================================================================== */
.tw-footer { position: relative; background: var(--tw-ink); color: var(--tw-cream); padding-block: 44px; border-top: 1px solid rgba(255, 255, 255, .07); }
.tw-footer__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.tw-footer__brand p { margin-block-start: 8px; font-size: 14px; opacity: .6; }
.tw-footer__copy { font-size: 14px; opacity: .6; }
.tw-totop {
	position: fixed;
	bottom: 22px;
	inset-inline-end: 22px;
	z-index: 40;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--tw-orange);
	color: var(--tw-text-dark);
	opacity: 0;
	transform: translateY(12px);
	pointer-events: none;
	transition: opacity .3s, transform .3s var(--tw-ease);
}
.tw-totop svg { width: 20px; height: 20px; transform: rotate(-90deg); }
.tw-totop.is-visible { opacity: 1; transform: none; pointer-events: auto; }

.tw-page { padding-block-start: calc(var(--tw-header-h) + 80px); min-height: 70vh; }
.tw-page__inner { max-width: 860px; }
.tw-entry + .tw-entry { margin-block-start: 60px; }

/* ==========================================================================
   Motion
   ========================================================================== */
.tw-js .tw-reveal {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity .9s var(--tw-ease), transform .9s var(--tw-ease);
	transition-delay: calc(var(--d, 0) * 90ms);
}
.tw-js .tw-reveal.is-in { opacity: 1; transform: none; }
.elementor-editor-active .tw-reveal { opacity: 1 !important; transform: none !important; }

.tw-spin { animation: tw-spin 60s linear infinite; }
.tw-spin--rev { animation-duration: 90s; animation-direction: reverse; }
.tw-look { animation: tw-look 7s ease-in-out infinite; }
.tw-clap { animation: tw-clap 4s ease-in-out infinite; }
.tw-swing { animation: tw-swing 5s ease-in-out infinite; }
.tw-bounce { animation: tw-bounce 2.6s ease-in-out infinite; }
.tw-bar { transform-box: fill-box; transform-origin: bottom; }
.tw-js .tw-reveal .tw-bar { transform: scaleY(0); transition: transform 1s var(--tw-ease); }
.tw-js .tw-reveal.is-in .tw-bar { transform: none; }
.tw-js .tw-reveal.is-in .tw-bar:nth-of-type(2) { transition-delay: .15s; }
.tw-js .tw-reveal.is-in .tw-bar:nth-of-type(3) { transition-delay: .3s; }

@keyframes tw-spin { to { transform: rotate(360deg); } }
@keyframes tw-look { 0%, 40%, 100% { transform: translateX(0); } 50%, 70% { transform: translateX(-14px); } 80%, 90% { transform: translateX(12px); } }
@keyframes tw-clap { 0%, 70%, 100% { transform: rotate(0); } 78% { transform: rotate(-9deg); } 86% { transform: rotate(0); } }
@keyframes tw-swing { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-8deg); } }
@keyframes tw-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.tw-js .tw-reveal, .tw-js .tw-reveal .tw-bar { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
	.tw-menu a { padding: 8px 10px; font-size: 14px; }
	.tw-header__tools .tw-btn { display: none; }
}

@media (max-width: 960px) {
	:root { --tw-header-h: 68px; }

	.tw-burger { display: block; }
	.tw-header__tools { margin-inline-start: auto; }
	.tw-header__tools > .tw-lang { display: none; }

	.tw-nav {
		position: fixed;
		inset: 0;
		z-index: -1;
		display: flex;
		flex-direction: column;
		justify-content: center;
		gap: 32px;
		padding: calc(var(--tw-header-h) + 20px) var(--tw-gutter) 40px;
		margin: 0;
		background: var(--tw-ink);
		background-image:
			linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
			linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
		background-size: 44px 44px;
		opacity: 0;
		visibility: hidden;
		transition: opacity .3s, visibility .3s;
	}
	.tw-nav.is-open { opacity: 1; visibility: visible; }
	.tw-menu { flex-direction: column; gap: 4px; }
	.tw-menu a { font-size: 30px; font-weight: 700; padding: 6px 0; opacity: 1; border-radius: 0; }
	.tw-menu a:hover, .tw-menu a.is-active { background: none; color: var(--tw-orange); }
	.tw-lang--mobile { display: inline-flex; align-self: flex-start; }
	.tw-lang--mobile a { font-size: 16px; padding: 6px 18px; }
	.nav-open { overflow: hidden; }

	.tw-hero__grid,
	.tw-split__grid,
	.tw-split--reverse .tw-split__grid,
	.tw-contact__grid { grid-template-columns: minmax(0, 1fr); }
	.tw-split--reverse .tw-split__text { order: 0; }
	.tw-hero__visual { order: -1; }
	.tw-illu--orbit { width: min(62vw, 340px); }
	.tw-split__visual .tw-illu { width: min(70vw, 300px); }
	.tw-chapters__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.tw-goals__grid { grid-template-columns: minmax(0, 1fr); }
	.tw-goals__visual { display: none; }
	.tw-hero__badge { display: none; }
}

@media (max-width: 600px) {
	body { font-size: 16px; }
	.tw-values__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.tw-values__grid li:last-child:nth-child(odd) { grid-column: 1 / -1; }
	.tw-card--paper { padding: 30px 14px 26px; gap: 16px; }
	.tw-card--paper .tw-ico { width: 52px; height: 52px; }
	.tw-card--paper strong { font-size: 15px; }
	.tw-brand__name { font-size: 16px; }
	.tw-actions .tw-btn { flex: 1 1 auto; justify-content: center; }
	.tw-watermark { font-size: 34vw; }
	.tw-hero > .tw-corners { display: none; }
	.tw-message__frame .tw-corners i { width: 36px; height: 36px; border-width: 3px; }
	.tw-footer__bar { flex-direction: column; align-items: flex-start; }
}

/* backdrop-filter would trap the fixed mobile panel inside the header bar. */
.nav-open .tw-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--tw-ink); transform: none; }

@media (max-width: 600px) {
	.tw-illu--orbit { width: min(52vw, 230px); }
	.tw-hero { padding-block-start: calc(var(--tw-header-h) + 24px); }
}
