/* ==========================================================================
   Mainspring India — main stylesheet
   Navy + gold editorial system with a clockwork / mainspring motif.
   ========================================================================== */

/* ---------- Fonts (self-hosted, SIL Open Font License — see assets/fonts) ---------- */
@font-face { font-family: "Fraunces"; src: url("../fonts/Fraunces.woff2") format("woff2"); font-weight: 300 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/Fraunces-Italic.woff2") format("woff2"); font-weight: 300 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/Manrope.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }

:root {
	--ink: #0A1630;
	--navy-900: #0E1F40;
	--navy: #142E59;
	--navy-700: #1D3D73;
	--gold: #C5983F;
	--gold-l: #E0BE78;
	--gold-d: #7E5B1C;
	--ivory: #F6F3EC;
	--paper: #ECE6DA;
	--white: #FFFFFF;
	--silver: #B9C0CC;

	--text-d: #EEF1F6;
	--muted-d: #A9B4C9;
	--text-l: #0E1F40;
	--muted-l: #4A5672;
	--line-d: rgba(197, 152, 63, 0.24);
	--line-d2: rgba(238, 241, 246, 0.12);
	--line-l: rgba(14, 31, 64, 0.14);

	--f-display: "Fraunces", "Times New Roman", serif;
	--f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

	--wrap: 1320px;
	--gutter: clamp(20px, 5vw, 72px);
	--section: clamp(88px, 11vw, 168px);
	--radius: 22px;
	--arch: 999px 999px 22px 22px;

	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--ease-io: cubic-bezier(0.76, 0, 0.24, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
	margin: 0;
	background: var(--ink);
	color: var(--text-d);
	font-family: var(--f-body);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
body.is-locked { overflow: hidden; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, blockquote, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em { font-style: italic; }
::selection { background: var(--gold); color: var(--ink); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.site-main:focus { outline: none; }

.skip-link {
	position: fixed; left: 16px; top: -60px; z-index: 1000;
	background: var(--gold); color: var(--ink); padding: 12px 18px; border-radius: 999px; font-weight: 700;
	transition: top .2s;
}
.skip-link:focus { top: 16px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(820px + var(--gutter) * 2); }

.icon { width: 20px; height: 20px; flex: none; }

/* ---------- Type ---------- */
.eyebrow {
	display: inline-block;
	font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
	color: var(--gold);
}
.eyebrow--muted { color: var(--muted-d); }
.eyebrow--ink { color: var(--muted-l); }
.eyebrow--dark { color: var(--ink); }

.section-index {
	display: flex; align-items: center; gap: 14px;
	font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
	color: var(--muted-d); margin-bottom: 28px;
}
.section-index span { color: var(--gold); }
.section-index::before { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .6; }
[data-theme="light"] .section-index { color: var(--muted-l); }
[data-theme="light"] .section-index span { color: var(--gold-d); }

.h2, .h3, .hero__title, .page-hero__title, .cta-band__title, .founder__quote {
	font-family: var(--f-display);
	font-weight: 300;
	font-variation-settings: "opsz" 72;
	letter-spacing: -0.018em;
	line-height: 1.02;
}
.h2 { font-size: clamp(40px, 5.4vw, 84px); }
.h3 { font-size: clamp(32px, 3.6vw, 54px); }
.h2 em, .h3 em, .hero__title em, .page-hero__title em, .cta-band__title em, .founder__quote em {
	font-style: italic; color: var(--gold);
}
[data-theme="light"] .h2 em, [data-theme="light"] .h3 em, [data-theme="light"] .founder__quote em { color: var(--gold-d); }

.section-head { margin-bottom: clamp(48px, 6vw, 88px); max-width: 900px; }
.section-head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 48px; max-width: none; }

/* ---------- Themes per section ---------- */
[data-theme="light"] { background: var(--ivory); color: var(--text-l); }
[data-theme="dark"] { background: var(--ink); color: var(--text-d); }
[data-theme="gold"] { background: var(--gold); color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
	position: relative; isolation: isolate; overflow: hidden;
	display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	min-height: 54px; padding: 0 28px;
	border-radius: 999px; border: 1px solid transparent;
	font-weight: 700; font-size: 15px; letter-spacing: 0.01em;
	cursor: pointer; white-space: nowrap;
	transition: color .45s var(--ease), border-color .45s var(--ease), transform .5s var(--ease);
	will-change: transform;
}
.btn::before {
	content: ""; position: absolute; inset: -1px; z-index: -1;
	border-radius: inherit; transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn .icon { transition: transform .45s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 14px; }
.btn--block { width: 100%; }

.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold::before { background: var(--ivory); }
.btn--line { border-color: rgba(238, 241, 246, .35); color: var(--text-d); }
.btn--line::before { background: var(--gold); }
.btn--line:hover { color: var(--ink); border-color: var(--gold); }
.btn--ink { background: var(--ink); color: var(--ivory); }
.btn--ink::before { background: var(--navy-700); }
.btn--line-dark { border-color: rgba(10, 22, 48, .45); color: var(--ink); }
.btn--line-dark::before { background: var(--ink); }
.btn--line-dark:hover { color: var(--ivory); }
[data-theme="light"] .btn--line { border-color: rgba(14, 31, 64, .35); color: var(--text-l); }

.link-arrow {
	display: inline-flex; align-items: center; gap: 12px;
	font-weight: 700; padding-bottom: 6px;
	background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
	transition: background-size .5s var(--ease), color .3s;
}
.link-arrow:hover { background-size: 0 1px; background-position: right bottom; color: var(--gold-d); }
.link-arrow--light:hover { color: var(--gold); }
.link-arrow .icon { transition: transform .4s var(--ease); }
.link-arrow:hover .icon { transform: translateX(5px); }

/* ---------- Dial motif ---------- */
.dial { width: 100%; height: auto; color: var(--gold); overflow: visible; }
.dial--spin .dial__ticks { transform-origin: 200px 200px; animation: ms-spin 120s linear infinite; }
.dial--spin .dial__spring { transform-origin: 200px 200px; animation: ms-spin-rev 60s linear infinite; }
@keyframes ms-spin { to { transform: rotate(360deg); } }
@keyframes ms-spin-rev { to { transform: rotate(-360deg); } }

/* ---------- Preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 900; display: grid; place-items: center; pointer-events: none; }
.preloader__panel { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--ink); transition: transform 1s var(--ease-io); }
.preloader__panel--top { top: 0; }
.preloader__panel--bottom { bottom: 0; }
.preloader__inner { position: relative; z-index: 2; display: grid; justify-items: center; gap: 28px; transition: opacity .5s, transform .8s var(--ease); }
.preloader__dial { width: min(220px, 50vw); }
.preloader__dial .dial__ticks line { stroke-dasharray: 30; stroke-dashoffset: 30; animation: ms-draw .9s var(--ease) forwards; }
.preloader__dial .dial__spring { stroke-dasharray: 2600; stroke-dashoffset: 2600; animation: ms-draw 1.6s .2s var(--ease) forwards; }
.preloader__word { font-family: var(--f-display); font-weight: 300; font-size: clamp(20px, 2.6vw, 30px); color: var(--text-d); display: flex; gap: .4em; }
.preloader__word span { opacity: 0; transform: translateY(16px); animation: ms-up .7s var(--ease) forwards; }
.preloader__word span:nth-child(2) { animation-delay: .25s; font-style: italic; color: var(--gold); }
.preloader__word span:nth-child(3) { animation-delay: .5s; }
@keyframes ms-draw { to { stroke-dashoffset: 0; } }
@keyframes ms-up { to { opacity: 1; transform: none; } }
.preloader.is-done .preloader__inner { opacity: 0; transform: scale(.96); }
.preloader.is-done .preloader__panel--top { transform: translateY(-100%); }
.preloader.is-done .preloader__panel--bottom { transform: translateY(100%); }
.no-js .preloader, .preloader.is-gone { display: none !important; }

/* ---------- Page-transition curtain ---------- */
.curtain {
	position: fixed; inset: 0; z-index: 800; background: var(--navy);
	display: grid; place-items: center; pointer-events: none;
	transform: translateY(100%); visibility: hidden;
}
.curtain.is-in, .curtain.is-leaving { visibility: visible; }
.curtain__mark { width: 110px; opacity: 0; transition: opacity .3s; }
.curtain.is-in { transform: translateY(0); transition: transform .6s var(--ease-io); pointer-events: all; }
.curtain.is-in .curtain__mark { opacity: 1; transition-delay: .3s; }
.curtain.is-in .dial__ticks { transform-origin: 200px 200px; animation: ms-spin 3s linear infinite; }
.curtain.is-leaving { transform: translateY(0); animation: ms-curtain-out .8s var(--ease-io) forwards; }
@keyframes ms-curtain-out { to { transform: translateY(-100%); } }

/* ---------- Cursor ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
	.has-cursor .cursor {
		display: grid; place-items: center;
		position: fixed; left: 0; top: 0; z-index: 950; pointer-events: none;
		width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
		border: 1px solid var(--gold); background: transparent;
		transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, opacity .3s;
		opacity: 0;
	}
	.has-cursor .cursor.is-visible { opacity: 1; }
	.has-cursor .cursor.is-link { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: rgba(197, 152, 63, .14); }
	.has-cursor .cursor.is-label { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--gold); border-color: var(--gold); }
	.cursor__label { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .2s; }
	.cursor.is-label .cursor__label { opacity: 1; }
}

/* ---------- Header ---------- */
.site-header {
	position: fixed; inset: 0 0 auto; z-index: 500;
	transition: transform .6s var(--ease), background .4s, backdrop-filter .4s, border-color .4s;
	border-bottom: 1px solid transparent;
}
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 92px; transition: height .4s var(--ease); }
.site-header.is-scrolled { background: rgba(10, 22, 48, .82); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-color: var(--line-d2); }
.site-header.is-scrolled .site-header__bar { height: 74px; }
.site-header.is-hidden { transform: translateY(-100%); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

.brand { display: inline-flex; align-items: center; gap: 14px; color: var(--text-d); flex: none; }
.brand__emblem {
	width: 48px; height: 48px; border-radius: 50%; flex: none;
	background-color: #FFFFFF; background-repeat: no-repeat;
	background-size: 108px auto; background-position: -27px -3px;
	box-shadow: 0 0 0 1px rgba(197, 152, 63, .5);
}
.brand__emblem--lg { width: 116px; height: 116px; background-size: 262px auto; background-position: -66px -7px; }
.brand__custom { max-height: 54px; width: auto; }
.brand__word { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--f-display); font-weight: 400; font-size: 22px; letter-spacing: 0.02em; text-transform: uppercase; }
.brand__country { font-size: 11px; font-weight: 700; letter-spacing: .42em; text-transform: uppercase; color: var(--gold); margin-top: 6px; }

.site-nav__list { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 36px); }
.site-nav__list a { position: relative; display: inline-flex; align-items: baseline; gap: 6px; padding: 10px 0; font-size: 14px; font-weight: 600; color: var(--text-d); }
.site-nav__list .menu-num { font-size: 10px; color: var(--gold); opacity: .8; font-weight: 700; }
.site-nav__list a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--gold);
	transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.site-nav__list a:hover::after, .site-nav__list .current-menu-item a::after { transform: scaleX(1); transform-origin: left; }
.site-nav__list .current-menu-item a { color: var(--gold-l); }

.site-header__actions { display: flex; align-items: center; gap: 14px; }

.menu-toggle {
	display: none; align-items: center; gap: 12px; min-height: 44px; padding: 0 16px 0 14px;
	border: 1px solid rgba(238, 241, 246, .3); border-radius: 999px; background: transparent; cursor: pointer;
	font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.menu-toggle__lines { position: relative; width: 20px; height: 10px; }
.menu-toggle__lines span { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-toggle__lines span:first-child { top: 0; }
.menu-toggle__lines span:last-child { top: 8px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:first-child { top: 4px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:last-child { top: 4px; transform: rotate(-45deg); }

@media (max-width: 1100px) {
	.site-nav { display: none; }
	.menu-toggle { display: inline-flex; }
}
@media (max-width: 560px) {
	.site-header__cta { display: none; }
	.brand__name { font-size: 19px; }
	.brand__emblem { width: 42px; height: 42px; background-size: 94px auto; background-position: -23px -2px; }
}

/* ---------- Overlay menu ---------- */
.menu-overlay {
	position: fixed; inset: 0; z-index: 450; background: var(--navy-900);
	display: flex; align-items: center; overflow-y: auto;
	padding: 120px 0 48px;
	clip-path: circle(0% at calc(100% - 60px) 46px);
	transition: clip-path .8s var(--ease-io);
}
.menu-overlay[hidden] { display: flex; visibility: hidden; }
.menu-overlay.is-open { clip-path: circle(150% at calc(100% - 60px) 46px); visibility: visible; }
.menu-overlay__dial { position: absolute; right: -18vw; bottom: -22vw; width: 70vw; max-width: 900px; opacity: .14; pointer-events: none; }
.menu-overlay__inner { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 48px; align-items: end; }
.menu-overlay__list li { overflow: hidden; border-bottom: 1px solid var(--line-d2); }
.menu-overlay__list a {
	display: flex; align-items: baseline; gap: 18px; padding: 12px 0;
	font-family: var(--f-display); font-weight: 300; font-size: clamp(36px, 6vw, 72px); line-height: 1.05; letter-spacing: -0.02em;
	transform: translateY(110%); transition: transform .8s var(--ease), color .3s;
}
.menu-overlay__list .menu-num { font-family: var(--f-body); font-size: 13px; font-weight: 700; color: var(--gold); letter-spacing: .1em; }
.menu-overlay__list a:hover, .menu-overlay__list .current-menu-item a { color: var(--gold-l); font-style: italic; }
.menu-overlay.is-open .menu-overlay__list a { transform: none; }
.menu-overlay.is-open .menu-overlay__list li:nth-child(1) a { transition-delay: .25s; }
.menu-overlay.is-open .menu-overlay__list li:nth-child(2) a { transition-delay: .3s; }
.menu-overlay.is-open .menu-overlay__list li:nth-child(3) a { transition-delay: .35s; }
.menu-overlay.is-open .menu-overlay__list li:nth-child(4) a { transition-delay: .4s; }
.menu-overlay.is-open .menu-overlay__list li:nth-child(5) a { transition-delay: .45s; }
.menu-overlay.is-open .menu-overlay__list li:nth-child(6) a { transition-delay: .5s; }
.menu-overlay.is-open .menu-overlay__list li:nth-child(7) a { transition-delay: .55s; }
.menu-overlay__aside { display: grid; gap: 14px; justify-items: start; }
.menu-overlay__mail { font-family: var(--f-display); font-size: clamp(22px, 2.4vw, 32px); }
.menu-overlay__mail:hover, .menu-overlay__phone:hover { color: var(--gold); }
.menu-overlay__phone { font-size: 18px; color: var(--muted-d); }

/* ---------- Social ---------- */
.social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.social a {
	display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
	border: 1px solid currentColor; opacity: .75;
	transition: background .35s, color .35s, border-color .35s, opacity .35s, transform .45s var(--ease);
}
.social a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); opacity: 1; transform: translateY(-3px); }
.social .icon { width: 18px; height: 18px; }

/* ---------- Reveal & split ---------- */
.js [data-reveal]:not([data-reveal="clip"]) { opacity: 0; transform: translateY(42px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].is-in:not([data-reveal="clip"]) { opacity: 1; transform: none; }
.js [data-reveal="clip"] { clip-path: inset(100% 0 0 0 round 22px); transition: clip-path 1.4s var(--ease-io); }
.js [data-reveal="clip"].is-in { clip-path: inset(-25% -25% -25% -25% round 0); }
.js [data-reveal="clip"] img { transform: scale(1.25); transition: transform 1.8s var(--ease); }
.js [data-reveal="clip"].is-in img { transform: scale(1.12); }

.sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.sw__i { display: inline-block; transform: translateY(110%) rotate(4deg); transform-origin: left bottom; transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 45ms + 80ms); }
.is-in .sw__i { transform: none; }

/* Scroll-scrubbed paragraph */
.scrub-text { font-family: var(--f-display); font-weight: 300; font-size: clamp(26px, 3.1vw, 46px); line-height: 1.22; letter-spacing: -0.015em; }
.js .scrub-text .scw { opacity: .16; transition: opacity .25s linear; }
.js .scrub-text .scw.is-lit { opacity: 1; }

/* ---------- Ruler (escapement ticks) ---------- */
.ruler {
	position: absolute; left: 0; right: 0; bottom: 0; height: 18px;
	background: repeating-linear-gradient(90deg, var(--line-d) 0 1px, transparent 1px 12px),
	            repeating-linear-gradient(90deg, rgba(197,152,63,.55) 0 1px, transparent 1px 120px);
	background-size: 100% 10px, 100% 18px; background-repeat: repeat-x; background-position: bottom;
	animation: ms-ruler 30s linear infinite;
}
@keyframes ms-ruler { to { background-position: 240px bottom, 240px bottom; } }

/* ==========================================================================
   HERO (front page)
   ========================================================================== */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 140px 0 40px; overflow: hidden; }
.hero__dial { position: absolute; width: min(1100px, 120vw); right: -22%; top: 50%; transform: translateY(-50%); opacity: .13; pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.hero__meta { display: flex; align-items: center; gap: 14px; margin-bottom: 32px; }
.hero__sep { width: 32px; height: 1px; background: var(--line-d); }
.hero__title { font-size: clamp(48px, 6.6vw, 108px); }
.hero__lead { max-width: 540px; margin-top: 32px; font-size: 18px; color: var(--muted-d); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.hero__stage { position: relative; aspect-ratio: 4 / 5; max-height: 72vh; width: 100%; justify-self: end; max-width: 520px; }
.hero__slides { position: absolute; inset: 0; border-radius: var(--arch); overflow: hidden; background: var(--navy); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.hero__slides::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(197,152,63,.35); pointer-events: none; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.hero__slide.is-active { opacity: 1; }
.hero__slide.is-active img { animation: ms-kenburns 7s linear forwards; }
@keyframes ms-kenburns { from { transform: scale(1.18) translate3d(1%, 1%, 0); } to { transform: scale(1.04) translate3d(0, 0, 0); } }
.hero__count { position: absolute; right: -8px; bottom: 28px; transform: translateX(100%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; color: var(--muted-d); letter-spacing: .1em; }
.hero__count span:first-child { color: var(--gold); }
.hero__count-bar { width: 1px; height: 90px; background: var(--line-d2); position: relative; overflow: hidden; }
.hero__count-bar i { position: absolute; inset: 0; background: var(--gold); transform-origin: top; transform: scaleY(0); }
.hero__count-bar i.is-run { animation: ms-bar 5.5s linear forwards; }
@keyframes ms-bar { to { transform: scaleY(1); } }
.hero__badge { position: absolute; left: -46px; bottom: 40px; width: 120px; height: 120px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; }
.hero__badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: ms-spin 18s linear infinite; }
.hero__badge text { font-size: 10.4px; font-weight: 800; letter-spacing: .22em; fill: var(--ink); font-family: var(--f-body); }
.hero__badge > span { position: relative; z-index: 1; display: grid; }
.hero__badge .icon { width: 26px; height: 26px; }
.hero__foot { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-d2); }
.hero__scroll { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-d); }
.hero__scroll i { position: relative; width: 1px; height: 36px; background: var(--line-d2); overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--gold); animation: ms-drip 2.2s var(--ease-io) infinite; }
@keyframes ms-drip { to { top: 100%; } }
.hero__tags { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; color: var(--muted-d); font-weight: 600; }
.hero__tags li { display: inline-flex; align-items: center; gap: 22px; }
.hero__tags li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); margin-left: -12px; margin-right: -10px; }

@media (max-width: 900px) {
	.hero { padding-top: 120px; }
	.hero__grid { grid-template-columns: 1fr; }
	.hero__stage { justify-self: center; max-width: 440px; aspect-ratio: 4 / 4.6; }
	.hero__count { display: none; }
	.hero__badge { left: -10px; bottom: -20px; width: 100px; height: 100px; }
	.hero__tags { display: none; }
}

/* ---------- Logo marquee ---------- */
.logos { background: var(--paper); color: var(--text-l); padding: 40px 0 44px; overflow: hidden; }
.logos__label { margin-bottom: 22px; }
.logos--page { padding: 36px 0; }
.marquee { position: relative; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; gap: 18px; animation: ms-marquee 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes ms-marquee { to { transform: translateX(-50%); } }
.logo-tile { display: grid; place-items: center; width: 170px; height: 92px; flex: none; padding: 16px 22px; background: var(--white); border-radius: 16px; box-shadow: 0 1px 0 rgba(14,31,64,.06); }
.logo-tile img { max-height: 56px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .78; transition: filter .4s, opacity .4s, transform .5s var(--ease); }
.logo-tile:hover img { filter: none; opacity: 1; transform: scale(1.06); }

/* ---------- About intro ---------- */
.about-intro { padding: var(--section) 0; }
.about-intro__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.about-intro__photo { aspect-ratio: 4 / 5; border-radius: var(--arch); overflow: hidden; max-width: 420px; }
.about-intro__photo img, .about-band__photo img, .founder__photo img { width: 100%; height: 100%; object-fit: cover; }
.about-intro__body { padding-top: clamp(0px, 6vw, 96px); display: grid; gap: 40px; justify-items: start; }
@media (max-width: 860px) {
	.about-intro__grid { grid-template-columns: 1fr; }
	.about-intro__photo { max-width: 100%; aspect-ratio: 4 / 3; border-radius: 300px 300px 22px 22px; }
}

/* ---------- Domains ---------- */
.domains { padding: var(--section) 0; }
.domains__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.domains__sticky { position: sticky; top: 120px; }
.domains__dial { width: min(340px, 80%); margin-top: 48px; opacity: .9; }
.domains__dial .dial__ticks { opacity: .45; }
.domains__list { display: grid; gap: 0; justify-items: start; }
.domain { width: 100%; padding: 40px 0 44px; border-top: 1px solid var(--line-d); }
.domain:last-of-type { border-bottom: 1px solid var(--line-d); margin-bottom: 44px; }
.domain__head { display: flex; gap: 24px; align-items: baseline; }
.domain__num { font-family: var(--f-display); font-style: italic; font-size: 20px; color: var(--gold); min-width: 34px; }
.domain__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.1; letter-spacing: -0.015em; }
.domain__by { margin-top: 8px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-d); }
.domain__text { margin: 22px 0 0 58px; color: var(--muted-d); max-width: 620px; }
.domain__units { margin: 26px 0 0 58px; display: grid; gap: 14px; }
.domain__units li { display: grid; grid-template-columns: minmax(140px, 200px) 1fr; gap: 18px; padding-top: 14px; border-top: 1px solid var(--line-d2); font-size: 15px; }
.domain__units strong { color: var(--gold-l); font-weight: 700; }
.domain__units span { color: var(--muted-d); }
@media (max-width: 860px) {
	.domains__grid { grid-template-columns: 1fr; }
	.domains__sticky { position: static; }
	.domains__dial { display: none; }
	.domain__text, .domain__units { margin-left: 0; }
	.domain__units li { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- Highlights list ---------- */
.highlights { padding: var(--section) 0; }
.highlights__list { border-top: 1px solid var(--line-l); }
.highlights--dark .highlights__list { border-color: var(--line-d); }
.highlights__list li {
	position: relative; display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 24px;
	padding: clamp(18px, 2.2vw, 30px) 0; border-bottom: 1px solid var(--line-l); overflow: hidden;
}
.highlights--dark .highlights__list li { border-color: var(--line-d); }
.highlights__list li::before { content: ""; position: absolute; inset: 0; background: var(--navy); transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease); z-index: 0; }
.highlights--dark .highlights__list li::before { background: var(--gold); }
.highlights__list li > * { position: relative; z-index: 1; transition: color .4s, transform .55s var(--ease); }
.highlights__n { font-size: 13px; font-weight: 700; color: var(--gold-d); letter-spacing: .1em; padding-left: 4px; }
.highlights--dark .highlights__n { color: var(--gold); }
.highlights__t { font-family: var(--f-display); font-weight: 300; font-size: clamp(28px, 4.2vw, 64px); line-height: 1.05; letter-spacing: -0.02em; }
.highlights__a { padding-right: 8px; }
.highlights__a .icon { width: 32px; height: 32px; transition: transform .55s var(--ease); }
.highlights__list li:hover::before { transform: scaleY(1); }
.highlights__list li:hover > * { color: var(--ivory); }
.highlights__list li:hover .highlights__t { transform: translateX(18px); font-style: italic; }
.highlights__list li:hover .highlights__a .icon { transform: rotate(45deg); }
.highlights--dark .highlights__list li:hover > * { color: var(--ink); }
@media (max-width: 600px) { .highlights__list li { grid-template-columns: 40px 1fr; } .highlights__a { display: none; } }

/* ---------- Horizontal work ---------- */
.hwork { position: relative; }
.hwork__sticky { padding: var(--section) 0 72px; overflow: hidden; }
.hwork.is-pinned .hwork__sticky { position: sticky; top: 0; height: 100vh; padding: 0; display: flex; flex-direction: column; justify-content: center; gap: 40px; }
.hwork__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.hwork.is-pinned .hwork__head { margin-bottom: 0; }
.hwork__head .section-index { margin-bottom: 18px; }
.hwork__head .h2 { font-size: clamp(40px, 4.6vw, 72px); }
.hwork__track { display: flex; gap: clamp(18px, 2vw, 32px); padding-inline: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; will-change: transform; }
.hwork__track::-webkit-scrollbar { display: none; }
.hwork.is-pinned .hwork__track { overflow: visible; scroll-snap-type: none; padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
.wcard { align-content: start; flex: none; width: clamp(260px, 28vw, 420px); scroll-snap-align: start; display: grid; gap: 14px; }
.wcard__img { display: block; aspect-ratio: 4 / 5; border-radius: var(--arch); overflow: hidden; background: var(--navy); }
.hwork.is-pinned .wcard__img { aspect-ratio: auto; height: min(52vh, 520px); }
.wcard__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease); }
.wcard:hover .wcard__img img { transform: scale(1.12); }
.wcard__meta { display: flex; gap: 14px; align-items: center; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-d); }
.wcard__num { color: var(--gold); }
.wcard__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(22px, 2vw, 30px); line-height: 1.15; transition: color .3s; }
.wcard:hover .wcard__title { color: var(--gold-l); font-style: italic; }
.wcard--more { align-content: center; justify-items: center; text-align: center; border: 1px dashed var(--line-d); border-radius: var(--arch); padding: 32px; position: relative; overflow: hidden; }
.hwork.is-pinned .wcard--more { height: min(52vh, 520px); align-self: start; }
.wcard__more-dial { position: absolute; inset: 10%; opacity: .3; }
.wcard--more .icon { width: 36px; height: 36px; color: var(--gold); position: relative; }
.wcard--more .wcard__title { position: relative; }
.hwork__progress { height: 2px; background: var(--line-d2); position: relative; margin-top: 8px; }
.hwork__progress i { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }

