/*
Theme Name: Duos-Via Animated
Theme URI: https://www.duos-via.com/
Author: DUOS-VIA
Description: One-page theme for DUOS-VIA – Global Trade, with a rotating globe hero, scroll reveals and hover animations.
Version: 1.0.1
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: duos-via-animated
*/

/* ==========================================================================
   Tokens – bold colour blocks, thick ink outlines, hard shadows
   ========================================================================== */
:root {
	--ink: #16202A;
	--paper: #F6F2EA;
	--blue: #1E3A5F;
	--navy: #12263F;
	--yellow: #E3B455;
	--pink: #E2A898;
	--body: #3B4651;
	--bd: 3px solid var(--ink);
	--sh: 8px 8px 0 var(--ink);
	--ease: cubic-bezier(.2, .8, .2, 1);
	--display: "Bricolage Grotesque", "Arial Black", Arial, sans-serif;
	--sans: "DM Sans", Arial, sans-serif;
	--hdr-h: 84px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--paper);
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p { margin: 0; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 4px; }

.wrap { max-width: 1280px; margin: 0 auto; padding-inline: clamp(20px, 5vw, 56px); }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; padding: 12px 18px; background: var(--yellow); color: var(--ink); font-weight: 700; }
.skip-link:focus { left: 12px; top: 12px; }

.eyebrow {
	display: inline-flex; align-items: center; width: max-content; max-width: 100%;
	padding: 9px 16px; border-radius: 999px;
	background: var(--ink); color: var(--paper);
	font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
}
.eyebrow.on-dark { background: var(--yellow); color: var(--ink); }