/* ---------- Units / divisions ---------- */
.units { padding: var(--section) 0; }
.units__top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 80px; align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.units__lead { color: var(--muted-l); font-size: 18px; }
.units__closing { margin-top: clamp(48px, 6vw, 80px); max-width: 880px; font-family: var(--f-display); font-weight: 300; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.35; }
@media (max-width: 860px) { .units__top { grid-template-columns: 1fr; } }

.divisions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.division {
	position: relative; padding: 36px 32px 40px; border-radius: var(--radius);
	background: var(--white); border: 1px solid var(--line-l);
	display: grid; gap: 10px; align-content: start;
	transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s;
}
.division:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -30px rgba(14,31,64,.35); border-color: var(--gold); }
.division__logo { width: 116px; height: 116px; border-radius: 50%; overflow: hidden; margin-bottom: 18px; display: grid; place-items: center; background: var(--white); box-shadow: 0 0 0 1px var(--line-l); }
.division__logo img { width: 100%; height: 100%; object-fit: cover; }
.division__label { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-d); }
.division__name { font-family: var(--f-display); font-weight: 400; font-size: 30px; line-height: 1.1; letter-spacing: -0.01em; }
.division__text { color: var(--muted-l); }
.divisions--dark .division { background: var(--navy-900); border-color: var(--line-d2); }
.divisions--dark .division__label { color: var(--gold); }
.divisions--dark .division__text { color: var(--muted-d); }
.divisions--dark .division:hover { box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }

/* ---------- Clients teaser ---------- */
.clients-teaser { padding: var(--section) 0; }
.clients-teaser__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.clients-teaser__text { margin: 28px 0 36px; color: var(--muted-d); font-size: 18px; max-width: 460px; }
.clients-teaser__wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.logo-tile--wall { width: auto; height: 120px; }
@media (max-width: 860px) { .clients-teaser__grid { grid-template-columns: 1fr; } .logo-tile--wall { height: 96px; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; padding: clamp(96px, 12vw, 180px) 0; text-align: center; }
.cta-band__inner { position: relative; display: grid; justify-items: center; gap: 26px; }
.cta-band__dial { position: absolute; width: min(900px, 140vw); left: 50%; top: 50%; transform: translate(-50%, -50%); color: var(--ink); opacity: .12; pointer-events: none; }
.cta-band__dial .dial { color: var(--ink); }
.cta-band__title { position: relative; font-size: clamp(44px, 6.4vw, 104px); max-width: 1100px; }
.cta-band__title em { color: var(--ivory) !important; }
.cta-band__text { position: relative; max-width: 560px; font-size: 18px; color: rgba(10,22,48,.8); }
.cta-band__actions { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 10px; }

/* ==========================================================================
   INNER PAGES
   ========================================================================== */
.page-hero { position: relative; overflow: hidden; padding: clamp(160px, 18vw, 240px) 0 clamp(80px, 9vw, 130px); }
.page-hero__dial { position: absolute; right: -14%; top: 50%; width: min(820px, 100vw); transform: translateY(-50%); opacity: .2; pointer-events: none; }
.page-hero__dial .dial__ticks { opacity: .5; }
.page-hero__inner { position: relative; max-width: calc(1100px + var(--gutter) * 2); margin-left: max(0px, calc((100vw - var(--wrap)) / 2 - var(--gutter))); margin-right: auto; }
.page-hero__meta { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; }
.page-hero__index { font-family: var(--f-display); font-style: italic; font-size: 20px; color: var(--gold); }
.page-hero__title { font-size: clamp(50px, 7.4vw, 124px); }
.page-hero__lead { margin-top: 32px; max-width: 640px; font-size: 19px; color: var(--muted-d); }
.page-hero--404 { min-height: 100svh; display: flex; align-items: center; }
.page-hero--404 .btn { margin-top: 36px; }

/* About */
.about-band { padding: var(--section) 0; }
.about-band__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.about-band__photo { aspect-ratio: 4 / 5; border-radius: var(--arch); overflow: hidden; }
.about-band__copy { display: grid; gap: 44px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-l); }
.facts > div { padding: 22px 18px 0 0; }
.facts dt { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-l); }
.facts dd { font-family: var(--f-display); font-size: clamp(30px, 3vw, 44px); font-weight: 300; margin-top: 6px; }
@media (max-width: 860px) { .about-band__grid { grid-template-columns: 1fr; } .about-band__photo { aspect-ratio: 4 / 3; border-radius: 300px 300px 22px 22px; } }