.h2 {
	font-family: var(--display); font-weight: 800;
	font-size: clamp(40px, 5.4vw, 84px); line-height: .98; letter-spacing: -.035em;
}
.h2 em, .closing h2 em {
	font-style: normal; padding: 0 .12em; margin-left: -.12em;
	background: var(--yellow); -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.lead { font-size: 19px; line-height: 1.65; color: var(--body); text-wrap: pretty; }

.section { padding-block: clamp(80px, 10vw, 140px); scroll-margin-top: var(--hdr-h); }
.section__inner { display: flex; flex-direction: column; gap: 64px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 32px 80px; }
.section-head__title { min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.section-head > .section-head__title { flex: 1 1 460px; }
.section-head .lead { flex: 1 1 380px; min-width: 0; }

/* ==========================================================================
   Keyframes
   ========================================================================== */
@keyframes rise { from { transform: translateY(110%); } to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes dropIn { from { opacity: 0; transform: translateY(-100%); } to { opacity: 1; transform: none; } }
@keyframes drawLine { from { stroke-dashoffset: 320; } to { stroke-dashoffset: 0; } }
@keyframes meridian { 0% { transform: scaleX(1); } 50% { transform: scaleX(-1); } 100% { transform: scaleX(1); } }
@keyframes orbit { to { stroke-dashoffset: -240; } }
@keyframes sat { 0% { offset-distance: 0%; opacity: .3; } 22% { opacity: .3; } 25% { opacity: 1; } 75% { opacity: 1; } 78% { opacity: .3; } 100% { offset-distance: 100%; opacity: .3; } }
@keyframes tagA { 0%, 35.3% { opacity: 0; } 37%, 92% { opacity: 1; } 98%, 100% { opacity: 0; } }
@keyframes tagB { 0%, 52% { opacity: 0; } 53.7%, 92% { opacity: 1; } 98%, 100% { opacity: 0; } }
@keyframes typeA1 { 0%, 35.3% { clip-path: inset(0 100% 0 0); animation-timing-function: steps(13, end); } 40%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes typeA2 { 0%, 40% { clip-path: inset(0 100% 0 0); animation-timing-function: steps(20, end); } 46%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes typeB1 { 0%, 52% { clip-path: inset(0 100% 0 0); animation-timing-function: steps(8, end); } 55.5%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes typeB2 { 0%, 55.5% { clip-path: inset(0 100% 0 0); animation-timing-function: steps(16, end); } 61%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes hitA { 0%, 34% { transform: scale(1); } 35.6% { transform: scale(2.1); } 40%, 100% { transform: scale(1); } }
@keyframes hitB { 0%, 50.7% { transform: scale(1); } 52.3% { transform: scale(2.1); } 57%, 100% { transform: scale(1); } }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3.4); opacity: 0; } }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-6%, 5%) scale(1.15); } 100% { transform: translate(4%, -4%) scale(.95); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes nudge { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(4px, -4px); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@keyframes sway { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }
@keyframes meetL { 0%, 100% { transform: translateX(-3px); } 50% { transform: translateX(3px); } }
@keyframes meetR { 0%, 100% { transform: translateX(3px); } 50% { transform: translateX(-3px); } }
@keyframes needle { 0%, 100% { transform: rotate(-28deg); } 50% { transform: rotate(32deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ripple { 0% { transform: scale(.35); opacity: .55; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes march { to { stroke-dashoffset: -28; } }
@keyframes rvUp { from { opacity: 0; transform: translateY(56px); } to { opacity: 1; transform: none; } }
@keyframes rvLeft { from { opacity: 0; transform: translateX(-64px); } to { opacity: 1; transform: none; } }
@keyframes rvScale { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }
@keyframes rvClip { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes parallax { to { transform: translateY(140px); } }

@keyframes wobble { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }

/* ==========================================================================
   Scroll reveals (classes are switched on by assets/js/main.js)
   Content stays visible when JavaScript is off.
   ========================================================================== */
.js .rv, .js .rv-l, .js .rv-s { opacity: 0; }
.js .rv.is-in { opacity: 1; animation: rvUp .9s var(--ease) var(--d, 0s) backwards; }
.js .rv-l.is-in { opacity: 1; animation: rvLeft 1s var(--ease) var(--d, 0s) backwards; }
.js .rv-s.is-in { opacity: 1; animation: rvScale 1s var(--ease) var(--d, 0s) backwards; }
.js .rv-c { clip-path: inset(100% 0 0 0); }
.js .rv-c.is-in { clip-path: none; animation: rvClip 1.2s var(--ease) var(--d, 0s) backwards; }
.js .rule { transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease); }
.js .rule.is-in { transform: none; }
.d2 { --d: .15s; }
.d3 { --d: .3s; }

/* Scroll progress bar + hero parallax (modern browsers only) */
.scroll-bar { position: fixed; top: 0; left: 0; right: 0; height: 6px; z-index: 60; background: var(--pink); transform: scaleX(0); transform-origin: left; }
@supports (animation-timeline: scroll()) {
	@media (prefers-reduced-motion: no-preference) {
		.scroll-bar { animation: progress linear both; animation-timeline: scroll(root); }
		.plx { animation: parallax linear both; animation-timeline: scroll(root); animation-range: 0 900px; }
	}
}

/* ==========================================================================
   Header
   ========================================================================== */
.hdr { position: sticky; top: 0; z-index: 50; background: var(--ink); color: #fff; animation: dropIn .8s var(--ease) both; }
.admin-bar .hdr { top: 32px; }
@media (max-width: 782px) {
	.admin-bar .hdr { top: 46px; }
}
.hdr__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--hdr-h); }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand img { height: 52px; width: auto; }
.brand__name { font-family: var(--display); font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav a { position: relative; padding: 12px 2px; color: #fff; font-size: 15px; font-weight: 700; }
.nav a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 4px; background: var(--yellow);
	transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav a:hover { color: var(--yellow); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.hdr__actions { display: flex; align-items: center; gap: 12px; }
.menu-btn {
	display: none; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px;
	border-radius: 999px; border: 0; background: var(--yellow);
	color: var(--ink); font: 700 15px var(--sans); cursor: pointer;
}
.mobile-nav { display: none; flex-direction: column; padding: 8px 20px 24px; border-top: 2px solid rgba(255, 255, 255, .2); }
.mobile-nav a { padding: 12px 0; font-family: var(--display); font-size: 30px; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.mobile-nav a:last-child { color: var(--yellow); }
.hdr.is-open .mobile-nav { display: flex; animation: fadeUp .4s both; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; gap: 10px;
	border-radius: 999px; border: var(--bd); background: var(--yellow); color: var(--ink); font-weight: 700;
	box-shadow: 5px 5px 0 var(--ink);
	transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
}
.btn:hover { transform: translate(-4px, -4px); box-shadow: 9px 9px 0 var(--ink); background: var(--pink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
.btn .arw { transition: transform .4s var(--ease); }
.btn:hover .arw { transform: translate(3px, -3px) rotate(45deg); }
.btn--ghost { min-height: 46px; padding: 0 22px; font-size: 15px; border-color: var(--yellow); box-shadow: none; }
.btn--ghost:hover { box-shadow: 5px 5px 0 var(--yellow); border-color: var(--pink); }
.btn--primary { gap: 28px; min-height: 68px; padding: 0 32px; font-size: 17px; }
.btn--primary .arw { font-size: 22px; }

/* ==========================================================================
   Hero – cobalt block
   ========================================================================== */
.hero { position: relative; overflow: hidden; background: var(--blue); color: #fff; }
.aurora { position: absolute; }
.aurora--1 { width: 640px; height: 640px; right: -160px; top: -120px; border-radius: 50%; background: #284B78; animation: drift 16s ease-in-out infinite alternate; }
.aurora--2 { width: 300px; height: 300px; left: -150px; bottom: -150px; border-radius: 50%; background: var(--pink); border: var(--bd); animation: drift 20s ease-in-out infinite alternate; }
.aurora--3 {
	width: 92px; height: 92px; left: 46%; top: 9%; background: var(--yellow);
	clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
	animation: spin 12s linear infinite;
}
.hero__inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 48px 40px; min-height: 780px; padding-block: 72px 96px; }
.hero__copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
.hero__eyebrow { animation: fadeUp .9s .1s var(--ease) both; }
.hero h1 { font-family: var(--display); font-size: clamp(58px, 8.8vw, 140px); line-height: .9; font-weight: 800; letter-spacing: -.045em; }
.ln-w { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.ln-i { display: block; animation: rise 1s var(--ease) both; }
.l1 { animation-delay: .15s; } .l2 { animation-delay: .3s; } .l3 { animation-delay: .45s; }
.hero__accent { position: relative; width: max-content; max-width: 100%; color: var(--yellow); }
.hero__accent svg { position: absolute; left: 0; bottom: 0; width: 100%; height: .14em; overflow: visible; }
.squig { fill: none; stroke: var(--pink); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 320; animation: drawLine 1.1s 1.2s cubic-bezier(.6, 0, .2, 1) both; }
.hero__lead { max-width: 540px; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; font-weight: 500; color: #fff; text-wrap: pretty; animation: fadeUp .9s .75s var(--ease) both; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; animation: fadeUp .9s .95s var(--ease) both; }
.hero__more { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #fff; }
.hero__more:hover { color: var(--yellow); }
.bob { display: inline-block; animation: bob 1.8s ease-in-out infinite; }
.nudge { display: inline-block; animation: nudge 1.8s ease-in-out infinite; }

/* Globe */
.hero__visual { flex: 1 1 380px; min-width: 0; display: flex; justify-content: center; animation: fadeIn 1.4s .5s both; }
.globe { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1 / 1; }
.globe__sphere { position: absolute; inset: 12.5%; border-radius: 50%; overflow: hidden; background: var(--navy); border: var(--bd); box-shadow: 12px 12px 0 var(--ink); }
.globe__sphere svg { width: 100%; height: 100%; transform: rotate(-16deg); }
.globe__overlay { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.gl { fill: none; stroke: rgba(255, 255, 255, .5); stroke-width: 1.2; }
.mer { transform-box: fill-box; transform-origin: center; animation: meridian 14s cubic-bezier(.37, 0, .63, 1) infinite; }
.mer:nth-of-type(7) { animation-delay: -1.17s; }
.mer:nth-of-type(8) { animation-delay: -2.33s; }
.mer:nth-of-type(9) { animation-delay: -3.5s; }
.mer:nth-of-type(10) { animation-delay: -4.67s; }
.mer:nth-of-type(11) { animation-delay: -5.83s; }
.orb { fill: none; stroke: #fff; stroke-width: 2; stroke-dasharray: 6 10; opacity: .8; animation: orbit 18s linear infinite; }
.sat { fill: var(--yellow); stroke: var(--ink); stroke-width: 2.5; offset-path: path('M148.79 172.77 A185 58 -62 0 1 251.21 227.23 A185 58 -62 0 1 148.79 172.77'); offset-rotate: 0deg; animation: sat 12s linear infinite; }
.dot { fill: var(--pink); stroke: var(--ink); stroke-width: 2.5; transform-box: fill-box; transform-origin: center; }
.dot--a { animation: hitA 12s linear infinite; }
.dot--b { animation: hitB 12s linear infinite; }
.ring { fill: none; stroke: var(--yellow); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: pulse 2.6s ease-out infinite; }
.ring--b { animation-delay: 1.3s; }
.tag { position: absolute; padding: 12px 16px; border-radius: 14px; white-space: nowrap; background: #fff; color: var(--ink); border: var(--bd); box-shadow: 5px 5px 0 var(--ink); }
.tag strong { display: block; width: max-content; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); }
.tag span { display: block; width: max-content; margin-top: 4px; font-family: var(--display); font-size: 17px; font-weight: 800; }
.tag--a { left: 73.75%; top: 29%; transform: translate(-55%, calc(-100% - 18px)); animation: tagA 12s linear infinite; }
.tag--b { left: 60.75%; top: 60.25%; transform: translate(-50%, 18px); animation: tagB 12s linear infinite; }
.tag--a strong { animation: typeA1 12s linear infinite; }
.tag--a span { animation: typeA2 12s linear infinite; }
.tag--b strong { animation: typeB1 12s linear infinite; }
.tag--b span { animation: typeB2 12s linear infinite; }

/* Marquee – yellow band */
.marquee { position: relative; overflow: hidden; background: var(--yellow); color: var(--ink); border-block: var(--bd); padding-block: 22px; }
.marquee__track { display: flex; width: max-content; font-family: var(--display); font-size: 30px; font-weight: 800; letter-spacing: -.02em; text-transform: uppercase; white-space: nowrap; animation: marquee 30s linear infinite; }
.marquee__track:hover { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 40px; padding-right: 40px; }
.marquee__group i { font-style: normal; color: var(--blue); }

/* ==========================================================================
   Our approach – coloured cards
   ========================================================================== */
.rule { height: 3px; background: var(--ink); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 28px; }
.card {
	display: flex; flex-direction: column; gap: 18px; padding: 32px 30px 38px;
	border-radius: 26px; border: var(--bd); background: var(--yellow); box-shadow: var(--sh);
	transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card--2 { background: var(--pink); }
.card--3 { background: var(--blue); color: #fff; }
html .card:hover { transform: translate(-8px, -8px) rotate(-1.2deg); box-shadow: 16px 16px 0 var(--ink); }
.card__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.card__num { padding: 7px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.card h3 { margin-top: 36px; font-family: var(--display); font-size: 38px; line-height: 1; font-weight: 800; letter-spacing: -.03em; }
.card p { font-size: 17px; line-height: 1.6; font-weight: 500; }
.ico { width: 56px; height: 56px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sway { transform-box: fill-box; transform-origin: 20% 90%; animation: sway 4s ease-in-out infinite; }
.meetL { animation: meetL 3s ease-in-out infinite; }
.meetR { animation: meetR 3s ease-in-out infinite; }
.needle { transform-box: fill-box; transform-origin: center; animation: needle 5s ease-in-out infinite; fill: var(--yellow); stroke: none; }

/* ==========================================================================
   Partners – pink block
   ========================================================================== */
.partners { background: var(--pink); border-block: var(--bd); }
.partners .lead { color: var(--ink); font-weight: 500; }
.partner-list { display: flex; flex-direction: column; border-bottom: var(--bd); }
.prow {
	position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px;
	padding: 34px clamp(12px, 2.5vw, 36px); border-top: var(--bd); color: var(--ink);
	transition: color .4s, padding .5s var(--ease);
}
.prow::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.prow > * { position: relative; }
.prow:hover, .prow:focus-visible { color: var(--yellow); padding-left: clamp(24px, 4.5vw, 68px); }
.prow:hover::before, .prow:focus-visible::before { transform: scaleX(1); }
.prow__idx { flex: 0 0 56px; font-family: var(--display); font-size: 20px; font-weight: 800; }
.prow__name { flex: 1 1 320px; min-width: 0; font-family: var(--display); font-size: clamp(38px, 5.4vw, 84px); line-height: .95; font-weight: 800; letter-spacing: -.04em; }
.prow__kind { flex: 1 1 200px; font-size: 17px; font-weight: 500; transition: color .4s; }
.prow:hover .prow__kind { color: #fff; }
.prow__go { display: inline-flex; align-items: center; gap: 18px; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.prow__arw {
	display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px;
	border-radius: 50%; border: var(--bd); background: var(--yellow); color: var(--ink); font-size: 22px;
	transition: transform .5s var(--ease), background .4s, border-color .4s;
}
.prow:hover .prow__arw { transform: rotate(45deg) scale(1.15); border-color: var(--yellow); }

/* ==========================================================================
   Team
   ========================================================================== */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 56px 44px; }
.person { display: flex; flex-direction: column; gap: 12px; }
.person__media { position: relative; margin: 0 8px 22px 0; }
.halo { position: absolute; right: -22px; top: -22px; z-index: 1; width: 96px; height: 96px; opacity: 0; transition: opacity .4s; animation: spin 10s linear infinite; }
.halo circle { fill: var(--pink); stroke: var(--ink); stroke-width: 3; stroke-dasharray: 10 8; }
.person:hover .halo { opacity: 1; }
.portrait { position: relative; aspect-ratio: 5 / 6; border-radius: 999px 999px 24px 24px; overflow: hidden; background: var(--yellow); border: var(--bd); box-shadow: var(--sh); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.person--2 .portrait { background: var(--blue); }
.person--3 .portrait { background: var(--pink); }
.person:hover .portrait { transform: translate(-6px, -6px); box-shadow: 14px 14px 0 var(--ink); }
.portrait__initials { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 120px; font-weight: 800; letter-spacing: -.05em; color: var(--ink); }
.person--2 .portrait__initials { color: #fff; }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.person:hover .portrait img { transform: scale(1.08); }
.person h3 { font-family: var(--display); font-size: 34px; line-height: 1; font-weight: 800; letter-spacing: -.03em; }
.person__role { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); }
.person p { margin-top: 6px; font-size: 17px; line-height: 1.6; color: var(--body); }

/* ==========================================================================
   Contact – yellow block
   ========================================================================== */
.closing { position: relative; overflow: hidden; background: var(--yellow); color: var(--ink); border-top: var(--bd); }
.closing__inner { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 40px; }
.closing .eyebrow.on-dark { background: var(--ink); color: var(--paper); }
.ripples { position: absolute; right: -180px; top: 50%; width: 760px; height: 760px; margin-top: -380px; }
.rip { position: absolute; inset: 0; border: 3px solid var(--ink); border-radius: 50%; animation: ripple 6s linear infinite; }
.rip:nth-child(2) { animation-delay: 2s; }
.rip:nth-child(3) { animation-delay: 4s; }
.closing h2 { font-family: var(--display); font-size: clamp(50px, 7.6vw, 124px); line-height: .92; font-weight: 800; letter-spacing: -.045em; }
.closing h2 em { background: var(--pink); }
.closing .lead { max-width: 540px; color: var(--ink); font-weight: 500; }
.mail {
	display: inline-flex; align-items: center; gap: 18px; max-width: 100%; min-height: 76px; padding: 0 34px;
	border-radius: 999px; border: var(--bd); background: var(--ink); color: #fff; box-shadow: 8px 8px 0 var(--blue);
	font-family: var(--display); font-size: clamp(20px, 3vw, 40px); font-weight: 800; letter-spacing: -.02em;
	transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
}
.mail:hover { transform: translate(-5px, -5px); box-shadow: 14px 14px 0 var(--pink); background: var(--blue); }
.mail .nudge { color: var(--yellow); }
.places { align-self: stretch; display: flex; flex-wrap: wrap; align-items: center; gap: 28px 32px; margin-top: 28px; padding-top: 40px; border-top: var(--bd); }
.places address { display: flex; flex-direction: column; gap: 6px; }
.places strong { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.places span { font-family: var(--display); font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.places__line { flex: 1 1 160px; min-width: 80px; height: 12px; }
.dash { stroke: var(--ink); stroke-width: 3; stroke-dasharray: 6 8; animation: march 1.2s linear infinite; }

/* ==========================================================================
   Footer
   ========================================================================== */
.ftr { background: var(--ink); color: var(--paper); }
.ftr__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; min-height: 88px; padding-block: 20px; font-size: 14px; }
.ftr__tag { font-family: var(--display); font-size: 18px; font-weight: 800; color: var(--yellow); }
.ftr__top { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; color: #fff; }
.ftr__top:hover { color: var(--yellow); }
.ftr__top:hover .bob { animation-duration: .6s; }

/* ==========================================================================
   Responsive + reduced motion
   ========================================================================== */
@media (max-width: 860px) {
	.nav, .hdr .btn--ghost, .places__line, .aurora--3 { display: none; }
	.menu-btn { display: inline-flex; }
	.hero__inner { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
	/* Animations keep playing; only scroll-linked motion and smooth scrolling are switched off. */
	html { scroll-behavior: auto; }
}