.values { padding: var(--section) 0; }
.values__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); border-top: 1px solid var(--line-d); border-left: 1px solid var(--line-d); }
.value { position: relative; padding: 40px 36px 48px; border-right: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); overflow: hidden; }
.value::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.value:hover::before { transform: scaleX(1); }
.value__n { font-family: var(--f-display); font-style: italic; color: var(--gold); font-size: 20px; }
.value__title { margin-top: 26px; font-family: var(--f-display); font-weight: 400; font-size: 28px; line-height: 1.15; }
.value__text { margin-top: 14px; color: var(--muted-d); }

.founder { padding: var(--section) 0; }
.founder__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.founder__photo { aspect-ratio: 4 / 5; border-radius: var(--arch); overflow: hidden; background: var(--paper); }
.founder__copy { display: grid; gap: 28px; }
.founder__quote { font-size: clamp(30px, 3.4vw, 52px); line-height: 1.15; }
.founder__text { display: grid; gap: 16px; color: var(--muted-l); max-width: 640px; }
.founder__sign { display: grid; gap: 4px; padding-top: 22px; border-top: 1px solid var(--line-l); font-size: 14px; color: var(--muted-l); }
.founder__name { font-family: var(--f-display); font-size: 26px; font-style: italic; color: var(--text-l); }
@media (max-width: 860px) { .founder__grid { grid-template-columns: 1fr; } .founder__photo { max-width: 420px; } }

.companies { padding: var(--section) 0; }

/* Solutions */
.domain-rows { padding: var(--section) 0; }
.drow { position: relative; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 32px 80px; padding: clamp(48px, 6vw, 88px) 0; border-top: 1px solid var(--line-l); }
.drow:last-child { border-bottom: 1px solid var(--line-l); }
.drow__num { position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-family: var(--f-display); font-weight: 300; font-size: clamp(120px, 18vw, 280px); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(126, 91, 28, .28); pointer-events: none; }
.drow__head, .drow__body { position: relative; }
.drow__head .section-index { margin-bottom: 18px; }
.drow__title { font-family: var(--f-display); font-weight: 300; font-size: clamp(34px, 4vw, 60px); line-height: 1.05; letter-spacing: -0.02em; }
.drow__body { display: grid; gap: 26px; justify-items: start; align-content: end; color: var(--muted-l); font-size: 17px; }
@media (max-width: 860px) { .drow { grid-template-columns: 1fr; } }

.services { padding: var(--section) 0; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filters--center { justify-content: center; margin-bottom: clamp(40px, 5vw, 64px); }
.chip {
	min-height: 44px; padding: 0 20px; border-radius: 999px; cursor: pointer;
	background: transparent; border: 1px solid var(--line-d); color: var(--muted-d);
	font-size: 14px; font-weight: 700; transition: background .35s, color .35s, border-color .35s;
}
.chip:hover { border-color: var(--gold); color: var(--text-d); }
.chip.is-active { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.filters--light .chip { border-color: var(--line-l); color: var(--muted-l); }
.filters--light .chip:hover { border-color: var(--text-l); color: var(--text-l); }
.filters--light .chip.is-active { background: var(--navy); border-color: var(--navy); color: var(--ivory); }

.services__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.service {
	padding: 36px 32px 40px; border-radius: var(--radius); background: var(--navy-900); border: 1px solid var(--line-d2);
	display: grid; gap: 14px; align-content: start;
	transition: opacity .35s, transform .5s var(--ease), border-color .4s, background .4s;
}
.service:hover { border-color: var(--gold); background: var(--navy); }
.service__domain { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.service__title { font-family: var(--f-display); font-weight: 400; font-size: 28px; line-height: 1.15; }
.service__text { color: var(--muted-d); }
.service__items { display: grid; gap: 10px; margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--line-d2); font-size: 15px; }
.service__items li { display: flex; gap: 12px; align-items: baseline; }
.service__items li::before { content: ""; width: 6px; height: 6px; flex: none; border: 1px solid var(--gold); transform: rotate(45deg) translateY(-2px); }

.is-filtered-out { opacity: 0 !important; transform: scale(.96) !important; }

.process { padding: var(--section) 0; }
.process__steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.process__line { position: absolute; left: 0; right: 0; top: 27px; height: 1px; background: var(--line-l); }
.process__line i { position: absolute; inset: 0; background: var(--gold-d); transform-origin: left; transform: scaleX(0); }
.step { position: relative; display: grid; gap: 14px; align-content: start; }
.step__n { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--ivory); border: 1px solid var(--gold-d); font-family: var(--f-display); font-style: italic; font-size: 20px; color: var(--gold-d); transition: background .4s, color .4s; }
.step:hover .step__n { background: var(--navy); color: var(--gold-l); border-color: var(--navy); }
.step__title { margin-top: 12px; font-family: var(--f-display); font-weight: 400; font-size: 26px; }
.step__text { color: var(--muted-l); font-size: 15px; }
@media (max-width: 960px) {
	.process__steps { grid-template-columns: 1fr; gap: 36px; padding-left: 0; }
	.process__line { left: 27px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
	.process__line i { transform-origin: top; transform: scaleY(0); }
	.step { grid-template-columns: 56px 1fr; column-gap: 24px; }
	.step__n { grid-row: span 2; }
	.step__title { margin-top: 10px; }
}

/* Clients */
.client-list { padding: var(--section) 0; }
.clients-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 18px; }
.client {
	padding: 26px 24px 30px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line-l);
	display: grid; gap: 8px; align-content: start;
	transition: opacity .35s, transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.client:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -30px rgba(14,31,64,.4); border-color: var(--gold); }
.client__logo { height: 76px; display: flex; align-items: center; margin-bottom: 14px; }
.client__logo img { max-height: 64px; max-width: 150px; width: auto; object-fit: contain; }
.client__initials { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold-l); font-family: var(--f-display); font-style: italic; font-size: 30px; }
.client__sector { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-d); }
.client__name { font-family: var(--f-display); font-weight: 400; font-size: 24px; line-height: 1.15; }
.client__text { color: var(--muted-l); font-size: 15px; }

/* Our work */
.stats { padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid var(--line-d2); }
.stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0; }
.stat { padding: 10px 28px; border-left: 1px solid var(--line-d); display: grid; gap: 6px; }
.stat__num { font-family: var(--f-display); font-weight: 300; font-size: clamp(52px, 6vw, 92px); line-height: 1; color: var(--gold-l); letter-spacing: -0.02em; }
.stat__label { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-d); }

.portfolio { padding: var(--section) 0; }
.portfolio__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5vw, 72px) clamp(20px, 3vw, 40px); }
.pcard { display: grid; gap: 22px; align-content: start; transition: opacity .35s, transform .5s var(--ease); }
.pcard--wide { grid-column: 1 / -1; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: end; gap: 22px 48px; }
.pcard__img { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--arch); background: var(--paper); }
.pcard--wide .pcard__img { aspect-ratio: 16 / 10; border-radius: 22px; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.18); }
.pcard__cat { display: flex; gap: 14px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-l); }
.pcard__cat span { color: var(--gold-d); }
.pcard__title { margin-top: 10px; font-family: var(--f-display); font-weight: 300; font-size: clamp(30px, 3vw, 46px); line-height: 1.08; letter-spacing: -0.015em; }
.pcard__text { margin-top: 12px; color: var(--muted-l); max-width: 520px; }
@media (max-width: 760px) {
	.portfolio__grid { grid-template-columns: 1fr; }
	.pcard--wide { grid-template-columns: 1fr; }
	.pcard--wide .pcard__img { aspect-ratio: 4 / 3; }
}

/* Contact */
.contact { padding: var(--section) 0; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__info { display: grid; gap: 26px; position: sticky; top: 110px; }
.contact__lead { color: var(--muted-l); font-size: 17px; }
.contact__cards { display: grid; gap: 12px; }
.contact__cards li { display: grid; grid-template-columns: 48px 1fr; column-gap: 18px; align-items: center; padding: 18px 20px; border-radius: 18px; background: var(--white); border: 1px solid var(--line-l); transition: border-color .4s, transform .5s var(--ease); }
.contact__cards li:hover { border-color: var(--gold); transform: translateX(6px); }
.contact__icon { grid-row: span 2; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold-l); }
.contact__label { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-d); }
.contact__cards a, .contact__cards li > span:last-child { font-weight: 600; font-size: 16px; line-height: 1.5; }
.contact__cards a:hover { color: var(--gold-d); }
.contact .social { color: var(--text-l); }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } .contact__info { position: static; } }

.cform { padding: clamp(28px, 4vw, 52px); border-radius: 28px; background: var(--white); border: 1px solid var(--line-l); box-shadow: 0 40px 80px -50px rgba(14,31,64,.35); display: grid; gap: 22px; }
.cform__head { display: grid; gap: 6px; margin-bottom: 4px; }
.cform__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(28px, 2.6vw, 38px); }
.cform__head p { color: var(--muted-l); }
.cform__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 16px; }
.cform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { position: relative; }
.field input, .field textarea {
	width: 100%; min-height: 60px; padding: 24px 18px 8px; border: 1px solid var(--line-l); border-radius: 14px;
	background: var(--ivory); color: var(--text-l); font: inherit; font-size: 16px;
	transition: border-color .3s, background .3s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 150px; padding-top: 30px; }
.field label { position: absolute; left: 19px; top: 19px; font-size: 15px; color: var(--muted-l); pointer-events: none; transform-origin: left top; transition: transform .3s var(--ease), color .3s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold-d); background: var(--white); box-shadow: 0 0 0 4px rgba(197,152,63,.18); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-11px) scale(.78); color: var(--gold-d); font-weight: 700; }
.cform__needs { border: 0; padding: 0; margin: 0; }
.cform__needs legend { font-size: 14px; font-weight: 700; margin-bottom: 12px; padding: 0; }
.cform__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tick { position: relative; cursor: pointer; }
.tick input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.tick span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-l); font-size: 14px; font-weight: 600; transition: background .3s, color .3s, border-color .3s; }
.tick input:checked + span { background: var(--navy); color: var(--ivory); border-color: var(--navy); }
.tick input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.tick:hover span { border-color: var(--text-l); }
.notice { display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-radius: 14px; font-weight: 600; }
.notice--ok { background: #E4F1E6; color: #1E5A2B; }
.notice--err { background: #F8E3DE; color: #8A2412; }

.map-band { padding: var(--section) 0; }
.map-band__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.map-band__map { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; border: 1px solid var(--line-d); }
.map-band__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.6) contrast(1.05); }
@media (max-width: 860px) { .map-band__grid { grid-template-columns: 1fr; } }

/* Prose & posts */
.prose-wrap, .posts { padding: var(--section) 0; }
.prose { font-size: 18px; line-height: 1.75; color: var(--text-l); }
.prose > * + * { margin-top: 1.2em; }
.prose h2, .prose h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.15; margin-top: 1.8em; }
.prose h2 { font-size: 36px; } .prose h3 { font-size: 28px; }
.prose a { color: var(--gold-d); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { list-style: disc; padding-left: 1.3em; } .prose ol { list-style: decimal; padding-left: 1.3em; }
.prose img { border-radius: var(--radius); }
.posts__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 40px 24px; }
.post-card { display: grid; gap: 10px; align-content: start; }
.post-card__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: 8px; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card__date { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-d); }
.post-card__title { font-family: var(--f-display); font-weight: 400; font-size: 26px; line-height: 1.2; }
.post-card__excerpt { color: var(--muted-l); }
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pagination a, .pagination span { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-l); }
.pagination .current { background: var(--navy); color: var(--ivory); }
.empty { color: var(--muted-l); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { position: relative; padding-bottom: 28px; border-top: 1px solid var(--line-d2); }
.site-footer__marquee { padding: clamp(40px, 6vw, 80px) 0; border-bottom: 1px solid var(--line-d2); }
.marquee--text { -webkit-mask: none; mask: none; }
.marquee--text .marquee__track { gap: 0; animation-duration: 36s; align-items: center; }
.marquee--text span { font-family: var(--f-display); font-weight: 300; font-size: clamp(64px, 10vw, 168px); line-height: 1; letter-spacing: -0.03em; padding: 0 .3em; white-space: nowrap; }
.marquee--text em { color: var(--gold); }
.marquee--text i { font-style: normal; color: var(--gold); font-size: clamp(28px, 3vw, 48px); }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 48px 40px; padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(48px, 6vw, 80px); }
.site-footer__intro { display: grid; gap: 22px; justify-items: start; max-width: 380px; }
.site-footer__intro p { color: var(--muted-d); }
.site-footer__head { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.site-footer__links { display: grid; gap: 10px; color: var(--muted-d); }
.site-footer__links a { transition: color .3s, padding .4s var(--ease); }
.site-footer__links a:hover { color: var(--text-d); padding-left: 6px; }
.site-footer__contact { display: grid; gap: 14px; color: var(--muted-d); font-size: 15px; }
.site-footer__contact li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; }
.site-footer__contact .icon { color: var(--gold); width: 18px; height: 18px; margin-top: 3px; }
.site-footer__contact a:hover { color: var(--gold-l); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line-d2); font-size: 13px; color: var(--muted-d); }
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .site-footer__intro { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Wind (scroll dial / back to top) ---------- */
.wind {
	position: fixed; right: 22px; bottom: 22px; z-index: 400;
	width: 56px; height: 56px; border-radius: 50%; padding: 4px; cursor: pointer;
	background: rgba(10,22,48,.85); border: 0; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
	box-shadow: 0 10px 30px -10px rgba(0,0,0,.5);
	opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none;
	transition: opacity .4s, transform .5s var(--ease);
}
.wind.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wind svg { width: 100%; height: 100%; }
.wind circle { fill: none; }
.wind__track { stroke: rgba(238,241,246,.16); stroke-width: 2; }
.wind__fill { stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 132; stroke-dashoffset: 132; transform: rotate(-90deg); transform-origin: 24px 24px; }
.wind__hand { stroke: var(--gold-l); stroke-width: 2; stroke-linecap: round; transform-origin: 24px 24px; }
.wind__pin { fill: var(--gold) !important; }
.wind:hover { transform: scale(1.06); }

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
	.js [data-reveal], .js [data-reveal="clip"] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
	.sw__i { transform: none !important; }
	.js .scrub-text .scw { opacity: 1 !important; }
	.preloader, .curtain, .cursor { display: none !important; }
	.marquee__track { animation: none !important; flex-wrap: wrap; width: auto; justify-content: center; }
	.marquee__track > [aria-hidden="true"] { display: none; }
}
